@font-face{font-family:Nunito;src:url('assets/Nunito.ttf') format('truetype');font-weight:200 1000;font-display:swap}
:root{font-family:Nunito,'Trebuchet MS',sans-serif;color:#fff;background:#063d5d;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button,a{user-select:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #fff2a6;outline-offset:3px}[hidden]{display:none!important}
#app{position:relative;isolation:isolate;max-width:480px;min-height:100dvh;margin:auto;padding:0 20px 16px;overflow:hidden;background:#20a8e8 url('assets/garden-v2.webp') center bottom/cover no-repeat}
#app:before{content:'';position:absolute;inset:0;z-index:-1;background:#00578815}
#app[data-screen=game]:before{background:#004b79a3}
.topbar{height:72px;padding-top:env(safe-area-inset-top);display:flex;align-items:center;justify-content:space-between}
#home-link{display:block;line-height:0}.small-logo{width:100px;height:auto;display:block}
#app[data-screen=home] #home-link{visibility:hidden}
.icon-button{padding:0;border:0;background:none;display:block;width:54px;aspect-ratio:1}.icon-button img{display:block;width:100%;height:100%;object-fit:contain}
#home{min-height:calc(100dvh - 88px);display:flex;align-items:center;flex-direction:column}
.best-badge{position:absolute;top:20px;left:23px;text-shadow:0 1px 4px #024d79;font-size:11px;font-weight:900;letter-spacing:.7px}
.best-badge strong{display:block;font-size:28px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums}
h1{margin:10px -14px 0;width:calc(100% + 28px);line-height:0;max-width:400px}h1 img{width:100%;height:auto;display:block}
.tagline{font-size:19px;font-weight:900;text-align:center;text-shadow:0 2px 4px #005786;margin:12px 0}
.sprite{display:block;width:100px;aspect-ratio:1;flex-shrink:0;background:url('assets/shapes-v2.webp') no-repeat;background-size:400% 400%;background-position:calc(var(--x,0)*100% / 3) calc(var(--y,0)*100% / 3)}
.hero-shapes{display:flex;justify-content:center;align-items:center;gap:5px;min-height:150px}.hero-shapes .sprite{width:104px;filter:drop-shadow(0 5px 3px #00558350)}
.home-actions{width:100%;max-width:320px;text-align:center;margin-top:auto;padding-bottom:26px}
.play-button{position:relative;display:block;width:100%;padding:0;margin:0;border:0;background:none;color:#6c3500}
.play-button img{display:block;width:100%;height:auto;object-fit:contain}
.play-button span{position:absolute;inset:0;display:grid;place-items:center;font-weight:1000;font-size:25px;letter-spacing:.3px;text-shadow:0 1px #fff7a3;padding-bottom:3px}
.home-actions p{font-size:13px;font-weight:800;text-shadow:0 1px 3px #084c65}
.secondary,.plain-button{border:1px solid #c5ecfaaa;background:#07578070;color:white;border-radius:13px;font-weight:900}
.secondary{min-height:45px;padding:10px 24px;margin:9px auto;display:block}
.plain-button{padding:9px 13px;font-size:13px;min-height:42px}
.score-row{display:flex;align-items:center;gap:18px;padding:5px 3px 13px}
.label{font-size:10px;font-weight:900;letter-spacing:1px;display:block;color:#d0edff}
#score{display:block;font-size:46px;font-weight:1000;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#fff4b1}
.run-info{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:900;margin-left:auto;text-align:right}
#choices-count{font-weight:600;font-size:12px;color:#d2efff}
.current{display:flex;align-items:center;gap:8px;background:#034d78c9;border:1px solid #a8dffb66;border-radius:18px;padding:8px 12px}
.current .sprite{width:57px}.current strong{font-size:16px;font-weight:900;display:block;text-transform:capitalize}
.strike-info{margin-left:auto;text-align:center}.strike-info strong{font-size:21px;font-variant-numeric:tabular-nums}
#strikes[data-count="1"]{color:#ffdc8e}#strikes[data-count="2"]{color:#ff9b86}#strikes[data-count="3"]{color:#ff7567}
.board-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin:16px 2px 8px}
#board-status{color:#fff4ae;font-size:12px;font-weight:900;white-space:nowrap}
.board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;height:clamp(250px,39dvh,330px)}
.board[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 2px;border:1px solid #b0ecff33;border-radius:18px;background:#e3f9ff12;color:white;min-width:0;min-height:0}
.choice:hover{background:#e3f9ff29}.choice:active{background:#ffffff44}
.choice .sprite{width:min(82%,125px);filter:drop-shadow(0 4px 2px #063a6355)}
.choice-label{font-size:12px;line-height:1.1;font-weight:800;text-transform:capitalize;white-space:nowrap}
.choice-key{position:absolute;top:6px;left:9px;font-size:11px;color:#d7efffb0;font-weight:700}
.board[data-count="3"] .sprite,.board[data-count="4"] .sprite{width:min(64%,99px)}
.board[data-count="6"] .sprite{width:min(78%,93px)}
.board[data-count="9"] .sprite{width:min(65%,73px)}
.board.success .choice{border-color:#d5ffab66}.board.miss .choice{border-color:#ff918377}
.timer-track{height:9px;margin:15px 2px 0;background:#00314e99;border-radius:7px;overflow:hidden}
#timer{display:block;width:100%;height:100%;background:#ffdc59;transform-origin:left center}
.timer-track.frozen #timer{background:#9eefff}
#feedback{min-height:34px;margin:6px 0 4px;text-align:center;font-size:12px;font-weight:800;line-height:1.35;display:flex;align-items:center;justify-content:center}
.abilities{display:flex;gap:10px}
.ability{flex:1;min-width:0;background:#d9f5ffc9;color:#0b4f6d;border:1px solid #fff8;border-radius:14px;padding:10px 5px;box-shadow:0 3px 0 #003d6555}
.ability>span{display:block;font-size:17px;font-weight:900;line-height:1.2}
.ability b{font-size:12px;background:#117492;color:white;border-radius:7px;padding:2px 6px;margin-left:3px}
.ability small{display:block;font-size:9px;font-weight:800;margin-top:4px}
.ability:disabled{opacity:.48}.rule-note{margin:11px 0 0;text-align:center;font-size:10px;font-weight:700;color:#daf3ff}
dialog{width:calc(100% - 32px);max-width:380px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #ffffffaa;border-radius:24px;padding:30px 26px;background:#f0fbff;color:#17465c;box-shadow:0 15px 65px #002e5677}
dialog::backdrop{background:#00324ca6;backdrop-filter:blur(7px)}
.close{position:absolute;right:13px;top:9px;font:26px Nunito,sans-serif;color:#32718e;background:none;border:0;width:35px;height:35px;padding:0}
h2{font-size:29px;font-weight:1000;letter-spacing:-.7px;margin:3px 0 20px;line-height:1.15}
dialog ol{font-size:13px;line-height:1.5;padding-left:19px;margin:0}dialog li{margin:13px 0;padding-left:3px}dialog li b{font-weight:1000}
.hint{font-size:11px;color:#477083;line-height:1.5;text-align:center;margin:19px 0}
.primary{display:block;width:100%;padding:13px 16px;border:0;border-radius:13px;background:#077c9b;color:white;font-weight:900;font-size:17px;box-shadow:0 3px 0 #045369;margin-top:15px}
dialog .secondary{color:#32657a;background:none;border:0;font-size:14px;margin-bottom:0}
.setting{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:16px;font-weight:800;padding:17px 0;border-bottom:1px solid #bdd8e2}
.setting input{width:23px;height:23px;accent-color:#0785a6}
#pause-dialog{text-align:center}#pause-dialog p{font-size:14px}
#over-dialog{text-align:center}.eyebrow{font-size:11px;font-weight:1000;letter-spacing:1.5px;color:#387790}
#final-score{font-size:76px;line-height:1.1;font-weight:1000;margin:13px 0 0;letter-spacing:-3px;font-variant-numeric:tabular-nums;color:#067c9a}
.score-caption{font-size:14px;margin:0 0 20px}#result-copy{font-size:13px}.best-line{font-size:13px;border-top:1px solid #b6d6df;padding-top:17px}.best-line strong{margin-left:8px;font-size:20px}
#countdown{position:fixed;inset:0;z-index:10;background:#004d74bd;backdrop-filter:blur(8px);display:flex;flex-direction:column;justify-content:center;align-items:center}
#countdown span{font-size:22px;font-weight:900}#countdown strong{font-size:130px;font-weight:1000;color:#ffed9c;line-height:1.25}#countdown p{font-size:16px;font-weight:800}
body.reduce-motion *,body.reduce-motion *:before{animation:none!important;transition:none!important}
@media(min-width:650px){#app{min-height:860px;margin:18px auto;border-radius:26px}#home{min-height:772px}body{padding-bottom:18px}}
@media(max-height:740px){.topbar{height:60px}.best-badge{top:12px}#home{min-height:calc(100dvh - 76px)}h1{max-width:320px;margin-top:0}.tagline{font-size:17px;margin:8px 0}.hero-shapes{min-height:112px}.hero-shapes .sprite{width:90px}.home-actions{max-width:290px;padding-bottom:10px}.score-row{padding-bottom:10px}#score{font-size:38px}.current{padding:6px 10px}.current .sprite{width:48px}.board-heading{margin-top:11px}.board{height:clamp(240px,37dvh,290px)}.choice-label{font-size:11px}.timer-track{margin-top:11px}.ability{padding:8px 4px}.rule-note{margin-top:7px}}
@media(max-height:650px){#app{padding:0 16px 10px}.topbar{height:52px}.icon-button{width:45px}.small-logo{width:79px}#home{min-height:calc(100dvh - 62px)}h1{max-width:270px}.hero-shapes{min-height:93px}.hero-shapes .sprite{width:81px}.tagline{font-size:16px}.home-actions{max-width:260px;padding-bottom:4px}.play-button span{font-size:21px}.secondary{min-height:39px;padding:8px 22px}.home-actions p{font-size:11px;margin:7px}.score-row{gap:13px;padding:2px 2px 8px}#score{font-size:33px}.current{padding:4px 9px}.current .sprite{width:44px}.current strong{font-size:14px}.strike-info strong{font-size:18px}.label{font-size:9px}.board-heading{font-size:11px;margin:10px 2px 6px}.board{height:236px;gap:6px}.choice{padding:4px 1px;border-radius:14px}.choice .sprite{width:min(77%,112px)}.board[data-count="3"] .sprite,.board[data-count="4"] .sprite{width:78px}.board[data-count="6"] .sprite{width:76px}.board[data-count="9"] .sprite{width:54px}.choice-label{font-size:10px}.choice-key{font-size:9px;top:4px;left:6px}.timer-track{margin-top:9px;height:7px}#feedback{min-height:29px;font-size:11px;margin:5px 0}.ability>span{font-size:15px}.ability small{font-size:8px}.ability{padding:7px 4px}.rule-note{font-size:9px;margin-top:7px}dialog{padding:24px 23px}dialog ol{font-size:12px}dialog li{margin:9px 0}h2{font-size:25px}.hint{font-size:10px;margin:13px 0}}

/* Crop only the transparent canvas margin; preserve the artwork's native ratio. */
.play-button{aspect-ratio:4;overflow:hidden}
.play-button img{position:absolute;width:162%;max-width:none;height:auto;left:-31%;top:50%;transform:translateY(-50%)}
.play-button span{font-size:23px;padding-bottom:2px}
@media(max-height:650px){.play-button span{font-size:20px}}

/* Compact controls: native text and proportional raster icons. */
.tap-play{width:100%;min-height:72px;border:0;background:none;color:#fff;font:1000 32px Nunito,sans-serif;text-shadow:0 3px 12px #075d65,0 2px 2px #064866;letter-spacing:-.6px}
.tap-play:active{color:#fff0a5}.home-actions{padding-bottom:38px}.home-actions p{opacity:.85}
.abilities{justify-content:center;gap:16px}.power{position:relative;width:76px;flex:none;padding:4px 5px 6px;background:#d7f4ff16;border:1px solid #ddf7ff55;border-radius:16px;color:white;display:flex;align-items:center;flex-direction:column}.power-art{display:block;width:46px;aspect-ratio:1;background:url("assets/abilities-v4.webp") no-repeat;background-size:300% 100%;background-position:calc(var(--power)*50%) center}.power-label{font-size:10px;font-weight:900}.charges{font-size:8px;letter-spacing:3px;line-height:1.3;color:#ffdc75}.power:disabled{opacity:.4}.power.armed{opacity:1;border-color:#ffe373;box-shadow:0 0 14px #ffcc5555}.power:active{background:#d7f4ff44}
#over-dialog{background:#eaf9ff;border-radius:30px;padding:30px 25px}.reward-button{display:flex;flex-direction:column;align-items:center;gap:3px;width:100%;padding:15px 8px;border:0;border-radius:18px;background:#ffcf58;color:#654300;box-shadow:0 4px 0 #ce982a;font:inherit}.reward-button strong{font-size:21px;font-weight:1000}.reward-button span{font-size:11px;font-weight:800}.reward-button:disabled{opacity:.55}.result-actions{display:flex;align-items:center;flex-direction:column;gap:10px}.retry-button{border:0;background:#0a7896;color:white;width:100%;padding:13px;border-radius:16px;font-weight:900;font-size:17px}.exit-button{border:0;background:none;color:#427489;font-size:13px;padding:10px;font-weight:800}#ad-status{margin:12px 0;min-height:14px}#over-dialog .best-line{border:0;padding-top:0;margin-bottom:24px}
@media(max-height:650px){.power{width:70px;padding:2px 4px 4px}.power-art{width:37px}.power-label{font-size:9px}.home-actions{padding-bottom:16px}.tap-play{font-size:29px}.board{height:226px}}

/* Each shape is centered by its measured opaque artwork bounds, without scaling. */
.choice{display:grid;place-items:center;padding:0;gap:0}.choice .sprite{transform:translate(var(--dx,0%),var(--dy,0%));filter:none}
#health{display:flex;align-items:center;justify-content:flex-end;gap:2px;flex-wrap:nowrap;width:min(128px,32vw);max-width:100%;min-width:0}.heart{display:block;width:24px;aspect-ratio:1;background:url('assets/health-boost-v5.webp') left center/200% 100% no-repeat}.health-shield{display:block;width:25px;aspect-ratio:1;background:url('assets/abilities-v4.webp') right center/300% 100% no-repeat}.empty{opacity:.18;filter:grayscale(1)}
.power-art.boost-art{background-image:url('assets/health-boost-v5.webp');background-size:200% 100%;background-position:right center}.power:disabled.armed{opacity:1;border-color:#ffe373}.power:disabled.armed .charges{color:#b8ffcd}.power:disabled:not(.armed){opacity:.48}
@media(max-height:650px){#health{width:min(113px,32vw)}.heart{width:21px}.health-shield{width:22px}}

#app[data-screen=game] #settings-open{display:none}.score-row .plain-button{margin-left:auto}.run-coins{margin-left:auto;text-align:right}.run-coins strong{font-size:20px;color:#ffdc75}.home-links{display:flex;justify-content:center;gap:10px}.home-links .secondary{font-size:13px;padding:10px 12px;background:#064664c7}.streaks{display:flex;justify-content:center;gap:18px;min-height:18px;margin-top:6px;font-size:11px;font-weight:900;text-transform:capitalize;color:#ffeb9c}.shop-wallet{text-align:center;font-size:20px;color:#966300}.shop-item{display:flex;gap:10px;align-items:center;border-top:1px solid #c5dfe9;padding:15px 0}.shop-item .power-art{flex:none;width:44px}.shop-item>div{flex:1}.shop-item strong{display:block;font-size:16px}.shop-item small{display:block;font-size:10px;margin-top:3px}.shop-buy{border:0;border-radius:11px;padding:10px;background:#ffcf58;color:#654300;font-size:12px;font-weight:900}.shop-buy:disabled{opacity:.4}.rank-row{padding:10px 0;border-bottom:1px solid #c5dfe9;font-size:13px}#shop-message,#leaderboard-status{font-size:12px;line-height:1.5}.streaks:has(span:not(:empty)){text-shadow:0 1px 3px #004466}#feedback{min-height:27px;margin:1px 0 4px}@media(max-height:650px){.board{height:216px}.streaks{font-size:10px;min-height:15px;margin-top:4px}.home-links .secondary{font-size:12px;padding:9px}}

/* Explicit raster dimensions avoid intrinsic grid sizing differences in Android WebView. */
.sprite{position:relative;width:100px;height:100px;aspect-ratio:auto;background:none!important;overflow:hidden;contain:layout paint;pointer-events:none}.sprite img{position:absolute;width:400%;height:400%;max-width:none;pointer-events:none;user-select:none}.current .sprite{width:52px;height:52px}.choice .sprite{width:100px;height:100px}.board[data-count="4"] .sprite{width:86px;height:86px}.board[data-count="6"] .sprite{width:74px;height:74px}.board[data-count="9"] .sprite{width:62px;height:62px}.choice{touch-action:none}.choice.miss{background:#c83344}.board.miss .choice{background:#96253966;border-color:#ffaea3}.close{width:52px;height:52px;top:2px;right:3px;font-size:32px;touch-action:manipulation}dialog h2{padding-right:25px}dialog::backdrop{backdrop-filter:none}#countdown{backdrop-filter:none}.profile-chip{display:flex;align-items:center;gap:10px;max-width:100%;padding:6px 15px 6px 6px;margin-top:14px;background:#075477b8;border:1px solid #cff6ff88;border-radius:40px;color:white;font-weight:900}.profile-chip .avatar{width:44px;height:44px}.profile-chip>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{position:relative;display:inline-block;width:54px;height:54px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#b8e8ef;border:2px solid #fff;box-shadow:0 2px 5px #17465c22}.avatar img{position:absolute;width:300%;height:200%;max-width:none;pointer-events:none}.avatar.photo img{inset:0;width:100%;height:100%;object-fit:cover}#profile-preview{text-align:center}#profile-preview .avatar{width:88px;height:88px}.name-label{display:block;font-size:13px;font-weight:900;margin:12px 0 6px}.name-row{display:flex;gap:8px}.name-row input{min-width:0;width:100%;font:800 16px Nunito,sans-serif;padding:12px;border:1px solid #9bc7d6;border-radius:12px;color:#17465c;background:white}.name-row button{border:0;background:#d0edf4;border-radius:12px;padding:10px;color:#17465c;font-weight:900;min-height:48px}#avatar-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:20px 0 6px}#avatar-presets button{display:flex;justify-content:center;align-items:center;min-height:48px;padding:0;border:2px solid transparent;border-radius:50%;background:none}#avatar-presets .avatar{width:40px;height:40px}#avatar-presets button[aria-pressed=true]{border-color:#078fa9;background:#a7e4ee}#profile-message{font-size:12px;text-align:center;min-height:32px}#profile-dialog{padding:24px 20px}#choose-photo{min-height:48px;margin:6px auto}#profile-dialog .hint{margin:8px 0}.rank-card{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #c7e3ec}.rank-card>div{flex:1;min-width:0}.rank-card>div strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis}.rank-card small{display:block;font-size:10px;color:#537687}.rank-number{width:18px;font-size:13px;color:#52778b}.rank-score{font-size:23px;color:#087f98}.rank-card:first-child .rank-number{color:#a56c00}.rank-card:first-child .avatar{border-color:#f7ca59}#leaderboard-dialog{padding:28px 18px}#leaderboard-rows{max-height:280px;overflow:auto}#leaderboard-dialog h3{font-size:14px;margin:22px 0 6px}.rank-row{padding:6px 0;font-size:11px}.tap-play{font-size:28px}.secondary,.exit-button{min-height:48px}@media(max-height:650px){.current .sprite{width:44px;height:44px}.choice .sprite{width:86px;height:86px}.board[data-count="4"] .sprite{width:72px;height:72px}.board[data-count="6"] .sprite{width:64px;height:64px}.board[data-count="9"] .sprite{width:54px;height:54px}.profile-chip{margin-top:6px}.profile-chip .avatar{width:36px;height:36px}.tagline{margin:5px 0}.tap-play{font-size:25px}#profile-preview .avatar{width:68px;height:68px}}
.avatar:not(.photo) img{height:300%}
/* vh fallback keeps the playfield sized on older Android WebView releases. */
#app{min-height:100vh}#home{min-height:calc(100vh - 88px)}dialog{max-height:calc(100vh - 32px)}.board{height:clamp(250px,39vh,330px)}
@media(max-height:740px){#home{min-height:calc(100vh - 76px)}.board{height:clamp(240px,37vh,290px)}}
@media(max-height:650px){#home{min-height:calc(100vh - 62px)}.board{height:216px}}
@supports(height:100dvh){#app{min-height:100dvh}#home{min-height:calc(100dvh - 88px)}dialog{max-height:calc(100dvh - 32px)}@media(max-height:740px){#home{min-height:calc(100dvh - 76px)}}@media(max-height:650px){#home{min-height:calc(100dvh - 62px)}}}
@media(min-width:650px){#app{min-height:860px}#home{min-height:772px}}

/* Home navigation is an icon rail below Settings, clear of the logo. */
.home-tools{position:absolute;right:env(safe-area-inset-right,0px);top:env(safe-area-inset-top,0px);z-index:2;display:flex;flex-direction:column;align-items:center;gap:8px}.home-tools .icon-button{position:relative;width:54px;height:54px;min-width:54px;min-height:54px}.nav-art{display:block;width:54px;height:54px;background-image:url('assets/menu-icons-v8.webp');background-repeat:no-repeat;background-size:200% 100%;pointer-events:none}.nav-shop{background-position:left center}.nav-leaderboard{background-position:right center}.nav-badge{position:absolute;right:0;bottom:0;min-width:22px;max-width:58px;overflow:hidden;text-overflow:ellipsis;padding:1px 5px;background:#ffe079;border:1px solid #fff4bc;border-radius:12px;color:#694600;font-size:11px;font-weight:1000;line-height:17px;box-shadow:0 2px 3px #04486344;pointer-events:none}#app[data-screen=game] .home-tools{display:none}#home h1{align-self:flex-start;width:calc(100% - 64px);max-width:330px;margin:0 0 0 -4px}.home-actions{padding-bottom:50px}.tap-play{font-size:27px}@media(max-height:650px){.home-tools{gap:6px}.home-actions{padding-bottom:30px}.tap-play{font-size:25px}}

#avatar-presets{grid-template-columns:repeat(4,1fr);justify-items:center;gap:9px;margin:14px 0}
#avatar-presets button{width:54px;height:54px;min-height:54px;margin:0}
#avatar-presets .avatar{width:48px;height:48px}
#avatar-presets #choose-photo{border:2px solid white;background:#b8e8ef;box-shadow:0 2px 5px #17465c22;color:#087f98;font:700 38px/1 Nunito,sans-serif}
#continue-ad{min-height:92px;padding:18px 12px;touch-action:manipulation}
#continue-ad strong{font-size:27px}#continue-ad span{font-size:14px}
#leaderboard-status:empty{display:none}#leaderboard-rows{max-height:55vh}
#play-feedback{position:fixed;z-index:15;top:24%;left:50%;transform:translateX(-50%);pointer-events:none;display:none;text-align:center;min-width:170px;border-radius:22px;padding:10px 18px;color:white;text-shadow:0 2px 2px #1238;box-shadow:0 4px 18px #0035}
#play-feedback strong{display:block;font-size:34px;line-height:1.1}#play-feedback span{display:block;font-size:14px;font-weight:900}
#play-feedback.points,#play-feedback.bonus,#play-feedback.damage,#play-feedback.shield-save{display:block;animation:reward-rise .85s ease-out both}
#play-feedback.points{background:#087c69ec}#play-feedback.bonus{background:#ad6805f2}#play-feedback.damage{background:#b42643f2;animation:impact 1.1s ease-out both}#play-feedback.shield-save{background:#087ea5f2}
.feedback-pop{animation:score-pop .5s ease-out}.damage-flash{animation:damage-tint .6s ease-out}
@keyframes reward-rise{0%{opacity:0;transform:translate(-50%,16px) scale(.85)}20%,75%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-22px)}}
@keyframes impact{0%{transform:translate(-50%,0) scale(1.15)}15%,80%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0}}
@keyframes score-pop{35%{transform:scale(1.22);filter:brightness(1.7)}}
@keyframes damage-tint{20%{box-shadow:inset 0 0 80px #ff244488}}

/* Compact run currency alongside the primary score. */
.score-row .run-coins{display:flex;align-items:center;gap:5px;margin-left:auto;text-align:left;padding:5px 9px;border-radius:24px;background:#07547780;white-space:nowrap}.run-coins img{display:block;width:28px;height:28px;object-fit:contain}.run-coins strong{font-size:19px;line-height:1;color:#ffe596}.score-row .plain-button{margin-left:0}

.level-chip{margin:8px 0 0;padding:5px 11px;border-radius:16px;background:#075477a0;color:#e2f8ff;font-size:11px;font-weight:900}.progress-copy{text-align:center;font-size:12px;line-height:1.6;color:#326c80}
#shop-dialog{max-width:420px}#shop-dialog h3{font-size:16px;margin:20px 0 10px}.cosmetic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cosmetic-card{padding:10px;background:#d6eef6;border-radius:16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.cosmetic-card strong{font-size:13px}.cosmetic-card button{min-height:44px;width:100%;margin-top:auto}.cosmetic-preview{position:relative;width:80px;height:80px}.frame-preview .avatar{position:absolute;width:62px;height:62px;top:9px;left:9px}.frame-art{position:absolute;inset:0;background-image:url('assets/frames-v12.webp');background-size:200% 200%;pointer-events:none}.frame-gold{background-position:0 0}.frame-ice{background-position:100% 0}.frame-blossom{background-position:0 100%}.frame-cosmic{background-position:100% 100%}
.background-preview{width:100%;height:115px;border-radius:10px;background-image:url('assets/worlds-v12.webp');background-size:200% auto;background-position:left center}.background-preview[data-cosmetic=sunset]{background-position:right center}.background-preview[data-cosmetic=garden]{background-image:url('assets/garden-v2.webp');background-size:cover}
#app[data-background=moon],#app[data-background=sunset]{background-image:url('assets/worlds-v12.webp');background-size:max(200%,100vh) auto;background-repeat:no-repeat;background-position:left center}#app[data-background=sunset]{background-position:right center}

.avatar-shell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:62px;height:62px}.avatar-shell>.avatar{width:72%!important;height:72%!important}.profile-chip .avatar-shell{width:52px;height:52px}#profile-preview .avatar-shell{width:96px;height:96px}

/* Gameplay begins at the HUD, without the home logo row. */
#app[data-screen=game] .topbar{display:none}
#app[data-screen=game]{padding-top:max(8px,env(safe-area-inset-top))}
.score-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.score-row .run-coins{margin:0;justify-self:center;grid-column:2}
.score-row #pause{grid-column:3;justify-self:end;min-width:48px;min-height:48px;padding:0;font-size:29px;font-weight:1000;line-height:1;touch-action:manipulation}
#pause span{display:block;transform:scaleX(.85)}

#shop-dialog h2{text-align:center;padding-left:32px;padding-right:32px}

#pause span{font-family:Arial,sans-serif;font-size:23px;letter-spacing:2px;transform:none}

/* Center the title against the full game width, independently of the icon rail. */
#home h1{align-self:center;margin:0 auto;width:calc(100% - 64px);max-width:330px}
/* Balanced mobile headings, uncluttered results, sixteen-tile boards. */
dialog h2{text-align:center;padding-left:32px;padding-right:32px}
#over-dialog #final-score{padding:0;text-align:center;letter-spacing:0;margin:6px 0 18px}
#over-dialog #record{text-align:center;margin:0}
#level-progress{display:block;width:100%;height:12px;margin:8px auto 22px;accent-color:#13b6bc;border:0;border-radius:8px;overflow:hidden;background:#cce9ef}
#level-progress::-webkit-progress-bar{background:#cce9ef}#level-progress::-webkit-progress-value{background:#13b6bc;border-radius:8px}
.board[data-columns="1"]{grid-template-columns:1fr;max-width:180px;margin:auto;height:180px}
.board[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-height:252px}
.board[data-columns="4"] .sprite{width:48px;height:48px}
.sprite.special-art{background-image:url('assets/specials-v13.webp')!important;background-repeat:no-repeat!important;background-size:500% auto!important;background-position:calc(var(--special)*25%) center!important;transform:none!important}
.choice:has(.special-art){border-color:#ffdf83;background:#fff5b329}
.burst-clear .choice:not(:has(.special-art)){animation:board-burst .58s ease-out forwards}
.color-celebration{filter:drop-shadow(0 0 18px var(--streak-color));border-bottom:4px solid var(--streak-color)}
@keyframes board-burst{0%{filter:brightness(1)}30%{filter:brightness(2);transform:scale(1.08)}100%{opacity:0;transform:scale(.15)}}
.reduce-motion .burst-clear .choice:not(:has(.special-art)){animation:none;opacity:.35}

.choice .sprite.special-art{height:120px}.board[data-count="4"] .sprite.special-art{height:103px}.board[data-count="6"] .sprite.special-art{height:89px}.board[data-count="9"] .sprite.special-art{height:74px}.board[data-columns="4"] .sprite.special-art{height:56px}

/* Simple home balances and centered shop sections. */
#home .best-badge{left:50%;transform:translateX(-50%);top:max(12px,env(safe-area-inset-top,0px));text-align:center}
.home-wallet{position:absolute;left:16px;top:max(15px,env(safe-area-inset-top,0px));display:flex;align-items:center;gap:5px;color:#ffe88d;text-shadow:0 1px 4px #024d79;font-weight:1000;font-size:22px;max-width:calc(50% - 65px)}
.home-wallet img{width:30px;height:30px;object-fit:contain}.home-wallet strong{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#shop-dialog h3{text-align:center}

/* Contained sprite grid items need definite dimensions: percentage width can collapse to zero. */
.board[data-count="3"] .sprite{width:86px;height:86px}
.board[data-count="3"] .sprite.special-art{height:103px}
@media(max-height:650px){.board[data-count="3"] .sprite{width:72px;height:72px}.board[data-count="3"] .sprite.special-art{height:86px}}

/* Boost selection is a border state, never an extra label. */
.power{border:3px solid #b3dceb66}.power.armed,.power:disabled.armed{border-color:#59f6ff;box-shadow:0 0 0 2px #076780,0 0 16px #59f6ffb0;background:#095873;opacity:1}.charges{font-size:12px;letter-spacing:0}
.feedback-slot{height:48px;margin:5px 0;display:flex;align-items:center;justify-content:center;overflow:hidden}
#play-feedback{position:static;inset:auto;transform:none;z-index:auto;min-width:0;max-width:100%;padding:4px 12px;border-radius:12px;box-shadow:none}
#play-feedback strong{font-size:19px;display:inline;margin-right:8px}#play-feedback span{font-size:11px;display:inline}
#play-feedback.points,#play-feedback.bonus,#play-feedback.damage,#play-feedback.shield-save{animation:none}
#feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0;min-height:0}
.item-info{cursor:help;border:0;padding:0;background-color:transparent;touch-action:manipulation;min-width:44px;min-height:44px;flex-shrink:0}
.item-info:focus-visible{outline:3px solid #078ea6;outline-offset:3px}.item-tip{display:block;font-size:12px;line-height:1.5;background:#07516a;color:#fff;padding:10px 12px;border-radius:10px;margin-top:8px;text-align:left;position:relative;z-index:1}.item-tip[hidden]{display:none}
.cosmetic-card .cosmetic-preview{width:80px;min-height:80px;height:80px;margin:0;background-color:transparent}.shop-item button.power-art{width:46px;height:46px;padding:0}

/* Unavailable purchases remain tappable to explain their requirements. */
.shop-buy.unavailable{background:#d9cfae;color:#655c45}
#shop-notice{position:fixed;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 56px);box-sizing:border-box;padding:18px 24px;border-radius:18px;background:#173f54f5;color:#fff;font-size:18px;font-weight:900;line-height:1.4;text-align:center;box-shadow:0 8px 30px #002b4655;pointer-events:none;animation:shop-notice-fade 2s ease both}
#shop-notice[hidden]{display:none}
@keyframes shop-notice-fade{0%{opacity:0}12%,75%{opacity:1}100%{opacity:0}}


.reward-icon img{width:100%;height:100%;object-fit:contain;pointer-events:none}
#coins-ad-dialog{text-align:center}#coins-ad-dialog h2{padding:0 26px}
.reward-preview{width:110px;height:110px;object-fit:contain;display:block;margin:12px auto}
.coin-reward-amount{display:block;font-size:27px;color:#946000}
#coins-ad-status{min-height:44px;font-size:14px;line-height:1.5;margin:12px 0 18px}

/* Keep close controls outside each popup's scrolling content. */
#app dialog:has(> .close){padding:0;overflow:hidden}
.dialog-content{box-sizing:border-box;max-height:calc(100vh - 34px);overflow-y:auto;overscroll-behavior:contain;padding:30px 26px;scroll-padding-top:56px}
@supports(height:100dvh){.dialog-content{max-height:calc(100dvh - 34px)}}
dialog > .close{z-index:20;background:#f0fbff;border-radius:50%;box-shadow:0 2px 6px #17465c18}
@media(max-height:650px){.dialog-content{padding:24px 23px}}

/* Floating descriptions never take space in shop rows or cards. */
.item-tip{position:fixed;z-index:30;box-sizing:border-box;width:280px;max-width:calc(100vw - 24px);margin:0;padding:14px 16px;border:1px solid #91dce9;box-shadow:0 6px 22px #002d5266;font-size:13px;font-weight:700;line-height:1.5;pointer-events:none}

.choice.collected{visibility:hidden;pointer-events:none}

.health-shield{position:relative}.shield-hit-count{position:absolute;right:-4px;bottom:-3px;min-width:14px;border-radius:8px;padding:0 3px;background:#e8fdff;color:#085274;font-size:11px;line-height:15px;text-align:center}

/* Pause stays at the left edge with an undistorted raster icon. */
.score-row>div:first-child{grid-column:3;grid-row:1;justify-self:end;text-align:right}
.score-row .run-coins{grid-row:1}
.score-row #pause{position:absolute;left:calc(-20px + env(safe-area-inset-left,0px));top:0;width:56px;height:56px;min-width:56px;min-height:56px;padding:0;border:0;background:none;box-shadow:none;border-radius:50%;display:grid;place-items:center}
#pause img{display:block;width:56px;height:56px;object-fit:contain;pointer-events:none}
#pause:active{filter:brightness(.9)}#pause:focus-visible{outline:3px solid white;outline-offset:2px}
@media(max-height:650px){.score-row #pause{left:calc(-16px + env(safe-area-inset-left,0px))}}
.score-row #pause{grid-column:auto;grid-row:auto;justify-self:start}


/* Three choices form one horizontal row with square, evenly sized tiles. */
.board[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;align-content:center}
.board[data-count="3"] .choice{aspect-ratio:1;min-width:0}
@media(max-width:380px){.board[data-count="3"] .sprite{width:66px;height:66px}.board[data-count="3"] .sprite.special-art{height:79px}}

#profile-dialog h3{text-align:center;font-size:16px;margin:22px 0 12px}
.profile-cosmetics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.profile-cosmetic{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-width:0;padding:10px 5px;border:2px solid transparent;border-radius:16px;background:#d7eff6;color:#17465c;font:inherit;min-height:132px}
.profile-cosmetic[aria-pressed=true]{border-color:#049fba;background:#c1f2f4;box-shadow:0 0 0 2px #ffffff}
.profile-cosmetic strong{font-size:11px;line-height:1.25}.profile-cosmetic small{font-size:10px;margin-top:auto;font-weight:900}
.profile-cosmetic.locked{background:#e1e9ed;color:#627983}.profile-cosmetic.locked>span{opacity:.55}
.profile-cosmetic .avatar,.profile-cosmetic .avatar-shell{width:52px;height:52px}
.profile-cosmetic .avatar-shell .avatar{width:40px;height:40px}
.profile-cosmetic .background-preview{display:block;width:100%;height:64px;flex:none}
#profile-lock-message{text-align:center;font-size:12px;line-height:1.4}#profile-lock-message:empty{display:none}
#profile-shop{display:block;margin:16px auto 0}
#profile-skins{grid-template-columns:repeat(2,minmax(0,1fr))}
#profile-skins .skin-preview{max-width:112px;pointer-events:none}
#profile-skins .profile-skin{min-height:170px;padding:10px 7px}

#quests-dialog h2{text-align:center}.quest-card{background:#e2f5fa;border:2px solid #9bdbeb;border-radius:18px;padding:16px;margin:14px 0;color:#17465c}.quest-card h3{font-size:17px;margin:0 0 8px;text-align:left}.quest-card p{font-size:12px;line-height:1.4;margin:0 0 12px}.quest-card progress{width:100%;height:12px;accent-color:#12adb8}.quest-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.quest-card button{font-size:13px;min-height:44px;padding:8px 12px}.quest-card button:disabled{opacity:.7;background:transparent;box-shadow:none;color:#305c6c}#quest-badge[hidden]{display:none}

#tutorial-dialog{text-align:center}#tutorial-copy{font-size:16px;line-height:1.5}#tutorial-current{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0}#tutorial-current[hidden]{display:none}#tutorial-current .sprite{width:60px;height:60px}#tutorial-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 38px}.tutorial-choice{position:relative;aspect-ratio:1;min-width:0;display:grid;place-items:center}.tutorial-choice .sprite{width:80px;height:80px}.tutorial-target{outline:4px solid #27cdb3;outline-offset:3px}.tutorial-hand{position:absolute;width:66px;height:66px;object-fit:contain;bottom:-28px;left:calc(50% - 33px);z-index:2;pointer-events:none;animation:teach-tap 1s ease-in-out infinite}#tutorial-note{min-height:36px;font-size:14px;color:#8c243f}#tutorial-step{margin-top:12px}@keyframes teach-tap{50%{transform:translateY(-9px)}}.reduce-motion .tutorial-hand{animation:none}

.starburst-overlay{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:8}

.special-flight-layer{position:fixed;inset:0;pointer-events:none;z-index:8;overflow:hidden}.special-flying-art{position:absolute!important;width:72px!important;height:86px!important;background-repeat:no-repeat;filter:drop-shadow(0 0 10px var(--effect-tint));will-change:transform,left,top;pointer-events:none}.special-arrival-ring{position:absolute;width:58px;height:58px;border:3px solid var(--effect-tint);border-radius:50%;box-shadow:0 0 18px var(--effect-tint),inset 0 0 14px var(--effect-tint);opacity:0;pointer-events:none}.special-trail{position:absolute;width:9px;height:9px;background:var(--effect-tint);border-radius:50%;box-shadow:0 0 12px var(--effect-tint);transform:translate(-50%,-50%);opacity:0}

.pickup-flip{animation:pickup-flip .25s ease-out}@keyframes pickup-flip{from{transform:perspective(500px) rotateY(85deg);opacity:.4}to{transform:perspective(500px) rotateY(0);opacity:1}}

/* Centered mobile quest cards and compact pause navigation. */
.quest-card{text-align:center;padding:18px 16px;margin:12px 0;border-radius:20px}.quest-card h3{text-align:center;line-height:1.3;margin:0 auto 15px;font-size:17px;max-width:290px}.quest-card>.quest-progress{position:relative;display:block;width:100%;height:34px;margin:0;border-radius:18px;overflow:hidden;background:#b5d6e3;border:2px solid #8cbfd3;box-shadow:inset 0 2px 4px #285e7420}.quest-progress-fill{display:block;height:100%;background:linear-gradient(#70e4d4,#29bbae);border-radius:16px;transition:width .25s ease-out}.quest-progress strong{position:absolute;inset:0;display:grid;place-items:center;font-size:16px;line-height:30px;color:#123e53;text-shadow:0 1px #ffffffaa}.quest-card>.quest-reward{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 10px;font-size:20px;color:#895707}.quest-reward img{width:29px;height:29px;object-fit:contain}.quest-card .quest-collect{display:block;margin:0 auto;min-width:160px;min-height:44px;border:1px solid #d09f23;border-radius:14px;background:linear-gradient(#ffe88c,#ffd054);color:#654500;font:900 16px Nunito,sans-serif;padding:9px 24px;box-shadow:0 3px 0 #bd8926}.quest-card .quest-collect:disabled{opacity:1;background:#cce4ed;border-color:#b4d1dd;box-shadow:none;color:#567783}.quest-card.complete{border-color:#28b7a8}.pause-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 8px}.pause-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:108px;padding:8px 2px;background:transparent;border:0;color:#17465c;font:900 13px Nunito,sans-serif}.pause-option img{width:62px;height:62px;object-fit:contain}.pause-option:last-child img{border-radius:17px}.pause-option:active{transform:scale(.96)}#pause-dialog h2{text-align:center;padding:0;margin-top:12px}@media(max-width:380px){.pause-options{gap:5px}.pause-option img{width:54px;height:54px}.pause-option{font-size:12px}}

button.home-wallet{background:transparent;border:0;padding:0;min-height:44px;font-family:inherit;cursor:pointer}#coin-help-dialog{text-align:center}#coin-help-dialog h2{padding:0}#coin-help-dialog p{font-size:15px;line-height:1.5;margin:16px 0}.coin-help-art{width:58px;height:58px;object-fit:contain}.home-tools #coins-ad-open{height:58px;min-height:58px;display:flex;align-items:flex-start;justify-content:center;padding:0}.home-tools #coins-ad-open>img{width:54px;height:54px;flex:none}.video-reward-label{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center;gap:3px;background:#fff0ac;color:#674400;border-radius:10px;padding:1px 5px;font:1000 12px Nunito,sans-serif;line-height:19px;white-space:nowrap}.video-reward-label img{width:17px;height:17px;object-fit:contain}

#age-dialog{text-align:center}#age-dialog input{display:block;margin:18px auto;padding:14px;max-width:100%;font:inherit;border:2px solid #78cedd;border-radius:14px}#age-dialog button{display:block;margin:12px auto}#age-error{color:#aa2639}

/* Lock pinch/double-tap zoom while preserving one-finger scrolling in panels. */
html,body{touch-action:pan-x pan-y}

/* Artwork is centered inside its crop; keep the card container fixed. */
.choice .sprite{transform:none}

/* Compact survival time belongs with the Endless score. */
#survival-time{display:block;white-space:nowrap;font:900 11px/1.3 Nunito,sans-serif;color:#caedff;font-variant-numeric:tabular-nums;letter-spacing:.2px}
#survival-time[hidden]{display:none}

/* Shape skins use uniformly fitted art, preserving each silhouette. */
.sprite>.skin-sprite{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.skin-preview{width:100%;max-width:160px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.skin-preview .skin-sprite{display:block;width:100%;height:auto;aspect-ratio:1;min-width:0}
.skin-card small{font-size:10px;line-height:1.3}
#shop-dialog #skin-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#shop-dialog .skin-card{padding:10px 8px}
#shop-dialog .skin-preview{max-width:138px}

.mini-damage-layer{position:absolute;inset:0;z-index:8;pointer-events:none;border-radius:inherit}

/* Suppress webpage selection/callouts without blocking game gestures or real text entry. */
html,body,body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
img,svg,canvas{-webkit-user-drag:none}
input,textarea,[contenteditable="true"],[contenteditable=""],[contenteditable="plaintext-only"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}

/* Keep every life (and an equipped shield) on one row without stretching its art. */
#health > .heart,#health > .health-shield{flex:0 1 auto;min-width:0;height:auto;aspect-ratio:1;align-self:center}

#startup-ready{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#076b9c;color:white;font-weight:800}#startup-ready img{width:min(70vw,330px);height:auto}#startup-ready[hidden]{display:none}

/* Branded launch cover: existing painted world, logo and gold reward colors. */
#startup-ready{background:radial-gradient(ellipse at 50% 38%,#087fa455,#032742d9),url('assets/home-world-v101.webp') center/cover;gap:18px;padding:24px;box-sizing:border-box;transition:opacity .28s ease}
#startup-ready>img{filter:drop-shadow(0 8px 12px #002d55aa);animation:startup-float 3s ease-in-out infinite}
#startup-ready>p{margin:0;font:900 17px/1.4 Nunito,sans-serif;text-shadow:0 2px 5px #002c4c}
.startup-meter{position:relative;width:min(76vw,300px);height:30px;border:3px solid #6de8ff;border-radius:22px;background:#073a58;box-shadow:0 3px 0 #002b49,0 0 18px #20dcff66;overflow:hidden}
.startup-meter progress{appearance:none;-webkit-appearance:none;width:100%;height:100%;border:0;display:block;background:transparent}
.startup-meter progress::-webkit-progress-bar{background:#073a58}
.startup-meter progress::-webkit-progress-value{background:linear-gradient(#fff2a0,#ffd43a 45%,#efa820);border-radius:18px;transition:width .16s ease}
.startup-meter progress::-moz-progress-bar{background:linear-gradient(#fff2a0,#ffd43a 45%,#efa820);border-radius:18px}
.startup-percent{position:absolute;inset:0;display:grid;place-items:center;color:white;text-shadow:0 1px 3px #003951,1px 0 2px #003951;font:1000 14px Nunito,sans-serif}
#startup-ready.startup-finished{opacity:0;pointer-events:auto}
@keyframes startup-float{50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){#startup-ready>img{animation:none}#startup-ready,.startup-meter progress::-webkit-progress-value{transition:none}}

/* Two answer pulses survive disabled-choice dimming during the mistake pause. */
#board .choice.correct-answer-pulse,#board .choice.correct-answer-still{opacity:1!important;position:relative}
#board .choice.correct-answer-pulse::after,#board .choice.correct-answer-still::after{content:'';position:absolute;inset:2px;border:4px solid #c5ff8b;border-radius:inherit;box-shadow:0 0 12px #76ff93,inset 0 0 10px #76ff9388;pointer-events:none;z-index:5}
#board .choice.correct-answer-pulse::after{animation:answer-pulse 400ms ease-in-out 2 both}
@keyframes answer-pulse{0%,100%{opacity:0}25%,65%{opacity:1}}
@media(prefers-reduced-motion:reduce){#board .choice.correct-answer-pulse::after{animation:none;opacity:1}}
