/* PlayNest / The everyday arcade. Semantic palette, original game artwork. */
:root,:root[data-theme="dark"]{--bg:#171b1a;--panel:#202624;--panel2:#2b322f;--line:#3b4540;--text:#f7f6ef;--muted:#b1bcb5;--accent:#ff9871;--lime:#ffc764;--sidebar:204px;--ink:#202720;--orange:#ff683b;--surface-hover:#303a33;--header:#171b1af5;--shadow:0 7px 22px #00000019;font-family:'Avenir Next',Avenir,'Segoe UI',sans-serif}
:root[data-theme="light"]{--bg:#f6f5f0;--panel:#fffefa;--panel2:#eeeee7;--line:#dddfd5;--text:#222a25;--muted:#657066;--accent:#b53c19;--lime:#ffc764;--surface-hover:#efeee6;--header:#fffefaf5;--shadow:0 7px 22px #26362609}
html{scroll-padding-top:100px}body{font-size:15px}h1,h2,h3{font-family:'Avenir Next',Avenir,'Segoe UI',sans-serif}h1,h2{font-weight:800;letter-spacing:-1.1px}h1{font-size:38px}a,button{touch-action:manipulation}a,button,select{transition:background .16s,color .16s,box-shadow .16s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[data-theme="light"] :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:4px}.skip{background:var(--orange);color:#171b1a}.lavender{color:var(--accent)}
.topbar,[data-theme="light"] .topbar{height:78px;background:var(--header);border-bottom:1px solid var(--line);gap:22px;padding:0 28px 0 22px;backdrop-filter:blur(10px)}.topbar .brand{width:calc(var(--sidebar) - 22px);font-size:24px;gap:9px;letter-spacing:-1.3px}.brand-mark,[data-theme="light"] .brand-mark{width:36px;height:38px;border-radius:12px 12px 12px 4px;background:var(--orange);color:var(--ink);font-style:normal;font-size:0;letter-spacing:0;padding:0;position:relative;box-shadow:inset 0 -3px 0 #00000014}.brand-mark span{display:none}.brand-mark:before{content:'';border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:12px solid #202720;margin-left:3px}.brand-mark:after{content:'';position:absolute;right:5px;top:5px;width:5px;height:5px;border-radius:50%;background:#fff3bf}.brand-dot{display:none}.search,[data-theme="light"] .search{max-width:550px;border:1px solid var(--line);border-radius:30px;background:var(--bg);height:44px;padding:0 18px}.search input{font-size:14px}.search input::placeholder,[data-theme="light"] .search input::placeholder{color:var(--muted)}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #ff683b20}.search svg{width:19px}kbd,[data-theme="light"] kbd{border-color:var(--line);font-size:12px}.shuffle{font-size:13px;gap:8px;white-space:nowrap}.shuffle svg{color:var(--accent)}.theme-picker select{font-size:12px;border-radius:24px;max-width:98px;background:var(--panel)}.avatar,[data-theme="light"] .avatar{background:var(--panel2);border-color:var(--line);color:var(--text);width:44px;height:44px}.avatar:hover{background:var(--surface-hover)}
.sidebar{top:78px;padding:20px 12px;background:var(--panel);border-color:var(--line);scrollbar-width:thin;scrollbar-color:var(--line) transparent}.sidebar a,#mobile-menu a{padding:10px 14px;min-height:44px;font-size:13px;font-weight:600;border-radius:9px;gap:12px}.sidebar a svg{width:19px;height:19px}.sidebar a[aria-current],#mobile-menu a[aria-current],[data-theme="light"] .sidebar a[aria-current],[data-theme="light"] #mobile-menu a[aria-current]{background:var(--orange);color:#202720;font-weight:750;box-shadow:0 3px 0 #94370b17}.sidebar a:hover,#mobile-menu a:hover,[data-theme="light"] .sidebar a:hover,[data-theme="light"] #mobile-menu a:hover{background:var(--surface-hover);color:var(--text)}.sidebar a[aria-current]:hover{background:#ff805b;color:#202720}.sidebar a small{background:#ffffff30;color:inherit}.nav-label,[data-theme="light"] .nav-label{color:var(--muted);font-size:10px;letter-spacing:1.4px;padding:25px 14px 10px}.side-bottom{padding-top:20px}.mini-logo,[data-theme="light"] .mini-logo{font-size:18px;line-height:1.25;letter-spacing:-.7px;color:var(--muted);padding:22px 14px}.mini-logo strong,[data-theme="light"] .mini-logo strong{color:var(--text)}.side-bottom a{font-size:12px;min-height:38px}.side-bottom small,[data-theme="light"] .side-bottom small{font-size:11px;color:var(--muted)}
main{padding:28px 32px 0;max-width:1800px;min-width:0}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--accent)}.home-welcome{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 20px}.home-welcome .eyebrow{margin:0}.home-welcome>span:last-child{font-size:12px;color:var(--muted)}
.discovery-hero{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:18px}.welcome-feature{position:relative;min-height:364px;background:#f8dfbd;border:1px solid #e6caaa;border-radius:22px;overflow:hidden;color:#242c24}.welcome-copy{position:relative;z-index:2;padding:30px 0 28px 30px;width:52%}.hero-sticker{font-size:9px;letter-spacing:1.1px;font-weight:800;border:1px solid #bca482;border-radius:4px;padding:5px 8px;display:inline-block;background:#fff3d6}.welcome-copy h1{font-size:clamp(38px,3.7vw,58px);letter-spacing:-2.5px;line-height:1.02;margin:18px 0 15px}.welcome-copy em{font-style:normal;color:#ba3919;position:relative}.welcome-copy p{font-size:13px;color:#535849;line-height:1.65;margin-bottom:21px}.primary{background:var(--orange);color:#211f15;border-radius:9px;padding:12px 18px;min-height:46px;font-size:13px;gap:14px;font-weight:800;box-shadow:0 3px 0 #00000012}.primary:hover{background:#ff8a5e;color:#211f15;box-shadow:0 5px 0 #00000012}.welcome-copy .primary{background:#252e26;color:#fff6e5}.welcome-copy .primary:hover{background:#3a4839}.primary>span:last-child{margin-left:0}.hero-footnote{display:flex;align-items:center;gap:7px;font-size:10px;color:#525847;margin-top:18px;white-space:nowrap}.hero-footnote svg{width:16px;height:16px}
.art-stack{position:absolute;width:46%;right:0;top:0;bottom:0;background:repeating-linear-gradient(0deg,transparent,transparent 39px,#cead7f3b 39px,#cead7f3b 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,#cead7f3b 39px,#cead7f3b 40px);border-radius:50% 0 0 40%;}.stack-tile{display:block;position:absolute;width:72%;aspect-ratio:1.2;background:#fff8eb;padding:5px;border:1px solid #fff9ed;border-radius:14px;box-shadow:0 12px 20px #523d2424;transition:transform .2s;overflow:hidden}.stack-tile img{width:100%;height:100%;display:block;object-fit:cover;border-radius:10px}.stack-tile span{position:absolute;bottom:10px;left:10px;right:10px;background:#202820ee;color:#fff;font-size:10px;font-weight:700;padding:7px 9px;border-radius:7px;display:flex;align-items:center;gap:6px}.stack-tile svg{width:12px;height:12px}.tile-0{top:25px;left:3%;transform:rotate(-8deg);z-index:2}.tile-1{top:126px;left:30%;transform:rotate(10deg);z-index:3}.tile-2{bottom:-30px;left:0%;transform:rotate(-12deg);z-index:1}.stack-tile:hover{transform:rotate(0) translateY(-5px);z-index:4}.orbit-spark{position:absolute;right:18px;top:20px;color:#b53815;transform:rotate(12deg)}.orbit-spark svg{width:43px;height:43px;fill:#ff8456;stroke-width:1}
.daily-feature{position:relative;display:block;min-width:0;border-radius:22px;overflow:hidden;background:#223b31;color:white}.daily-feature>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .3s}.daily-feature:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#14261bfa 0%,#14261bc9 28%,#14261b00 78%)}.daily-feature:hover>img{transform:scale(1.04)}.daily-label{position:absolute;z-index:1;top:18px;left:18px;right:18px;display:flex;gap:7px;align-items:center;width:max-content;max-width:calc(100% - 36px);padding:7px 10px;border-radius:6px;color:#273526;background:#edf6b9;font-size:9px;font-weight:800;letter-spacing:1px}.daily-label svg{width:14px;height:14px}.daily-copy{position:absolute;z-index:1;bottom:22px;left:24px;right:24px}.daily-copy>span:first-child{font-size:11px;color:#e0e8d8}.daily-copy h2{font-size:28px;line-height:1.12;margin:10px 0 20px;letter-spacing:-.7px}.daily-play{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700}.daily-play b{border:1px solid #ffffff75;border-radius:50%;display:grid;place-items:center;width:36px;height:36px}.daily-play svg{width:18px}
.quick-categories{display:flex;align-items:center;gap:8px;margin:20px 0 10px;overflow:auto;padding:2px 1px 8px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.quick-categories a{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px;font-weight:650;border:1px solid var(--line);padding:11px 13px;border-radius:9px;background:var(--panel);min-height:44px}.quick-categories svg{width:17px;height:17px;color:var(--accent)}.quick-categories a:hover{border-color:var(--accent);background:var(--surface-hover)}.quick-categories .all-categories{margin-left:auto;background:transparent;border-color:transparent}
.section-heading{margin:34px 0 18px;align-items:center}.section-heading h2{font-size:25px;font-weight:800;margin:0 0 5px;letter-spacing:-.8px}.section-heading p{font-size:13px;color:var(--muted);line-height:1.5}.section-heading>a{color:var(--text);font-size:12px;font-weight:700;border-bottom:1px solid var(--line);min-height:36px}.section-heading>a:hover{color:var(--accent);border-color:var(--accent)}.games-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}.game-card{padding:7px 7px 12px;background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:0 2px 0 #00000003;transition:box-shadow .2s,border-color .2s}.game-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.card-art{aspect-ratio:1.55;border-radius:10px}.card-info{padding:12px 40px 0 5px;min-height:64px}.card-info h3{font-size:14px;line-height:1.3;margin-bottom:5px;letter-spacing:-.2px}.card-info>span,[data-theme="light"] .card-info>span{font-size:11px;color:var(--muted)}.card-info i{margin:0 4px}.card-info>span{display:block}.card-play{background:#13251f44;color:#fff}.card-play svg{background:#fff;color:#273d2d;fill:#273d2d;padding:12px;width:48px;height:48px;border-radius:50%;filter:none}.game-tag{font-size:9px;bottom:8px;left:8px;padding:4px 7px;border-radius:4px;box-shadow:0 1px 4px #00000018}.save-game,[data-theme="light"] .save-game{width:44px;height:44px;right:7px;bottom:15px;color:var(--muted);background:transparent;border-radius:50%}.save-game.saved,.save-game:hover,[data-theme="light"] .save-game.saved,[data-theme="light"] .save-game:hover{color:var(--accent);background:var(--surface-hover)}.saved svg{fill:#ff683b26}.card-link:hover img{transform:scale(1.035)}
.mood-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mood-card{position:relative;padding:22px;border:1px solid #00000012;border-radius:15px;color:#25352b;overflow:hidden}.mood-card.peach{background:#f9d6c5}.mood-card.mint{background:#dceacb}.mood-card.blue{background:#d8e7ee}.mood-card.yellow{background:#f3e6b6}.mood-icon{display:grid;place-items:center;width:46px;height:46px;border:1px solid #25352b44;border-radius:50%;margin-bottom:25px;transition:transform .2s}.mood-icon svg{width:25px;height:25px}.mood-card:hover .mood-icon{transform:rotate(-12deg)}.mood-count{position:absolute;right:17px;top:24px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700}.mood-count svg{width:15px}.mood-card h3{font-size:18px;letter-spacing:-.5px;margin-bottom:6px;line-height:1.2}.mood-card p{font-size:12px;color:#4b594f;margin-bottom:19px}.mood-category{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:1px}.library-banner{margin-top:38px;padding:26px;display:flex;gap:22px;align-items:center;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.library-art{display:grid;place-items:center;flex-shrink:0;width:70px;height:70px;border-radius:50%;background:#f5d7c9;color:#90381a;transform:rotate(-12deg)}.library-art svg{width:32px;height:32px;fill:#eea98f}.library-banner .eyebrow{font-size:9px;margin-bottom:8px}.library-banner h2{font-size:23px;margin-bottom:8px;letter-spacing:-.6px}.library-banner p{font-size:13px;margin:0;max-width:450px}.library-banner .primary{margin-left:auto;white-space:nowrap}
.ad-slot,[data-theme="light"] .ad-slot{background:var(--panel2);border:1px dashed var(--line);border-radius:9px;margin:28px 0;min-height:130px}.ad-label,[data-theme="light"] .ad-label{font-size:9px;color:var(--muted);letter-spacing:1.6px}.ad-slot.rectangle{min-height:280px}
.page-heading{padding:8px 0 20px;border-bottom:1px solid var(--line);margin-bottom:22px}.page-heading .eyebrow{font-size:10px}.page-heading h1{font-size:38px;letter-spacing:-1.4px}.page-heading p{font-size:14px}.live-pill,[data-theme="light"] .live-pill{background:var(--panel);color:var(--muted);border-color:var(--line);font-size:12px;padding:10px 14px}.category-strip{margin:20px 0;gap:8px}.category-strip a,[data-theme="light"] .category-strip a{background:var(--panel);border:1px solid var(--line);color:var(--muted);font-size:12px;padding:10px 14px;border-radius:8px}.category-strip .selected,.category-strip a:hover,[data-theme="light"] .category-strip .selected,[data-theme="light"] .category-strip a:hover{background:var(--text);color:var(--bg);border-color:var(--text)}.browse-tools{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:0 0 22px;font-size:12px}.filter-toggle{display:flex;align-items:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:9px 12px;color:var(--muted)}.filter-toggle svg{width:17px;height:17px}.filter-toggle.active{border-color:var(--accent);color:var(--accent);background:var(--surface-hover)}.browse-tools label{display:flex;gap:10px;align-items:center;color:var(--muted)}.browse-tools select{max-width:190px;background:var(--panel);border:1px solid var(--line);color:var(--text);padding:10px 12px;border-radius:8px;min-height:44px;font-size:12px}
footer{background:var(--panel);border:1px solid var(--line);border-radius:20px 20px 0 0;padding:30px 28px 0;margin-top:44px;gap:24px;grid-template-columns:1.5fr 1fr 1fr 1fr}footer h3{font-size:13px}footer p,footer>div:not(:first-child)>a,[data-theme="light"] footer>div:not(:first-child)>a{font-size:12px;color:var(--muted)}footer>div:not(:first-child)>a{min-height:36px}.footer-bottom,[data-theme="light"] .footer-bottom{font-size:10px;color:var(--muted);padding-bottom:26px}.footer-bottom svg{color:var(--accent)}
.player-breadcrumb{font-size:12px}.player-breadcrumb a:hover{color:var(--accent)}.player-shell{border-radius:17px;box-shadow:var(--shadow);border-color:var(--line)}.player-toolbar{background:var(--panel);color:var(--text);min-height:64px}.player-toolbar strong{font-size:14px}.player-toolbar .icon-button:hover{color:var(--accent);background:var(--panel2)}.launch-overlay h1{letter-spacing:-1px}.launch-overlay .primary{font-size:15px;padding:14px 26px}.game-detail{background:var(--panel);padding:25px;border:1px solid var(--line);border-radius:15px;margin-top:20px}.game-detail h2{font-size:23px;margin-top:24px}.game-detail h3{font-size:16px}.game-detail p{font-size:14px;line-height:1.8}.chip,[data-theme="light"] .chip{background:var(--panel2);border-color:var(--line);font-size:11px;color:var(--muted)}.play-aside>h3{font-size:17px}.next-game{padding:10px;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:10px}.next-game:hover{border-color:var(--accent)}.next-game strong{font-size:12px}.next-game small{color:var(--muted)}.content-page{max-width:920px;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:40px;margin:0 auto 32px}.content-page h1{font-size:48px;letter-spacing:-1.7px}.content-page h2{font-size:27px}.content-page p{font-size:15px;line-height:1.85}.content-page .lead{font-size:19px}.values article{border:1px solid var(--line);background:var(--bg);border-radius:12px}.values svg{color:var(--accent)}.contact-layout :is(input,textarea,select),[data-theme="light"] .contact-layout :is(input,textarea,select){background:var(--bg);border:1px solid var(--line);border-radius:8px;color:var(--text)}.empty{background:var(--panel);border:1px dashed var(--line);border-radius:18px}.empty p{max-width:420px;margin:0 auto 24px}#menu-dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:18px}#toast{background:var(--text);color:var(--bg);border-radius:9px;box-shadow:var(--shadow)}
@media(min-width:1600px){.welcome-feature{min-height:420px}.welcome-copy{padding:35px 0 35px 40px}.welcome-copy h1{font-size:66px}.tile-1{top:145px}.daily-copy h2{font-size:34px}}
@media(max-width:1200px){:root,:root[data-theme]{--sidebar:180px}.topbar{gap:14px;padding-right:20px}.topbar .brand{font-size:21px}main{padding:24px 22px 0}.discovery-hero{grid-template-columns:2.2fr 1fr;gap:14px}.welcome-feature{min-height:350px}.welcome-copy{padding-left:24px}.welcome-copy h1{font-size:44px}.hero-footnote{font-size:9px}.daily-copy{left:18px;right:18px}.daily-copy h2{font-size:23px}.daily-label{left:12px;font-size:8px;padding:6px;gap:4px}.games-grid{gap:16px 12px}.card-info h3{font-size:13px}.card-info>span{font-size:10px}.card-info{padding-right:28px}.mood-card{padding:17px}.mood-count{top:20px;right:12px;font-size:9px}.mood-icon{width:38px;height:38px}.mood-card h3{font-size:16px}.mood-card p{font-size:11px}.mood-grid{gap:12px}.library-banner{padding:22px;gap:16px}.library-art{display:none}.library-banner h2{font-size:21px}}
@media(max-width:950px){:root,:root[data-theme]{--sidebar:0px}.topbar .brand{width:auto}.topbar{height:72px;padding:0 20px}.search{max-width:none}.topbar .shuffle{display:none}.topbar .theme-picker{margin-left:auto}.menu-toggle{display:flex}.discovery-hero{grid-template-columns:2fr 1fr}.welcome-feature{min-height:345px}.welcome-copy h1{font-size:46px}.games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mood-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mood-count{font-size:11px}.mood-card h3{font-size:20px}.mood-card p{font-size:13px}.mood-icon{width:44px;height:44px}.content-page{padding:30px}.play-layout{grid-template-columns:1fr}}
@media(max-width:600px){html{scroll-padding-top:145px}.topbar,[data-theme="light"] .topbar{height:auto;min-height:116px;padding:12px 16px;gap:10px;background:var(--header)}.topbar .brand{font-size:23px;flex:1;gap:8px}.topbar .brand-mark{width:33px;height:35px}.topbar .search{height:42px;order:5;max-width:none;flex-basis:100%;border-radius:24px}.topbar .search input{font-size:16px}.theme-picker select{font-size:11px;max-width:92px}.menu-toggle{min-width:44px}.avatar{display:none}main{padding:20px 16px 0}.home-welcome{margin-bottom:14px;gap:5px}.home-welcome .eyebrow{font-size:9px;letter-spacing:1.3px}.home-welcome>span:last-child{font-size:10px}.discovery-hero{grid-template-columns:1fr;gap:14px}.welcome-feature{min-height:342px;border-radius:17px}.welcome-copy{padding:25px 0 24px 22px;width:55%}.hero-sticker{font-size:8px;padding:4px 6px;letter-spacing:.8px}.welcome-copy h1{font-size:46px;letter-spacing:-2px;margin-top:18px}.welcome-copy p{font-size:12px;margin-bottom:18px}.welcome-copy .primary{font-size:12px;padding:11px 14px}.hero-footnote{font-size:8px;gap:4px;white-space:normal;max-width:180px}.art-stack{width:45%}.stack-tile{width:92%;aspect-ratio:.9}.stack-tile span{font-size:8px;left:7px;right:7px;bottom:7px;padding:6px;gap:4px}.tile-0{top:37px;left:0}.tile-1{top:155px;left:26%}.tile-2{bottom:-35px;left:1%}.orbit-spark{right:13px;top:7px}.orbit-spark svg{width:27px;height:27px}.daily-feature{min-height:154px;border-radius:15px}.daily-feature>img{width:49%;left:auto;right:0;object-position:center}.daily-feature:after{background:linear-gradient(90deg,#223b31 40%,#223b3180 70%,transparent)}.daily-label{top:15px;left:18px;font-size:8px}.daily-copy{bottom:16px;left:18px;right:18px;max-width:68%}.daily-copy>span:first-child{display:none}.daily-copy h2{font-size:23px;margin:0 0 7px}.daily-play{font-size:11px;justify-content:flex-start;gap:14px}.daily-play b{width:25px;height:25px;border:0}.quick-categories{margin:16px 0 0;gap:7px}.quick-categories a{font-size:11px;padding:10px 12px;min-height:44px}.quick-categories svg{width:16px}.section-heading{margin:27px 0 14px;align-items:flex-start;gap:10px}.section-heading h2{font-size:21px;letter-spacing:-.6px}.section-heading p{font-size:12px;max-width:235px}.section-heading>a{font-size:10px;min-height:44px;gap:5px;white-space:normal;text-align:right;flex-shrink:0;max-width:90px;justify-content:flex-end}.section-heading>a svg{flex-shrink:0;width:15px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.game-card{padding:5px 5px 9px;border-radius:12px}.card-art{aspect-ratio:1.2;border-radius:8px}.card-info{padding:10px 29px 0 3px;min-height:70px}.card-info h3{font-size:12px;line-height:1.35;letter-spacing:-.15px}.card-info>span,[data-theme="light"] .card-info>span{font-size:10px;line-height:1.5}.card-info i{margin:0 3px}.save-game,[data-theme="light"] .save-game{bottom:9px;right:1px;width:44px;min-height:44px}.save-game svg{width:16px}.game-tag{font-size:8px;left:6px;bottom:6px;padding:3px 5px}.mood-grid{gap:10px}.mood-card{padding:16px;min-height:194px}.mood-count{font-size:9px;top:19px;right:10px;gap:2px}.mood-count svg{width:12px}.mood-icon{width:34px;height:34px;margin-bottom:22px}.mood-icon svg{width:20px;height:20px}.mood-card h3{font-size:17px;line-height:1.2}.mood-card p{font-size:11px;margin-bottom:15px}.mood-category{font-size:9px}.mood-section .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:8px}.library-banner{display:block;padding:22px;margin-top:28px}.library-banner h2{font-size:23px}.library-banner p{font-size:12px}.library-banner .primary{margin-top:20px;width:100%}.ad-slot,[data-theme="light"] .ad-slot{margin:24px 0;padding-left:10px;padding-right:10px}.ad-label{font-size:8px}.page-heading{padding:3px 0 18px;gap:10px}.page-heading h1{font-size:32px}.page-heading p{font-size:13px}.page-heading .live-pill{display:block;font-size:10px;padding:8px 10px;flex-shrink:0}.page-heading .eyebrow{font-size:9px}.category-strip a,[data-theme="light"] .category-strip a{font-size:11px;padding:10px 12px}.browse-tools{gap:8px;align-items:stretch;flex-wrap:wrap;font-size:11px}.filter-toggle{font-size:11px;padding:8px;gap:5px}.browse-tools label{gap:5px;margin-left:auto}.browse-tools select{font-size:11px;padding:8px;max-width:145px}.browse-tools label{font-size:0}.category-strip{margin:14px 0}.content-page{padding:22px 18px;border-radius:15px}.content-page h1{font-size:34px;letter-spacing:-1px}.content-page .lead{font-size:17px}.content-page p{font-size:14px}.content-page h2{font-size:24px}.game-detail{padding:20px 16px}.game-detail p{font-size:13px}.game-detail h2{font-size:22px}.player-toolbar strong{font-size:11px}.launch-overlay .primary{font-size:13px;padding:10px 20px}.player-breadcrumb{font-size:11px}.bottom-nav,[data-theme="light"] .bottom-nav{background:var(--header);border-color:var(--line);padding:7px 8px max(7px,env(safe-area-inset-bottom))}.bottom-nav a,[data-theme="light"] .bottom-nav a{font-size:10px;color:var(--muted);border-radius:10px;min-height:48px;width:23%}.bottom-nav a[aria-current],[data-theme="light"] .bottom-nav a[aria-current]{color:var(--accent);background:var(--panel2)}footer{padding:24px 20px 85px;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;border-radius:16px 16px 0 0;margin-top:30px}footer h3{font-size:13px}footer p,footer>div:not(:first-child)>a,[data-theme="light"] footer>div:not(:first-child)>a{font-size:12px}.footer-bottom,[data-theme="light"] .footer-bottom{font-size:10px;gap:10px;padding-bottom:16px}.footer-intro{grid-column:1/-1}.footer-intro .brand{font-size:23px}.footer-intro p{margin-bottom:0}.empty{padding:36px 16px}.empty p{font-size:13px}#toast{max-width:calc(100% - 32px);white-space:normal}}
@media(max-width:360px){.welcome-copy{padding-left:18px}.welcome-copy h1{font-size:42px}.welcome-copy p{font-size:11px}.hero-sticker{font-size:7px}.hero-footnote{max-width:140px}.mood-card{padding:13px}.mood-count{font-size:8px}.mood-icon{width:30px;height:30px}.mood-card h3{font-size:16px}.card-info>span{font-size:9px}.topbar .brand{font-size:21px}.home-welcome>span:last-child{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Compact phone hero: keep the headline at three intentional lines. */
@media(max-width:600px){.welcome-copy{width:62%;padding-left:22px}.welcome-copy h1{font-size:38px;letter-spacing:-1.8px;line-height:1.04}.welcome-copy p{font-size:12px}.art-stack{width:43%}.hero-footnote{max-width:175px}.welcome-feature{min-height:347px}.tile-0{top:32px}.tile-1{top:141px}.tile-2{bottom:-25px}.bottom-nav,[data-theme="light"] .bottom-nav{position:static;margin:0 16px 110px;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px}footer{padding-bottom:10px;margin-bottom:0}.playing .bottom-nav{display:none}}
@media(max-width:360px){.welcome-copy{padding-left:18px}.welcome-copy h1{font-size:35px}.hero-footnote{max-width:150px}.welcome-copy .primary{font-size:11px;padding:11px 12px}}
@media(min-width:700px) and (max-width:950px){.games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-info h3{font-size:12px}.card-info>span{font-size:10px}.card-info{padding-right:27px}}
/* Explicitly labeled preview statistics; not live social-proof metrics. */
.card-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);margin:11px 5px 0;padding-top:10px;color:var(--muted);font-size:11px;line-height:1.4}
.card-rating,.card-players{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.card-rating{color:var(--text);font-weight:750}.card-rating svg{width:14px;height:14px;fill:#d58310;stroke:none}.card-players svg{width:14px;height:14px}.stats-demo{margin-left:auto;border:1px solid var(--line);border-radius:4px;padding:2px 4px;font-size:9px;line-height:1.2;color:var(--muted);background:var(--panel2)}
.game-card .save-game{bottom:51px}
@media(max-width:600px){.card-stats{font-size:10px;gap:5px;margin:10px 2px 0;padding-top:9px}.card-rating svg,.card-players svg{width:12px;height:12px}.stats-demo{font-size:8px;padding:2px 3px}.game-card .save-game{bottom:47px}}
/* Installation is a prominent optional action, never a play gate. */
.install-header{min-height:44px;padding:9px 15px;border:1px solid var(--accent);border-radius:24px;background:var(--panel);color:var(--accent);font-size:12px;font-weight:750;white-space:nowrap}.install-header:hover{background:var(--panel2)}[data-pwa-install][hidden]{display:none!important}.install-banner{position:relative;display:flex;align-items:center;gap:18px;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:22px 48px 22px 22px;margin:22px 0 28px}.install-banner>img{border-radius:12px;flex-shrink:0}.install-banner .eyebrow{font-size:9px;margin:0 0 5px}.install-banner h2{font-size:22px;margin:0 0 5px}.install-banner p{font-size:12px;margin:0}.install-banner .primary{margin-left:auto;white-space:nowrap}.install-dismiss{position:absolute;top:0;right:0;width:44px;height:44px;border:0;background:transparent;color:var(--muted);font-size:24px;border-radius:10px}#install-help{position:relative;width:min(440px,calc(100% - 32px));box-sizing:border-box;padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);box-shadow:var(--shadow)}#install-help::backdrop{background:#14231bc9}#install-help>img{border-radius:16px;margin-bottom:20px}#install-help h2{font-size:28px}#install-help p{font-size:15px;line-height:1.7}#install-help .install-note{font-size:12px}.install-help-close{position:absolute;right:10px;top:10px;font-size:28px}.install-banner .primary:disabled{opacity:.6}
@media(max-width:1100px){.topbar .shuffle{display:none}}
@media(max-width:600px){.install-header{font-size:10px;padding:8px 10px}.topbar{gap:7px}.topbar .brand{font-size:21px}.theme-picker select{max-width:77px;font-size:10px;padding:8px 5px}.install-banner{flex-wrap:wrap;gap:12px;padding:20px}.install-banner>img{width:40px;height:40px}.install-banner>div{flex:1;min-width:180px;padding-right:12px}.install-banner h2{font-size:20px}.install-banner p{font-size:12px}.install-banner .eyebrow{font-size:8px}.install-banner .primary{width:100%;margin:2px 0 0}#install-help{padding:25px}#install-help h2{font-size:25px}}
.install-actions{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:2px;flex-shrink:0}.install-help-link{background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:11px;min-height:44px;padding:5px 12px}.install-banner .install-actions .primary{margin-left:0}
@media(max-width:600px){.install-banner>.install-actions{flex-basis:100%;padding-right:0;gap:0}.install-actions .primary{width:100%}.install-help-link{min-height:44px}}
/* Compact category cards: statistics sit directly below the title. */
.game-card .card-info{padding:12px 5px 2px;min-height:0}.game-card .card-info h3{margin:0 0 9px;padding:0;min-height:18px}.game-card .card-stats{border:0;padding:0;margin:0;gap:16px;font-size:12px;min-height:20px}.player-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#26934b;box-shadow:0 0 0 3px #26934b16}.card-players{gap:7px}.game-card .save-game,[data-theme="light"] .game-card .save-game{top:13px;right:13px;bottom:auto;width:36px;height:36px;min-width:44px;min-height:44px;background:#fffefaf2;color:#455448;box-shadow:0 2px 6px #0002}.game-card .save-game.saved,[data-theme="light"] .game-card .save-game.saved{background:#fff3e9;color:#b53c19}.game-card .game-tag{font-size:10px;font-weight:750}.stats-disclosure{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 12px}
@media(max-width:600px){.game-card .card-info{padding:10px 3px 2px}.game-card .card-info h3{margin-bottom:8px;min-height:0}.game-card .card-stats{font-size:11px;gap:10px}.game-card .save-game,[data-theme="light"] .game-card .save-game{top:8px;right:8px}.game-card .game-tag{font-size:9px}.stats-disclosure{font-size:10px;margin-bottom:10px}}
/* IconScout Unicons: semantic category colors + small, interaction-only motion. */
.ui-icon{fill:currentColor;stroke:none;flex-shrink:0;transform-origin:50% 50%}
.sidebar a .ui-icon,#mobile-menu a .ui-icon,.category-strip a .ui-icon,.quick-categories a .ui-icon{width:32px;height:32px;padding:6px;border-radius:10px;color:var(--icon-ink,#5867aa);background:var(--icon-bg,#e6eafa)}
.ui-icon-home{--icon-ink:#a44d17;--icon-bg:#fce2c4}.ui-icon-grid{--icon-ink:#5064b8;--icon-bg:#e5eafd}.ui-icon-heart{--icon-ink:#c04b70;--icon-bg:#fbe1ea}.ui-icon-clock{--icon-ink:#247c80;--icon-bg:#daf0ed}.ui-icon-action{--icon-ink:#bb472d;--icon-bg:#ffe2d6}.ui-icon-adventure{--icon-ink:#377951;--icon-bg:#dff0dc}.ui-icon-game{--icon-ink:#7353b7;--icon-bg:#eee2ff}.ui-icon-board{--icon-ink:#9c6a22;--icon-bg:#faeacb}.ui-icon-cards{--icon-ink:#b64370;--icon-bg:#fbe1ed}.ui-icon-mouse{--icon-ink:#3c6eb0;--icon-bg:#dfeafb}.ui-icon-driving{--icon-ink:#bb5822;--icon-bg:#ffe6ce}.ui-icon-io{--icon-ink:#267d88;--icon-bg:#d9f0f2}.ui-icon-puzzle{--icon-ink:#438039;--icon-bg:#e1efd7}.ui-icon-shooting{--icon-ink:#b54747;--icon-bg:#f9dede}.ui-icon-simulation{--icon-ink:#6b63b0;--icon-bg:#eae5fb}.ui-icon-sports{--icon-ink:#987121;--icon-bg:#f7ecc7}.ui-icon-strategy{--icon-ink:#925798;--icon-bg:#f2e0f1}.ui-icon-trivia{--icon-ink:#347b96;--icon-bg:#dceef5}.ui-icon-word{--icon-ink:#81603d;--icon-bg:#f1e7d8}
.sidebar a,#mobile-menu a{padding-top:7px;padding-bottom:7px;gap:10px}.sidebar a[aria-current] .ui-icon,#mobile-menu a[aria-current] .ui-icon{color:#633318;background:#fff1dccc}.category-strip a,.quick-categories a{padding:7px 12px 7px 8px;gap:8px}.category-strip a.selected .ui-icon{background:var(--icon-bg,#e6eafa);color:var(--icon-ink,#5867aa)}
[data-theme="dark"] .sidebar a:not([aria-current]) .ui-icon,[data-theme="dark"] #mobile-menu a:not([aria-current]) .ui-icon{background:color-mix(in srgb,var(--icon-bg,#e6eafa) 18%,var(--panel));color:color-mix(in srgb,var(--icon-ink,#5867aa) 48%,white)}
.mood-icon{width:58px;height:58px;border:0;border-radius:17px;background:#ffffff80;box-shadow:0 4px 0 #00000006}.mood-icon .ui-icon{width:34px;height:34px;color:var(--icon-ink,#38613e)}.bottom-nav .ui-icon{width:23px;height:23px}.install-header{display:flex;align-items:center;justify-content:center;gap:6px}.install-header .ui-icon{width:17px;height:17px}.card-rating .ui-icon{fill:#d58310}.game-card .saved .ui-icon-heart{fill:currentColor}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.sidebar a:hover .ui-icon,#mobile-menu a:hover .ui-icon,.quick-categories a:hover .ui-icon,.category-strip a:hover .ui-icon{animation:icon-pop .4s ease-out}.mood-card:hover .ui-icon-game{animation:icon-launch .6s ease-out}.mood-card:hover .ui-icon-driving{animation:icon-drive .5s ease-out}.save-game:hover .ui-icon-heart{animation:icon-heart .45s ease-out}.install-header:hover .ui-icon-install{animation:icon-download .5s ease-out}.player-toolbar button:hover .ui-icon-reload{transform:rotate(60deg);transition:transform .3s}}
@keyframes icon-pop{0%{transform:scale(1)}45%{transform:scale(1.12) rotate(-7deg)}100%{transform:scale(1)}}@keyframes icon-launch{0%,100%{transform:translate(0,0)}45%{transform:translate(3px,-4px)}}@keyframes icon-drive{0%,100%{transform:translateX(0)}40%{transform:translateX(4px)}}@keyframes icon-heart{0%,100%{transform:scale(1)}45%{transform:scale(1.18)}}@keyframes icon-download{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}
@media(max-width:600px){.category-strip a .ui-icon,.quick-categories a .ui-icon{width:28px;height:28px;padding:5px;border-radius:8px}.category-strip a,.quick-categories a{font-size:11px;padding:7px 10px 7px 6px}.install-header{gap:4px;padding:8px}.install-header .ui-icon{width:14px;height:14px}.mood-icon{width:42px;height:42px;border-radius:12px}.mood-icon .ui-icon{width:27px;height:27px}}
@media(prefers-reduced-motion:reduce){.ui-icon{animation:none!important;transition:none!important}}
@media(max-width:600px){.install-header span{font-size:0}.install-header span:after{content:'Install';font-size:10px}.topbar .brand{font-size:20px}.topbar .theme-picker select{max-width:72px}.topbar{column-gap:6px}}

/* Keep the navigation below the actual header, including resized desktop layouts. */
.topbar,[data-theme="light"] .topbar{background:var(--panel);isolation:isolate}
.sidebar{top:var(--header-height,78px);z-index:20;overscroll-behavior-y:contain}
html{scroll-padding-top:calc(var(--header-height,78px) + 16px)}

/* macOS overscroll must not move the header independently of the fixed sidebar. */
html,body{overscroll-behavior-y:none}
body{padding-top:var(--header-height,78px)}
.topbar,[data-theme="light"] .topbar{position:fixed;top:0;left:0;right:0;width:100%}

/* Compact arcade: artwork and playable choices lead every screen. */
main{padding:18px 22px 0}
.arcade-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}
.arcade-heading h1{font-size:23px;letter-spacing:-.6px;margin:0 0 3px}
.arcade-heading span{font-size:12px;color:var(--muted)}
.arcade-heading>a{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;white-space:nowrap}
.quick-categories{flex-wrap:nowrap;overflow-x:auto;gap:7px;margin:8px 0 14px;padding-bottom:5px;scrollbar-width:thin}
.quick-categories a{flex-shrink:0;padding:6px 10px;font-size:12px;min-height:40px}
.quick-categories a .ui-icon{width:25px;height:25px;padding:4px}
.games-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.game-card{padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--panel);box-shadow:0 2px 5px #00000012;min-width:0}
.game-card:hover{box-shadow:0 5px 16px #00000025;transform:translateY(-3px)}
.card-art{aspect-ratio:1.5;border-radius:12px 12px 0 0}
.card-info{padding:9px 9px 10px;min-height:0}
.card-info h3{font-size:13px;line-height:1.3;margin:0 0 6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:0}
.game-tag{font-size:9px;left:7px;bottom:7px;padding:3px 6px}
.game-card .card-stats{padding:0;border:0;margin:0;font-size:11px;gap:8px}
.game-card .save-game{top:5px;right:5px;width:30px;min-height:30px;height:30px}
.section-heading{margin:20px 0 10px;align-items:center}
.section-heading h2{font-size:20px;letter-spacing:-.4px;margin:0}
.section-heading p:empty{display:none}
.section-heading>a{font-size:12px}
.arcade-home .install-banner{margin:12px 0;padding:12px 16px}
.arcade-home .ad-slot{margin:20px 0}
footer{margin-top:26px}
@media(min-width:1700px){.games-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1250px){.games-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1050px){.games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){main{padding:14px 12px 0}.games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.arcade-heading h1{font-size:20px}.arcade-heading>a{font-size:11px}.section-heading h2{font-size:18px}}
@media(max-width:480px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arcade-heading{align-items:flex-start}.arcade-heading h1{font-size:18px}.arcade-heading span{font-size:11px}.card-info h3{font-size:12px}.game-card .save-game{width:36px;height:36px;min-height:36px}.quick-categories a{min-height:44px}.section-heading>a{min-height:44px}.card-art{aspect-ratio:1.5}}

/* Neutral interface typography: game artwork supplies the personality. */
:root,:root[data-theme]{font-family:Arial,Helvetica,sans-serif;--radius:10px}
:root[data-theme="light"]{--bg:#f4f5f7;--panel:#ffffff;--panel2:#eceef2;--line:#e1e4e9;--text:#20242c;--muted:#606775;--surface-hover:#eceef2;--header:#fff}
:root[data-theme="dark"]{--bg:#15171d;--panel:#20232b;--panel2:#292d37;--line:#363c48;--text:#f1f3f7;--muted:#aeb6c4;--surface-hover:#2c313c;--header:#20232b}
h1,h2,h3,.topbar .brand,.brand,button,input,select,textarea{font-family:Arial,Helvetica,sans-serif}
h1,h2,h3{font-weight:700;letter-spacing:-.25px}
.topbar .brand,.brand{font-weight:700;letter-spacing:-.7px}
.topbar .brand{font-size:24px}
.arcade-heading h1{font-size:23px;font-weight:700;letter-spacing:-.4px}
.arcade-heading span{font-size:13px}
.section-heading h2{font-size:20px;font-weight:700;letter-spacing:-.25px}
.sidebar a,#mobile-menu a{font-size:13px;font-weight:500;border-radius:7px}
.sidebar a[aria-current],#mobile-menu a[aria-current],[data-theme="light"] .sidebar a[aria-current]{font-weight:600;box-shadow:none;background:#ff683b18;color:var(--accent)}
.sidebar a .ui-icon,#mobile-menu a .ui-icon,.quick-categories a .ui-icon{background:transparent!important;color:inherit!important;padding:4px}
.nav-label{font-size:10px;letter-spacing:1px;font-weight:600}
.quick-categories a{font-weight:500;border-radius:7px;background:var(--panel)}
.game-card{border:1px solid var(--line);border-radius:9px;box-shadow:none}
.card-art{border-radius:8px 8px 0 0}
.card-info h3{font-size:13px;font-weight:600;letter-spacing:0;line-height:1.4}
.card-stats,.card-rating{font-family:Arial,Helvetica,sans-serif;font-weight:500}
.game-card .card-stats{font-size:12px}
.game-tag{font-family:Arial,Helvetica,sans-serif;font-weight:600;border-radius:4px}
.game-card .save-game{box-shadow:0 1px 4px #0002}
.game-card:hover{box-shadow:0 4px 12px #0002;transform:translateY(-2px)}
.section-heading>a,.arcade-heading>a,.shuffle{font-weight:600}
.side-bottom .mini-logo{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:500;letter-spacing:1px}
.side-bottom .mini-logo strong{font-weight:700;font-size:15px}
@media(max-width:600px){.arcade-heading h1{font-size:19px}.section-heading h2{font-size:18px}.topbar .brand{font-size:22px}.card-info h3{font-size:12px}.game-card .card-stats{font-size:11px}}

/* Card rhythm and compact save control; keep a comfortable touch target. */
.game-card .card-info{padding:8px 9px 9px;min-height:0}
.game-card .card-info h3{font-size:13px;line-height:18px;font-weight:600;margin:0 0 4px;min-height:0}
.game-card .card-stats{font-size:12px;line-height:16px;min-height:16px;gap:10px;margin:0;padding:0;flex-wrap:nowrap}
.game-card .card-rating,.game-card .card-players{gap:4px}
.game-card .card-rating svg{width:13px;height:13px}
.game-card .card-players .player-dot{width:6px;height:6px;margin:0 3px;box-shadow:0 0 0 3px #4a96591a}
.game-card .save-game,[data-theme="light"] .game-card .save-game{top:0;right:0;bottom:auto;width:44px;height:44px;min-width:44px;min-height:44px;background:transparent;box-shadow:none;color:#455448}
.game-card .save-game:before{content:'';position:absolute;width:28px;height:28px;border-radius:50%;background:#fffffff2;box-shadow:0 1px 4px #0002}
.game-card .save-game .ui-icon{position:relative;width:16px;height:16px}
.game-card .save-game.saved,[data-theme="light"] .game-card .save-game.saved{background:transparent;color:#b53c19}
.game-card .save-game.saved:before{background:#fff0e5}
.game-card .save-game:hover:before{background:#fff}
@media(max-width:480px){.game-card .card-info{padding:7px 8px 8px}.game-card .card-info h3{font-size:12px;line-height:17px;margin-bottom:3px}.game-card .card-stats{font-size:11px;line-height:16px;gap:8px}}
/* Licensed SVGs use currentColor consistently in both themes. */
.card-rating .ui-icon{color:#bd7a20}

/* Keep the footer at the bottom even on short category and saved-game pages. */
main{display:flex;flex-direction:column;min-height:calc(100dvh - var(--header-height,78px))}
main> *{flex-shrink:0}
main>footer{margin-top:auto}
main> :nth-last-child(2){margin-bottom:26px}

/* Anchor ads overlay the page without adding space below footer content. */
body{padding-bottom:0!important}
main>footer{padding-bottom:0}
@media(max-width:600px){
 .bottom-nav,[data-theme="light"] .bottom-nav{margin-bottom:0;padding-bottom:10px;border-radius:0}
}

/* Reference layout: compact white arcade, portrait feature and six-card shelves. */
:root{--sidebar:186px;--accent:#ff4b2b}
:root[data-theme="light"]{--bg:#fff;--panel:#fff;--panel2:#f4f5fa;--line:#eceef5;--text:#0c1037;--muted:#616c91;--header:#fff}
.topbar{height:64px;min-height:64px;padding:0 22px;gap:18px;border-bottom:1px solid var(--line);box-shadow:none}
.topbar .brand{font-size:26px;min-width:168px}
.brand-mark{width:36px;height:38px;border-radius:10px}
.topbar .search{max-width:475px;height:40px;min-height:40px;margin-right:auto;border-radius:24px;background:var(--panel2);border:1px solid var(--line)}
.topbar .search input{font-size:13px}
.topbar .shuffle{font-size:12px;background:none;padding:8px 0;gap:9px}
.topbar .shuffle .ui-icon{color:var(--accent)}
.topbar .avatar{display:none}
.topbar .install-header{order:5;background:var(--accent);color:white;border:0;border-radius:11px;min-height:40px;padding:0 16px;font-size:13px;box-shadow:none}
.theme-picker{order:4}.topbar .theme-picker select{font-size:12px;max-width:90px}
.sidebar{width:var(--sidebar);padding:14px 13px;border-right:1px solid var(--line);background:var(--panel)}
.sidebar a{min-height:41px;padding:9px 12px;font-size:12px;gap:12px;margin-bottom:3px;border-radius:8px}
.sidebar a .ui-icon{width:25px;height:25px;padding:2px}
.sidebar .nav-label{font-size:9px;margin:26px 12px 12px;letter-spacing:1.3px}
.sidebar .side-bottom{display:none}
main{max-width:none;padding:16px 22px 0 20px}
.arcade-heading{margin:0 0 10px}.arcade-heading h1{font-size:27px;line-height:1.15;margin:0 0 4px;letter-spacing:-1px}.arcade-heading span{font-size:14px}
.quick-categories{display:flex;gap:7px;margin:0 0 12px;padding:0 0 2px;overflow-x:auto;scrollbar-width:none}
.quick-categories a{min-height:38px;padding:5px 12px;gap:7px;font-size:11px;border-radius:24px;border:1px solid var(--line);box-shadow:0 2px 3px #141b3a05;white-space:nowrap}
.quick-categories a .ui-icon{width:21px;height:21px;padding:1px}
.quick-categories a.selected{background:#0c1037;color:#fff;border-color:#0c1037}
.featured-mosaic{display:grid;grid-template-columns:28% minmax(0,1fr);gap:12px}
.featured-small{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.game-card{border-radius:9px;border:1px solid var(--line);background:var(--panel);overflow:hidden;min-width:0}
.card-art{aspect-ratio:1.65;border-radius:8px 8px 0 0}.card-art img{width:100%;height:100%;object-fit:cover}
.game-card .game-tag{display:none}
.game-card .card-info{padding:5px 6px 7px}
.game-card .card-info h3{font-size:13px;line-height:17px;margin:0 0 5px;letter-spacing:-.25px}
.game-card .card-stats{font-size:11px;line-height:16px;gap:12px;justify-content:flex-start}
.game-card .card-rating .ui-icon{color:#ffb900;width:14px;height:14px}
.game-card .card-players .player-dot{background:#2acc4d;box-shadow:none;width:8px;height:8px;margin:0 3px}
.game-card .save-game:before{display:none}
.game-card .save-game,[data-theme="light"] .game-card .save-game{color:white;filter:drop-shadow(0 1px 2px #0008);width:38px;min-width:38px;height:44px}
.game-card .save-game .ui-icon{width:23px;height:23px}
.game-card .save-game.saved,[data-theme="light"] .game-card .save-game.saved{color:#ff6042}
.spotlight .game-card,.spotlight .card-link{height:100%;display:block;position:relative}
.spotlight .card-art{height:100%;aspect-ratio:auto;border-radius:8px}
.spotlight .card-art:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#070b22)}
.spotlight .card-info{position:absolute;bottom:0;left:0;right:0;padding:16px 13px;color:white}
.spotlight .card-info h3{font-size:23px;line-height:28px;font-weight:700;white-space:normal;margin-bottom:8px}
.spotlight .card-stats{font-size:16px;justify-content:space-between;color:#fff}
.spotlight .card-players{color:#fff}.spotlight .card-rating .ui-icon{width:20px;height:20px}
.reference-home .games-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.reference-home .section-heading{margin:24px 0 10px}.section-heading h2{font-size:25px;letter-spacing:-.8px}.section-heading>a{color:var(--accent);font-size:13px}
main>footer.site-footer{display:flex;align-items:center;flex-wrap:wrap;gap:22px;border-radius:0;border:0;border-top:1px solid var(--line);padding:16px 22px;margin:36px -22px 0 -20px;background:var(--panel)}
.site-footer .brand{font-size:20px;gap:7px}.site-footer .brand-mark{width:27px;height:29px;border-radius:7px}
.site-footer .footer-tagline,.site-footer .footer-preview{font-size:10px;color:var(--muted)}
.site-footer .footer-preview{margin-left:auto}
.site-footer nav{display:flex;gap:18px}.site-footer nav a{margin:0;font-size:10px;color:var(--muted)}
@media(min-width:901px){main>footer.site-footer{margin-left:calc(-1 * (var(--sidebar) + 20px));padding-left:30px;position:relative;z-index:21}}
@media(max-width:1050px){.topbar{gap:10px}.topbar .brand{min-width:145px}.featured-small{gap:9px}.featured-mosaic{gap:9px}.game-card .card-stats{gap:7px;font-size:10px}.spotlight .card-stats{font-size:13px}.quick-categories a{padding:5px 9px}.site-footer .footer-preview{margin-left:0}}
@media(max-width:900px){:root{--sidebar:0px}.sidebar{display:none}.topbar .brand{min-width:0}.topbar .shuffle span{display:none}.featured-mosaic{grid-template-columns:27% minmax(0,1fr)}.reference-home .games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-small{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-small .game-card:nth-child(n+10){display:none}}
@media(max-width:600px){.topbar{height:auto;min-height:64px;padding:10px 12px;flex-wrap:wrap}.topbar .brand{font-size:22px}.topbar .search{order:8;max-width:none;width:100%;flex-basis:100%;margin:0}.topbar .install-header{padding:0 11px;font-size:12px;margin-left:auto}.topbar .shuffle{display:none}.topbar .theme-picker select{max-width:74px}.topbar .menu-toggle{order:6}.topbar .brand-mark{width:30px;height:33px}main{padding:16px 12px 0}.arcade-heading h1{font-size:24px}.featured-mosaic{grid-template-columns:1fr}.spotlight{height:270px}.spotlight .card-art img{object-position:center 35%}.featured-small{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.featured-small .game-card:nth-child(n+10){display:block}.reference-home .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-card .card-stats{font-size:11px}.section-heading h2{font-size:23px}.site-footer .footer-preview{width:100%}main>footer.site-footer{margin:30px -12px 0;padding:18px 16px;gap:16px}.site-footer nav{flex-wrap:wrap}.bottom-nav,[data-theme="light"] .bottom-nav{margin:0;border-radius:0}.site-footer .footer-tagline{font-size:11px}}
:root[data-theme]{--accent:#ff4b2b;--sidebar:186px}
.topbar,[data-theme="light"] .topbar{height:64px;min-height:64px;gap:18px;padding:0 22px}
.sidebar .nav-label,[data-theme="light"] .sidebar .nav-label{padding:0;margin:26px 12px 12px}
.quick-categories a{background:var(--panel)}
.quick-categories a .ui-icon{color:inherit!important}
.spotlight .card-rating{color:#fff}
.game-card .card-rating .ui-icon{fill:#ffb900}
@media(max-width:900px){:root[data-theme]{--sidebar:0px}}
@media(max-width:600px){.topbar,[data-theme="light"] .topbar{height:auto;min-height:64px;padding:10px 12px;gap:8px}.topbar .install-header span{font-size:12px}.topbar .install-header span:after{content:none}}
main>footer.site-footer{margin-top:auto}
main> :nth-last-child(2){margin-bottom:36px}
@media(max-width:600px){.game-card .save-game{width:44px;min-width:44px}.quick-categories a{min-height:44px}}

/* Show every category and use the dedicated full portrait without face cropping. */
.reference-home .quick-categories{flex-wrap:wrap;overflow:visible;gap:7px}
.spotlight .card-art{background:#80abdc}
.spotlight .card-art img{object-fit:contain;object-position:center top;padding-bottom:56px}
.spotlight .card-art:after{inset:75% 0 0}
@media(max-width:600px){.spotlight{height:440px}.reference-home .quick-categories a{font-size:11px;padding:5px 9px}.spotlight .card-art img{object-position:center top}}

/* Single-line category rail and reference-style outline save hearts. */
.reference-home .quick-categories{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain;padding-bottom:7px}
.reference-home .quick-categories a{flex:0 0 auto}
.game-card .save-game .save-heart{fill:none;stroke:white;stroke-width:2.5;width:22px;height:22px}
.game-card .save-game.saved .save-heart{fill:#ff4b2b;stroke:white}
.spotlight{position:relative;min-height:0}
.spotlight-slide{height:100%}
.spotlight .card-art{background:#263b61}
.spotlight:not([data-featured-id="subway-surfers"]) .card-art img{object-fit:cover;object-position:center;padding:0}
.spotlight:not([data-featured-id="subway-surfers"]) .card-art:after{inset:45% 0 0}

/* Reference card metadata: stronger rating, readable regular player count. */
.game-card .card-stats{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0;gap:12px;min-height:18px;font-variant-numeric:tabular-nums}
.game-card .card-rating{font-size:13px;font-weight:600;line-height:18px;gap:5px;color:var(--text)}
.game-card .card-players{font-size:12px;font-weight:400;line-height:18px;letter-spacing:0;gap:5px;color:var(--muted)}
.game-card .card-players .player-dot{width:8px;height:8px;margin:0;box-shadow:none}
.game-card .card-rating .ui-icon{width:14px;height:14px;flex-shrink:0}
.spotlight .card-stats{gap:12px}
.spotlight .card-rating,.spotlight .card-players{font-size:16px;line-height:22px;color:white}
.spotlight .card-rating .ui-icon{width:20px;height:20px}
@media(min-width:601px) and (max-width:1050px){.game-card .card-stats{gap:7px}.game-card .card-players{font-size:11px}}

/* Game detail page, matched to the supplied player and recommendations reference. */
.player-breadcrumb{display:flex;gap:13px;font-size:12px;color:var(--muted);margin:0 0 14px;align-items:center}
.play-layout.game-reference{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(260px,1fr);gap:22px;align-items:start}
.game-reference .play-column,.game-reference .play-aside{min-width:0}
.game-reference .player-shell{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--panel);box-shadow:0 3px 14px #15234b04}
.game-reference .game-stage{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:1.55;background:#101621;overflow:hidden}
.game-reference .game-stage .stage-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.4);opacity:1;transform:none}
.game-reference .launch-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center;background:linear-gradient(transparent,#0003);color:white}
.game-reference .launch-overlay>img{width:64px;height:64px;border-radius:13px;object-fit:cover;margin-bottom:14px;box-shadow:0 3px 14px #0004}
.game-reference .launch-overlay h1{font-size:30px;line-height:1.15;letter-spacing:-.7px;color:#fff;margin:0 0 8px}
.game-reference .launch-overlay p{color:white;font-size:16px;margin:0 0 20px;max-width:440px}
.game-reference .launch-overlay .play-button{display:flex;align-items:center;justify-content:center;gap:12px;background:#ff512d;color:white;border:0;border-radius:13px;min-height:58px;min-width:205px;font-size:20px;font-weight:700;box-shadow:0 4px 12px #0003;padding:12px 25px}
.game-reference .launch-overlay>span{font-size:12px;margin-top:13px;color:white}
.game-reference .player-toolbar{min-height:70px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--panel);border-top:1px solid var(--line)}
.game-reference .player-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}
.game-reference .player-summary>strong{font-size:17px;line-height:22px}
.game-reference .player-summary .card-stats{display:flex;gap:15px;padding:0;margin:0;border:0;font-size:12px}
.game-reference .player-summary .card-rating{font-weight:600;font-size:13px}
.game-reference .player-summary .card-players{font-size:12px;color:var(--muted)}
.game-reference .player-summary .player-dot{width:8px;height:8px;margin:0;background:#2acc4d;box-shadow:none}
.game-reference .player-actions{display:flex;gap:6px;border-left:1px solid var(--line);padding-left:12px;flex-shrink:0}
.game-reference .player-actions .icon-button{display:flex;flex-direction:column;gap:3px;padding:4px 7px;min-height:46px;font-size:11px;line-height:15px;border-radius:7px}
.game-reference .player-actions .ui-icon{width:21px;height:21px}
.player-actions .save-heart{fill:none;stroke:currentColor}.player-actions .saved .save-heart{fill:var(--accent);stroke:var(--accent)}
.game-reference .player-actions .restart-control{display:none}.playing .game-reference .player-actions .restart-control{display:flex}
.game-reference .play-aside{display:block;padding:0;background:none;border:0;position:static}
.game-reference .play-aside h2{font-size:23px;letter-spacing:-.6px;margin:0 0 12px}
.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
.related-grid .game-card{border:0;background:transparent;padding:0}
.related-grid .card-art{border-radius:9px;aspect-ratio:1.5}
.related-grid .game-card .card-info{padding:5px 0 0}
.related-grid .game-card .card-info h3{font-size:13px;margin-bottom:4px}
.related-grid .game-card .card-stats{gap:9px}
.related-grid .game-card .card-players{font-size:11px}
.keep-playing .section-heading{margin:24px 0 13px}
.keep-playing .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.game-reference .game-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:1100px){.game-reference .player-toolbar{align-items:flex-start}.game-reference .player-summary{gap:5px}.game-reference .player-summary>strong{width:100%;font-size:15px}.game-reference .player-actions{padding-left:6px;gap:0}}
@media(max-width:800px){.play-layout.game-reference{grid-template-columns:1fr}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-reference .game-stage{aspect-ratio:1.55}.game-reference .play-aside{margin-top:8px}}
@media(max-width:600px){.player-breadcrumb{font-size:11px;gap:8px;flex-wrap:wrap}.game-reference .game-stage{aspect-ratio:1.15}.game-reference .launch-overlay{padding:16px}.game-reference .launch-overlay>img{width:48px;height:48px;margin-bottom:10px}.game-reference .launch-overlay h1{font-size:24px}.game-reference .launch-overlay p{font-size:13px;margin-bottom:12px}.game-reference .launch-overlay .play-button{min-height:48px;min-width:170px;font-size:17px}.game-reference .launch-overlay>span{font-size:10px}.game-reference .player-toolbar{padding:10px;flex-wrap:wrap}.game-reference .player-summary{width:100%;flex-wrap:nowrap;justify-content:space-between;gap:8px}.game-reference .player-summary>strong{width:auto;font-size:14px}.game-reference .player-summary .card-stats{gap:8px;flex-shrink:0}.game-reference .player-summary .card-players{font-size:11px}.game-reference .player-actions{width:100%;justify-content:space-around;border-left:0;border-top:1px solid var(--line);padding:8px 0 0}.keep-playing .games-grid,.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-reference .play-aside h2{font-size:22px}}

/* Keep complete cover artwork visible; featured area is two desktop rows. */
.game-card .card-art{background:var(--panel2)}
.game-card .card-art img{object-fit:contain;object-position:center;transform:none}
.game-card:hover .card-art img{transform:none}
.spotlight .card-art,.spotlight:not([data-featured-id="subway-surfers"]) .card-art{background:var(--panel2)}
.spotlight .card-art img,.spotlight:not([data-featured-id="subway-surfers"]) .card-art img{object-fit:contain;object-position:center;padding:0 0 76px;transform:none}
.spotlight .card-art:after,.spotlight:not([data-featured-id="subway-surfers"]) .card-art:after{inset:auto 0 0;height:100px;background:linear-gradient(transparent,#10152df5)}
.featured-small{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,auto)}
.spotlight .card-info h3{font-size:20px;line-height:24px;margin-bottom:6px}
.spotlight .card-stats,.spotlight .card-rating,.spotlight .card-players{font-size:13px;line-height:18px}
@media(min-width:601px) and (max-width:900px){.featured-mosaic{grid-template-columns:32% minmax(0,1fr)}.featured-small{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-small .game-card:nth-child(n+7){display:none}}
@media(max-width:600px){.featured-mosaic{grid-template-columns:1fr}.spotlight{height:290px}.featured-small{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.featured-small .game-card:nth-child(n){display:block}}

/* Balanced artwork frames: fill modestly, with a separate featured caption. */
.game-card .card-art,.related-grid .card-art{aspect-ratio:1.35;background:var(--panel2)}
.game-card .card-art img{object-fit:cover;object-position:center;transform:none}
.featured-mosaic{grid-template-columns:36% minmax(0,1fr)}
.spotlight .game-card{height:100%;background:var(--panel)}
.spotlight .card-link{display:flex;flex-direction:column;height:100%}
.spotlight .card-art{flex:1;min-height:0;height:auto;aspect-ratio:auto;border-radius:8px 8px 0 0}
.spotlight .card-art img,.spotlight:not([data-featured-id="subway-surfers"]) .card-art img{object-fit:cover;object-position:center;padding:0;height:100%;width:100%}
.spotlight .card-art:after,.spotlight:not([data-featured-id="subway-surfers"]) .card-art:after{display:none}
.spotlight .card-info{position:static;flex:0 0 auto;padding:13px 15px 15px;color:var(--text);background:var(--panel)}
.spotlight .card-info h3{font-size:21px;line-height:25px;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spotlight .card-stats{justify-content:flex-start;gap:22px;color:var(--muted)}
.spotlight .card-rating{color:var(--text)}
.spotlight .card-players{color:var(--muted)}
@media(min-width:601px) and (max-width:900px){.featured-mosaic{grid-template-columns:38% minmax(0,1fr)}}
@media(max-width:600px){.featured-mosaic{grid-template-columns:1fr}.spotlight{height:auto}.spotlight .card-art{flex:none;aspect-ratio:1.6}.spotlight .card-info{padding:11px 13px 13px}.spotlight .card-info h3{font-size:20px}}

/* Compact header actions matching the supplied reference. */
.topbar .shuffle{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;min-height:44px}
.topbar .shuffle span{display:inline}
.topbar .shuffle>svg{width:20px;height:20px;color:var(--accent);flex-shrink:0}
.topbar .theme-picker{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;width:62px;height:40px;flex-shrink:0;margin-left:0;padding-left:13px;color:var(--text)}
.topbar .theme-picker:before{content:'';position:absolute;left:0;top:12px;height:16px;border-left:1px solid var(--line)}
.header-theme-sun{width:21px;height:21px;pointer-events:none}.header-theme-chevron{width:13px;height:13px;pointer-events:none}
.topbar .theme-picker select{position:absolute;inset:0;width:100%;max-width:none;height:100%;opacity:0;cursor:pointer;padding:0}
.topbar .theme-picker:focus-within{outline:2px solid var(--accent);outline-offset:3px;border-radius:5px}
.topbar .install-header{height:40px;min-height:40px;gap:7px;padding:0 15px;border-radius:10px;font-size:12px;font-weight:600;background:var(--accent);color:#fff;box-shadow:0 2px 4px #ff54251a}
.topbar .install-header:hover{background:#ee4826}
.topbar .install-header .ui-icon{width:17px;height:17px}
@media(max-width:1100px){.topbar .shuffle span{display:none}.topbar .shuffle{padding:0;min-width:28px}}
@media(max-width:600px){.topbar .shuffle{display:none}.topbar .theme-picker{width:44px;padding-left:0}.topbar .theme-picker:before{display:none}.topbar .install-header{padding:0 10px}.topbar .install-header span{font-size:12px}}
.topbar .install-header svg.ui-icon{fill:none;stroke:currentColor}
/* Keep the sidebar wide enough for a 300px ad above recommendations. */
@media(min-width:801px){.play-layout.game-reference{grid-template-columns:minmax(0,2.25fr) minmax(332px,1fr)}}
.game-reference .play-aside>.ad-slot{margin:0 0 22px}
/* Featured artwork must not determine the height of the neighbouring cards. */
@media(min-width:601px){
 .featured-mosaic>.spotlight{position:relative;min-width:0;min-height:0;align-self:stretch}
 .spotlight .spotlight-slide{position:absolute;inset:0;height:auto}
 .spotlight .card-art{position:relative;overflow:hidden}
 .spotlight .card-art img{position:absolute;inset:0}
 .featured-small{align-content:start;align-items:start}
 .featured-small .game-card{height:auto;min-height:0}
}
/* Featured caption sits over the artwork, while the two-row height stays fixed. */
.spotlight .card-link{position:relative}
.spotlight .card-art{flex:1;height:100%;border-radius:8px}
.spotlight .card-info{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:44px 15px 15px;background:linear-gradient(transparent,rgba(7,10,25,.8) 48%,rgba(7,10,25,.96));color:#fff;border-radius:0 0 8px 8px}
.spotlight .card-info h3{color:#fff;margin-bottom:7px}
.spotlight .card-stats{justify-content:space-between;gap:12px}
.spotlight .card-rating,.spotlight .card-players{color:#fff}
@media(max-width:600px){.spotlight .card-art{flex:none;height:auto;aspect-ratio:1.25}.spotlight .card-info{padding:40px 13px 13px}}
/* Mobile navigation stays reachable without covering the last page content. */
@media(max-width:600px){
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
 .bottom-nav,[data-theme="light"] .bottom-nav{position:fixed;inset:auto 0 0;z-index:35;display:flex;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px));background:var(--header)}
 body.playing,body.player-expanded-open{padding-bottom:0!important}
 .playing .bottom-nav,.player-expanded-open .bottom-nav{display:none}
}
