:root{font-family:var(--atlas-font-family);color:var(--atlas-paper);background:#102f35;font-synthesis:none}
html,body{margin:0;width:100%;min-height:100%;overflow-x:hidden}
body{background:radial-gradient(ellipse 90% 70% at 50% 30%,#276765 0%,#143f43 55%,#0b282e 100%)}
button{color:inherit}
.app{position:relative;isolation:isolate;display:flex;flex-direction:column;width:100%;min-height:100svh;min-height:100dvh;max-height:100dvh;padding:calc(env(safe-area-inset-top) + 8px) max(12px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 8px) max(12px,env(safe-area-inset-left));overflow:hidden}
.app::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 120%,rgba(237,174,85,.12),transparent 55%),linear-gradient(120deg,transparent 46%,rgba(255,255,255,.025) 50%,transparent 54%)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px}.brand{border:0;background:none;display:flex;align-items:center;gap:9px;text-align:left;padding:0 8px 0 0;min-width:136px}.brand b{display:block;font-size:.82rem;letter-spacing:.14em}.brand small{display:block;color:#c8e3db;font-size:.78rem;line-height:1.35}.back-arrow{display:grid;place-items:center;font:2rem/1 Georgia;color:#f7d898;width:28px}.top-actions{display:flex;gap:8px}.tool{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;padding:0}.tool svg{width:23px;height:23px;fill:none;stroke:#fff3d5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tool .collapse{display:none}:fullscreen .tool .expand{display:none}:fullscreen .tool .collapse{display:block}.fullscreen-status{position:absolute;top:64px;right:16px;background:#174b4d;padding:8px 12px;border-radius:12px;z-index:30;font-size:.8rem}
.status{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:10px clamp(4px,2vw,22px) 8px;max-width:1040px;width:100%;margin:0 auto}.eyebrow,.sheet-kicker{font-size:.68rem;letter-spacing:.14em;font-weight:800;color:#efca84}.status h1{font-size:clamp(1.55rem,5vw,2.4rem);line-height:1.05;letter-spacing:-.02em;margin:3px 0 0}.status-numbers{display:flex;gap:8px}.status-numbers span{display:grid;min-width:63px;text-align:center;padding:5px 8px;border-radius:13px;background:rgba(14,53,57,.7);border:1px solid rgba(255,255,255,.21)}.status-numbers b{font-size:1.1rem;font-variant-numeric:tabular-nums}.status-numbers small{font-size:.55rem;letter-spacing:.07em;color:#e6d2a8}
.arena-shell{flex:1;min-height:0;display:grid;place-items:stretch;max-width:1040px;width:100%;margin:0 auto}.arena{position:relative;overflow:hidden;border-radius:clamp(22px,5vw,36px);border:1px solid rgba(252,229,180,.42);background:radial-gradient(circle at 50% 42%,rgba(53,132,123,.6),rgba(17,75,76,.4) 42%,rgba(8,47,54,.8) 83%),linear-gradient(#174b4d,#123b40);box-shadow:inset 0 2px 2px rgba(255,255,255,.22),inset 0 -18px 38px rgba(5,24,27,.5),0 18px 48px rgba(2,20,24,.35)}
.arena::before{content:'';position:absolute;inset:9px;border:1px solid rgba(255,239,194,.16);border-radius:inherit;pointer-events:none}.arena-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(80%,470px);aspect-ratio:1;border:1px solid rgba(215,231,208,.12);border-radius:50%;pointer-events:none}.ring-b{width:min(49%,290px);border-color:rgba(215,231,208,.15)}.arena-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:clamp(75px,18vw,130px);aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,227,168,.33);background:radial-gradient(circle at 40% 32%,#608d7f 0%,#194f51 55%,#12383d 100%);box-shadow:inset 0 2px 8px rgba(255,255,255,.2),inset 0 -10px 18px rgba(4,31,34,.5),0 14px 35px rgba(0,0,0,.24);pointer-events:none}.center-star{font-size:clamp(2rem,6vw,3.3rem);color:#efd49b;text-shadow:0 0 18px rgba(240,191,96,.4)}
.balls{position:absolute;inset:0}.ball{position:absolute;display:grid;place-items:center;padding:0;border:0;background:none;width:var(--ball-size);height:var(--ball-size);left:0;top:0;touch-action:manipulation;transform:translate3d(calc(var(--x) - 50%),calc(var(--y) - 50%),0);will-change:transform;cursor:pointer}.ball img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 9px rgba(0,14,17,.38))}.ball.target::before{content:'';position:absolute;inset:4%;border-radius:50%;box-shadow:0 0 0 3px rgba(251,210,112,.95),0 0 16px 6px rgba(255,187,67,.55),0 0 38px 15px rgba(255,188,70,.22);z-index:-1}.ball.target span{position:absolute;display:grid;place-items:center;width:39%;height:39%;border-radius:50%;font-size:clamp(1.3rem,3.4vw,1.9rem);line-height:1;color:#fff8d6;text-shadow:0 1px 8px #714e19;background:radial-gradient(circle,#d8a85a 0%,#aa7b36 73%,#73582a 100%);box-shadow:inset 0 1px 2px rgba(255,255,255,.8),0 1px 8px rgba(45,31,14,.5)}.ball:focus-visible{outline:3px solid var(--atlas-focus);outline-offset:3px;border-radius:50%}.ball.picked{filter:brightness(1.15)}
.arena-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(84%,330px);display:grid;justify-items:center;text-align:center;gap:6px;padding:20px 24px;border-radius:24px;background:rgba(15,57,59,.78);border:1px solid rgba(255,234,188,.4);box-shadow:0 18px 40px rgba(5,30,33,.3);pointer-events:none}.arena-message[hidden]{display:none}.arena-message .message-mark{font-size:2rem;color:#f7c977}.arena-message strong{font-size:clamp(1.1rem,4vw,1.45rem)}.arena-message span:last-child{font-size:.93rem;color:#d5ebe5}.time-track{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);width:min(68%,300px);height:7px;border-radius:999px;background:rgba(2,28,31,.55);border:1px solid rgba(255,255,255,.24);overflow:hidden}.time-track span{display:block;height:100%;width:100%;background:linear-gradient(90deg,#f6d98b,#eeb65c);border-radius:inherit;transform-origin:left}
.game-footer{min-height:63px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1040px;width:100%;margin:0 auto;padding:9px clamp(4px,2vw,22px) 0}.game-footer p{margin:0;font-size:.91rem;color:#fff4db}.footer-rule{font-size:.76rem;white-space:nowrap;color:#bbd6cd}
.scrim{position:absolute;inset:0;z-index:10;display:grid;place-items:center;padding:calc(env(safe-area-inset-top) + 12px) 14px calc(env(safe-area-inset-bottom) + 12px);background:rgba(5,31,35,.72);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);overflow-y:auto}.scrim[hidden],[hidden]{display:none!important}.sheet{width:min(100%,490px);max-height:100%;overflow-y:auto;padding:clamp(20px,5vw,34px);border-radius:30px;border:1px solid rgba(255,251,224,.8);background:linear-gradient(155deg,#fdf3d8,#ead7aa 80%,#d1ba8b);box-shadow:inset 0 2px rgba(255,255,255,.8),inset 0 -5px 15px rgba(106,76,40,.16),0 26px 70px rgba(0,18,21,.55);color:#174246}.sheet-kicker{color:#8e6635}.sheet h2{font-size:clamp(1.75rem,6vw,2.35rem);line-height:1.09;letter-spacing:-.02em;margin:7px 0 12px}.sheet-copy{font-size:1rem;line-height:1.5;margin:0 0 20px}.mode-list,.settings-list{display:grid;gap:9px;margin:16px 0}.mode,.settings-list button{width:100%;min-height:60px;border:1px solid rgba(47,92,83,.3);border-radius:17px;background:linear-gradient(#fff9e9,#efdfbd);color:#164449;text-align:left;padding:10px 15px;box-shadow:inset 0 1px white,0 4px 8px rgba(49,66,51,.11)}.mode strong{display:block;font-size:1rem}.mode span{font-size:.82rem;color:#426361}.mode.selected{border:3px solid #277970;padding:8px 13px;box-shadow:0 0 0 2px rgba(239,191,97,.6),0 8px 16px rgba(24,73,68,.14)}.primary{display:block;width:100%;min-height:54px;border:1px solid #f9dea7;border-radius:17px;background:linear-gradient(175deg,#ffe2a2 0%,#efbd61 52%,#d69a49 100%);color:#264b45;font-weight:850;font-size:1rem;box-shadow:inset 0 2px 1px rgba(255,255,255,.75),inset 0 -4px 7px rgba(139,90,30,.23),0 8px 16px rgba(88,68,28,.22)}.sheet-note{display:block;margin-top:13px;line-height:1.45;color:#47635d}.quiet-action{display:block;width:100%;min-height:48px;border:0;background:none;color:#236b67;font-weight:750;margin-top:7px}.compact{max-width:400px}.settings-list button{font-weight:700;min-height:52px}.tutorial-balls{display:flex;justify-content:center;align-items:center;gap:26px;min-height:120px}.tutorial-ball{position:relative;display:grid;place-items:center;width:100px;height:100px;padding:0;border:0;background:none}.tutorial-ball img{width:100%;height:100%;filter:drop-shadow(0 9px 8px rgba(33,57,52,.3))}.tutorial-ball.target::before{content:'';position:absolute;inset:6px;border-radius:50%;box-shadow:0 0 0 3px #e7ae4d,0 0 18px 7px #efbd61}.tutorial-ball span{position:absolute;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:1.8rem;background:#ab813b;color:#fff9db;box-shadow:inset 0 1px 2px white}.tutorial-response{text-align:center;margin:7px 0 15px;color:#42655f}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.result-grid div{display:grid;justify-items:center;padding:12px 3px;border:1px solid rgba(30,82,76,.17);border-radius:16px;background:#fff8e9}.result-grid b{font-size:1.8rem}.result-grid span{font-size:.78rem}.accuracy{text-align:center;font-weight:800;color:#28645e;margin:7px 0 18px}
@media(max-width:540px){.footer-rule{display:none}.game-footer{justify-content:center;text-align:center}.status{padding-top:6px}.arena-shell{min-height:230px}.status h1{font-size:1.65rem}}
@media(max-height:700px){.status{padding-top:2px;padding-bottom:5px}.status h1{font-size:1.55rem}.game-footer{min-height:47px;padding-top:5px}.sheet{padding:18px 21px}.sheet h2{margin:4px 0 8px}.sheet-copy{margin-bottom:10px}.mode-list{margin:8px 0}.mode{min-height:52px}.sheet-note{font-size:.75rem;margin-top:7px}}
@media(orientation:landscape) and (max-height:540px){.app{padding-top:4px;padding-bottom:4px}.status{padding:0 12px}.status h1{font-size:1.2rem}.eyebrow{font-size:.55rem}.game-footer{min-height:35px;font-size:.78rem}.arena-shell{min-height:155px}.arena-center{width:110px}.sheet{max-width:560px}.mode-list{grid-template-columns:repeat(3,1fr)}.mode{min-height:70px}.mode span{font-size:.72rem}.tutorial-balls{min-height:85px}.tutorial-ball{width:70px;height:70px}.tutorial-ball span{width:30px;height:30px;font-size:1.3rem}}
@media(prefers-reduced-motion:reduce){.ball{will-change:auto}}
.time-track{bottom:4px}
.arena-center{width:28px;aspect-ratio:1;border:1px solid rgba(255,225,166,.6);background:transparent;box-shadow:none}
.arena-center::before{content:'';width:4px;height:4px;border-radius:50%;background:#efcf91;box-shadow:0 0 7px rgba(239,207,145,.45)}
#fullscreen-btn svg{width:28px;height:28px;stroke-width:2.25}
.choice-title{margin:14px 0 7px;font-size:.88rem;font-weight:800;color:#295b57}
.choice-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.choice{min-height:48px;border:1px solid rgba(35,93,86,.32);border-radius:14px;background:linear-gradient(#fff9e9,#efdfbd);color:#174246;font-weight:800;box-shadow:inset 0 1px white,0 3px 8px rgba(49,66,51,.1)}
.choice.selected{border:3px solid #277970;box-shadow:0 0 0 2px rgba(239,191,97,.56),0 6px 12px rgba(24,73,68,.12)}
.speed-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:17px}.speed-row .choice{font-size:.86rem}
.ball,.ball:disabled{transition:none!important;opacity:1;filter:none;cursor:default}.ball.choice-ready{cursor:pointer}
.ball.marked::before{content:'';position:absolute;inset:4%;border-radius:50%;box-shadow:0 0 0 3px rgba(251,210,112,.95),0 0 16px 6px rgba(255,187,67,.55),0 0 38px 15px rgba(255,188,70,.22);z-index:-1}
.ball.marked span{position:absolute;display:grid;place-items:center;width:39%;height:39%;border-radius:50%;font-size:1.6rem;line-height:1;color:#fff8d6;text-shadow:0 1px 8px #714e19;background:radial-gradient(circle,#d8a85a 0%,#aa7b36 73%,#73582a 100%);box-shadow:inset 0 1px 2px rgba(255,255,255,.8),0 1px 8px rgba(45,31,14,.5)}
.ball.chosen-wrong::after{content:'';position:absolute;inset:5%;border:3px solid rgba(245,241,217,.9);border-radius:50%;pointer-events:none}
.next-button{min-height:46px;padding:0 18px;border-radius:15px;border:1px solid #f9dea7;background:linear-gradient(#ffe2a2,#eeb65c);color:#214849;font-weight:800;white-space:nowrap}
.game-footer:has(.next-button:not([hidden])){min-height:62px}
@media(max-width:540px){.game-footer:has(.next-button:not([hidden])){justify-content:space-between;text-align:left}.game-footer p{font-size:.81rem}.next-button{font-size:.83rem;padding:0 12px}}
@keyframes atlas-target-breathe{0%,100%{opacity:.78}50%{opacity:1}}
.ball.preview-marked::before{animation:atlas-target-breathe 1.8s ease-in-out infinite}
.reduced-motion .ball.preview-marked::before{animation:none}
@media(prefers-reduced-motion:reduce){.ball.preview-marked::before{animation:none}}
.reset-choice{display:block;width:100%;min-height:48px;margin:0 0 8px;border:0;background:none;color:#266a65;font-size:.83rem;font-weight:800;text-align:center}
.adjust-button{min-height:46px;padding:0 10px;border:1px solid rgba(235,226,199,.55);border-radius:14px;background:rgba(22,75,75,.8);color:#fff4db;font-size:.82rem;font-weight:800}
.result-conditions{margin:0 0 14px;color:#456760;font-size:.75rem;line-height:1.4;text-align:center}
@media(max-width:540px){.game-footer:has(.adjust-button:not([hidden])){flex-wrap:wrap;justify-content:center;gap:6px}.game-footer:has(.adjust-button:not([hidden])) p{width:100%;text-align:center}}
.two-choice{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.odd-arena{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2vh,18px);padding:clamp(12px,3vh,24px)}.board-caption{color:#f8dfaa;font-size:clamp(.82rem,2.3vw,1.08rem);font-weight:750;letter-spacing:.02em;text-align:center}.sign-board{width:min(100%,620px);height:100%;min-height:0;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:clamp(7px,1.8vw,16px);align-content:center;align-items:center;justify-content:center}.sign-tile{min-width:0;min-height:0;max-height:136px;aspect-ratio:1;justify-self:center;width:min(100%,100%);border:1px solid rgba(255,236,190,.58);border-radius:clamp(15px,3vw,29px);padding:clamp(5px,1vw,11px);background:linear-gradient(145deg,#2b7775,#145057 72%,#0a3943);box-shadow:inset 0 2px rgba(255,255,255,.22),inset 0 -8px 13px rgba(1,30,38,.5),0 8px 17px rgba(2,25,29,.26);cursor:pointer;display:grid;place-items:center}.sign-medallion{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 35% 27%,#fff3d3 0%,#e4c486 24%,#b4874a 62%,#6d542f 100%);border:1px solid #fff1ca;box-shadow:inset 0 3px 5px rgba(255,255,255,.55),inset 0 -7px 13px rgba(79,48,22,.45),0 8px 12px rgba(0,20,24,.4)}.sign-medallion svg{width:68%;height:68%;fill:none;stroke:#365e58;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px rgba(255,255,255,.58))}.sign-tile:focus-visible{outline:3px solid #fff3be;outline-offset:3px}.sign-tile.correct{outline:4px solid #ffe3a0;outline-offset:2px;box-shadow:0 0 0 8px rgba(255,225,144,.22),0 8px 17px rgba(2,25,29,.26)}.sign-tile.wrong{outline:3px solid #ecf2e8;outline-offset:2px}.sign-tile:disabled{cursor:default}.sign-tile:active:not(:disabled){transform:scale(.96)}.sign-board[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}.sign-board[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);max-width:330px}.sign-board[data-count="6"]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,1fr);max-width:490px}.sign-board[data-count="9"]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,1fr);max-width:490px}.odd-arena:has(.sign-board[data-count="9"]){gap:4px;padding:8px}.odd-arena:has(.sign-board[data-count="9"]) .sign-tile{max-height:115px}.odd-arena:has(.sign-board[data-count="3"]) .sign-tile{max-height:175px}.arena-message{z-index:1}.reduced-motion .sign-tile:active{transform:none}@media(max-width:540px){.sign-tile{max-height:115px}.odd-arena:has(.sign-board[data-count="9"]) .sign-tile{max-height:90px}.odd-arena:has(.sign-board[data-count="3"]) .sign-tile{max-height:125px}}@media(orientation:landscape) and (max-height:540px){.odd-arena{padding:7px;gap:4px}.sign-tile,.odd-arena:has(.sign-board[data-count="3"]) .sign-tile{max-height:95px}.odd-arena:has(.sign-board[data-count="9"]) .sign-tile{max-height:70px}.board-caption{font-size:.72rem}}
.sign-board .sign-tile{height:auto;max-height:none;width:min(100%,clamp(72px,15vh,136px))}.sign-board[data-count="3"] .sign-tile{width:min(100%,clamp(80px,18vh,150px));max-height:none}.sign-board[data-count="9"] .sign-tile{width:min(100%,clamp(58px,10vh,100px));max-height:none}@media(orientation:landscape) and (max-height:540px){.sign-board .sign-tile{width:min(100%,clamp(55px,17vh,90px))}.sign-board[data-count="9"] .sign-tile{width:min(100%,clamp(48px,12vh,70px))}}
.sheet h2,.status h1,.brand small{overflow-wrap:anywhere}.large-type .app{max-height:none;overflow:visible}.large-type .topbar{min-height:auto;align-items:flex-start}.large-type .status{flex-wrap:wrap}.large-type .status>div:first-child{width:100%}.large-type .status-numbers{margin-left:auto}.large-type .arena-shell{flex:none;height:340px;min-height:340px}.large-type .game-footer{flex-wrap:wrap;min-height:70px}.large-type .game-footer p{flex-basis:100%}.large-type .scrim{position:fixed}
.large-type .topbar{flex-wrap:wrap}.large-type .brand{max-width:100%;min-width:0}.large-type .top-actions{margin-left:auto}.large-type .status h1{font-size:1.35rem}
.rotation-page .odd-arena{gap:6px;padding:10px}.rotation-page .board-caption{font-size:clamp(.82rem,2vw,1rem)}.module-target{display:grid;justify-items:center;align-content:center;gap:5px;width:min(100%,270px);min-height:160px;padding:8px;border:1px solid rgba(255,232,181,.28);border-radius:22px;background:radial-gradient(circle at 50% 42%,rgba(208,169,94,.16),rgba(6,44,49,.15) 70%)}.turn-instruction{font-size:clamp(.8rem,2vw,.95rem);font-weight:800;text-align:center;color:#ffe5ad}.turn-instruction span{display:inline-block;font:1.55rem/1 Georgia;vertical-align:middle;color:#ffd177}.module-target-shape{display:grid;place-items:center;min-height:116px}.module-shape{--cell:15px;display:grid;grid-template-columns:repeat(4,var(--cell));grid-template-rows:repeat(4,var(--cell));gap:4px;align-content:center;justify-content:center}.module-shape i{display:block;width:var(--cell);height:var(--cell);border-radius:5px}.module-shape i.on{background:linear-gradient(145deg,#fff6c7,#f1d272 36%,#d9ae4d 75%,#9b7033);border:1px solid #fff2b3;box-shadow:inset 0 2px rgba(255,255,255,.72),inset 0 -4px rgba(111,72,23,.23),0 4px 6px rgba(0,23,27,.42)}.module-target-shape .module-shape{--cell:24px;gap:5px}.rotation-page .module-options{height:auto;flex:1;max-height:330px;width:min(100%,520px)}.rotation-page .module-choice{max-width:130px;max-height:130px;display:grid;place-items:center;padding:8px}.rotation-page .module-choice .module-shape{pointer-events:none}.rotation-page #home-count,.rotation-page #adjust-count{grid-template-columns:repeat(3,minmax(0,1fr))}.rotation-page .choice{white-space:normal;overflow-wrap:anywhere;line-height:1.1;padding:4px}.task-name{margin:-4px 0 13px;font-size:.89rem;font-weight:850;color:#28655f}.rotation-page .sheet h2{font-size:clamp(1.5rem,5vw,2.1rem)}.rotation-page .sheet-copy{margin-bottom:13px}
@media(max-width:540px){.module-target{min-height:150px}.rotation-page .module-options{max-height:none}.rotation-page .module-choice{max-width:110px;max-height:110px}}
@media(orientation:landscape) and (max-height:540px){.rotation-page .odd-arena{padding:5px;gap:3px}.module-target{min-height:110px;width:240px;gap:0;padding:3px}.module-target-shape{min-height:82px}.module-target-shape .module-shape{--cell:17px;gap:3px}.rotation-page .module-choice{max-width:86px;max-height:86px}.rotation-page .module-choice .module-shape{--cell:13px;gap:3px}.rotation-page .module-options{max-height:220px}}
.turn-instruction svg{width:27px;height:27px;vertical-align:middle;fill:none;stroke:#ffd177;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.large-type .rotation-page .arena-shell{height:560px;min-height:560px}.large-type .rotation-page .module-options{max-height:310px}.large-type .rotation-page .odd-arena{gap:7px}
.rotation-page .app{overflow:visible;max-height:none;min-height:100dvh}
.rotation-page .topbar{position:sticky;top:0;z-index:4;background:#153d42}
.rotation-page .odd-arena{gap:clamp(12px,2.7vh,25px);padding:clamp(14px,2.5vw,27px);justify-content:space-evenly}
.rotation-page .module-target{width:min(100%,345px);min-height:220px;gap:4px;padding:12px}
.rotation-page .turn-instruction{display:flex;align-items:center;justify-content:center;gap:10px;min-height:59px;font-size:clamp(.95rem,1.5vw,1.15rem);line-height:1.2}
.rotation-page .turn-instruction span{display:block;font:inherit}.rotation-page .turn-instruction small{display:block;font-size:.8em;color:#f4d494}
.rotation-page .turn-instruction svg{flex:none;width:64px;height:64px;stroke-width:4.5}
.rotation-page .module-target-shape{min-height:148px}
.rotation-page .module-shape{display:block;width:135px;height:135px;overflow:visible}
.rotation-page .module-shape rect.on{stroke:#fff0b5;stroke-width:1.1;filter:drop-shadow(0 2px 2px rgba(0,19,24,.5))}
.rotation-page .module-target-shape .module-shape{width:148px;height:148px}
.rotation-page .module-options{height:auto;flex:none;width:min(100%,740px);max-width:740px;max-height:none;align-items:center;align-content:center;gap:clamp(8px,1.5vw,18px)}
.rotation-page .module-options[data-count="4"]{width:min(100%,520px);max-width:520px}
.rotation-page .module-options[data-count="6"]{width:min(100%,580px);max-width:580px}
.rotation-page .module-options .module-choice{width:min(100%,180px);height:auto;max-width:180px;max-height:none;aspect-ratio:1;padding:8px}
.rotation-page .module-options[data-count="6"] .module-choice{width:min(100%,156px);max-width:156px}
.rotation-page .module-options .module-choice .module-shape{width:100%;height:100%}
.rotation-page .arena-shell{min-height:540px}
@media(max-width:540px){.rotation-page .odd-arena{gap:8px;padding:9px}.rotation-page .module-target{width:min(100%,280px);min-height:175px;padding:6px}.rotation-page .turn-instruction{gap:6px;min-height:42px;font-size:.84rem}.rotation-page .turn-instruction svg{width:40px;height:40px}.rotation-page .module-target-shape{min-height:115px}.rotation-page .module-target-shape .module-shape{width:108px;height:108px}.rotation-page .module-options{width:min(100%,360px);gap:7px}.rotation-page .module-options .module-choice{width:min(100%,108px);max-width:108px}.rotation-page .module-options[data-count="6"] .module-choice{width:min(100%,103px);max-width:103px}.rotation-page .arena-shell{min-height:440px}}
@media(orientation:landscape) and (max-height:540px){.rotation-page .odd-arena{gap:5px;padding:6px}.rotation-page .module-target{min-height:145px;width:280px}.rotation-page .module-target-shape{min-height:95px}.rotation-page .module-target-shape .module-shape{width:95px;height:95px}.rotation-page .module-options .module-choice{width:min(100%,115px);max-width:115px}.rotation-page .module-options[data-count="6"] .module-choice{width:min(100%,90px);max-width:90px}.rotation-page .arena-shell{min-height:390px}}
.rotation-page .menu-escape{position:fixed;z-index:25;top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));min-height:48px;padding:0 17px;border:2px solid #f4d494;border-radius:15px;background:#174b4d;color:#fff2d5;font:850 .92rem/1 var(--atlas-font-family);box-shadow:0 5px 18px rgba(0,22,27,.5);cursor:pointer}
.rotation-page .menu-escape:focus-visible{outline:3px solid #fff4be;outline-offset:3px}
.rotation-page.active-board .brand{visibility:hidden}
.large-type .rotation-page .two-choice{grid-template-columns:1fr}
.large-type .rotation-page .two-choice .choice{overflow-wrap:normal}
.rotation-page .sheet h2{overflow-wrap:normal}
@media(max-width:540px){.large-type .rotation-page .scrim{padding-left:4px;padding-right:4px}.large-type .rotation-page .sheet{width:100%;max-width:none;padding-left:12px;padding-right:12px}}
@media(orientation:landscape) and (max-height:390px) and (min-width:600px){html:not(.large-type) .rotation-page .arena-shell{min-height:215px}html:not(.large-type) .rotation-page .odd-arena{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);grid-template-rows:auto 1fr;align-items:center;justify-items:center;gap:4px;padding:5px}html:not(.large-type) .rotation-page .board-caption{grid-column:1/-1;grid-row:1}html:not(.large-type) .rotation-page .module-target{grid-column:1;grid-row:2;width:100%;min-height:170px;height:170px}html:not(.large-type) .rotation-page .module-target-shape{min-height:90px}html:not(.large-type) .rotation-page .module-target-shape .module-shape{width:95px;height:95px}html:not(.large-type) .rotation-page .module-options{grid-column:2;grid-row:2;width:100%;max-width:none;max-height:174px;align-self:center}html:not(.large-type) .rotation-page .module-options .module-choice{width:min(100%,105px);max-width:105px}html:not(.large-type) .rotation-page .module-options[data-count="4"] .module-choice{width:min(100%,90px);max-width:90px}html:not(.large-type) .rotation-page .module-options[data-count="6"] .module-choice{width:min(100%,82px);max-width:82px}}

/* Explicit voice controls use the existing tactile button families. */
.voice-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 14px;line-height:1.25;border:1px solid rgba(47,92,83,.3);border-radius:16px;background:linear-gradient(#fff9e9,#efdfbd);box-shadow:inset 0 1px white,0 4px 8px rgba(49,66,51,.11);color:#236b67}
.voice-button svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.voice-button span{min-width:0;overflow-wrap:normal}
.voice-button[aria-pressed="true"]{border-color:#c9943f;box-shadow:inset 0 1px white,0 0 0 2px rgba(239,191,97,.5)}
.voice-button:disabled{opacity:.65}
.game-footer:has(.voice-button:not([hidden])){flex-wrap:wrap;gap:10px}
.game-footer .voice-button{background:linear-gradient(#286865,#174b4d);color:#fff4db;border-color:rgba(235,226,199,.55);box-shadow:inset 0 1px rgba(255,255,255,.25),0 4px 8px rgba(0,24,28,.22)}
.large-type .game-footer .voice-button{flex:1 1 100%}
