:root{color-scheme:dark;--bg:#030b15;--bg-deep:#020913;--top:#030a14;--surface:#081320;--surface-2:#0c1727;--line:#18263a;--muted:#aebcd3;--muted-2:#8090aa;--white:#f7f9ff;--purple:#9440f7;--blue:#385bff;--bright:#ac61ff;--cyan:#4bc3f4;--gold:#ffb400;--shadow:0 18px 56px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--bg);color:var(--white);font:14px/1.42 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #b987ff;outline-offset:3px}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon,.brand-icon,.step-icon,.heart-icon{display:inline-block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}button{color:inherit}h1,h2,h3,p{margin-top:0}h2{font-size:21px;letter-spacing:-.55px}.topbar{position:relative;z-index:30;display:flex;align-items:center;gap:0;height:65px;padding:0 36px;background:linear-gradient(180deg,#020911,#040c17);border-bottom:1px solid #0d1928}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;white-space:nowrap;letter-spacing:-.65px}.brand-icon{color:#884bfa;width:40px;height:40px;stroke-width:1.8}.desktop-nav{display:flex;align-items:center;gap:36px;margin-left:50px;height:100%}.nav-link{display:flex;align-items:center;align-self:stretch;position:relative;white-space:nowrap;font-size:13px;font-weight:550;color:#e4e9f7}.nav-link:hover,.nav-link.active{color:white}.nav-link.active:after{content:"";position:absolute;bottom:13px;left:0;right:0;height:2px;border-radius:4px;background:#9a4dfd}.header-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.search-form{height:37px;display:flex;align-items:center;width:385px;border:1px solid #49617e;background:#081423;border-radius:12px;padding:0 10px;transition:border-color .18s}.search-form:focus-within{border-color:#955bff}.search-form .search-left{height:17px;width:17px;margin-right:9px}.search-form input{width:100%;border:0;outline:0;background:transparent;color:#eaf0ff;font-size:12px;min-width:0}.search-form input::placeholder{color:#9caac4}.search-submit{border:0;background:none;display:flex;align-items:center;justify-content:center;padding:2px}.search-submit .icon{width:17px;height:17px;color:#bccaff}.icon-button{width:40px;height:37px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center}.icon-button .icon{width:20px;height:20px}.theme-toggle{margin-left:4px;margin-right:2px}.auth-button{height:36px;padding:0 19px;border-radius:10px;font-size:12px;font-weight:650;white-space:nowrap}.sign-in{border:1px solid #243954;background:transparent}.sign-up,.gradient-button,.primary-button,.category-pill.selected,.sort-tab.selected{border:0;background:linear-gradient(112deg,#942be4 3%,#5a37e4 70%,#413bf3)}.sign-up:hover,.primary-button:hover{filter:brightness(1.13)}.mobile-menu-toggle,.mobile-nav{display:none}
.hero{height:298px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 66% 30%,#1e3156 2%,#070f20 64%,#030b15 94%);border-bottom:1px solid #14243b}.hero-art{position:absolute;top:0;bottom:0;left:26%;right:5%;background-image:url('assets/hero.webp');background-size:cover;background-position:52% 53%;opacity:.96}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#030c16 0%,rgba(3,12,22,.98) 12%,rgba(3,12,22,.84) 26%,rgba(3,12,22,.28) 47%,rgba(3,12,22,.08) 69%,rgba(3,11,21,.75) 92%,#040b17 100%),linear-gradient(0deg,#020a14 0%,transparent 37%,transparent 73%,rgba(4,9,21,.2) 100%)}.hero-content{position:absolute;z-index:1;top:35px;left:60px;max-width:505px}.eyebrow{color:#b079ff;font-size:11px;font-weight:650;letter-spacing:4.3px;margin-bottom:9px}.hero h1{font-size:46px;font-weight:760;letter-spacing:-1.7px;line-height:1.08;margin:0 0 10px;text-shadow:0 2px 18px rgba(0,0,0,.25)}.hero h1 span{background:linear-gradient(90deg,#e34dd8,#925af1,#4193f8);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-subtitle{font-size:15px;line-height:1.55;max-width:490px;color:#c4d0e5;margin:0 0 17px}.hero-buttons{display:flex;gap:15px}.primary-button,.secondary-button{height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:11px;font-size:13px;font-weight:650;white-space:nowrap}.primary-button .icon,.secondary-button .icon{width:17px;height:17px}.primary-button .arrow-small{width:15px;height:15px}.secondary-button{background:rgba(3,9,20,.78);border:1px solid #8996c1}.secondary-button:hover{border-color:#c6a2ff;background:rgba(52,35,93,.38)}.hero-script{position:absolute;right:4.2%;top:55px;z-index:1;text-align:right;font-family:"Segoe Print","Comic Sans MS",cursive;font-size:28px;font-weight:600;font-style:italic;line-height:1.15;transform:rotate(-9deg);text-shadow:0 2px 9px rgba(0,0,0,.56)}.script-stroke{height:4px;width:89px;position:absolute;right:0;bottom:-11px;background:#b239fa;transform:rotate(-15deg);border-radius:7px}.hero-dots{position:absolute;bottom:16px;left:70%;z-index:3;display:flex;gap:9px;align-items:center}.dot{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:#8292b0}.dot.active{background:#9436f2;box-shadow:0 0 14px rgba(166,76,255,.6)}
.category-bar{min-height:57px;display:flex;align-items:center;gap:13px;padding:10px 36px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;border-bottom:1px solid #152338;background:#050d18}.category-bar::-webkit-scrollbar{display:none}.category-pill{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 14px;border:0;border-radius:10px;background:#0e1828;color:#e5ebf8;font-size:12px;font-weight:630;white-space:nowrap;transition:background .2s}.category-pill:hover{background:#20223d}.category-pill.selected{background:linear-gradient(100deg,#285add,#8c33ea);color:#fff}.category-pill span{font-size:17px;line-height:1}.category-pill:last-child span{letter-spacing:1px;font-size:14px}
.category-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:20px;padding:0 6px;border-radius:10px;background:#1c2b45;color:#c7d5eb;font-size:11px;font-weight:750;line-height:1;letter-spacing:0}
.category-pill.selected .category-count{background:rgba(255,255,255,.2);color:#fff}
@media(min-width:901px){.category-bar{flex-wrap:wrap;overflow:visible;white-space:normal;row-gap:8px}}
.site-body{max-width:1690px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 343px;column-gap:25px;padding:0 36px}.left-content{min-width:0}.games-section{padding-top:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading h2{margin:0;display:flex;gap:11px;align-items:center;line-height:29px}.section-heading .icon{width:23px;height:23px}.section-star{color:#39c9f3;fill:#39c9f3;stroke-width:1.3}.link-button{border:0;background:transparent;color:#b68bff;display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.link-button .icon{width:15px;height:15px}.link-button:hover{text-decoration:underline}.filter-status{margin:-4px 0 12px;color:#baa5ec;font-size:12px}.featured-container{position:relative}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.game-card{border:1px solid #1d2a3d;border-radius:13px;overflow:hidden;height:234px;position:relative;background:linear-gradient(180deg,#0c1929,#030b14);text-align:left;padding:0;isolation:isolate;transition:transform .18s,border-color .18s,box-shadow .18s;width:100%}.game-card:hover{transform:translateY(-3px);border-color:#7757ce;box-shadow:0 12px 28px rgba(0,0,0,.26)}.game-image{position:absolute;top:0;left:0;width:100%;height:73%;object-fit:cover;object-position:center}.game-card:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(0deg,#020a14 0%,rgba(2,10,20,.99) 14%,rgba(2,10,20,.82) 27%,transparent 57%)}.game-card-content{position:absolute;z-index:2;left:12px;right:10px;bottom:9px}.game-card h3{margin:0 0 5px;font-size:15px;letter-spacing:-.3px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tags{display:flex;gap:5px;flex-wrap:wrap}.tags span{background:rgba(22,35,64,.92);border-radius:5px;padding:3px 6px;color:#d8deee;font-size:11px;line-height:1.15}.game-card .tags{min-height:19px;max-height:22px;overflow:hidden}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:11px;gap:5px}.rating{font-size:12px;color:#d5dfef;margin:0}.rating>span{color:var(--gold);font-size:16px}.rating small{font-size:11px;color:#a3b1c9}.platform{font-size:18px;color:#d4dce9;line-height:1}.card-badge{position:absolute;left:8px;top:8px;z-index:3;font-size:11px;font-weight:750;border-radius:7px;padding:6px 8px;background:#09ca7a;color:white;box-shadow:0 2px 8px rgba(0,0,0,.25)}.card-badge.trending{background:#ff8a00}.carousel-next{position:absolute;right:0;top:50%;transform:translate(0,-50%);width:46px;height:46px;border-radius:50%;background:rgba(2,9,21,.88);border:1px solid #b3c6e6;display:flex;align-items:center;justify-content:center;z-index:5;box-shadow:0 7px 19px rgba(0,0,0,.35)}.carousel-next:hover{background:#3a2e75}.carousel-next .icon{width:27px;height:27px}.no-results{padding:35px 20px;border:1px dashed #4d5376;border-radius:12px;text-align:center;color:#dbe4fb}.no-results p{color:#9da9c1;margin-bottom:15px}
.trending-section{padding-top:30px}.trending-heading{margin-bottom:14px}.fire-icon{color:#ff6761;fill:#ff6761;stroke:#ff6761}.trending-controls{display:flex;gap:6px;align-items:center}.sort-tab{padding:7px 12px;background:#101929;border:1px solid #172237;border-radius:9px;font-size:12px;color:#dbe1ef}.sort-tab.selected{border-color:transparent}.trending-controls .link-button{margin-left:14px}.trending-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.trending-card{width:100%;display:flex;align-items:center;gap:10px;min-width:0;text-align:left;border:0;background:transparent;padding:0;border-radius:9px}.trending-card:hover .trend-name{color:#c49aff}.trending-card img{width:44%;height:75px;object-fit:cover;flex:none;border-radius:11px}.trend-info{flex:1;min-width:0}.trend-name{font-size:12px;font-weight:700;line-height:1.3;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trend-genre{display:inline-block;padding:4px 8px;border-radius:6px;font-size:10px;background:#152247;color:#e3e7ff;margin-bottom:5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trend-rating{color:#d4dceb;font-size:11px}.trend-rating span{color:var(--gold);font-size:14px}
.right-sidebar{position:relative;margin-top:-166px;z-index:7}.side-panel{border:1px solid #1b2b43;border-radius:14px;padding:15px 15px 14px;margin-bottom:16px;background:linear-gradient(155deg,rgba(3,13,25,.96),rgba(1,9,19,.98));box-shadow:0 10px 25px rgba(0,0,0,.12)}.side-panel h2{font-size:16px;letter-spacing:-.4px;display:flex;align-items:center;gap:9px;margin:0 0 13px}.side-panel h2 .icon{height:23px;width:23px}.crown-icon,.trophy-icon{color:#ffbf25;fill:#ffb617}.week-art{width:100%;height:133px;display:block;position:relative;padding:0;border:0;border-radius:11px 11px 0 0;overflow:hidden}.week-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071321 0%,transparent 53%)}.week-art img{width:100%;height:100%;object-fit:cover}.week-main{position:relative;margin:-33px 12px 0;z-index:2}.week-main h3{font-size:16px;margin:0 0 4px}.week-main .tags span{font-size:10px}.week-main .rating{margin-top:4px}.week-description{font-size:12px;line-height:1.52;color:#c4d1e7;margin:16px 0 13px}.outline-purple{width:100%;height:35px;background:rgba(16,14,42,.68);border:1px solid #554fc1;border-radius:10px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px}.outline-purple:hover{background:rgba(70,43,149,.46)}.outline-purple .icon{width:14px;height:14px}.rated-panel{padding-top:14px}.rated-panel h2{margin-bottom:8px}.rated-item{border:0;border-bottom:1px solid #172436;background:transparent;width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:6px 0}.rated-item:last-child{border-bottom:0;padding-bottom:3px}.rated-item:hover .rated-name{color:#c69bff}.rank{flex:none;border-radius:50%;height:24px;width:24px;display:grid;place-items:center;background:#283345;color:#e0e7fa;font-weight:700;font-size:12px}.rank.gold{background:#ffb51e;color:#3c2500}.rank.bronze{background:#816257}.rated-item img{height:34px;width:34px;border-radius:6px;object-fit:cover;flex:none}.rated-name{min-width:0;flex:1;color:#f1f4fa;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rated-score{font-size:12px;white-space:nowrap}.rated-score span{color:var(--gold);font-size:14px}
.how-layout{max-width:1690px;margin:25px auto 0;padding:0 36px;display:grid;grid-template-columns:minmax(0,1fr) 301px;gap:7px;min-height:114px}.how-panel{border:1px solid #17283e;border-radius:13px;min-width:0;display:grid;grid-template-columns:185px repeat(3,minmax(0,1fr));gap:15px;align-items:center;padding:19px 22px;background:#030c17}.how-panel h2{margin:0;display:flex;align-items:center;font-size:20px;gap:10px;white-space:nowrap}.bolt-icon{width:28px;height:29px;fill:#ffb600;stroke:#ffb600}.how-step{display:flex;align-items:center;gap:15px;position:relative;min-width:0}.step-number{position:absolute;top:-7px;left:-6px;width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(150deg,#284fe1,#653ff0);font-weight:750;font-size:14px}.step-icon{width:51px;height:51px;stroke-width:1.9}.step-icon.blue{color:#2878fa}.step-icon.purple{color:#7b42f1}.step-icon.violet{color:#8c42fa}.how-step strong{font-size:13px}.how-step p{font-size:12px;color:#bdcae1;margin:6px 0 0;line-height:1.4;max-width:220px}.together-panel{border:1px solid #261e52;border-radius:13px;background:linear-gradient(135deg,#1b1644,#0d1430);display:flex;gap:16px;align-items:center;padding:15px 18px}.heart-icon{height:50px;width:50px;color:#b433e3;fill:#a734d7;stroke:#b43deb}.together-panel strong{font-size:15px;line-height:1.2}.together-panel strong span{color:#af9aff}.together-panel p{font-size:11px;color:#b6c1de;line-height:1.35;margin:9px 0 0}.preview-note{max-width:1690px;margin:19px auto 0;padding:0 36px;display:flex;align-items:center;gap:8px;color:#7788a1;font-size:11px}.preview-dot{width:7px;height:7px;background:#ad7afd;border-radius:50%;flex:none}.site-footer{margin:26px auto 0;border-top:1px solid #1a263b;min-height:98px;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#b0bfd8;max-width:1760px}.footer-brand{display:flex;align-items:center;gap:8px;color:#f1f5ff;font-weight:750}.footer-brand .brand-icon{width:29px;height:29px}.footer-brand span{margin-left:10px;color:#7687a1;font-size:11px;font-weight:500}.site-footer nav{display:flex;gap:21px;font-size:12px}.site-footer a:hover{color:#b08aff}.site-footer small{color:#687c99;font-size:11px}
.app-dialog{background:#0a1424;color:#f1f4fc;border:1px solid #403465;border-radius:18px;width:min(500px,calc(100% - 28px));padding:20px;box-shadow:0 40px 110px rgba(0,0,0,.7)}.app-dialog::backdrop{background:rgba(0,5,15,.79);backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.dialog-label{font-size:10px;font-weight:700;color:#a179ff;letter-spacing:2px}.app-dialog h2{font-size:26px;line-height:1.17;margin:8px 0 12px}.app-dialog p{color:#bfcbe0;line-height:1.65;font-size:14px}.dialog-game-img{width:100%;height:220px;object-fit:cover;border-radius:13px;margin:10px 0 12px}.dialog-tags{margin:0 0 16px}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap}.dialog-actions .secondary-button{border-color:#4e5272}.small-note{font-size:11px!important;color:#9bacc6!important}.modal-heading-gradient{background:linear-gradient(90deg,#bd67fd,#4b99fd);-webkit-background-clip:text;background-clip:text;color:transparent}
body.light-mode{--bg:#e8eefb;--bg-deep:#dce7fa;--top:#0a1121;--surface:#f8faff;--surface-2:#e4eafa;--line:#c4cee0;--white:#162440;--muted:#384967;--muted-2:#536581;color-scheme:light}body.light-mode .topbar,body.light-mode .hero,body.light-mode .category-bar,body.light-mode .side-panel,body.light-mode .how-panel,body.light-mode .site-footer{color:#f7f9ff}body.light-mode .left-content{color:#1c2a43}body.light-mode .category-bar{background:#101a30}body.light-mode .preview-note{color:#415470}body.light-mode .trending-card{color:#1a2e4b}body.light-mode .trend-rating{color:#294361}body.light-mode .link-button{color:#8652c9}body.light-mode .game-card{color:#f6f8ff}body.light-mode .trending-card .trend-genre{color:#e8eeff}body.light-mode .site-footer{background:#101a2a}
@media (max-width:1360px){.desktop-nav{gap:22px;margin-left:35px}.header-actions{gap:9px}.search-form{width:305px}.site-body{grid-template-columns:minmax(0,1fr) 322px;gap:19px}.game-grid{gap:10px}.game-card{height:221px}.game-card-content{left:9px;right:7px}.how-panel{grid-template-columns:160px repeat(3,minmax(0,1fr));gap:10px;padding:14px}.how-panel h2{font-size:17px}.how-step{gap:8px}.how-step p{font-size:11px}.step-icon{width:38px}.how-layout{grid-template-columns:minmax(0,1fr) 275px}}
@media (max-width:1160px){.topbar{padding:0 24px}.desktop-nav{gap:15px;margin-left:24px}.brand{font-size:17px}.brand-icon{width:32px}.search-form{width:245px}.auth-button{padding:0 12px}.site-body{padding:0 24px;grid-template-columns:minmax(0,1fr) 286px;gap:16px}.category-bar{padding:10px 24px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card{height:226px}.featured-container .game-card:nth-child(n+4){display:none}.right-sidebar{margin-top:-127px}.hero-content{left:37px}.hero-script{right:3%;font-size:24px}.how-layout{padding:0 24px;grid-template-columns:1fr}.together-panel{display:none}.site-footer{padding-left:24px;padding-right:24px}.how-panel{grid-template-columns:180px repeat(3,minmax(0,1fr))}.trending-grid{grid-template-columns:repeat(2,1fr)}.trending-card img{width:39%}}
@media (max-width:840px){.topbar{padding:0 16px;height:62px}.brand{font-size:19px}.desktop-nav,.sign-in,.sign-up,.theme-toggle{display:none}.search-form{width:min(42vw,320px)}.mobile-menu-toggle{display:inline-flex}.mobile-nav{display:flex;position:absolute;top:62px;left:0;right:0;background:#090f1d;border:1px solid #25304b;box-shadow:var(--shadow);padding:10px 18px 18px;flex-direction:column;gap:0}.mobile-nav[hidden]{display:none}.mobile-nav a,.mobile-nav button{padding:12px 0;text-align:left;color:#eef2ff;background:transparent;border:0;border-bottom:1px solid #1b2943}.hero{height:319px}.hero-content{left:27px;top:30px}.hero h1{font-size:42px}.hero-art{left:30%;right:-10%;opacity:.75}.hero-shade{background:linear-gradient(90deg,#030c16 0%,rgba(3,12,22,.98) 10%,rgba(3,12,22,.79) 51%,rgba(3,12,22,.22) 100%),linear-gradient(0deg,#020a14 0%,transparent 25%)}.hero-script{display:none}.hero-dots{left:auto;right:20px;bottom:14px}.site-body{display:flex;flex-direction:column;padding:0 19px}.right-sidebar{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.side-panel{margin-bottom:0}.category-bar{padding:9px 19px}.games-section{padding-top:18px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.featured-container .game-card:nth-child(n+4){display:block}.game-card{height:225px}.trending-section{padding-top:27px}.trending-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how-layout{padding:0 19px;margin-top:23px}.how-panel{grid-template-columns:repeat(3,1fr);gap:20px}.how-panel h2{grid-column:1/-1}.preview-note{padding:0 19px}.site-footer{flex-wrap:wrap;justify-content:center;text-align:center}.footer-brand{width:100%;justify-content:center}}
@media (max-width:600px){.topbar{gap:10px}.brand{font-size:16px;letter-spacing:-.5px}.brand-icon{width:31px;height:31px}.search-form{width:42px;padding:0 10px;border-radius:10px}.search-form:focus-within{position:absolute;width:calc(100% - 110px);right:60px;z-index:12;background:#0b172a}.search-form input{width:0;opacity:0}.search-form:focus-within input{width:100%;opacity:1}.search-form .search-left{margin-right:0;min-width:17px}.search-form:focus-within .search-left{margin-right:8px}.search-submit{display:none}.header-actions{gap:4px}.hero{height:343px}.hero-content{left:19px;right:16px;top:37px;max-width:none}.hero h1{font-size:39px}.hero-subtitle{font-size:13px;max-width:350px}.eyebrow{letter-spacing:3.1px;font-size:10px}.hero-art{left:5%;right:-70%;opacity:.52}.hero-shade{background:linear-gradient(90deg,rgba(2,10,20,.96) 0%,rgba(2,10,20,.78) 55%,rgba(2,10,20,.4) 100%),linear-gradient(0deg,#020a14 0%,transparent 35%)}.hero-buttons{gap:8px}.primary-button,.secondary-button{padding:0 12px;font-size:12px}.hero-dots{right:22px;bottom:16px}.category-bar{min-height:56px;gap:8px}.category-pill{padding:8px 11px}.site-body{padding:0 14px}.section-heading h2{font-size:20px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-card{height:233px}.game-card:nth-child(n+5){display:none!important}.game-card-content{left:9px}.game-card h3{font-size:14px}.game-card .tags span{font-size:10px}.carousel-next{width:36px;height:36px}.trending-heading{align-items:flex-start;flex-direction:column;gap:10px}.trending-controls{width:100%;gap:6px}.trending-controls .link-button{margin-left:auto}.trending-grid{gap:12px}.trending-card{gap:7px}.trending-card img{height:63px;width:44%;border-radius:7px}.trend-name{font-size:11px}.trend-genre{font-size:9px;padding:3px 5px}.trend-rating{font-size:10px}.right-sidebar{grid-template-columns:1fr;gap:13px}.week-art{height:166px}.week-description{margin-top:12px}.side-panel{padding:15px}.rated-item img{height:38px;width:38px}.how-layout{padding:0 14px}.how-panel{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:20px}.how-panel h2{font-size:21px}.how-step{padding-left:7px;min-height:56px;gap:15px}.step-number{top:-6px;left:-4px}.step-icon{width:47px;height:47px}.how-step p{max-width:none}.preview-note{padding:0 14px;align-items:flex-start}.preview-dot{margin-top:5px}.site-footer{padding:22px 13px;gap:15px}.footer-brand{flex-wrap:wrap}.footer-brand span{flex-basis:100%;margin-left:0}.site-footer nav{gap:18px}.app-dialog{padding:16px}.dialog-game-img{height:185px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:0s!important;animation-duration:0s!important}}
/* Expanded gallery wins over the default small-screen preview limits. */
@media (max-width:1160px){.game-grid.expanded .game-card:nth-child(n+4){display:block}}
@media (max-width:600px){.game-grid.expanded .game-card:nth-child(n+5){display:block!important}}
[hidden]{display:none!important}
@media (min-width:841px) and (max-width:1100px){
  .desktop-nav,.sign-in,.sign-up,.theme-toggle{display:none}
  .mobile-menu-toggle{display:inline-flex}
  .mobile-nav{display:flex;position:absolute;top:65px;left:0;right:0;background:#090f1d;border:1px solid #25304b;box-shadow:var(--shadow);padding:10px 24px 18px;flex-direction:column}
  .mobile-nav[hidden]{display:none!important}
  .mobile-nav a,.mobile-nav button{padding:12px 0;text-align:left;color:#eef2ff;background:transparent;border:0;border-bottom:1px solid #1b2943}
  .search-form{width:330px}
}

/* CodeYourVibe V2: Browser Games, authentic curated listings and secure community forms */
.browser-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 36px 16px;background:#07101e;border-bottom:1px solid #15263c}
.browser-intro h2{font-size:19px;line-height:1.2;margin:0 0 4px;color:#f8faff}.browser-intro p{font-size:12px;line-height:1.5;color:#b1bed6;margin:0}
.browser-intro-label{flex:none;font-size:10px;color:#b195ed;letter-spacing:1.2px;font-weight:650}
.not-rated{font-size:10px;color:#adb9d0!important}.not-rated::first-letter{color:#ffcf66}
.trend-rating .rating{font-size:10px}
.game-card .card-badge{background:#1c4773;color:#e3f7ff;font-size:9px}
.creator-line{font-size:12px!important;margin-top:-4px}
.play-unavailable{display:inline-flex;align-items:center;padding:10px 12px;border:1px solid #41506e;border-radius:10px;color:#acb8cf;font-size:12px}
.app-dialog.playing-dialog{width:min(960px,calc(100% - 28px));max-width:960px}
.game-frame-shell{aspect-ratio:16/9;background:#020611;border:1px solid #283655;border-radius:10px;overflow:hidden;margin:12px 0 14px}.game-frame-shell iframe{display:block;width:100%;height:100%;border:0}
.game-frame-shell.play-shell{aspect-ratio:auto;height:min(78vh,700px);min-height:560px}
@media(max-height:640px){.game-frame-shell.play-shell{height:78vh;min-height:420px}}
.community-panel{border-top:1px solid #2b3852;margin-top:22px;padding-top:17px}
.community-panel h3{font-size:16px;margin:0 0 10px}
.community-subtitle{font-size:12px!important;color:#b6c0d6!important}
.community-stars{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0}
.community-star{font-size:28px;background:none;border:none;color:#f9bc45;padding:0 3px;line-height:1.2}
.community-star:hover,.community-star:focus-visible{transform:scale(1.09)}
.community-star:disabled{cursor:default;opacity:.55}
.community-review{border:1px solid #2b3c56;border-radius:10px;padding:11px 12px;margin:8px 0;background:#0b1a2b}
.community-review .review-meta{font-size:11px;color:#aebcdb;margin-bottom:6px}
.community-review p{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.community-pending{font-size:10px;color:#ffce78}
.community-form label,.auth-form label{display:block;font-size:12px;color:#bec8e2;margin-bottom:6px}
.community-form textarea,.auth-form input,.auth-form select{width:100%;box-sizing:border-box;border:1px solid #4e5b77;border-radius:10px;background:#101d30;color:white;padding:10px 12px;font:inherit;max-width:100%}
.community-form textarea{min-height:100px;resize:vertical}
.community-form,.auth-form{display:grid;gap:12px}
.auth-form .role-options{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.auth-form .role-options label{display:inline-flex;gap:7px;align-items:center;margin:0}
.auth-form .role-options input{width:auto}
.community-note{background:#101e32;border:1px solid #394c72;border-radius:10px;padding:10px 12px;font-size:12px;color:#c4d1e8}
.community-error{color:#ff9e9e;font-size:12px}
.community-success{color:#9df0c3;font-size:12px}
.community-auth-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:840px){.browser-intro{padding:14px 18px;align-items:flex-start}.browser-intro-label{font-size:9px}}
@media(max-width:600px){.browser-intro{padding:15px 14px;flex-direction:column;gap:6px}.browser-intro h2{font-size:18px}.browser-intro-label{letter-spacing:.6px}.app-dialog.playing-dialog{padding:12px}}

/* Creator-sourced game art loading: never leave a blank surface while a lazy image loads. */
/* Real creator artwork must be visible on cards, not tinted by a purple placeholder. */
.game-image,.trending-card img,.rated-item img,.week-art img,.dialog-game-img{background-color:#0c1829;background-image:none!important;opacity:1}
.game-card .game-image{position:absolute;inset:0 0 auto 0;display:block;width:100%;height:78%;object-fit:cover;object-position:center;z-index:0}
.game-card::before{background:linear-gradient(0deg,#020a14 0%,rgba(2,10,20,.96) 12%,rgba(2,10,20,.63) 27%,transparent 52%)}


.creator-art-credit{color:#caa6ff;text-decoration:underline;text-underline-offset:2px}


/* V2.5 — signed-in member space (desktop + touch/iPad) */
.header-actions .auth-button[hidden],.profile-toggle[hidden],.member-profile-card[hidden],.profile-backdrop[hidden],.profile-drawer[hidden],#profile-creator-note[hidden]{display:none!important}
.profile-toggle{display:inline-flex;align-items:center;gap:9px;flex:none;border:1px solid #55407b;border-radius:22px;padding:4px 11px 4px 4px;background:#12152d;color:#f8f4ff;min-height:39px;cursor:pointer;font-size:12px;font-weight:700}
.profile-toggle:hover,.profile-toggle[aria-expanded="true"]{border-color:#b87cff;background:#241840}
.profile-avatar,.member-card-avatar{display:inline-grid;place-items:center;width:29px;height:29px;flex:none;border-radius:50%;color:white;font-size:12px;font-weight:800;background:linear-gradient(140deg,#a33ce6,#475aea);box-shadow:0 0 0 2px #323459}
.profile-toggle-label{white-space:nowrap}
.member-profile-card{border-color:#443364;background:linear-gradient(145deg,#191334,#091423)}
.member-card-heading{display:flex;gap:12px;align-items:center;margin:0 0 13px;min-width:0}
.member-card-avatar{width:48px;height:48px;font-size:17px}
.member-card-heading>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.member-card-heading strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-card-kicker{font-size:9px;color:#c09cff;letter-spacing:1.8px;font-weight:800}
.member-card-role{font-size:11px;color:#b4c0e4}
.profile-backdrop{position:fixed;inset:0;background:rgba(1,6,17,.68);z-index:109;backdrop-filter:blur(3px)}
.profile-drawer{position:fixed;z-index:110;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(420px,100vw);background:linear-gradient(145deg,#0e1630,#06101f 74%);color:#f4f6ff;border-left:1px solid #4b376d;box-shadow:-20px 0 75px rgba(0,0,0,.55)}
.profile-open{overflow:hidden}
.profile-drawer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:25px 24px 14px;border-bottom:1px solid #293650}
.profile-drawer-top h2{margin:5px 0 0;font-size:26px;letter-spacing:-.8px}
.profile-eyebrow{color:#b48bfb;letter-spacing:1.8px;font-size:9px;font-weight:750}
.profile-close{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid #45516b;background:#15223b;font-size:17px}
.profile-drawer-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 23px 40px;min-height:0}
.profile-identity{display:flex;gap:15px;align-items:center;min-width:0}
.profile-avatar-large{width:64px;height:64px;font-size:23px;box-shadow:0 0 0 3px #27234f}
.profile-identity-details{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.profile-identity-details>strong{font-size:19px;line-height:1.2;overflow-wrap:anywhere}
.profile-role-badge{padding:3px 9px;color:#dcc7ff;border:1px solid #7652aa;background:#221b43;border-radius:20px;font-size:10px;font-weight:750}
.profile-email{max-width:100%;font-size:11px;color:#a8b6d0;overflow-wrap:anywhere}
.profile-caption{color:#bac7df;font-size:12px;line-height:1.65;margin:15px 0}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 22px}
.profile-stats>div{border:1px solid #334269;background:rgba(32,33,72,.55);padding:13px 5px;border-radius:12px;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center}
.profile-stats strong{font-size:24px;color:#d9bdff;line-height:1}
.profile-stats span{font-size:10px;color:#b7c5db}
.profile-section{margin:22px 0;border-top:1px solid #283750;padding-top:18px}
.profile-section h3,.profile-settings h3{font-size:16px;margin-bottom:12px}
.profile-muted,.profile-empty{color:#aab9d1;font-size:12px;line-height:1.55}
.profile-empty{background:#101d32;border:1px solid #283d5a;border-radius:10px;padding:13px}
.profile-history{display:flex;flex-direction:column;gap:9px}
.profile-activity-row{display:flex;align-items:center;text-align:left;justify-content:space-between;width:100%;gap:10px;border:1px solid #2e3d5b;border-radius:10px;padding:12px;background:#0c1a2b}
.profile-activity-row:hover,.profile-review-row button:hover{border-color:#8861cb;color:white}
.profile-history-title{font-size:12px;font-weight:650}
.profile-stars{color:#ffc55d;font-size:16px;white-space:nowrap;letter-spacing:1px}
.profile-review-row{border:1px solid #2e3d5b;border-radius:10px;padding:11px 12px;background:#0c1a2b}
.profile-review-row button{border:0;background:none;color:#e7e7ff;font-weight:700;font-size:12px;padding:0;margin-right:10px;text-align:left}
.profile-review-row p{margin:9px 0 0;color:#acbad0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.profile-review-status{font-size:10px;border-radius:20px;padding:3px 6px;white-space:nowrap}
.profile-status-pending{color:#ffd78c;background:#4a3619}.profile-status-approved{color:#9ff2ba;background:#153c2d}.profile-status-rejected{color:#ffaaaa;background:#49222e}
.profile-settings{border-top:1px solid #2c3c55;padding-top:18px;margin-top:25px}
.profile-settings label{display:block;font-size:12px;color:#becee5;margin-bottom:8px}
.profile-field{display:flex;gap:8px}
.profile-field input{min-width:0;flex:1;width:100%;height:41px;border:1px solid #4c5a7a;border-radius:9px;background:#0b1a2b;color:white;padding:0 12px}
.profile-field button{height:41px;padding:0 13px}
.profile-edit-status{font-size:11px;margin-top:8px;min-height:16px}
.profile-disclaimer{font-size:12px;color:#b5bed3;background:#141e36;padding:12px;border-radius:9px}
.profile-signout{display:block;width:100%;margin-top:20px;padding:12px;border:1px solid #714971;border-radius:10px;background:#22182b;color:#f0d8ed;text-align:center}
@media(max-width:1160px){.profile-toggle-label{display:none}.profile-toggle{padding:4px;border-radius:22px}}
@media(max-width:840px){.profile-toggle{display:inline-flex}.topbar .profile-toggle{margin-left:2px}}
@media(max-width:600px){.profile-drawer{width:min(100vw,420px)}.profile-drawer-top{padding:18px 16px 14px}.profile-drawer-scroll{padding:19px 16px 28px}.profile-toggle{min-height:36px}.profile-avatar{width:26px;height:26px}.profile-avatar-large{width:58px;height:58px}.profile-identity-details>strong{font-size:17px}}

/* V2.6: discoverable static HTML game directory */
.game-directory{max-width:1280px;margin:20px auto 42px;padding:20px 28px}.game-directory h2{font-size:23px;letter-spacing:-.5px;margin:0 0 7px}.game-directory p{color:var(--muted);margin:0 0 19px}.directory-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.directory-links a{display:block;min-width:0;padding:10px 12px;text-decoration:none;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:600;overflow-wrap:anywhere}.directory-links a:hover,.directory-links a:focus-visible{color:var(--white);border-color:var(--bright)}@media(max-width:950px){.directory-links{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.game-directory{padding:18px}.directory-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V2.7: meaningful information destinations and responsive navigation */
@media(min-width:1161px) and (max-width:1480px){.desktop-nav{gap:15px;margin-left:20px}.search-form{width:clamp(165px,18vw,275px)}.header-actions{gap:7px}.auth-button{padding:0 12px}}
@media(min-width:841px) and (max-width:1150px){.desktop-nav{display:none}.mobile-menu-toggle{display:inline-flex}.mobile-nav{display:flex;position:absolute;top:65px;left:0;right:0;background:#090f1d;border:1px solid #25304b;box-shadow:var(--shadow);padding:10px 24px 18px;flex-direction:column}.mobile-nav[hidden]{display:none}.mobile-nav a,.mobile-nav button{padding:12px 0;text-align:left;color:#eef2ff;background:transparent;border:0;border-bottom:1px solid #1b2943}}
.hero-art{transition:background-image .18s ease-out}
.hero-dots .dot{min-width:12px;min-height:12px}
@media(max-width:600px){.hero h1{font-size:clamp(30px,9vw,39px)}.hero-buttons{flex-wrap:wrap}.hero-buttons .primary-button,.hero-buttons .secondary-button{white-space:normal;line-height:1.2;text-align:center}.site-footer nav{flex-wrap:wrap;justify-content:center}}
/* Keep category controls above the raised sidebar art; all pills remain clickable. */
.category-bar{position:relative;z-index:12}

/* V2.7.1 — Unsaved authentication form confirmation. All entered fields stay in the DOM. */
.app-dialog.auth-confirming{position:relative;overflow:hidden}
.auth-discard-confirm{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;background:rgba(3,9,22,.97);padding:20px;border-radius:inherit;box-sizing:border-box}
.auth-confirm-card{max-width:390px;text-align:center;color:#eef2fe}
.auth-confirm-icon{display:grid;place-items:center;margin:0 auto 16px;width:46px;height:46px;border:1px solid #946e3a;border-radius:50%;color:#ffd58e;background:#352a26;font-size:22px;font-weight:800}
.auth-confirm-card h3{font-size:21px;line-height:1.25;margin:0 0 11px;color:#f5f5ff}
.auth-confirm-card p{font-size:13px;line-height:1.65;color:#bfcce3;margin:0 0 24px}
.auth-confirm-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.auth-confirm-actions button{min-height:42px;white-space:nowrap}
@media(max-width:480px){.auth-discard-confirm{padding:14px}.auth-confirm-actions{flex-direction:column}.auth-confirm-actions button{width:100%}}

/* V2.8: modal scroll containment and usable touch controls. */
body:has(.app-dialog[open]){overflow:hidden}
.app-dialog{max-height:calc(100dvh - 28px);overscroll-behavior:contain}
.auth-form input{min-height:44px;font-size:16px}
.auth-confirm-actions button{min-height:44px}
@media(max-width:600px){.topbar .search-form input{width:100%;opacity:1}.topbar .search-form{width:min(34vw,160px)}.topbar .search-form:focus-within{width:calc(100% - 110px)}}
@media(max-width:360px){.topbar .search-form{width:76px}.topbar .brand{font-size:15px}.topbar .header-actions{gap:2px}}
/* Google-ready discovery UI: crawlable editorial collections and documented inputs. */
.discovery-section{max-width:1450px;margin:34px auto;padding:0 30px}.discovery-section>p{color:#b9c8df;line-height:1.8}.discovery-section a{color:#c6a1ff}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.collection-card{display:block;padding:23px;border:1px solid #2e3d59;background:linear-gradient(135deg,#0c1a2d,#171029);border-radius:14px;min-width:0}.collection-card:hover{border-color:#a478f3}.collection-card h3{color:#f2f2ff;font-size:20px;line-height:1.25;margin:12px 0}.collection-card p{color:#b8c7df;font-size:13px;line-height:1.7}.collection-kicker{font-size:10px;letter-spacing:2px;color:#c096ff}.collection-link{font-size:12px;font-weight:700}.input-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:5px 0 17px;color:#b9c9e0;font-size:12px}.input-filter select{background:#0d192b;color:#f4f3ff;border:1px solid #435477;border-radius:8px;padding:10px;min-height:44px;max-width:100%;font:inherit}.input-filter a{color:#c6a1ff;text-decoration:underline}.input-filter select:focus-visible{outline:2px solid #bc8bff;outline-offset:3px}
@media(max-width:980px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.collection-grid{grid-template-columns:1fr}.discovery-section{padding:0 14px}.discovery-section .section-heading{align-items:flex-start;gap:12px}.input-filter{gap:8px}.input-filter a{flex-basis:100%}.input-filter select{font-size:16px}.search-form input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Reserve the first card layout while deferred scripts load; avoid mobile layout shift. */
#featured-grid:empty:not([data-ready]){min-height:234px}
.game-card .game-image,.trending-card img,.rated-item img{object-fit:contain;object-position:center top;background-color:#091426}
@media(max-width:1360px){#featured-grid:empty:not([data-ready]){min-height:221px}}
@media(max-width:1160px){#featured-grid:empty:not([data-ready]){min-height:226px}}
@media(max-width:840px){#featured-grid:empty:not([data-ready]){min-height:225px}}
@media(max-width:600px){#featured-grid:empty:not([data-ready]){min-height:476px}}

/* V2.8.1: preserve full official covers and gameplay without cropping. */
.game-card .game-image,.trending-card img,.rated-item img,.week-art img,.dialog-game-img{object-fit:contain;object-position:center;background-color:#091426}

/* V2.8.2: The signed-in Your Space card adds height to the sidebar.
   The legacy negative top offset placed it over the hero and category controls.
   Keep desktop panels in normal grid flow; <=840px retains its existing stacked spacing. */
@media (min-width:841px){.right-sidebar{margin-top:0}}

/* V2.8.2 QA: let mobile header/search shrink when the member avatar is shown. */
@media(max-width:600px){.topbar .header-actions{min-width:0}.topbar .search-form{min-width:0;flex-shrink:1}.topbar .search-form input{min-width:0}}
.hero-paths{margin:14px 0 0;max-width:460px;color:#d5def0;font-size:13px;line-height:1.5}.hero-paths a{color:#d2b4ff;text-decoration:underline;text-underline-offset:3px}
.directory-filter-note{margin:0 0 12px;color:#baa5ec;font-size:13px}.directory-links a[hidden]{display:none}

/* 2026-11-07: Retro-first homepage curation. All URLs and game sources unchanged. */
.retro-showcase{padding:22px 36px 25px;background:radial-gradient(ellipse at 72% 0%,rgba(116,45,190,.22),transparent 58%),linear-gradient(180deg,#0a1428,#070e1b);border-bottom:1px solid #25304d}
.retro-showcase-head{max-width:1690px;margin:0 auto 17px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.retro-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:1.65px;color:#ffc679!important;margin:0 0 5px!important}
.retro-showcase h2{font-size:clamp(20px,2.2vw,27px);line-height:1.18;margin:0 0 7px;letter-spacing:-.4px}
.retro-showcase-head p:not(.retro-eyebrow){margin:0;max-width:770px;color:#bbc8e0;font-size:13px;line-height:1.5}
.retro-browse{flex:none;min-height:39px;padding:10px 16px;border:1px solid #8162c0;border-radius:10px;background:linear-gradient(120deg,#30204c,#1a274d);color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.retro-browse:hover{background:linear-gradient(120deg,#553080,#253c7e)}
.retro-browse span{font-size:15px;margin-left:6px}
.retro-showcase-grid{max-width:1690px;margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.retro-feature{display:block;min-width:0;overflow:hidden;text-decoration:none;color:#fff;border:1px solid #344062;border-radius:14px;background:#0a1628;transition:transform .18s,border-color .18s,box-shadow .18s}
.retro-feature:hover{transform:translateY(-3px);border-color:#b275e8;box-shadow:0 14px 30px rgba(0,0,0,.24)}
.retro-feature img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#1b2637}
.retro-feature-info{display:flex;flex-direction:column;gap:3px;padding:12px 13px 13px;background:linear-gradient(120deg,#101b31,#11152b)}
.retro-feature-info strong{font-size:14px;line-height:1.2;color:#f7f9ff}
.retro-feature-info small{font-size:11px;line-height:1.4;color:#b4bdd4}
.retro-feature:focus-visible,.retro-browse:focus-visible{outline:3px solid #e7bfff;outline-offset:3px}
.category-pill[data-category="Classic & Retro"]:not(.selected){border:1px solid rgba(217,148,92,.52);background:linear-gradient(110deg,#382248,#322c3c);color:#ffe6b9;font-weight:760}
.category-pill[data-category="Classic & Retro"].selected{background:linear-gradient(112deg,#b452de,#6f44f2);border-color:transparent;color:#fff}
.category-pill[data-category="Classic & Retro"] .category-count{background:rgba(255,215,156,.15);color:#ffe6b9}
.category-pill[data-category="Classic & Retro"].selected .category-count{background:rgba(255,255,255,.2);color:#fff}
@media(max-width:1000px){.retro-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.retro-showcase{padding:18px 16px 21px}.retro-showcase-head{align-items:flex-start;flex-direction:column;gap:12px}.retro-showcase-head p:not(.retro-eyebrow){font-size:12px}.retro-showcase-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(225px,72vw);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 1px 8px;scrollbar-width:thin}.retro-feature{scroll-snap-align:start}.retro-feature-info{padding:11px 12px}.retro-browse{min-height:37px;padding:9px 14px}}


/* 2026-11-07 compact retro shelf: keep discovery content above the fold. */
.retro-showcase{padding:14px 34px 16px}
.retro-showcase-head{margin-bottom:10px;align-items:center;gap:18px}
.retro-eyebrow{font-size:9px!important;letter-spacing:1.3px;margin:0 0 3px!important}
.retro-showcase h2{font-size:clamp(17px,1.55vw,21px);line-height:1.18;margin:0 0 3px}
.retro-showcase-head p:not(.retro-eyebrow){font-size:11px;line-height:1.35}
.retro-browse{min-height:34px;padding:7px 12px;font-size:11px;border-radius:9px}
.retro-showcase-grid{gap:11px}
.retro-feature{height:108px;display:grid;grid-template-columns:42% minmax(0,1fr);border-radius:11px;align-items:stretch}
.retro-feature img{display:block;height:100%;min-height:0;width:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.retro-feature-info{min-width:0;justify-content:center;padding:8px 11px;gap:5px}
.retro-feature-info strong{font-size:12px;line-height:1.2}
.retro-feature-info small{font-size:10px;line-height:1.28}
@media(max-width:1000px) and (min-width:701px){
  .retro-showcase{padding:12px 24px 14px}
  .retro-feature{height:91px;grid-template-columns:38% minmax(0,1fr)}
  .retro-showcase-grid{gap:8px}
}
@media(max-width:700px){
  .retro-showcase{padding:12px 14px 13px}
  .retro-showcase-head{flex-direction:row;align-items:center;gap:10px;margin-bottom:10px}
  .retro-showcase h2{font-size:clamp(15px,4.2vw,19px);margin:0}
  .retro-showcase-head p:not(.retro-eyebrow){display:none}
  .retro-eyebrow{font-size:9px!important;margin:0 0 4px!important}
  .retro-browse{min-height:34px;max-width:108px;white-space:normal;line-height:1.25;text-align:center;padding:7px 9px;font-size:10px}
  .retro-showcase-grid{grid-auto-columns:minmax(220px,70vw);gap:9px;padding:0 1px 5px}
  .retro-feature{height:94px;grid-template-columns:43% minmax(0,1fr)}
  .retro-feature-info{padding:7px 8px;gap:4px}
  .retro-feature-info strong{font-size:11px}
  .retro-feature-info small{font-size:9px}
}


/* 2026-11-07 v288 - owner marked exact maximum height on screenshot.
   Reduce BOTH tall hero and retro shelf without changing any catalogue/content. */
.hero{height:224px}
.hero-content{top:16px;left:36px;max-width:540px}
.hero .eyebrow{font-size:9px;letter-spacing:3px;margin:0 0 5px}
.hero h1{font-size:36px;line-height:1.04;letter-spacing:-1px;margin:0 0 7px}
.hero-subtitle{font-size:12px;line-height:1.35;max-width:475px;margin:0 0 10px}
.hero .primary-button,.hero .secondary-button{height:35px;padding:0 12px;font-size:11px;gap:6px;border-radius:9px}
.hero .primary-button .icon,.hero .secondary-button .icon{width:14px;height:14px}
.hero-paths{display:none}
.hero-script{font-size:24px;top:30px}
.hero-dots{bottom:11px}
.browser-intro{padding:8px 26px 9px;gap:10px;min-height:0}
.browser-intro h2{font-size:16px;margin:0 0 2px}
.browser-intro p{font-size:10.5px;line-height:1.3}
.browser-intro-label{font-size:9px}
.retro-showcase{padding:8px 26px 9px}
.retro-showcase-head{margin-bottom:6px;align-items:center;gap:10px}
.retro-eyebrow{font-size:8px!important;letter-spacing:1px;margin:0 0 3px!important}
.retro-showcase h2{font-size:16px;line-height:1.12;margin:0}
.retro-showcase-head p:not(.retro-eyebrow){display:none}
.retro-browse{min-height:28px;padding:5px 10px;font-size:10px;border-radius:8px;white-space:nowrap}
.retro-showcase-grid{gap:10px}
.retro-feature{height:56px;grid-template-columns:88px minmax(0,1fr);border-radius:8px}
.retro-feature-info{padding:5px 8px;gap:2px}
.retro-feature-info strong{font-size:10.5px;line-height:1.1}
.retro-feature-info small{font-size:9px;line-height:1.12}
.category-bar{padding-top:8px;padding-bottom:8px;gap:8px}
@media(max-width:1000px) and (min-width:701px){
 .hero{height:226px}.hero-content{top:18px;left:24px}
 .browser-intro{padding:8px 18px}
 .retro-showcase{padding:8px 18px 9px}
 .retro-feature{height:56px;grid-template-columns:78px minmax(0,1fr)}
}
@media(max-width:700px){
 .hero{height:245px}
 .hero-content{top:16px;left:16px;right:14px}
 .hero h1{font-size:32px;line-height:1.06;margin-bottom:7px}
 .hero-subtitle{font-size:11.5px;line-height:1.34;margin-bottom:10px;max-width:355px}
 .hero-buttons{gap:6px;flex-wrap:nowrap}
 .hero .primary-button,.hero .secondary-button{height:34px;font-size:10px;padding:0 9px;gap:4px;white-space:nowrap}
 .hero .primary-button .icon,.hero .secondary-button .icon{width:12px;height:12px}
 .hero-dots{bottom:10px;right:13px}
 .browser-intro{padding:8px 14px;gap:3px;flex-direction:row;align-items:center}
 .browser-intro h2{font-size:15px}
 .browser-intro p{font-size:10px;line-height:1.2}
 .browser-intro-label{font-size:8px;max-width:90px;text-align:right}
 .retro-showcase{padding:8px 14px 9px}
 .retro-showcase-head{margin-bottom:7px;gap:7px;align-items:center}
 .retro-showcase h2{font-size:14px;line-height:1.13}
 .retro-eyebrow{font-size:8px!important;margin:0 0 2px!important}
 .retro-browse{min-height:30px;max-width:96px;white-space:normal;font-size:9px;padding:5px 6px}
 .retro-showcase-grid{gap:8px;padding:0 1px 3px;grid-auto-columns:minmax(218px,68vw)}
 .retro-feature{height:66px;grid-template-columns:79px minmax(0,1fr)}
 .retro-feature-info{padding:5px 7px;gap:2px}
 .retro-feature-info strong{font-size:10px}
 .retro-feature-info small{font-size:8.5px}
 .category-bar{padding:7px 12px;gap:7px}
}
@media(max-width:375px){
 .hero{height:257px}.hero h1{font-size:29px}
 .hero .primary-button,.hero .secondary-button{font-size:9px;padding:0 7px}
 .retro-showcase h2{font-size:12.5px}
 .retro-browse{max-width:85px;font-size:8px}
}

@media(max-width:1000px) and (min-width:701px){
 .retro-showcase-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,30vw);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:3px}
 .retro-feature{scroll-snap-align:start;min-width:0}
}

/* "Plays on mobile" badge on game cards (Mobile category). */
.card-badge.touch-badge{background:#0f8a63;color:#fff;white-space:nowrap}
.game-card .card-badge.touch-badge{left:auto;right:8px;background:#0f8a63;font-size:9px}
.trending-card{position:relative}
.trending-card .card-badge.touch-badge{left:4px;top:4px;padding:3px 6px;border-radius:6px;font-size:9px;line-height:1.2}
@media(max-width:600px){.game-card .card-badge.touch-badge{right:6px;padding:4px 5px;font-size:8px}}
@media(max-width:360px){.game-card .card-badge.touch-badge{left:8px;right:auto;top:36px}}
