/* Daily puzzles (yayplays.com /<lang>/daily/), mobile first (390 px). Same palette as the site: charcoal #232527, text #ecebe7, yellow #f2b33d.
   Colors pass WCAG AA: white on green #2f8547 4.6:1, dark on yellow #d9a92c 7.9:1, light on gray #3a3f52 8.8:1; tile and key
   borders 3:1 or more. High-contrast mode (html.dz-hc, saved in localStorage) uses orange #f5793a / blue #85c0f9 with dark text.
   All motion is off with prefers-reduced-motion. */
:root{--ok:#2f8547;--okT:#fff;--mid:#d9a92c;--midT:#1b1c1e;--no:#3a3f52;--noT:#ecebe7;--g2:#8fcf6c}
html.dz-hc{--ok:#f5793a;--okT:#1b1c1e;--mid:#85c0f9;--midT:#1b1c1e;--g2:#f5a65b}
.dz{max-width:760px;margin:0 auto;padding:14px 18px 8px}
.dz [hidden]{display:none!important}
.dz-crumb{font-size:14px;color:#a9a8a3;margin:0 0 6px}.dz-crumb a{color:#cfcec9;text-decoration:none}.dz-crumb a:hover{color:#f2b33d}
.dz h1{font-size:26px;line-height:1.2;margin:0 0 4px}.dz .dz-lead{margin:0 0 12px;color:inherit}
.dz-app{background:#1b1c1e;border:1px solid #3a3c3f;padding:10px 10px 16px;min-height:420px}
.dz-loading{color:#a9a8a3;text-align:center;margin:40px 0}
.dz-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding:0 2px 8px;border-bottom:1px solid #2f3134}
.dz-hl0{display:flex;flex-direction:column;gap:1px}.dz-no{font:700 17px "Space Grotesk",system-ui,sans-serif;color:#ecebe7}.dz-date{color:#a9a8a3;font-weight:500;font-size:13px}
.dz-tools{display:flex;gap:4px;flex:0 0 auto}.dz-no .dz-nn{white-space:nowrap}@media (max-width:420px){.dz-head{gap:6px}.dz-no{font-size:16px}}
.dz-ib{width:44px;height:44px;display:grid;place-items:center;border:1px solid #4a4c50;background:#232527;color:#ecebe7;border-radius:50%;font:700 18px "Space Grotesk",system-ui,sans-serif;cursor:pointer;padding:0}
.dz-ib:hover{border-color:#a9a8a3}
.dz :focus-visible,.dz-dlg :focus-visible{outline:3px solid #f2b33d;outline-offset:2px}
.dz-btn{background:#2f3134;color:#ecebe7;border:1px solid #6a6c70;padding:10px 16px;font:600 15px system-ui,sans-serif;cursor:pointer;border-radius:22px;min-height:44px}
.dz-btn:hover:not(:disabled){border-color:#cfcec9}.dz-btn:disabled{opacity:.45;cursor:default}.dz-pri{background:#f2b33d;color:#1b1c1e;border-color:#f2b33d}.dz-pri:hover:not(:disabled){border-color:#fff}
.dz-wide{display:block;width:100%;margin-top:14px}
.dz-toast{position:fixed;left:50%;top:76px;transform:translate(-50%,-8px);background:#ecebe7;color:#1b1c1e;padding:10px 16px;font:600 15px system-ui,sans-serif;opacity:0;pointer-events:none;transition:.18s;z-index:30;max-width:90vw;text-align:center;border-radius:6px;box-shadow:0 4px 18px rgba(0,0,0,.4)}
.dz-toast.on{opacity:1;transform:translate(-50%,0)}
.dz-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@keyframes dzshake{0%,100%{transform:none}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}.shake{animation:dzshake .35s}
@keyframes dzpop{0%{transform:scale(1)}40%{transform:scale(1.1)}100%{transform:scale(1)}}
@keyframes dzin{0%{opacity:0;transform:translateY(-8px) scale(.96)}100%{opacity:1;transform:none}}
@keyframes dzbounce{0%,100%{transform:none}40%{transform:translateY(-12px)}70%{transform:translateY(2px)}}
@keyframes dzgrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* dialogs (how to play, settings) */
.dz-dlg{background:#232527;color:#ecebe7;border:1px solid #4a4c50;border-radius:10px;padding:0;width:min(92vw,460px);max-height:86vh;box-shadow:0 10px 40px rgba(0,0,0,.6)}
.dz-dlg::backdrop{background:rgba(10,10,12,.72)}
.dz-dtop{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 8px;position:sticky;top:0;background:#232527}.dz-dtop h2{margin:0;font:700 21px "Space Grotesk",system-ui,sans-serif}
.dz-x{width:44px;height:44px;border:0;background:none;color:#ecebe7;font-size:28px;line-height:1;cursor:pointer;border-radius:50%}.dz-x:hover{background:#2f3134}
.dz-dbody{padding:0 18px 18px}.dz-hl{padding-inline-start:20px;margin:10px 0 0}.dz-hl li{margin:8px 0;color:#d4d3ce;line-height:1.45}
.dz-opt{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #3a3c3f;cursor:pointer}
.dz-opt b{display:block;font-size:16px}.dz-opt small{display:block;color:#bdbcb7;font-size:13.5px;margin-top:3px;line-height:1.4}
.dz-opt input{width:24px;height:24px;flex:0 0 24px;accent-color:#f2b33d;cursor:pointer}
/* result panel */
.dz-result{margin-top:14px;padding:14px 12px 4px;background:#232527;border:1px solid #3a3c3f;border-top:4px solid var(--ok);animation:dzin .35s ease both}.dz-result.lost{border-top-color:#a35a5a}
.dz-rh{font:700 22px "Space Grotesk",system-ui,sans-serif;margin:0 0 4px;outline:none}.dz-rl{margin:0 0 8px;color:#d4d3ce}
.dz-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.dz-st{text-align:center;background:#1b1c1e;padding:8px 2px}.dz-st b{display:block;font:700 26px "Space Grotesk",system-ui,sans-serif}.dz-st span{font-size:12px;color:#bdbcb7;line-height:1.2;display:block}
.dz-dh{font-size:14px;color:#bdbcb7;margin:12px 0 6px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.dz-dist{display:grid;gap:4px}.dz-dr{display:flex;align-items:center;gap:8px;font-size:13px}.dz-dk{flex:0 0 84px;color:#cfcec9}.dz-dist.narrow .dz-dk{flex-basis:18px;text-align:center;font-weight:700}
.dz-db{background:#4a4c50;color:#ecebe7;text-align:end;padding:2px 6px;font-weight:700;min-width:22px;transform-origin:left;animation:dzgrow .5s ease both;animation-delay:calc(var(--i,0) * 60ms)}[dir=rtl] .dz-db{transform-origin:right}
.dz-dr.on .dz-db{background:var(--ok);color:var(--okT)}.dz-dr.on.x .dz-db{background:#9a4545;color:#fff}
.dz-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:16px 0 10px}.dz-copy{background:var(--ok);border-color:var(--ok);color:var(--okT);min-width:150px;font-size:16px}.dz-copy:hover:not(:disabled){border-color:#fff}
.dz-next{margin:0;color:#cfcec9;font:600 15px "Space Grotesk",system-ui,sans-serif;font-variant-numeric:tabular-nums}
/* text sections under the puzzle */
.dz-txt{max-width:760px;margin:0 auto;padding:6px 18px 10px}.dz-txt h2{font-size:20px;margin:22px 0 8px}.dz-txt p,.dz-txt li{color:#d4d3ce}.dz-txt ul,.dz-txt ol{padding-inline-start:22px}.dz-txt li{margin:4px 0}
.dz-faq dt{font-weight:600;margin-top:12px}.dz-faq dd{margin:4px 0 0;color:#d4d3ce}
.dz-yday{background:#2a2b2e;padding:10px 14px}.dz-yday p{margin:4px 0}.dz-past li{margin:3px 0}
.dz-more{display:flex;flex-wrap:wrap;gap:8px 18px}.dz-more a{text-decoration:none}
/* Guess Five */
.gf-grid{display:grid;grid-template-rows:repeat(6,1fr);gap:6px;width:min(100%,310px);margin:0 auto 16px;perspective:600px}
.gf-row{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.gf-t{aspect-ratio:1;display:grid;place-items:center;border:2px solid #4f5156;font:700 28px "Space Grotesk",system-ui,sans-serif;text-transform:uppercase;color:#ecebe7;user-select:none;--bg:transparent;--bc:#8f8e89;--fg:#ecebe7}
.gf-t.full{border-color:#8f8e89}
.gf-t.s0{--bg:var(--no);--bc:var(--no);--fg:var(--noT)}.gf-t.s1{--bg:var(--mid);--bc:var(--mid);--fg:var(--midT)}.gf-t.s2{--bg:var(--ok);--bc:var(--ok);--fg:var(--okT)}
.gf-t.s0,.gf-t.s1,.gf-t.s2{background:var(--bg);border-color:var(--bc);color:var(--fg)}
.gf-t.pop{animation:dzpop .12s ease}
@keyframes dzflip{0%{transform:rotateX(0);background:transparent;border-color:#8f8e89;color:#ecebe7}49.9%{transform:rotateX(-90deg);background:transparent;border-color:#8f8e89;color:#ecebe7}50%{transform:rotateX(-90deg);background:var(--bg);border-color:var(--bc);color:var(--fg)}100%{transform:rotateX(0);background:var(--bg);border-color:var(--bc);color:var(--fg)}}
.gf-t.rv{animation:dzflip .3s ease-in-out both}
.gf-row.win .gf-t{animation:dzbounce .5s ease both}.gf-row.win .gf-t:nth-child(2){animation-delay:.08s}.gf-row.win .gf-t:nth-child(3){animation-delay:.16s}.gf-row.win .gf-t:nth-child(4){animation-delay:.24s}.gf-row.win .gf-t:nth-child(5){animation-delay:.32s}
.gf-kb{display:grid;gap:7px;max-width:500px;margin:0 auto;touch-action:manipulation}.gf-kr{display:flex;gap:5px;justify-content:center}.gf-kr:nth-child(2){padding:0 4.5%}
.gf-k{flex:1 1 0;min-width:0;height:56px;border:0;background:#686c73;color:#fff;font:700 18px system-ui,sans-serif;text-transform:uppercase;cursor:pointer;border-radius:5px;padding:0;-webkit-tap-highlight-color:transparent}
.gf-k:active{filter:brightness(1.2)}
.gf-kb.full .gf-kr:nth-child(2){padding:0}.gf-kb.k11 .gf-kr{gap:4px}
.gf-k.wide{flex:1.6 1 0;font-size:13px;text-transform:none}.gf-k.s0{background:#2e3240;color:#a6a8b0}.gf-k.s1{background:var(--mid);color:var(--midT)}.gf-k.s2{background:var(--ok);color:var(--okT)}
.gf-ex{display:grid;gap:8px;margin:6px 0 4px}.gf-exr{display:flex;align-items:center;gap:12px;color:#d4d3ce}.gf-exr .gf-t{width:40px;font-size:20px;flex:0 0 40px}
/* Guess Five ko (6 jamo + syllables above finished rows), ja (5 kana, 50-on keyboard), zh-TW (4 characters, IME box) */
.gf-grid.g5-ko{width:min(100%,340px);grid-template-rows:none;gap:4px}.g5-ko .gf-row{grid-template-columns:repeat(6,1fr);gap:5px}.g5-ko .gf-t{font-size:24px}
.gf-syl{grid-column:1/-1;height:20px;font:600 15px/20px system-ui,sans-serif;color:#d4d3ce;text-align:center;letter-spacing:.12em}
.g5-ja .gf-t{font-size:26px;text-transform:none}.gf-grid.g5-zh-TW{width:min(100%,280px)}.g5-zh-TW .gf-row{grid-template-columns:repeat(4,1fr)}.g5-zh-TW .gf-t{font-size:34px}
.gf-t.pre{border-style:dashed;color:#bdbcb7}
.g5-cap{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;border:0;padding:0;margin:0;font-size:16px;pointer-events:none}.gf-grid:focus-within{outline:2px dashed #5f6166;outline-offset:5px}
.g5-in{display:flex;gap:8px;max-width:340px;margin:0 auto 12px}.g5-box{flex:1 1 auto;min-width:0;height:48px;box-sizing:border-box;font:600 22px system-ui,sans-serif;padding:0 12px;background:#1b1c1e;color:#ecebe7;border:2px solid #8f8e89;border-radius:5px}.g5-box:focus{border-color:#ecebe7;outline:none}
.g5-go{flex:0 0 auto;min-width:88px;height:48px;border:0;border-radius:5px;background:#686c73;color:#fff;font:700 16px system-ui,sans-serif;cursor:pointer}
.gf-kb.g5-ko .gf-kr:nth-child(2){padding:0}.gf-kb.g5-ko .gf-kr:nth-child(3){padding:0 4.5%}.gf-kb.g5-ko .gf-kr:first-child{padding:0 15%}.gf-kb.g5-ko .gf-k{height:50px;font-size:20px}.gf-kb.g5-ko .gf-kr:first-child .gf-k{height:44px;background:#565a61}
.gf-kb.g5-ja{gap:5px}.gf-kb.g5-ja .gf-kr{gap:3px}.gf-kb.g5-ja .gf-kr:nth-child(2){padding:0}.gf-kb.g5-ja .gf-k{height:44px;font-size:19px;text-transform:none}.gf-kb.g5-ja .gf-k.wide{font-size:15px}
.gf-k.gap{visibility:hidden}.gf-k:disabled{opacity:.3;cursor:default}.gf-k.md{font-size:24px}.gf-k.md[aria-pressed=true]{background:#ecebe7;color:#1b1c1e}
/* Sort Sixteen */
.ss-hint{margin:0 2px 10px;color:#cfcec9;font-size:15px;text-align:center}
.ss-solved{display:grid;gap:6px;margin-bottom:6px}.ss-g{padding:10px 8px;text-align:center;color:#1b1c1e;border-radius:6px}.ss-g b{display:block;font-size:15px;text-transform:uppercase;letter-spacing:.03em}.ss-g span{font-size:14px}
.ss-g.new{animation:dzin .4s ease both}
.ss-g.l1{background:#f2cf55}.ss-g.l2{background:var(--g2)}.ss-g.l3{background:#7fb2ea}.ss-g.l4{background:#c39be6}
.ss-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ss-w{min-height:64px;padding:4px 2px;border:0;background:#e6e4dc;color:#1b1c1e;font:700 14px/1.15 system-ui,sans-serif;text-transform:uppercase;cursor:pointer;overflow-wrap:normal;word-break:normal;white-space:nowrap;overflow:hidden;border-radius:6px;min-width:0;transition:background .12s,transform .12s;-webkit-tap-highlight-color:transparent}
.ss-w:active{transform:scale(.96)}
.ss-w.long{font-size:12.5px}.ss-w.xl{font-size:11px;letter-spacing:-.02em}.ss-w.on{background:#5a5d63;color:#fff}
.ss-mis{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0 12px;color:#cfcec9;font-size:14px}.ss-mis i{width:13px;height:13px;border-radius:50%;background:#1b1c1e;border:1px solid #6a6c70;display:inline-block}.ss-mis i.on{background:#ecebe7;border-color:#ecebe7}
.ss-bar{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
/* Number Reach */
.nr-target{text-align:center;margin:4px 0 6px}.nr-target span{display:block;color:#bdbcb7;font-size:13px;text-transform:uppercase;letter-spacing:.1em}.nr-target b{font:700 60px/1 "Space Grotesk",system-ui,sans-serif;color:#f2b33d}
.nr-best{text-align:center;margin:0 0 10px;color:#cfcec9;font-size:14px}
.nr-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:360px;margin:0 auto}
.nr-n{height:64px;border:0;border-radius:8px;background:#e6e4dc;color:#1b1c1e;font:700 26px "Space Grotesk",system-ui,sans-serif;cursor:pointer;transition:background .12s,transform .12s;-webkit-tap-highlight-color:transparent}
.nr-n.made{background:#cfe3f7}.nr-n.on{background:#f2b33d;transform:translateY(-2px);box-shadow:0 3px 0 #a87a1e}.nr-n.hit{background:var(--ok);color:var(--okT)}.nr-n:disabled{cursor:default}.nr-n.pop{animation:dzpop .25s ease}
.nr-ops{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-width:360px;margin:12px auto}
.nr-op{height:52px;border:1px solid #6a6c70;background:#2f3134;color:#ecebe7;font:700 26px system-ui,sans-serif;cursor:pointer;border-radius:8px}.nr-op.on{background:#f2b33d;color:#1b1c1e;border-color:#f2b33d}.nr-op:disabled{opacity:.4;cursor:default}
.nr-log{max-width:360px;margin:6px auto 12px;padding-inline-start:28px;color:#d4d3ce;font:500 16px "Space Grotesk",system-ui,sans-serif;min-height:8px}
.nr-help{text-align:center;font-size:13.5px;color:#bdbcb7;margin:12px 0 0}.nr-sol{background:#1b1c1e;padding:8px 12px;margin:8px 0}.nr-sol h3{margin:2px 0 4px;font-size:15px}.nr-sol ol{margin:0;padding-inline-start:22px}
/* past puzzles (archive): bar under the header, list dialog, two-cell stats */
.dz-arcbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:-4px 0 12px;padding:8px 10px;background:#2a2b2e;border-inline-start:4px solid #85c0f9}
.dz-arcbar p{margin:0;color:#ecebe7;font-size:14px;line-height:1.35;outline:none;flex:1 1 180px}.dz-arcbar .dz-btn{min-height:44px;padding:8px 14px;font-size:14px}
.dz-an{margin:4px 0 10px;color:#d4d3ce;line-height:1.45}
.dz-al{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:6px}
.dz-ai{width:100%;display:grid;grid-template-columns:auto 1fr;gap:0 8px;align-items:baseline;text-align:start;background:#1b1c1e;color:#ecebe7;border:1px solid #4a4c50;border-radius:6px;padding:8px 10px;cursor:pointer;font:500 13px system-ui,sans-serif;min-height:44px}
.dz-ai:hover{border-color:#cfcec9}.dz-ai[aria-current]{border-color:#f2b33d}
.dz-ai b{font:700 16px "Space Grotesk",system-ui,sans-serif}.dz-ai span{color:#a9a8a3;font-size:12px;justify-self:end}.dz-ai i{grid-column:1/-1;font-style:normal;font-size:12.5px;color:#bdbcb7;margin-top:2px}
.dz-ai i::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-inline-end:6px;background:#4a4c50;vertical-align:0}
.dz-ai.statusSolved i::before{background:var(--ok)}.dz-ai.statusLost i::before{background:#c06060}.dz-ai.statusStarted i::before{background:var(--mid)}
.dz-stats.two{grid-template-columns:repeat(2,1fr)}.dz-result.arc{border-top-color:#85c0f9}
/* Equation Eight */
.gf-grid.eq-grid{width:min(100%,370px);gap:5px}.eq-grid .gf-row{grid-template-columns:repeat(8,1fr);gap:5px}.eq-grid .gf-t{font-size:23px;text-transform:none}
.eq-kb .gf-k{font-size:21px}.eq-kb .gf-k.wide{font-size:13px}.eq-kb .gf-kr:nth-child(2){padding:0}.eq-kb .gf-k:not(.wide){text-transform:none}.eq-kb{gap:6px}.eq-kb .gf-k{height:52px}
.eq-help{margin-top:12px}.eq-exn{margin:4px 0 0;color:#bdbcb7;font-size:14px;line-height:1.4}
@media (min-width:761px){.gf-grid.eq-grid{width:400px}.eq-grid .gf-t{font-size:26px}}
/* hub */
.dz-cards{display:grid;gap:12px;margin:14px 0}.dz-card{display:grid;grid-template-columns:64px 1fr;gap:4px 14px;align-items:center;background:#1b1c1e;border:1px solid #3a3c3f;padding:14px;color:inherit;text-decoration:none}
.dz-card:hover,.dz-card:focus-visible{border-color:#f2b33d}.dz-card .ic{grid-row:span 3;width:64px;height:64px;display:grid;place-items:center}.dz-card .ic svg{width:64px;height:64px}
.dz-card b{font:700 19px "Space Grotesk",system-ui,sans-serif}.dz-card p{margin:0;color:inherit;font-size:15px}.dz-card .dz-status{color:#f2b33d;font-size:13px;font-weight:600}.dz-card.done .dz-status{color:#8fcf6c}
@media (min-width:761px){.dz{padding:22px 24px 8px}.dz h1{font-size:32px}.dz-app{padding:16px 18px 20px}.ss-w{min-height:76px;font-size:15px}.ss-w.long{font-size:14px}.ss-w.xl{font-size:13px}.gf-grid{width:340px}.dz-result{padding:18px 18px 6px}}
@media (prefers-reduced-motion:reduce){.dz *,.dz-dlg,.dz-toast{animation:none!important;transition:none!important}}
/* Hidden Pixels */
.hp-info{display:flex;justify-content:space-between;align-items:center;margin:0 4px 8px;color:#bdbcb7;font-size:14px}.hp-timer b{font:700 18px "Space Grotesk",system-ui,sans-serif;color:#ecebe7;font-variant-numeric:tabular-nums}
.hp-outer{overflow-x:auto;padding:2px 0 4px}
.hp-wrap{--cs:30px;--rw:60px;--ch:60px;display:grid;grid-template-columns:var(--rw) calc(var(--cs) * var(--w) + 4px);grid-template-rows:var(--ch) auto;width:max-content;margin:0 auto}
.hp-cols{display:grid;grid-template-columns:repeat(var(--w),var(--cs));padding:0 2px;align-items:end}
.hp-cc{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:1px;padding:0 0 4px;font:700 13px/1.1 "Space Grotesk",system-ui,sans-serif;color:#ecebe7;height:100%;box-sizing:border-box;border-radius:4px 4px 0 0}
.hp-rows{display:grid;grid-template-rows:repeat(var(--h),var(--cs));padding:2px 0}
.hp-rc{display:flex;justify-content:flex-end;align-items:center;gap:5px;padding:0 6px 0 0;font:700 13px "Space Grotesk",system-ui,sans-serif;color:#ecebe7;border-radius:4px 0 0 4px}
.hp-cc.ok,.hp-rc.ok{color:#7fd492;background:rgba(47,133,71,.22)}html.dz-hc .hp-cc.ok,html.dz-hc .hp-rc.ok{color:#85c0f9;background:rgba(133,192,249,.16)}
.hp-board{position:relative;display:grid;grid-template-columns:repeat(var(--w),var(--cs));grid-auto-rows:var(--cs);border:2px solid #9a9890;background:#e6e4dc;touch-action:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer;outline:none}
.hp-board:focus-visible{box-shadow:0 0 0 3px #f2b33d}
.hp-row{display:contents}
.hp-c{box-sizing:border-box;border-right:1px solid #b5b3aa;border-bottom:1px solid #b5b3aa;background:#e6e4dc;position:relative;-webkit-tap-highlight-color:transparent}
.hp-c.bx{border-right:2px solid #6a6c70}.hp-c.by{border-bottom:2px solid #6a6c70}
.hp-c.f{background:#25324a}html.dz-hc .hp-c.f{background:#000}html.dz-hc .hp-c{background:#fff}
.hp-c.x::before,.hp-c.x::after{content:"";position:absolute;left:22%;right:22%;top:50%;height:2px;background:#8c4a4a;transform:rotate(45deg)}.hp-c.x::after{transform:rotate(-45deg)}html.dz-hc .hp-c.x::before,html.dz-hc .hp-c.x::after{background:#f5793a;height:3px}
.hp-board:focus .hp-c.cur{box-shadow:inset 0 0 0 3px #f2b33d;z-index:1}
.hp-c.bad{background:#d65c5c!important}html.dz-hc .hp-c.bad{background:#f5793a!important}
.hp-board.won{border-color:var(--ok);cursor:default}.hp-board.won .hp-c{border-color:transparent}.hp-board.won .hp-c.x::before,.hp-board.won .hp-c.x::after{display:none}
.hp-board.won .hp-c.f{animation:dzpop .3s ease both}
.hp-cap{text-align:center;font:700 22px "Space Grotesk",system-ui,sans-serif;color:#f2b33d;margin:10px 0 2px}
.hp-modes{display:flex;justify-content:center;margin:12px auto 10px}
.hp-mode{min-height:44px;min-width:110px;padding:8px 16px;border:1px solid #6a6c70;background:#2f3134;color:#ecebe7;font:600 15px system-ui,sans-serif;cursor:pointer}.hp-mode:first-child{border-radius:22px 0 0 22px}.hp-mode:last-child{border-radius:0 22px 22px 0;border-left:0}
.hp-mode.on{background:#f2b33d;color:#1b1c1e;border-color:#f2b33d}
.hp-pic{display:grid;grid-template-columns:repeat(var(--w),12px);grid-auto-rows:12px;width:max-content;margin:8px 0;border:1px solid #6a6c70;background:#e6e4dc}.hp-pic i{display:block}.hp-pic i.f{background:#25324a}.hp-pic.small{grid-template-columns:repeat(var(--w),9px);grid-auto-rows:9px}
.hp-ex{margin:4px 0 10px}.hp-exr{display:flex;align-items:center;gap:0}.hp-exr b{font:700 15px "Space Grotesk",system-ui,sans-serif;margin-right:12px;min-width:30px}.hp-exr i{width:30px;height:30px;background:#e6e4dc;border:1px solid #b5b3aa;box-sizing:border-box}.hp-exr i.f{background:#25324a}.hp-ex p{margin:8px 0 0;color:#d4d3ce}
@media (max-width:520px){.dz-app.hp-app{margin:0 -12px;padding-left:4px;padding-right:4px}}
.hp-hl{position:absolute;pointer-events:none;background:rgba(242,179,61,.28);z-index:2}.hp-hlr{left:0;right:0;height:var(--cs);top:calc(var(--cs) * var(--hy,0))}.hp-hlc{top:0;bottom:0;width:var(--cs);left:calc(var(--cs) * var(--hx,0))}.hp-hl[hidden]{display:none}
.hp-cc.hl,.hp-rc.hl{background:rgba(242,179,61,.3);color:#fff}
.hp-loupe{position:fixed;z-index:30;display:grid;grid-template-columns:repeat(3,30px);grid-auto-rows:30px;padding:3px;gap:0;background:#1b1c1e;border:2px solid #f2b33d;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.5);pointer-events:none}.hp-loupe[hidden]{display:none}
.hp-loupe i{display:block;position:relative;background:#e6e4dc;border:1px solid #b5b3aa}.hp-loupe i.f{background:#25324a}.hp-loupe i.o{background:#3a3c40;border-color:#3a3c40}.hp-loupe i.me{box-shadow:inset 0 0 0 3px #f2b33d}
.hp-loupe i.x::before,.hp-loupe i.x::after{content:"";position:absolute;left:22%;right:22%;top:50%;height:2px;background:#8c4a4a;transform:rotate(45deg)}.hp-loupe i.x::after{transform:rotate(-45deg)}
html.dz-hc .hp-loupe i{background:#fff}html.dz-hc .hp-loupe i.f{background:#000}html.dz-hc .hp-loupe i.o{background:#3a3c40}
@media (max-width:520px){.hp-rc{padding-right:4px}.dz-app.hp-app .hp-outer{width:calc(100vw - 16px);margin-left:calc(50% - 50vw + 8px)}}
/* Six by Six (mini sudoku): paper cells, thick box borders; givens dark and bold, own numbers blue; selected cell yellow,
   its row/column/box tinted, same numbers light blue, conflicts red (high contrast: blue selection, orange conflicts) */
.sx-board{--n:6;display:grid;grid-template-rows:repeat(var(--n),1fr);width:min(100%,calc(var(--n) * 58px));aspect-ratio:1;margin:0 auto;border:3px solid #1b1c1e;outline:1px solid #6a6c70;background:#1b1c1e;box-sizing:border-box;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.sx-board:focus-visible{outline:3px solid #f2b33d;outline-offset:3px}
.sx-row{display:grid;grid-template-columns:repeat(var(--n),1fr)}
.sx-c{position:relative;display:grid;place-items:center;background:#e9e7df;color:#1d5fbf;border-right:1px solid #9c9a92;border-bottom:1px solid #9c9a92;font:600 26px "Space Grotesk",system-ui,sans-serif;cursor:pointer;min-width:0;min-height:0;line-height:1}
.sx-board.n9 .sx-c{font-size:21px}
.sx-c.bx{border-right:3px solid #1b1c1e}.sx-c.by{border-bottom:3px solid #1b1c1e}
.sx-row .sx-c:last-child{border-right:0}.sx-row:last-child .sx-c{border-bottom:0}
.sx-c.giv{color:#1b1c1e;font-weight:800}
.sx-c.near{background:#dcd8cb}.sx-c.same{background:#bcd3f0}.sx-c.sel{background:#f2cf55}
.sx-c.bad{color:#b3261e;background:#f4c9c4}.sx-c.bad.sel{background:#f0a99f}.sx-c.giv.bad{color:#8a1c15}
.sx-board.done .sx-c{cursor:default}.sx-board.won .sx-c{background:#d9ecd9;color:#1b1c1e}
html.dz-hc .sx-c{background:#fff;color:#0045a8}html.dz-hc .sx-c.giv{color:#000}html.dz-hc .sx-c.near{background:#e8e8e8}html.dz-hc .sx-c.same{background:#c9e2fb}html.dz-hc .sx-c.sel{background:#85c0f9}
html.dz-hc .sx-c.sel{box-shadow:inset 0 0 0 3px #000}html.dz-hc .sx-c.bad{background:#f5793a;color:#000;text-decoration:underline;text-decoration-thickness:2px}html.dz-hc .sx-board.won .sx-c{background:#fde3d2}
.sx-notes{position:absolute;inset:2px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);font:600 11px system-ui,sans-serif;color:#3c3e42}.sx-board.n9 .sx-notes{grid-template-rows:repeat(3,1fr);font-size:9.5px}
.sx-notes i{display:grid;place-items:center;font-style:normal}
.sx-pad{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;width:min(100%,348px);margin:14px auto 0}.sx-pad.n9{grid-template-columns:repeat(9,1fr);gap:4px;width:min(100%,460px)}
.sx-c,.sx-k,.sx-bar .dz-btn{-webkit-tap-highlight-color:transparent}
.sx-k{min-height:52px;border:1px solid #6a6c70;background:#2f3134;color:#ecebe7;font:700 24px "Space Grotesk",system-ui,sans-serif;border-radius:8px;cursor:pointer;padding:0;min-width:0}
.sx-k:hover:not(:disabled){border-color:#cfcec9}.sx-k.all{opacity:.5}.sx-pad.pen .sx-k{font-size:17px;color:#f2b33d;border-style:dashed}
.sx-bar{margin-top:12px}.sx-pen.on{background:#f2b33d;color:#1b1c1e;border-color:#f2b33d}
.sx-bar2{display:flex;justify-content:center;gap:8px;margin-top:8px}.sx-give{background:none;border-color:#4a4c50;color:#bdbcb7;min-height:44px;padding:6px 14px;font-size:14px}
.sx-mini{display:grid;grid-template-columns:repeat(var(--n),22px);grid-auto-rows:22px;width:max-content;margin:8px 0;border:2px solid #1b1c1e;background:#e9e7df}
.sx-mini i{display:grid;place-items:center;font:700 13px "Space Grotesk",system-ui,sans-serif;color:#1b1c1e;font-style:normal;border-right:1px solid #b5b3aa;border-bottom:1px solid #b5b3aa}.sx-mini i.bx{border-right:2px solid #1b1c1e}.sx-mini i.by{border-bottom:2px solid #1b1c1e}
.sx-ex{margin:4px 0 10px}.sx-exr{display:flex}.sx-exr i{width:34px;height:34px;display:grid;place-items:center;background:#e9e7df;color:#1b1c1e;border:1px solid #9c9a92;font:800 18px "Space Grotesk",system-ui,sans-serif;font-style:normal}.sx-exr i.q{background:#f2cf55;color:#1d5fbf}.sx-ex p{margin:8px 0 0;color:#d4d3ce}
@media (max-width:520px){.dz-app.sx-app{margin:0 -12px;padding-left:6px;padding-right:6px}}
/* Flag Compass */
.fc-flag{margin:4px auto 6px;max-width:420px;text-align:center}.fc-flag img{display:block;width:100%;height:auto;aspect-ratio:4/3;border:1px solid #4a4c50;background:#2f3134;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.fc-cap{margin:8px 0 0;color:#bdbcb7;font-size:14px}.fc-cap.done{font:700 22px "Space Grotesk",system-ui,sans-serif;color:#f2b33d}
.fc-hint{text-align:center;margin:6px 0 10px;font-size:14px;color:#9a9890}.fc-hint.on{color:#ecebe7;font-weight:600;background:#2f3134;border:1px solid #4a4c50;padding:8px 12px}
.fc-form{display:flex;gap:8px;max-width:420px;margin:0 auto}.fc-cb{position:relative;flex:1;min-width:0}
.fc-in{width:100%;box-sizing:border-box;min-height:46px;padding:10px 12px;font:16px system-ui,sans-serif;color:#ecebe7;background:#1b1c1e;border:2px solid #6a6c70;border-radius:6px}.fc-in:focus{outline:none;border-color:#f2b33d}
.fc-go{min-width:84px;-webkit-tap-highlight-color:transparent}
.fc-list{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:20;margin:0;padding:4px 0;list-style:none;background:#25272a;border:1px solid #6a6c70;border-radius:6px;max-height:min(50vh,320px);overflow-y:auto;box-shadow:0 6px 18px rgba(0,0,0,.45)}
.fc-list li{padding:10px 12px;min-height:24px;cursor:pointer;color:#ecebe7;font-size:15px}.fc-list li small{display:block;color:#9a9890;font-size:12px}.fc-list li.on,.fc-list li:hover{background:#3a3c40}.fc-list li.fc-none{cursor:default;color:#9a9890}
.fc-rows{list-style:none;margin:12px auto 0;padding:0;max-width:420px;display:grid;gap:6px}
.fc-row{display:grid;grid-template-columns:1fr auto 30px 48px;align-items:center;gap:8px;min-height:40px;padding:4px 10px;background:#2f3134;border:1px solid #4a4c50;font-size:15px}
.fc-row.empty{background:transparent;border-style:dashed;border-color:#3a3c40}
.fc-row .fc-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.fc-row .fc-km{font-variant-numeric:tabular-nums;color:#ecebe7}
.fc-row .fc-ar{display:flex;justify-content:center;color:#f2b33d}.fc-row .fc-ar svg{transition:transform .3s}
.fc-row .fc-pc{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.fc-row.right{grid-template-columns:1fr auto;background:var(--ok,#2f8547);border-color:var(--ok,#2f8547);color:#fff}.fc-row .fc-ok{font-weight:700}
html.dz-hc .fc-row.right{background:#f5793a;border-color:#f5793a;color:#1b1c1e}html.dz-hc .fc-row .fc-ar{color:#85c0f9}
.fc-row.pop{animation:dzpop .3s ease both}
.fc-ex .fc-row{max-width:340px;margin:2px 0 8px}.fc-exn{margin:0 0 10px;font-size:14px;color:#bdbcb7}
.fc-yd{display:flex;align-items:center;gap:12px}.fc-yd img{width:96px;height:72px;border:1px solid #4a4c50;flex:none}.fc-yd p{margin:0}
@media (min-width:761px){.fc-flag{max-width:440px}}
/* Shape Atlas (daily country shape guess): the outline alone on a plain panel (no map, no labels) while playing; after the
   game a small world map (all land one color, no borders) with the answer highlighted and ringed */
.sa-fig{margin:4px auto 6px;max-width:420px;text-align:center}
.sa-fig .sa-shape{display:block;width:min(72vw,280px);height:auto;aspect-ratio:1;margin:0 auto;padding:6px;box-sizing:border-box;background:#2f3134;border:1px solid #4a4c50;user-select:none;-webkit-user-select:none}
.sa-shape path{fill:#ecebe7;stroke:#ecebe7;stroke-width:.25;stroke-linejoin:round}
html.dz-hc .sa-shape path{fill:#fff;stroke:#fff}
.sa-yd .sa-small{width:72px;height:72px;flex:none;padding:3px;box-sizing:border-box;background:#2f3134;border:1px solid #4a4c50}
.sa-map{margin:10px 0 4px}.sa-mapbox{background:#22303f;border:1px solid #4a4c50;line-height:0}.sa-mapbox svg{display:block;width:100%;height:auto;aspect-ratio:360/142}
.sa-map figcaption{margin-top:6px;font-size:14px;color:#bdbcb7}
.sa-land{fill:#5d6066;stroke:#5d6066;stroke-width:.8;stroke-linejoin:round}.sa-on{fill:#f2b33d;stroke:#f2b33d;stroke-width:.6;stroke-linejoin:round}.sa-ring{fill:none;stroke:#f2b33d;stroke-width:2;vector-effect:non-scaling-stroke}
html.dz-hc .sa-on{fill:#f5793a;stroke:#f5793a}html.dz-hc .sa-ring{stroke:#85c0f9}
@media (min-width:761px){.sa-fig .sa-shape{width:340px}}
@media (max-width:760px){.sa-app .dz-ib{min-width:44px;min-height:44px}.sa-app .dz-copy,.sa-app .dz-back{min-height:44px}}
/* Letter Ladder (daily word ladder): rows of five tiles from the start word down to the goal word */
.ll-ladder{display:flex;flex-direction:column;gap:5px;width:min(100%,340px);margin:0 auto 6px}
.ll-row{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:6px}
.ll-tag{font:600 11px system-ui,sans-serif;color:#a6a8b0;text-align:right;overflow-wrap:anywhere;line-height:1.1}
.ll-w{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}
.ll-t.gf-t{aspect-ratio:auto;height:46px;font-size:24px;padding:0;box-sizing:border-box;position:relative}
.ll-row.start .ll-t,.ll-row.step .ll-t{background:#2f3134;border-color:#2f3134}
.ll-row.step .ll-t.chg{background:var(--mid);border-color:var(--mid);color:var(--midT)}
.ll-row.hinted .ll-t.chg{background:#8a63d2;border-color:#8a63d2;color:#fff}
.ll-t.m::after{content:"";position:absolute;left:6px;right:6px;bottom:4px;height:4px;border-radius:2px;background:var(--ok)}
.ll-row.goal .ll-t{border-style:dashed;border-color:#8f8e89;background:transparent}
.ll-row.entry .ll-t{background:#232527;border-color:#8f8e89;cursor:pointer;-webkit-tap-highlight-color:transparent;font-family:"Space Grotesk",system-ui,sans-serif}
.ll-row.entry .ll-t.chg{border-color:var(--mid);color:var(--mid)}
.ll-row.entry .ll-t.cur{outline:3px solid #f2b33d;outline-offset:1px}
.ll-row.entry .ll-t.hn{background:#8a63d2;border-color:#8a63d2;color:#fff}
.ll-row.shake{animation:dzshake .4s}
.ll-info{max-width:340px;margin:0 auto 8px}.ll-info span{font:600 15px system-ui,sans-serif;color:#ecebe7}
.ll-bar{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:10px 0}.ll-bar .dz-btn{min-width:88px}
.ll-kb{margin-top:6px}
.ll-sol{list-style:none;margin:6px 0 10px;padding:0;display:flex;flex-direction:column;gap:3px;align-items:flex-start}
.ll-sol li{display:flex;gap:3px}.ll-sol i{width:26px;height:26px;display:grid;place-items:center;background:#2f3134;color:#ecebe7;font:700 15px "Space Grotesk",system-ui,sans-serif;font-style:normal}
.ll-sol i.chg{background:var(--mid);color:var(--midT)}
.ll-sol.small i{width:22px;height:22px;font-size:13px}
.ll-ex{margin:6px 0 4px}.ll-ex p{color:#d4d3ce;margin:6px 0 0}
/* Right-to-left pages (ar, html dir=rtl): boards, tile grids, keypads, number pads, clue rows and columns, examples and
   solution grids keep the left-to-right order of every other language (an equation reads 12+35=47, column 1 and the row
   clues are on the left, pointer math counts from the left); the text around them (help, messages, results, stats, the
   guess rows of Flag Compass and Shape Atlas) stays right to left. Equations and sizes inside text: DK.lr in kit.js */
[dir=rtl] .gf-grid,[dir=rtl] .gf-kb,[dir=rtl] .nr-nums,[dir=rtl] .nr-ops,[dir=rtl] .hp-outer,[dir=rtl] .hp-pic,[dir=rtl] .hp-exr,[dir=rtl] .hp-loupe,[dir=rtl] .sx-board,[dir=rtl] .sx-pad,[dir=rtl] .sx-mini,[dir=rtl] .sx-exr{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .hp-mode:first-child{border-radius:0 22px 22px 0}[dir=rtl] .hp-mode:last-child{border-radius:22px 0 0 22px;border-left:1px solid #6a6c70;border-right:0}[dir=rtl] .hp-mode.on:last-child{border-left-color:#f2b33d}
[dir=rtl] .fc-row .fc-pc{text-align:left}
@media (max-width:520px){[dir=rtl] .dz-app.hp-app .hp-outer{margin-left:0;margin-right:calc(50% - 50vw + 8px)}}
/* how to play, same shape on every puzzle (2026-10-30): goal line, 3-4 numbered steps, picture or colors legend, Play */
.dz-goal{margin:2px 0 4px;font:700 17px/1.35 system-ui,sans-serif;color:#fff}
.dz-steps{margin:6px 0 0}.dz-steps li{margin:6px 0;line-height:1.4}.dz-steps li::marker{color:#f2b33d;font-weight:700}
.dz-hex{margin:12px 0 0;padding:12px 0 0;border-top:1px solid #3a3c3f}.dz-hex p{font-size:14px;line-height:1.4}
.dz-play{min-height:48px;font-size:17px}
.ss-ex{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.ss-exr{display:flex;align-items:center;gap:8px;color:#d4d3ce;font-size:14px}.ss-exc{width:28px;height:20px;border-radius:4px;flex:0 0 28px}.ss-exc.l1{background:#f2cf55}.ss-exc.l2{background:var(--g2)}.ss-exc.l3{background:#7fb2ea}.ss-exc.l4{background:#c39be6}
.nr-ex{display:flex;align-items:center;gap:8px;direction:ltr;unicode-bidi:isolate}.nr-exc{font:700 20px "Space Grotesk",system-ui,sans-serif}.nr-exc.n{min-width:44px;height:40px;padding:0 8px;box-sizing:border-box;display:grid;place-items:center;border-radius:6px;background:#e6e4dc;color:#1b1c1e}.nr-exc.made{background:#cfe3f7}.nr-exc.o{color:#f2b33d}
/* one-line hint under the board; keyboard shortcuts only with a mouse or trackpad */
.dz-hint{margin:8px 0 10px;font-size:14px;line-height:1.35}.dz-keys{margin-top:10px}
.dz-keys{display:none}html.dz-fine .dz-keys{display:block} /* keyboard hints only with a mouse or trackpad (kit.js dz-fine) */
/* no double-tap zoom anywhere on the board (fast double taps on a key type twice) */
.dz-app{touch-action:manipulation}
/* key press feedback (kit.js sets data-pr for 120 ms on pointerdown) */
.gf-k,.nr-n,.nr-op,.sx-k,.g5-go{transition:transform .06s,filter .06s}
[data-pr]{filter:brightness(1.4);transform:scale(.93)}
@media (prefers-reduced-motion:reduce){[data-pr]{transform:none}}
/* special keys: Enter and Delete are lighter, with a wider gap to the letters next to them; Delete is an icon */
.gf-k.wide{background:#8b8f97;color:#fff}.gf-kr>.gf-k.wide:first-child{margin-right:4px}.gf-kr>.gf-k.wide:last-child{margin-left:4px}
.gf-k .dz-del{width:24px;height:24px;display:block;margin:auto}
.eq-kb .gf-kr>.gf-k.wide:last-child{margin-left:4px}
/* phones: keyboards and pads use the full screen width (4 px from each edge), 4 px gaps, letter keys at least 52 px tall */
@media (max-width:520px){
  .gf-kb,.eq-kb,.ll-kb{max-width:none;margin-left:calc(50% - 50vw + 4px);margin-right:calc(50% - 50vw + 4px);gap:6px}
  .gf-kr,.gf-kb.k11 .gf-kr{gap:4px}.gf-kr:nth-child(2){padding:0 5%}
  .gf-kb.g5-ja,.gf-kb.g5-ko{gap:5px}.gf-kb.g5-ja .gf-kr,.gf-kb.g5-ko .gf-kr{gap:4px}
  .gf-kb.g5-ja .gf-k,.gf-kb.g5-ko .gf-k,.gf-kb.g5-ko .gf-kr:first-child .gf-k{height:52px}
  .gf-grid.g5-ko{width:min(100%,300px)}.gf-grid.g5-ja{width:min(100%,270px)} /* taller keyboards: the grid gives a little room */
  .sx-pad.n9{width:calc(100vw - 8px);margin-left:calc(50% - 50vw + 4px);margin-right:calc(50% - 50vw + 4px)}
}
/* buttons (2026-10-31, spec site-network/strategy/yayplays-button-bench.md; tokens and .btn/.ib in site.css): rounded rectangles r10,
   M 44 px 16/700; primary amber (hover lighter, pressed darker and 1 px down), secondary grey; disabled = flat grey without opacity;
   focus ring 2 px light (never amber on amber); header tools = borderless 44 px icon buttons with line icons (kit.js);
   keys 58 px r6 gap 6, letters 20/700, Enter 12/700 uppercase; tiles and number pads r6 */
.dz :focus-visible,.dz-dlg :focus-visible{outline:2px solid #ecebe7;outline-offset:2px}
.dz-ib{border:0;background:transparent;border-radius:10px;color:#ecebe7;transition:background-color .12s}.dz-ib svg{width:22px;height:22px}
@media (hover:hover){.dz-ib:hover{background:#2f3134}}.dz-ib:active{background:#383a3e;transform:translateY(1px)}
.dz-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid #4a4c50;border-radius:10px;background:#2f3134;color:#ecebe7;font:700 16px/1.2 system-ui,-apple-system,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Noto Sans JP",sans-serif;letter-spacing:.1px;transition:background-color .12s;-webkit-tap-highlight-color:transparent}
.dz-btn svg{width:20px;height:20px;flex:none}
@media (hover:hover){.dz-btn:hover:not(:disabled){background:#383a3e;border-color:#5c5e63}.dz-pri:hover:not(:disabled),.dz-copy:hover:not(:disabled){background:#f6c461;border-color:#f6c461}}
.dz-btn:active:not(:disabled){background:#26282b;transform:translateY(1px)}
.dz-pri,.dz-copy{background:#f2b33d;border-color:#f2b33d;color:#1b1c1e}.dz-pri:active:not(:disabled),.dz-copy:active:not(:disabled){background:#dc9e2a;border-color:#dc9e2a}
.dz-btn:disabled{opacity:1;background:#2b2d30;border-color:#2b2d30;color:#6f706d;cursor:default}
.dz-wide{display:flex;width:100%}.dz-play{min-height:44px;font-size:16px}
.dz-x{display:grid;place-items:center;border-radius:10px;color:#ecebe7}.dz-x svg{width:22px;height:22px}@media (hover:hover){.dz-x:hover{background:#2f3134}}.dz-x:active{background:#383a3e}
.dz-arcbar .dz-btn{min-height:44px;padding:0 14px;font-size:14px}
/* result panel: Share/Copy result (primary, share icon) + Past puzzles (secondary) in one row, countdown under them */
.dz-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px 8px;margin:16px 0 10px}.dz-copy{flex:1.4 1 auto;min-width:0;font-size:16px}.dz-share .dz-past{flex:1 1 auto}.dz-share .dz-btn{white-space:nowrap}
.dz-next{flex:1 1 100%;text-align:center;color:#8f8e89;font:600 13px system-ui,sans-serif;font-variant-numeric:tabular-nums}
/* keyboards */
.gf-kb{gap:8px}.gf-kr{gap:6px}
.gf-k{height:58px;border-radius:6px;background:#5c5f66;font-size:20px;transition:background-color .12s}
@media (hover:hover){.gf-k:not(.s0):not(.s1):not(.s2):not(:disabled):hover{background:#686c73}}
.gf-k.wide{background:#5c5f66;font-size:12px;text-transform:uppercase;letter-spacing:.4px}
.gf-k:active{filter:none}[data-pr]{filter:brightness(.85);transform:translateY(1px)}
.g5-go,.g5-box{border-radius:6px}.nr-n,.nr-op,.sx-k{border-radius:6px}
.hp-mode:first-child{border-radius:10px 0 0 10px}.hp-mode:last-child{border-radius:0 10px 10px 0}[dir=rtl] .hp-mode:first-child{border-radius:0 10px 10px 0}[dir=rtl] .hp-mode:last-child{border-radius:10px 0 0 10px}
/* hub cards: card r12, title 18, status 12/600 muted, Play as an M primary button inside the card */
.dz-card{border-radius:12px;align-items:start;gap:2px 14px}.dz-card .ic{border-radius:12px;overflow:hidden}
.dz-card b{font-size:18px}.dz-card .dz-status{color:#8f8e89;font-size:12px;font-weight:600}.dz-card.done .dz-status{color:#8fcf6c}
.dz-card:hover,.dz-card:focus-visible{border-color:#4a4c50}.dz-card .dz-go{grid-column:2;justify-self:start;margin-top:8px}
@media (hover:hover){.dz-card:hover .dz-go{background:#383a3e;border-color:#5c5e63}}.dz-card:active .dz-go{background:var(--sf);transform:translateY(1px)}
@media (max-width:760px){.gf-kb,.eq-kb,.ll-kb{gap:6px}}
@media (prefers-reduced-motion:reduce){[data-pr]{transform:none}}
@media (max-width:420px){.dz-app .dz-btn{padding:0 14px;font-size:15px}}
/* Number Reach: an empty slot keeps its place (tiles never move); the closest-so-far line keeps its height. Yes / no dialog (DK.ask) */
.nr-gap{height:64px;border-radius:6px;border:1px dashed #3a3c3f;box-sizing:border-box}.nr-best.off{visibility:hidden}
.dz-askrow{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.dz-askrow .dz-btn{min-width:110px}
/* focus moved by the page (result heading, puzzle title, past puzzle bar: tabindex=-1) shows no ring; real keyboard focus on buttons and boards keeps it */
.dz [tabindex="-1"]:focus,.dz [tabindex="-1"]:focus-visible{outline:none;box-shadow:none}
/* Letter Ladder help: color legend (same tiles as the board) */
.ll-legend{list-style:none;margin:10px 0 2px;padding:0;display:flex;flex-direction:column;gap:6px}.ll-legend li{display:flex;align-items:center;gap:10px;color:#d4d3ce}
.ll-sw.gf-t{width:30px;height:30px;flex:none;font-size:16px;display:inline-grid;place-items:center;background:#2f3134;border-color:#2f3134;color:#ecebe7;position:relative}
.ll-sw.chg{background:var(--mid);border-color:var(--mid);color:var(--midT)}.ll-sw.hn{background:#8a63d2;border-color:#8a63d2;color:#fff}.ll-sw.m::after{left:5px;right:5px;bottom:3px;height:3px}
/* dialogs: no focus ring until the player uses the keyboard (kit.js html.dz-kbd), so the Play button focused on load shows none */
html:not(.dz-kbd) .dz-dlg :focus-visible{outline:none;box-shadow:none}
/* puzzle pages: tighter space above the board so the keyboards fit the first screen (guess-five.js fitBoard does the rest) */
.dz .dz-crumb{margin:0 0 2px}.dz h1{margin:0 0 2px}.dz .dz-lead{margin:0 0 8px;line-height:1.35}.dz-head{margin:0 0 8px;padding-bottom:6px}
.gf-kb.tight .gf-k,.gf-kb.tight .gf-kr:first-child .gf-k{height:46px}
.g5-ko.tight .gf-syl{height:13px;font-size:12px;line-height:13px}
