:root{color-scheme:dark;--ink:#e9f1f1;--muted:#97aebd;--mint:#79efd0;--amber:#f3c670;--navy:#091b2b;--line:rgba(161,198,211,.16);font-family:Inter,'Helvetica Neue','Noto Sans JP',Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#071522;color:var(--ink);min-height:100svh;background-image:radial-gradient(ellipse at 49% 48%,#17354750,transparent 56%),radial-gradient(ellipse at 0 0,#1e4f5240,transparent 40%)}button,a,canvas{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--mint);outline-offset:5px}button{transition:background .16s,transform .16s,box-shadow .16s}button:not(:disabled):active{transform:translateY(2px)}button:not(:disabled):hover{filter:brightness(1.12)}.starfield{position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(1px 1px at 12% 14%,#80a2b1 80%,transparent),radial-gradient(1px 1px at 87% 22%,#80a2b1 80%,transparent),radial-gradient(1px 1px at 27% 81%,#80a2b1 80%,transparent),radial-gradient(1px 1px at 72% 65%,#80a2b1 80%,transparent);background-size:320px 340px,460px 380px,280px 380px,410px 270px;opacity:.33}.moon{position:fixed;right:-130px;top:40px;width:480px;opacity:.075;z-index:-1;pointer-events:none}.masthead{max-width:1380px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:12px;align-items:center;color:#eef4ef;text-decoration:none;font-size:17px;letter-spacing:.07em;font-weight:900}.brand-light{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:.26em;color:#819aa9;margin-top:5px}.brand-mark{font-size:35px;color:var(--mint)}.top-actions{display:flex;align-items:center;gap:9px}.edition{font-size:11px;letter-spacing:.14em;color:var(--muted);margin-right:20px}.edition b{color:var(--mint);margin-left:8px}.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#142b3b80;font-size:18px}.icon-button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-button[aria-pressed=true]{color:var(--mint);border-color:#79efd055}.layout{max-width:1180px;margin:12px auto 0;display:grid;grid-template-columns:minmax(210px,1fr) minmax(340px,440px) minmax(205px,1fr);gap:42px;align-items:center;padding:0 25px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--mint);font-weight:700;margin:0 0 18px}.mission-column{align-self:center}h1{font-size:clamp(48px,5.4vw,74px);line-height:.88;letter-spacing:-.06em;font-weight:900;margin:0;position:relative;width:fit-content}h1 span{color:var(--mint)}h1 i{position:absolute;right:-45px;top:0;font-style:normal;font-size:34px;font-weight:400;color:var(--amber)}.intro{font-size:16px;line-height:1.8;color:#b4c7d0;margin:22px 0 29px}.mission-card{border:1px solid var(--line);border-radius:17px;background:linear-gradient(140deg,#24425388,#0d213344);padding:20px 19px 0;overflow:hidden}.section-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--mint);font-weight:700}.tiny-id{font:10px monospace;color:var(--muted)}.mission-card h2{font-size:19px;line-height:1.65;letter-spacing:.015em;margin:13px 0 0}.satellite-stage{height:119px;position:relative;display:flex;align-items:center;justify-content:center}.satellite-stage img{width:137px;height:115px;object-fit:contain;filter:drop-shadow(0 10px 10px #0006);transform:rotate(-14deg);opacity:.75;transition:filter 1s,opacity 1s}.orbit-ring{position:absolute;left:50%;top:50%;width:190px;height:78px;border:1px solid #668d9c36;border-radius:50%;transform:translate(-50%,-50%) rotate(-20deg)}#signal-label{position:absolute;bottom:1px;right:0;font-size:10px;color:var(--amber);background:#132a36;padding:4px 7px;border-radius:3px}.mission-card p{font-size:13px;color:var(--muted);line-height:1.8;margin:15px 0 18px}.mission-foot{margin:0 -19px;background:#07192455;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:12px 18px;color:#89a1af;font-size:10px}.crew{display:flex;gap:12px;align-items:center;margin-top:25px}.crew-portrait{flex:none;width:48px;height:52px;overflow:hidden;border-radius:13px;background:#b6d4cb}.crew-portrait img{width:120px;max-width:none;margin:-5px 0 0 -35px}.crew-name{font-size:11px;font-weight:800;letter-spacing:.1em}.crew-name i{display:block;font-size:8px;color:var(--mint);font-weight:400;font-style:normal;margin-top:3px}.crew p{font-size:12px;color:#b1c5d0;line-height:1.6;margin:6px 0 0}.game-shell{border:1px solid #6f95a755;border-radius:25px;background:#102637;box-shadow:0 30px 80px #0007,0 0 0 6px #adc7ce05,inset 0 1px #bfd8de22;overflow:hidden;position:relative}.game-topline{height:37px;background:#183447;display:flex;align-items:center;justify-content:space-between;padding:0 17px;color:#a6c3ce;font-size:9px;letter-spacing:.15em}.game-topline>span{display:flex;align-items:center;gap:8px}.status-light{width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 8px #79efd066}.pause-button{width:40px;height:34px;background:transparent;border:0;font-size:19px;color:#d5e2e4}.hud{display:grid;grid-template-columns:1fr 1fr 1fr;padding:16px 17px 15px;background:#e8efeb;color:#173744}.hud>div+div{border-left:1px solid #22445622;padding-left:15px}.hud span{display:block;font-size:10px;font-weight:700;color:#526f77;margin-bottom:5px}.hud strong{font-size:29px;letter-spacing:-.045em;font-variant-numeric:tabular-nums;font-weight:800;line-height:1}.hud small{font-size:12px;font-weight:600;letter-spacing:0}.score-stat strong{font-size:25px}.score-stat{padding-top:1px}.score-stat span{letter-spacing:.15em}.count-stat strong{font-size:24px}.count-stat b{font-weight:800}.progress-track{height:5px;background:#233e48;position:relative}#progress-fill{height:100%;width:0;background:var(--mint);box-shadow:0 0 12px #79efd088;transition:width .4s}.progress-tick{position:absolute;top:0;width:2px;height:5px;background:#07152288}.tick1{left:33.33%}.tick2{left:66.66%}.board-wrap{position:relative;aspect-ratio:420/536;background:radial-gradient(ellipse at 50% 60%,#173e4a80,transparent 80%),#0a202e;overflow:hidden}#board{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;outline:none}#board:focus-visible{box-shadow:inset 0 0 0 3px var(--mint)}.board-corners{pointer-events:none;position:absolute;inset:14px;border:1px solid #8cc8d115;border-radius:15px}.board-footer{min-height:51px;background:#142e3e;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px;border-top:1px solid var(--line);font-size:11px;color:#b3cbd4}.board-footer b{color:var(--mint)}#shuffle{height:33px;border:1px solid #8db6c32b;background:#244454;border-radius:9px;display:flex;align-items:center;gap:5px;font-size:11px;padding:0 9px;white-space:nowrap}#shuffle svg{width:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.chain-badge{pointer-events:none;position:absolute;top:10px;left:50%;transform:translate(-50%,-8px);display:flex;align-items:center;gap:8px;background:#123a3bf2;border:1px solid var(--mint);border-radius:30px;padding:4px 17px;color:var(--mint);opacity:0;transition:opacity .15s,transform .15s}.chain-badge.show{opacity:1;transform:translate(-50%,0)}.chain-badge b{font-size:25px;line-height:1.2}.chain-badge span{font-size:10px;font-weight:700;letter-spacing:.13em}.toast{position:absolute;top:44%;left:50%;transform:translate(-50%,8px);white-space:nowrap;pointer-events:none;background:#0b2539e8;border:1px solid #79efd066;padding:11px 20px;border-radius:30px;color:#d2fff0;font-size:15px;font-weight:700;box-shadow:0 5px 30px #0004;opacity:0;transition:opacity .2s,transform .2s;z-index:3}.toast.show{opacity:1;transform:translate(-50%,0)}.overlay{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#081d2acf;backdrop-filter:blur(7px);z-index:5;transition:opacity .2s}.overlay.hidden{display:none}.overlay-content{width:100%;max-width:330px;text-align:center}.overlay .eyebrow{font-size:11px;margin-bottom:18px;letter-spacing:.2em}.overlay h2{font-size:31px;line-height:1.45;letter-spacing:.025em;margin:0 0 18px;font-weight:800}.overlay p:not(.eyebrow){font-size:14px;line-height:1.9;color:#c1d3da}.overlay strong{color:var(--mint)}.sample-chain{display:flex;justify-content:center;align-items:center;margin:21px 0}.sample-chain span{display:grid;place-items:center;width:61px;height:61px;border:1px solid #ffc77a99;background:radial-gradient(circle at 30% 25%,#dcb27544,#574820);border-radius:50%;box-shadow:0 0 20px #ffc7780b}.sample-chain img{width:51px;height:51px;object-fit:contain}.sample-chain i{width:16px;height:3px;background:var(--amber);box-shadow:0 0 9px #ffc77a66}.primary-button{border:0;border-radius:12px;color:#10382f;background:var(--mint);height:51px;padding:0 20px;width:100%;font-size:15px;font-weight:800;box-shadow:0 4px 0 #3ba78d;margin-top:13px}.text-button{display:block;background:transparent;border:0;padding:13px 8px;width:100%;font-size:12px;color:#bfced6;margin-top:4px;text-decoration:underline;text-underline-offset:4px}.start-note{display:block;color:#86a7b5;font-size:11px;margin-top:8px}.guide-card .eyebrow{font-size:10px;color:var(--muted);margin-bottom:14px}.guide-card h2{font-size:25px;line-height:1.5;margin:0 0 28px}.guide-card ol{list-style:none;padding:0;margin:0}.guide-card li{display:flex;gap:13px;margin-bottom:23px}.guide-card li>b{font-size:11px;color:var(--mint);border:1px solid #79efd03d;border-radius:50%;width:27px;height:27px;flex:none;display:grid;place-items:center}.guide-card h3{font-size:14px;margin:4px 0 6px}.guide-card li p{font-size:12px;color:var(--muted);line-height:1.85;margin:0}.tip{display:flex;gap:10px;border-top:1px solid var(--line);padding-top:19px}.tip>span{color:var(--amber);font-size:18px}.tip p{font-size:11px;line-height:1.9;margin:0;color:#9db4bd}.haul-card{text-align:center;position:relative;margin-top:18px}.haul-card img{display:block;width:175px;height:149px;object-fit:contain;margin:0 auto;filter:drop-shadow(0 15px 10px #0006);animation:bob 5s ease-in-out infinite}.haul-card span{font-size:9px;color:var(--mint);letter-spacing:.2em}.haul-card p{font-size:12px;color:var(--muted);margin:7px 0}.page-footer{max-width:1180px;margin:26px auto 0;padding:15px 25px 25px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.1em;color:#658392}dialog{position:fixed;width:min(440px,calc(100% - 32px));max-height:85svh;overflow:auto;padding:32px;border:1px solid #709ba65c;border-radius:22px;background:#132c3d;color:var(--ink);box-shadow:0 30px 90px #0008}dialog::backdrop{background:#03111ccd;backdrop-filter:blur(5px)}dialog h2{font-size:24px}dialog p{font-size:14px;line-height:1.9;color:#bfd0d8}dialog strong{color:var(--mint)}.dialog-close{position:absolute;right:12px;top:12px;width:35px;height:35px;border:0;background:transparent;color:var(--muted);font-size:26px}summary{font-size:14px;color:var(--mint);cursor:pointer}.result-mark{font-size:43px;color:var(--mint);margin:0 0 10px}.result-stats{display:flex;justify-content:center;gap:20px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0 9px}.result-stats span{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.result-stats b{display:block;font-size:25px;color:#f0f5ec}.time-low #time{color:#c65645}.time-low .time-stat{animation:timepulse 1s ease-in-out infinite}.rescued .satellite-stage img{filter:drop-shadow(0 0 16px #79efd055);opacity:1}.rescued #signal-label{color:var(--mint)}@keyframes bob{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes timepulse{50%{opacity:.6}}@media(min-width:900px) and (max-height:820px){.masthead{padding-top:14px;padding-bottom:14px}.layout{grid-template-columns:minmax(190px,1fr) minmax(315px,380px) minmax(190px,1fr);max-width:1080px;margin-top:0;gap:35px}.mission-card{padding-top:14px}.intro{margin:17px 0}.satellite-stage{height:95px}.mission-card p{margin:8px 0 12px}.crew{margin-top:18px}.page-footer{margin-top:8px;padding-top:8px}.hud{padding:12px 15px}.haul-card img{width:140px;height:115px}h1{font-size:59px}.guide-card li{margin-bottom:18px}.guide-card h2{margin-bottom:20px}}@media(max-width:1080px){.layout{gap:25px;padding:0 25px}.mission-column .eyebrow{font-size:8px}.guide-card h3{font-size:13px}}@media(max-width:900px){.layout{grid-template-columns:1fr minmax(330px,420px);max-width:750px;gap:25px}.guide-column{display:none}.masthead{padding:20px 25px}.edition{display:none}.mission-column h1{font-size:60px}.page-footer{max-width:750px}.mission-card h2{font-size:17px}}@media(max-width:620px){.masthead{padding:12px 17px 11px;gap:10px}.brand{font-size:13px;gap:8px}.brand small{font-size:8px;letter-spacing:.18em;margin-top:3px}.brand-mark{font-size:28px}.icon-button{width:34px;height:34px;font-size:16px}.top-actions{gap:7px}.layout{display:block;padding:0 10px;margin:0 auto;max-width:440px}.mission-column,.guide-column{display:none}.game-shell{border-radius:20px}.game-topline{height:29px;font-size:8px;padding:0 14px}.pause-button{height:28px}.hud{padding:12px 13px}.hud span{font-size:9px}.hud strong{font-size:27px}.hud .score-stat strong{font-size:24px}.hud>div+div{padding-left:12px}.board-footer{min-height:45px;font-size:10px}.board-wrap{aspect-ratio:420/536}.page-footer{padding:15px 17px 12px;justify-content:center;margin:0;font-size:8px}.page-footer span:last-child{display:none}.overlay h2{font-size:28px}.overlay .eyebrow{margin-bottom:13px}.overlay p:not(.eyebrow){font-size:13px}.sample-chain{margin:15px 0}.primary-button{height:48px;font-size:14px}.text-button{font-size:12px}.toast{font-size:13px;padding:10px 13px}body{padding-bottom:env(safe-area-inset-bottom)}}@media(max-width:620px) and (max-height:760px){.layout{max-width:min(420px,calc((100svh - 206px)*.7836 + 20px))}.masthead{padding-top:8px;padding-bottom:8px}.hud{padding-top:9px;padding-bottom:9px}.page-footer{padding-top:9px}.overlay h2{font-size:23px;margin-bottom:12px}.overlay .eyebrow{font-size:10px;margin-bottom:10px}.sample-chain{margin:10px 0}.sample-chain span{width:49px;height:49px}.sample-chain img{width:43px;height:43px}.overlay p:not(.eyebrow){font-size:12px;margin:10px 0;line-height:1.8}.overlay{padding:16px}.primary-button{height:44px;margin-top:10px;font-size:13px}.text-button{padding:10px 3px;font-size:11px}.start-note{font-size:10px}.hud strong{font-size:24px}.hud .score-stat strong{font-size:22px}.hud small{font-size:10px}.result-stats{padding:10px 0;margin:10px 0}.result-mark{font-size:28px;margin-bottom:8px}.board-footer{padding:6px 9px}#shuffle{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable game labels across compact and desktop layouts. */
.hud span{font-size:12px}.game-topline{font-size:10px}.board-footer{font-size:12px}#shuffle{font-size:12px}.guide-card h3{font-size:14px}.guide-card li p,.mission-card p,.crew p,.tip p{font-size:14px}.crew-name{font-size:12px}.text-button,.start-note{font-size:12px}.mission-foot{font-size:12px}.tiny-id{font-size:12px}.guide-card .eyebrow,.mission-column .eyebrow{font-size:10px}.overlay p:not(.eyebrow){font-size:14px}.result-stats span{font-size:12px}.section-label{font-size:14px}
@media(max-width:620px){.hud span{font-size:11px}.board-footer{font-size:11px}#shuffle{font-size:12px}.overlay p:not(.eyebrow){font-size:14px}.primary-button{font-size:14px}.text-button{font-size:12px}.start-note{font-size:11px}}
@media(max-width:360px){.hud span{font-size:10px}.hud>div+div{padding-left:8px}.hud{padding-left:10px;padding-right:10px}.board-footer{font-size:10px}.overlay h2{font-size:22px}.overlay p:not(.eyebrow){font-size:12px}}

/* MERGE & BUILD 04 */
.station-steps i{min-width:39px;width:auto!important;padding:0 4px;border-radius:6px!important;white-space:nowrap}.station-strip{flex-wrap:wrap}.station-steps{flex-shrink:0}.station-strip strong{margin-left:auto}.station-strip .station-steps i{font-size:12px}
.station-strip{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;background:#173a46;border-bottom:1px solid #8ddfcd30;min-height:38px;color:#cbe9e6}
.station-strip strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.station-steps{display:flex;gap:5px}.station-steps i{font-style:normal;display:grid;place-items:center;width:23px;height:23px;border:1px solid #7bcfc849;border-radius:50%;font-size:12px;color:#82a4ad}
[data-phase="1"] .station-steps i:first-child,[data-phase="2"] .station-steps i:nth-child(-n+2),[data-phase="3"] .station-steps i,[data-phase="bonus"] .station-steps i{background:#91e6cf;color:#143c38;border-color:#91e6cf}
.station-strip.build-ready{background:#3f4b32;color:#ffedaf}.bonus-track{position:absolute;bottom:0;left:0;right:0;height:3px;overflow:hidden}.bonus-track i{display:block;height:100%;background:#ffd986;transform:scaleX(0);transform-origin:left}
.bonus-active .station-strip{background:#514329;color:#ffe5a5}.bonus-active .game-shell{box-shadow:0 0 35px #efbe6830;border-color:#e7bd6e}.bonus-active .board-wrap{background-color:#192e3b}.bonus-active .score-stat strong{color:#966315}.overflowing.bonus-active .game-shell{border-color:#ff907e}
#station-drop{height:36px;border:1px solid #e7c57b77;background:#51492f;border-radius:9px;padding:0 9px;font-size:12px;white-space:nowrap}#station-drop[hidden]{display:none}.board-actions{flex-wrap:wrap}button:disabled{opacity:.45;cursor:not-allowed}.result-stats{flex-wrap:wrap}.result-stats>div{min-width:40%}
@media(max-width:620px){.layout{min-width:0;width:100%;max-width:440px!important}.station-strip strong{font-size:12px}.station-strip{padding:6px 10px}.board-footer{grid-template-columns:1fr!important}.board-actions{justify-content:flex-end}.practice .board-actions{justify-content:center}#interaction-hint{min-height:17px}#station-drop,#manual-drop,#shuffle{min-height:36px}body{overflow-x:hidden}}

/* Base falling mode */
.hud{grid-template-columns:1.25fr .8fr 1fr;align-items:center;padding:13px 16px}
.hud span{font-size:12px}.hud .score-stat{padding-top:0}.hud .score-stat strong{font-size:29px}
.next-piece{display:flex;align-items:center;gap:6px;height:34px}.next-piece img{width:35px;height:35px;object-fit:contain}.hud .next-piece span{font-size:12px;margin:0;color:#234b57}
.run-strip{display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:29px;padding:4px 15px;border-top:1px solid #90beca18;border-bottom:1px solid #90beca18;color:#9ebbc6;font-size:12px;background:#122d3d}.run-strip b{font-weight:500;font-variant-numeric:tabular-nums;color:#d5e4e7;margin-left:5px}.drop-track{width:42px;height:3px;background:#86cfbc24;overflow:hidden;border-radius:4px}.drop-track i{display:block;width:100%;height:100%;background:var(--mint);transform-origin:left;transform:scaleX(0)}
.board-footer{display:grid;grid-template-columns:1fr auto;gap:5px 8px;padding:9px 12px;font-size:12px;min-height:67px;align-items:center}.board-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}#sort-reason{grid-column:1/-1;text-align:right;font-size:12px;color:#8ba8b7;line-height:1.4}#shuffle,#manual-drop{font-size:12px;height:36px;white-space:nowrap}#manual-drop{border:1px solid #79efd055;background:#245448;border-radius:9px;padding:0 9px}#manual-drop[hidden]{display:none}#shuffle.available{color:#173b32;border-color:var(--mint);background:var(--mint)}
body.practice .board-footer{grid-template-columns:1fr}.practice .board-actions{justify-content:space-between}.practice #sort-reason{text-align:left}
.danger-notice{position:absolute;z-index:2;left:50%;top:17.8%;transform:translateX(-50%);max-width:95%;width:max-content;background:#1a2c38ef;border:1px solid #f3c36d55;border-radius:8px;pointer-events:none;padding:7px 12px 8px;opacity:0;color:var(--amber);font-size:12px;text-align:center}.danger-notice.visible{opacity:1}.danger-track{display:none;margin:6px auto 0;height:3px;width:100%;background:#f5897730;border-radius:4px;overflow:hidden}.danger-track i{display:block;height:100%;width:100%;background:#ff9a88;transform:scaleX(0);transform-origin:left}.overflowing .danger-notice{color:#ffc7b8;border-color:#ff9a8855}.overflowing .danger-track{display:block}.overflowing .game-shell{border-color:#df8c7399}.near-limit .game-shell{border-color:#d2b76f88}.overflowing #pile-state{color:#ffa48e}.near-limit #pile-state{color:var(--amber)}.mission-foot strong{font-size:12px;color:var(--mint)}
.chain-badge{top:8px;padding:3px 14px;z-index:3}.chain-badge b{font-size:23px}.chain-badge span{font-size:11px}.toast{top:27%;font-size:14px;padding:9px 15px;max-width:94%;white-space:normal;text-align:center;line-height:1.5}.board-corners{border:0;inset:0}.overlay{overflow-y:auto;overscroll-behavior:contain}.overlay-content{margin:auto}.overlay h2{font-size:28px}.overlay .primary-button{font-size:15px}.overlay .text-button{font-size:13px}.overlay p:not(.eyebrow){font-size:14px}.result-score{margin:15px 0 0}.result-score span{display:block;font-size:12px;letter-spacing:.15em;color:var(--mint)}.result-score strong{display:block;font-size:42px;font-variant-numeric:tabular-nums;font-weight:800;margin-top:6px}.result-stats{gap:20px;padding:14px 0}.result-stats b{font-size:24px}.result-stats small{font-size:12px;font-weight:400}.result-stats span{font-size:12px}.overlay .eyebrow{font-size:12px}
@media(max-width:620px){.hud{padding:10px 12px;grid-template-columns:1.2fr .7fr 1fr}.hud>div+div{padding-left:10px}.hud span{font-size:12px}.hud .score-stat strong{font-size:26px}.hud .next-piece span{font-size:11px}.next-piece{gap:4px}.next-piece img{width:30px;height:32px}.run-strip{font-size:12px;min-height:26px;padding:3px 12px}.board-footer{font-size:12px;padding:7px 10px;min-height:66px}#interaction-hint{font-size:11px}#sort-reason{font-size:11px}.danger-notice{padding:5px 9px;font-size:12px}.sample-chain{margin:12px 0}.overlay h2{font-size:26px;margin-bottom:12px}.overlay{padding:18px}.start-note{font-size:11px}.overlay .eyebrow{font-size:11px;margin-bottom:12px}}
@media(max-width:620px) and (max-height:800px){.layout{max-width:min(440px,calc((100svh - 239px)*.7836 + 20px))}.masthead{padding-top:8px;padding-bottom:8px}.hud{padding-top:8px;padding-bottom:8px}.hud .score-stat strong{font-size:24px}.hud strong{font-size:24px}.hud span{font-size:11px}.next-piece img{width:28px;height:29px}.hud .next-piece span{font-size:10px}.run-strip{min-height:24px;font-size:11px}.board-footer{min-height:62px;gap:3px;padding:5px 9px}#shuffle,#manual-drop{height:32px;font-size:11px}#sort-reason{font-size:10px}#interaction-hint{font-size:10px}.overlay h2{font-size:23px}.overlay p:not(.eyebrow){font-size:13px}.overlay .primary-button{font-size:14px;height:43px}.overlay .text-button{font-size:12px;padding:10px 2px}.start-note{font-size:10px}.overlay .eyebrow{margin-bottom:10px}.sample-chain{margin:10px 0}.sample-chain span{width:47px;height:47px}.sample-chain img{width:40px;height:40px}.result-score strong{font-size:33px}.result-score{margin-top:10px}.result-stats{padding:10px 0;margin:10px 0;gap:15px}.result-stats b{font-size:20px}.result-stats span{font-size:11px}.page-footer{padding-top:9px;padding-bottom:8px}}
@media(max-width:360px){.layout{min-width:300px}.hud .score-stat strong{font-size:23px}.next-piece span{display:none}.toast{font-size:12px}.danger-notice{font-size:11px}.overlay h2{font-size:22px}}
@media(max-height:540px) and (orientation:landscape){.layout{max-width:800px;grid-template-columns:1fr 330px}.game-shell{max-width:330px;margin:auto}.mission-column{display:none}.layout{display:block}.board-wrap{min-height:350px}.page-footer{margin-top:15px}}
