.max-menu,.max-live-settings{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#eee9ce;box-sizing:border-box}
.max-menu[hidden],.max-menu [hidden],.max-live-settings[hidden]{display:none!important}
.max-menu{--ink:#eee9ce;--muted:#a8bec0;--gold:#dfd293;--line:#79938c55;position:fixed;z-index:70;inset:0;display:flex;align-items:safe center;justify-content:center;isolation:isolate;overflow:auto;overscroll-behavior:contain;padding:max(28px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:#080e20}
.max-menu *{box-sizing:border-box}
.max-menu::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#060f1dde,#07142380 58%,#080e2040),linear-gradient(0deg,#070f1b66,transparent 60%)}
.max-menu-card{position:relative;width:min(100%,408px);padding:30px;background:#091521ed;border:1px solid var(--line);box-shadow:0 12px 60px #030a1466}
.max-menu-header{margin:0 0 28px}
.max-menu .max-menu-kicker{margin:0 0 12px;color:#a9bdb7;font-size:9px;letter-spacing:.22em;line-height:1.4}
.max-menu h1,.max-menu h2{color:var(--ink);margin:0;line-height:1.2;font-weight:400}
.max-menu h1:focus,.max-menu h2:focus{outline:none}
.max-menu h2{font-size:23px;overflow-wrap:anywhere}
.max-menu p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.65}
.max-menu .pixel-label{max-width:none;image-rendering:pixelated}
.max-menu button{position:relative;display:block;width:100%;min-height:48px;padding:13px 16px;border:1px solid var(--line);border-radius:0;background:#11232bd9;color:var(--ink);font:inherit;font-size:12px;line-height:1.3;cursor:pointer;touch-action:manipulation;transition:background-color .15s,border-color .15s,color .15s}
.max-menu button+button{margin-top:10px}
.max-menu button:hover:not(:disabled){background:#233c40;border-color:#a3b7a3}
.max-menu button.primary{color:#f6ebba;background:#264139;border-color:var(--gold);box-shadow:inset 0 -3px 0 #101f20,0 3px 0 #050c17;font-weight:700}
.max-menu button.primary:hover:not(:disabled){background:#35554a;border-color:#fff0ac}
.max-menu button.primary::before,.max-menu button.primary::after{content:"";position:absolute;pointer-events:none;width:3px;height:3px;background:#091521}
.max-menu button.primary::before{left:-1px;top:-1px}.max-menu button.primary::after{right:-1px;bottom:-1px}
.max-menu button.subtle{background:transparent;border-color:transparent;box-shadow:none;color:#b0c2c0}
.max-menu button.subtle:hover:not(:disabled){color:#fff1b9;background:#a6c0b009}
.max-menu button:disabled{opacity:.42;cursor:default}
.max-menu button:focus-visible,.max-menu button.padFocus,.max-menu input:focus-visible,.max-menu input.padFocus,.max-menu select.padFocus,.max-live-settings:focus-visible{outline:2px solid #f2df91;outline-offset:4px}
.max-menu input{display:block;width:100%;min-height:48px;margin-top:8px;padding:12px;border:1px solid #75949270;border-radius:0;background:#07101d;color:var(--ink);font:inherit;font-size:16px}
.max-menu label{display:block;margin-bottom:18px;color:#c1cebf;font-size:11px}
.max-menu .max-menu-foot{border-top:1px solid var(--line);margin:24px 0 0;padding-top:16px;font-size:10px;color:#8da6aa}
.max-menu .max-status{margin:14px 0 0;font-size:11px;color:#bacbb7}
.max-menu[data-screen="play"] .max-status{display:block!important;height:18px;min-height:18px;margin:8px 0 0;overflow:hidden}
.max-menu .max-status:empty{display:none}
.max-menu .max-status[data-error="true"]{color:#f0b9a1}
.max-invite:has(.max-status:not(:empty)){margin-bottom:16px}
.max-menu .max-help-row{padding:14px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.6;color:#bacbcc}
.max-help-row strong{display:block;margin-bottom:5px;color:#e4dcae;font-size:10px;letter-spacing:.12em}
.max-menu .max-cloud{padding:16px;border:1px solid var(--line);background:#14242b;margin-bottom:18px}
.max-menu .max-cloud p{margin:0;font-size:11px}
.max-credit-links{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:24px}
.max-credit-links a{display:flex;align-items:center;min-height:44px;color:var(--ink);font-size:13px;text-underline-offset:4px;overflow-wrap:anywhere;touch-action:manipulation}
.max-credit-links a:last-child{margin-top:20px}
.max-credit-links a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

.max-menu[data-screen="home"]{padding:0;overflow:auto;align-items:flex-start}
.max-menu[data-screen="home"]::before{background:linear-gradient(90deg,#050d1cb3,#07132040 48%,transparent 78%),linear-gradient(0deg,#040b180d,transparent 55%)}
.max-menu[data-screen="home"] .max-menu-card{width:100%;min-height:100%;border:0;padding:0;background:none;box-shadow:none;pointer-events:none}
.max-menu[data-screen="home"] .max-home-brand,.max-menu[data-screen="home"] .max-home-nav,.max-menu[data-screen="home"] .max-home-players{pointer-events:auto}
.max-home-content{width:300px;margin:clamp(70px,16vh,150px) 0 52px clamp(40px,15vw,260px);text-align:center}
.max-home-brand{display:flex;flex-direction:column;align-items:center;gap:18px}
.max-menu .max-home-brand h1{font-size:100px;line-height:1;letter-spacing:.04em}
.max-menu .max-home-brand h1 .pixel-label{width:252px!important;height:84px!important}
.max-menu .max-home-subtitle{margin:0;color:#ccdbc9;line-height:1;font-size:13px;letter-spacing:.13em}
.max-home-nav{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:252px;margin:42px auto 0}
.max-menu .max-home-button{display:flex;align-items:center;justify-content:center;gap:16px;margin:0;min-height:52px;padding:14px 18px;background:#081823b8;border-color:#8da59b50;box-shadow:none}
.max-menu .max-home-button svg{flex:none;width:16px;height:16px;fill:currentColor}
.max-menu .max-icon-play{min-height:64px;background:#264139e8;border-color:var(--gold);box-shadow:inset 0 -3px 0 #112820,0 4px 0 #04101b66;color:#f0dea1}
.max-menu .max-icon-play svg{width:24px;height:24px}
.max-menu .max-icon-garden{border-color:transparent;background:#09192580;color:#b7d4d5}
.max-home-links{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:5px;border-top:1px solid #97b0a433;padding-top:12px}
.max-menu .max-home-links button{min-height:44px;padding:10px 2px;background:transparent;border-color:transparent;gap:0;color:#a7bebb}
.max-home-links svg{display:none}
.max-menu .max-home-links .max-home-login{grid-column:1/-1}
.max-menu .max-home-note{margin:24px 0 0;font-size:9px;letter-spacing:.17em;color:#99aead}
.max-menu .max-home-players{position:fixed;left:0;right:0;bottom:max(34px,calc(env(safe-area-inset-bottom) + 22px));margin:0;padding:0 12px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;max-height:20vh;overflow:auto}
.max-menu .max-home-players p{margin:0}

.max-menu[data-screen="play"]{align-items:flex-start}
.max-menu[data-screen="play"]::before{background:linear-gradient(90deg,#061220ed,#071523bc 55%,#080f2060),linear-gradient(0deg,#06101bb3,transparent 72%)}
.max-menu[data-screen="play"] .max-menu-card{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:40px;align-items:start;width:min(100%,710px);padding:28px 12px;border:0;background:none;box-shadow:none}
.max-menu[data-screen="play"] .max-menu-header{grid-column:1/-1;margin:0 0 28px;padding-right:70px}
.max-menu[data-screen="play"] .max-back{position:absolute;right:0;top:25px;width:auto;min-width:64px;min-height:44px;margin:0;padding:12px}
.max-character-hero{grid-column:1;grid-row:2/6;display:flex;flex-direction:column;align-items:center;padding-top:4px;text-align:center}
.max-character-stage{position:relative;display:flex;justify-content:center;align-items:flex-end;width:132px;height:126px;margin-bottom:24px;border-bottom:3px solid #5c7864;background:linear-gradient(0deg,#375a4b33,transparent 68%)}
.max-character-stage::after{content:"";position:absolute;left:14px;right:14px;bottom:-7px;height:4px;background:#203731}
.max-character-stage .max-skin-preview{width:96px;height:96px;margin-bottom:3px}
.max-character-stage .max-skin-preview img{width:768px;height:768px}
.max-character-intro{min-width:0;width:100%;height:220px;overflow:hidden}
.max-menu .max-character-name{height:44px;margin:0 0 14px;overflow:hidden;color:var(--gold);font-size:21px;line-height:1.2}
.max-menu .max-class-detail{max-width:230px;max-height:162px;overflow:auto;overscroll-behavior:contain;margin:0;font-size:11px;line-height:1.7;color:#b6ccca}
.max-menu fieldset{min-width:0;margin:0 0 24px;padding:0;border:0}
.max-menu legend{padding:0;margin:0 0 12px;color:#9eb8b7;font-size:10px;letter-spacing:.15em;line-height:1.3}
.max-role-picker,.max-skin-picker,.max-skill-picker,.max-play-actions,.max-menu[data-screen="play"] .max-status{grid-column:2}
.max-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.max-menu .max-role-choice{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;margin:0;min-height:64px;padding:14px 14px 12px;background:#0e2530b8;border:1px solid #658d8d38}
.max-menu .max-role-choice[aria-pressed="true"]{border-color:#d7cc91;background:#264239cc;box-shadow:inset 3px 0 0 #e3d293;color:#f6e6ad}
.max-role-ability{font-size:10px;letter-spacing:.03em;color:#a0bdbb}
.max-role-choice .max-skin-preview{width:40px;height:40px;align-self:center}.max-role-choice .max-skin-preview img{width:320px;height:320px}
.max-difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.max-menu .max-difficulty-choice{min-height:62px;padding:10px 4px;justify-content:center;gap:6px}

.max-role-choice[aria-pressed="true"] .max-role-ability{color:#d0d9bb}
.max-skin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.max-menu .max-skin-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:0 0 10px;min-height:94px;overflow:hidden;background:#0c213033;border:0;border-bottom:2px solid #68888b45}
.max-menu .max-skin-choice:hover:not(:disabled){background:#29474a70;border-color:#afc2ab}
.max-menu .max-skin-choice[aria-pressed="true"]{border-color:#e6d58e;background:#34534659;box-shadow:inset 0 -2px #e6d58e}
.max-skin-preview{display:block;flex:none;width:64px;height:64px;overflow:hidden;pointer-events:none;image-rendering:pixelated}
.max-skin-preview img{display:block;width:512px;height:512px;max-width:none;image-rendering:pixelated}
.max-play-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:2px}
.max-menu .max-play-actions>button{margin:0;min-height:52px}

.max-live-settings{position:fixed;z-index:42;left:max(4px,env(safe-area-inset-left));bottom:max(4px,env(safe-area-inset-bottom));width:44px;height:44px;border:0;padding:14px;background:none;opacity:.6;touch-action:manipulation;color:#d8dfcd;cursor:pointer}
.max-live-settings svg{width:16px;height:16px;fill:currentColor}.max-live-settings:hover,.max-live-settings:focus-visible{opacity:1}
.max-menu[data-live="true"]{background:#03080e2e}
.max-menu[data-live="true"]::before,.max-menu[data-live="true"] .max-garden-scene{display:none}
.max-menu[data-live="true"] .max-menu-kicker{display:none}

@media(min-width:1100px) and (min-height:650px){.max-home-content{width:336px}.max-menu .max-home-brand h1 .pixel-label{width:336px!important;height:112px!important}.max-home-nav{margin-top:48px}}
@media(max-width:640px){
  .max-menu{padding:max(22px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left))}
  .max-menu-card{padding:24px}
  .max-menu[data-screen="home"]::before{background:linear-gradient(0deg,#08122133,transparent 40%),linear-gradient(90deg,#07132018,#07132060 50%,#07132020)}
  .max-home-content{width:280px;margin:max(70px,14vh,env(safe-area-inset-top)) auto 44px}
  .max-home-nav{margin-top:36px;width:252px}
  .max-menu[data-screen="play"]::before{background:linear-gradient(0deg,#06101bc9,#071522d9 55%,#070f1bac)}
  .max-menu[data-screen="play"] .max-menu-card{display:block;width:min(100%,360px);padding:8px 0}
  .max-menu[data-screen="play"] .max-menu-header{margin-bottom:22px}
  .max-menu[data-screen="play"] .max-back{top:5px;right:0}
  .max-character-hero{flex-direction:row;align-items:center;gap:20px;padding:0;margin:0 0 26px;text-align:left;height:156px;min-height:156px;overflow:hidden}
  .max-character-stage{flex:none;width:96px;height:108px;margin:0 0 7px}
  .max-character-intro{min-width:0;height:156px;max-height:156px;overflow:hidden}
  .max-menu .max-character-name{height:44px;margin-bottom:10px;overflow:hidden}
  .max-menu .max-class-detail{max-height:102px;overflow:auto;overscroll-behavior:contain;font-size:11px;line-height:1.55}
  .max-menu fieldset{margin-bottom:20px}
  .max-menu .max-role-choice{min-height:60px;padding:12px}
  .max-menu legend{margin-bottom:10px}
  .max-menu .max-skin-choice{min-height:88px;gap:5px}
}
@media(max-width:359px){
  .max-menu{padding-left:18px;padding-right:18px}
  .max-home-content{width:252px}
  .max-character-hero{gap:14px}
  .max-character-stage{width:80px;height:96px}
  .max-character-stage .max-skin-preview{width:64px;height:64px}
  .max-character-stage .max-skin-preview img{width:512px;height:512px}
  .max-menu .max-character-name .pixel-label{width:auto!important;height:14px!important}
  .max-menu .max-class-detail{font-size:10px}
  .max-menu .max-role-choice{padding-left:10px;padding-right:8px}
}
@media(max-height:600px){
  .max-menu{align-items:flex-start;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .max-menu-card{padding:22px}
  .max-menu-header{margin-bottom:20px}
  .max-home-content{margin-top:38px;margin-bottom:26px}
  .max-home-nav{margin-top:25px;gap:8px}
  .max-menu .max-home-brand h1 .pixel-label{width:210px!important;height:70px!important}
  .max-home-brand{gap:14px}
  .max-home-links{padding-top:7px}
  .max-menu .max-home-note{margin-top:16px}
}
@media(max-height:540px) and (min-aspect-ratio:4/3){
  .max-home-content{width:252px;margin-top:max(28px,env(safe-area-inset-top));margin-left:13vw}
  .max-menu .max-home-brand h1 .pixel-label{width:168px!important;height:56px!important}
  .max-menu .max-home-subtitle .pixel-label{width:103px!important;height:7px!important}
  .max-home-nav{margin-top:22px;gap:6px}
  .max-menu .max-home-button{min-height:44px;padding:10px 14px}
  .max-menu .max-icon-play{min-height:52px}
  .max-menu .max-home-note{display:none}
  .max-menu .max-home-players{left:50%}
  .max-menu[data-screen="play"] .max-menu-card{display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:28px;width:min(100%,640px);padding-top:0;padding-bottom:0}
  .max-menu[data-screen="play"] .max-menu-header{margin-bottom:14px}
  .max-menu[data-screen="play"] .max-back{top:0}
  .max-menu[data-screen="play"] .max-menu-kicker{display:none}
  .max-character-hero{flex-direction:column;gap:0;height:auto;min-height:0;margin:0;text-align:center}
  .max-character-stage{height:108px;margin-bottom:16px}
  .max-menu .max-class-detail{font-size:10px}
  .max-menu fieldset{margin-bottom:14px}
  .max-menu legend{margin-bottom:8px}
  .max-menu .max-role-choice{min-height:48px;padding:10px 12px;gap:6px}
  .max-menu .max-skin-choice{min-height:68px;padding-bottom:8px;gap:4px}
  .max-skin-choice .max-skin-preview{width:32px;height:32px}.max-skin-choice .max-skin-preview img{width:256px;height:256px;margin-top:0}
  .max-menu .max-play-actions>button{min-height:46px}
}
@media(max-height:360px) and (min-aspect-ratio:4/3){
  .max-menu{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .max-home-content{margin-top:18px;margin-bottom:18px}
  .max-home-brand{gap:10px}.max-home-nav{margin-top:18px}
  .max-menu[data-screen="play"] h2{font-size:14px;line-height:1}
  .max-menu[data-screen="play"] .max-menu-header{margin-bottom:10px}
  .max-character-stage{height:84px;margin-bottom:12px}
  .max-character-stage .max-skin-preview{width:64px;height:64px}
  .max-character-stage .max-skin-preview img{width:512px;height:512px}
  .max-menu .max-character-name{margin-bottom:10px}
  .max-menu .max-class-detail{font-size:9px;line-height:1.4}
  .max-menu fieldset{margin-bottom:10px}.max-menu legend{font-size:9px;margin-bottom:6px}
  .max-role-grid{gap:6px}
  .max-menu .max-role-choice{min-height:44px;padding:6px 10px;gap:4px}
  .max-role-ability{font-size:9px;line-height:1.1}
  .max-menu .max-skin-choice{min-height:58px;padding-bottom:6px}
  .max-menu .max-play-actions>button{min-height:44px;padding-top:10px;padding-bottom:10px}
}
@media(prefers-reduced-motion:no-preference){.max-menu-card{animation:max-menu-in .2s ease-out}@keyframes max-menu-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.max-menu button{transition:none}}


.max-play-one{grid-template-columns:1fr}


.max-menu .max-role-choice:disabled{opacity:.34;filter:grayscale(1);cursor:not-allowed}
.max-menu .max-role-choice:disabled .max-role-ability{color:#71807c}
.max-difficulty-picker[data-locked="true"]{opacity:.72}
.max-difficulty-picker[data-locked="true"] .max-difficulty-choice:disabled{opacity:.52;cursor:default}
.max-menu .max-role-grid[data-count="5"] .max-role-choice:nth-child(5){grid-column:1/-1;flex-direction:row;align-items:center;justify-content:center;gap:12px;min-height:52px;padding-top:8px;padding-bottom:8px}
.max-role-grid[data-count="5"] .max-role-choice:nth-child(5) .max-role-ability{margin-left:auto}
@media(max-height:540px) and (min-aspect-ratio:4/3) and (max-width:639px){
  .max-menu .max-role-grid[data-count="5"] .max-role-choice:nth-child(5){min-height:40px;padding-top:4px;padding-bottom:4px}
}
@media(max-height:540px) and (min-aspect-ratio:4/3) and (min-width:640px){
  .max-role-grid[data-count="5"],.max-role-grid[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .max-menu .max-role-grid[data-count="5"] .max-role-choice:nth-child(5){grid-column:span 2;min-height:48px;padding-top:6px;padding-bottom:6px}
}
/* The native 14px word canvases can wrap onto two 20px lines inside the fixed title. */
.max-menu .max-character-name[data-long="true"]{font-size:14px;line-height:20px}
.max-pixel-word{display:inline-block}
.max-menu .max-egg-reveal{margin:0 0 20px;padding:12px 14px;border:1px solid #d99aa855;background:#2a0f1a66}
.max-menu .max-egg-reveal p{margin:0;color:#e6c3cb;font-size:11px}
.max-menu .max-egg-reveal .max-egg-title{margin-bottom:8px;color:#f2d6dc}
.max-garden-scene{position:fixed;inset:0;z-index:-2;width:100%;height:100%;image-rendering:pixelated;transform-origin:30% 60%;transition:transform 1.4s cubic-bezier(.25,.1,.25,1);pointer-events:none;touch-action:none}
.max-menu::before{transition:opacity 1.1s ease}
.max-menu[data-view="garden"]{overflow:hidden}
.max-menu[data-screen="home"] .max-garden-scene{pointer-events:auto}
.max-menu[data-view="garden"]::before{opacity:0}
.max-home-brand,.max-home-nav,.max-menu .max-home-note,.max-menu .max-home-players{transition:transform 1s cubic-bezier(.4,0,.2,1),opacity .8s ease}
.max-menu[data-view="garden"] .max-menu-card{pointer-events:none}
.max-menu[data-view="garden"] .max-home-brand{transform:translateY(-16px);opacity:0}
.max-menu[data-view="garden"] .max-home-nav{transform:translateY(16px);opacity:0}
.max-menu[data-view="garden"] .max-home-note,.max-menu[data-view="garden"] .max-home-players{opacity:0}
.max-garden-hud{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity .5s ease}
.max-menu[data-view="garden"] .max-garden-hud{opacity:1;transition:opacity .9s ease .45s}
.max-menu[data-view="garden"] .max-garden-hud>*{pointer-events:auto}
.max-menu .max-garden-title{position:absolute;left:max(22px,env(safe-area-inset-left));top:max(28px,calc(env(safe-area-inset-top) + 16px));width:auto;min-height:0;margin:0;padding:8px 0;background:none;border:0;box-shadow:none}
.max-menu .max-garden-count{position:absolute;right:max(22px,env(safe-area-inset-right));top:max(36px,calc(env(safe-area-inset-top) + 24px));margin:0}
.max-menu .max-garden-arrow{position:absolute;bottom:max(14px,calc(env(safe-area-inset-bottom) + 4px));width:40px;height:48px;min-height:0;margin:0;padding:12px 10px;background:none;border:0;box-shadow:none;color:var(--ink);opacity:.85}
.max-menu .max-garden-prev{left:max(2px,env(safe-area-inset-left))}
.max-menu .max-garden-next{right:max(2px,env(safe-area-inset-right))}
.max-menu .max-garden-arrow svg{width:100%;height:100%;fill:currentColor}
.max-menu .max-garden-arrow[hidden],.max-menu .max-garden-hint[hidden]{display:none}
.max-menu .max-garden-hint{position:absolute;left:0;right:0;bottom:max(28px,calc(env(safe-area-inset-bottom) + 16px));margin:0;display:flex;justify-content:center;opacity:.6;transition:opacity 1.2s ease;pointer-events:none}
.max-menu .max-garden-hint.gone{opacity:0}
@media(max-width:480px){.max-menu .max-garden-count{left:max(22px,env(safe-area-inset-left));right:auto;top:max(70px,calc(env(safe-area-inset-top) + 58px));opacity:.7}}
.max-menu .max-garden-note{position:absolute;left:52%;right:max(20px,env(safe-area-inset-right));top:26%;opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .5s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.max-menu[data-focus="plant"] .max-garden-note{opacity:1;transform:none;transition-delay:.6s}
.max-menu .max-garden-note h3{margin:0 0 10px}
.max-menu .max-garden-note hr{border:0;border-top:1px solid #eee9ce40;margin:10px 0}
.max-menu .max-garden-note p{margin:0;font-size:13px;line-height:1.55;color:#e4e0c8}
.max-menu[data-focus="plant"] .max-garden-arrow,.max-menu[data-focus="plant"] .max-garden-hint{opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){.max-garden-scene,.max-home-brand,.max-home-nav{transition:opacity .3s ease!important;transform:none!important}}
.max-menu .max-garden-note .max-garden-rarity{margin:-4px 0 0;opacity:.55}
.max-menu .max-garden-note .max-garden-feature{color:#e8cf7a}

.max-menu .max-garden-relic-target{position:absolute;display:block;min-height:44px;width:44px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;transform:translate(-50%,-100%);color:transparent}
.max-menu .max-garden-relic-target:focus-visible{outline:1px solid #b5d4b6;outline-offset:3px}
.max-menu .max-garden-relic-target[hidden]{display:none}
.max-menu .max-relic-enter{width:auto;margin:18px 0 0;padding:12px 18px;min-height:44px;border-color:#9fbd9560;background:#1d3434;color:#e1e8c9;pointer-events:auto}
.max-menu[data-focus="relic"] .max-garden-note{opacity:1;transform:none;pointer-events:auto;transition-delay:.6s}
.max-menu[data-focus="relic"] .max-garden-arrow,.max-menu[data-focus="relic"] .max-garden-hint{opacity:0;pointer-events:none}
/* The fixed two-slot rail keeps every class at the same screen coordinates. */
.max-menu .max-skill-picker{min-width:0;margin:0 0 20px;padding:0;border:0}
.max-skill-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;height:67px}
.max-skill-slot{min-width:0;height:67px}
.max-skill-slot-name{display:block;height:13px;margin-bottom:6px;color:#9daf9f;font-size:10px;letter-spacing:.08em;white-space:nowrap}
.max-skill-options{display:flex;gap:8px}
.max-menu .max-skill-choice{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;min-height:48px;margin:0;padding:0;border:0;border-bottom:2px solid transparent;background:transparent;color:#c8d5c8;box-shadow:none}
.max-menu .max-skill-choice:hover:not(:disabled){background:#29474a45;border-color:#afc2ab}
.max-menu .max-skill-choice[aria-pressed="true"]{border-color:#e6d58e;background:#34534640}
.max-menu .max-skill-choice img{display:block;width:27px;height:27px;image-rendering:pixelated;pointer-events:none}
.max-skill-readout{height:58px;margin-top:10px;overflow:auto;overscroll-behavior:contain}
.max-skill-name{display:block;font-size:12px;line-height:16px;color:#e3ddbe}
.max-skill-detail{display:block;margin-top:4px;color:#9daf9f;font-size:10px;line-height:14px}
.max-menu[data-screen="settings"] .max-menu-card{border:0;background:#0a1618f4;box-shadow:inset 0 0 0 3px #03080a,inset 0 0 0 6px #273f39,inset 0 0 0 9px #0d1c1f;clip-path:polygon(0 6px,3px 6px,3px 3px,6px 3px,6px 0,calc(100% - 6px) 0,calc(100% - 6px) 3px,calc(100% - 3px) 3px,calc(100% - 3px) 6px,100% 6px,100% calc(100% - 6px),calc(100% - 3px) calc(100% - 6px),calc(100% - 3px) calc(100% - 3px),calc(100% - 6px) calc(100% - 3px),calc(100% - 6px) 100%,6px 100%,6px calc(100% - 3px),3px calc(100% - 3px),3px calc(100% - 6px),0 calc(100% - 6px))}
.max-menu[data-screen="settings"] button{display:flex;align-items:center;justify-content:center;border:0;background:#15282b;box-shadow:inset 0 0 0 2px #050c0e,inset 0 0 0 4px #31503f,inset 0 -8px 0 #0d1c1e;clip-path:polygon(0 4px,2px 4px,2px 2px,4px 2px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 2px,calc(100% - 2px) 2px,calc(100% - 2px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 2px) calc(100% - 4px),calc(100% - 2px) calc(100% - 2px),calc(100% - 4px) calc(100% - 2px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 2px),2px calc(100% - 2px),2px calc(100% - 4px),0 calc(100% - 4px))}
.max-menu[data-screen="settings"] button:hover:not(:disabled){background:#1d3636;box-shadow:inset 0 0 0 2px #050c0e,inset 0 0 0 4px #8fae6b,inset 0 -8px 0 #11262a}
.max-menu[data-screen="settings"] button:focus-visible,.max-menu[data-screen="settings"] button.padFocus{outline:0;box-shadow:inset 0 0 0 2px #050c0e,inset 0 0 0 4px #f2df91,inset 0 -8px 0 #11262a}
.max-menu[data-screen="settings"] button[aria-pressed="false"] .pixel-label{opacity:.55}
.max-menu[data-screen="settings"] button.subtle{background:transparent;box-shadow:none;clip-path:none}
.max-menu[data-screen="settings"] button.subtle:focus-visible,.max-menu[data-screen="settings"] button.subtle.padFocus{outline:2px solid #f2df91;outline-offset:-2px}
