.simon-game-page{padding-block:.6rem .9rem}.simon-game-page>nav{margin-bottom:.35rem;font-size:.78rem}.simon-game-page section>.flex{margin-bottom:.5rem}.simon-game-page section h1{font-size:clamp(1.18rem,1.85vw,1.6rem);line-height:1.2}.simon-game-page section h1+p{margin-top:.2rem;font-size:.85rem}.simon-game-page section>.panel{padding:.65rem .8rem}.simon-game-page section>.panel>.justify-end{margin-bottom:.3rem}.simon-game-page .game-controls,.simon-game-page .game-session{gap:.55rem}.simon-game-page .game-session{max-width:none}.simon-round{min-height:1.4rem;font-size:.88rem}.simon-game-page .simon-pads{width:min(100%,20rem);grid-template-columns:repeat(2,minmax(0,1fr))}.simon-game-page .simon-pads>button{min-height:clamp(2.65rem,10svh,5rem)}.simon-pads>button:disabled{opacity:1}.simon-start{justify-self:start;min-height:2.75rem}.simon-game-page .simon-pads>button{aspect-ratio:auto;height:clamp(2.65rem,10svh,5rem)}@media (min-width:1000px){.simon-game-page .simon-pads{width:min(100%,36rem);gap:.75rem}.simon-game-page .simon-pads>button{height:clamp(3rem,11svh,7rem);font-size:clamp(1.05rem,1.65vw,1.4rem)}}@media (min-width:1000px) and (min-height:650px){.simon-game-page .simon-pads>button{height:clamp(5rem,15svh,8rem)}}.sudoku-page{padding-block:.75rem 2rem}.sudoku-page section>.flex,.sudoku-page>nav{margin-bottom:.5rem}.sudoku-page section{position:relative;min-width:0}.sudoku-page section>.flex{padding-right:8rem}.sudoku-page section>.flex>span{display:none}.sudoku-page section .panel{padding:.75rem}.sudoku-page .sound-control{position:absolute;right:0;top:0}.sudoku-page .panel>.justify-end{margin:0}.sudoku-page .game-session{max-width:none;gap:.5rem}.sudoku-page .game-controls{grid-template-columns:minmax(0,min(32rem,calc(100svh - 16rem))) minmax(9rem,11rem);gap:.5rem .85rem;align-items:start}.sudoku-page .game-controls>p{grid-column:1/-1;font-size:.875rem}.sudoku-page .puzzle-grid{gap:2px}.sudoku-page .sudoku-cell{line-height:1}.sudoku-page .choices{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.sudoku-page .choices button{min-width:0;padding:.2rem}.sudoku-page .choices button:last-child{grid-column:1/-1}@media (max-width:580px) and (orientation:portrait){.sudoku-page .game-controls{grid-template-columns:1fr}.sudoku-page .puzzle-grid{width:min(100%,100svh - 21rem);justify-self:center}.sudoku-page .choices{grid-template-columns:repeat(5,1fr)}.sudoku-page .choices button:last-child{grid-column:auto}}@media (orientation:landscape) and (max-height:520px){.sudoku-page{padding-block-start:.25rem}.sudoku-page h1+p,.sudoku-page>nav{display:none}.sudoku-page section>.flex{min-height:2.25rem;margin-bottom:.25rem}.sudoku-page .sound-control{min-height:2.25rem;padding-block:.25rem}.sudoku-page section .panel{padding:.4rem}.sudoku-page .game-session{position:relative}.sudoku-page .game-controls{--board-width:min(48vw,100svh - 8rem);grid-template-columns:var(--board-width) 11rem}.sudoku-page .puzzle-grid{grid-row:1/4}.sudoku-page .choices,.sudoku-page .game-controls>p{grid-column:2}.sudoku-page .choices button{min-height:1.75rem}.sudoku-page .game-session>.outline{position:absolute;left:calc(min(48vw, 100svh - 8rem) + .85rem);bottom:0;padding-block:.25rem}}@media (min-width:700px) and (min-height:521px){.sudoku-page{position:relative}.sudoku-page>nav{position:absolute;top:1.25rem;left:10rem;z-index:1}}.sudoku-page h1+p{display:none}@media (orientation:portrait) and (max-height:720px){.sudoku-page>nav{display:none}.sudoku-page section>.flex{min-height:2.75rem}.sudoku-page .puzzle-grid{width:min(100%,100svh - 22rem)}}.sudoku-page{--entry-bg:#173d4d;--entry-ink:#a6ebff;--entry-error:#ffadb8}[data-theme=light] .sudoku-page{--entry-bg:#d6f2fb;--entry-ink:#07536c;--entry-error:#9d1634}.sudoku-page .sudoku-cell[data-entered=true]{background:var(--entry-bg);color:var(--entry-ink);font-style:italic}.sudoku-page .sudoku-cell[data-entered=true][aria-pressed=true]{box-shadow:inset 0 0 0 3px #a78bfa}.sudoku-page .sudoku-cell[data-entered=true][data-error=true]{color:var(--entry-error)}.memory-match-page{padding-block:.5rem .75rem}.memory-match-page>nav{margin-bottom:.35rem;font-size:.78rem}.memory-match-page>.grid{gap:.8rem 1rem}.memory-match-page section>.flex{margin-bottom:.45rem}.memory-match-page section h1{font-size:clamp(1.08rem,1.7vw,1.45rem);line-height:1.15}.memory-match-page section h1+p{margin-top:.2rem;font-size:.82rem}.memory-match-page section>.flex>span{font-size:1.4rem}.memory-match-page section>.panel{padding:.55rem .7rem}.memory-match-page section>.panel>.justify-end{margin-bottom:.2rem}.memory-match-page .sound-control{min-height:2rem;padding:.15rem .55rem;font-size:.75rem}.memory-match-game{display:grid;gap:.4rem}.memory-match-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.65rem;font-size:.82rem}.memory-match-toolbar .outline{padding:.28rem .6rem;white-space:nowrap}.memory-match-page .memory-match-board{width:min(100%,27rem);gap:clamp(4px,.6vw,8px)}.memory-match-page .memory-match-board .tile{min-height:0;font-size:clamp(1.13rem,2.2vw,1.75rem)}.memory-match-result{min-height:1.2rem;margin:0;font-size:.88rem}@media (min-width:900px) and (min-height:520px){.memory-match-page .memory-match-board{width:min(100%,27rem,max(12rem,calc(100svh - 15rem)))}.memory-match-page section>.panel{position:relative}.memory-match-page section>.panel>.justify-end{position:absolute;inset:.55rem .7rem auto auto;margin:0}.memory-match-toolbar{padding-inline-end:6.3rem}}.memory-match-guide{margin-block:clamp(1.25rem,3vw,2.25rem);max-width:54rem}.memory-match-guide h2{margin-block:1.35rem .45rem;font-size:1.3rem;font-weight:800}.memory-match-guide li,.memory-match-guide p{line-height:1.6}.memory-match-guide ol{padding-inline-start:1.35rem;list-style:decimal}.memory-match-guide details{border-top:1px solid var(--border);padding:.65rem 0}.memory-match-guide summary{font-weight:750;cursor:pointer}.memory-match-guide details p{margin-top:.3rem}.memory-match-options{flex:none;display:flex;align-items:center;gap:.35rem}.memory-match-options select{background:var(--panel);color:var(--text);font-size:.8rem}.memory-match-options option{background:var(--panel)}.memory-match-page .memory-match-board[data-cards="24"]{grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,40.5rem)}.memory-next-game{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;padding:1rem;margin-top:1.25rem}.memory-match-guide .memory-next-game h2{margin:0 0 .2rem}.memory-next-game a{flex:none;font-size:.86rem}#memory-match-how-to{scroll-margin-top:5rem}@media (min-width:900px) and (min-height:520px){.memory-match-page .memory-match-board[data-cards="24"]{width:min(100%,40.5rem,max(18rem,calc((100svh - 15rem)*1.5)))}}@media (max-width:350px) and (orientation:portrait){.memory-match-page .memory-match-board[data-cards="24"]{grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,16rem,max(10rem,calc((100svh - 18rem)*.65)))}.memory-match-toolbar{gap:.3rem}.memory-match-options{gap:.25rem}.memory-match-options .outline{padding-inline:.42rem}}.memory-match-options .memory-next-round{font-size:.8rem;padding:.28rem .55rem;white-space:nowrap}.memory-match-page .memory-match-board[data-cards="32"]{grid-template-columns:repeat(8,minmax(0,1fr));width:min(100%,54rem)}@media (min-width:900px) and (min-height:520px){.memory-match-page .memory-match-board[data-cards="32"]{width:min(100%,54rem,max(24rem,calc((100svh - 15rem)*2)))}}@media (max-width:520px) and (orientation:portrait){.memory-match-page .memory-match-board[data-cards="32"]{grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,calc(100svh - 17.5rem))}}.memory-match-stats{display:flex;flex-wrap:wrap;align-items:center;column-gap:.5rem;min-width:0}.memory-match-time{font-variant-numeric:tabular-nums;white-space:nowrap}.memory-match-result-bar{display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-width:0}.memory-match-share{flex:none;white-space:nowrap;padding:.25rem .55rem;font-size:.8rem}@media (max-width:420px){.memory-match-stats{font-size:.75rem;line-height:1.25}.memory-match-result{font-size:.77rem}}.memory-match-result-bar{min-height:2rem}.memory-match-result-bar[data-won=true]{color:var(--text);border-inline-start:3px solid #52b781;padding-inline-start:.4rem}.memory-match-result strong{font-weight:900}.memory-match-share-note{overflow-wrap:anywhere;font-size:.8rem}@media (max-width:350px) and (orientation:portrait){.memory-match-page .memory-match-board[data-cards="32"]{width:min(100%,calc(100svh - 19.5rem))}}.memory-win-dialog{position:fixed;inset:0;margin:auto;width:min(90%,26rem);max-height:calc(100svh - 1.5rem);overflow:auto;padding:1rem 1.15rem;border:1px solid var(--border);border-radius:.85rem;background:var(--panel);color:var(--text)}.memory-win-dialog:not([open]){display:none}.memory-win-dialog[open]{display:grid;gap:.5rem;animation:memory-win-in .24s ease-out}.memory-win-dialog::backdrop{background:#100c22bb}.memory-win-brand{display:flex;align-items:center;gap:.45rem;font-size:1.05rem}.memory-win-dialog h2{font-size:1.5rem;font-weight:850;margin:0}.memory-win-dialog h2 span{color:#b28fff}.memory-win-time{font-size:clamp(2.1rem,9vw,3rem);font-weight:850;line-height:1;font-variant-numeric:tabular-nums}.memory-win-dialog .muted{font-size:.86rem}.memory-win-actions{display:flex;flex-wrap:wrap;gap:.45rem}.memory-win-actions button{min-height:2.3rem;font-size:.85rem;padding:.35rem .6rem}.memory-win-dialog textarea{width:100%;min-height:3.4rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:.35rem;padding:.3rem;font-size:.78rem}@keyframes memory-win-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.memory-win-dialog[open]{animation:none}}.memory-win-dialog{border-color:#b58a3d;box-shadow:0 0 0 3px color-mix(in srgb,#b58a3d 22%,transparent)}.memory-win-kicker{color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.memory-win-url{color:var(--text);font-weight:800;text-decoration:underline}.height-lab{font-family:ui-rounded,Trebuchet MS,system-ui,sans-serif;line-height:1.4;color:var(--text);max-width:760px;margin:auto;padding:clamp(10px,2.6vw,24px)}.height-lab .game-intro{position:relative;background:linear-gradient(110deg,#100b20 12%,#221334 65%,#111a30);border:1px solid #393049;border-radius:15px;color:#faf7ff;padding:9px 63px 9px 13px}.height-lab .kicker{font-size:.65rem;letter-spacing:.09em;text-transform:uppercase;color:#d3adff;font-weight:800}.height-lab .game-intro h1{font-size:clamp(1.38rem,3.8vw,2.05rem);line-height:1.07;letter-spacing:-.035em;font-weight:850;margin:.14em 0}.height-lab .game-intro p:last-of-type{font-size:.85rem}.height-lab .lab-sound{position:absolute;top:4px;right:5px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #8b72ae;border-radius:11px;background:#211837;color:#faf7ff}.height-lab .lab-sound[aria-pressed=false]{background:#100b20;color:#c1b9d4}.height-lab .lab{background:#faf8ff;border:1px solid #ddd1ed;border-radius:18px;color:#172f26;padding:clamp(9px,2.5vw,19px);margin-top:8px;max-width:none}.height-lab .round{color:#5a3c8e;font-size:.82rem;font-weight:800}.height-lab .finish h2,.height-lab .play h2{font-size:clamp(1.12rem,4.5vw,1.48rem);font-weight:850;line-height:1.2}.height-lab .intro{font-size:.9rem;margin:.22rem 0 .44rem}.height-lab .stage{position:relative;height:clamp(100px,calc(100svh - 375px),250px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 8px;border-bottom:4px solid #79639c;border-radius:13px 13px 0 0;background:repeating-linear-gradient(0deg,#cfb9ef55 0 1px,transparent 1px 25%),#f1e7ff;overflow:hidden}.height-lab .slot{position:relative;height:100%;min-width:0;display:flex;align-items:end;justify-content:center}.height-lab .slot svg{display:block;width:min(100%,220px);overflow:hidden}.height-lab .handle{position:absolute;right:4px;z-index:2;width:44px;height:44px;transform:translateY(50%);border:2px solid white;border-radius:50%;background:#6d28d9;color:white;font-size:22px;font-weight:850;display:grid;place-items:center;touch-action:none;cursor:ns-resize;box-shadow:0 1px 5px #51308765;user-select:none}.height-lab .caption{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;gap:6px;font-weight:800;margin:.14rem 0 .22rem;font-size:.79rem}.height-lab .slider{display:grid;gap:2px;color:#422269;font-weight:800;font-size:.85rem}.height-lab .slider input{width:100%;height:44px;margin:0;accent-color:#6d28d9}.height-lab .actions{display:flex;align-items:center}.height-lab .actions button,.height-lab .finish button{background:#6d28d9;color:#fff;border:0;min-height:44px;padding:.45rem 1rem;border-radius:11px;font-weight:850}.height-lab .result{font-size:.83rem;margin:0 0 .35rem;line-height:1.28}.height-lab .result a{color:#55238f;font-weight:800;text-decoration:underline}.height-lab .guessline{position:absolute;width:100%;border-top:2px dashed #7026ba;left:0;pointer-events:none}.height-lab .guessline span{position:absolute;right:1px;top:-1.2rem;color:#55238f;font-size:.67rem;font-weight:900}.height-lab .finish p{margin:.35rem 0 .5rem}.height-lab .about-lab{margin:15px 0 4px;padding:12px 15px;background:var(--panel);border:1px solid var(--border);border-radius:16px;color:var(--muted);font-size:.9rem}.height-lab .about-lab h2{font-size:1.08rem;color:var(--text);font-weight:850;margin:0 0 5px}.height-lab .about-lab strong{color:var(--text)}.height-lab .about-lab p{margin:.45rem 0}.height-lab [hidden]{display:none!important}@media (max-height:620px){.height-lab .game-intro{padding-block:6px}.height-lab .play h2{font-size:1.12rem}.height-lab .round{font-size:.72rem}.height-lab .caption{font-size:.74rem}.height-lab .game-intro p:last-of-type,.height-lab .intro,.height-lab .slider>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.height-lab .lab{padding:8px}.height-lab .play h2{margin-bottom:5px}}@media (min-width:580px) and (max-height:520px){.height-lab .play{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;align-items:center}.height-lab .play h2,.height-lab .round{grid-column:1/-1}.height-lab .stage{height:clamp(76px,calc(100svh - 244px),160px)}}.parking-game{width:min(100% - 24px,560px);margin:0 auto;padding:10px 0 32px;color:var(--text,#182243)}.parking-game header{background:transparent;text-align:center;margin:0 0 9px}.parking-game h1{font-size:clamp(1.4rem,4.2vw,2.15rem);font-weight:900;line-height:1.12;margin:2px 0}.parking-game header p{margin:0;color:#47536d;font-size:.86rem}.parking-game p.parking-eyebrow{font-size:.67rem;letter-spacing:.12em;font-weight:800;color:#4b45a1}.parking-panel{margin:auto;border:1px solid #d9dfef;border-radius:16px;background:#fff;display:grid;justify-items:center;gap:7px;padding:9px 12px;box-shadow:0 10px 30px #23367114}.parking-status{display:flex;justify-content:space-between;gap:8px;width:min(100%,390px);font-size:.8rem}.parking-lot{position:relative;width:min(calc(100% - 20px),390px,max(158px,calc(100svh - 245px)));aspect-ratio:1;box-sizing:content-box;border:2px solid #55627c;border-radius:9px;background-color:#28344d;background-image:linear-gradient(90deg,#73819e56 1px,transparent 0),linear-gradient(180deg,#73819e56 1px,transparent 0);background-size:16.666667% 16.666667%;touch-action:none}.parking-exit{left:100%;top:33.33333%;height:16.66667%;place-items:center;width:18px;color:#fff;background:#1b6751;font-size:1.12rem;font-weight:900;border-radius:0 6px 6px 0}.parking-car,.parking-exit{position:absolute;display:grid}.parking-car{box-sizing:border-box;place-items:center;color:white;border:2px solid #28344d;border-radius:9px;touch-action:none;cursor:grab;user-select:none;box-shadow:inset 0 -3px #0004}.parking-car:active{cursor:grabbing}.parking-car.active{outline:2px solid #fff;outline-offset:-4px}.parking-car:focus-visible{z-index:2;outline-offset:-5px}.parking-actions,.parking-controls{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;width:100%;flex-wrap:wrap}.parking-controls{font-size:.85rem}.parking-actions button,.parking-controls button{background:#edf1ff;color:#2c3665;font-weight:750;border:1px solid #ccd4ed;border-radius:8px;min-width:44px;min-height:40px;padding:3px 10px;font-size:.8rem;cursor:pointer}.parking-controls button:not(.parking-primary){font-size:1.25rem}.parking-actions button:disabled,.parking-controls button:disabled{opacity:.42;cursor:default}.parking-controls button.parking-primary{background:#4736a2;color:#fff}.parking-selection{font-weight:700;margin-right:2px}.parking-about{font-size:.92rem;line-height:1.55;padding:18px 0;color:#47536d}.parking-about h2{font-weight:850;color:var(--text,#182243)}.parking-about a{color:#403391;text-decoration:underline}.parking-panel{color:#182243}html[data-theme=dark] .parking-about,html[data-theme=dark] .parking-game header p{color:#c1cbea}html[data-theme=dark] .parking-about a,html[data-theme=dark] .parking-game p.parking-eyebrow{color:#aebaff}html[data-theme=dark] .parking-about h2,html[data-theme=dark] .parking-game h1{color:#f1f4ff}.parking-status{align-items:center}.parking-status-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.parking-status-actions button{display:grid;place-items:center;min-width:44px;min-height:44px;color:#3d347e;background:#edf1ff;border-radius:8px;cursor:pointer}.parking-car{background:transparent;border:0;box-shadow:none;overflow:visible;container-type:size}.parking-vehicle{display:block;width:100%;height:100%;pointer-events:none}.parking-vehicle-vertical{position:absolute;left:50%;top:50%;width:100cqh;height:100cqw;max-width:none;transform:translate(-50%,-50%) rotate(90deg)}.parking-car.active{outline:2px solid #dfe8ff;outline-offset:-2px}.parking-car:focus-visible{outline:3px solid #fae867}.parking-lot-won .parking-exit{background:#137752;animation:parking-win .55s ease-out both}.parking-win{color:#116446;animation:parking-win .55s ease-out both}@keyframes parking-win{0%{opacity:.45;filter:brightness(1.35)}45%{opacity:1;filter:brightness(1.12)}to{opacity:1;filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.parking-lot-won .parking-exit,.parking-win{animation:none}}html[data-theme=dark] .parking-panel{background:var(--panel);color:var(--text);border-color:var(--border);box-shadow:none}html[data-theme=dark] .parking-actions button,html[data-theme=dark] .parking-controls button:not(.parking-primary),html[data-theme=dark] .parking-status-actions button{color:#e6dfff;background:#2b2340;border:1px solid #4b3c67}html[data-theme=dark] .parking-win{color:#79e4b4}@media(prefers-reduced-motion:no-preference){.parking-car:not(.parking-car-dragging):not(:active){transition:left .14s ease-out,top .14s ease-out}}.parking-ml-guide{margin-block:1rem;padding-block:.75rem;border-top:1px solid var(--border)}.parking-ml-guide ol{padding-inline-start:1.45rem;list-style:decimal;margin:.45rem 0 0}.parking-ml-guide li+li{margin-block-start:.35rem}.chess-page{padding-block:.55rem 2rem}.chess-page section>.flex,.chess-page>nav{margin-bottom:.35rem}.chess-page section>.flex h1+p,.chess-page section>.flex>span{display:none}.chess-page section{position:relative;min-width:0}.chess-page section>.flex{padding-inline-end:7rem}.chess-page section>.panel{padding:.55rem}.chess-page .panel>.justify-end{margin:0}.chess-page .sound-control{position:absolute;inset:0 0 auto auto;min-height:2rem;padding:.2rem .45rem}.brainoxi-chess{--light-square:#ddd0f3;--dark-square:#8f72b6;display:grid;gap:.65rem;justify-content:center;grid-template-columns:minmax(0,min(31rem,calc(100svh - 15rem))) minmax(11rem,14rem)}.brainoxi-chess[data-board=classic]{--light-square:#e7ead1;--dark-square:#78945e}.brainoxi-chess[data-board=walnut]{--light-square:#ebcba5;--dark-square:#ac7855}.chess-options,.chess-play{min-width:0}.chess-status{font-size:.875rem;margin-block:0 .35rem;min-height:1.25rem}.chess-board{display:grid;grid-template:repeat(8,minmax(0,1fr)) /repeat(8,minmax(0,1fr));width:100%;aspect-ratio:1;border:1px solid var(--border);border-radius:.4rem;overflow:hidden}.chess-board button{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:var(--light-square);color:#171523;touch-action:manipulation;cursor:pointer}.chess-board button[data-dark=true]{background:var(--dark-square)}.chess-board button[data-last=true]{box-shadow:inset 0 0 0 4px #ffe174}.chess-board button[data-check=true]{background:#ed9aa9}.chess-board button:focus-visible,.chess-board button[aria-pressed=true]{outline:3px solid #36e2e1;outline-offset:-3px;z-index:1}.chess-board button[data-legal=true]:after{content:"";position:absolute;width:26%;aspect-ratio:1;border-radius:50%;background:#19213b9e;pointer-events:none}.chess-board button[data-legal=true]:has(.chess-piece):after{width:86%;background:transparent;border:3px solid #18243e}.chess-piece{display:block;width:84%;height:84%;max-width:100%;max-height:100%;pointer-events:none}.chess-piece[data-color=w]{color:#fff8ec;--piece-edge:#222137}.chess-piece[data-color=b]{color:#222137;--piece-edge:#e6d9c8}.chess-file,.chess-rank{position:absolute;line-height:1;font-size:clamp(.45rem,1.4svh,.7rem);font-weight:800}.chess-rank{top:2px;left:2px}.chess-file{bottom:2px;right:2px}.chess-options{align-content:start;gap:.5rem}.chess-selects{display:grid;gap:.35rem}.chess-selects label{display:grid;gap:.15rem;font-size:.75rem;font-weight:700}.chess-selects select{width:100%;min-width:0;border:1px solid var(--border);border-radius:.45rem;background:var(--surface,#20243b);color:inherit;padding:.3rem .35rem}.chess-selects option{background:#20243b;color:#fff}.chess-restart{justify-self:start;padding:.3rem .55rem;font-size:.82rem}.chess-opponent-note,.chess-record{font-size:.75rem;margin:0}.chess-record small{display:block;font-size:inherit}.chess-promotion{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.3rem;text-transform:capitalize}.chess-promotion button{padding:.25rem .4rem}@media (max-width:580px) and (orientation:portrait){.chess-opponent-note,.chess-page>nav{display:none}.brainoxi-chess{grid-template-columns:minmax(0,min(100%,calc(100svh - 17rem)));gap:.35rem}.chess-selects{grid-template-columns:1fr 1fr}.chess-options{grid-template-columns:1fr auto;align-items:end;gap:.3rem}.chess-record{grid-column:1/-1}.chess-record small{display:inline;margin-left:.25rem}}@media (orientation:landscape) and (max-height:520px){.chess-opponent-note,.chess-page>nav{display:none}.brainoxi-chess{grid-template-columns:minmax(0,min(48vw,calc(100svh - 8rem))) minmax(10rem,13rem)}}.chess-page>.grid{grid-template-columns:minmax(0,1fr);gap:1.5rem}.chess-page>.grid>aside{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.85rem}.chess-page>.grid>aside>*{margin:0}.chess-page>.grid>aside>h2{grid-column:1/-1}.brainoxi-chess{gap:clamp(.55rem,2vw,1.15rem);grid-template-columns:minmax(0,min(50rem,calc(100svh - 8rem))) minmax(13rem,19rem)}.chess-boardbar{display:flex;align-items:center;justify-content:space-between;min-height:1.25rem;margin-bottom:.35rem}.chess-status{min-height:0;margin:0;text-align:right}.chess-player{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;font-size:.82rem;font-weight:750}.chess-player i{width:.55rem;height:.55rem;border:1px solid #a59abf;border-radius:50%;background:#453758}.chess-player[data-side=white] i{background:#fff8ec}.chess-you{margin-top:.45rem}.chess-you span{color:var(--muted,#a9abc4);font-weight:400}.chess-options{display:grid;grid-template-columns:minmax(0,1fr);gap:.55rem;padding:.7rem;align-self:start;border:1px solid var(--border);border-radius:.85rem;background:var(--panel,#16172b)}.chess-kicker{font-size:.65rem;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:var(--muted,#bdb5d2);margin:0}.chess-studio-head h2{font-size:1.12rem;font-weight:800;margin:.05rem 0 0}.chess-panel-nav{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.18rem;border-radius:.55rem;background:color-mix(in srgb,var(--border) 55%,transparent)}.chess-panel-nav button{display:flex;justify-content:center;align-items:center;gap:.35rem;min-height:1.7rem;border-radius:.4rem;font-size:.75rem;white-space:nowrap}.chess-panel-nav button[aria-pressed=true]{background:var(--surface,var(--panel,#20223a));box-shadow:0 1px 3px #0003;font-weight:750}.chess-panel-nav span{font-size:.65rem;opacity:.75}.chess-opponents{display:grid;gap:.35rem}.chess-opponents button{display:grid;grid-template-columns:1.7rem 1fr auto;align-items:center;gap:.4rem;text-align:left;min-width:0;min-height:2rem;padding:.24rem .35rem;border:1px solid var(--border);border-radius:.5rem}.chess-opponents button[aria-pressed=true]{border-color:#9478e9;background:color-mix(in srgb,#8e6ce5 19%,transparent)}.chess-avatar{display:grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:.33rem;background:#6e48a8;color:#fff;font-size:.72rem;font-weight:850}[data-level=hard] .chess-avatar{background:#226468}[data-level=advanced] .chess-avatar{background:#854767}.chess-opponent-name{font-size:.8rem;font-weight:800}.chess-opponents small{font-size:.68rem;opacity:.78}.chess-options .chess-selects{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.45rem}.chess-options .chess-restart{align-self:end;min-height:2.1rem;white-space:nowrap}.chess-moves{min-height:5rem;max-height:9rem;overflow:auto}.chess-moves p{font-size:.8rem}.chess-moves li{display:grid;grid-template-columns:2rem 1fr 1fr;font-size:.85rem;padding:.16rem .35rem;border-bottom:1px solid var(--border)}.chess-moves li span:first-child{opacity:.72}@media (max-width:640px) and (orientation:portrait){.brainoxi-chess{grid-template-columns:minmax(0,min(100%,calc(100svh - 17.5rem)));gap:.32rem}.chess-opponent-note,.chess-opponents .chess-avatar,.chess-studio-head,.chess-you{display:none}.chess-options{padding:.38rem;gap:.3rem}.chess-opponents{grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem}.chess-opponents button{grid-template-columns:minmax(0,1fr);gap:0;text-align:center;min-height:2.05rem;padding:.08rem}.chess-opponent-name{font-size:.75rem}.chess-opponents small{font-size:.65rem;line-height:1.2}.chess-record small{display:inline;margin-left:.2rem}.chess-boardbar{margin-bottom:.22rem}.chess-status{font-size:.75rem}}@media (orientation:landscape) and (max-height:520px){.brainoxi-chess{grid-template-columns:minmax(0,min(48vw,calc(100svh - 8rem))) minmax(10rem,15rem)}.chess-opponent-note,.chess-studio-head,.chess-you{display:none}.chess-options{padding:.4rem;gap:.3rem}}@media (max-width:640px) and (orientation:portrait){.chess-moves{min-height:2rem;max-height:2.3rem}}.chess-page{padding-top:.45rem}.chess-boardbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.35rem}.chess-boardbar .sound-control{position:static;min-height:1.65rem;padding:.12rem .35rem;white-space:nowrap;font-size:.7rem}.chess-boardbar .sound-control svg{width:.85rem;height:.85rem}.chess-status{line-height:1.15}@media (orientation:landscape) and (max-height:520px){.chess-boardbar .sound-control{font-size:0;padding:.15rem .3rem}.chess-boardbar .sound-control svg{width:.8rem;height:.8rem}}.chess-options .chess-selects{grid-template-columns:minmax(0,1fr) minmax(0,1.03fr) auto}.chess-sound-controls{display:flex;align-items:center;gap:.22rem}.chess-volume{position:relative;font-size:.7rem}.chess-volume>summary{cursor:pointer;list-style:none;padding:.18rem .34rem;border:1px solid var(--border);border-radius:.42rem;line-height:1.1rem}.chess-volume>summary::-webkit-details-marker{display:none}.chess-volume[open]>summary{border-color:#9478e9}.chess-volume>label{position:absolute;z-index:10;inset:.2rem 0 auto auto;transform:translateY(1.55rem);min-width:9.5rem;padding:.5rem;border-radius:.5rem;border:1px solid var(--border);background:var(--panel,#16172b);font-size:.75rem;font-weight:700;box-shadow:0 4px 15px #0004}.chess-volume output{float:right}.chess-volume input{display:block;width:100%;margin:.35rem 0 .1rem;accent-color:#9478e9}.chess-piece[data-piece-set=regal]{stroke-width:2.05}.chess-piece[data-piece-set=regal][data-color=w]{color:#fff3ce}.chess-piece[data-piece-set=regal][data-color=b]{color:#38254b}.chess-piece[data-piece-set=deco]{stroke-linejoin:miter}.chess-piece[data-piece-set=deco][data-color=w]{color:#f5f5ee}.chess-piece[data-piece-set=deco][data-color=b]{color:#19454a}.chess-piece[data-piece-set=outline]{stroke-width:2.45}.chess-piece[data-piece-set=outline] .chess-piece-body{fill:color-mix(in srgb,currentColor 40%,transparent)}.chess-piece[data-piece-set=outline][data-color=b] .chess-piece-body{fill:color-mix(in srgb,currentColor 76%,transparent)}.chess-piece[data-piece-set=outline][data-color=w]{color:#ffeccc;--piece-edge:#242038}.chess-piece[data-piece-set=outline][data-color=b]{color:#2a213b;--piece-edge:#f6debd}.chess-panel-nav{grid-template-columns:1.2fr 1fr .8fr}.chess-guide p+p{margin-top:.35rem}.chess-play{position:relative}.chess-promotion{position:absolute;z-index:3;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:max-content;max-width:100%;padding:.55rem;border:1px solid var(--border);border-radius:.6rem;background:var(--panel,#16172b);box-shadow:0 8px 22px #0006}.chess-page{padding-bottom:.3rem}@media (min-width:320px) and (min-height:520px),(orientation:landscape) and (min-height:320px){.chess-page>.grid>aside,body:has(.chess-page) .site-footer{display:none}}@media (orientation:portrait) and (max-height:600px){.brainoxi-chess{grid-template-columns:minmax(0,min(100%,calc(100svh - 19.5rem)))}}@media (min-width:641px) and (min-height:521px){.brainoxi-chess{grid-template-columns:minmax(0,min(100svh - 8rem,65vw)) minmax(0,1fr);justify-content:stretch}.chess-options{width:100%}}@media (orientation:landscape) and (max-height:520px){.brainoxi-chess{grid-template-columns:minmax(0,min(48vw,100svh - 8rem)) minmax(0,1fr);justify-content:stretch}}@media (min-width:641px),(orientation:landscape){.chess-boardbar{height:1.7rem;min-height:1.7rem;margin-bottom:.35rem}.chess-boardbar .chess-status{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.brainoxi-chess>.chess-options{margin-top:2.05rem}.chess-page section>.panel{padding-inline:.27rem}.brainoxi-chess{column-gap:.55rem}}.chess-page section:has(.brainoxi-chess)>.panel{padding:0;border:0;border-radius:0;background:none;box-shadow:none}.chess-page .brainoxi-chess{width:100%}.chess-page .chess-options,.chess-page .chess-play{border:1px solid var(--border);border-radius:18px;background:var(--panel)}.chess-page .chess-play{padding:clamp(.35rem,.8vw,.75rem);align-self:start}.chess-page .chess-options{width:100%;align-content:start}@media (min-width:641px),(orientation:landscape){.chess-page .brainoxi-chess{column-gap:clamp(.45rem,1.25vw,1rem);grid-template-columns:minmax(0,min(63%,100svh - 8rem)) minmax(0,1fr)}.chess-page .brainoxi-chess>.chess-options{margin-top:0;justify-self:stretch;align-self:stretch}}@media (orientation:landscape) and (max-height:520px){.chess-page .brainoxi-chess{grid-template-columns:minmax(0,min(48%,100svh - 8rem)) minmax(0,1fr)}}@media (max-width:640px) and (orientation:portrait){.chess-page .brainoxi-chess{grid-template-columns:minmax(0,1fr)}.chess-page .chess-play{width:min(100%,calc(100svh - 17.5rem));justify-self:center}}@media (max-width:640px) and (orientation:portrait) and (max-height:600px){.chess-page .chess-play{width:min(100%,max(12rem,calc(100svh - 19.5rem)))}}.chess-page.shell{width:100%;max-width:1160px;padding-inline:20px}@media (max-width:640px){.chess-page.shell{padding-inline:14px}}.chess-result{display:flex;align-items:center;gap:.55rem;border:1px solid var(--border);border-radius:.55rem;padding:.28rem .55rem;font-size:.76rem;line-height:1.25}.chess-result[data-outcome=wins]{border-color:#b78d37;background:linear-gradient(105deg,#4d3420,#312527);color:#ffe1a6}.chess-result-medal{flex:none;display:grid;place-items:center;width:1.3rem;height:1.45rem;font-weight:800}.chess-result[data-outcome=wins] .chess-result-medal{background:#f4bd61;color:#402700;clip-path:polygon(0 0,100% 0,100% 100%,50% 77%,0 100%);padding-bottom:.2rem}.chess-result span:not(.chess-result-medal){opacity:.9}@media (max-width:640px) or (max-height:520px){.chess-result{font-size:.7rem;padding:.12rem .35rem;gap:.35rem}.chess-result-medal{height:1.15rem}}.chess-guide details{border-top:1px solid var(--border);padding-block:.28rem}.chess-guide details:first-of-type{margin-top:.35rem}.chess-guide summary{font-size:.75rem;font-weight:750;cursor:pointer}.chess-guide details p{margin:.2rem 0 0}.chess-guide dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.3rem .6rem;margin:.3rem 0 0;font-size:.75rem}.chess-guide dt{font-weight:750}.chess-guide dd{margin:0}@media (max-height:600px){body:has(.chess-page) .site-header{position:relative}}@media (orientation:landscape) and (max-height:520px){.chess-page .brainoxi-chess{grid-template-columns:minmax(0,min(48%,max(7rem,calc(100svh - 9rem)))) minmax(0,1fr)}}.chess-page{padding-block:.45rem}.chess-page .chess-play{--board-gap:.35rem}.chess-page .chess-boardbar{margin-bottom:var(--board-gap)}@media (min-width:641px) and (min-height:521px){.chess-page .chess-you{display:flex;height:1.7rem;margin-top:var(--board-gap)}}@media (orientation:landscape) and (max-height:520px){.triangle-page h1+p,.triangle-page>nav{display:none}.triangle-page section{position:relative}.triangle-page .sound-control{position:absolute;right:0;top:0;padding-block:.2rem}.triangle-page .panel>.justify-end{margin:0}.triangle-game{grid-template-columns:1fr 1fr;align-items:center}.triangle-game [role=group]{grid-column:1;grid-row:1/3}.triangle-game>button,.triangle-game>p{grid-column:2}.triangle-game [aria-pressed]{width:min(44px,10svh);height:min(44px,10svh)}}.taller-quiz{font-family:ui-rounded,Trebuchet MS,system-ui,sans-serif;line-height:1.4}.taller-quiz *{box-sizing:border-box}.taller-quiz button{font:inherit;color:inherit}.taller-quiz button:not(:disabled){cursor:pointer}.taller-quiz a:focus-visible,.taller-quiz button:focus-visible,.taller-quiz h2:focus-visible,.taller-quiz p:focus-visible,.taller-quiz summary:focus-visible{outline:3px solid #225ec1;outline-offset:4px}.taller-quiz{max-width:760px;margin:auto;padding:clamp(14px,3vw,28px)}.taller-quiz header.game-intro{background:linear-gradient(110deg,#f8f6ff 12%,#f1ecff 65%,#f4f8ff);border-radius:26px;color:#101729;padding:clamp(15px,3vw,26px);position:relative;overflow:hidden;border:2px solid #e2e8f0}.taller-quiz header.game-intro:after{content:"";position:absolute;inset:0 0 0 auto;width:48px;opacity:.3;background:repeating-linear-gradient(180deg,transparent 0 12px,#bb8bf3 12px 14px) right 14px center/24px 100% no-repeat;pointer-events:none}.taller-quiz .kicker{font-size:.71rem;letter-spacing:.16em;text-transform:uppercase;margin:0;font-weight:800;color:#7143ae}.taller-quiz h1{font-size:clamp(2.2rem,7.5vw,4.5rem);line-height:.98;margin:.13em 0 .17em;letter-spacing:-.06em}.taller-quiz header.game-intro p:last-child{margin:0;font-size:.94rem;max-width:85%}.taller-quiz .shell{background:#fffdf4;border:1px solid #d9d6c1;border-radius:24px;margin-top:12px}.taller-quiz .meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;font-weight:800;margin:0 0 7px;color:#355044}.taller-quiz .phase{padding:4px 9px;background:#e9eed8;border-radius:12px}.taller-quiz h2{font-size:clamp(1.15rem,4vw,1.55rem);margin:0 0 10px;letter-spacing:-.025em}.taller-quiz .choices{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(6px,1.5vw,12px)}.taller-quiz .choice{border:2px solid var(--border);border-radius:17px;background:var(--bg);min-width:0;min-height:102px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 3px;line-height:1.13;box-shadow:0 3px 0 var(--border);font-weight:850;font-size:clamp(.72rem,2.65vw,1.02rem);overflow-wrap:anywhere}.taller-quiz .choice svg{display:block;width:clamp(48px,17vw,112px);height:clamp(48px,15vw,104px);flex:none}.taller-quiz .choice[data-key=yes]{border-color:#26744e;box-shadow:0 3px #26744e}.taller-quiz .choice[data-key=miss]{border-color:#a45637;box-shadow:0 3px #a45637}.taller-quiz .choice[aria-disabled=true]{cursor:default}.taller-quiz .choice:hover[aria-disabled=false]{filter:brightness(1.03);transform:translateY(-1px)}.taller-quiz .label{text-align:center;max-width:100%;padding:0 1px}.taller-quiz .feedback{margin:11px 0 0;font-weight:850}.taller-quiz .heights{padding:0;list-style:none;margin:7px 0;font-size:.85rem;display:flex;gap:6px 13px;flex-wrap:wrap}.taller-quiz .heights a{color:#22594a;text-underline-offset:3px}.taller-quiz .next{min-height:44px;border:2px solid #224c3a;border-radius:13px;background:#dbe8b3;padding:7px 16px;font-weight:900;margin-top:7px}.taller-quiz .finish{padding-block:7px}.taller-quiz .finish p{margin:0 0 9px}.taller-quiz details{font-size:.85rem;margin:12px 4px;color:#3d5147}.taller-quiz summary{cursor:pointer;font-weight:800}.taller-quiz details p{margin:.4em 0}.taller-quiz .credit{font-size:.78rem;color:#496154;margin:9px 2px 0}@media(max-height:570px){.taller-quiz header.game-intro{padding:12px 15px}.taller-quiz h1{font-size:2.2rem}.taller-quiz .choice svg{height:55px;width:63px}.taller-quiz .choice{min-height:84px}}@media(prefers-reduced-motion:reduce){.taller-quiz .choice:hover{transform:none!important}}.taller-quiz header.game-intro{color:#faf7ff;background:linear-gradient(110deg,#100b20 12%,#221334 65%,#111a30);border-color:#393049}.taller-quiz .kicker{color:#d3adff}.taller-quiz .shell{color:#172f26}.taller-quiz .credit,.taller-quiz details{color:#c1b9d4}.taller-quiz .game-intro{padding:9px 13px;border-radius:15px}.taller-quiz .game-intro h1{font-size:clamp(1.38rem,3.8vw,2.05rem);letter-spacing:-.035em;line-height:1.07;margin:.16em 0}.taller-quiz .game-intro p:last-child{font-size:.85rem}.taller-quiz .game-intro .kicker{letter-spacing:.09em;font-size:.65rem}.taller-quiz .choice svg{max-width:100%}@media (max-width:500px){.taller-quiz .choice svg{width:clamp(64px,19vw,88px);height:clamp(55px,16vw,69px)}.taller-quiz .choice{padding-block:4px}}.taller-quiz .choice{position:relative}.taller-quiz .answer-mark{position:absolute;top:2px;right:2px;display:grid;place-items:center;border-radius:50%;width:23px;height:23px;color:white;border:1px solid white;font:900 18px/1 system-ui,sans-serif;pointer-events:none}.taller-quiz .answer-mark.yes{background:#176444}.taller-quiz .answer-mark.miss{background:#9c3027}.taller-quiz .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.taller-quiz .game-intro .kicker{padding-right:85px}.taller-quiz .quiz-sound{position:absolute;z-index:1;top:4px;right:5px;min-height:44px;padding:0 9px;border:1px solid #8b72ae;border-radius:12px;background:#211837;color:#faf7ff;font-size:.74rem;font-weight:850;white-space:nowrap}.taller-quiz .quiz-sound[aria-pressed=false]{background:#121023;color:#c1b9d4}@media(max-width:350px){.taller-quiz .game-intro .kicker{padding-right:77px;letter-spacing:.05em}}.taller-quiz .quiz-sound{width:44px;display:grid;place-items:center;padding:0}.taller-quiz .game-intro .kicker{padding-right:49px}.taller-quiz .quiz-about{border:1px solid #393049;border-radius:15px;background:#121023;color:#c1b9d4;padding:12px 15px;margin:15px 0 0;font-size:.9rem}.taller-quiz .quiz-about h2{margin:0 0 6px;color:#faf7ff;font-size:1.05rem}.taller-quiz .quiz-about p{margin:.4rem 0}.taller-quiz .next-game{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;margin-right:9px;background:#6d28d9;color:#fff;text-decoration:none;font-weight:850}.taller-quiz .next-game:hover{text-decoration:underline}.taller-quiz .reveal-area{position:relative}.taller-quiz .feedback>.reserve,.taller-quiz .reveal-slot[inert]{visibility:hidden}.taller-quiz .reveal-hint{position:absolute;inset:0 0 auto;margin:11px 0 0;color:#526078;font-size:.88rem}.taller-quiz .feedback{display:grid}.taller-quiz .feedback>span{grid-area:1/1}.taller-quiz .answer-mark.pop{animation:quiz-check-pop .36s ease-out both}@keyframes quiz-check-pop{0%{transform:scale(.6);opacity:.65}55%{transform:scale(1.18);opacity:1}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.taller-quiz .answer-mark.pop{animation:none}}.taller-quiz{color:var(--text)}.taller-quiz .shell{max-width:none;padding:clamp(12px,2.7vw,21px)}.taller-quiz #prompt{font-size:clamp(1.18rem,4.5vw,1.55rem);font-weight:850;margin:0 0 9px}.taller-quiz .finish #prompt{margin:0 0 8px}.taller-quiz .quiz-about{background:var(--panel);border-color:var(--border);color:var(--muted)}.taller-quiz .quiz-about h2{color:var(--text);font-weight:850}.taller-quiz details{color:var(--muted)}.taller-quiz .taller-celebration{display:flex;align-items:center;gap:9px;color:#ac6415;font-size:1.65rem;margin:0 0 8px}.taller-quiz .taller-celebration span:nth-child(2){font-size:2.2rem;animation:taller-trophy .5s ease-out both}.taller-quiz .taller-celebration span:not(:nth-child(2)){animation:taller-trophy .5s ease-out .09s both}@keyframes taller-trophy{0%{transform:scale(.7);opacity:.65}70%{transform:scale(1.12);opacity:1}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.taller-quiz .taller-celebration span{animation:none!important}}