:root{color:#264a42;font-synthesis:none;--ink:#264a42;--muted:#6d7d6e;--line:#dce3d8;--green:#356750;--mint:#61b49b;--coral:#ec8d7b;--honey:#e7b94e;background:#f4f2eb;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-weight:500}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.38}button:focus-visible,canvas:focus-visible{outline-offset:4px;outline:3px solid #bc8735}button{transition:background .15s,box-shadow .15s}button:not(:disabled):active{box-shadow:inset 0 2px 6px #233e4620}h1,h2,p{margin:0}b{font-weight:inherit}.page{max-width:1050px;margin:auto;padding:0 30px}.masthead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:61px;display:flex}.brand{letter-spacing:.16em;align-items:center;gap:9px;font-size:10px;font-weight:700;display:flex}.brand svg{stroke:#567761;fill:none;stroke-width:1.5px;width:25px;height:25px}.edition{color:#98a493}.quiet{color:var(--ink);background:0 0;border:0;min-height:44px;padding:0 0 0 14px;font-size:11px}.quiet span{border:1px solid #b6c4b5;border-radius:50%;place-items:center;width:21px;height:21px;margin-left:5px;display:inline-grid}.heading{justify-content:space-between;align-items:center;padding:20px 0 17px;display:flex}.eyebrow{letter-spacing:.16em;color:var(--muted);font-size:9px;font-weight:700}h1{letter-spacing:.045em;margin-top:5px;font-size:32px;font-weight:650}h1 span{color:#527d62}.tagline{color:#6d7d6e;letter-spacing:.1em;font-size:11px;line-height:1.85}.scoreboard{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;margin-bottom:18px;padding:11px 0;display:grid}.scoreboard>div{border-left:1px solid var(--line);flex-wrap:wrap;align-items:baseline;gap:12px;padding-left:22px;display:flex}.scoreboard>div:first-child{border:0;padding-left:0}.scoreboard span{color:var(--muted);letter-spacing:.06em;font-size:9px}.scoreboard strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:650;line-height:1.2}.scoreboard small{color:var(--muted);font-size:10px;font-weight:500}#score-gain{color:#b47c2e;min-width:28px}.game-grid{grid-template-columns:minmax(0,1fr) 270px;align-items:stretch;gap:20px;display:grid}.stage{background:#e8ede2;border:1px solid #dce4d6;border-radius:22px;min-width:0;position:relative;overflow:hidden;box-shadow:0 4px 16px #44594404}.stage-caption{letter-spacing:.1em;color:#82917d;justify-content:space-between;align-items:center;gap:12px;padding:17px 22px 0;font-size:9px;display:flex}.stage-caption i{background:#83a487;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.canvas-wrap{background:radial-gradient(at 50% 45%,#f9fbef8a,#0000 69%);width:100%;position:relative}canvas{aspect-ratio:640/410;touch-action:none;cursor:grab;object-fit:contain;width:100%;height:auto;max-height:350px;display:block}canvas.dragging{cursor:grabbing}.stage-tools{justify-content:space-between;align-items:center;gap:8px;padding:10px 16px 0;display:flex}.stage-tools button{min-height:44px;color:var(--ink);background:#f9faf1b8;border:1px solid #d0dcc9;border-radius:12px;padding:0 12px;font-size:11px;font-weight:650}.stage-tools button:not(:disabled):hover{background:#fffdf5}.stage-tools button span{vertical-align:-1px;margin-right:4px;font-size:18px}.history-tools{gap:5px;display:flex}.stage-tools #redo{min-width:44px;padding:0 8px;font-size:21px}.mission{background:#f8f8ed;border:1px solid #cdd8bf;border-radius:12px;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;margin:12px 16px 0;padding:12px 14px;display:grid}.mission h2{letter-spacing:.04em;margin-top:3px;font-size:15px}.mission strong{color:#6c794d;white-space:nowrap;font-size:11px}.mission p{color:#627354;grid-column:1/-1;font-size:10px;line-height:1.6}.mission[data-state=ready]{background:#faf3d5;border-color:#b69742}.mission[data-state=complete]{background:#e3f0dd;border-color:#7eab8a}.mission[data-state=complete] strong{color:#326447}#match-preview{text-align:center;color:#65765d;background:#f6f8ec7a;border-radius:9px;min-height:32px;margin:0 16px 5px;padding:7px 10px;font-size:11px;line-height:1.6}#match-preview.has-match{color:#72541b;background:#fff2bb;font-weight:700;box-shadow:inset 0 0 0 1px #d7b55980}.forecast-key{text-align:center;color:#6a795e;margin:0 10px 6px;font-size:9px;line-height:1.6}.supply-preview{justify-content:center;align-items:center;gap:13px;min-height:40px;margin:12px 12px 3px;display:flex}#supply-caption{color:#62765b;letter-spacing:.04em;white-space:nowrap;font-size:10px}#upcoming{gap:10px;margin:0;padding:0;list-style:none;display:flex}#upcoming li{flex-direction:column;align-items:center;gap:3px;min-width:27px;display:flex}#upcoming li[hidden]{display:none}#upcoming .supply-order{color:#69825c;font-size:8px;font-weight:650;line-height:1}#upcoming .orb{width:27px;height:27px;font-size:15px;box-shadow:0 2px 4px #46623f12}#upcoming li:first-child .orb{outline-offset:3px;outline:1px solid #618350}.scene-drop{color:#fffdf2;white-space:nowrap;background:#3d6b52;border:1px solid #487258;border-radius:30px;align-items:center;gap:10px;min-height:50px;padding:6px 17px 6px 8px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%);box-shadow:0 5px 12px #36583d20}.scene-drop:not(:disabled):hover{background:#2b5844;box-shadow:0 5px 15px #36583d38}.scene-drop .orb{border:1px solid #fff5;width:34px;height:34px;font-size:18px}.scene-drop b{letter-spacing:.02em;font-size:12px;font-weight:700;display:block}.scene-drop small{color:#d5e4d2;letter-spacing:.05em;margin-top:3px;font-size:8px;display:block}#rotation-guides,#scene-rotations{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.rotation-arc{fill:none;stroke:#618862;stroke-width:1.8px;stroke-linecap:round;opacity:.22}.rotation-arc.active{stroke:#527850;stroke-width:3px;opacity:.9}.rotation-hit{fill:none;stroke:#0000;stroke-width:24px;pointer-events:stroke;cursor:pointer;touch-action:manipulation}#rotation-guides.unavailable .rotation-hit{pointer-events:none}.scene-rotate{pointer-events:auto;color:#4a7351;background:#f6f8edf0;border:1px solid #becfb3;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;min-width:48px;min-height:58px;padding:3px 7px 6px;display:flex;position:absolute;transform:translateY(-50%);box-shadow:0 3px 8px #45623b0b}.scene-rotate:not(:disabled):hover,.scene-rotate:focus-visible{background:#fffdf0;border-color:#66895a;box-shadow:0 0 0 3px #93b47926}.scene-rotate svg{stroke:currentColor;stroke-width:2.3px;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;width:32px;height:30px}.scene-rotate span{letter-spacing:.07em;font-size:9px}.scene-rotate[data-slot$=left]{left:16px}.scene-rotate[data-slot$=right]{right:16px}.scene-rotate[data-slot^=upper]{top:31%}.scene-rotate[data-slot^=lower]{top:67%}.scene-hint{color:#65765d;pointer-events:none;justify-content:space-between;gap:8px;font-size:9px;display:flex;position:absolute;bottom:7px;left:20px;right:20px}.board-tip{text-align:center;color:#5c7255;margin:6px 12px 15px;font-size:10px}#callout{white-space:nowrap;color:#946825;letter-spacing:.07em;pointer-events:none;background:#fffbeded;border-radius:30px;padding:8px 16px;font-size:14px;font-weight:700;position:absolute;bottom:31px;left:50%;transform:translate(-50%);box-shadow:0 3px 15px #415a3912}#callout:empty{display:none}.layer-heading{letter-spacing:.08em;color:#7c8f77;justify-content:space-between;margin:0 24px 7px;font-size:9px;display:flex}.layers{justify-content:center;gap:22px;padding:0 24px;display:flex}.layer{background:#f5f6ec9e;border:1px solid #d7e0d1;border-radius:10px;flex:1;grid-template-columns:repeat(3,1fr);gap:4px;max-width:107px;padding:10px;display:grid;position:relative}.layer-label{color:#718269;writing-mode:vertical-rl;letter-spacing:.12em;font-size:9px;position:absolute;top:50%;left:-10px;transform:translate(-100%,-50%)}.layer:first-child .layer-label{left:-3px}.layer-cell{aspect-ratio:1;color:#fff;background:#d9e1d164;border-radius:50%;place-items:center;min-width:0;font-size:13px;font-weight:750;line-height:1;display:grid}.layer-cell[data-color="0"]{background:var(--mint)}.layer-cell[data-color="1"]{background:var(--coral)}.layer-cell[data-color="2"]{background:var(--honey)}.layer-cell.selected{box-shadow:0 0 0 1.5px #6c826c}.layer-cell.matching{box-shadow:0 0 0 2px #fef4bb,0 0 8px #ffe185}.layer-cell.forecast{outline-offset:1px;outline:1px solid #8c692b;box-shadow:0 0 0 3px #fff0a4,0 0 8px #ffe185}.layer-cell.incoming{opacity:.65;border:1px dashed #3c654b}.stage-note{text-align:center;color:#8b9784;letter-spacing:.08em;margin:10px 0 13px;font-size:9px}.controls{flex-direction:column;gap:16px;min-width:0;padding:8px 0 0;display:flex}.next-block{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 8px 13px;display:flex}.next-block #next-name{letter-spacing:.09em;margin-top:5px;font-size:14px;font-weight:650}.orb{color:#fff8e8;background:var(--mint);border-radius:50%;place-items:center;width:44px;height:44px;font-size:22px;font-weight:650;display:grid;box-shadow:inset -5px -7px 10px #0000000c,inset 4px 4px 10px #ffffff50,0 4px 5px #5d694016}.color-0{background-color:var(--mint)}.color-1{background-color:var(--coral)}.color-2{background-color:var(--honey)}.control-label{justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px;display:flex}.control-label h2{letter-spacing:.05em;font-size:11px;font-weight:650}.control-label>span{color:#82a080;letter-spacing:.15em;font-size:10px}.rotation-buttons{grid-template-columns:1fr 1fr;gap:6px;display:grid}.rotation-buttons button{color:#526d58;background:#f9f8f2;border:1px solid #dbe1d4;border-radius:9px;height:40px;font-size:11px}.rotation-buttons button:hover:not(:disabled){background:#e4eadb}.rotation-buttons span{vertical-align:middle;margin-right:6px;font-size:19px}.micro{color:#687962;margin-top:7px;font-size:9px;line-height:1.7}.targets{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.target-labels{text-align:center;color:#93a28b;grid-template-columns:repeat(3,1fr);margin-bottom:4px;font-size:9px;display:grid}.target{color:#95a48b;background:#f9f8f2;border:1px solid #d9e1d2;border-radius:8px;justify-content:center;align-items:center;gap:3px;height:37px;display:flex;position:relative}.target .row-number{font-size:8px;position:absolute;top:4px;left:6px}.target .dot{color:#fffef6;background:#dfe6d7;border-radius:50%;place-items:center;width:11px;height:11px;font-size:8px;line-height:1;display:grid}.target .dot[data-color="0"]{background:var(--mint)}.target .dot[data-color="1"]{background:var(--coral)}.target .dot[data-color="2"]{background:var(--honey)}.target[aria-pressed=true]{background:#e4ecdc;border-color:#6a8b69;box-shadow:inset 0 0 0 .5px #6a8b69}.target:not(:disabled):hover{background:#eaf0e2}.primary{background:var(--green);color:#fff9e9;letter-spacing:.03em;border:0;border-radius:11px;justify-content:space-between;align-items:center;width:100%;min-height:49px;padding:12px 19px;font-size:13px;font-weight:600;display:flex}.primary:hover:not(:disabled){background:#28553f}.primary:disabled{opacity:.57}#drop{margin-top:auto}#drop>span+span{font-size:22px;font-weight:400}#status{color:#65765f;max-width:100%;min-height:34px;margin-top:-7px;font-size:10px;line-height:1.7}footer{color:#8f9988;letter-spacing:.07em;justify-content:space-between;align-items:center;gap:8px;padding:13px 0 20px;font-size:9px;display:flex}.text-button{color:#798b76;background:0 0;border:0;min-height:36px;padding:5px 0 5px 12px;font-size:10px}#best{margin-left:16px}dialog{color:var(--ink);background:#f9f8f2;border:1px solid #dbe3d3;border-radius:22px;width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 40px);padding:0;box-shadow:0 20px 80px #21392c22}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#25392d65}.dialog-body{padding:30px}.dialog-body h2{margin:8px 0 20px;font-size:25px;font-weight:600;line-height:1.5}.dialog-body ol{padding-left:19px;font-size:12px;line-height:1.85}.dialog-body li{margin-bottom:10px;padding-left:4px}.dialog-body>p:not(.eyebrow){margin:16px 0;font-size:11px;line-height:1.9}.dialog-body .primary{justify-content:center;margin-top:20px}.help-goal{background:#efe8cf;border-radius:10px;padding:14px;font-size:12px;line-height:1.8}.help-goal p{margin-top:4px;font-size:11px}.secondary{color:var(--ink);background:#eef0e4;border:1px solid #dce2d2;border-radius:11px;width:100%;min-height:46px;margin-top:10px;font-size:12px}.result{text-align:center}.result-label{color:var(--muted);letter-spacing:.15em;font-size:10px}.result #result-score{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:64px;font-weight:550;line-height:1.25;display:block}.result .text-button{padding:18px 0 0}.result h2{font-size:22px}@media (min-width:761px) and (max-width:980px){.page{padding:0 20px}.game-grid{grid-template-columns:minmax(0,1fr) 242px;gap:16px}.scoreboard>div{gap:6px;padding-left:12px}.layers{gap:18px;padding:0 16px}.layer{gap:3px;padding:8px}.layer-label{left:-6px}.stage-caption{padding:17px 15px 0}}@media (max-width:760px){.page{max-width:540px;padding:0 17px}.masthead{height:47px}.brand{gap:6px;font-size:8px}.brand svg{width:21px;height:21px}.heading{padding:12px 0}.heading .eyebrow{font-size:7px}h1{margin-top:3px;font-size:25px}.tagline{font-size:9px}.scoreboard{grid-template-columns:1.2fr 1fr 1fr 1fr;gap:6px;margin-bottom:12px;padding:9px 0}.scoreboard>div{padding-left:9px;display:block}.scoreboard span{margin-bottom:2px;font-size:8px;display:block}.scoreboard strong{white-space:nowrap;font-size:20px}.scoreboard small{font-size:8px}.score-primary{position:relative}#score-gain{font-size:8px;position:absolute;bottom:2px;right:0}.game-grid{flex-direction:column;gap:13px;display:flex}.stage{border-radius:17px}.stage-caption{padding:12px 15px 0;font-size:8px}canvas{height:280px;max-height:none}.stage-tools{padding:8px 12px 0}.mission{margin:10px 12px 0;padding:10px}.mission h2{font-size:13px}.mission strong{font-size:10px}.mission p{font-size:9px}#match-preview{margin:0 12px 5px;font-size:10px}.forecast-key{font-size:8px}.supply-preview{gap:12px;margin-top:10px;margin-bottom:2px}#upcoming{gap:8px}.stage-tools button{padding:0 9px;font-size:10px}.scene-rotate[data-slot$=left]{left:8px}.scene-rotate[data-slot$=right]{right:8px}.scene-rotate[data-slot^=upper]{top:32%}.scene-rotate[data-slot^=lower]{top:73%}.scene-hint{font-size:8px;left:12px;right:12px}.board-tip{margin:3px 10px 12px;font-size:9px}.layer-heading{margin:0 18px 5px;font-size:8px}.layers{gap:21px;padding:0 21px}.layer{gap:3px;max-width:87px;padding:7px}.layer-cell{font-size:11px}.layer-label{font-size:8px;left:-6px}.stage-note{margin:7px 0 9px;font-size:8px}.controls{grid-template-columns:1fr 1fr;gap:10px 20px;padding:0;display:grid}.next-block{grid-area:1/1;margin:0;padding:0 0 8px}.next-block .eyebrow{font-size:8px}.next-block #next-name{font-size:12px}.orb{width:35px;height:35px;font-size:19px}.rotation-block{grid-area:2/1}.rotation-buttons{gap:5px}.rotation-buttons button{height:44px;font-size:10px}.rotation-buttons span{margin-right:2px;font-size:18px}.control-label{margin-bottom:6px}.control-label h2{font-size:10px}.control-label>span{font-size:9px}.target-block{grid-area:1/2/span 2}.target-labels{margin-top:9px}.target{height:44px}.target .dot{width:9px;height:9px;font-size:7px}.target .row-number{top:2px;left:3px}.targets{gap:5px}.micro{white-space:nowrap;margin-top:5px;font-size:8px}#drop{grid-column:1/-1;min-height:48px;margin-top:0}#status{grid-column:1/-1;min-height:30px;margin-top:-4px;font-size:9px}footer{padding:5px 0 14px;font-size:8px}#best{display:none}.dialog-body{padding:24px}#callout{font-size:12px;bottom:29px}}@media (max-width:350px){.page{padding:0 12px}.brand .edition{display:none}.tagline{font-size:8px}h1{font-size:23px}.controls{gap:9px 12px}.target .dot{width:8px;height:8px;font-size:6px}.target{gap:2px}.layers{gap:19px;padding:0 19px}.layer{padding:6px}.scoreboard>div{padding-left:7px}.scoreboard small,.stage-caption{font-size:7px}.layer-cell{font-size:9px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
