/* Shared visual finish; no changes to board geometry, timers or saved state. */
body[data-page=orbit]{--game-accent:#b79aff}
body[data-page=link]{--game-accent:#69d9ef}
body[data-page=pulse]{--game-accent:#ff9583}
body:is([data-page=orbit],[data-page=link],[data-page=pulse]){background:radial-gradient(ellipse at 50% 18%,#24345466,transparent 65%),#0b1028}
body:is([data-page=link],[data-page=pulse]) .game-shell,body[data-page=orbit] .game-card{background:linear-gradient(145deg,#1b2942,#111c32);border-color:#435571;box-shadow:0 8px 0 #060d1c,0 24px 60px #03081840;border-radius:26px}
body:is([data-page=link],[data-page=pulse]) .game-title h1,body[data-page=orbit] .wordmark{font-family:Arial,sans-serif;font-weight:900;letter-spacing:2px;color:var(--game-accent)}
body:is([data-page=link],[data-page=pulse],[data-page=orbit]) .hud{background:#0d182c;border:1px solid #33445f;border-radius:14px;padding:12px;margin:14px 0}
body[data-page=orbit] .hud{margin:12px 20px}
body:is([data-page=link],[data-page=pulse],[data-page=orbit]) .hud>div+div{border-inline-start:1px solid #34455d}
body:is([data-page=link],[data-page=pulse],[data-page=orbit]) .hud strong{font-variant-numeric:tabular-nums;color:#f5f7ff}
body:is([data-page=link],[data-page=pulse],[data-page=orbit]) .hud>div:first-child strong{color:var(--game-accent)}
body[data-page=link] .board{background:#0d192c;border-color:#3d5671;box-shadow:inset 0 3px 15px #020b1a80}
body[data-page=link] .tile{background:linear-gradient(145deg,#ffffff30,transparent 55%),var(--tile);border:1px solid #ffffff45;box-shadow:inset 0 2px #ffffff70,inset 0 -5px #081a3433,0 3px 5px #030a1f66;color:#10243ca6;font-weight:800}
body[data-page=link] .tile.selected{box-shadow:0 0 16px #69d9ef55,inset 0 2px #ffffff70;outline-color:#fff}
body[data-page=pulse] .arena{background:radial-gradient(circle,#20324c,#0e1b30 70%);border:1px solid #405773;box-shadow:inset 0 0 0 8px #0d192d,inset 0 0 0 9px #31445e}
body[data-page=pulse] .readout strong{color:#ffb09c;font-weight:800;letter-spacing:-1px;font-size:clamp(27px,6vw,42px)}
body[data-page=pulse] #zone{filter:drop-shadow(0 0 5px #69d9ef66)}
body[data-page=orbit] .tile{stroke:#ffffff70;stroke-width:1;filter:drop-shadow(0 2px 1px #0004)}
body[data-page=orbit] .sidebar{align-self:stretch;padding:20px 14px;border:1px solid #354761;border-radius:20px;background:linear-gradient(160deg,#1a2940bb,#111b2c88)}
body:is([data-page=link],[data-page=pulse]) .actions .primary,body[data-page=orbit] .controls .drop{background:var(--game-accent);border-color:#ffffff55;border-bottom-color:color-mix(in srgb,var(--game-accent),#10213c 60%);color:#111c30;box-shadow:none}
body[data-page=maiolica] .board{background:#102849;border-color:#526e92;box-shadow:inset 0 2px 12px #030e2466,0 5px 0 #091a32}
body[data-page=maiolica] .cell.filled,body[data-page=maiolica] .mini-cell{background:linear-gradient(145deg,#ffffff38,transparent 60%),var(--color);border:1px solid #ffffff45;box-shadow:inset 0 2px 0 #ffffff80,inset 0 -4px 0 #09204430,0 2px 3px #06152d55}
@media(prefers-reduced-motion:reduce){body[data-page=link] .tile{transition:none}}
.collection-video{display:block;width:100%;min-height:50px;margin-top:18px!important;font-weight:700}
/* Sentence case is preserved; game wordmarks retain their identity. */
body :is(.score-label,.tray-heading span,.eyebrow,.hud small,.hud span,.mode-choice,.rank-kind,.game-hint,.rank-periods button){text-transform:none}
body.night-glow :is(.board,.arena,.memory-board){box-shadow:0 0 0 1px #8f8ce788,0 0 28px #7672ec33}
body.night-glow :is(.cell.filled,.tile,.memory-tile.revealed){filter:drop-shadow(0 0 3px #9adaff55)}

@media(min-width:900px){#modal.world-collection{width:min(960px,92vw);max-width:960px}.world-collection .sicily-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.world-collection .sicily-card{padding:16px}.world-collection .sicily-card h3{font-size:19px}.world-collection .sicily-card p{font-size:13px}}
