@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f7fb;--surface:#fff;--ink:#202235;--muted:#777c91;--line:#e9eaf2;--purple:#6946ec;--soft:#f0ecff;--hero:#e5edce;--hero-ink:#263c2e;--radius:18px;--shadow:0 8px 24px #2926450a;color-scheme:light}
:root[data-theme=dark]{--bg:#14151e;--surface:#1c1d29;--ink:#eeeef8;--muted:#b1b3c7;--line:#2d2f40;--soft:#31274e;--hero:#303e31;--hero-ink:#e5f0d4;color-scheme:dark}
*{box-sizing:border-box}img{height:auto}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ac93ff;outline-offset:4px}button,input,select{border:0}button{background:transparent}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.skip{position:fixed;top:-90px;left:20px;z-index:200;background:var(--purple);color:white;padding:15px}.skip:focus{top:10px}.preview-note{height:27px;background:#282333;color:#e8e4f8;font-size:10px;letter-spacing:.05em;display:flex;align-items:center;justify-content:center;position:relative;z-index:40}.preview-note i{width:5px;height:5px;border-radius:50%;background:#c4ed8d;margin-right:8px}.sidebar{position:fixed;top:27px;bottom:0;width:216px;padding:32px 22px;background:var(--surface);border-right:1px solid var(--line);z-index:30;overflow:auto}.brand{display:flex;align-items:center;font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1.1px;gap:8px}.brand img{width:39px;height:39px;object-fit:contain}.brand span span{color:var(--purple)}.brand small{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:1.1px;color:var(--muted);display:block;margin-top:1px;font-weight:600}.side-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.7px;color:var(--muted);margin:38px 12px 13px}.side-nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:11px;color:var(--muted);font-weight:500;white-space:nowrap}.nav-item.active{background:var(--soft);color:var(--purple);font-weight:700}.nav-item:hover{background:var(--bg);color:var(--ink)}.nav-item.active:hover{background:var(--soft)}.count-dot{margin-left:auto;color:var(--muted);background:var(--bg);font-size:10px;padding:2px 6px;border-radius:5px}.side-bottom{margin-top:30px;border:1px solid var(--line);border-radius:14px;padding:15px 12px}.side-bottom svg{color:var(--purple)}.side-bottom strong{display:block;font-size:12px;margin:9px 0 5px}.side-bottom p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.shell{margin-left:216px}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:24px}.search-wrap{max-width:470px;flex:1;position:relative;display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 14px;gap:10px}.search-wrap svg{width:19px;color:var(--muted)}.search-wrap input{background:transparent;min-width:0;width:100%;height:44px;color:var(--ink);outline:none}.search-wrap:focus-within{border-color:var(--purple)}.search-wrap kbd{border:1px solid var(--line);color:var(--muted);padding:2px 5px;border-radius:4px;font-size:10px}.header-tools{display:flex;align-items:center;gap:16px}.header-tools select{background:transparent;color:var(--ink);font-size:12px;padding:8px;max-width:105px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.filter-label{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);cursor:pointer}.filter-label input{width:30px;height:18px;appearance:none;background:#dedfe9;border-radius:20px;position:relative;cursor:pointer;transition:background .2s}.filter-label input:before{content:'';position:absolute;width:12px;height:12px;background:white;border-radius:50%;top:3px;left:3px;transition:transform .2s}.filter-label input:checked{background:var(--purple)}.filter-label input:checked:before{transform:translateX(12px)}main{max-width:1440px;margin:auto;padding:8px 42px 40px;min-height:70vh}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--muted)}.page-heading{display:flex;align-items:end;justify-content:space-between;margin:2px 0 25px}.page-heading h1{font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-1px;margin:7px 0 0;line-height:1.3;font-weight:800}.page-heading p{color:var(--muted);margin:8px 0 0;font-size:12px}.welcome-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.tiny-dot{width:6px;height:6px;background:#80aa59;border-radius:50%}.hero{border-radius:24px;background:var(--hero);display:grid;grid-template-columns:1fr 1fr;min-height:305px;overflow:hidden;position:relative;margin-bottom:28px}.hero-copy{padding:37px 38px;position:relative;z-index:2;color:var(--hero-ink)}.hero .eyebrow{color:var(--hero-ink);opacity:.65;font-size:9px}.hero h2{font-family:Manrope,sans-serif;font-size:38px;font-weight:800;line-height:1.2;letter-spacing:-1.8px;margin:17px 0 13px;max-width:350px}.hero-copy p{font-size:12px;line-height:1.7;margin:0 0 23px;max-width:270px;opacity:.8}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 18px;border-radius:10px;font-weight:700;font-size:12px;background:var(--purple);color:#fff;min-height:43px;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 18px #6946ec30}.button svg{width:17px;height:17px}.button.ink{background:#263c2e;color:#f3f8ea}.button.secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;padding:27px 28px 23px 4px}.hero-ring{position:absolute;border:1px solid #91a47844;border-radius:50%;width:340px;height:340px;right:-38px;top:-18px}.hero-ring:after{content:'';position:absolute;inset:29px;border:1px solid #91a47844;border-radius:50%}.hero-game{width:92%;max-width:370px;transform:rotate(-5deg);border:7px solid var(--surface);border-radius:20px;box-shadow:0 15px 40px #23412b2c;position:relative;background:var(--surface);overflow:hidden}.hero-game img{width:100%;aspect-ratio:1.62;object-fit:cover;display:block}.hero-game-caption{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;color:var(--ink);gap:10px}.hero-game-caption strong{font-size:12px}.hero-game-caption small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.hero-game-caption .round-play{background:var(--purple);width:30px;height:30px;border-radius:50%;color:white;display:grid;place-items:center}.round-play svg{width:15px}.hero-sticker{position:absolute;right:22px;top:19px;background:#fbf7e8;color:#6d6131;transform:rotate(7deg);padding:10px 13px;border-radius:10px;box-shadow:0 3px 12px #0001;font-size:10px;font-weight:700;z-index:3}.category-strip{display:flex;align-items:center;gap:9px;overflow:auto;scrollbar-width:none;padding-bottom:5px;margin:0 0 26px}.category-pill{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:10px 14px;display:inline-flex;gap:8px;align-items:center;white-space:nowrap;font-size:11px;font-weight:600}.category-pill.active{background:var(--purple);border-color:var(--purple);color:white}.category-pill svg{width:17px;height:17px}.section{margin:27px 0 32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-heading h2{display:flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-size:18px;letter-spacing:-.6px;margin:0;font-weight:800}.section-heading h2 svg{color:var(--purple);width:19px}.section-heading .link{color:var(--muted);font-size:11px;font-weight:600;display:flex;align-items:center;gap:5px}.section-heading .link svg{width:14px;height:14px}.games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.game-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;position:relative;min-width:0;transition:transform .18s,box-shadow .18s;overflow:hidden}.game-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card-art{position:relative;display:block;overflow:hidden;background:var(--soft)}.card-art img{width:100%;aspect-ratio:1.58;object-fit:cover;display:block;transition:transform .35s}.game-card:hover .card-art img{transform:scale(1.04)}.card-art .hover-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:opacity .2s;background:#211c3c30}.hover-play svg{background:white;border-radius:50%;color:var(--purple);padding:12px;width:46px;height:46px;fill:var(--purple)}.game-card:hover .hover-play{opacity:1}.rank{position:absolute;left:10px;top:10px;color:#fff;background:#1e2235b8;backdrop-filter:blur(4px);font-size:10px;font-weight:700;border-radius:6px;padding:5px 7px;pointer-events:none}.fav-button{position:absolute;right:9px;top:9px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#ffffffeb;color:#5e5c6f;box-shadow:0 1px 7px #0001}.fav-button svg{width:15px;height:15px}.fav-button.saved{color:var(--purple)}.fav-button.saved svg{fill:currentColor}.card-info{padding:13px 13px 12px}.card-info h3{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 8px}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);gap:6px}.rating{color:#9b7615;white-space:nowrap;display:flex;align-items:center;gap:3px}.rating svg{fill:#e9b84a;stroke:#e9b84a;width:11px;height:11px}.mini-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--soft);border-radius:18px;padding:23px 28px;margin:31px 0}.mini-banner h3{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.5px;margin:0 0 6px}.mini-banner p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.mini-banner .banner-icon{border-radius:14px;padding:13px;color:var(--purple);background:var(--surface)}.banner-copy{flex:1}.category-heading{display:flex;align-items:center;gap:14px}.category-big-icon{width:55px;height:55px;border-radius:15px;background:var(--soft);color:var(--purple);display:grid;place-items:center}.category-big-icon svg{width:25px;height:25px}.result-tools{display:flex;align-items:center;justify-content:space-between;margin:24px 0 18px;color:var(--muted);font-size:11px}.result-tools select{padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--ink);max-width:160px}.load-more{text-align:center;margin:25px auto}.empty{border:1px dashed var(--line);padding:50px 20px;text-align:center;background:var(--surface);border-radius:18px}.empty>svg{color:var(--purple);width:32px;height:32px;margin-bottom:10px}.empty h2{font-family:Manrope,sans-serif;font-size:20px}.empty p{color:var(--muted);font-size:12px;line-height:1.8;max-width:420px;margin:10px auto 22px}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:2px 0 20px}.breadcrumb svg{width:12px;height:12px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:21px}.game-heading h1{font-family:Manrope,sans-serif;letter-spacing:-1px;font-size:28px;margin:0 0 8px}.game-meta{color:var(--muted);display:flex;gap:13px;align-items:center;font-size:11px}.game-actions{display:flex;gap:8px}.player{position:relative;overflow:hidden;background:#171a25;border-radius:20px;aspect-ratio:16/9;min-height:290px;color:white}.player-preview{height:100%;position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;isolation:isolate;background:#171a25}.player-preview:before{content:'';position:absolute;inset:-25px;background:var(--cover) center/cover;filter:blur(9px);opacity:.19;z-index:-1}.player-preview>img{width:124px;aspect-ratio:1.33;object-fit:cover;border-radius:14px;border:3px solid #fff4;margin-bottom:15px;box-shadow:0 10px 30px #0006}.player-preview h2{font-family:Manrope,sans-serif;font-size:23px;margin:0 0 8px}.player-preview p{font-size:11px;color:#cacbd9;margin:0 0 20px;max-width:320px;line-height:1.7}.player-preview .button{padding:14px 28px;background:#cfeea6;color:#253b2d}.player iframe{width:100%;height:100%;position:absolute;inset:0;border:0;background:white}.player-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 3px;font-size:10px;color:var(--muted)}.player-toolbar button{display:inline-flex;align-items:center;gap:7px;font-size:11px}.player-toolbar svg{width:15px;height:15px}.exit-player{display:none;position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:1000;border-radius:30px;box-shadow:0 2px 12px #0006;background:#fff;color:#282333;padding:10px 15px;gap:7px;align-items:center;font-size:12px;min-height:44px}.exit-player svg{width:17px;height:17px}.player:fullscreen{border-radius:0;width:100vw;height:100dvh;aspect-ratio:auto}.player:fullscreen .exit-player,.player.expanded .exit-player{display:flex}.player.expanded{position:fixed;inset:0;border-radius:0;width:100%;height:100dvh;z-index:500;aspect-ratio:auto}.player-details{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:22px}.info-panel{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:22px}.info-panel h2{font-family:Manrope,sans-serif;font-size:15px;margin:0 0 12px}.info-panel p{font-size:11px;line-height:1.9;color:var(--muted);margin:8px 0}.tag-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.tag-list span{padding:6px 9px;background:var(--bg);color:var(--muted);border-radius:6px;font-size:10px}.walkthrough iframe{width:100%;aspect-ratio:16/9;border:0;margin-top:13px}.walkthrough .button{font-size:11px}.mobile-nav{display:none}.loading{min-height:350px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:12px}.spinner{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--purple);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:12px 20px;border-radius:12px;background:#29243b;color:#fff;font-size:12px;z-index:1100;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:85vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}footer{max-width:1440px;margin:auto;padding:20px 42px 26px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);line-height:1.8}footer nav{display:flex;gap:18px}.mobile-brand{display:none}.filter-note{border-left:3px solid var(--purple);padding:8px 13px;font-size:11px;color:var(--muted);line-height:1.7;margin:16px 0}.not-found{margin-top:30px}
@media(min-width:1500px){.games-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero h2{font-size:38px}.hero-copy{padding:30px 38px}.hero-game{max-width:340px}.hero{min-height:300px}}
@media(max-width:1150px){.sidebar{width:185px;padding:29px 15px}.shell{margin-left:185px}.brand{font-size:21px;gap:5px}.topbar{padding:0 26px;gap:17px}main{padding:8px 26px 35px}.games-grid{gap:13px}.header-tools{gap:8px}.filter-label span{max-width:50px}.hero-copy{padding:30px}.hero h2{font-size:31px}.hero-game img{aspect-ratio:1.35}.hero-sticker{right:10px;top:24px;font-size:9px}.card-info{padding:11px}.card-info h3{font-size:11px}footer{padding-inline:26px}}
@media(max-width:930px){.sidebar{display:none}.shell{margin-left:0}.topbar{height:80px}.mobile-brand{display:flex;font-size:19px;flex:none}.mobile-brand img{width:32px;height:32px}.mobile-brand small{display:none}.search-wrap{max-width:none}.header-tools{gap:5px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:200;background:var(--surface);border-top:1px solid var(--line);padding:8px 12px max(8px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav a{display:flex;flex-direction:column;gap:5px;align-items:center;font-size:9px;color:var(--muted);padding:4px 12px;border-radius:10px;min-width:60px}.mobile-nav a.active{color:var(--purple);background:var(--soft)}.mobile-nav svg{width:19px;height:19px}body{padding-bottom:74px}#toast{bottom:90px}.player.expanded{z-index:500}}
@media(max-width:650px){.preview-note{height:24px;font-size:8px;letter-spacing:.02em}.topbar{padding:15px 18px;height:auto;flex-wrap:wrap;gap:12px}.mobile-brand{order:0;flex:1}.header-tools{order:1;gap:8px}.header-tools select{padding:6px;max-width:74px;font-size:11px}.header-tools .icon-button{width:32px;height:32px;border-radius:9px}.header-tools .filter-label{font-size:9px;gap:2px}.filter-label input{width:25px;height:15px}.filter-label input:before{width:9px;height:9px}.filter-label input:checked:before{transform:translateX(10px)}.filter-label span{max-width:40px}.search-wrap{order:2;flex-basis:100%;padding-inline:12px;border-radius:10px}.search-wrap input{height:41px;font-size:12px}.search-wrap kbd{display:none}main{padding:10px 18px 22px}.page-heading{margin:7px 0 20px}.page-heading h1{font-size:24px;letter-spacing:-.8px}.page-heading .eyebrow{font-size:9px}.welcome-label{display:none}.hero{grid-template-columns:1fr .8fr;min-height:244px;border-radius:19px;margin-bottom:22px}.hero-copy{padding:25px 0 25px 23px}.hero h2{font-size:26px;line-height:1.23;letter-spacing:-1.1px;margin:13px 0 11px;max-width:215px}.hero .eyebrow{font-size:7px;letter-spacing:1.4px}.hero-copy p{font-size:10px;max-width:184px;margin-bottom:18px;padding-right:5px}.hero .button{font-size:10px;padding:10px 12px;min-height:38px;gap:5px}.hero-art{padding:25px 0 25px 10px;align-items:center;overflow:hidden}.hero-game{width:210px;min-width:190px;border-width:5px;border-radius:15px;transform:rotate(-7deg) translateX(16px)}.hero-game img{aspect-ratio:1.15}.hero-game-caption{padding:8px;gap:6px}.hero-game-caption strong{font-size:9px}.hero-game-caption small{font-size:7px}.hero-game-caption .round-play{width:23px;height:23px}.hero-sticker{font-size:7px;right:2px;top:15px;white-space:nowrap;padding:8px}.hero-ring{width:280px;height:280px;right:-135px;top:2px}.category-strip{margin-bottom:22px;gap:7px;margin-right:-18px;padding-right:18px}.category-pill{font-size:10px;padding:9px 11px;border-radius:9px;gap:6px}.category-pill svg{width:15px;height:15px}.section{margin:23px 0 27px}.section-heading h2{font-size:16px;gap:7px}.section-heading h2 svg{width:17px}.section-heading .link{font-size:10px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px}.game-card{border-radius:13px}.card-info{padding:11px}.card-info h3{font-size:11px;margin-bottom:8px}.card-bottom{font-size:9px}.card-art img{aspect-ratio:1.45}.rank{font-size:9px;left:8px;top:8px;padding:4px 6px}.fav-button{width:28px;height:28px;top:7px;right:7px}.mini-banner{padding:20px;gap:13px;flex-wrap:wrap;border-radius:16px}.mini-banner h3{font-size:15px}.mini-banner p{font-size:10px}.mini-banner .banner-icon{padding:10px}.mini-banner .button{margin-left:51px;font-size:10px;min-height:37px;padding:9px 13px}.category-heading{gap:11px}.category-big-icon{width:44px;height:44px;border-radius:12px}.result-tools{margin-top:20px;font-size:10px;gap:12px}.result-tools select{font-size:10px;max-width:145px;padding:9px}.game-heading h1{font-size:23px;margin-bottom:8px}.game-heading{align-items:start}.game-actions .icon-button{width:34px;height:34px;border-radius:10px}.game-actions .icon-button svg{width:16px}.game-meta{gap:9px;font-size:10px;flex-wrap:wrap}.breadcrumb{font-size:10px;margin-top:4px;white-space:nowrap;overflow:auto}.player{aspect-ratio:4/3;border-radius:15px;min-height:265px}.player-preview{padding:20px}.player-preview>img{width:88px;border-radius:11px;margin-bottom:12px}.player-preview h2{font-size:18px}.player-preview p{font-size:10px;margin-bottom:15px}.player-preview .button{font-size:11px;padding:12px 20px}.player-toolbar{align-items:start;font-size:9px;line-height:1.6;gap:20px}.player-toolbar>span{max-width:230px}.player-toolbar button{white-space:nowrap;font-size:10px}.player-details{grid-template-columns:1fr;gap:13px;margin-top:15px}.info-panel{padding:18px}.info-panel h2{font-size:14px}footer{padding:17px 18px 24px;flex-direction:column;gap:10px;font-size:9px}footer nav{flex-wrap:wrap;gap:13px}.empty{padding:38px 20px}.empty h2{font-size:18px}.empty p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:650px){.hero-copy,.hero-art{min-width:0}.hero h2{font-size:24px;letter-spacing:-1.15px}.hero-sticker svg{width:13px;height:13px}}

.result-selects{display:flex;gap:8px}.result-selects select{max-width:180px}@media(max-width:650px){.result-selects{gap:5px}.result-selects select{max-width:108px;padding:8px 5px;font-size:9px}.result-tools>span{max-width:120px}}

/* Blend the new layout with the untouched RAR v35 theme and sizing patches. */
:root[data-theme=dark]{--bg:#0b0c10;--surface:#12141a;--ink:#e8edf5;--muted:#a8b2c2;--line:#ffffff14;--soft:#141826;--purple:#b9a3ff;--hero:#1b2330;--hero-ink:#e8edf5;--shadow:0 8px 24px rgba(0,0,0,.35)}
:root[data-theme=dark] body{background:radial-gradient(1000px 700px at 85% -10%,rgba(139,92,246,.16),transparent 60%),radial-gradient(900px 650px at 0% 25%,rgba(110,231,255,.10),transparent 60%),var(--bg);background-attachment:fixed}
.button,.category-pill.active,.play{background:linear-gradient(135deg,var(--btnA),var(--btnB));color:#07131f}
.button.ink{background:linear-gradient(135deg,var(--btnA),var(--btnB));color:#07131f}
.button.secondary{background:var(--surface);color:var(--ink)}
.game-card .play{margin:12px 0 0;padding:11px 14px;font-size:14px;box-sizing:border-box}
.game-card .card-info h3 a{color:var(--ink)}
#crown-grid .mini-card .play,#popular-grid .mini-card .play{display:none!important}
#crown-grid .game-card,#popular-grid .game-card{flex-shrink:0}
.hscroll{margin-top:0;padding:4px 2px 12px}
.walkthrough{margin:20px 0 0}
.walkthrough iframe{display:block;width:100%;height:480px;aspect-ratio:auto;border:0;border-radius:5px;margin-top:12px;background:#08090d}
.player-details{grid-template-columns:1fr}
@supports(height:100dvh){.player{min-height:80dvh}}
@supports not (height:100dvh){.player{min-height:80vh}}
@media(min-width:960px){.games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:540px) and (max-width:959px){.games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:539px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:300px){.games-grid{grid-template-columns:1fr}}
@media(max-width:640px){#crown-grid .mini-card,#popular-grid .mini-card{width:160px;min-width:160px;max-width:160px;flex-basis:160px}.game-card .play{font-size:15px;padding:12px 14px}}

.section-links{display:flex;gap:7px;align-items:center}.section-links .link{margin-left:5px}:root:not([data-theme=dark]) .pop-nav{color:var(--ink);border-color:var(--line)}.section-links .pop-nav{flex:none}@media(max-width:650px){.section-links{gap:4px}.section-links .pop-nav{width:28px;height:28px;line-height:24px}.section-links .link{margin-left:3px}}

/* Keep the tall archive player within the viewport on narrow screens. */
.player{width:100%;max-width:100%;aspect-ratio:auto}

/* Comfortable touch controls and longer translated labels. */
.brand,.side-nav,.header-tools,.search-wrap,.game-heading>div,.section-heading h2{min-width:0}
.header-tools select{max-width:175px;min-height:44px;padding-inline:9px;cursor:pointer}
.filter-label{min-height:44px;line-height:1.4}.filter-label input{flex-shrink:0}
.icon-button,.fav-button{min-width:44px;min-height:44px}
.section-heading{flex-wrap:wrap}.section-heading h2{overflow-wrap:anywhere}
.section-links .pop-nav{width:44px;height:44px;line-height:40px}
.result-tools{flex-wrap:wrap}.result-tools select{min-height:44px}
.card-info h3{line-height:1.5}.breadcrumb{max-width:100%}.game-heading h1{overflow-wrap:anywhere}
.hero-copy,.hero-art{min-width:0}.hero h2{overflow-wrap:anywhere}
:root[dir=rtl] .shell{margin-left:0;margin-right:216px}
:root[dir=rtl] .sidebar{right:0;left:auto}
:root[dir=rtl] .count-dot{margin-left:0;margin-right:auto}
:root[dir=rtl] .mini-banner .button{margin-left:0}
:root[dir=rtl] .breadcrumb svg,:root[dir=rtl] .section-links .link svg,:root[dir=rtl] .button svg,:root[dir=rtl] .section-links .pop-nav{transform:scaleX(-1)}
:root[dir=rtl] .filter-note{border-left:0;border-right:3px solid var(--purple)}
@media(min-width:931px) and (max-width:1150px){:root[dir=rtl] .shell{margin-right:185px}}
@media(max-width:930px){
 :root[dir=rtl] .shell{margin-right:0}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
 .mobile-nav a{min-width:0;min-height:48px;padding:6px 2px;line-height:1.3;text-align:center}
 .mobile-nav a span{overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
}
@media(max-width:650px){
 .topbar{gap:10px}.mobile-brand{flex-basis:100%}
 .search-wrap{order:1}.header-tools{order:2;flex:1 1 100%;display:flex;gap:10px;justify-content:space-between}
 .header-tools select{flex:1;max-width:175px;min-width:0;font-size:12px;min-height:44px}
 .header-tools .icon-button{width:44px;height:44px;flex:none}
 .header-tools .filter-label{flex:1;gap:7px;font-size:11px}.filter-label span{max-width:none;overflow-wrap:anywhere}
 .filter-label input{width:30px;height:18px}.filter-label input:before{width:12px;height:12px}.filter-label input:checked:before{transform:translateX(12px)}
 .game-actions .icon-button{width:44px;height:44px}
 .game-heading{gap:9px}.game-actions{gap:5px;flex:none}.game-heading h1{font-size:21px}
 .game-card .play{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:13px}
 .section-heading h2{flex:1 1 145px}.section-links{flex-wrap:wrap;gap:6px}.section-links .pop-nav{width:44px;height:44px;line-height:40px}
 .section-heading .link{min-height:44px;max-width:110px;text-align:end}
 .result-tools>span{max-width:none}.result-selects{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .result-selects select{max-width:none;min-width:0;width:100%;font-size:11px;padding-inline:8px}
 .player-toolbar{flex-wrap:wrap;gap:10px}.player-toolbar>span{max-width:100%}.player-toolbar button{min-height:44px}
 .hero h2{font-size:clamp(20px,5.9vw,26px)}.hero-copy p{line-height:1.6}
 :root[dir=rtl] .hero-copy{padding:25px 23px 25px 0}
 :root[dir=rtl] .category-strip{margin-right:0;margin-left:-18px;padding-right:0;padding-left:18px}
 :root[dir=rtl] .mini-banner .button{margin-right:51px}
}
@media(hover:none){.game-card:hover{transform:none}.game-card:hover .card-art img{transform:none}.hover-play{display:none!important}}

:root[data-live="1"] .sidebar{top:0}.community{max-width:900px}.community form{display:grid;gap:18px;max-width:640px}.community label{display:grid;gap:7px;color:var(--muted)}.community input,.community textarea{display:block;width:100%;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:16px}.community textarea{min-height:120px;resize:vertical}.community form .button{justify-self:start}.community-comment{border-top:1px solid var(--line);padding:20px 0;overflow-wrap:anywhere}.community-comment time{display:block;color:var(--muted);font-size:11px;margin-top:4px}.community-comment p{white-space:pre-wrap}.rating-panel{margin-top:24px}.rating-buttons{display:flex;flex-wrap:wrap;gap:8px}.rating-buttons .button{min-height:44px;min-width:44px;padding:10px 13px}.rating-panel [role=status],.community [role=status]{min-height:1.5em;overflow-wrap:anywhere}

/* v13: a quieter frame, faster game discovery, and clearer touch controls. */
.preferences-toggle{display:none}.search-clear{width:36px;height:40px;flex:none;display:grid;place-items:center;background:transparent;color:var(--muted);padding:0}.search-clear svg{width:17px;height:17px}.search-wrap:has(.search-clear:not([hidden])) kbd{display:none}
.hero{min-height:284px;background:linear-gradient(125deg,#e2efd2,#d4e9e5);border:1px solid #aac8b24d}
:root[data-theme=dark] .hero{background:radial-gradient(ellipse at 100% 0,#6245aa44,transparent 65%),linear-gradient(115deg,#202d35,#242139);border-color:#c6afff1f}
.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.hero-browse{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;min-height:44px}.hero-browse svg{width:15px}.hero-copy{padding:30px 34px}.hero h2{font-size:34px;letter-spacing:-1.4px;margin:13px 0}.hero-copy p{max-width:290px;margin-bottom:18px}.hero-art{padding:23px 27px 23px 8px}.hero-game{transform:rotate(-4deg);max-width:325px;border-width:5px}.hero-game-caption strong{line-height:1.4}.hero-sticker{display:flex;align-items:center;gap:5px;max-width:80%;line-height:1.4}.hero-sticker svg{width:14px;height:14px}
.discovery-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 23px}.collection-tile{min-width:0;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);transition:transform .18s,border-color .18s}.collection-tile:hover{transform:translateY(-2px);border-color:var(--purple)}.collection-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;background:#e7f4ef;color:#2d7860}.collection-tile[data-collection=Puzzle] .collection-icon{background:#f0e9ff;color:#8050bb}.collection-tile[data-collection="2 Player"] .collection-icon{background:#fff0db;color:#a2692d}.collection-tile>span:nth-child(2){min-width:0;flex:1}.collection-tile strong{display:block;font-size:13px;overflow-wrap:anywhere}.collection-tile small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.collection-tile>svg{width:16px;height:16px;color:var(--muted);flex:none}
:root[data-theme=dark] .collection-icon{background:#18362f;color:#90d8c2}:root[data-theme=dark] .collection-tile[data-collection=Puzzle] .collection-icon{background:#35264d;color:#d4b4ff}:root[data-theme=dark] .collection-tile[data-collection="2 Player"] .collection-icon{background:#3b3023;color:#edc28d}
.continue-card{display:flex;align-items:center;gap:16px;padding:12px 16px 12px 12px;border:1px solid #a98be54d;border-radius:17px;background:var(--surface);margin:0 0 24px}.continue-card .continue-art{width:82px;flex:none;border-radius:10px;overflow:hidden}.continue-art img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.continue-card>div{flex:1;min-width:0}.continue-card h2{margin:5px 0;font-size:16px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.continue-card p{font-size:11px;color:var(--muted);margin:0}.continue-card .eyebrow{font-size:9px;color:var(--purple);letter-spacing:1px}.continue-card>.icon-button{background:var(--soft);border-color:transparent;color:var(--purple);flex:none}
.game-card .thumb-fallback{object-fit:contain;background:var(--soft);padding:22px}.game-card{box-shadow:0 3px 15px #00000008}.game-card .card-info h3{font-size:13px}.game-card .play{border-radius:9px}.card-bottom{min-height:16px}.section-heading h2{line-height:1.5}.game-actions .saved{color:var(--purple);background:var(--soft)}.game-actions .saved svg{fill:currentColor}
.walkthrough-open{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:12px;padding:0 12px;border:1px solid var(--line);border-radius:9px;color:var(--purple);font-weight:600;font-size:12px}.walkthrough-open svg{width:15px;height:15px}.breadcrumb>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.breadcrumb>a{flex:none}
@media(min-width:931px){.topbar{padding-inline:34px;gap:18px}main{padding-inline:34px}.search-wrap{max-width:510px}.header-tools{gap:10px}.header-tools select{max-width:150px}}
@media(max-width:650px){
 .topbar{display:flex;flex-wrap:wrap;align-items:center;padding:18px 18px 14px;gap:12px;height:auto}
 .topbar .mobile-brand{display:flex;flex:1;min-width:0;margin:0;font-size:23px;gap:8px}.mobile-brand img{width:34px;height:34px}.mobile-brand small{display:none}
 .preferences-toggle{display:inline-flex;flex:none;width:44px;height:44px;order:0;background:var(--surface)}
 .topbar .search-wrap{order:1;flex:1 1 100%;max-width:none;width:100%;min-height:46px;border-radius:13px}.search-wrap input{font-size:16px;height:44px}.search-wrap kbd{display:none}.search-clear{width:40px;min-height:44px}
 .topbar .header-tools{display:none;order:2;flex:1 1 100%;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface);gap:8px}.topbar.preferences-open .header-tools{display:flex}.header-tools .filter-label{flex:1}.header-tools select{max-width:155px;background:var(--bg);border-radius:8px}
 .page-heading{margin:6px 0 18px}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:9px}.welcome-label{display:none}
 .hero{min-height:245px;border-radius:21px;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);margin-bottom:16px}.hero-copy{padding:23px 0 23px 20px}.hero h2{font-size:clamp(21px,5.8vw,29px);letter-spacing:-.9px;margin:12px 0 10px}.hero-copy>.eyebrow{display:none}.hero-copy p{font-size:11px;line-height:1.6;margin:0 0 15px}.hero-actions{gap:5px}.hero-actions .button{font-size:12px;padding:11px 13px;min-height:46px}.hero-browse{font-size:10px;min-height:36px;gap:4px}
 .hero-art{padding:40px 14px 24px 10px}.hero-game{width:100%;border-width:4px;transform:rotate(-5deg);border-radius:14px}.hero-game img{aspect-ratio:1;object-fit:cover}.hero-game-caption{padding:10px 7px}.hero-game-caption strong{font-size:10px}.hero-game-caption small{display:none}.hero-game-caption .round-play{width:24px;height:24px;flex:none}.hero-game-caption .round-play svg{width:12px;height:12px}.hero-sticker{right:11px;top:15px;padding:7px 8px;font-size:8px;max-width:calc(100% - 16px)}.hero-ring{width:240px;height:240px;right:-65px;top:12px}
 .discovery-collections{gap:8px;margin-bottom:18px}.collection-tile{flex-direction:column;align-items:flex-start;gap:9px;padding:12px 10px;border-radius:13px}.collection-icon{width:34px;height:34px;border-radius:10px}.collection-icon svg{width:19px;height:19px}.collection-tile strong{font-size:11px;line-height:1.4}.collection-tile small{font-size:9px;line-height:1.4;margin-top:4px}.collection-tile>svg{display:none}
 .category-strip{margin-bottom:18px}.category-pill{min-height:42px;padding:9px 12px}.section{margin:22px 0 27px}.section-heading{margin-bottom:12px;gap:8px}.section-heading h2{font-size:17px}.section-links .pop-nav{display:none}.section-heading .link{max-width:none;font-size:10px}
 .continue-card{gap:12px;padding:10px;margin:3px 0 19px;border-radius:14px}.continue-card .continue-art{width:62px}.continue-card h2{font-size:13px}.continue-card p{font-size:10px}.continue-card .eyebrow{font-size:8px}.continue-card>.icon-button{width:44px;height:44px}
 .game-card .card-info{padding:11px 10px}.game-card .card-info h3{font-size:12px}.game-card .play{margin-top:10px;min-height:44px}.card-bottom{font-size:10px}.game-card .fav-button{width:44px;height:44px;min-width:44px;min-height:44px;right:7px;top:7px}.game-card .fav-button svg{width:16px;height:16px}
 .mini-banner{padding:20px;margin-block:25px}.mini-banner h3{line-height:1.4}.mobile-nav{padding-bottom:calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -5px 24px #0002}
 :root[dir=rtl] .hero-copy{padding:23px 20px 23px 0}:root[dir=rtl] .hero-art{padding:40px 10px 24px 14px}:root[dir=rtl] .collection-tile{align-items:flex-start}:root[dir=rtl] .collection-tile>span:nth-child(2){text-align:start}
}
@media(max-width:360px){.topbar{padding-inline:14px}.hero-copy{padding-inline-start:15px}.hero h2{font-size:21px}.hero-copy p{font-size:10px}.hero-art{padding-inline:10px}.hero-game-caption .round-play{display:none}.collection-tile{padding:10px 8px}.header-tools select{max-width:130px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media(max-width:650px){.hero{min-height:215px}.hero-copy p,.hero-browse{display:none}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding-block:21px}.hero h2{margin:0 0 18px}.hero-art{padding:35px 12px 19px 10px}.hero-game img{aspect-ratio:1.2}.hero-sticker{font-size:8px}.hero-actions{flex-wrap:nowrap}.hero-actions .button{white-space:normal;line-height:1.4}.discovery-collections{margin-top:25px;margin-bottom:23px}:root[dir=rtl] .hero-art{padding:35px 10px 19px 12px}}
@media(max-width:650px){.hero-game-caption .round-play{display:none}}

/* Reserve room for the close/fullscreen toolbar and bottom mobile navigation. */
@media(max-width:930px){
 .player.is-playing:not(:fullscreen):not(.expanded){height:calc(100vh - 180px - env(safe-area-inset-bottom,0px));min-height:160px;scroll-margin-top:8px}
 @supports(height:100dvh){.player.is-playing:not(:fullscreen):not(.expanded){height:calc(100dvh - 180px - env(safe-area-inset-bottom,0px))}}
}
