:root{color-scheme:dark;--bg:#091e1b;--panel:#132e29;--panel-2:#1a3932;--text:#f4eedb;--muted:#a9b9ae;--border:#365247;--accent:#f4aa76;--mint:#c3e7b6;--element:#7ddfd7;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);background-image:radial-gradient(ellipse at 30% -10%,#204f3c55,transparent 60%)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--border);border-radius:10px;padding:10px 16px;color:var(--text);background:var(--panel-2);font-weight:600;transition:background .16s,border-color .16s,transform .16s}button:hover{background:#2b4b3d;border-color:#749178}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f6d29b;outline-offset:4px}[hidden]{display:none!important}a{color:inherit}.skip{position:fixed;top:-100px;left:20px;z-index:999;background:var(--accent);color:#152a21;padding:14px}.skip:focus{top:10px}.topbar{height:96px;padding:0 44px;border-bottom:1px solid #34504380;display:flex;align-items:center;gap:32px;max-width:1680px;margin:auto}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:900;font-size:21px;letter-spacing:1.4px;line-height:1.3}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:4px}.brand-mark{font-size:54px;color:var(--accent);font-weight:900;line-height:1;transform:rotate(180deg)}nav{display:flex;gap:4px;margin:auto}nav button{border:0;background:transparent;padding:12px 20px;color:#bdc5b8;border-radius:30px}.nav-button.active{color:var(--text);background:#264335}.nav-tag{font-size:10px;letter-spacing:.7px;color:#c3e7b6;margin-left:6px}#squad-count{display:inline-grid;place-items:center;background:#365142;font-size:12px;min-width:20px;height:20px;border-radius:50%;margin-left:3px}.quiet{background:transparent;font-size:13px;color:var(--muted)}main{max-width:1500px;padding:36px 44px 14px;margin:auto}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 28px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--accent);margin:0 0 8px}h1{font:600 clamp(32px,3.8vw,53px)/1.05 Georgia,serif;letter-spacing:-1.6px;margin:0}h1 em{color:var(--mint);font-weight:400}h2{line-height:1.2}.page-heading>p{color:var(--muted);font-size:15px;margin:0 0 2px;line-height:1.6}.workbench{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.9fr);gap:22px;align-items:start}.world-stage{min-height:728px;border:1px solid #48645a;position:sticky;top:20px;border-radius:22px;overflow:hidden;background:#163f47;isolation:isolate;--world-light:#6bd1c1;--world-dark:#08272d;box-shadow:0 24px 55px #0003}.world-stage[data-scene=forest]{--world-light:#b8c78b;--world-dark:#142b1d;background:#253b2e}.world-stage[data-scene=volcano]{--world-light:#ffb885;--world-dark:#351c26;background:#3e282a}.world-stage[data-scene=snow]{--world-light:#cbe9fb;--world-dark:#173c4d;background:#356078}.world-stage[data-scene=space]{--world-light:#c4aeed;--world-dark:#171d42;background:#352e5d}.world-stage[data-scene=canyon]{--world-light:#d6cc98;--world-dark:#272e26;background:#4c4b3b}#world-art{position:absolute;inset:0}#world-art svg{width:100%;height:100%;display:block}.stage-meta{position:absolute;z-index:4;top:25px;left:26px;right:26px;display:flex;justify-content:space-between;align-items:center;gap:8px}.stage-label{font:600 11px ui-monospace,monospace;letter-spacing:2px;color:#dce9dd}.element-tag{font-size:10px;letter-spacing:1.4px;background:#0d2926aa;border:1px solid #bce1d04a;border-radius:20px;padding:7px 12px;color:var(--element);font-weight:700}.character-platform{position:absolute;left:20%;right:20%;height:10%;bottom:25%;background:radial-gradient(ellipse,#9af0da28,transparent 65%);border-bottom:1px solid #e0f6c655;border-radius:50%;z-index:1}.character-preview{position:absolute;inset:67px 4% 176px;filter:drop-shadow(0 12px 18px #001b2366);z-index:2;animation:breathe 5s ease-in-out infinite;transform-origin:50% 90%}.character-preview svg{width:100%;height:100%;display:block}.squatch-eyes{animation:blink 6s infinite;transform-box:fill-box;transform-origin:center}.character-preview.hello{animation:hello 1s ease-in-out}.react-button{position:absolute;z-index:4;right:24px;top:90px;padding:7px 11px;font-size:12px;min-height:36px;border-color:#bddbcd44;background:#0e302c88;color:#d0e2d5;border-radius:20px}.stage-caption{position:absolute;bottom:116px;left:20px;right:20px;text-align:center;z-index:3}.tiny-label{font-size:10px;letter-spacing:2.7px;color:#d2dfcf}.stage-caption h2{font:600 clamp(28px,2.7vw,39px)/1.15 Georgia,serif;margin:10px 0 7px;overflow-wrap:anywhere;text-shadow:0 2px 10px #062222}.stage-caption p{font-size:14px;color:#c8dbd0;margin:0}.stage-bottom{position:absolute;bottom:0;left:0;right:0;min-height:91px;display:flex;align-items:center;gap:13px;padding:20px 25px;background:#08241edd;backdrop-filter:blur(10px);border-top:1px solid #ccebd322;z-index:4}.ability-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--element);border:1px solid #9ccaba55;border-radius:50%;font-size:24px}.stage-bottom small{display:block;font-size:9px;letter-spacing:1.5px;color:var(--muted)}.stage-bottom strong{display:block;font-size:15px}.play-cta{margin-left:auto;background:var(--mint);color:#143226;border-color:var(--mint);font-size:13px;padding:12px 16px}.play-cta:hover{background:#d9f4cb}.customizer{background:linear-gradient(150deg,#18372e,#102b25);border:1px solid var(--border);border-radius:22px;overflow:hidden}.customizer-head{padding:23px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.customizer h2{font-size:18px;margin:0}.icon-button{border:0;padding:7px 0 7px 8px;font-size:12px;background:transparent;color:var(--accent);min-height:36px;white-space:nowrap}.custom-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin:0 24px;border-bottom:1px solid var(--border)}.custom-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 5px;color:var(--muted);font-size:14px}.custom-tabs button[aria-selected=true]{color:var(--mint);border-bottom-color:var(--mint)}.panel-content{padding:20px 24px 12px;min-height:405px}.panel-intro{font-size:14px;color:var(--muted);margin:0 0 16px}.elements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.element-option{padding:14px 8px 11px;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;background:#102b26;border:1px solid #36574a;min-height:107px;font-size:14px;border-radius:13px}.element-option svg{width:32px;height:32px;overflow:visible;color:var(--tile-color)}.element-option small{font-size:10px;font-weight:400;color:var(--muted)}.element-option[aria-pressed=true]{border-color:var(--tile-color);box-shadow:inset 0 0 30px color-mix(in srgb,var(--tile-color) 10%,transparent);background:#23433c}.element-option[aria-pressed=true]:after{content:'✓';position:absolute;top:6px;right:8px;color:var(--tile-color);font-size:11px}.power-note{margin-top:18px;display:flex;gap:12px;align-items:start;padding:14px 0;color:var(--element)}.power-note-icon{font-size:25px;line-height:1.2}.power-note strong{font-size:14px}.power-note p{font-size:13px;line-height:1.5;color:var(--muted);margin:3px 0 0}fieldset{border:0;padding:0;margin:0 0 19px;min-width:0}legend,.field-label{font-size:13px;font-weight:650;display:block;margin-bottom:10px;color:#dbe3d5}legend span{font-weight:400;color:var(--muted);margin-left:8px}.color-options{display:flex;flex-wrap:wrap;gap:9px}.color-swatch{border-radius:50%;width:32px;height:32px;min-height:32px;min-width:32px;padding:3px;border:1px solid #799183;background:transparent;position:relative}.color-swatch:before{content:'';position:absolute;inset:4px;background:var(--swatch);border-radius:50%}.color-swatch[aria-pressed=true]{outline:2px solid #d8eec6;outline-offset:2px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.choice-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.choice{font-size:12px;min-height:42px;padding:9px 5px;line-height:1.3;background:#102b26;font-weight:500}.choice[aria-pressed=true]{border-color:#a3c99d;background:#35553b;color:#e4f4d8}.range-label{display:flex;justify-content:space-between;font-size:13px;margin:16px 0 4px}output{font-size:12px;color:var(--mint)}input[type=range]{accent-color:#b4da9b;width:100%;margin:5px 0 10px;cursor:pointer;min-height:28px}input[type=text],input:not([type]),select,textarea{border:1px solid #4c6b59;background:#0a241e;color:var(--text);border-radius:9px;width:100%;padding:12px 13px;font-size:16px;min-height:46px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23d8e5cb' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:35px}.creator-finish{border-top:1px solid var(--border);padding:22px 24px 17px;background:#0d2822aa}.name-row{display:flex;gap:7px}.name-row button{font-size:22px;color:var(--accent);width:46px;padding:0;flex-shrink:0}.finish-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.primary{background:var(--accent);border-color:var(--accent);color:#29231a}.primary:hover{background:#ffc293;border-color:#ffc293}.secondary{background:transparent;border-color:#6a8067}.finish-buttons button{font-size:13px}.utility-row{display:flex;justify-content:space-between;gap:5px;margin-top:9px}.utility-row button{background:transparent;border:0;font-size:11px;min-height:34px;padding:6px 0;color:#b9c9b4;font-weight:400}.utility-row button:hover{text-decoration:underline}.save-note{font-size:11px;color:#8fae9b;text-align:center;margin:6px 0 0}.creator-footnote{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0;color:#8ca395;font-size:12px}.creator-footnote p{margin:0}.creator-footnote span{color:#c0cdbb}.text-button{border:0;background:transparent;color:var(--mint);font-size:13px;padding:8px 0}.scene-particles{position:absolute;inset:13% 9% 32%;background-image:radial-gradient(circle at 12% 20%,#ecffd6 0 1px,transparent 2px),radial-gradient(circle at 80% 70%,#baf1e0 0 2px,transparent 4px),radial-gradient(circle at 28% 80%,#efffc0 0 1px,transparent 3px),radial-gradient(circle at 80% 12%,#e6d6ff 0 1px,transparent 3px);opacity:.6;animation:float-particles 9s ease-in-out infinite;pointer-events:none}.water-line{animation:water-flow 8s linear infinite;transform-box:fill-box;transform-origin:center}.squad-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-top:10px}.squad-card{border:1px solid var(--border);border-radius:18px;overflow:hidden;background:var(--panel)}.squad-portrait{height:285px;background:radial-gradient(ellipse at 50% 40%,var(--card-color),#14382d 70%);position:relative}.squad-portrait svg{width:100%;height:100%}.squad-body{padding:20px}.squad-body h2{font:600 25px Georgia,serif;margin:0 0 5px;overflow-wrap:anywhere}.squad-body p{font-size:13px;color:var(--muted);margin:0 0 16px}.squad-actions{display:flex;gap:8px}.squad-actions button{font-size:13px;padding:9px 12px}.squad-actions .remove{margin-left:auto;color:#d2aaa0;background:transparent;border:0}.empty-squad{text-align:center;border:1px dashed #49664d;border-radius:20px;padding:65px 20px}.empty-squad>span{font-size:70px;color:var(--accent)}.empty-squad h2{font:32px Georgia,serif}.empty-squad p{color:var(--muted);margin-bottom:24px}footer{max-width:1500px;margin:auto;padding:24px 44px 30px;display:flex;justify-content:space-between;gap:20px;color:#82978a;border-top:1px solid #34504380;font-size:11px;letter-spacing:1px}footer b{margin:0 10px;color:#c88b5e}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);border:1px solid #8fb18c;border-radius:12px;padding:14px 22px;background:#183b2e;color:#ecf4e1;box-shadow:0 15px 45px #0005;opacity:0;pointer-events:none;z-index:100;transition:.2s;max-width:min(90vw,600px);font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #638266;background:#163128;color:var(--text);border-radius:18px;padding:32px;max-width:500px;width:calc(100% - 30px)}dialog::backdrop{background:#001c18bb;backdrop-filter:blur(5px)}dialog h2{font:30px Georgia,serif}dialog p{font-size:14px;color:var(--muted)}.dialog-close{float:right;border:0;font-size:24px;padding:0;background:transparent}#import-error{color:#ffb69c;min-height:22px}body.reduced-motion *,body.reduced-motion *:before,body.reduced-motion *:after{animation:none!important;transition:none!important}@keyframes breathe{50%{transform:translateY(-6px) rotate(.6deg)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.08)}}@keyframes hello{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-22px) rotate(-6deg)}60%{transform:translateY(-16px) rotate(6deg)}80%{transform:translateY(2px) rotate(-2deg)}}@keyframes float-particles{50%{transform:translate(8px,-12px);opacity:.3}}@keyframes water-flow{50%{transform:translateX(15px);opacity:.3}}
@media(min-width:1500px){.world-stage{min-height:765px}.panel-content{min-height:442px}}@media(max-width:1150px){.topbar{padding:0 26px;gap:16px}.brand{font-size:18px}.brand small{font-size:8px}.nav-tag{display:none}main{padding:30px 26px}.workbench{grid-template-columns:minmax(0,1fr) 390px;gap:16px}.world-stage{min-height:728px}.customizer-head{display:block}.icon-button{margin:5px 0 0;padding:0}.stage-bottom{padding:18px 15px;gap:8px}.play-cta{padding:10px;font-size:11px}.ability-icon{display:none}.stage-label{font-size:9px}.stage-meta{left:18px;right:18px}.element-tag{font-size:8px}.motion{font-size:11px;padding:8px}.page-heading>p{font-size:13px}footer{padding:24px 26px}}@media(max-width:850px){.topbar{height:auto;min-height:110px;padding:16px 20px 10px;flex-wrap:wrap;justify-content:space-between;gap:12px}.brand small{font-size:9px}nav{order:3;flex-basis:100%;justify-content:center;margin:0;gap:10px}nav button{flex:1;font-size:14px;padding:9px 10px;min-height:40px}.workbench{grid-template-columns:1fr}.world-stage{position:relative;top:0;min-height:600px;max-height:710px}.customizer-head{display:flex}.customizer-head .icon-button{margin:0}.panel-content{min-height:0;padding-bottom:20px}.elements{grid-template-columns:repeat(3,1fr)}.element-option{min-height:108px}.page-heading>p{display:none}.page-heading{margin-bottom:22px}h1{font-size:40px}.character-preview{inset:58px 10% 172px}.stage-bottom{padding:20px 24px;gap:12px}.ability-icon{display:grid}.play-cta{font-size:13px;padding:12px 16px}.stage-meta{left:24px;right:24px}.stage-label{font-size:10px}.element-tag{font-size:10px}.creator-footnote{display:block}.creator-footnote .text-button{margin-top:8px}.squad-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){main{padding:25px 14px 10px}.topbar{padding-left:16px;padding-right:16px}.brand{font-size:16px}.brand-mark{font-size:45px}.brand small{font-size:8px;letter-spacing:1.2px}.motion{font-size:10px;min-height:35px}.world-stage{min-height:565px;border-radius:17px}.character-preview{inset:61px 1% 176px}.stage-caption{bottom:115px}.stage-caption h2{font-size:30px}.stage-caption p{font-size:12px}.stage-meta{left:17px;right:17px;top:19px}.react-button{top:61px;right:15px;font-size:10px}.stage-bottom{padding:16px 16px;min-height:93px;gap:8px}.stage-bottom strong{font-size:13px}.stage-bottom small{font-size:8px}.play-cta{font-size:11px;padding:10px}.ability-icon{width:27px;height:27px;font-size:18px}.customizer-head,.panel-content,.creator-finish{padding-left:18px;padding-right:18px}.custom-tabs{margin:0 18px}.customizer h2{font-size:16px}.icon-button{font-size:11px}.squad-gallery{grid-template-columns:1fr}footer{padding:22px 18px;font-size:9px}footer>span:last-child{display:none}.color-swatch{width:35px;height:35px;min-height:35px}.choice{font-size:13px}.utility-row button,.save-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
/* Readable control text at every viewport. */
legend,.field-label,.range-label,.choice,.finish-buttons button,.custom-tabs button{font-size:14px}.panel-intro{font-size:15px}.power-note p,.save-note,.utility-row button,.icon-button,.quiet{font-size:13px}.stage-bottom small,.tiny-label,.stage-label,.element-tag,.eyebrow,.elements small,.brand small,.nav-tag,.creator-footnote,footer{font-size:12px}.ability-icon svg{width:24px;height:24px}.color-swatch{width:36px;height:36px;min-height:36px}.stage-bottom small{letter-spacing:.4px}.brand small{letter-spacing:.8px}.brand-mark{letter-spacing:-6px}.react-button{font-size:13px}.customizer-head{gap:8px}.nav-tag{display:none}@media(max-width:1150px){.brand small{font-size:10px}.stage-label,.element-tag{font-size:10px}.stage-bottom small{font-size:10px}.finish-buttons button{font-size:13px}.icon-button{font-size:12px}}@media(max-width:480px){.brand small{font-size:9px}.element-option small{font-size:11px}.stage-label,.element-tag{font-size:10px}.stage-bottom small{font-size:9px}.customizer-head h2{font-size:16px}.icon-button{font-size:12px}.stage-caption .tiny-label{font-size:11px}}

.brand-mark{width:52px;height:32px;transform:none;flex-shrink:0;color:var(--accent)}@media(max-width:480px){.brand-mark{width:40px;height:27px}}

/* Field guide edition: the illustrated field plate faces a lighter notebook page. */
:root{--field-ink:#243c33;--field-muted:#52675a;--paper:#f1f2e8;--paper-line:#ccd4c4}
body{background-color:#102820;background-image:radial-gradient(ellipse at 15% 0%,#2347338c,transparent 65%)}
.topbar{height:72px;max-width:1440px;padding-inline:clamp(20px,4vw,64px);gap:24px}
.brand{font-size:18px;letter-spacing:.09em;gap:10px}.brand-mark{width:46px}.brand small{font-size:10px;letter-spacing:.17em;color:#b4c9b9}
nav{padding:3px;border:1px solid #4863549c;border-radius:99px;background:#10271fe6}nav button{font-size:14px;min-height:36px;padding:7px 18px}.nav-button.active{background:#e4ebd5;color:#173526}.nav-button.active #squad-count{background:#b3c9a4;color:#143125}
.motion{border-radius:24px;min-height:38px;font-size:13px}
main,footer{max-width:1440px;padding-inline:clamp(20px,4vw,64px)}main{padding-top:24px}
.page-heading{align-items:center;margin-bottom:22px}.page-heading h1{font-size:clamp(38px,4vw,58px);line-height:1.05;letter-spacing:-.045em}.page-heading h1 em{color:#d8e7b8}.page-heading>p{font-size:16px;line-height:1.45;color:#c7d2c4}
.eyebrow{font-size:12px;letter-spacing:.16em}.edition-rule{display:inline-block;width:28px;height:2px;background:#f1ae74;vertical-align:middle;margin-right:7px}
.workbench{grid-template-columns:minmax(0,1.16fr) minmax(360px,.92fr);gap:clamp(16px,2vw,28px);align-items:start}
.world-stage{min-height:605px;height:clamp(605px,74dvh,826px);max-height:none;border-radius:18px;border-color:#8a9b80;box-shadow:0 16px 28px #061b1729}
.world-stage:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to bottom,#132d2b42,transparent 21%,transparent 55%,#0c231d75 84%,#09261ffa)}
.world-stage:after{content:'';position:absolute;z-index:3;inset:11px;border:1px solid #fff6d64a;border-bottom:0;bottom:84px;pointer-events:none;border-radius:10px 10px 0 0;mask-image:linear-gradient(black,black 69%,transparent)}
.stage-meta{inset:25px 25px auto;gap:8px;align-items:center}.habitat-chip,.element-tag{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:5px 10px;border-radius:30px;background:#102b24df;border:1px solid #e4f0d74d}.habitat-chip svg{width:14px;height:14px;fill:none;stroke:#e2e9c9;stroke-width:1.7}.stage-label,.element-tag{font:650 12px/1.3 system-ui;letter-spacing:.05em}.stage-label{color:#e8edda}
.character-preview{inset:54px 3% 140px}.character-platform{bottom:24%}
.stage-caption{bottom:87px;left:16px;right:16px}.stage-caption h2{font-size:clamp(26px,2.6vw,40px);line-height:1.08;margin:0 0 5px;text-wrap:balance}.stage-caption p{font-size:14px;color:#e0e7d7}
.react-button{right:24px;top:auto;bottom:158px;color:#edf6df;background:#123328d9;border-color:#d1e6c75c;min-height:36px}
.stage-bottom{background:#132f25f5;min-height:71px;padding:12px clamp(14px,2vw,28px);border-top:1px solid #81957874;gap:10px}.ability-icon{width:36px;height:36px;display:grid;background:#264234;border-color:#74947870}.ability-icon svg{width:20px;height:20px}.stage-bottom small{font-size:12px;color:#c4d0c1}.stage-bottom strong{font-size:16px}
.play-cta{font-size:15px;color:#233021;background:#f2c279;border:1px solid #f2c279;border-radius:9px;padding:10px 20px;box-shadow:inset 0 1px #ffefca55}.play-cta:hover{background:#ffcf8b;border-color:#ffcf8b}
.customizer{border-radius:18px;background:var(--paper);color:var(--field-ink);border:1px solid #d6ddc9;box-shadow:0 12px 28px #061b1723;overflow:hidden}
.customizer :focus-visible{outline-color:#916122}
.customizer-head{padding:20px 23px 15px;display:flex;gap:10px;align-items:center}
.customizer h2{font:600 clamp(22px,2vw,29px)/1.15 Georgia,serif;letter-spacing:-.04em;color:#263e32}
.icon-button{border:1px solid #c6d1be;background:#fbfcf4;border-radius:8px;color:#385544;padding:7px 10px;min-height:36px;font-size:13px;margin:0}.icon-button:hover,.name-row button:hover{background:#dae6cf;color:#294b35}
.custom-tabs{margin:0 23px;border:0;gap:2px;padding:3px;background:#dfe5d7;border-radius:9px}
.custom-tabs button{min-height:38px;border:0;border-radius:6px;font-size:14px;color:var(--field-muted);padding:7px 3px}
.custom-tabs button[aria-selected=true]{background:#fffef5;color:#254b36;box-shadow:0 1px 3px #24432126}.custom-tabs button:hover{background:#edf1e5}
.panel-content{min-height:0;padding:17px 23px 14px}
.panel-intro{font-size:15px;color:var(--field-muted);margin:0 0 11px}
.elements{gap:7px}.element-option{display:flex;min-height:65px;flex-direction:row;justify-content:center;gap:7px;padding:7px 5px;border:1px solid #c5d0bc;background:#fcfcf4;color:#314a3a;font-size:14px;border-radius:9px}
.element-option svg{width:24px;height:26px;color:color-mix(in srgb,var(--tile-color) 37%,#254837)}.element-option:hover,.choice:hover{background:#e4eadc;border-color:#6f8874}
.element-option[aria-pressed=true]{border:2px solid #42674f;background:#dae7d6;box-shadow:none;padding:6px 4px;color:#193e2a}.element-option[aria-pressed=true]:after{color:#325638;top:1px;right:4px;font-size:10px}
.power-note{margin-top:12px;padding:10px 12px;gap:10px;align-items:center;color:#284234;background:#e4eada;border-radius:8px;border-left:3px solid #7b9473}.power-note-icon{color:#4a6753;display:grid;place-items:center}.power-note svg{width:24px;height:24px}.power-note strong{font-size:14px}.power-note p{color:#435e4e;font-size:14px;margin:1px 0 0}
.creator-finish{padding:14px 23px 11px;background:#e9eddf;border-color:var(--paper-line)}
.customizer legend,.customizer .field-label,.customizer .range-label{color:#304839;font-size:14px}.customizer legend span,.customizer output{color:#4b6752}.creator-finish .field-label{margin-bottom:5px}
.customizer input:not([type]),.customizer select{border-color:#aebda5;border-radius:7px;background-color:#fbfcf5;color:#283e32;min-height:42px;padding-top:8px;padding-bottom:8px}.customizer select{color-scheme:light;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234a6753' stroke-width='2'/%3E%3C/svg%3E")}
.customizer input[type=range]{accent-color:#4b7355}.name-row button{color:#405e46;background:#f9fbf1;border:1px solid #aebeaa;min-height:42px}.finish-buttons{margin-top:9px}.finish-buttons button{font-size:14px;border-radius:7px;min-height:44px;padding:9px}.finish-buttons .primary{background:#2d573b;border-color:#2d573b;color:#fcf8e8}.finish-buttons .primary:hover{background:#193d29}
.finish-buttons .secondary{color:#35523d;background:transparent;border-color:#a6b69e}.finish-buttons .secondary:hover{background:#d8e2cc}
.choice{background:#fbfcf4;color:var(--field-ink);border-color:#c3cfba;border-radius:7px}.choice[aria-pressed=true]{color:#284832;background:#dcead4;border-color:#53755b}.gear-choice{display:flex;align-items:center;gap:8px;padding:6px 10px;text-align:left}.gear-mark{height:26px;width:26px;flex:none;color:var(--ink)}fieldset:last-child{margin-bottom:2px}.color-swatch{border-color:#8da484}.color-swatch[aria-pressed=true]{outline-color:#315d40}
.build-tools{font-size:13px;color:#4a624d;margin:8px 0 0}.build-tools summary{padding:6px 0;cursor:pointer;width:max-content}.utility-row{justify-content:start;flex-wrap:wrap;gap:0 16px;margin:0}.utility-row button{color:#2c573d;font-weight:600;font-size:13px}.save-note{color:#526850;font-size:12px;text-align:left;margin:3px 0 0}
footer{margin-top:15px;color:#a8baaa}
@media(max-width:1000px) and (min-width:761px){.topbar,main,footer{padding-inline:22px}.workbench{grid-template-columns:minmax(0,1fr) minmax(325px,.91fr);gap:14px}.customizer-head,.panel-content,.creator-finish{padding-inline:14px}.custom-tabs{margin-inline:14px}.customizer h2{font-size:22px}.element-option{flex-direction:column;gap:4px}.world-stage{min-height:604px}.stage-label,.element-tag{font-size:10px}.stage-meta{inset:20px 17px auto}.stage-bottom{padding-inline:12px}.play-cta{padding:9px 12px}.react-button{right:17px;bottom:160px}.topbar{height:68px;min-height:68px;flex-wrap:nowrap}.topbar nav{order:0;flex-basis:auto;margin:auto}.topbar nav button{flex:none}.world-stage{position:sticky;top:12px}.page-heading>p{display:block}}
@media(max-width:760px){.topbar{height:auto;min-height:90px;padding:12px 16px 8px;gap:7px 12px;flex-wrap:wrap}.brand small{font-size:9px}.topbar nav{order:3;flex-basis:100%;margin:0;gap:2px}.topbar nav button{min-height:34px;flex:1}.motion{font-size:12px;min-height:36px;margin-left:auto}main{padding:17px 14px 7px}.page-heading{margin-bottom:15px}.page-heading>p{display:none}.eyebrow{font-size:10px}.page-heading h1{font-size:36px}.workbench{grid-template-columns:minmax(0,1fr);gap:14px}.world-stage{position:relative;top:auto;height:clamp(365px,64vh,546px);min-height:0;border-radius:14px}.world-stage:after{inset:8px 8px 60px}.character-preview{inset:34px 2% 109px}.stage-meta{inset:14px 14px auto}.stage-label,.element-tag{font-size:10px}.stage-caption{bottom:65px}.stage-caption h2{font-size:25px}.stage-caption p{font-size:12px}.stage-bottom{min-height:54px;padding:6px 12px}.stage-bottom strong{font-size:14px}.stage-bottom small{font-size:11px}.ability-icon{width:30px;height:30px}.play-cta{padding:9px 12px;font-size:14px;min-height:40px}.react-button{bottom:116px;right:11px;min-height:34px;font-size:12px}.customizer-head,.panel-content,.creator-finish{padding-inline:16px}.custom-tabs{margin-inline:16px}.panel-content{padding-block:14px}.customizer-head{padding-top:15px}.customizer h2{font-size:24px}.icon-button{font-size:13px}.customizer-head .icon-button{padding:6px 10px}.element-option{min-height:62px}.brand{font-size:16px}.page-heading .edition-rule{width:18px}.squad-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}}
@media(max-width:375px){.elements{gap:5px}.element-option{gap:4px}.element-option svg{width:19px}.customizer h2{font-size:21px}.stage-caption p{font-size:12px}}

.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}

@media(max-width:760px){.topbar nav button{white-space:nowrap;padding-inline:4px}.topbar nav{gap:0}}

/* Fitting room: compare the same saved configuration under two materials. */
.finish-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 23px 13px;padding:0 0 12px;border-bottom:1px solid var(--paper-line)}
#finish-label{font-size:14px;font-weight:650;color:#344b3e;margin-right:auto}.finish-switch{display:flex;gap:2px;padding:2px;background:#e2e7d9;border-radius:8px}
.finish-switch button{min-height:34px;border:1px solid transparent;padding:5px 10px;font-size:14px;background:transparent;color:#445d4b}
.finish-switch button[aria-pressed=true]{border-color:#b2c4ae;color:#244731;background:#fffff6;box-shadow:0 1px 2px #18392916}
.compare-trigger{padding:7px 4px;font-size:13px;min-height:34px;background:transparent;border:0;color:#315a42;text-decoration:underline;text-underline-offset:3px}.compare-trigger:hover{background:#e3ebdd}
#finish-dialog{width:min(720px,calc(100% - 24px));max-width:720px;max-height:calc(100dvh - 28px);border:1px solid #dae1cb;background:#f2f2e7;padding:clamp(14px,3vw,24px);color:#263e32}
.finish-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:15px}.finish-dialog-head h2{margin:2px 0 0;color:#213e32;font:600 clamp(23px,3vw,32px)/1.1 Georgia,serif}.finish-dialog-head p{margin:0;color:#576e54;font-size:12px}.close-compare{background:#e0e6d9;color:#31483a;border:0;padding:0;width:38px;height:38px;min-height:38px;font-size:24px}
.finish-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.finish-pair figure{margin:0;display:grid;grid-template-columns:1fr;justify-items:stretch;text-align:center;min-width:0}.finish-sample{position:relative;isolation:isolate;display:grid;place-items:center;padding:3%;height:clamp(170px,40dvh,335px);border:1px solid #8ca18d;border-radius:10px;background:radial-gradient(ellipse at 40% 30%,color-mix(in srgb,var(--sample-tint) 28%,#416355),#233f35 70%,#1c342d)}.finish-sample svg{height:100%;width:100%}.finish-sample .squatch-eyes{animation:none}.finish-pair figcaption{font:600 20px/1.2 Georgia,serif;margin:9px 0}.finish-apply{justify-self:center;background:#2b4e39;color:#f6f6e7;border-color:#2b4e39;padding:5px 13px;min-height:40px;font-size:14px}.finish-apply:hover{background:#386449}
@media(max-width:1000px){.finish-bar{margin-inline:14px}.finish-switch button{padding-inline:7px}}
@media(max-width:760px){.finish-bar{margin-inline:16px}.finish-pair{gap:7px}.finish-sample{padding:0}.finish-pair figcaption{font-size:17px}}
