.ui-icon{flex:0 0 auto;vertical-align:middle}
body{overflow-x:hidden}header{max-width:1040px;height:64px;padding:0 24px}.header-right{gap:9px}.header-right .icon-button{height:36px;width:36px}.player-button{min-height:36px;font-size:12px}
#home-screen.home-screen{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;gap:24px;max-width:960px;height:auto;min-height:0;padding:44px 24px 24px;margin:0 auto 10px}
.home-daily{background:#18241d;border:1px solid #34452f;border-radius:18px;padding:26px;color:#edf2e2;display:flex;flex-direction:column;min-width:0}
.home-daily-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-daily-top .eyebrow{font-size:10px;letter-spacing:1.1px;color:#b5c69f}.home-style{font-size:9px;border:1px solid #536845;background:#283a26;color:#d1ee94;border-radius:20px;padding:7px 10px;white-space:nowrap;text-transform:uppercase;letter-spacing:.7px}
.home-daily-copy{display:grid;grid-template-columns:minmax(0,1fr) 94px;gap:12px;align-items:center;margin:32px 0 26px}.home-daily h1{font:48px/1.04 Georgia,serif;letter-spacing:-1.7px;margin:0 0 16px;max-width:8ch}.home-daily h1:focus{outline:none}.home-daily p{font-size:13px;line-height:1.65;color:#bdcbb0;margin:0}.home-emblem{width:94px;height:94px;opacity:.95}.home-round-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:#cbd9ba;margin:auto 0 20px}.home-round-meta span{display:flex;gap:7px;align-items:center}.home-round-meta .ui-icon{height:15px;width:15px;color:#bad58e}
.home-play{width:100%;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;background:#d1ee94;border:0;border-radius:10px;text-align:left;color:#23361c}.home-play:hover{background:#def6ad}.home-play:disabled{opacity:.65}.home-play strong{display:block;font-size:17px;font-weight:700;line-height:1.3}.home-play small{display:block;font-size:11px;margin-top:6px;color:#4b6439;line-height:1.4}.home-play>.ui-icon{width:23px;height:23px}.home-daily .home-fairness{font-size:10px;line-height:1.5;color:#9daf8e;text-align:center;margin:13px 0 0}
.home-side{display:flex;flex-direction:column;min-width:0}.home-quick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-card{min-width:0;min-height:120px;padding:18px;display:flex;flex-wrap:wrap;align-items:center;gap:11px;background:#fffef8;border:1px solid #d1d8c6;border-radius:12px;text-align:left;color:#3c532e}.home-card>.ui-icon:first-child{width:22px;height:22px;color:#5d7849}.home-card>.ui-icon:last-child{margin-left:auto;height:15px;width:15px;color:#849373}.home-card>span{display:block;width:100%;order:1}.home-card strong{display:block;font-size:14px;line-height:1.35}.home-card small{display:block;font-size:11px;color:#77856a;line-height:1.5;margin-top:5px}.home-card:hover{border-color:#9db77e;background:#f6f9ef}.home-stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px;padding:19px 0;margin-top:9px;border-bottom:1px solid #d7ddce}.home-stats>div,.home-stats>button{text-align:center;padding:0 6px}.home-stats>button{font:inherit;background:none;border:0;border-left:1px solid #d7ddce;color:inherit}.home-stats strong{font:27px/1 Georgia,serif;display:block;color:#3b532c}.home-stats span{display:block;font-size:10px;color:#78876c;margin-top:8px;line-height:1.4}.home-warmup{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:11px;border:0;background:none;color:#5d7548;margin:12px 0 0;padding:10px 0}.home-warmup .ui-icon{height:16px;width:16px}.home-warmup>span{margin-left:2px}.home-profile-note{font-size:10px;line-height:1.6;color:#87917b;margin:4px 10px 0;text-align:center}
.menu-nav{position:fixed;z-index:5;bottom:18px;left:50%;transform:translateX(-50%);width:min(480px,calc(100% - 32px));display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:7px;border:1px solid #d6ddcd;border-radius:14px;background:#fcfdf8;box-shadow:0 8px 24px #1a291513}.menu-nav button{min-height:49px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px;border:0;background:none;border-radius:9px;font-size:11px;color:#849177}.menu-nav button[aria-current=page]{background:#e5efcf;color:#3b572b;font-weight:bold}.menu-nav .ui-icon{width:18px;height:18px}
body[data-screen=home] footer,body[data-screen=board] footer{display:flex;max-width:912px;margin:0 auto 100px;height:auto;min-height:44px;padding:10px 0;font-size:10px}body[data-screen=game] footer{display:none}body[data-screen=board] #leaderboard{min-height:calc(100dvh - 230px);max-width:960px;margin-top:10px;padding-top:20px}#leaderboard-title:focus{outline:none}.game-menu{display:flex;align-items:center;gap:3px;border:0;background:none;color:#405a2f;padding:8px 8px 8px 0;min-height:44px;font-size:12px}.game-menu .ui-icon{width:18px;height:18px}
/* A separate, viewport-sized playing surface. Menu navigation never overlays a throw. */
body[data-screen=game]{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}body[data-screen=game] header{height:54px;min-height:54px;flex-shrink:0;width:100%;max-width:1180px;padding:0 18px;gap:12px}body[data-screen=game] header .logo{margin-right:auto}body[data-screen=game] header .brand-mark{width:28px;height:28px}body[data-screen=game] header .brand-word{font-size:22px}body[data-screen=game] #date,body[data-screen=game] #player-button,body[data-screen=game] #leaderboard-link{display:none}body[data-screen=game] .connection-status{margin:4px auto 0;max-width:1124px;width:calc(100% - 24px);font-size:11px;padding:7px 10px;flex-shrink:0}
body[data-screen=game] #game-screen{height:auto;min-height:0;max-width:1180px;width:100%;display:flex;flex:1;flex-direction:column;padding:8px 18px max(10px,env(safe-area-inset-bottom));gap:8px}body[data-screen=game] .intro,body[data-screen=game] .bottom-note,body[data-screen=game] .game-layout aside{display:none}body[data-screen=game] .challenge-strip{margin:0;padding:0;min-height:36px;flex-shrink:0;gap:10px}body[data-screen=game] #locker-open{display:none}body[data-screen=game] .challenge-mode{margin-right:auto}body[data-screen=game] .challenge-strip .strip-button{min-height:36px;padding:7px 12px;font-size:10px}body[data-screen=game] .game-layout{display:flex;flex:1;min-height:0;gap:0}
body[data-screen=game] .arena{height:auto;min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 266px;grid-template-rows:34px minmax(0,1fr) 77px;border-radius:13px}body[data-screen=game] .arena-top{grid-column:1/-1;grid-row:1;height:34px}body[data-screen=game] .board-wrap{grid-column:1;grid-row:2;padding:0;min-height:0;height:100%;width:100%}body[data-screen=game] #board{width:100%;height:100%}body[data-screen=game] .board-hint{display:none}body[data-screen=game] #desktop-power-slot{grid-column:1;grid-row:3;padding:7px 30px 20px}body[data-screen=game] .control-deck{grid-column:2;grid-row:2/span 2;margin:16px 0;padding:0 20px;min-height:0;display:flex;flex-direction:column;justify-content:center}body[data-screen=game] .control-heading{display:none}body[data-screen=game] .steps{margin-bottom:14px}body[data-screen=game] .live-rival{display:none}body[data-screen=game] .control-deck #mobile-feedback{display:block;min-height:35px;font-size:11px;line-height:1.5;margin:14px 0 12px;padding:0;color:#b9cba7}body[data-screen=game] .control-deck .main-action{min-height:50px;font-size:12px;padding:12px}body[data-screen=game] .keyboard-tip{font-size:9px;margin-top:10px}body[data-screen=game] #mobile-throws{padding:0;margin:14px 0 0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}body[data-screen=game] #mobile-throws li{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #354731;border-radius:4px;padding:6px 0;min-width:0;font-size:10px;color:#bfcdb2}body[data-screen=game] #mobile-throws li>span{font-size:7px;color:#7d936e}body[data-screen=game] #mobile-throws strong{font-weight:normal}body[data-screen=game] #mobile-throws li.scored{border-color:#617d47;background:#263b25;color:#edf3df}body[data-screen=game] .mobile-score{display:inline-flex;align-items:baseline;gap:5px;color:#a4bb8d;font-size:9px}body[data-screen=game] .mobile-score strong{font:22px Georgia,serif;color:#eef4df}
@media(max-width:640px){
 header{height:56px;padding:0 16px}.logo .brand-word{font-size:22px}.header-right .player-button{max-width:126px;min-height:36px;font-size:10px}.header-right .icon-button{height:34px;width:34px}.header-right{gap:6px}body:not([data-screen=game]) #sound,body:not([data-screen=game]) #leaderboard-link{display:none}
 #home-screen.home-screen{display:flex;flex-direction:column;padding:18px 16px 18px;gap:16px;max-width:480px;margin-bottom:0}.home-daily{padding:20px;border-radius:15px}.home-daily-top .eyebrow{font-size:9px;letter-spacing:.8px}.home-style{font-size:8px;padding:6px 8px}.home-daily-copy{grid-template-columns:minmax(0,1fr) 82px;gap:10px;margin:21px 0}.home-emblem{width:82px;height:82px}.home-daily h1{font-size:39px;letter-spacing:-1.4px;margin:0 0 12px;max-width:none}.home-daily p{font-size:12px;line-height:1.6}.home-round-meta{font-size:9px;gap:14px;margin-bottom:16px}.home-round-meta .ui-icon{width:14px;height:14px}.home-play{min-height:70px;padding:15px 16px;border-radius:9px}.home-play strong{font-size:16px}.home-play small{font-size:10px}.home-daily .home-fairness{font-size:9px;margin-top:11px}.home-side{gap:0}.home-quick{gap:10px}.home-card{min-height:91px;padding:13px;gap:8px;border-radius:10px}.home-card>.ui-icon:first-child{width:18px;height:18px}.home-card strong{font-size:13px}.home-card small{font-size:10px;margin-top:3px}.home-card>span{order:1}.home-stats{margin-top:3px;padding:17px 0}.home-stats strong{font-size:25px}.home-stats span{font-size:9px;margin-top:6px}.home-warmup{font-size:10px;margin-top:7px;min-height:44px}.home-profile-note{font-size:10px;margin-top:1px}.menu-nav{bottom:0;left:0;transform:none;width:100%;border-width:1px 0 0;border-radius:0;padding:6px 12px max(6px,env(safe-area-inset-bottom));box-shadow:0 -4px 15px #1a291507}.menu-nav button{flex-direction:column;min-height:49px;gap:5px;font-size:9px;padding:5px}.menu-nav .ui-icon{width:19px;height:19px}body[data-screen=home] footer,body[data-screen=board] footer{max-width:448px;margin:0 16px 80px;padding:10px 0;font-size:9px;gap:10px;justify-content:center}footer .footer-logo,footer>span:nth-child(2){display:none}
 body[data-screen=game] header{height:48px;min-height:48px;padding:0 12px;gap:10px}body[data-screen=game] header .logo .brand-word{font-size:20px}body[data-screen=game] header .brand-mark{width:26px;height:26px}body[data-screen=game] .header-right .icon-button{width:34px;height:34px}body[data-screen=game] #game-screen{padding:5px 10px max(8px,env(safe-area-inset-bottom));gap:5px}body[data-screen=game] .challenge-strip{min-height:36px;gap:9px}body[data-screen=game] .challenge-strip .strip-button{min-height:36px;font-size:10px;padding:7px 10px}body[data-screen=game] .arena{display:flex;flex-direction:column;border-radius:10px}body[data-screen=game] .arena-top{height:31px;min-height:31px;padding:0 13px;flex-shrink:0;font-size:8px}body[data-screen=game] .mobile-score strong{font-size:21px}body[data-screen=game] .board-wrap{height:auto;flex:1;min-height:0;order:0}body[data-screen=game] #mobile-goals-slot{flex-shrink:0;order:1}body[data-screen=game] .live-goals{padding:7px 13px;border-top:1px solid #34472e;border-bottom:0;background:#1c2b20}body[data-screen=game] #gold-target{margin:0 0 7px;font-size:10px}body[data-screen=game] .live-goal-cards{gap:11px}body[data-screen=game] .live-goal>span{font-size:10px}body[data-screen=game] .live-goal strong{font-size:9px}body[data-screen=game] .live-goal i{height:2px}body[data-screen=game] .control-deck{order:2;margin:0;padding:0 13px 10px;border:0;flex-shrink:0;display:flex;flex-direction:column;justify-content:flex-start}body[data-screen=game] .steps{flex-direction:row;margin:0 0 7px;gap:8px}body[data-screen=game] .step{border-width:0 0 1px;border-radius:0;min-height:31px;padding:6px 0;gap:6px;flex:1;font-size:10px;background:none}body[data-screen=game] .step>span:first-child{border:0;width:auto;height:auto;font-size:8px}body[data-screen=game] .step strong{font-size:10px}body[data-screen=game] .step-status{font-size:14px}body[data-screen=game] .power-label{display:flex;justify-content:space-between;align-items:baseline;font-size:7px;margin:0 0 6px;gap:6px}body[data-screen=game] .power-label span:last-child{display:inline;min-height:0;margin:0;font-size:8px;line-height:1.4}body[data-screen=game] .power-track{height:13px}body[data-screen=game] .power-captions{margin:6px 0 0;font-size:7px;letter-spacing:.8px}body[data-screen=game] .control-deck #mobile-feedback{min-height:25px;margin:0;padding:6px 0 5px;line-height:1.4;font-size:10px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body[data-screen=game] .control-deck .main-action{min-height:50px;font-size:13px;padding:12px}body[data-screen=game] .keyboard-tip{display:none}body[data-screen=game] #mobile-throws{grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;margin-top:8px}body[data-screen=game] #mobile-throws li{padding:4px 0;font-size:9px;gap:3px;min-height:22px}body[data-screen=game] #mobile-throws li>span{font-size:6px}body[data-screen=game].tutorial-active #mobile-throws{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-screen=game] .mobile-copy{min-height:32px;margin:4px 0 7px;font-size:11px}.game-menu{font-size:11px;padding-right:2px}.home-screen:focus{outline:none}
}
@media(max-width:360px){#home-screen.home-screen{padding:12px;gap:12px}.home-daily{padding:17px}.home-daily-copy{grid-template-columns:minmax(0,1fr) 64px;margin:18px 0}.home-emblem{width:64px;height:64px}.home-daily h1{font-size:34px}.home-daily p{font-size:11px}.home-round-meta{font-size:8px;gap:10px}.home-card{padding:11px;min-height:86px}.home-card small{font-size:9px}.home-card strong{font-size:12px}.home-quick{gap:9px}body[data-screen=game] .pace-indicator{font-size:8px}body[data-screen=game] #daily-style-badge{font-size:8px}body[data-screen=game] .challenge-strip{gap:6px}body[data-screen=game] .power-label span:last-child{font-size:7px}}
@media(max-width:640px) and (max-height:700px){body[data-screen=game] .live-goals{padding:5px 12px}body[data-screen=game] #gold-target{font-size:9px;margin-bottom:5px}body[data-screen=game] .live-goal>span{font-size:9px}body[data-screen=game] .live-goal strong{font-size:8px}body[data-screen=game] .steps{margin-bottom:6px}body[data-screen=game] .step{min-height:27px;padding:4px 0}body[data-screen=game] .control-deck .main-action{min-height:46px;font-size:12px}body[data-screen=game] #mobile-throws{margin-top:6px}body[data-screen=game] .control-deck #mobile-feedback{min-height:22px;font-size:9px;padding:4px 0}body[data-screen=game] .power-captions{font-size:6px;margin-top:5px}body[data-screen=game] .control-deck{padding-bottom:8px}}
@media(min-width:641px) and (max-height:540px){body[data-screen=game] header{height:44px;min-height:44px}body[data-screen=game] #game-screen{padding-top:3px;gap:3px}body[data-screen=game] .arena{grid-template-rows:28px minmax(0,1fr) 61px;grid-template-columns:minmax(0,1fr) 286px}body[data-screen=game] .arena-top{height:28px}body[data-screen=game] .control-deck{margin:7px 0;padding:0 16px}body[data-screen=game] .steps{flex-direction:row;margin-bottom:8px;gap:5px}body[data-screen=game] .step{padding:5px;min-height:28px;gap:4px}body[data-screen=game] .step>span:first-child{display:none}body[data-screen=game] .step strong{font-size:10px}body[data-screen=game] .live-goals-heading{display:none}body[data-screen=game] .live-goal-cards{gap:4px}body[data-screen=game] .live-goal{font-size:9px;gap:3px}body[data-screen=game] #gold-target{margin-bottom:5px;font-size:9px}body[data-screen=game] .control-deck #mobile-feedback{font-size:9px;line-height:1.4;min-height:25px;margin:7px 0}body[data-screen=game] .control-deck .main-action{min-height:42px;font-size:11px}body[data-screen=game] .keyboard-tip{display:none}body[data-screen=game] #mobile-throws{grid-template-columns:repeat(10,minmax(0,1fr));margin-top:7px;gap:2px}body[data-screen=game] #mobile-throws li{font-size:8px;padding:4px 0;gap:2px}body[data-screen=game] #mobile-throws li>span{display:none}body[data-screen=game] #desktop-power-slot{padding:6px 22px 12px}body[data-screen=game] #desktop-power-slot .power-label{font-size:8px;margin-bottom:8px}body[data-screen=game] #desktop-power-slot .power-label span:last-child{font-size:9px}body[data-screen=game] #desktop-power-slot .power-captions{font-size:7px;margin-top:5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.home-card,.home-play{transition:none}}

/* Pointer clicks stay clean; keyboard navigation gets a quiet neutral ring. */
html[data-input] :is(button,a,input,textarea,select,summary,[tabindex],#dart-name,#share-fallback):focus,
html[data-input] :is(button,a,input,textarea,select,summary,[tabindex],#dart-name,#share-fallback):focus-visible{outline:none}
html[data-input=keyboard] :is(button,a,input,textarea,select,summary,[tabindex]:not([tabindex="-1"]),#dart-name,#share-fallback):focus{outline:2px solid #8c9792;outline-offset:3px}
html[data-input] #board-input:focus,html[data-input] #board-input:focus-visible{outline:none}
html[data-input=pointer] #board-input:focus-visible::after{content:none}
html[data-input=keyboard] #board-input:focus::after{content:'SPACE / ENTER';position:absolute;left:12px;top:10px;border:1px solid #8c9792;border-radius:4px;padding:5px 7px;background:#18241d;color:#e4eae4;font-size:9px;letter-spacing:.7px;pointer-events:none}
@media(max-width:360px){body:not([data-screen=game]) header{padding-left:12px;padding-right:12px}body:not([data-screen=game]) .header-right{min-width:0}body:not([data-screen=game]) .header-right .player-button{max-width:96px;min-width:0}}
