/* v0.1.69 — GAME-SEMANTIC PREMIUM COLOURS. Class mode only; print never imports this sheet.
   No nth-child decoration; each hue has a purpose in the corresponding puzzle. */
/* Keep the real game command strip visible; centered-shell otherwise hides it. */
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .arena-head{
 display:flex!important;flex:0 0 74px!important;height:74px!important;max-height:74px!important;
 align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:8px 12px!important;
}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .playground{
 height:auto!important;min-height:0!important;flex:1 1 0!important;
}
@media(max-width:950px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .arena-head{flex-basis:65px!important;height:65px!important;max-height:65px!important}}
@media(max-width:550px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .arena-head{flex-basis:54px!important;height:54px!important;max-height:54px!important;padding:3px 5px!important}}
@media(max-height:550px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .arena-head{flex-basis:42px!important;height:42px!important;max-height:42px!important;padding:2px 5px!important}}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) > .arena-head .arena-head-actions.sudoku-premium-actions{
 display:flex!important;width:100%!important;max-width:none!important;align-items:center!important;justify-content:center!important;
 flex-wrap:nowrap!important;gap:14px!important;
}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-appearance-switch{
 display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:3px;
 height:54px;box-sizing:border-box;padding:4px;border:1px solid var(--theme-border,#cedce7);
 border-radius:999px;background:var(--theme-elev,#fff);box-shadow:0 3px 0 #a9bdc826,0 7px 18px #132c4713;
}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 17px;
 border:0;border-radius:999px;white-space:nowrap;background:transparent;color:var(--theme-muted,#536a7b);
 font:800 .92rem/1.1 Nunito,"Segoe UI",sans-serif;cursor:pointer;
}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option[aria-pressed="true"]{
 background:linear-gradient(160deg,#8a37f4,#662ae8);color:white;box-shadow:0 3px 8px #5726c62e;
}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) #sudoku-view-classic[aria-pressed="true"]{background:#e2edf3;color:#223e51}
html[data-theme="dark"] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) #sudoku-view-classic[aria-pressed="true"]{background:#476172;color:#fff}
html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option:focus-visible{outline:3px solid #ffaf37;outline-offset:2px}

/* A subtle neutral classroom surface, not a fake game-board frame. */
body[data-mode="class"][data-premium-appearance="colorful"] section.shared-game-shell:not(.sudoku-game) > .playground{
 background:linear-gradient(155deg,#f9fdff,#f7fbff)!important;
}
html[data-theme="dark"] body[data-mode="class"][data-premium-appearance="colorful"] section.shared-game-shell:not(.sudoku-game) > .playground{
 background:linear-gradient(155deg,#192e3b,#1c2b40)!important;
}

/* 01 Maze: a clear wall/path/visited/start/end colour language. */
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.wall{background:#34566b!important;border-color:#34566b!important}
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.corridor:not(.traced):not(.exit):not(.entrance){background:#e8f4ff!important}
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.traced{background:#b6f2df!important}
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.entrance{background:#64d9bd!important;color:#073f3b!important}
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.exit{background:#ffdc95!important;color:#845018!important}
body[data-game="maze"][data-premium-appearance="colorful"] .maze-cell.current{box-shadow:inset 0 0 0 3px #087c76!important}
/* 02 Numberlink: coloured endpoint pairs match the drawn connection colours. */
body[data-game="abc"][data-premium-appearance="colorful"] .abc-cell:not(.abc-letter):not(.abc-active){background:#f0f7ff!important}
body[data-game="abc"][data-premium-appearance="colorful"] .abc-cell.abc-letter{background:color-mix(in srgb,var(--abc-color) 18%,white)!important;box-shadow:inset 0 0 0 2px var(--abc-color)!important;border-radius:9px}
body[data-game="abc"][data-premium-appearance="colorful"] .abc-cell.abc-active:not(.abc-letter){background:#d9f4ec!important}
/* 03 Slitherlink: numerical clues versus selected segments. */
body[data-game="fence"][data-premium-appearance="colorful"] .fence-number{color:#21486c!important;background:#edf5fcaa;border-radius:8px;font-weight:900}
body[data-game="fence"][data-premium-appearance="colorful"] .fence-edge.on::after{background:#008e82!important;box-shadow:0 0 0 2px #80ddca88!important}
body[data-game="fence"][data-premium-appearance="colorful"] .fence-edge.fence-invalid::after{background:#e95951!important}
/* 04 Skyscrapers: outside viewpoint counts are separated from the heights. */
body[data-game="skyscrapers"][data-premium-appearance="colorful"] .sky-clue:not(.sky-empty){background:#d5eafc!important;color:#1c5483!important;font-weight:950}
body[data-game="skyscrapers"][data-premium-appearance="colorful"] .sky-cell:not(.chosen){background:#f4fbff!important}
body[data-game="skyscrapers"][data-premium-appearance="colorful"] .sky-cell.chosen{background:#ffe1a0!important;color:#493317!important}
/* 05 Akari: illuminated area versus wall and bulb. */
body[data-game="akari"][data-premium-appearance="colorful"] .akari-cell:not(.is-wall):not(.lit):not(.bulb){background:#f7fbff!important}
body[data-game="akari"][data-premium-appearance="colorful"] .akari-cell.lit:not(.bulb){background:#fff0bd!important}
body[data-game="akari"][data-premium-appearance="colorful"] .akari-cell.bulb{background:#ffc866!important;color:#743b0d!important;box-shadow:inset 0 0 0 2px #eb9e32!important}
body[data-game="akari"][data-premium-appearance="colorful"] .akari-cell.is-wall{background:#354858!important;color:#fff!important}
/* 06 Battleships: ship / water / unknown are meaningful and separate. */
body[data-game="battleships"][data-premium-appearance="colorful"] .bs-cell:not(.is-ship):not(.is-sea){background:#f7fbff!important}
body[data-game="battleships"][data-premium-appearance="colorful"] .bs-cell.is-sea{background:#cdeeff!important;color:#347eab!important}
body[data-game="battleships"][data-premium-appearance="colorful"] .bs-cell.is-ship{background:#408f9d!important;color:white!important;box-shadow:inset 0 0 0 2px #206673!important}
body[data-game="battleships"][data-premium-appearance="colorful"] .bs-hint{background:#e6eff8!important;color:#22597e!important}
/* 07 Kakurasu: weights on top/left, target sums below/right. */
body[data-game="kakurasu"][data-premium-appearance="colorful"] .kk-hint.kk-weight:not(.kk-target){background:#d9ecff!important;color:#215c88!important}
body[data-game="kakurasu"][data-premium-appearance="colorful"] .kk-hint.kk-target:not(.kk-weight){background:#ffe6bc!important;color:#91551d!important}
body[data-game="kakurasu"][data-premium-appearance="colorful"] .kk-cell.shaded{background:#27a398!important;color:white!important}
body[data-game="kakurasu"][data-premium-appearance="colorful"] .kk-cell.crossed{background:#e2e9ed!important;color:#687887!important}
/* 08 Futoshiki: relations are purple; chosen cell is amber. */
body[data-game="futoshiki"][data-premium-appearance="colorful"] .ft-relation:not(:empty){color:#8244c0!important;background:#eee0ff!important;border-radius:6px;font-weight:1000}
body[data-game="futoshiki"][data-premium-appearance="colorful"] .ft-cell.fixed{background:#d9edff!important;color:#194d78!important}
body[data-game="futoshiki"][data-premium-appearance="colorful"] .ft-cell.selected{background:#ffdd93!important;color:#633c16!important}
/* 09 Nonogram: clue numbers separate from filled marks and excluded cells. */
body[data-game="nonogram"][data-premium-appearance="colorful"] .ng-clue{background:#e0ecff!important;color:#1e5380!important}
body[data-game="nonogram"][data-premium-appearance="colorful"] .ng-cell.filled{background:#268d8a!important;color:#fff!important}
body[data-game="nonogram"][data-premium-appearance="colorful"] .ng-cell.excluded{background:#dbe3e9!important;color:#687c89!important}
/* 10 Hashi: distinct island nodes and bridges, selected island amber. */
body[data-game="hashi"][data-premium-appearance="colorful"] .hs-bridge{stroke:#039589!important}
body[data-game="hashi"][data-premium-appearance="colorful"] .hs-island:not(.selected) circle{fill:#e0f4ff!important;stroke:#35749a!important}
body[data-game="hashi"][data-premium-appearance="colorful"] .hs-island.selected circle{fill:#ffda92!important;stroke:#b86e23!important}
/* 11 Hitori: repeated digits needing evaluation, protected and crossed states. */
body[data-game="hitori"][data-premium-appearance="colorful"] .hi-cell.premium-duplicate:not(.shade):not(.sure){background:#fff0d6!important;color:#824c1b!important}
body[data-game="hitori"][data-premium-appearance="colorful"] .hi-cell.sure{background:#c9f3dc!important;color:#13624d!important}
body[data-game="hitori"][data-premium-appearance="colorful"] .hi-cell.shade{background:#274358!important;color:#fff!important}
/* 12 Shikaku: EXISTING colours correspond to actual rectangles; only clues are reinforced. */
body[data-game="shikaku"][data-premium-appearance="colorful"] .sh-cell:not(.filled):not(.anchor){background:#f5faff!important}
body[data-game="shikaku"][data-premium-appearance="colorful"] .sh-cell.filled{background:var(--sh-tint)!important}
body[data-game="shikaku"][data-premium-appearance="colorful"] .sh-cell.premium-clue:not(.filled):not(.anchor){background:#e8e0fb!important;color:#523981!important;font-weight:900}
body[data-game="shikaku"][data-premium-appearance="colorful"] .sh-cell.anchor{background:#ffe1a2!important;outline:3px solid #c07a20!important;outline-offset:-3px}
/* 13 Tents: tree green, tent orange; empty and row/column targets remain separate. */
body[data-game="tents"][data-premium-appearance="colorful"] .tt-cell.tree{background:#c6f0d5!important;color:#145a37!important}
body[data-game="tents"][data-premium-appearance="colorful"] .tt-cell.tent{background:#ffdfad!important;color:#794618!important}
body[data-game="tents"][data-premium-appearance="colorful"] .tt-cell.empty{background:#e9f0f4!important;color:#667987!important}
body[data-game="tents"][data-premium-appearance="colorful"] .tt-cell:not(.tree):not(.tent):not(.empty){background:#f4faff!important}
/* 14 Nurikabe: sea and islands get rule-consistent contrast. */
body[data-game="nurikabe"][data-premium-appearance="colorful"] .nu-cell.sea{background:#315f84!important;color:white!important}
body[data-game="nurikabe"][data-premium-appearance="colorful"] .nu-cell.island{background:#dcf6e6!important;color:#236443!important}
body[data-game="nurikabe"][data-premium-appearance="colorful"] .nu-cell.clue{background:#ffe3aa!important;color:#65471e!important}
/* 15 Star Battle: hue is computed from ACTUAL region ID, never grid position. */
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="0"]:not(.star):not(.excluded){background:#e6f1ff!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="1"]:not(.star):not(.excluded){background:#e8f7e7!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="2"]:not(.star):not(.excluded){background:#fff0d9!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="3"]:not(.star):not(.excluded){background:#f0e6ff!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="4"]:not(.star):not(.excluded){background:#e2f7f3!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="5"]:not(.star):not(.excluded){background:#ffecf1!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell.star{background:#f9cf69!important;color:#624013!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell.excluded{background:#dfe7ed!important;color:#67808a!important}
/* Additional distinct region hues for 7×7 / 8×8 Star Battle. */
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="6"]:not(.star):not(.excluded){background:#f8e9d6!important}
body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="7"]:not(.star):not(.excluded){background:#ecedff!important}
html[data-theme="dark"] body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="6"]:not(.star):not(.excluded){background:#624d35!important;color:#fff!important}
html[data-theme="dark"] body[data-game="starbattle"][data-premium-appearance="colorful"] .sb-cell[data-premium-region="7"]:not(.star):not(.excluded){background:#414d73!important;color:#fff!important}
/* 16 Kakuro: black blocks and clue sums preserved; given digits blue, selected amber. */
body[data-game="kakuro"][data-premium-appearance="colorful"] .kr-block.hint{background:#263f65!important}
body[data-game="kakuro"][data-premium-appearance="colorful"] .kr-cell:not(.fixed):not(.selected){background:#f3faff!important}
body[data-game="kakuro"][data-premium-appearance="colorful"] .kr-cell.fixed{background:#d6f2e7!important;color:#0d604d!important}
body[data-game="kakuro"][data-premium-appearance="colorful"] .kr-cell.selected{background:#ffdfaa!important;color:#633b16!important}
/* 17 Takuzu: identical binary symbols always use identical hues. */
body[data-game="takuzu"][data-premium-appearance="colorful"] .tz-cell[data-premium-digit="0"]:not(.selected){background:#d9edff!important;color:#154c8b!important}
body[data-game="takuzu"][data-premium-appearance="colorful"] .tz-cell[data-premium-digit="1"]:not(.selected){background:#ffe5b8!important;color:#84501b!important}
body[data-game="takuzu"][data-premium-appearance="colorful"] .tz-cell.selected{background:#ffdc89!important;color:#633b16!important}
/* 18 Number Pyramid: givens versus answer cells versus selection. */
body[data-game="pyramid"][data-premium-appearance="colorful"] .py-cell.given{background:#d7ebff!important;color:#235078!important}
body[data-game="pyramid"][data-premium-appearance="colorful"] .py-cell:not(.given):not(.selected){background:#f2fbf7!important}
body[data-game="pyramid"][data-premium-appearance="colorful"] .py-cell.selected{background:#ffe0a3!important;color:#613b1b!important}
/* 19 Calcudoku: region hue corresponds to CAGE OWNERSHIP, not child order. */
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="0"]:not(.selected){background:#e6f1ff!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="1"]:not(.selected){background:#e6f8e9!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="2"]:not(.selected){background:#fff0db!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="3"]:not(.selected){background:#f0e7ff!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="4"]:not(.selected){background:#dff7f5!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="5"]:not(.selected){background:#ffe8f0!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell.selected{background:#ffdd9c!important;color:#5d3616!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-clue{color:#123f6c!important;font-weight:1000}
/* More independent logical cage groups can be distinguished in large Calcudoku. */
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="6"]:not(.selected){background:#f9ebdf!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="7"]:not(.selected){background:#e6edfa!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="8"]:not(.selected){background:#edfae0!important}
body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="9"]:not(.selected){background:#f4e6f4!important}
html[data-theme="dark"] body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="6"]:not(.selected){background:#584537!important;color:#fff!important}
html[data-theme="dark"] body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="7"]:not(.selected){background:#344c69!important;color:#fff!important}
html[data-theme="dark"] body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="8"]:not(.selected){background:#3d5a35!important;color:#fff!important}
html[data-theme="dark"] body[data-game="calcudoku"][data-premium-appearance="colorful"] .cd-cell[data-premium-cage="9"]:not(.selected){background:#563d61!important;color:#fff!important}
/* 20 Target Number: NO card-by-index repainting or spurious board outline.
   Amber = chosen card, green = target, strong teal = latest completed operation. */
body[data-game="target"][data-premium-appearance="colorful"] .tg-target-banner{background:linear-gradient(120deg,#c9f5e2,#d9f0fc)!important;border:2px solid #55b8a5!important;color:#0b665b!important;box-shadow:0 4px 12px #34867f12}
body[data-game="target"][data-premium-appearance="colorful"] .tg-tile:not(.active){background:#fff!important;border-color:#adc3d2!important;color:#193a50!important}
body[data-game="target"][data-premium-appearance="colorful"] .tg-tile.active{background:#ffe0a3!important;border-color:#d28c2c!important;color:#724317!important;box-shadow:0 4px 0 #bf8233!important}
body[data-game="target"][data-premium-appearance="colorful"] .tg-history-index{background:#d3f3e8!important;color:#0d695c!important}
body[data-game="target"][data-premium-appearance="colorful"] .tg-history-row:last-child{background:#dcf6ec!important;border-color:#76c8ad!important}
body[data-game="target"][data-premium-appearance="colorful"] .tg-history-row:last-child strong{color:#135f55!important}

/* Semantic colours remain legible in dark theme; never recolour clue/mark geometry. */
html[data-theme="dark"] body[data-premium-appearance="colorful"] :is(.maze-cell.corridor:not(.traced),.sky-cell:not(.chosen),.abc-cell:not(.abc-letter),.tt-cell:not(.tree):not(.tent),.kr-cell:not(.fixed):not(.selected),.py-cell:not(.given):not(.selected)){
 background:#283e51!important;color:#eef7ff!important;
}
html[data-theme="dark"] body[data-premium-appearance="colorful"] :is(.ft-cell.fixed,.kr-cell.fixed,.py-cell.given,.bs-hint,.sky-clue:not(.sky-empty),.ng-clue,.kk-hint.kk-weight){background:#31516d!important;color:#effaff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] :is(.bs-cell.is-sea,.akari-cell.lit,.hi-cell.sure,.tt-cell.tree,.nu-cell.island){background:#26584f!important;color:#e1fff0!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] :is(.tg-history-row:last-child,.tg-target-banner){background:#21564c!important;color:#e5fff1!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .tg-history-row:last-child strong{color:#e5fff1!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .tg-tile:not(.active){background:#294659!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="0"]:not(.star):not(.excluded){background:#264461!important;color:#effaff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="1"]:not(.star):not(.excluded){background:#285244!important;color:#effaff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="2"]:not(.star):not(.excluded){background:#5c4933!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="3"]:not(.star):not(.excluded){background:#483b69!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="4"]:not(.star):not(.excluded){background:#29595a!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .sb-cell[data-premium-region="5"]:not(.star):not(.excluded){background:#5e3c51!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="0"]:not(.selected){background:#294868!important;color:#f0faff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="1"]:not(.selected){background:#24564b!important;color:#f0fff6!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="2"]:not(.selected){background:#62503a!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="3"]:not(.selected){background:#4a3d6c!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="4"]:not(.selected){background:#285b61!important;color:#effaff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-cell[data-premium-cage="5"]:not(.selected){background:#604158!important;color:#fff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .cd-clue{color:#e1faff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .tz-cell[data-premium-digit="0"]:not(.selected){background:#284969!important;color:#eaf5ff!important}
html[data-theme="dark"] body[data-premium-appearance="colorful"] .tz-cell[data-premium-digit="1"]:not(.selected){background:#654931!important;color:#fff4e2!important}
@media(max-width:950px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .arena-head .arena-head-actions.sudoku-premium-actions{gap:8px!important}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-appearance-switch{height:47px}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option{min-height:38px;padding:0 11px;font-size:.78rem}}
@media(max-width:550px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .arena-head .arena-head-actions.sudoku-premium-actions{gap:5px!important}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .arena-head .arena-head-actions.sudoku-premium-actions>.btn{flex:0 1 94px!important;max-width:94px!important;width:94px!important;padding:0 5px!important;font-size:.70rem!important}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-appearance-switch{height:40px;padding:3px;gap:0}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option{min-height:32px;padding:0 8px;font-size:.67rem}}
@media(max-width:350px){html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .arena-head .arena-head-actions.sudoku-premium-actions>.btn{flex:0 1 82px!important;max-width:82px!important;width:82px!important;font-size:.63rem!important;padding:0 2px!important}html[data-theme] body[data-mode="class"] section.shared-game-shell:not(.sudoku-game) .sudoku-view-option{padding:0 6px;font-size:.61rem}}

/* v0.1.70: unsupported games NEVER present the palette switch.
   This must take precedence over the premium flex layout for supported games. */
html[data-theme] body[data-mode="class"] .sudoku-appearance-switch[hidden],
.sudoku-appearance-switch[hidden]{display:none!important}
