@import url('/games/arcade.css');
@import url('/games/puzzles.css');
@import url('/games/cards.css');
@import url('/games/match3.css');
:root{--paper:#f6f5ef;--ink:#173e32;--muted:#67756c;--line:#dce2d8;--green:#173e32;--lime:#d4ef85;--surface:#fffef9;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #a27b28;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.arcade-header{border-bottom:1px solid var(--line);background:var(--surface)}.arcade-header-inner{height:80px;max-width:1280px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:36px}.arcade-brand img{display:block;width:132px;height:40px;object-fit:contain}.arcade-header nav{display:flex;gap:26px;font-size:13px;font-weight:600}.arcade-header nav a[aria-current]{text-decoration:underline;text-underline-offset:8px}.header-note{margin-left:auto;font-size:12px;color:var(--muted)}.header-note:before{content:'';display:inline-block;width:6px;height:6px;background:#5f9473;border-radius:50%;margin-right:8px}.arcade-shell{max-width:1240px;margin:auto;padding:26px 32px 56px}.breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:12px;color:var(--muted);margin:0 0 24px}.breadcrumb a:hover{text-decoration:underline}.game-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}.game-heading h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.05em;line-height:1.12;margin:0 0 9px;font-weight:650}.game-heading p:not(.eyebrow){font-size:14px;line-height:1.6;margin:0;color:var(--muted);max-width:550px}.game-stats{display:flex;align-items:center;gap:28px;flex-shrink:0;min-height:57px}.game-stat{display:grid;gap:5px;min-width:50px}.game-stat span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.game-stat strong{font-size:25px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:24px;align-items:start}.play-surface{background:#e9eee5;border:1px solid #d9e1d4;border-radius:18px;padding:28px;min-width:0;position:relative}.game-status{font-size:13px;line-height:1.5;margin:14px 0 0;min-height:22px;color:var(--muted)}.game-status:empty{visibility:hidden}.game-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:18px 0 0}.game-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 17px;border-radius:9px;background:var(--surface);color:var(--ink);border:1px solid #ced8ca;font-size:12px;font-weight:650;transition:background .15s,transform .15s}.game-button:hover:not(:disabled){background:#edf4df;transform:translateY(-1px)}.game-button.primary{background:var(--green);border-color:var(--green);color:white}.game-button.primary:hover:not(:disabled){background:#295646}.game-note{font-size:12px;color:var(--muted);line-height:1.7;text-align:center;margin:15px 0 0}.game-side{display:grid;gap:18px}.how-to{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:21px}.how-to h2{font-size:17px;letter-spacing:-.025em;margin:0 0 18px}.how-to ol{padding:0;list-style:none;counter-reset:steps;margin:0;display:grid;gap:17px}.how-to li{font-size:12px;line-height:1.7;color:var(--muted);padding-left:25px;position:relative}.how-to li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:1px;font-size:10px;color:var(--green);font-weight:bold}.controls-tip{border-top:1px solid var(--line);padding-top:15px;margin:20px 0 0;font-size:11px;line-height:1.7;color:var(--muted)}.save-note{font-size:11px;line-height:1.7;color:var(--muted);padding:0 6px;margin:0}.small-link{font-size:12px;text-decoration:underline;text-underline-offset:3px}.related{margin-top:36px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-title h2{font-size:20px;letter-spacing:-.035em;margin:0}.section-title a{font-size:12px}.mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.mini-game{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);transition:transform .15s}.mini-game:hover{transform:translateY(-3px)}.mini-game img{display:block;aspect-ratio:1.65;width:100%;object-fit:cover}.mini-game div{padding:12px 15px}.mini-game strong{font-size:13px}.mini-game p{font-size:10px;color:var(--muted);margin:5px 0 0}.arcade-footer{max-width:1176px;margin:0 auto;padding:24px 0;border-top:1px solid var(--line);display:flex;gap:20px;font-size:11px;color:var(--muted)}.arcade-footer span{margin-right:auto}.hub-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:42px 0 45px}.hub-hero h1{font-size:clamp(44px,6vw,74px);line-height:1.03;letter-spacing:-.065em;margin:12px 0 20px;font-weight:650}.hub-hero p:not(.eyebrow){max-width:400px;font-size:15px;line-height:1.8;color:var(--muted)}.hub-feature{border-radius:20px;overflow:hidden;position:relative;background:var(--lime);border:1px solid #c6dda1}.hub-feature img{width:100%;display:block}.hub-feature>span{position:absolute;left:24px;bottom:21px;background:var(--green);color:white;border-radius:8px;padding:12px 18px;font-size:13px;font-weight:600}.hub-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.hub-filters button{border:1px solid var(--line);border-radius:100px;padding:9px 18px;background:var(--surface);font-size:12px;min-height:40px}.hub-filters button[aria-pressed=true]{background:var(--green);color:white}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}.hub-card img{width:100%;display:block;aspect-ratio:1.6;object-fit:cover;border-radius:14px;border:1px solid #00000008;transition:transform .2s}.hub-card:hover img{transform:translateY(-4px)}.hub-card>div{display:flex;justify-content:space-between;align-items:center;margin:15px 0 7px}.hub-card h2{margin:0;font-size:20px;letter-spacing:-.035em}.hub-card p{font-size:12px;color:var(--muted);margin:0}.hub-card span{font-size:11px;color:var(--muted)}
@media(min-width:1000px){body[data-game=spider] .play-layout{grid-template-columns:minmax(0,1fr) 205px}body[data-game=spider] .play-surface{padding:20px}}
@media(max-width:900px){.play-layout{grid-template-columns:minmax(0,1fr)}.game-side{grid-template-columns:1fr}.how-to ol{grid-template-columns:repeat(3,1fr)}.controls-tip{margin-top:15px}.save-note{display:none}.hub-hero{gap:20px}.header-note{display:none}.game-heading{gap:16px}.game-stats{gap:18px}}
@media(max-width:600px){.arcade-header-inner{height:65px;padding:0 18px;gap:24px}.arcade-brand img{width:105px;height:35px}.arcade-header nav{gap:18px;font-size:12px}.arcade-shell{padding:20px 16px 32px}.breadcrumb{margin-bottom:21px;font-size:11px}.game-heading{display:block;margin-bottom:18px}.game-heading h1{font-size:34px}.game-heading p:not(.eyebrow){font-size:12px}.game-stats{margin-top:18px;gap:30px;min-height:45px}.game-stat strong{font-size:22px}.play-surface{padding:17px 12px;border-radius:13px}.how-to{padding:18px}.how-to ol{grid-template-columns:1fr;gap:10px}.mini-grid{grid-template-columns:repeat(2,1fr);gap:12px}.related{margin-top:26px}.arcade-footer{margin:0 16px;flex-wrap:wrap;font-size:10px}.arcade-footer span{flex-basis:100%}.hub-hero{grid-template-columns:1fr;padding:14px 0 28px;gap:18px}.hub-hero h1{font-size:52px;margin:13px 0}.hub-hero p:not(.eyebrow){font-size:13px;margin-bottom:0}.hub-feature{max-height:220px}.hub-feature img{height:220px;object-fit:cover}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.hub-card h2{font-size:16px}.hub-card>div>span{display:none}.hub-card p{font-size:10px}.hub-filters{gap:6px}.hub-filters button{padding:8px 13px;font-size:11px}.game-button{padding:9px 13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
