:root{--navy:#10243a;--navy-soft:#23455a;--blue:#4e869b;--ice:#d9e9eb;--paper:#f7f8f6;--cream:#fffaf0;--ink:#162d40;--muted:#607584;--gold:#f0bc55;--orange:#ed8f4f;--line:#d9e3e4;--white:#fff;--shadow:0 22px 65px rgba(19,45,60,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(ellipse 80% 50% at 10% 0%,rgba(239,178,83,.26),transparent 68%),radial-gradient(ellipse 75% 55% at 95% 35%,rgba(86,151,168,.2),transparent 70%),linear-gradient(145deg,#f7f7f4,#e9f0ef 65%,#fff3dd);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}button{font:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-.05em}h1{font-size:clamp(2.3rem,4.8vw,4.7rem);line-height:1.08;margin:0 0 14px}h2{font-size:clamp(2rem,3vw,3rem);line-height:1.1;margin:0 0 12px}strong{font-weight:750}:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.skip{position:absolute;left:16px;top:-60px;z-index:9;background:var(--gold);padding:8px 14px;border-radius:4px}.skip:focus{top:12px}
.site-header{background:linear-gradient(110deg,#10243a,#1c465a 69%,#2c5767);color:#fff}.header-inner{max-width:1320px;margin:auto;min-height:76px;padding:12px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:850;letter-spacing:-.075em}.brand-mark{width:38px;height:42px;background:#fff;border-radius:9px;display:grid;place-items:center;overflow:hidden}.brand-mark img{width:29px;height:37px;object-fit:contain}.brand-gold,.footer strong span{color:var(--gold)}.preview-badge{font-size:.75rem;text-transform:uppercase;letter-spacing:.13em;border:1px solid rgba(255,255,255,.34);border-radius:100px;padding:7px 13px;color:#e4f0f0;font-weight:700;white-space:nowrap}
.page{max-width:1320px;padding:38px 36px 80px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 0 29px}.page-heading>div:first-child{max-width:760px}.eyebrow,.game-overline{font-size:.76rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#a45926;margin-bottom:10px}.intro{max-width:740px;color:#3b5568;margin:0;font-size:1.05rem}.period{color:var(--orange)}.sun-mark{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:4rem;line-height:1;color:#fff0cb;background:radial-gradient(circle at 35% 30%,#f6cd6a,#eb9c4b 63%,#db7958);box-shadow:0 0 0 12px rgba(239,169,79,.12),0 12px 34px rgba(230,141,76,.2)}
.game-layout{display:grid;grid-template-columns:minmax(225px,275px) minmax(0,1fr);gap:20px;align-items:start}.game-nav{display:grid;gap:10px}.game-tab{width:100%;min-height:93px;border:1px solid transparent;border-radius:16px;background:rgba(255,255,255,.62);padding:16px 16px;display:flex;gap:12px;align-items:center;text-align:left;color:var(--ink);transition:background .18s,transform .18s,box-shadow .18s}.game-tab:hover{background:#fff;transform:translateX(2px)}.game-tab.active{color:#fff;background:linear-gradient(125deg,#173349,#234c60);box-shadow:0 12px 28px rgba(15,47,63,.16)}.tab-number{font-size:.72rem;font-weight:800;align-self:flex-start;margin-top:4px;color:#a86c38}.active .tab-number{color:var(--gold)}.tab-name{font-size:1rem;font-weight:750;line-height:1.25;flex:1}.tab-name small{display:block;font-size:.78rem;font-weight:450;color:#6b8190;margin-top:6px}.active .tab-name small{color:#c4d8dc}.tab-icon{font-size:.82rem;font-weight:800;color:#bd793c;white-space:nowrap}.active .tab-icon{color:var(--gold)}
.play-card{min-height:614px;padding:30px clamp(20px,3vw,44px) 35px;border-radius:24px;background:linear-gradient(140deg,rgba(255,255,255,.99) 10%,#fffaf1 58%,#f5f9f7);box-shadow:var(--shadow);position:relative;overflow:hidden}.play-card:before{content:"";position:absolute;width:370px;height:300px;right:-200px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(244,191,104,.25),transparent 70%);pointer-events:none}.game-panel{position:relative}.game-panel[hidden]{display:none}.game-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:26px}.game-head p:last-child{color:var(--muted);margin:0;font-size:.98rem;max-width:560px}.game-overline{margin:0 0 8px;color:#bf6a32}.text-button{background:transparent;color:#1d5069;border:0;border-bottom:1px solid #95b5c1;padding:5px 1px 7px;white-space:nowrap;font-weight:750;font-size:.87rem}.text-button:hover{color:#a45926;border-color:#d68d55}.game-status{color:#375c70;min-height:1.8em;font-size:.94rem;font-weight:600;margin:18px 0 0}.closing-note{text-align:center;color:#587280;margin:34px 0 0;font-size:.92rem}.closing-note span{color:#e8a651;margin-left:7px}.footer{min-height:100px;padding:25px max(36px,calc((100vw - 1248px)/2));display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(120deg,#10243a,#1b4357);color:#dbe9e8;font-size:.82rem}.footer strong{font-size:1rem;letter-spacing:-.07em;color:#fff}.footer p{margin:4px 0 0}
.word-area{display:grid;grid-template-columns:minmax(280px,390px) minmax(155px,1fr);gap:clamp(20px,3vw,48px);align-items:center}.word-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:min(100%,360px)}.word-tile{height:clamp(47px,5vw,57px);display:grid;place-items:center;background:#f7faf9;border:1.5px solid #ccdbdd;border-radius:7px;font-size:1.5rem;font-weight:800;text-transform:uppercase;color:var(--navy)}.word-tile.filled{border-color:#698da0}.word-tile.exact{background:#147d76;color:#fff;border-color:#147d76}.word-tile.present{background:#f4a43d;color:#172d3c;border-color:#f4a43d}.word-tile.absent{background:#4a5560;color:#fff;border-color:#4a5560}.instruction{padding:22px;border-radius:16px;background:linear-gradient(145deg,#e8f2f1,#fff0d7);max-width:280px}.instruction p{font-size:.88rem;line-height:1.58;margin:8px 0 0;color:#345266}.instruction-star{font-size:1.8rem;color:#e59b4d;line-height:1}.word-side .game-status{max-width:290px}.keyboard{display:grid;gap:6px;margin:27px auto 0;max-width:620px}.key-row{display:flex;justify-content:center;gap:5px}.key{min-width:0;flex:1;max-width:48px;height:45px;border:0;border-radius:6px;background:#e5ebeb;color:#18394e;font-size:.9rem;font-weight:800}.key:hover{background:#d1e0e1}.key.wide{max-width:68px;flex:1.4;font-size:.75rem}.key.exact{background:#147d76;color:white}.key.present{background:#f4a43d}.key.absent{background:#4a5560;color:#fff}.key:disabled{opacity:.55}
.sudoku-area{display:grid;grid-template-columns:minmax(0,448px) minmax(175px,1fr);align-items:start;gap:clamp(22px,3vw,50px)}.sudoku-board{width:min(100%,448px);aspect-ratio:1;display:grid;grid-template-columns:repeat(9,1fr);border:2px solid var(--navy);background:var(--navy);gap:1px;touch-action:manipulation}.sudoku-cell{min-width:0;min-height:0;background:#fff;border:0;border-radius:0;padding:0;display:grid;place-items:center;color:#24728c;font-size:clamp(.95rem,2.2vw,1.45rem);font-weight:700;position:relative}.sudoku-cell.given{background:#edf2f1;color:#152e43;font-weight:800}.sudoku-cell.related{background:#e7f0f0}.sudoku-cell.same{background:#d3e8eb}.sudoku-cell.selected{background:#f9dc9d;box-shadow:inset 0 0 0 2px #d6853b}.sudoku-cell.wrong{color:#b04535;background:#ffe1da}.sudoku-cell.box-right{border-right:2px solid var(--navy)}.sudoku-cell.box-bottom{border-bottom:2px solid var(--navy)}.sudoku-cell .notes{display:grid;grid-template-columns:repeat(3,1fr);width:100%;height:100%;font-size:.55rem;font-weight:700;color:#577485;line-height:1.1;align-items:center}.number-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:12px}.number-pad button{height:50px;border:0;border-radius:9px;background:#e8f1f1;color:#1c5971;font-size:1.25rem;font-weight:800}.number-pad button:hover,.tool-row button:hover{background:#d9e9e9}.tool-row{display:flex;gap:8px;margin-bottom:8px}.tool-row button{flex:1;min-height:41px;border:0;background:#f3e9d6;color:#214358;border-radius:8px;font-size:.86rem;font-weight:700}.tool-row button[aria-pressed=true]{background:#2d6279;color:#fff}
.mines-toolbar{max-width:485px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.mine-count{font-weight:750;font-size:.92rem;white-space:nowrap}.mine-count span:first-child{color:#bd7a31}.mode-switch{display:flex;background:#e8f0ef;padding:4px;border-radius:10px}.mode-switch button{border:0;background:transparent;padding:8px 11px;font-size:.82rem;font-weight:750;color:#4a6778;border-radius:7px}.mode-switch button.selected{background:#fff;box-shadow:0 2px 8px rgba(14,38,53,.11);color:#21475d}.mines-board{width:min(100%,485px);aspect-ratio:1;display:grid;grid-template-columns:repeat(9,1fr);gap:4px}.mine-cell{min-width:0;min-height:0;padding:0;border:0;border-radius:6px;background:#b9d7db;color:#244f64;font-size:clamp(.86rem,2vw,1.1rem);font-weight:850;touch-action:manipulation}.mine-cell:hover:not(.revealed){background:#94bdc7}.mine-cell.revealed{background:#f0f4f1;color:#204b61}.mine-cell.flagged{background:#f6d28a;color:#7c4932}.mine-cell.mine{background:#e88c72;color:#fff}.mine-cell[data-count="1"]{color:#276a9b}.mine-cell[data-count="2"]{color:#387955}.mine-cell[data-count="3"]{color:#a5583a}.mine-cell[data-count="4"]{color:#673d7b}
.primary-button{border:0;background:#183a50;color:#fff;padding:13px 18px;border-radius:8px;font-weight:750;margin-top:14px}.primary-button:hover{background:#275a71}.primary-button:disabled{opacity:.58}.side-note{color:#6b808a;font-size:.84rem;margin:19px 0 0}
@media(max-width:900px){.game-layout{grid-template-columns:1fr}.game-nav{display:flex;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin}.game-tab{min-width:190px;min-height:76px;padding:12px}.tab-icon{display:none}.play-card{min-height:unset}.page{padding:30px 24px 65px}.header-inner{padding-inline:24px}.footer{padding-inline:24px}}
@media(max-width:680px){.page-heading{margin-bottom:23px}.sun-mark{display:none}.page{padding:25px 16px 55px}.header-inner{padding:10px 16px;min-height:66px}.brand{font-size:16px}.preview-badge{font-size:.62rem;padding:5px 8px;letter-spacing:.08em}.intro{font-size:.96rem}.game-tab{min-width:168px}.tab-name{font-size:.91rem}.tab-name small{font-size:.73rem}.play-card{padding:22px 15px 25px;border-radius:18px}.game-head{gap:10px;margin-bottom:20px}.game-head p:last-child{font-size:.88rem}.text-button{font-size:.78rem}.word-area,.sudoku-area,.blocks-area{display:block}.word-grid,.sudoku-board,.mines-board,.blocks-board{margin-inline:auto}.word-grid{width:min(100%,325px);gap:5px}.word-tile{height:clamp(42px,11.5vw,53px);font-size:1.3rem}.word-side .instruction{display:block;max-width:none;padding:13px 15px;margin-top:15px}.word-side .game-status{text-align:center;max-width:none}.keyboard{gap:5px}.key-row{gap:3px}.key{height:42px;font-size:.78rem}.key.wide{font-size:.64rem}.sudoku-board{width:min(100%,420px)}.sudoku-cell{font-size:clamp(.86rem,4vw,1.23rem)}.sudoku-cell .notes{font-size:.43rem}.sudoku-tools{max-width:420px;margin:20px auto 0}.number-pad{display:flex;gap:4px}.number-pad button{flex:1;height:39px;font-size:1rem}.tool-row button{min-height:37px}.mines-toolbar{flex-wrap:wrap;justify-content:center}.mine-cell{font-size:1rem}.blocks-board{width:min(100%,260px)}.blocks-side{max-width:420px;margin:20px auto 0}.blocks-next-wrap{display:none}.footer{display:block;padding:27px 16px}.footer>p{margin-top:20px}}

.word-legend{display:grid;gap:8px;margin-top:12px;font-size:.86rem;color:#345266}.word-legend span{display:flex;align-items:center;gap:9px}.word-legend i{display:inline-block;width:22px;height:22px;border-radius:5px;flex:none}.legend-exact{background:#147d76}.legend-present{background:#f4a43d}.legend-absent{background:#4a5560}
.blocks-area{display:grid;grid-template-columns:minmax(0,300px) minmax(185px,1fr);align-items:start;gap:clamp(24px,4vw,55px)}.blocks-board{width:min(100%,300px);aspect-ratio:10/18;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(18,1fr);gap:2px;padding:5px;background:#17394c;border:4px solid #17394c;border-radius:10px;box-shadow:0 12px 28px rgba(18,58,76,.18)}.blocks-cell{min-width:0;min-height:0;border-radius:3px;background:#284e61}.blocks-cell.filled{box-shadow:inset 0 2px 3px rgba(255,255,255,.25),inset 0 -3px 5px rgba(0,0,0,.13)}.blocks-cell[data-piece=I],.preview-cell[data-piece=I]{background:#70bed0}.blocks-cell[data-piece=J],.preview-cell[data-piece=J]{background:#537aa9}.blocks-cell[data-piece=L],.preview-cell[data-piece=L]{background:#f4a43d}.blocks-cell[data-piece=O],.preview-cell[data-piece=O]{background:#f3ca5c}.blocks-cell[data-piece=S],.preview-cell[data-piece=S]{background:#68ac8c}.blocks-cell[data-piece=T],.preview-cell[data-piece=T]{background:#b98ab5}.blocks-cell[data-piece=Z],.preview-cell[data-piece=Z]{background:#e57667}.blocks-side{padding-top:10px}.blocks-label{display:block;text-transform:uppercase;letter-spacing:.13em;color:#557181;font-size:.75rem;font-weight:800;margin-bottom:10px}.blocks-next{width:96px;height:96px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);gap:3px;padding:7px;border-radius:11px;background:#e7f0ef}.preview-cell{border-radius:3px}.blocks-lines{font-size:.86rem;color:#506d7d;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin:22px 0 0}.blocks-lines strong{display:block;font-size:2.5rem;color:#1b4c64;letter-spacing:-.05em;line-height:1.2}.blocks-side .game-status{min-height:3em;max-width:260px}.blocks-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:330px;margin-top:22px}.blocks-controls button{border:0;background:#e5efef;color:#17475e;border-radius:8px;min-height:44px;font-size:1.25rem;font-weight:800;touch-action:manipulation}.blocks-controls button:last-child{font-size:.85rem;background:#f6d899;color:#263c49}.blocks-controls button:hover{background:#cde3e5}.blocks-controls button:disabled{opacity:.48}.blocks-side .side-note{max-width:310px}
@media(max-width:680px){.word-legend{grid-template-columns:repeat(3,1fr);gap:5px;font-size:.72rem}.word-legend span{gap:5px;line-height:1.2}.word-legend i{width:17px;height:17px}.blocks-side{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center}.blocks-lines{margin:0}.blocks-lines strong{display:inline;font-size:1.5rem}.blocks-side .game-status{grid-column:1/-1;min-height:1.6em;margin:8px 0 0}.blocks-side .primary-button{margin:0;grid-column:2;grid-row:1}.blocks-controls{grid-column:1/-1;max-width:none;width:100%;margin-top:9px}.blocks-side .side-note{grid-column:1/-1;margin:8px 0 0;max-width:none}.blocks-board{width:min(100%,260px)}}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Public site navigation and footer. Games retain their own layout and palette. */
.games-page .site-header{position:relative;z-index:20;background:linear-gradient(110deg,#0e2034,#18384c 66%,#244859);color:#fff}
.games-page .header-inner{max-width:1480px;min-height:78px;padding:10px 28px;gap:22px}
.games-page .brand{white-space:nowrap;text-decoration:none;color:#fff;font-size:18px;letter-spacing:-.065em}
.games-page .brand-logo{width:36px;height:44px;border-radius:5px;background:#fff;display:grid;place-items:center;overflow:hidden}
.games-page .brand-logo img{display:block;width:100%;height:100%;object-fit:contain}
.games-page .brand-accent{color:#f0bc55}
.games-page .nav{display:flex;align-items:center;gap:16px;margin:auto;white-space:nowrap}
.games-page .nav a,.games-page .footer-links a{font-size:12px;text-decoration:none;color:#e3e8eb;transition:color .2s}
.games-page .nav a:hover,.games-page .nav a[aria-current=page],.games-page .footer-links a:hover,.games-page .footer-links a[aria-current=page]{color:#f0bc55}
.games-page .header-cta{border:1px solid rgba(240,188,85,.65);padding:10px 13px;border-radius:5px;white-space:nowrap;font-size:12px;font-weight:750;text-decoration:none;color:#fff}
.games-page .header-cta span{color:#f0bc55;margin-left:7px}
.games-page .header-cta:hover{background:rgba(240,188,85,.15)}
.games-page .menu-toggle,.games-page .mobile-nav{display:none}
.games-page .menu-toggle{width:42px;height:42px;border:0;background:transparent;padding:8px;cursor:pointer;flex-direction:column;justify-content:center;gap:7px}
.games-page .menu-toggle span{display:block;width:25px;height:2px;background:#fff}
.games-page .site-footer{padding:48px max(28px,calc((100vw - 1264px)/2)) 25px;background:linear-gradient(120deg,#102035,#1b3d50 54%,#102438);color:#e5edef;font-size:14px}
.games-page .footer-main{display:flex;justify-content:space-between;align-items:start;gap:40px}
.games-page .site-footer .brand{font-size:18px}
.games-page .site-footer .brand-logo{width:34px;height:43px}
.games-page .site-footer p{margin:10px 0 0;color:#d5e0e6}
.games-page .footer-links{max-width:760px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px}
.games-page .footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid rgba(255,255,255,.16);margin-top:37px;padding-top:17px;font-size:12px;color:#c5d4da}
@media(max-width:1280px){.games-page .nav,.games-page .header-cta{display:none}.games-page .menu-toggle{display:flex}.games-page .mobile-nav:not([hidden]){display:flex;flex-direction:column;background:linear-gradient(135deg,#172940,#25465a);padding:10px 28px 20px;box-shadow:0 10px 25px #08142145}.games-page .mobile-nav a{color:#fff;text-decoration:none;border-bottom:1px solid #ffffff24;padding:11px 0;font-size:14px}.games-page .mobile-nav a[aria-current=page]{color:#f0bc55}}
@media(max-width:680px){.games-page .header-inner{min-height:66px;padding:10px 16px}.games-page .site-footer{padding:34px 16px 20px}.games-page .footer-main{display:block}.games-page .footer-links{justify-content:flex-start;margin-top:24px}.games-page .footer-bottom{display:grid}}
