/* Midnight / ivory. The board is the interface, not a section of a landing page. */
:root{--ink:#f2f0eb;--muted:#a5adbd;--green:#cbb98c;--green-soft:#263044;--coral:#dcb974;--coral-dark:#edcb88;--paper:#121824;--white:#1c2534;--line:#303b4e;--board-light:#e8dfca;--board-dark:#738293;background:#121824;color:#f2f0eb}
body{background:radial-gradient(ellipse at 55% 20%,#28354a 0,transparent 70%),#121824}
.navigation-rail{width:88px;background:#101620;border-right:1px solid #2b3545;padding:20px 8px}.brand{color:#e7d3ab}.brand-mark{width:36px;height:36px}.navigation-rail nav{margin-top:44px}.nav-button{color:#9ba8bc}.nav-button.active,.nav-button:hover{background:#2a3445;color:#f1d8a2}.rail-bottom{display:none}.app-shell{margin-left:88px;padding:0 28px}.header{height:64px;min-height:64px;padding:0;border-color:#303b4e}.header-title{color:#9caec6}.player-bar{gap:16px}.rank-glyph{background:#35405a;color:#e0c58f}.rank-badge strong,.header-metric{color:#e9e7df}.level-track{background:#3c4659}.icon-button{background:#2b3749;color:#e0d5bc;width:36px;height:36px}.icon-button:hover{background:#3d4d63}.primary{background:#dcb974;color:#18202d;box-shadow:none;font-size:13px}.primary:hover:not(:disabled){background:#edcb88;color:#101620}.outline-button,.wardrobe-trigger{background:#263246;border-color:#43506a;color:#ece2c9}
.playing-view{height:100dvh;overflow:hidden}.playing-view main{max-width:1200px}.playing-view .game-heading,.playing-view footer,.board-caption{display:none}.run-bar{padding:9px 0;margin:0;border:0;border-radius:0;background:transparent;height:55px;gap:14px}.run-icon{background:#2c394e;color:#dcc494}.run-heading h2{font-size:14px;color:#e6e8ec}.run-heading p{color:#9eaabd}.run-progress>span{width:25px;background:#394459}.run-progress>span.current{background:#e4c681;box-shadow:none}.run-score strong,#run-position{color:#b8c4d6}.game-tools{display:flex;gap:8px;position:absolute;right:28px;top:124px;z-index:2}.game-tools button{background:#263247;border:1px solid #3a4760;border-radius:9px;color:#d9e0ec;padding:8px 11px;font-size:12px}.game-tools span{margin-left:10px;color:#dfc38a}.game-tools button[aria-pressed=true]{background:#675538;color:#fff}.training-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:center;padding-top:9px}.board-column{width:calc(var(--board-size) + 32px);max-width:100%;justify-self:center}.board-card{padding:0 12px;border:1px solid #3c485a;background:#182231;border-radius:15px;box-shadow:0 18px 70px #0005;overflow:visible}.board-heading{min-height:37px;padding-left:15px}.turn-line{font-size:12px;color:#ece6d5}.puzzle-meta{color:#9daac0}.board-surround{grid-template-columns:12px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 17px;gap:0 4px}.board{overflow:visible;border:0;border-radius:3px;box-shadow:0 0 0 1px #0004;width:100%}.square{overflow:visible}.piece{width:91%;height:91%;filter:drop-shadow(0 3px 1px #0004);z-index:2}.square.last:before{background:#f1c46066;box-shadow:inset 0 0 0 2px #f3d58a55}.square.selected{box-shadow:inset 0 0 0 3px #fff0b4}.square.selected:before{background:#e9c66577}.square.legal:after{background:#1e344b66;z-index:3}.square:focus-visible{outline-color:#fff0b4}.rank-labels,.file-labels{color:#a8b6c9}.board-footer{min-height:39px;padding:0 0 4px 16px;font-size:11px;color:#b8c4d3}.training-sidebar{padding-top:40px;align-self:start;max-height:calc(100dvh - 145px);overflow:auto;scrollbar-width:thin}.task-card{padding:21px;border:1px solid #374256;background:#1b2636;border-radius:14px}.card-eyebrow{color:#d8bf8e}.task-card h2{font-size:25px;color:#f3eee4}.task-card>p{font-size:12px;color:#adbacd;line-height:1.6}.feedback{font-size:12px;min-height:50px}.feedback.neutral{background:#29374c;color:#d0dcec}.feedback.good{background:#24483c;color:#bbebcf}.feedback.bad{background:#573b3b;color:#ffcdc1}.feedback.help{background:#51472e;color:#f8dfa2}.help-actions button,.help-actions button:first-child{color:#c5cedc}.help-actions{margin:16px 0}.move-token{background:#38465b;color:#fff}.move-token.opponent{background:#28354a;color:#b5c5df}.solution-note{color:#c3d0df}.task-card .under-button{color:#9aaac1}
#play-menu{width:min(540px,94vw)}#play-menu .daily-challenge{background:#2a3b50;color:#f3e4c4;margin-bottom:18px}#play-menu .practice-summary{display:grid;grid-template-columns:1fr 1fr;margin-top:0;background:#253246;border-color:#3c4a61;color:#eee;gap:18px}#play-menu .practice-summary-title{grid-column:1/-1}#play-menu .quiet-note{display:block;color:#b1bdd1}dialog{background:#1c2738;color:#eee8da;border:1px solid #455269;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#090e18c9;backdrop-filter:blur(7px)}dialog p{color:#b3c0d1}.dialog-close{color:#d7deeb;background:#344057}.theme-card,.stats-panel,.stat-card{background:#1d293a;border-color:#34435a;color:#e9edf4}h1 em,.wardrobe-dialog h2 em{color:#dbc28e}.page-heading .eyebrow{color:#bba980}.board-theme{background:#28364b;border-color:#46516b;color:#e9e3d6}.board-theme.selected{background:#3d4652;border-color:#d2b57c}.toast{background:#e8d3a5;color:#182231}.pause-overlay{background:#182231f0;color:#eee}
@media(max-width:760px){.navigation-rail{position:fixed;inset:auto 0 0;width:100%;height:58px;padding:0 16px calc(env(safe-area-inset-bottom)*.5);flex-direction:row;border:0;border-top:1px solid #354056;background:#111a28}.navigation-rail .brand{display:none}.navigation-rail nav{margin:0;width:100%;display:flex;flex-direction:row;justify-content:space-around;gap:6px}.nav-button{padding:6px 20px;gap:3px;font-size:10px;border-radius:8px}.nav-button svg{width:19px;height:19px}.app-shell{margin:0;padding:0 12px}.header{height:43px;min-height:43px}.header-title{font-size:9px;letter-spacing:1px}.rank-badge,.streak-metric{display:none}.player-bar{gap:10px}.run-bar{height:42px;gap:7px}.run-icon,.run-heading p,.run-score{display:none}.run-heading h2{font-size:12px;margin:0}.run-progress-wrap{gap:7px}.run-progress{gap:4px}.run-progress>span{width:18px;height:5px}.game-tools{position:static;justify-content:center;margin:0 0 6px;gap:6px}.game-tools button{padding:6px 10px;font-size:11px}.game-tools span{margin-left:6px}.training-layout{display:flex;flex-direction:column;gap:7px;padding:0}.board-column{width:calc(var(--board-size) + 28px);max-width:100%}.board-card{padding:0 8px;border-radius:10px}.board-heading{min-height:27px}.turn-line{font-size:11px}.puzzle-meta{font-size:8px}.board-footer{min-height:31px;padding-bottom:3px;font-size:10px}.board-footer .icon-button{width:28px;height:26px;font-size:20px}.training-sidebar{padding:0;width:100%;max-height:calc(100dvh - var(--board-size) - 232px);min-height:135px;overflow:auto}.task-card{padding:9px 12px;border-radius:10px;display:grid;grid-template-columns:1fr auto;gap:6px 10px}.card-eyebrow,.task-card>h2,.task-card>#task-description,.task-card .under-button{display:none}.feedback{grid-column:1/-1;min-height:34px;padding:7px 9px;line-height:1.4;font-size:11px}.feedback-icon{font-size:15px}.help-actions{margin:0;gap:12px;min-height:34px}.help-actions button{font-size:10px}.task-card .primary{grid-column:2;padding:8px 10px;font-size:11px;min-width:104px}.task-card .move-list{grid-column:1/-1;margin:0}.solution-note,.reward-button{grid-column:1/-1}.move-token{padding:3px 7px;font-size:10px}.playing-view #storage-warning{position:fixed;bottom:60px;left:8px;right:8px;z-index:50}.view:not(#train-view){padding-bottom:75px}.page-heading{margin-top:20px}h1{font-size:29px}.mode-banner{padding:5px;margin:0;font-size:10px}.board-theme{padding:10px}#play-menu .practice-summary{display:grid}}
@media(max-height:580px) and (min-width:761px){.header{height:45px;min-height:45px}.run-bar{height:40px}.game-tools{top:94px}.training-sidebar{padding-top:42px;max-height:calc(100dvh - 90px)}.task-card{padding:12px}.task-card h2{font-size:19px}.task-card>p{margin-bottom:8px}.card-eyebrow{margin-bottom:6px}.board-column{width:calc(var(--board-size) + 70px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
.training-sidebar{grid-template-columns:1fr}
@media(max-width:760px){.header-title{display:flex}.header{justify-content:space-between}.player-bar{width:auto}.run-progress-wrap{flex-direction:row}.run-bar{flex-wrap:nowrap}.feedback{order:0}.help-actions{order:1}.task-card .primary{order:1;grid-row:2}.task-card .move-list{order:2}.task-card .solution-note{order:3}.task-card .reward-button{order:4}.training-sidebar{max-height:calc(100dvh - var(--board-size) - 235px)}.practice-summary .outline-button{display:flex}.toast{left:50%}}
.playing-view .app-shell{padding-bottom:0}.playing-view{overflow:clip}.playing-view .navigation-rail{min-height:0}
@media(max-width:760px){.task-card #next{grid-row:2}.navigation-rail{height:58px}.header{padding:0}}
/* v3: stable navigation, no expanding focus UI. */
@media(max-width:760px){.navigation-rail{position:relative;inset:auto;height:42px;padding:0 10px;border-top:0;border-bottom:1px solid #354056;background:#111a28}.navigation-rail nav{height:42px;align-items:center}.nav-button{flex-direction:row;gap:7px;padding:7px 12px;font-size:11px}.nav-button svg{width:15px;height:15px}.view:not(#train-view){padding-bottom:24px}.playing-view #storage-warning{bottom:8px}.training-sidebar{max-height:calc(100dvh - var(--board-size) - 260px);min-height:100px}.game-tools{margin-bottom:7px}.task-card .primary{min-height:34px}.task-card .feedback.good{border:1px solid #7dc995}}

/* Carved maple / walnut board, with a tactile edge; no perspective distortion. */
:root{--board-light:#e3ceb0;--board-dark:#80604a}
.board{box-shadow:0 1px 0 2px #c5a47a,0 6px 0 2px #57402f,0 9px 12px #0006;border-radius:2px}
.square{background-image:linear-gradient(110deg,#fff1,transparent 50%,#00000004)}
.square.dark{background-image:linear-gradient(110deg,#fff1,transparent 65%,#0001)}
.piece{width:52%;height:94%;object-fit:fill;align-self:flex-end;margin-bottom:2%;filter:drop-shadow(0 1px 1px #0006)}
.promotion-options .piece{width:auto;height:72px;object-fit:contain}
.board-card{background:linear-gradient(135deg,#343129,#211e1b);border-color:#5b4a38;box-shadow:0 18px 55px #0006}
.board-heading{color:#eadbc5}.rank-labels,.file-labels{color:#c8bba7}.file-labels{padding-top:5px}.board-footer{color:#c6b9a4}

@media(max-width:760px){.training-sidebar{max-height:calc(100dvh - var(--board-size) - 280px);min-height:105px}}
html:has(body.playing-view){overflow:hidden}
body.playing-view{position:fixed;inset:0;width:100%;height:100dvh}
@media(min-width:761px){.game-tools{position:static;justify-content:flex-end;margin:0 0 4px;height:32px}.training-sidebar{padding-top:0}}
/* Owner's original wooden board and figures; the UI follows the same warm materials. */
:root{--ink:#f8e8ca;--muted:#bca98c;--green:#d3a64d;--green-soft:#49351f;--coral:#d8af61;--coral-dark:#f1cc82;--paper:#17110d;--white:#2c2118;--line:#5e452c;--board-light:#e6ba7e;--board-dark:#663b1d;background:#17110d;color:#f8e8ca}
body{background:radial-gradient(ellipse at 50% 10%,#493323 0,transparent 70%),#17110d}
.navigation-rail{background:#160f0a;border-color:#503821}.nav-button{color:#bfa88a}.nav-button.active,.nav-button:hover{background:linear-gradient(135deg,#574026,#332518);color:#f1ce85;box-shadow:inset 0 0 0 1px #91693555}.brand{color:#e4b96a}
.header{border-color:#6e502c66}.header-title{color:#bfa98b}.header-metric,.rank-badge strong{color:#f2d6a3}.rank-glyph{background:#604322;color:#f1c477}.level-track{background:#6a4a2b}.run-heading h2{color:#f0d9b4}.run-heading p,.run-score strong,#run-position{color:#c5ae8e}.run-icon{background:#493320;color:#deb164}.run-progress>span{background:#5e4730}.run-progress>span.current{background:#e4b968}
.game-tools button,.icon-button,.outline-button,.wardrobe-trigger{background:linear-gradient(#4e3925,#302318);border-color:#75552e;color:#ead2a8}.game-tools span{color:#d4aa61}.icon-button:hover{background:#68492c}.primary{background:linear-gradient(#f0cf87,#b48239);border:1px solid #efcc7e;color:#27170a;box-shadow:inset 0 1px #fff7,0 3px 9px #0003}.primary:hover:not(:disabled){background:linear-gradient(#ffdfa0,#cca055);color:#27170a}
.board-card{background:linear-gradient(135deg,#3e2919,#1b130d);border:1px solid #a2773a77;box-shadow:0 14px 35px #0008;border-radius:8px}
.board{background:url('assets/ornate-board.png') center/100% 100%;padding:6.14% 6.8% 6.49% 6.43%;grid-template-rows:repeat(8,minmax(0,1fr));box-shadow:0 5px 14px #0008;border-radius:2px}
.square,.square.dark{background:transparent;aspect-ratio:auto;min-height:0}
.piece{width:52%;height:92%;align-self:center;margin:0;overflow:hidden;filter:drop-shadow(0 1px 1px #0005);flex:none}
.square.last:before{background:#f8d45f33;box-shadow:inset 0 0 0 2px #ffdc8466}.square.selected:before{background:#ffdf7844}.square.selected{box-shadow:inset 0 0 0 2px #ffe1a0}.square.legal:after{background:#22150c66}
.task-card,.theme-card,.stats-panel,.stat-card,dialog{background:linear-gradient(135deg,#392a1e,#241a12);border-color:#74542f;color:#f4e2c4}.task-card h2{color:#f3dfb9}.task-card>p,dialog p,.solution-note{color:#c7b295}.feedback.neutral{background:#4b3827;color:#e4ceb0}.feedback.good{background:#344633;color:#d4edbb}.feedback.help{background:#5a4425;color:#ffe3a4}.help-actions button,.help-actions button:first-child{color:#d3ba96}.move-token{background:#6b4c2b;color:#f5dfbb}.move-token.opponent{background:#403020;color:#c9b18f}.task-card .under-button{color:#b49a79}.dialog-close{background:#543a24;color:#efd1a1}.board-theme{background:#493421;border-color:#78552d;color:#ead2ad}.board-theme.selected{background:#70502c;border-color:#dcb66d}.toast{background:#edce8e;color:#29180b}.pause-overlay{background:#24180df2;color:#f6dfb6}
#play-menu .daily-challenge{background:#553a23;color:#f4ddb3}#play-menu .practice-summary{background:#39291c;border-color:#77542e;color:#ead3ad}
@media(max-width:760px){.navigation-rail{background:#1d140e;border-color:#6e4c2b}.board-card{padding:0 5px}.board-heading{padding-left:10px}.board-column{width:calc(var(--board-size) + 28px)}}
.square .piece{position:absolute;left:24%;top:3%;width:52%;height:86%;margin:0}
button{transition:background-color .15s,box-shadow .15s}button:active:not(:disabled){filter:brightness(1.08)}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Frame uses grid tracks, not percentage padding (which depends on parent width). */
.board{padding:0;grid-template-columns:6.43fr repeat(8,10.84625fr) 6.8fr;grid-template-rows:6.14fr repeat(8,10.92125fr) 6.49fr}
.board>.square:nth-child(8n+1){grid-column:2}
.board>.square:nth-child(n+1):nth-child(-n+8){grid-row:2}
.board>.square:nth-child(8n+2){grid-column:3}
.board>.square:nth-child(n+9):nth-child(-n+16){grid-row:3}
.board>.square:nth-child(8n+3){grid-column:4}
.board>.square:nth-child(n+17):nth-child(-n+24){grid-row:4}
.board>.square:nth-child(8n+4){grid-column:5}
.board>.square:nth-child(n+25):nth-child(-n+32){grid-row:5}
.board>.square:nth-child(8n+5){grid-column:6}
.board>.square:nth-child(n+33):nth-child(-n+40){grid-row:6}
.board>.square:nth-child(8n+6){grid-column:7}
.board>.square:nth-child(n+41):nth-child(-n+48){grid-row:7}
.board>.square:nth-child(8n+7){grid-column:8}
.board>.square:nth-child(n+49):nth-child(-n+56){grid-row:8}
.board>.square:nth-child(8n+8){grid-column:9}
.board>.square:nth-child(n+57):nth-child(-n+64){grid-row:9}
.rank-labels{padding-top:calc(var(--render-size,350px)*.0614);padding-bottom:calc(var(--render-size,350px)*.0649)}
.file-labels{padding-left:calc(var(--render-size,350px)*.0643);padding-right:calc(var(--render-size,350px)*.068)}
/* Three high-contrast directions. Visible silhouettes, not their bases, are centred. */
body[data-palette]{--surface:#f5f5ed;--surface2:#e6ebe3;--text:#223b34;--muted:#687b70;--line:#c1cec2;--accent:#315c4e;--accent-text:#fff9e8;--board-light:#ebeddf;--board-dark:#789687;background:radial-gradient(ellipse at 40% 0,#fff 0,transparent 70%),#dce5dc;color:var(--text)}
body[data-palette=midnight]{--surface:#172536;--surface2:#22364b;--text:#e8eef3;--muted:#a4b6c6;--line:#40566b;--accent:#b4d5e3;--accent-text:#142b3a;--board-light:#e2e8eb;--board-dark:#70889c;background:radial-gradient(ellipse at 40% 0,#29445b,transparent 70%),#101b29}
body[data-palette=stone]{--surface:#faf6ef;--surface2:#eae2d7;--text:#3c3431;--muted:#85766d;--line:#d1c4b6;--accent:#69544b;--accent-text:#fff5e5;--board-light:#eee7db;--board-dark:#ac9a8d;background:radial-gradient(ellipse at 40% 0,#fff,transparent 70%),#e3dbd1}
body[data-palette] .navigation-rail,body[data-palette] .header{background:var(--surface);border-color:var(--line)}
body[data-palette] .brand,body[data-palette] .header-title,body[data-palette] .header-metric,body[data-palette] .rank-badge strong,body[data-palette] .run-heading h2,body[data-palette] .task-card h2{color:var(--text)}
body[data-palette] .nav-button{color:var(--muted)}body[data-palette] .nav-button.active,body[data-palette] .nav-button:hover{background:var(--surface2);color:var(--text);box-shadow:none}
body[data-palette] .game-tools button,body[data-palette] .icon-button,body[data-palette] .outline-button,body[data-palette] .wardrobe-trigger{background:var(--surface2);border-color:var(--line);color:var(--text)}
body[data-palette] .game-tools span,body[data-palette] .card-eyebrow{color:var(--accent)}body[data-palette] .primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);box-shadow:0 2px 5px #0001}body[data-palette] .primary:hover:not(:disabled){filter:brightness(1.12)}
body[data-palette] .task-card,body[data-palette] .theme-card,body[data-palette] .stats-panel,body[data-palette] .stat-card,body[data-palette] dialog{background:var(--surface);border-color:var(--line);color:var(--text)}
body[data-palette] .task-card>p,body[data-palette] .run-heading p,body[data-palette] .help-actions button,body[data-palette] .help-actions button:first-child,body[data-palette] .task-card .under-button,body[data-palette] .solution-note,body[data-palette] #run-position{color:var(--muted)}
body[data-palette] .feedback.neutral{background:var(--surface2);color:var(--text)}body[data-palette] .feedback.good{background:#d7e9d7;color:#234b30}body[data-palette] .feedback.bad{background:#f3d9d4;color:#78382e}
body[data-palette] .board-card{background:var(--surface);border-color:var(--line);box-shadow:0 14px 30px #13251b20;padding:0 12px;border-radius:12px}
body[data-palette] .board{background:var(--board-dark);padding:0;border:3px solid var(--surface2);border-radius:4px;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));box-shadow:0 5px 0 var(--line),0 9px 14px #0002}
body[data-palette] .board>.square:nth-child(n):nth-child(n){grid-column:auto;grid-row:auto;background:var(--board-light)}body[data-palette] .board>.square.dark:nth-child(n):nth-child(n){background:var(--board-dark)}
body[data-palette] .square .piece{left:22%;top:5%;width:56%;height:90%;filter:grayscale(.88) brightness(1.35) contrast(.95) drop-shadow(0 1px 1px #0007)}
body[data-palette] .square .piece[data-piece^=b]{filter:grayscale(1) brightness(1.05) contrast(.9) drop-shadow(0 0 .8px #f8f7ef) drop-shadow(0 1px 1px #0006)}
body[data-palette] .rank-labels,body[data-palette] .file-labels{padding:0;color:var(--muted)}body[data-palette] .board-footer,body[data-palette] .turn-line,body[data-palette] .puzzle-meta{color:var(--text)}
body[data-palette] .square.last:before{background:#eacb5b55;box-shadow:inset 0 0 0 2px #d8b74077}body[data-palette] .square.selected{box-shadow:inset 0 0 0 3px #f8d867}body[data-palette] .square.selected:before{background:#f5dd6d55}
body[data-palette] .run-icon,body[data-palette] .rank-glyph{background:var(--surface2);color:var(--accent)}body[data-palette] .run-progress>span{background:var(--line)}body[data-palette] .run-progress>span.current{background:var(--accent)}body[data-palette] .move-token{background:var(--surface2);color:var(--text)}
body[data-palette] .pause-overlay{background:var(--surface);color:var(--text)}body[data-palette] .dialog-close{background:var(--surface2);color:var(--text)}body[data-palette] dialog p{color:var(--muted)}
/* Complete the accepted sage system across menus, end screens and keyboard use. */
body[data-palette]{--ink:var(--text);--paper:var(--surface);--white:var(--surface);--green:var(--accent);--green-soft:var(--surface2);--coral:var(--accent);--coral-dark:var(--accent)}
body[data-palette] #play-menu .daily-challenge,body[data-palette] #play-menu .practice-summary{background:var(--surface2);color:var(--text);border-color:var(--line)}body[data-palette] #play-menu .quiet-note{color:var(--muted)}body[data-palette] .feedback.help{background:#e8e7ce;color:#4f542f}body[data-palette] .board-theme{background:var(--surface2);color:var(--text);border-color:var(--line)}body[data-palette] .board-theme.selected{border-color:var(--accent);background:#d8e6da}body[data-palette] .toast{background:var(--accent);color:var(--accent-text)}
body[data-palette] button:focus-visible,body[data-palette] a:focus-visible{outline:3px solid #315c4e;outline-offset:3px}body[data-palette] .square:focus-visible{outline-offset:-3px;z-index:4}.game-tools button{min-height:38px}dialog{max-height:88dvh;overflow:auto}dialog::backdrop{background:#132b246b}#game-help p{line-height:1.65}body[data-palette] .page-heading .eyebrow,body[data-palette] h1 em{color:var(--accent)}
@media(max-width:760px){.game-tools button{min-height:36px}.help-actions button{min-height:40px}}

/* Moving on the board is the primary action, not skipping. */
body[data-palette] #next:not([hidden]){background:var(--surface2);color:var(--text);border:1px solid var(--line);box-shadow:none}body[data-palette] #next:not([hidden]):hover{background:var(--surface2);color:var(--text)}
#board-goal{display:none}@media(max-width:760px){#board-goal{display:block;color:var(--text);font-size:12px;font-weight:650;margin:0 0 8px 16px;line-height:1.25}.board-heading{min-height:28px}}
/* Decorative symbols must never turn into missing-font boxes. */
.run-icon,.feedback-icon,.tiny-icon{font-family:Arial,sans-serif}.run-icon{font-size:0}.run-icon:after{content:'5';font:700 17px Arial}.feedback-icon{font-size:0}.feedback-icon:after{content:'•';font:700 18px Arial}
