.ws-page { min-height:100dvh; color:#eff3ff; }.ws-page .scene-image { --active-scene:url('../images/worlds/caelum-frozen-forest-1600.webp'); }.ws-topbar,.ws-main,.ws-footer { position:relative; z-index:1; }.ws-row { display:contents; }
.ws-objective { margin-top:10px; padding:13px 18px; border:1px solid #c3aaf745; border-radius:15px; background:linear-gradient(125deg,#302542eb,#112a36ef); }.ws-objective header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }.ws-objective header>strong { color:#e4d6ff; font:600 19px Georgia,serif; }.ws-objective header>span { color:#bfcce0; font-size:11px; }.ws-objective header b { color:#a6f0d6; margin-left:4px; font-size:14px; }.ws-objective-track { height:5px; margin-top:10px; border-radius:10px; overflow:hidden; background:#ffffff17; }.ws-objective-track i { display:block; width:0; height:100%; background:linear-gradient(90deg,#be9af3,#67d6b5); transition:width .2s; }.ws-objective p { margin:8px 0 0; color:#d0dced; font-size:11px; line-height:1.5; }.ws-objective.is-secured { border-color:#8aebbf70; }.ws-objective.is-secured p { color:#a3efd0; }
@media(max-width:480px) { .ws-objective { padding:12px; }.ws-objective header>strong { font-size:17px; }.ws-objective header>span,.ws-objective p { font-size:10px; } }
.ws-topbar { width:min(1160px,calc(100% - 32px)); margin:auto; padding:20px 0; display:flex; align-items:center; gap:20px; }.ws-brand { display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; }.ws-brand .brand-mark { width:36px; height:36px; border-radius:12px 7px; }.ws-brand .brand-mark i { font-size:20px; }.ws-brand>span:last-child { display:grid; gap:3px; }.ws-brand strong { letter-spacing:.1em; font-size:17px; }.ws-brand small { color:#bbc6df; font-size:9px; }.ws-topbar nav { display:flex; flex-wrap:wrap; gap:8px; margin-left:auto; }.ws-topbar nav a,.ws-footer a { color:#d6e4f7; text-decoration:none; font-size:11px; }.ws-topbar nav a { padding:8px 10px; border:1px solid #b6c7ee30; border-radius:10px; background:#071327aa; }
.ws-main { width:min(1050px,calc(100% - 30px)); margin:0 auto 36px; }.ws-heading { margin:12px auto 22px; text-align:center; }.ws-heading>p:first-child,.ws-eyebrow { color:#c9b8ff; font-size:9px; font-weight:800; letter-spacing:.17em; }.ws-heading h1 { margin:8px 0 10px; font:500 clamp(30px,4.5vw,49px)/1.1 Georgia,serif; }.ws-heading h1 em { color:#d3c6ff; font-style:normal; }.ws-heading>p:last-child { margin:0; color:#c0cbe0; font:14px Georgia,serif; }
.ws-setup,.ws-match,.ws-board-panel,.ws-targets,.ws-history,.ws-seo { border:1px solid #b4c6ef30; border-radius:22px; background:linear-gradient(145deg,#142444ed,#08162aef); box-shadow:0 12px 38px #0003,inset 0 1px #ffffff0b; backdrop-filter:blur(14px); }
.ws-setup { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:12px; padding:14px 18px; }.ws-setup label { min-width:0; display:grid; gap:6px; color:#c3cde2; font-size:10px; }.ws-setup select { width:100%; min-height:42px; padding:8px 10px; border:1px solid #b5a0ff45; border-radius:10px; color:#edf3ff; background:#101c36; font:600 12px system-ui; }
.ws-page button { touch-action:manipulation; }.ws-primary { min-height:42px; padding:9px 18px; border:1px solid #d9cbff80; border-radius:12px; color:#171131; background:linear-gradient(130deg,#e0d6ff,#aa91ed); font-size:12px; font-weight:850; cursor:pointer; }.ws-primary span { margin-left:10px; }.ws-page button:disabled { opacity:.45; cursor:default; }.ws-page button:focus-visible,.ws-page select:focus-visible { outline:2px solid #d8caff; outline-offset:3px; }
.ws-match { margin-top:10px; padding:11px 18px; display:flex; align-items:center; gap:24px; border-radius:17px; }.ws-score { display:flex; align-items:center; gap:13px; color:#8cf0cf; }.ws-score span { font-size:11px; font-weight:800; }.ws-score strong { font:700 29px Georgia,serif; }.ws-score.is-computer { color:#ffb6cf; }.ws-score[hidden] { display:none; }.ws-clock { width:190px; margin-left:auto; display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 10px; }.ws-clock small { color:#bfcbe1; font-size:9px; text-transform:uppercase; letter-spacing:.04em; }.ws-clock strong { font:700 25px Georgia,serif; font-variant-numeric:tabular-nums; color:#cfc3ff; }.ws-clock.is-warning strong { color:#f8ce79; }.ws-clock.is-critical strong { color:#ff93b1; }.ws-clock.is-critical { filter:drop-shadow(0 0 7px #ff59874a); }.ws-time-track { height:3px; border-radius:10px; grid-column:1/-1; overflow:hidden; background:#ffffff20; }.ws-time-track i { display:block; width:100%; height:100%; background:linear-gradient(90deg,#ff9cbc,#ffe1a2,#8cebd0); }.ws-match>button,.ws-board-panel header>button { min-height:34px; padding:5px 10px; border:1px solid #c3c5ec40; border-radius:10px; background:#bca6ff0b; color:#e3dcff; font-size:10px; cursor:pointer; }
.ws-feedback { min-height:28px; margin:9px 3px; color:#cbd6ed; font-size:12px; line-height:1.5; }.ws-feedback.success { color:#8ee8c5; }.ws-feedback.notice { color:#f2d194; }.ws-feedback.error { color:#ffb0c2; }.ws-stage { position:relative; }.ws-puzzle { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(245px,1fr); gap:14px; align-items:start; }.ws-board-panel { min-width:0; padding:17px; }.ws-board-panel header { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:12px; }.ws-board-panel h2 { margin:0; font:500 18px Georgia,serif; }.ws-grid-shell { position:relative; width:100%; max-width:560px; margin:auto; aspect-ratio:1; border-radius:13px; overflow:hidden; background:#070f26; border:1px solid #b8c9ed32; isolation:isolate; }.ws-grid { position:relative; z-index:2; display:grid; grid-template-columns:repeat(var(--size,8),minmax(0,1fr)); width:100%; height:100%; touch-action:none; user-select:none; -webkit-user-select:none; }.ws-cell { min-width:0; padding:0; border:0; border-radius:6px; color:#e0e8fa; background:transparent; font:700 clamp(11px,calc(290px / var(--size,8) * .53),22px)/1 system-ui,sans-serif; cursor:crosshair; -webkit-tap-highlight-color:transparent; }.ws-cell:hover { background:#d0baff17; }.ws-cell.is-anchor { outline:2px solid #fce2a5; outline-offset:-3px; }.ws-cell:focus-visible { outline:2px solid #fff0c8; outline-offset:-3px; }.ws-paths { position:absolute; z-index:1; inset:0; width:100%; height:100%; pointer-events:none; }.ws-paths line { stroke-width:66; stroke-linecap:round; }.ws-paths .is-you { stroke:#2ac19d; opacity:.48; }.ws-paths .is-computer { stroke:#d069a7; opacity:.5; }.ws-paths .is-selection { stroke:#e2b453; opacity:.52; }.ws-placeholder { position:absolute; inset:0; z-index:3; display:grid; place-content:center; gap:12px; text-align:center; padding:25px; color:#ded2ff; font:22px/1.4 Georgia,serif; background:radial-gradient(circle,#46316455,transparent 70%); }.ws-placeholder[hidden] { display:none; }.ws-placeholder span { font:12px system-ui; color:#aebbd5; }.ws-board-help { margin:12px 0 0; color:#b1bfd8; font-size:10px; line-height:1.5; }
.ws-targets { padding:18px; min-width:0; }.ws-targets header small,.ws-history header small { color:#bda9f5; font-size:9px; letter-spacing:.14em; font-weight:800; }.ws-targets h2 { margin:8px 0; font:500 21px/1.25 Georgia,serif; }.ws-targets header>span { font-size:10px; color:#c2d4e7; }.ws-progress { height:3px; margin:12px 0; border-radius:4px; background:#ffffff15; }.ws-progress i { height:100%; display:block; background:linear-gradient(90deg,#a394e8,#5bd4b5); transition:width .2s; }.ws-targets ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:0; padding:0; list-style:none; }.ws-targets li { min-width:0; border:1px solid #a0b4db2b; border-radius:9px; background:#04112640; }.ws-targets li>span,.ws-targets .history-word { display:flex; align-items:center; justify-content:space-between; gap:4px; min-height:37px; padding:7px; color:#d9e3f7; font-size:10px; font-weight:750; overflow-wrap:anywhere; }.ws-targets .history-word strong { min-width:0; font:inherit; text-decoration:underline dotted; text-underline-offset:3px; }.ws-targets .history-word b { flex:0 0 auto; font-size:9px; }.ws-targets li.is-you { background:#2cba8c18; border-color:#67dcaf50; }.ws-targets li.is-you .history-word { color:#9bf4d3; }.ws-targets li.is-computer { background:#b452811a; border-color:#f3a1bd50; }.ws-targets li.is-computer .history-word { color:#ffbace; }.ws-targets>p { color:#aebbd4; font-size:10px; line-height:1.65; }.ws-targets .ws-meaning-hint { color:#c6b9e8; margin-bottom:0; }
.ws-pause-overlay { position:absolute; z-index:5; inset:0; min-height:260px; padding:35px; display:grid; place-content:center; justify-items:center; text-align:center; border:1px solid #c3b2f040; border-radius:22px; background:#101d35f5; }.ws-pause-overlay[hidden] { display:none; }.ws-pause-overlay>span { font:45px Georgia,serif; color:#c2aef5; }.ws-pause-overlay h2 { font:28px Georgia,serif; margin:14px 0; }.ws-pause-overlay p { color:#bfcae1; font-size:12px; }.ws-stage.is-paused .ws-puzzle { visibility:hidden; }
.ws-result { padding:22px; margin:0 0 15px; border:1px solid #76e6bd70; border-radius:18px; background:#13362fe8; text-align:center; }.ws-result small { font-size:9px; letter-spacing:.14em; color:#a4e5ca; }.ws-result h2 { font:30px Georgia,serif; margin:10px 0; }.ws-result p { color:#d5e4e0; font-size:12px; }.ws-result[data-outcome=computer] { background:#3d263be8; border-color:#f5a8c6; }.ws-result[data-outcome=draw] { background:#3b3326e8; border-color:#e9ca8b; }
.ws-history,.ws-seo { margin-top:22px; padding:24px; }.ws-history h2,.ws-seo h2 { margin:8px 0 15px; font:500 25px/1.25 Georgia,serif; }.ws-history #recentGames { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.ws-history article { border:1px solid #b6c8ed29; border-radius:12px; padding:11px; display:grid; gap:7px; background:#07152c66; }.ws-history article strong { color:#c8b4f9; font-size:11px; }.ws-history article span,.ws-history article small,.ws-history p { color:#b9c8de; font-size:10px; line-height:1.5; }.ws-history article b { color:#c9eada; font-size:11px; }.ws-seo { max-width:950px; margin-inline:auto; }.ws-seo p { color:#bdcbe0; font-size:13px; line-height:1.8; }.ws-info-columns { display:grid; grid-template-columns:1fr 1fr; gap:25px; margin:22px 0; }.ws-seo h3 { font:21px Georgia,serif; margin:0; }.ws-difficulties { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.ws-difficulties p { margin:0; padding:12px; border:1px solid #adbbdc2b; border-radius:12px; font-size:11px; }.ws-difficulties strong { display:block; color:#dacbff; margin-bottom:7px; }.ws-seo>h2:not(:first-child) { margin-top:25px; }.ws-faq { display:grid; grid-template-columns:1fr 1fr; gap:9px; }.ws-faq details { border:1px solid #c2c6e32b; border-radius:11px; }.ws-faq summary { padding:13px; font-size:12px; cursor:pointer; }.ws-faq p { padding:0 13px 13px; margin:0; font-size:12px; }.ws-related a { color:#d5c6fb; }.ws-footer { display:flex; justify-content:center; gap:18px; padding:0 20px 25px; flex-wrap:wrap; }
.ws-zoom { width:calc(100% - 18px); max-width:1000px; max-height:94dvh; padding:12px; border:1px solid #c4b1e780; border-radius:20px; color:#ecf2ff; background:#111d32; }.ws-zoom::backdrop { background:#020816dc; backdrop-filter:blur(6px); }.ws-zoom header { display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:13px; }.ws-zoom header button { width:40px; height:40px; border:1px solid #c8c0ed50; border-radius:10px; background:#ffffff08; color:#fff; font-size:24px; cursor:pointer; }.ws-zoom>p { color:#bccbe3; font-size:10px; line-height:1.5; }.ws-zoom-pan { max-height:calc(90dvh - 125px); overflow:auto; padding:22px; overscroll-behavior:contain; }.ws-zoom .ws-grid-shell { width:calc(var(--size) * 34px); min-width:calc(var(--size) * 34px); max-width:none; }.ws-zoom .ws-cell { font-size:18px; }.ws-save-meaning { margin-top:14px; }.ws-clock-note { color:#b9c8db; font-size:10px; line-height:1.5; }
@media(min-width:700px) { .ws-cell { font-size:clamp(12px,calc(480px / var(--size,8) * .5),25px); } }
@media(max-width:760px) { .ws-puzzle { grid-template-columns:1fr; gap:11px; }.ws-grid-shell { max-width:520px; }.ws-targets ol { grid-template-columns:repeat(4,minmax(0,1fr)); }.ws-targets h2 { font-size:19px; }.ws-targets header { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }.ws-targets header h2 { margin:0; }.ws-targets header small { width:100%; }.ws-topbar nav a:nth-child(n+3) { display:none; }.ws-history #recentGames { grid-template-columns:1fr 1fr; }.ws-difficulties { grid-template-columns:1fr 1fr; } }
@media(max-width:480px) { .ws-main { width:calc(100% - 16px); }.ws-topbar { padding:12px 0; width:calc(100% - 24px); }.ws-brand>span:last-child small { display:none; }.ws-brand { gap:8px; }.ws-brand strong { font-size:14px; }.ws-topbar nav a { font-size:10px; }.ws-topbar nav a:nth-child(2) { display:none; }.ws-heading { margin:7px auto 15px; }.ws-heading h1 { font-size:30px; }.ws-heading>p:last-child { font-size:12px; }.ws-setup { grid-template-columns:1fr 1fr; gap:9px; padding:12px; border-radius:17px; }.ws-setup select { font-size:10px; padding-inline:6px; }.ws-setup .ws-primary { grid-column:1/-1; min-height:38px; }.ws-match { padding:8px 10px; gap:10px; }.ws-score { gap:6px; }.ws-score span { font-size:9px; }.ws-score strong { font-size:23px; }.ws-clock { width:99px; gap:2px 3px; grid-template-columns:1fr; text-align:center; }.ws-clock small { font-size:7px; }.ws-clock strong { font-size:20px; }.ws-match>button { padding:5px 7px; font-size:9px; }.ws-feedback { font-size:10px; min-height:25px; }.ws-board-panel { padding:10px; border-radius:17px; }.ws-board-panel h2 { font-size:15px; }.ws-board-panel header>button { font-size:9px; padding:5px 8px; }.ws-board-help { font-size:9px; }.ws-targets { padding:14px 12px; border-radius:17px; }.ws-targets ol { grid-template-columns:repeat(3,minmax(0,1fr)); }.ws-targets li>span,.ws-targets .history-word { font-size:9px; min-height:36px; }.ws-history,.ws-seo { padding:18px 15px; }.ws-history h2,.ws-seo h2 { font-size:22px; }.ws-info-columns,.ws-faq { grid-template-columns:1fr; gap:16px; }.ws-seo p { font-size:12px; }.ws-history #recentGames { gap:7px; }.ws-result { padding:18px 12px; } }
@media(prefers-reduced-motion:reduce) { .ws-progress i { transition:none; } }
/* Keep the active puzzle in the first viewport; full instructions remain below. */
.ws-topbar { padding:8px 0; }
.ws-heading { margin:3px auto 9px; }
.ws-heading>p { display:none; }
.ws-heading h1 { margin:0; font-size:28px; }
.ws-setup { grid-template-columns:auto minmax(0,1fr) auto; gap:12px; padding:8px 12px; border-radius:15px; }
.ws-setup .ws-mode-field { display:none; }
.ws-mode-link { align-self:center; color:#d8c7ff; font-size:11px; text-underline-offset:3px; }
.ws-setup label { gap:3px; font-size:9px; }
.ws-setup select { min-height:33px; padding:6px 8px; }
.ws-setup .ws-primary { min-height:33px; padding:7px 12px; }
.ws-match { margin-top:6px; padding:6px 12px; gap:18px; }
.ws-score strong { font-size:24px; }
.ws-clock strong { font-size:22px; }
.ws-objective { margin-top:6px; padding:8px 12px; }
.ws-objective header>strong { font-size:16px; }
.ws-objective-track { margin-top:6px; height:4px; }
.ws-objective p { margin-top:5px; font-size:10px; }
.ws-feedback { min-height:16px; margin:4px 3px; font-size:10px; }
.ws-board-panel { padding:10px; }
.ws-board-panel header { margin-bottom:7px; }
.ws-grid-shell { max-width:min(100%,420px,calc(100dvh - 400px)); }
.ws-board-help { margin-top:7px; }
.ws-result { padding:10px 12px; margin:10px 0 8px; }
.ws-result small { display:none; }
.ws-result h2 { margin:0 0 4px; font-size:21px; }
.ws-result p { margin:4px 0 8px; font-size:11px; }
.ws-result .ws-primary { min-height:32px; padding:6px 14px; }
@media(max-width:480px) {
    .ws-topbar { padding:6px 0; }
    .ws-brand .brand-mark { width:30px; height:30px; }
    .ws-heading { margin:3px auto 7px; }
    .ws-heading h1 { font-size:23px; }
    .ws-setup { grid-template-columns:auto minmax(0,1fr) auto; gap:7px; padding:7px 8px; }
    .ws-mode-link { max-width:67px; font-size:9px; line-height:1.4; }
    .ws-setup select { font-size:10px; padding-inline:4px; }
    .ws-setup .ws-primary { grid-column:auto; min-height:33px; padding:7px; font-size:10px; }
    .ws-match { padding:6px 9px; gap:9px; }
    .ws-score strong { font-size:22px; }
    .ws-clock { width:82px; }
    .ws-clock strong { font-size:20px; }
    .ws-objective { padding:7px 9px; }
    .ws-objective header { gap:4px; }
    .ws-objective header>strong { font-size:15px; }
    .ws-objective header>span,.ws-objective p { font-size:9px; }
    .ws-feedback { min-height:15px; font-size:9px; }
}
