:root{
  --bg:#07090b;--bg-2:#0c0f12;--panel:#11151a;--panel-2:#161b21;--line:#252c34;--line-soft:#1b2027;
  --text:#f7f8fa;--muted:#8f98a5;--red:#ff2638;--red-2:#d80d22;--red-soft:rgba(255,38,56,.13);
  --green:#21df8f;--amber:#ffbd35;--blue:#58a6ff;--shadow:0 20px 60px rgba(0,0,0,.32);--radius:18px;--radius-sm:13px;
  --shell:min(1480px,calc(100% - 44px));--header-h:74px;
}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:
radial-gradient(circle at 16% 7%,rgba(255,38,56,.07),transparent 24%),radial-gradient(circle at 88% 22%,rgba(255,38,56,.035),transparent 22%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh;overflow-x:hidden}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{width:var(--shell);margin-inline:auto}.muted{color:var(--muted)}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* boot */
.boot-splash{position:fixed;inset:0;display:grid;place-items:center;background:#07090b;z-index:9999;align-content:center;gap:24px;transition:.35s}.boot-logo{display:flex;align-items:center;gap:12px;font-size:34px;font-weight:900}.boot-logo img{width:52px}.boot-logo span,.brand-text span{color:var(--red)}.boot-line{width:260px;height:4px;background:#161b21;border-radius:99px;overflow:hidden}.boot-line i{display:block;width:44%;height:100%;background:linear-gradient(90deg,var(--red),#ff6674);animation:boot 1.2s ease-in-out infinite}.boot-splash small{color:#69727d;letter-spacing:.18em;font-weight:800}@keyframes boot{0%{transform:translateX(-120%)}100%{transform:translateX(300%)}}

/* header */
.site-header{height:var(--header-h);position:sticky;top:0;z-index:100;background:rgba(7,9,11,.88);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.06)}.nav{height:100%;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;min-width:190px}.brand img{width:42px;height:34px;object-fit:contain}.brand-text{display:grid;line-height:1}.brand-text strong{font-size:23px;letter-spacing:-.04em}.brand-text small{font-size:8px;color:#89919c;letter-spacing:.08em;margin-top:4px}.main-nav{display:flex;align-items:center;gap:4px;flex:1}.nav-link{position:relative;padding:26px 12px 23px;color:#aeb5be;font-size:13px;font-weight:700;transition:.2s}.nav-link:hover,.nav-link.active{color:#fff}.nav-link.active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:var(--red);box-shadow:0 0 14px rgba(255,38,56,.75)}.new-chip{font-size:8px;background:var(--red);color:white;padding:2px 5px;border-radius:99px;vertical-align:top;margin-left:3px}.nav-actions{display:flex;align-items:center;gap:9px}.search-wrap{position:relative}.search{width:270px;height:40px;border:1px solid var(--line-soft);background:#0d1115;color:#fff;border-radius:12px;padding:0 42px 0 14px;outline:none;transition:.2s}.search:focus{border-color:rgba(255,38,56,.65);box-shadow:0 0 0 3px rgba(255,38,56,.09)}.search-btn{position:absolute;right:4px;top:4px;width:32px;height:32px;border:0;background:transparent;color:var(--red);font-size:17px}.icon-btn{height:40px;min-width:40px;border:1px solid var(--line-soft);background:#0d1115;color:#fff;border-radius:12px;display:grid;place-items:center;position:relative}.icon-btn:hover{border-color:#434c56;background:#14191e}.notification-dot{position:absolute;width:7px;height:7px;background:var(--red);border-radius:50%;right:6px;top:6px;box-shadow:0 0 0 3px #0d1115}.profile-mini{display:flex;align-items:center;gap:9px;padding-left:6px;cursor:pointer}.profile-mini img,.avatar{width:37px;height:37px;border-radius:50%;object-fit:cover;border:2px solid #343c45}.profile-mini strong{display:block;font-size:12px}.profile-mini small{display:block;color:#7e8791;font-size:10px}.signup-btn,.solid-btn,.ghost-btn,.outline-btn{border:0;border-radius:11px;padding:11px 16px;font-weight:800;transition:.2s}.solid-btn,.signup-btn{background:linear-gradient(135deg,#ff3144,var(--red-2));color:#fff;box-shadow:0 8px 22px rgba(255,38,56,.18)}.solid-btn:hover,.signup-btn:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(255,38,56,.28)}.ghost-btn,.outline-btn{background:#13171c;border:1px solid #343b44;color:#fff}.outline-btn{border-color:rgba(255,38,56,.55);color:#ff5463;background:rgba(255,38,56,.04)}
.search-suggest{position:absolute;right:0;top:48px;width:360px;background:#101419;border:1px solid #2c333c;border-radius:16px;box-shadow:var(--shadow);padding:8px;display:none}.search-suggest.open{display:block}.suggest-item{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:9px;border-radius:11px}.suggest-item:hover{background:#181e24}.suggest-item img{width:48px;height:42px;object-fit:cover;border-radius:8px}.suggest-item strong{font-size:12px}.suggest-item small{color:#7d8691}.suggest-item .rating{color:var(--amber)}

/* dropdown */
.popover{position:absolute;top:62px;right:22px;width:340px;background:#101419;border:1px solid #2b323a;border-radius:17px;box-shadow:var(--shadow);padding:14px;z-index:130}.popover-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 11px}.notification-item{display:flex;gap:11px;padding:12px 8px;border-top:1px solid #1e242a}.notification-item i{width:35px;height:35px;border-radius:10px;background:var(--red-soft);display:grid;place-items:center;color:var(--red);font-style:normal}.notification-item b{font-size:12px;display:block}.notification-item p{font-size:11px;color:#818a95;margin:3px 0 0}.preview-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,189,53,.3);background:rgba(255,189,53,.09);color:#ffc75b;border-radius:99px;padding:5px 8px;font-size:9px;font-weight:900;letter-spacing:.05em}

/* home */
main{padding-bottom:76px}.home{padding-top:14px}.hero-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,.95fr);gap:14px}.hero{height:414px;border:1px solid #2b3138;border-radius:20px;position:relative;overflow:hidden;background:linear-gradient(135deg,#080b0e 0%,#111116 55%,#2a0b10 100%);box-shadow:0 20px 70px rgba(0,0,0,.35)}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 46%,transparent 0 18%,rgba(255,0,28,.11) 42%,transparent 66%),linear-gradient(120deg,transparent 62%,rgba(255,42,60,.17) 100%);pointer-events:none}.hero:after{content:"";position:absolute;width:430px;height:2px;background:linear-gradient(90deg,transparent,var(--red),transparent);transform:rotate(-24deg);right:-70px;bottom:80px;box-shadow:0 0 22px #ff172f;opacity:.6}.hero-content{position:relative;z-index:2;width:min(510px,59%);height:100%;display:flex;flex-direction:column;justify-content:center;padding:42px}.hero-badge{display:inline-flex;width:max-content;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;background:rgba(153,0,14,.66);border:1px solid rgba(255,52,70,.52);font-size:10px;font-weight:900}.hero h1{font-size:56px;line-height:.93;letter-spacing:-.055em;margin:17px 0 10px}.hero h1 span{color:var(--red)}.hero h2{font-size:22px;margin:0 0 12px}.hero p{color:#c2c7ce;line-height:1.65;font-size:13px;max-width:460px}.hero-actions{display:flex;gap:10px;margin-top:12px}.hero-actions button{min-width:146px}.hero-dots{display:flex;gap:5px;margin-top:24px}.hero-dots i{width:15px;height:3px;background:#4e555d;border-radius:99px}.hero-dots i:first-child{width:29px;background:var(--red)}
.player-panel{display:grid;grid-template-rows:auto auto 1fr;gap:11px}.profile-card,.quote-card,.panel-card{border:1px solid var(--line);background:linear-gradient(180deg,#11151a,#0d1115);border-radius:18px}.profile-card{padding:18px}.profile-top{display:flex;gap:13px;align-items:center}.profile-top img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:2px solid #35404a}.profile-top h3{margin:0 0 4px;font-size:15px}.profile-top p{margin:0;color:#8d96a1;font-size:10px}.level-row{display:flex;justify-content:space-between;font-size:10px;margin:14px 0 6px}.progress{height:5px;border-radius:99px;background:#262d34;overflow:hidden}.progress>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--red),#ff6471);box-shadow:0 0 12px rgba(255,38,56,.5)}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.stat-mini{padding:13px 6px;border:1px solid #262d34;border-radius:12px;text-align:center;background:#101419}.stat-mini i{font-style:normal;font-size:19px;color:var(--red)}.stat-mini b{display:block;font-size:19px;margin:5px 0 1px}.stat-mini small{font-size:9px;color:#7d8792}.quote-card{min-height:128px;background:linear-gradient(120deg,#22090d,#0d0d10);display:flex;align-items:center;padding:22px}.quote-card strong{font-size:23px;line-height:1.15;max-width:220px;text-shadow:0 2px 18px #000}.guest-card{padding:26px;display:flex;flex-direction:column;justify-content:center;height:100%}.guest-card h3{font-size:24px;margin:8px 0}.guest-card p{color:#9099a4;line-height:1.6;font-size:12px}.guest-actions{display:flex;gap:8px;margin-top:14px}

.section{margin-top:30px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.section-title{display:flex;gap:10px;align-items:flex-start}.section-title>.ico{color:var(--red);font-size:23px;line-height:1}.section-title h2{font-size:20px;margin:0 0 3px;letter-spacing:-.025em}.section-title p{font-size:11px;color:#8b949f;margin:0}.link-btn{border:1px solid rgba(255,38,56,.48);color:#ff5361;background:rgba(255,38,56,.035);border-radius:10px;padding:8px 12px;font-size:10px;font-weight:800}.link-btn:hover{background:var(--red-soft)}
.game-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.game-card{position:relative;background:linear-gradient(180deg,#151a20,#101419);border:1px solid #292f37;border-radius:14px;overflow:hidden;transition:.22s;min-width:0}.game-card:hover{transform:translateY(-4px);border-color:#424b55;box-shadow:0 18px 35px rgba(0,0,0,.3)}.game-card:hover .game-cover{transform:scale(1.035)}.game-cover{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:.3s}.game-meta{padding:10px 11px 11px}.game-title{font-size:12px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-sub{display:flex;align-items:center;justify-content:space-between;color:#7e8792;font-size:9px;margin-top:5px}.rating{color:var(--red);font-weight:800}.trend-rank,.curated-chip{position:absolute;left:8px;top:8px;z-index:3;padding:5px 7px;border-radius:7px;font-size:9px;font-weight:900;background:#21df8f;color:#07130d}.curated-chip{background:var(--red);color:#fff}.favorite-float{position:absolute;right:8px;top:8px;width:31px;height:31px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(7,9,11,.62);backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;opacity:0;transition:.2s}.game-card:hover .favorite-float,.favorite-float.active{opacity:1}.favorite-float.active{color:var(--red)}
.categories-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.category-card{border:1px solid #2a3038;background:linear-gradient(180deg,#151a1f,#101418);border-radius:13px;padding:18px 10px;text-align:center;transition:.2s}.category-card:hover,.category-card.active{border-color:rgba(255,38,56,.65);background:linear-gradient(180deg,rgba(255,38,56,.09),#101418);transform:translateY(-2px)}.category-card .cat-icon{font-size:27px;color:var(--red);height:34px}.category-card b{display:block;font-size:12px;margin:7px 0 3px}.category-card small{font-size:9px;color:#7e8792;line-height:1.35;display:block}.originals-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.original-card{position:relative;border:1px solid #30363e;border-radius:15px;overflow:hidden;background:#101418;min-height:220px}.original-card img{width:100%;height:160px;object-fit:cover;display:block}.original-card .play{position:absolute;right:12px;bottom:13px;width:34px;height:34px;border-radius:50%;border:0;background:var(--red);color:white}.original-meta{padding:10px 12px}.original-meta b{display:block;font-size:13px}.original-meta small{color:#8a939d;font-size:10px}.special-chip{position:absolute;left:10px;top:10px;z-index:3;background:var(--red);border-radius:7px;padding:5px 8px;font-size:9px;font-weight:900}
.two-col{display:grid;grid-template-columns:1.5fr .78fr;gap:15px}.mission-grid{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:10px}.mission,.leaderboard,.recent-panel,.community-panel{border:1px solid #2b323a;background:linear-gradient(180deg,#13181d,#0f1317);border-radius:14px;padding:15px}.mission h3,.leaderboard h3{font-size:13px;margin:8px 0}.mission p{font-size:10px;color:#8b949e;line-height:1.5;min-height:30px}.mission-foot{display:flex;align-items:end;justify-content:space-between;margin-top:12px}.reward{color:#fff;font-weight:900;font-size:14px}.reward small{display:block;color:#7f8994;font-size:8px;font-weight:600;margin-bottom:2px}.mission button{padding:8px 11px;font-size:9px}.lb-row{display:grid;grid-template-columns:20px 28px 1fr auto;align-items:center;gap:7px;padding:7px 4px;border-radius:8px;font-size:10px}.lb-row.me{background:linear-gradient(90deg,rgba(255,38,56,.16),rgba(255,38,56,.02));color:#fff}.lb-row img{width:25px;height:25px;border-radius:50%;object-fit:cover}.lb-rank{font-weight:900;color:#b9c0c7}.lb-row:nth-of-type(2) .lb-rank{color:#ffc14d}.recent-item{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #20262d}.recent-item:first-of-type{border-top:0}.recent-item img{width:44px;height:36px;border-radius:7px;object-fit:cover}.recent-item b{font-size:10px;display:block}.recent-item small{font-size:8px;color:#818a94}.mini-action{border:1px solid rgba(255,38,56,.55);background:rgba(255,38,56,.025);color:#ff5563;border-radius:8px;padding:7px 9px;font-weight:800;font-size:8px}.recommend-layout{display:grid;grid-template-columns:1.48fr .72fr;gap:15px}.recommend-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.recommend-grid .game-card .game-meta{padding:8px}.community-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#0b0e11;border-radius:9px;padding:3px;margin:6px 0 9px}.community-tabs button{border:0;background:transparent;color:#838d98;padding:6px;font-size:8px;border-radius:7px}.community-tabs button.active{background:rgba(255,38,56,.17);color:#ff6471}.activity{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-top:1px solid #20262d}.activity img{width:31px;height:31px;border-radius:50%;object-fit:cover}.activity b{font-size:9px}.activity p{margin:2px 0 0;font-size:8px;color:#7d8791}.activity time{font-size:8px;color:#747e89}

/* pages */
.page-wrap{padding:34px 0}.page-hero{border:1px solid #272e36;border-radius:20px;padding:36px;background:radial-gradient(circle at 85% 50%,rgba(255,38,56,.11),transparent 28%),linear-gradient(145deg,#151a20,#0d1115);margin-bottom:24px}.page-hero .eyebrow,.eyebrow{color:var(--red);font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.page-hero h1{font-size:46px;margin:7px 0 8px;letter-spacing:-.05em}.page-hero p{color:#929ba6;max-width:720px;line-height:1.7}.seo-cta{display:flex;gap:9px;margin-top:18px}.full-grid{grid-template-columns:repeat(5,1fr)}.seo-card-desc{font-size:10px;line-height:1.45;color:#747d87;margin:8px 0 0}.filter-bar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filter-bar input,.filter-bar select,.field input,.field select,.field textarea{background:#0e1216;border:1px solid #2a3139;color:#fff;border-radius:11px;outline:none}.filter-bar input{height:42px;min-width:260px;padding:0 13px}.filter-bar select{height:42px;padding:0 36px 0 12px}.filter-chip{border:1px solid #2d343c;background:#0f1317;color:#a4adb7;border-radius:99px;padding:9px 13px;font-size:10px;font-weight:800}.filter-chip.active{border-color:var(--red);color:#fff;background:var(--red-soft)}
.empty-state{padding:55px 24px;border:1px dashed #323a43;border-radius:16px;text-align:center;background:#0e1216}.empty-state .big{font-size:48px}.empty-state h3{margin:9px 0}.empty-state p{color:#818b96}

/* player */
.player-page{padding-top:18px}.player-hero{position:relative;min-height:230px;border:1px solid #2b323a;border-radius:20px;overflow:hidden;background:#0d1115}.player-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:saturate(.9);opacity:.72}.player-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#090b0d 3%,rgba(9,11,13,.83) 34%,rgba(9,11,13,.15) 76%),linear-gradient(0deg,#0a0c0f,transparent 55%)}.player-hero-content{position:relative;z-index:2;padding:34px;max-width:650px}.player-hero h1{font-size:42px;margin:8px 0 8px;letter-spacing:-.045em}.player-hero p{color:#a5adb6;line-height:1.6}.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.tag{font-size:9px;padding:6px 9px;border:1px solid #323941;border-radius:99px;color:#c0c6cd;background:rgba(11,14,17,.62)}.player-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0}.toolbar-group{display:flex;gap:7px;flex-wrap:wrap}.tool-btn{height:38px;border:1px solid #2e353d;background:#101419;color:#d8dce1;border-radius:10px;padding:0 12px;font-weight:800;font-size:10px}.tool-btn.active{border-color:var(--red);color:#ff6170}.provider-state{display:flex;align-items:center;gap:7px;color:#8b949f;font-size:10px}.provider-state i{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 9px rgba(33,223,143,.6)}.game-frame-shell{position:relative;border:1px solid #2d343d;border-radius:18px;background:#050607;overflow:hidden;min-height:620px;box-shadow:0 30px 80px rgba(0,0,0,.34)}.game-frame-shell.theater{position:fixed;z-index:190;inset:12px;border-radius:16px}.game-stage{height:620px;display:grid;place-items:center;background:radial-gradient(circle at center,rgba(255,38,56,.08),transparent 35%),#050607}.game-stage iframe{border:0;width:100%;height:100%}.demo-stage{text-align:center;max-width:520px;padding:30px}.demo-stage img{width:120px;border-radius:17px;margin-bottom:13px}.demo-stage h2{font-size:28px;margin:5px}.demo-stage p{color:#7f8994;line-height:1.55}.player-bottom{display:grid;grid-template-columns:1.3fr .7fr;gap:14px;margin-top:14px}.detail-card{border:1px solid #293039;background:#101419;border-radius:16px;padding:20px}.detail-card h3{margin:0 0 10px}.detail-card p,.detail-card li{font-size:11px;color:#8c96a1;line-height:1.7}.control-list{display:grid;gap:8px}.control-row{display:flex;align-items:center;justify-content:space-between;padding:10px;border:1px solid #242a31;border-radius:10px;background:#0d1115}.keycap{border:1px solid #414953;border-bottom-width:3px;border-radius:7px;padding:5px 8px;color:#fff;font-size:9px}

/* auth */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);display:grid;place-items:center;z-index:260;padding:18px}.auth-modal,.confirm-modal,.report-modal{width:min(920px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;border:1px solid #303740;background:#0d1115;border-radius:22px;box-shadow:0 40px 120px rgba(0,0,0,.55);position:relative}.auth-grid{display:grid;grid-template-columns:.95fr 1.05fr;min-height:570px}.auth-brand{padding:42px;background:radial-gradient(circle at 30% 20%,rgba(255,38,56,.25),transparent 36%),linear-gradient(145deg,#19070a,#0c1014);border-right:1px solid #2a3038;display:flex;flex-direction:column}.auth-brand .brand{min-width:0}.auth-brand h2{font-size:36px;line-height:1.02;letter-spacing:-.05em;margin:46px 0 12px}.auth-brand p{color:#99a2ad;line-height:1.7;font-size:12px}.benefits{display:grid;gap:9px;margin-top:auto}.benefit{display:flex;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:11px;background:rgba(255,255,255,.025);font-size:10px}.benefit i{font-style:normal;color:var(--red)}.auth-form{padding:42px}.auth-form h3{font-size:25px;margin:0 0 6px}.auth-form>.muted{font-size:11px}.field{margin-top:15px}.field label{display:block;font-size:9px;color:#929ba5;font-weight:800;margin:0 0 6px;text-transform:uppercase;letter-spacing:.08em}.field input,.field select,.field textarea{width:100%;padding:12px 13px}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:rgba(255,38,56,.65);box-shadow:0 0 0 3px rgba(255,38,56,.07)}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.pass-toggle{position:absolute;right:5px;bottom:5px;width:34px;height:34px;border:0;background:transparent;color:#8f98a3}.check-row{display:flex;gap:8px;align-items:flex-start;margin-top:13px;color:#8f98a3;font-size:10px}.auth-submit{width:100%;margin-top:17px}.auth-links{display:flex;justify-content:space-between;margin-top:14px;font-size:10px}.auth-links button{background:transparent;border:0;color:#ff5967}.modal-close{position:absolute;right:13px;top:13px;width:36px;height:36px;border:1px solid #2b323a;background:#11161b;color:#fff;border-radius:10px;z-index:4}.demo-cred{margin-top:14px;border:1px dashed rgba(255,189,53,.35);background:rgba(255,189,53,.05);color:#d2b365;padding:10px;border-radius:10px;font-size:9px;line-height:1.5}

/* profile/account */
.profile-cover{height:190px;border-radius:20px;position:relative;overflow:hidden;border:1px solid #2b323a;background:radial-gradient(circle at 78% 10%,rgba(255,38,56,.28),transparent 32%),linear-gradient(135deg,#14191f,#07090b)}.profile-cover:after{content:"";position:absolute;inset:auto -10% 20px 35%;height:2px;background:linear-gradient(90deg,transparent,var(--red),transparent);transform:rotate(-10deg);box-shadow:0 0 18px var(--red)}.profile-identity{display:flex;align-items:end;gap:17px;margin:-56px 24px 0;position:relative;z-index:2}.profile-identity img{width:112px;height:112px;border-radius:50%;object-fit:cover;border:5px solid var(--bg)}.profile-identity h1{font-size:30px;margin:0}.profile-identity p{color:#818b96;margin:4px 0}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.profile-panel{border:1px solid #293039;background:#101419;border-radius:16px;padding:19px}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.badge-tile{padding:13px 8px;border:1px solid #252c34;border-radius:11px;text-align:center;background:#0d1115;opacity:.5}.badge-tile.unlocked{opacity:1;border-color:rgba(255,38,56,.35)}.badge-tile i{font-style:normal;font-size:24px}.badge-tile b{display:block;font-size:9px;margin-top:5px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.setting-card{border:1px solid #2a3139;background:#101419;border-radius:14px;padding:17px}.setting-card h3{font-size:13px;margin:0 0 5px}.setting-card p{font-size:10px;color:#838d98;line-height:1.55;min-height:32px}.danger-zone{border-color:rgba(255,38,56,.45);background:linear-gradient(180deg,rgba(255,38,56,.06),#101419)}

/* admin */
.admin-shell{display:grid;grid-template-columns:230px 1fr;gap:18px;padding-top:20px}.admin-side{position:sticky;top:94px;height:calc(100vh - 114px);border:1px solid #272e36;border-radius:17px;background:#0e1216;padding:14px}.admin-mark{display:flex;gap:9px;align-items:center;padding:7px}.admin-mark img{width:33px}.admin-mark b{font-size:13px}.admin-mark small{display:block;color:#747e89;font-size:8px}.admin-nav{display:grid;gap:4px;margin-top:20px}.admin-tab{border:0;background:transparent;color:#8a949f;border-radius:10px;text-align:left;padding:11px 12px;font-size:10px;font-weight:800}.admin-tab:hover,.admin-tab.active{background:rgba(255,38,56,.11);color:#fff}.admin-main{min-width:0}.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.admin-top h1{font-size:28px;margin:0}.admin-top p{margin:4px 0 0;font-size:10px;color:#7f8994}.admin-actions{display:flex;gap:8px}.admin-actions select{background:#101419;border:1px solid #2b323b;color:#fff;border-radius:10px;padding:9px}.kpi-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.kpi{border:1px solid #293039;background:linear-gradient(180deg,#13181d,#0f1317);border-radius:14px;padding:15px}.kpi-head{display:flex;justify-content:space-between;color:#858f99;font-size:9px}.kpi i{font-style:normal;color:var(--red)}.kpi strong{display:block;font-size:24px;margin:9px 0 4px;letter-spacing:-.04em}.kpi small{color:#21ca86;font-size:8px}.admin-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:11px;margin-top:11px}.admin-card{border:1px solid #293039;background:#0f1317;border-radius:15px;padding:15px;min-width:0}.admin-card h3{font-size:12px;margin:0}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.chart{height:210px;display:flex;align-items:end;gap:5px;border-bottom:1px solid #242b32;padding-top:20px}.chart i{flex:1;display:block;background:linear-gradient(180deg,#ff4050,#75101c);border-radius:4px 4px 0 0;min-height:4px;opacity:.86}.source-row,.region-row{display:grid;grid-template-columns:1fr 48px 74px;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #20262d;font-size:9px}.device-bars{display:grid;gap:13px}.device-row{display:grid;grid-template-columns:90px 1fr 38px;align-items:center;gap:9px;font-size:9px}.bar{height:8px;background:#20262d;border-radius:99px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--red),#ff6874);border-radius:inherit}.admin-table-wrap{overflow:auto;border:1px solid #272e36;border-radius:12px}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:11px 12px;text-align:left;border-bottom:1px solid #20262d;font-size:9px}.admin-table th{color:#7f8994;background:#0c1014;position:sticky;top:0}.status{display:inline-flex;padding:5px 7px;border-radius:99px;font-size:8px;font-weight:900}.status.ok{background:rgba(33,223,143,.09);color:#47e6a1}.status.warn{background:rgba(255,189,53,.09);color:#ffc963}.status.bad{background:rgba(255,38,56,.11);color:#ff5c69}.admin-toolbar{display:flex;gap:8px;margin:10px 0}.admin-toolbar input,.admin-toolbar select{background:#0e1216;border:1px solid #2a3139;color:#fff;border-radius:10px;padding:9px 11px}.admin-toolbar input{min-width:260px}.event-list{display:grid}.event-item{display:grid;grid-template-columns:32px 1fr auto;gap:9px;padding:10px 0;border-top:1px solid #20262d;align-items:center}.event-item i{font-style:normal;width:31px;height:31px;border-radius:9px;background:var(--red-soft);display:grid;place-items:center;color:var(--red)}.event-item b{display:block;font-size:9px}.event-item p{margin:2px 0 0;color:#7e8792;font-size:8px}.event-item time{font-size:8px;color:#727c86}.local-event-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.local-event{border:1px solid #272e36;background:#0d1115;border-radius:11px;padding:11px}.local-event strong{font-size:19px;display:block}.local-event small{font-size:8px;color:#7e8792}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.health{padding:12px;border:1px solid #292f37;border-radius:11px;background:#0d1115}.health b{font-size:10px}.health span{display:block;margin-top:5px;font-size:8px;color:#47e6a1}

/* footer */
.site-footer{margin-top:40px;border-top:1px solid #20262d;background:linear-gradient(180deg,#0c1014,#080a0c)}.footer-top{display:grid;grid-template-columns:1.3fr .45fr .45fr .8fr;gap:40px;padding:34px 0}.app-promo{display:grid;grid-template-columns:130px 1fr;gap:17px;align-items:center}.app-promo img{width:130px;border-radius:16px}.app-promo h3{margin:0 0 5px}.app-promo p{font-size:10px;color:#838d98;line-height:1.55}.store-row{display:flex;gap:7px;margin-top:12px}.store-btn{border:1px solid #2e353e;background:#090b0d;border-radius:8px;padding:7px 11px;font-size:9px}.footer-col h4{font-size:11px}.footer-col a{display:block;color:#858f9a;font-size:9px;padding:4px 0}.footer-socials{display:flex;gap:7px}.social{width:31px;height:31px;border-radius:8px;background:#171c22;border:1px solid #2a3139;display:grid;place-items:center;font-size:10px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #1d2329;padding:18px 0;color:#717b86;font-size:9px}

/* toast */
#toast-root{position:fixed;right:18px;bottom:18px;z-index:400;display:grid;gap:8px;pointer-events:none}.toast{min-width:280px;max-width:380px;background:#12171c;border:1px solid #303740;border-left:3px solid var(--red);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow);animation:toastIn .25s ease}.toast b{font-size:10px}.toast p{font-size:9px;color:#8b949e;margin:3px 0 0}@keyframes toastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* report/confirm */
.confirm-modal,.report-modal{width:min(520px,100%);padding:24px}.confirm-modal h3,.report-modal h3{margin-top:0}.confirm-modal p,.report-modal p{font-size:11px;color:#8d96a0;line-height:1.6}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}

/* mobile nav */
.mobile-nav{display:none;position:fixed;z-index:120;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));background:rgba(12,15,18,.94);backdrop-filter:blur(16px);border:1px solid #2a3139;border-radius:15px;padding:7px}.mobile-nav a{flex:1;text-align:center;font-size:8px;color:#7e8792;padding:6px}.mobile-nav a i{display:block;font-style:normal;font-size:18px;margin-bottom:2px}.mobile-nav a.active{color:var(--red)}

/* accessibility / focus */
:focus-visible{outline:2px solid var(--red);outline-offset:2px}.skip-link{position:fixed;left:14px;top:-60px;background:#fff;color:#000;padding:10px 14px;z-index:1000;border-radius:8px;font-weight:900}.skip-link:focus{top:12px}

@media (max-width:1240px){
  :root{--shell:min(100% - 28px,1180px)}.main-nav .nav-link:nth-last-child(-n+2){display:none}.search{width:220px}.hero{height:390px}.hero h1{font-size:48px}.game-grid{grid-template-columns:repeat(4,1fr)}.categories-grid{grid-template-columns:repeat(5,1fr)}.full-grid{grid-template-columns:repeat(4,1fr)}.recommend-grid{grid-template-columns:repeat(3,1fr)}.kpi-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  :root{--header-h:66px;--shell:calc(100% - 24px)}.main-nav{display:none}.brand{min-width:0}.brand-text small{display:none}.nav-actions{margin-left:auto}.search-wrap{display:none}.profile-mini>div{display:none}.hero-grid{grid-template-columns:1fr}.hero{height:410px}.player-panel{grid-template-columns:1fr 1fr;grid-template-rows:none}.quote-card{min-height:100%}.game-grid{grid-template-columns:repeat(3,1fr)}.categories-grid{grid-template-columns:repeat(4,1fr)}.two-col,.recommend-layout{grid-template-columns:1fr}.originals-grid{grid-template-columns:repeat(2,1fr)}.full-grid{grid-template-columns:repeat(3,1fr)}.admin-shell{grid-template-columns:1fr}.admin-side{position:static;height:auto}.admin-nav{display:flex;overflow:auto}.admin-tab{white-space:nowrap}.admin-grid{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr 1fr}.player-bottom,.profile-grid{grid-template-columns:1fr}.game-frame-shell,.game-stage{min-height:520px;height:520px}
}
@media (max-width:720px){
  body{padding-bottom:76px}.site-header{height:62px}.brand-text strong{font-size:20px}.nav{gap:8px}.nav-actions .icon-btn:nth-of-type(2){display:none}.signup-btn{padding:9px 10px;font-size:9px}.hero{height:520px;background:linear-gradient(145deg,#090b0d,#151519 62%,#2b0b10)}.hero-content{width:100%;justify-content:flex-end;padding:24px}.hero h1{font-size:43px}.hero h2{font-size:18px}.hero p{font-size:11px}.hero-actions{width:100%}.hero-actions button{flex:1;min-width:0;padding-inline:7px}.player-panel{grid-template-columns:1fr}.quote-card{min-height:120px}.section{margin-top:24px}.section-head{align-items:center}.section-title h2{font-size:17px}.link-btn{padding:7px 9px}.game-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:5px;margin-right:-12px}.game-grid .game-card{flex:0 0 45%;scroll-snap-align:start}.categories-grid{display:flex;overflow:auto;padding-bottom:4px;margin-right:-12px}.category-card{flex:0 0 32%}.originals-grid{display:flex;overflow:auto;margin-right:-12px}.original-card{flex:0 0 76%}.mission-grid{grid-template-columns:1fr}.recommend-grid{display:flex;overflow:auto}.recommend-grid .game-card{flex:0 0 37%}.footer-top{grid-template-columns:1fr}.footer-col{display:none}.footer-bottom{padding-bottom:80px}.app-promo{grid-template-columns:95px 1fr}.app-promo img{width:95px}.mobile-nav{display:flex}.full-grid{display:grid;grid-template-columns:repeat(2,1fr);overflow:visible;margin:0}.full-grid .game-card{width:auto}.page-hero{padding:25px}.page-hero h1{font-size:36px}.filter-bar{display:grid;grid-template-columns:1fr 1fr}.filter-bar input{grid-column:1/-1;min-width:0;width:100%}.player-hero{min-height:300px}.player-hero-content{padding:25px}.player-hero h1{font-size:34px}.player-toolbar{align-items:flex-start;flex-direction:column}.game-frame-shell,.game-stage{min-height:440px;height:440px}.auth-grid{grid-template-columns:1fr}.auth-brand{display:none}.auth-form{padding:27px}.settings-grid{grid-template-columns:1fr}.badge-grid{grid-template-columns:repeat(2,1fr)}.profile-identity{margin-left:16px;margin-right:16px}.profile-identity img{width:88px;height:88px}.profile-identity h1{font-size:24px}.admin-shell{padding-top:10px}.admin-side{padding:7px}.admin-mark{display:none}.admin-nav{margin-top:0}.admin-top{align-items:flex-start;gap:12px;flex-direction:column}.kpi-grid{grid-template-columns:repeat(2,1fr)}.local-event-grid{grid-template-columns:repeat(3,1fr)}.health-grid{grid-template-columns:1fr}.admin-toolbar{display:grid;grid-template-columns:1fr 1fr}.admin-toolbar input{min-width:0;grid-column:1/-1}.popover{right:8px;width:calc(100vw - 16px);top:60px}.search-suggest{position:fixed;top:64px;left:8px;right:8px;width:auto}.mobile-search-open .search-wrap{display:block;position:fixed;top:64px;left:8px;right:8px;z-index:150}.mobile-search-open .search{width:100%}.mobile-search-open:before{content:"";position:fixed;inset:62px 0 0;background:rgba(0,0,0,.7);z-index:140}
}
@media (max-width:420px){.game-grid .game-card{flex-basis:54%}.category-card{flex-basis:39%}.original-card{flex-basis:86%}.recommend-grid .game-card{flex-basis:44%}.kpi-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:39px}.stats-row{gap:6px}.stat-mini{padding-inline:3px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
.fatal-state{min-height:100vh;display:grid;place-items:center;align-content:center;text-align:center;gap:10px;padding:28px}.fatal-state img{width:72px}.fatal-state h1{font-size:42px;margin:5px 0}.fatal-state p{max-width:520px;color:#8d96a0;line-height:1.65}.seo-category{margin-top:28px}.seo-category .game-grid{grid-template-columns:repeat(5,1fr)}
@media(max-width:720px){.seo-category .game-grid{display:grid;grid-template-columns:repeat(2,1fr);overflow:visible;margin:0}}
.nav-actions>[data-action="mobile-search"]{display:none}
button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.game-grid,.categories-grid,.originals-grid,.recommend-grid{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#303740 transparent}
.game-grid::-webkit-scrollbar,.categories-grid::-webkit-scrollbar,.originals-grid::-webkit-scrollbar,.recommend-grid::-webkit-scrollbar{height:5px}.game-grid::-webkit-scrollbar-thumb,.categories-grid::-webkit-scrollbar-thumb,.originals-grid::-webkit-scrollbar-thumb,.recommend-grid::-webkit-scrollbar-thumb{background:#303740;border-radius:99px}
.game-frame-shell.theater .game-stage{height:calc(100vh - 24px)}
@media(max-width:980px){.nav-actions>[data-action="mobile-search"]{display:grid}}
@media(max-width:720px){
  .site-header{padding-top:env(safe-area-inset-top)}
  .mobile-nav{padding-bottom:max(7px,env(safe-area-inset-bottom))}
  .link-btn{white-space:nowrap}.section-head{gap:8px}.section-title{min-width:0}.section-title p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
  .tool-btn{min-height:42px}.player-toolbar{position:sticky;top:62px;z-index:25;background:rgba(7,9,11,.94);backdrop-filter:blur(12px);padding:8px 0}
  .player-toolbar .toolbar-group{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.player-toolbar .tool-btn{padding:0 7px}
  .provider-state{width:100%;padding:2px 4px}
  .modal-backdrop{align-items:end;padding:0}.auth-modal,.confirm-modal,.report-modal{max-height:92vh;border-radius:22px 22px 0 0;width:100%}.confirm-modal,.report-modal{padding:22px}
}
@media(max-width:900px) and (orientation:landscape){.game-frame-shell,.game-stage{height:calc(100vh - 116px);min-height:300px}.player-toolbar{position:static}.mobile-nav{display:none}body{padding-bottom:0}}
.frame-status{position:absolute;z-index:3;inset:0;display:grid;place-items:center;align-content:center;gap:9px;text-align:center;background:radial-gradient(circle at center,rgba(255,38,56,.1),transparent 35%),#050607;transition:.25s}.frame-status b{font-size:13px}.frame-status small{color:#7f8994;font-size:9px}.frame-status.slow{background:rgba(5,6,7,.96)}.loader-ring{width:36px;height:36px;border:3px solid #242b32;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.funnel{display:grid;gap:10px}.funnel>div{display:grid;grid-template-columns:130px 1fr 90px;gap:10px;align-items:center;font-size:9px}.funnel span{color:#8b949f}.funnel i{display:block;height:10px;border-radius:99px;background:linear-gradient(90deg,var(--red),#78101b);min-width:4px}.funnel b{text-align:right;font-size:10px}
@media(max-width:720px){.funnel>div{grid-template-columns:90px 1fr 65px}.frame-status{padding:20px}}
.player-hud{position:absolute;z-index:4;top:12px;left:12px;display:flex;align-items:center;gap:10px;background:rgba(8,10,12,.72);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:8px 10px;pointer-events:none;transition:.2s}.player-hud span{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900}.player-hud span i{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 10px var(--red)}.player-hud small{font-size:8px;color:#89939e}.theater-exit{display:none;position:absolute;z-index:8;right:14px;top:14px;width:38px;height:38px;border-radius:11px;border:1px solid #353d46;background:rgba(8,10,12,.82);color:#fff;font-size:22px}.game-frame-shell.theater .theater-exit{display:block}.game-frame-shell.theater .player-hud{top:16px;left:16px}
@media(max-width:720px){.player-hud{top:8px;left:8px;padding:6px 8px}.player-hud small{display:none}}

/* premium mobile continuity + provider transparency */
.mobile-resume{display:none;align-items:center;gap:11px;margin-top:12px;padding:10px;border:1px solid #2a3139;border-radius:15px;background:linear-gradient(135deg,rgba(255,38,56,.09),rgba(15,18,22,.96));box-shadow:0 14px 36px rgba(0,0,0,.22)}
.mobile-resume img{width:58px;height:48px;object-fit:cover;border-radius:10px;border:1px solid #313943}.mobile-resume>div{min-width:0;flex:1}.mobile-resume small{display:block;color:var(--red);font-size:8px;font-weight:900;letter-spacing:.1em}.mobile-resume b{display:block;font-size:13px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-resume span{display:block;color:#818b96;font-size:9px}.mobile-resume>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#ff3144,#d80d22);font-style:normal;box-shadow:0 8px 20px rgba(255,38,56,.24)}
.provider-disclosure{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0;padding:10px 12px;border:1px solid #242b33;border-radius:13px;background:#0c1014}.provider-disclosure>div{display:flex;align-items:center;gap:9px;min-width:0}.provider-disclosure span{display:grid;gap:2px}.provider-disclosure b{font-size:10px}.provider-disclosure small{color:#7f8994;font-size:8px;line-height:1.4}.live-dot{width:8px;height:8px;border-radius:50%;background:#26dd91;box-shadow:0 0 12px rgba(38,221,145,.55);flex:0 0 auto}.ad-state{display:inline-flex!important;white-space:nowrap;border:1px solid rgba(255,189,53,.28);background:rgba(255,189,53,.07);color:#ffc963!important;border-radius:99px;padding:6px 9px;font-size:8px!important;font-weight:900}.ad-state.on{border-color:rgba(33,223,143,.32);background:rgba(33,223,143,.08);color:#4ce7a9!important}
.slot-list{display:grid;gap:8px}.slot-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #232a31;background:#0d1115;border-radius:11px}.slot-row b{display:block;font-size:10px}.slot-row small{display:block;margin-top:3px;color:#7f8994;font-size:8px}.admin-note{font-size:9px;line-height:1.6;color:#7f8994;margin:12px 2px 0}.metric-stack{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.metric-stack>div{padding:14px;border:1px solid #252c34;border-radius:12px;background:#0d1115}.metric-stack span,.metric-stack small{display:block;color:#7f8994;font-size:8px}.metric-stack b{display:block;margin:6px 0;font-size:20px}
.provider-state small{margin-left:auto;color:#68727d;font-size:7px;letter-spacing:.08em}
@media(max-width:720px){.mobile-resume{display:flex}.provider-disclosure{align-items:flex-start}.provider-disclosure small{max-width:240px}.ad-state{font-size:7px!important;padding:5px 7px}.metric-stack{grid-template-columns:1fr}.provider-state small{display:inline}.player-toolbar .provider-state{display:flex;align-items:center}}

/* scalable catalog */
.catalog-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:24px 0 4px}.catalog-pager button{width:42px;height:38px;border-radius:11px;border:1px solid #303740;background:#101419;color:#fff;font-weight:900}.catalog-pager button:not(:disabled):hover{border-color:var(--red);color:var(--red)}.catalog-pager span{min-width:120px;text-align:center;font-size:11px}.catalog-pager span b{color:var(--red)}.catalog-pager span small{display:block;margin-top:3px;color:#747e89;font-size:8px}.section,.game-card,.original-card{content-visibility:auto;contain-intrinsic-size:auto 280px}

/* mobile/tablet operational polish */
@media(max-width:980px){
  .admin-side{position:sticky;top:calc(var(--header-h) + 6px);z-index:45;height:auto;background:rgba(14,18,22,.94);backdrop-filter:blur(16px);box-shadow:0 14px 30px rgba(0,0,0,.24)}
  .admin-nav{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:2px}.admin-tab{scroll-snap-align:start;flex:0 0 auto}
  .admin-table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}.admin-table th{top:0;z-index:2}
}
@media(max-width:720px){
  .game-frame-shell,.game-stage{height:min(68svh,520px);min-height:390px}.game-frame-shell.theater{inset:max(6px,env(safe-area-inset-top)) 6px max(6px,env(safe-area-inset-bottom));border-radius:14px}.game-frame-shell.theater .game-stage{height:100dvh;max-height:none}
  .admin-main{padding-bottom:24px}.admin-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.admin-actions select,.admin-actions button{width:100%}
  .admin-table{min-width:700px}.admin-table th,.admin-table td{padding:10px;font-size:8.5px}.admin-table th:first-child,.admin-table td:first-child{position:sticky;left:0;background:#0d1115;z-index:1}.admin-table th:first-child{z-index:3;background:#0c1014}
  .game-grid,.categories-grid,.originals-grid,.recommend-grid{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain}
  .game-grid .game-card,.category-card,.original-card,.recommend-grid .game-card{scroll-snap-align:start}
}
@supports(height:100dvh){@media(max-width:900px) and (orientation:landscape){.game-frame-shell,.game-stage{height:calc(100dvh - 96px)}}}
.local-event-grid{grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}

/* premium polish: product pulse, motion, player dock, admin trend */
.product-pulse{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:12px;border:1px solid #252c33;border-radius:15px;overflow:hidden;background:#252c33;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.product-pulse>div{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;background:linear-gradient(180deg,#11161b,#0d1115)}
.product-pulse>div>i{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;font-style:normal;background:rgba(255,38,56,.08);color:var(--red);font-size:13px;border:1px solid rgba(255,38,56,.13)}
.product-pulse .pulse-dot{width:8px;height:8px;border:0;border-radius:50%;background:#27df91;box-shadow:0 0 12px rgba(39,223,145,.55)}
.product-pulse span{display:grid;min-width:0;line-height:1.15}.product-pulse b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-pulse small{margin-top:3px;color:#747f8a;font-size:7.5px;text-transform:uppercase;letter-spacing:.08em}
.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27df91;box-shadow:0 0 10px rgba(39,223,145,.55)}

.reveal{opacity:0;transform:translateY(14px);transition:opacity .45s ease var(--reveal-delay,0ms),transform .45s ease var(--reveal-delay,0ms)}
.reveal.is-visible{opacity:1;transform:none}

.provider-state b{font-size:8px;color:#d7dce2;background:#171d23;border:1px solid #2a323a;border-radius:99px;padding:4px 7px;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.mobile-player-dock{display:none}

.admin-command-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:9px 11px;border:1px solid #252c34;border-radius:12px;background:linear-gradient(90deg,#0f1419,#0b0f13);box-shadow:inset 0 1px rgba(255,255,255,.02)}
.admin-command-bar span{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #242c34;border-radius:99px;color:#78828d;font-size:7.5px;letter-spacing:.035em;white-space:nowrap}.admin-command-bar span b{color:#cfd5dc}.admin-command-bar time{margin-left:auto;color:#65707a;font-size:8px;font-variant-numeric:tabular-nums}
.trend-chart{position:relative;min-height:245px;padding:10px 4px 0;overflow:hidden}.trend-chart:before{content:"";position:absolute;left:0;right:0;top:86px;bottom:14px;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.045) 0 1px,transparent 1px 36px);pointer-events:none}.trend-chart svg{position:absolute;left:0;right:0;bottom:0;width:100%;height:175px;overflow:visible}.trend-meta{position:relative;z-index:2;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 14px;padding:2px 3px 0}.trend-meta span{font-size:8px;color:#77828d;text-transform:uppercase;letter-spacing:.08em}.trend-meta b{grid-row:1/3;grid-column:2;font-size:24px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.trend-meta small{font-size:8px;color:#626d78}

.game-card,.original-card,.category-card,.mission,.kpi,.admin-card{will-change:transform}
.game-card:focus-within,.original-card:focus-within,.category-card:focus-visible,.tool-btn:focus-visible,.solid-btn:focus-visible,.ghost-btn:focus-visible,.outline-btn:focus-visible,.mini-action:focus-visible{outline:2px solid rgba(255,50,68,.9);outline-offset:3px}

@media(max-width:980px){.product-pulse{grid-template-columns:repeat(2,1fr)}.trend-chart{min-height:220px}}
@media(max-width:720px){
  .product-pulse{display:flex;overflow:auto;scroll-snap-type:x mandatory;margin-right:-12px;border-radius:13px}.product-pulse>div{flex:0 0 48%;scroll-snap-align:start;padding:10px 12px}.product-pulse>div>i{width:25px;height:25px}
  .mobile-player-dock{position:sticky;top:116px;z-index:24;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0 10px;padding:7px;border:1px solid #252d35;border-radius:13px;background:rgba(8,11,14,.94);backdrop-filter:blur(16px);box-shadow:0 12px 28px rgba(0,0,0,.24)}
  .mobile-player-dock button{min-width:0;height:45px;border:1px solid #2a323a;border-radius:10px;background:#11161b;color:#dbe0e5;display:grid;place-items:center;align-content:center;gap:2px;font-size:14px}.mobile-player-dock button span{font-size:7px;color:#87919b}.mobile-player-dock button.active{border-color:rgba(255,38,56,.55);color:#ff4557;background:rgba(255,38,56,.08)}
  .player-toolbar .toolbar-group{display:none}.player-toolbar{top:62px;padding:7px 0;margin-bottom:5px}.provider-state{min-height:34px}
  .admin-command-bar{overflow:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.admin-command-bar span{flex:0 0 auto}.admin-command-bar time{margin-left:0;flex:0 0 auto}
  .trend-chart{min-height:205px}.trend-chart svg{height:150px}.trend-meta b{font-size:20px}
}
@media(pointer:coarse){.tool-btn,.mini-action,.filter-chip,.admin-tab{min-height:42px}.favorite-float{width:38px;height:38px}.mobile-player-dock button{touch-action:manipulation}}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important}}

/* ultra-premium card preview + hero signature + auth mobile polish */
.game-card{isolation:isolate}.game-cover-wrap{position:relative;overflow:hidden}.cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(5,7,9,.78) 100%);opacity:.35;transition:.25s}.game-card:hover .cover-shade{opacity:.82}.card-peek{position:absolute;left:9px;right:9px;bottom:64px;z-index:5;display:flex;align-items:end;justify-content:space-between;gap:8px;opacity:0;transform:translateY(9px);pointer-events:none;transition:.22s ease}.game-card:hover .card-peek,.game-card:focus-within .card-peek{opacity:1;transform:none;pointer-events:auto}.peek-tags{display:flex;gap:5px;flex-wrap:wrap;max-width:65%}.peek-tags span{font-size:7px;font-weight:900;letter-spacing:.05em;padding:5px 6px;border-radius:7px;background:rgba(7,9,11,.82);border:1px solid rgba(255,255,255,.11);backdrop-filter:blur(8px)}.peek-actions{display:flex;gap:5px}.peek-play,.peek-info{height:31px;border:0;border-radius:9px;font-weight:900}.peek-play{padding:0 10px;background:linear-gradient(135deg,#ff3548,#d90e22);color:#fff;font-size:8px;box-shadow:0 8px 20px rgba(255,38,56,.27)}.peek-info{width:31px;background:rgba(16,20,25,.9);border:1px solid #39414a;color:#fff}.game-card:hover .game-meta{background:linear-gradient(180deg,#151a20,#0f1318)}
.hero-callout{position:absolute;right:18px;bottom:18px;z-index:3;display:grid;justify-items:end;transform:rotate(-5deg);text-align:right;filter:drop-shadow(0 6px 12px rgba(0,0,0,.45))}.hero-callout b,.hero-callout span{font-size:14px;line-height:1;font-weight:950;letter-spacing:.04em}.hero-callout b{color:#fff}.hero-callout span{color:#ff3c4f;margin-top:2px}.hero-callout i{font-style:normal;color:#fff;font-size:18px;margin-top:4px}.hero-callout:before,.hero-callout:after{content:"";position:absolute;background:#ff2638;border-radius:99px;opacity:.85}.hero-callout:before{width:46px;height:2px;right:-3px;top:-9px;transform:rotate(-13deg)}.hero-callout:after{width:24px;height:2px;right:-8px;top:-3px;transform:rotate(24deg)}
.auth-mobile-strip{display:none;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 14px}.auth-mobile-strip span{padding:8px 6px;border:1px solid #272f37;background:#0e1317;border-radius:10px;text-align:center;color:#aeb6bf;font-size:8px;font-weight:800}.auth-mobile-strip span:first-child{color:#ff4a59;border-color:rgba(255,38,56,.25);background:rgba(255,38,56,.06)}
.quickview-backdrop{padding:24px}.quickview-modal{width:min(820px,94vw);border:1px solid #303841;border-radius:22px;overflow:hidden;background:#0b0f13;box-shadow:0 30px 100px rgba(0,0,0,.65);position:relative}.quickview-art{min-height:430px;background-size:cover;background-position:center;display:flex;align-items:center;padding:46px}.quickview-copy{width:min(430px,58%)}.quickview-copy h2{font-size:42px;line-height:.95;letter-spacing:-.045em;margin:8px 0 12px}.quickview-copy p{color:#aeb6c0;font-size:12px;line-height:1.75}.quickview-meta,.quickview-tags{display:flex;gap:7px;flex-wrap:wrap}.quickview-meta span{font-size:9px;color:#dce1e7}.quickview-meta span:first-child{color:#ff4657}.quickview-tags{margin:15px 0}.quickview-tags span{font-size:8px;padding:6px 8px;border-radius:99px;background:#171c22;border:1px solid #2b333c;color:#b9c1ca}.quickview-actions{display:flex;gap:8px;margin:17px 0 12px}.quickview-copy>small{color:#6f7984;font-size:8px;letter-spacing:.04em}.empty-mini{padding:18px;color:#727d88;font-size:9px;text-align:center;border:1px dashed #2a3138;border-radius:10px}
.admin-card .event-list{max-height:360px;overflow:auto}.admin-card .event-list::-webkit-scrollbar{width:5px}.admin-card .event-list::-webkit-scrollbar-thumb{background:#2b323a;border-radius:99px}

@media(max-width:720px){
  .card-peek{display:none}.game-card:hover{transform:none}.game-card:hover .game-cover{transform:none}.game-card:active{transform:scale(.985)}
  .hero-callout{right:14px;bottom:154px;transform:rotate(-5deg) scale(.86);transform-origin:right bottom}.hero-callout b,.hero-callout span{font-size:12px}
  .auth-mobile-strip{display:grid}.auth-modal{overflow:auto}.auth-form{padding-bottom:max(28px,env(safe-area-inset-bottom))}
  .quickview-backdrop{padding:0;align-items:end}.quickview-modal{width:100%;max-height:88dvh;border-radius:24px 24px 0 0;border-bottom:0}.quickview-art{min-height:520px;padding:28px 22px;background-position:68% center;align-items:end}.quickview-copy{width:100%;padding-top:170px}.quickview-copy h2{font-size:34px}.quickview-actions{position:sticky;bottom:0;padding-bottom:max(4px,env(safe-area-inset-bottom))}.quickview-actions .solid-btn,.quickview-actions .ghost-btn{flex:1}
}
@media(pointer:coarse){.peek-info,.peek-play{min-height:40px}}

/* release gate + password quality */
.release-gate{margin-top:11px}.release-score{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:12px 0 16px;border-bottom:1px solid #222930}.release-score>strong{font-size:34px;letter-spacing:-.06em;color:#fff}.release-score span{display:block;color:#7e8994;font-size:9px;margin-bottom:8px}.release-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.release-list>div{display:flex;gap:9px;align-items:center;padding:9px 10px;border:1px solid #252c34;border-radius:10px;background:#0d1115}.release-list i{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:900}.release-list i.done{color:#34e7a1;background:rgba(36,221,143,.08);border:1px solid rgba(36,221,143,.18)}.release-list i.wait{color:#ffc65b;background:rgba(255,190,62,.07);border:1px solid rgba(255,190,62,.18)}.release-list span{display:grid;min-width:0}.release-list b{font-size:9px}.release-list small{font-size:7px;color:#737e89;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.password-meter{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;margin:-2px 0 11px}.password-meter i{height:3px;background:#272e35;border-radius:99px;transition:.2s}.password-meter span{grid-column:1/-1;color:#737d87;font-size:8px}.password-meter[data-score="1"] i:nth-child(1){background:#ff4252}.password-meter[data-score="2"] i:nth-child(-n+2){background:#ffc04f}.password-meter[data-score="3"] i{background:#35dd99}.password-meter[data-score="3"] span{color:#58e7ad}
@media(max-width:720px){.release-list{grid-template-columns:1fr}.release-score>strong{font-size:30px}}

/* onboarding completion */
.onboarding-backdrop{padding:24px}.welcome-modal{width:min(620px,94vw);padding:34px;border:1px solid #303842;border-radius:24px;background:radial-gradient(circle at 80% 0%,rgba(255,38,56,.11),transparent 34%),linear-gradient(180deg,#11161b,#0b0f13);box-shadow:0 32px 100px rgba(0,0,0,.66);position:relative;text-align:center}.welcome-mark{position:relative;width:76px;height:76px;margin:0 auto 16px;border-radius:23px;display:grid;place-items:center;background:#0d1115;border:1px solid #303840;box-shadow:0 16px 36px rgba(0,0,0,.34)}.welcome-mark img{width:51px}.welcome-mark i{position:absolute;right:-5px;bottom:-5px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#25dc90;color:#06110b;border:4px solid #0d1115;font-style:normal;font-size:9px;font-weight:900}.welcome-modal h2{font-size:34px;letter-spacing:-.045em;margin:8px 0}.welcome-modal>p{max-width:470px;margin:0 auto;color:#8f99a4;font-size:11px;line-height:1.65}.welcome-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.welcome-picks button{min-width:0;padding:0;border:1px solid #2b333b;border-radius:12px;overflow:hidden;background:#10151a;color:#fff;text-align:left}.welcome-picks img{width:100%;aspect-ratio:16/10;object-fit:cover}.welcome-picks span{display:grid;padding:9px}.welcome-picks b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.welcome-picks small{font-size:7.5px;color:#7d8791;margin-top:3px}.welcome-picks button:hover{border-color:#4a535d;transform:translateY(-2px)}.welcome-modal .quickview-actions{justify-content:center}
@media(max-width:720px){.onboarding-backdrop{padding:0;align-items:end}.welcome-modal{width:100%;border-radius:24px 24px 0 0;border-bottom:0;padding:27px 18px max(24px,env(safe-area-inset-bottom))}.welcome-modal h2{font-size:28px}.welcome-picks{overflow:auto;display:flex;margin-right:-18px;padding-right:18px;scroll-snap-type:x mandatory}.welcome-picks button{flex:0 0 62%;scroll-snap-align:start}.welcome-modal .quickview-actions{display:grid;grid-template-columns:1fr 1fr}.welcome-mark{width:66px;height:66px}.welcome-mark img{width:43px}}

/* restrained ambient motion */
@keyframes heroAmbient{0%,100%{filter:saturate(1) contrast(1)}50%{filter:saturate(1.08) contrast(1.02)}}
@keyframes redPulse{0%,100%{opacity:.45;transform:scale(.98)}50%{opacity:.72;transform:scale(1.02)}}
@media(prefers-reduced-motion:no-preference){.hero{animation:heroAmbient 8s ease-in-out infinite}.hero:after{animation:redPulse 4.5s ease-in-out infinite}.live-dot,.pulse-dot{animation:redPulse 2.2s ease-in-out infinite}}

/* premium player flow + operations intelligence */
.player-switcher{display:grid;grid-template-columns:.9fr 1.15fr 1.15fr;gap:9px;margin:9px 0 13px}.player-back,.switch-game{min-width:0;height:62px;border:1px solid #293139;border-radius:13px;background:linear-gradient(180deg,#11161b,#0d1115);color:#fff;display:flex;align-items:center;gap:10px;padding:8px 10px;text-align:left;transition:.2s}.player-back:hover,.switch-game:hover{border-color:#46505a;background:linear-gradient(180deg,#161c22,#101419);transform:translateY(-1px)}.player-back i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;background:rgba(255,38,56,.08);border:1px solid rgba(255,38,56,.18);color:#ff5361;font-size:17px}.player-back span,.switch-game span{display:grid;min-width:0}.player-back b,.switch-game b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-back small,.switch-game small{font-size:7px;color:#727d88;letter-spacing:.05em;margin-top:2px}.switch-game img{width:48px;height:44px;border-radius:9px;object-fit:cover;border:1px solid #313941}.switch-game.next{justify-content:flex-end;text-align:right}.switch-game.next span{margin-left:auto}.switch-game.next img{order:2}
.admin-insight-grid{margin-top:11px}.retention-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:7px}.retention-grid>div{position:relative;overflow:hidden;min-height:78px;padding:12px;border:1px solid #252d35;border-radius:12px;background:#0d1115}.retention-grid>div:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--v);background:linear-gradient(90deg,#ff2638,#ff6975);box-shadow:0 0 16px rgba(255,38,56,.4)}.retention-grid span{display:block;color:#747f89;font-size:8px}.retention-grid b{display:block;font-size:20px;margin-top:8px;letter-spacing:-.04em}.retention-grid i{display:none}.admin-card .metric-stack b{font-variant-numeric:tabular-nums}

/* denser mobile discovery: app-like rails without visual clutter */
@media(max-width:720px){
  .home .section-head{position:relative}.home .section-head:after{content:"";position:absolute;right:0;bottom:-10px;width:42px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,38,56,.65))}
  .home .game-grid,.home .originals-grid,.home .recommend-grid,.home .categories-grid{scrollbar-width:none;padding-right:18px;scroll-padding-inline:0 18px}.home .game-grid::-webkit-scrollbar,.home .originals-grid::-webkit-scrollbar,.home .recommend-grid::-webkit-scrollbar,.home .categories-grid::-webkit-scrollbar{display:none}
  .home .game-card,.home .original-card,.home .category-card{box-shadow:0 12px 28px rgba(0,0,0,.18)}
  .player-switcher{grid-template-columns:44px 1fr 1fr;gap:6px;position:relative}.player-back{padding:0;display:grid;place-items:center}.player-back i{width:32px;height:32px}.player-back span{display:none}.switch-game{height:54px;padding:6px}.switch-game img{width:40px;height:39px}.switch-game b{font-size:8px}.switch-game small{font-size:6px}.retention-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:420px){.player-switcher{grid-template-columns:42px 1fr}.player-switcher .switch-game:not(.next){display:none}.switch-game.next{justify-content:space-between;text-align:left}.switch-game.next span{margin-left:0}.switch-game.next img{margin-left:auto}.retention-grid>div{min-height:70px}.retention-grid b{font-size:18px}}

/* admin local performance + quick operations */
.performance-list{display:grid;gap:7px}.performance-row{display:grid;grid-template-columns:24px 42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 9px;border:1px solid #242b33;border-radius:11px;background:#0d1115}.performance-row>img{width:42px;height:34px;border-radius:8px;object-fit:cover}.performance-row>div,.performance-row>span:last-child{display:grid;min-width:0}.performance-row>div b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.performance-row small{font-size:7px;color:#747e89;margin-top:2px}.performance-row>span:last-child{text-align:right}.performance-row>span:last-child b{font-size:10px;color:#fff}.perf-rank{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#151b21;border:1px solid #2a323a;color:#8d97a2;font-size:8px;font-weight:900}.performance-row:first-child .perf-rank{color:#ffcd67;border-color:rgba(255,197,80,.3);background:rgba(255,197,80,.07)}
.quick-ops{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.quick-ops>a,.quick-ops>button{min-width:0;min-height:76px;border:1px solid #252d35;border-radius:12px;background:linear-gradient(180deg,#11161b,#0d1115);color:#fff;padding:12px;text-align:left;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:8px;align-content:center;transition:.2s}.quick-ops>a:hover,.quick-ops>button:hover{border-color:#45505a;transform:translateY(-1px)}.quick-ops i{grid-row:1/3;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-style:normal;background:rgba(255,38,56,.07);border:1px solid rgba(255,38,56,.14);color:#ff5260}.quick-ops b{font-size:9px}.quick-ops small{font-size:7px;color:#75808a;margin-top:2px}
@media(max-width:720px){.performance-row{grid-template-columns:22px 38px minmax(0,1fr) auto;padding:7px}.performance-row>img{width:38px;height:32px}.quick-ops{grid-template-columns:1fr 1fr}.quick-ops>a,.quick-ops>button{min-height:68px}}
.provider-sync-meta{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 12px}.provider-sync-meta span{padding:6px 8px;border:1px solid #242b33;border-radius:8px;background:#0c1014;color:#75808b;font-size:7.5px}.provider-sync-meta span b{color:#cbd1d7;margin-left:3px}.provider-sync-meta .sync-error{color:#ff6674;border-color:rgba(255,38,56,.24);background:rgba(255,38,56,.05)}

/* final frontend completion: consent, notification preferences, community */
.notification-dot.is-read{opacity:0;transform:scale(.3)}
.popover-link,.popover-foot button{border:0;background:transparent;color:#ff5260;font-size:8px;font-weight:800;cursor:pointer}.popover-foot{padding:9px 12px;border-top:1px solid #232a31;text-align:right}.notification-item.read{opacity:.62}.unread-pip{width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 10px rgba(255,38,56,.5);margin-left:auto;flex:0 0 auto}
.preference-list{display:grid;gap:9px;margin:18px 0}.preference-list label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #283039;border-radius:12px;background:#0d1115}.preference-list label>span{display:grid;text-align:left}.preference-list b{font-size:10px}.preference-list small{margin-top:3px;color:#7b8691;font-size:8px;line-height:1.45}.preference-list input{width:18px;height:18px;accent-color:var(--red)}.preference-list .locked{opacity:.7}
.privacy-link{border:0;background:transparent;color:#818b95;font-size:9px;padding:0;text-align:left;cursor:pointer}.privacy-link:hover{color:#fff}.footer-socials .social{cursor:pointer;color:#fff}
.consent-banner{position:fixed;z-index:150;left:20px;right:20px;bottom:20px;max-width:980px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #333c45;border-radius:16px;background:rgba(10,13,16,.96);backdrop-filter:blur(18px);box-shadow:0 24px 70px rgba(0,0,0,.56)}.consent-banner>div:first-child{max-width:610px}.consent-banner b{font-size:11px}.consent-banner p{margin:5px 0 0;color:#8a949f;font-size:9px;line-height:1.55}.consent-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.consent-actions button{min-height:36px;padding:0 12px}
.community-hero{background:radial-gradient(circle at 82% 15%,rgba(255,38,56,.14),transparent 28%),linear-gradient(180deg,#10151a,#0b0f13)}.community-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.65fr);gap:14px;align-items:start}.community-feed-panel{display:grid;gap:10px}.community-side{display:grid;gap:12px;position:sticky;top:calc(var(--header-h) + 18px)}.community-compose{display:grid;grid-template-columns:42px 1fr;gap:10px;padding:14px;border:1px solid #2a323a;border-radius:15px;background:linear-gradient(180deg,#11161b,#0d1115)}.community-compose>img{width:42px;height:42px;border-radius:12px;object-fit:cover}.community-compose textarea{width:100%;min-height:74px;resize:vertical;border:0;border-bottom:1px solid #252d34;background:transparent;color:#fff;padding:5px 0 11px;outline:0;font:inherit;font-size:11px;line-height:1.55}.compose-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;margin-top:9px}.compose-actions select{height:36px;border:1px solid #2c343d;border-radius:10px;background:#0c1014;color:#dce1e6;padding:0 9px;font-size:8px}.compose-actions span{color:#717c87;font-size:8px;white-space:nowrap}.compose-actions .solid-btn{height:36px;padding:0 13px}.community-login{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #2b333c;border-radius:15px;background:radial-gradient(circle at 88% 0%,rgba(255,38,56,.11),transparent 38%),#0e1317}.community-login b{font-size:12px}.community-login p{margin:4px 0 0;color:#7f8994;font-size:9px}.community-page-tabs{display:flex;gap:6px;padding:5px;border:1px solid #252d34;border-radius:12px;background:#0c1014}.community-page-tabs button{flex:1;height:34px;border:0;border-radius:9px;background:transparent;color:#7c8791;font-size:9px;font-weight:900}.community-page-tabs button.active{background:#171d23;color:#fff;box-shadow:inset 0 -2px var(--red)}.community-post{padding:15px;border:1px solid #252d35;border-radius:15px;background:linear-gradient(180deg,#10151a,#0c1014)}.community-post>header{display:flex;align-items:center;gap:9px}.community-post>header img{width:38px;height:38px;object-fit:cover;border-radius:11px}.community-post>header>div{display:grid}.community-post>header b{font-size:10px}.community-post>header small{font-size:7.5px;color:#76818c;margin-top:2px}.community-post>p{margin:13px 0;color:#d6dce2;font-size:10px;line-height:1.65}.post-game{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #293139;border-radius:12px;background:#0b0f13}.post-game img{width:64px;height:44px;border-radius:9px;object-fit:cover}.post-game span{display:grid;min-width:0;flex:1}.post-game small{color:var(--red);font-size:7px;font-weight:900;letter-spacing:.08em}.post-game b{margin-top:3px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-game i{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(255,38,56,.09);color:#ff5360;font-style:normal}.community-post>footer{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding-top:10px;border-top:1px solid #21282f;color:#707b85;font-size:7.5px}.community-like{height:30px;padding:0 10px;border:1px solid #283039;border-radius:9px;background:#0c1014;color:#8a949e;font-size:8px;font-weight:900}.community-like.active{border-color:rgba(255,38,56,.32);background:rgba(255,38,56,.08);color:#ff5260}.community-achievements{display:grid;gap:8px}.achievement-line{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;padding:11px 12px;border:1px solid #252d35;border-radius:11px;background:#0d1115}.achievement-line>i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-style:normal;background:rgba(255,38,56,.08);border:1px solid rgba(255,38,56,.14)}.achievement-line>div{display:grid}.achievement-line b{font-size:9px}.achievement-line small{font-size:7.5px;color:#78838e;margin-top:3px}.new-player-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.new-player-card{display:grid;place-items:center;text-align:center;padding:15px 8px;border:1px solid #252d35;border-radius:12px;background:#0d1115}.new-player-card img{width:48px;height:48px;border-radius:15px;object-fit:cover;margin-bottom:8px}.new-player-card b{font-size:9px}.new-player-card small{font-size:7px;color:#75808b;margin-top:3px}.community-rules{margin:12px 0 0;padding-left:17px;color:#818c97;font-size:9px;line-height:1.8}.community-side .game-card{max-width:none}
@media(max-width:900px){.community-layout{grid-template-columns:1fr}.community-side{position:static;grid-template-columns:1fr 1fr}.consent-banner{left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom));max-width:none}}
@media(max-width:720px){.consent-banner{display:grid;gap:12px;padding:14px;border-radius:15px}.consent-actions{display:grid;grid-template-columns:1fr 1fr}.consent-actions .solid-btn{grid-column:1/-1}.community-compose{grid-template-columns:34px 1fr;padding:11px}.community-compose>img{width:34px;height:34px}.compose-actions{grid-template-columns:1fr auto}.compose-actions span{display:none}.compose-actions .solid-btn{grid-column:1/-1}.community-side{grid-template-columns:1fr}.new-player-grid{grid-template-columns:repeat(2,1fr)}.community-page-tabs{position:sticky;top:66px;z-index:18;background:rgba(12,16,20,.94);backdrop-filter:blur(12px)}}
.check-row a{color:#ff5967;text-decoration:underline;text-decoration-color:rgba(255,89,103,.35);text-underline-offset:2px}.install-steps{display:grid;gap:9px;margin:16px 0}.install-steps>div{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center;padding:10px 11px;border:1px solid #293139;border-radius:11px;background:#0d1115}.install-steps i{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-weight:900;background:rgba(255,38,56,.08);border:1px solid rgba(255,38,56,.16);color:#ff5361}.install-steps span{display:grid;text-align:left}.install-steps b{font-size:9px}.install-steps small{margin-top:3px;color:#7e8994;font-size:7.5px;line-height:1.4}

/* Final frontend closure */
.skip-link{position:fixed;left:18px;top:10px;z-index:9999;transform:translateY(-140%);background:#fff;color:#0a0c0f;padding:10px 14px;border-radius:10px;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.skip-link:focus{transform:translateY(0)}
.footer-social-note{max-width:190px;line-height:1.5;margin:4px 0 12px}
.security-flow{display:grid;gap:10px;margin:18px 0}
.security-flow>div,.session-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));border-radius:14px}
.security-flow i,.session-row>i{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:rgba(255,38,56,.12);color:#ff3144;font-style:normal;font-weight:900}
.security-flow span,.session-row div{display:grid;gap:3px;min-width:0;flex:1}
.security-flow small,.session-row small{color:#87909c;line-height:1.4}
.session-list{display:grid;gap:10px;margin:18px 0}
.route-404{min-height:54vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.route-404 .big{font-size:72px;font-weight:1000;letter-spacing:-5px;color:#ff3144;text-shadow:0 0 40px rgba(255,38,56,.24)}
.route-404 .solid-btn,.route-404 .ghost-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin:8px 4px 0}
@media(max-width:720px){.security-flow>div,.session-row{align-items:flex-start}.route-404 .big{font-size:56px}}
.twofa-setup{display:grid;gap:12px;margin:16px 0;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}
.twofa-setup img{width:156px;height:156px;object-fit:contain;background:#fff;border-radius:12px;padding:8px}
.twofa-setup code{display:block;margin-top:5px;padding:10px 12px;border-radius:10px;background:#090b0e;border:1px solid rgba(255,255,255,.08);word-break:break-all;color:#ff6471}

/* =========================================================
   MasGame Portal UI v2 — restrained, content-first redesign
   ========================================================= */
:root{
  --bg:#09090a;--bg-2:#0d0d0f;--panel:#111113;--panel-2:#151518;
  --line:#252528;--line-soft:#1d1d20;--text:#f4f4f5;--muted:#929299;
  --red:#e31b2d;--red-2:#bb1020;--red-soft:rgba(227,27,45,.10);
  --radius:12px;--radius-sm:9px;--header-h:64px;
  --shadow:0 16px 45px rgba(0,0,0,.28)
}
body{background:#09090a;color:var(--text)}
.site-header.portal-header{height:64px;background:rgba(9,9,10,.96);border-bottom:1px solid #202023;backdrop-filter:blur(14px)}
.portal-header .nav{gap:20px}
.portal-header .brand{min-width:148px;gap:9px}
.portal-header .brand img{width:34px;height:28px}
.portal-header .brand-text strong{font-size:20px;letter-spacing:-.035em}
.portal-header .brand-text small{display:none}
.portal-header .main-nav{gap:0}
.portal-header .nav-link{padding:22px 11px 20px;font-size:12px;font-weight:650;color:#9b9ba2}
.portal-header .nav-link.active:after{left:11px;right:11px;height:2px;box-shadow:none}
.portal-header .search{height:38px;width:250px;border-radius:9px;background:#121214;border-color:#2a2a2e;font-size:12px}
.portal-header .search:focus{box-shadow:none;border-color:#56565d}
.portal-header .search-btn{color:#a7a7ad}
.portal-header .icon-btn{border-radius:9px;background:#121214;border-color:#28282c}
.login-quiet{height:38px;border:0;background:transparent;color:#c9c9cd;font-weight:700;padding:0 10px;cursor:pointer}
.portal-header .signup-btn{height:38px;border-radius:9px;padding:0 13px;background:var(--red);box-shadow:none;font-size:11px}
.profile-initial{border:0;background:transparent;color:#fff;padding:0 2px 0 4px;min-width:0}
.profile-initial>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#1b1b1e;border:1px solid #303036;font-size:12px;font-weight:900}
.profile-initial>div{display:grid;text-align:left}.profile-initial strong{font-size:10px}.profile-initial small{font-size:8px;color:#77777f}

.home-v2{padding-top:26px;padding-bottom:30px}
.portal-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 18px}
.portal-kicker{display:block;margin-bottom:8px;color:var(--red);font-size:9px;font-weight:900;letter-spacing:.16em}
.portal-intro h1{font-size:42px;line-height:1;margin:0 0 10px;letter-spacing:-.055em;font-weight:850}
.portal-intro p{margin:0;max-width:650px;color:#96969e;font-size:12px;line-height:1.6}
.browse-all{display:flex;align-items:center;gap:9px;color:#d3d3d7;font-size:11px;font-weight:800;white-space:nowrap}
.browse-all span{display:grid;place-items:center;min-width:28px;height:24px;border:1px solid #303034;border-radius:7px;background:#151518;font-size:9px;color:#8e8e95}
.category-strip{display:flex;gap:7px;overflow:auto;padding:3px 0 14px;margin-bottom:4px;scrollbar-width:none}
.category-strip::-webkit-scrollbar{display:none}
.category-strip a{flex:0 0 auto;padding:8px 12px;border:1px solid #2a2a2e;border-radius:8px;background:#111113;color:#a9a9b0;font-size:10px;font-weight:750;transition:.15s}
.category-strip a:hover{color:#fff;border-color:#48484f;background:#17171a}
.category-strip a:first-child{background:#f2f2f3;color:#111;border-color:#f2f2f3}

.feature-wall{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr);gap:10px;margin-top:2px}
.feature-side{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.feature-tile{position:relative;display:block;min-height:190px;border-radius:13px;overflow:hidden;background:#111;border:1px solid #242427;isolation:isolate}
.feature-tile.large{min-height:390px}
.feature-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.feature-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 22%,rgba(0,0,0,.84) 100%);z-index:1}
.feature-tile.large:after{background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.28) 56%,rgba(0,0,0,.1) 100%),linear-gradient(0deg,rgba(0,0,0,.38),transparent 52%)}
.feature-tile:hover img{transform:scale(1.025)}
.feature-copy{position:absolute;left:16px;right:16px;bottom:15px;z-index:2}
.feature-tile.large .feature-copy{left:28px;bottom:26px;max-width:450px}
.feature-copy span{display:block;margin-bottom:5px;color:#c4c4c8;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.feature-copy h2{margin:0;color:#fff;font-size:19px;letter-spacing:-.035em}
.feature-tile.large .feature-copy h2{font-size:36px}
.feature-copy p{margin:9px 0 13px;color:#c2c2c7;font-size:11px;line-height:1.6;max-width:390px}
.feature-copy b{display:inline-block;margin-top:8px;color:#fff;font-size:10px;font-weight:800}
.feature-tile.large .feature-copy b{padding:9px 12px;border-radius:8px;background:#fff;color:#111}

.section.portal-rail{margin-top:34px}
.portal-section-head{align-items:center;margin-bottom:12px}
.portal-section-head .section-title{display:block}
.portal-section-head .section-title h2{font-size:18px;margin:0;color:#f1f1f3;letter-spacing:-.025em}
.portal-section-head .section-title p{margin:4px 0 0;color:#74747c;font-size:9px}
.section-more{color:#9c9ca3;font-size:9px;font-weight:800;padding:6px 0;border-bottom:1px solid transparent}
.section-more:hover{color:#fff;border-color:#55555b}
.rail-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.portal-card{background:transparent;border:0;border-radius:10px;overflow:visible;box-shadow:none;will-change:auto}
.portal-card:hover{transform:none;box-shadow:none;border:0}
.portal-card .card-link{display:block}
.portal-card .game-cover-wrap{border-radius:10px;overflow:hidden;border:1px solid #252529;background:#111}
.portal-card .game-cover{aspect-ratio:16/10;border-radius:0;object-fit:cover;transform:none!important}
.portal-card .cover-shade{opacity:0;background:rgba(0,0,0,.35);transition:.18s}
.portal-card:hover .cover-shade{opacity:1}
.portal-card .play-disc{position:absolute;left:50%;top:50%;translate:-50% -50%;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#111;font-size:12px;font-weight:900;opacity:0;transform:scale(.88);transition:.18s;z-index:2;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.portal-card:hover .play-disc{opacity:1;transform:scale(1)}
.portal-card .game-meta{padding:8px 2px 0;background:transparent!important}
.portal-card .game-title{font-size:11px;font-weight:760;letter-spacing:-.01em}
.portal-card .game-sub{font-size:8px;color:#76767e;margin-top:4px;justify-content:flex-start;gap:7px}
.portal-card .rating{color:#8e8e95;font-weight:700}
.local-chip{font-size:7px;font-weight:900;color:#bcbcc1;letter-spacing:.04em}
.portal-card .favorite-float{top:7px;right:7px;width:30px;height:30px;border-radius:8px;background:rgba(10,10,11,.82);border-color:#3a3a40;opacity:0}
.portal-card:hover .favorite-float,.portal-card .favorite-float.active{opacity:1}
.portal-card .curated-chip,.portal-card .trend-rank{left:7px;top:7px;border-radius:6px;padding:4px 6px;font-size:7px;background:#0c0c0e;color:#fff;border:1px solid rgba(255,255,255,.16)}
.portal-card .curated-chip{background:#e31b2d;border-color:#e31b2d}
.portal-card.is-catalog .play-disc{background:rgba(12,12,14,.9);color:#fff;border:1px solid #4b4b52}

.catalog-preview{margin-top:38px;padding-top:28px;border-top:1px solid #1f1f22}
.portal-bottom-cta{margin:38px 0 8px;padding:24px 26px;border:1px solid #28282c;border-radius:13px;background:#111113;display:flex;align-items:center;justify-content:space-between;gap:18px}
.portal-bottom-cta h2{margin:0 0 5px;font-size:18px}
.portal-bottom-cta p{margin:0;color:#7f7f87;font-size:10px}
.portal-bottom-cta>div:last-child{display:flex;gap:8px}
.portal-bottom-cta .solid-btn,.portal-bottom-cta .ghost-btn{display:inline-flex;align-items:center;text-decoration:none;border-radius:8px;box-shadow:none}

.portal-footer{margin-top:46px;border-top:1px solid #202023;background:#0a0a0b}
.portal-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px;padding:34px 0 28px}
.portal-footer .footer-brand p{max-width:260px;color:#777780;font-size:10px;line-height:1.6;margin:12px 0}
.portal-footer .footer-brand .brand{min-width:0}
.portal-footer .footer-brand .brand img{width:32px;height:28px}
.portal-footer .footer-col h4{font-size:10px;margin:0 0 12px;color:#efeff1}
.portal-footer .footer-col a,.portal-footer .privacy-link{display:block;margin:8px 0;color:#777780;font-size:9px}
.portal-footer .footer-col a:hover,.portal-footer .privacy-link:hover{color:#fff}
.portal-footer .store-btn{height:34px;border-radius:8px;background:#17171a;border:1px solid #2d2d31;color:#ddd;font-size:9px;padding:0 11px}
.portal-footer .footer-bottom{padding:14px 0 20px;border-top:1px solid #1b1b1e;color:#5e5e66;font-size:8px}

/* Tone down generic gradients across public-facing surfaces */
.page-hero,.profile-panel,.setting-card,.community-post,.community-compose,.community-login,.recent-panel,.community-panel,.mission,.leaderboard{background:#111113;border-color:#29292d;box-shadow:none}
.page-hero{border-radius:12px;background:#0f0f11}
.page-hero .eyebrow{color:#8d8d95}
.page-hero h1{letter-spacing:-.045em}
.solid-btn,.signup-btn{background:var(--red);box-shadow:none}
.ghost-btn,.outline-btn{background:#151518;border-color:#303034}
.link-btn{background:transparent;border-color:#343438;color:#bcbcc1}

@media(max-width:1200px){
  .rail-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .feature-wall{grid-template-columns:1.35fr .85fr}
}
@media(max-width:900px){
  .portal-header .main-nav{display:none}.portal-header .search-wrap{display:none}.portal-header .brand{min-width:0}.login-quiet{display:none}
  .home-v2{padding-top:18px}.portal-intro h1{font-size:34px}.feature-wall{grid-template-columns:1fr}.feature-tile.large{min-height:340px}.feature-side{grid-template-columns:repeat(4,1fr)}.feature-side .feature-tile{min-height:155px}.feature-side .feature-copy h2{font-size:14px}
  .rail-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:9px;padding-bottom:4px}.rail-grid .portal-card{flex:0 0 30%;scroll-snap-align:start}
  .portal-footer-grid{grid-template-columns:1.4fr 1fr 1fr}.portal-footer-grid .footer-col:last-child{grid-column:2/4}
}
@media(max-width:720px){
  :root{--shell:calc(100% - 24px)}
  .site-header.portal-header{height:58px}.portal-header .nav{height:58px}.portal-header .brand img{width:30px}.portal-header .brand-text strong{font-size:18px}.portal-header .signup-btn{height:34px;padding:0 11px}.portal-header .icon-btn{height:34px;min-width:34px}.profile-initial>span{width:32px;height:32px}.profile-initial>div{display:none}
  .home-v2{padding-top:16px}.portal-intro{align-items:flex-start;margin-bottom:14px}.portal-intro h1{font-size:30px}.portal-intro p{font-size:10px;max-width:88%}.browse-all{display:none}.category-strip{margin-right:-12px;padding-right:12px}
  .feature-tile.large{min-height:280px}.feature-tile.large .feature-copy{left:18px;bottom:18px;max-width:80%}.feature-tile.large .feature-copy h2{font-size:28px}.feature-tile.large .feature-copy p{display:none}.feature-side{display:flex;overflow:auto;scroll-snap-type:x mandatory;margin-right:-12px;padding-right:12px}.feature-side .feature-tile{flex:0 0 48%;min-height:145px;scroll-snap-align:start}.feature-copy{left:12px;right:12px;bottom:12px}.feature-copy span{font-size:7px}.feature-copy h2{font-size:13px}.feature-copy b{font-size:8px}
  .section.portal-rail{margin-top:28px}.portal-section-head{margin-bottom:10px}.portal-section-head .section-title h2{font-size:16px}.portal-section-head .section-title p{font-size:8px}.rail-grid .portal-card{flex-basis:43%}.portal-card .game-title{font-size:10px}.portal-card .play-disc{display:none}.portal-card .favorite-float{opacity:1;width:27px;height:27px}
  .portal-bottom-cta{align-items:flex-start;display:grid;padding:18px}.portal-bottom-cta>div:last-child{display:grid;grid-template-columns:1fr 1fr}.portal-bottom-cta .solid-btn,.portal-bottom-cta .ghost-btn{justify-content:center}
  .portal-footer-grid{grid-template-columns:1fr 1fr;gap:22px}.portal-footer-grid .footer-brand{grid-column:1/-1}.portal-footer-grid .footer-col:last-child{grid-column:auto}.portal-footer .footer-bottom{display:flex;flex-direction:column;gap:5px}
}
@media(pointer:coarse){.portal-card:hover .cover-shade{opacity:0}.portal-card:hover .play-disc{opacity:0}}

/* Catalog + categories v2 */
.catalog-v2,.categories-v2{padding-top:28px}
.catalog-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 18px}
.catalog-title h1{margin:0;font-size:34px;letter-spacing:-.045em}
.catalog-title p{margin:7px 0 0;color:#777780;font-size:10px}
.catalog-quick{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.catalog-quick a{padding:8px 10px;border:1px solid #2b2b2f;border-radius:8px;color:#909098;background:#111113;font-size:9px;font-weight:750}
.catalog-quick a:hover,.catalog-quick a.active{color:#fff;border-color:#494950;background:#17171a}
.portal-filter{position:sticky;top:74px;z-index:25;margin-bottom:18px;background:rgba(9,9,10,.93);backdrop-filter:blur(14px);border:1px solid #222226;border-radius:11px;padding:8px}
.portal-filter input,.portal-filter select{border-radius:8px;background:#121214;border-color:#2c2c30;height:38px}
.portal-filter .filter-chip{border-radius:7px;background:#111113;border-color:#2b2b2f;color:#8f8f97;min-height:36px}
.portal-filter .filter-chip.active{background:#f0f0f1;color:#111;border-color:#f0f0f1}
.portal-catalog-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px 10px}
.category-directory{display:grid;gap:1px;border-top:1px solid #252529}
.category-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,.7fr) 28px;align-items:center;gap:22px;padding:18px 4px;border-bottom:1px solid #202023;color:#fff;transition:.15s}
.category-row:hover{background:#0e0e10;padding-left:10px;padding-right:10px}
.category-row-copy{display:flex;align-items:center;gap:16px}
.category-row-copy>span{display:grid;place-items:center;width:38px;height:32px;border:1px solid #2b2b2f;border-radius:8px;color:#74747b;font-size:9px;font-weight:800}
.category-row h2{margin:0;font-size:18px;letter-spacing:-.025em}
.category-row p{margin:4px 0 0;color:#74747c;font-size:9px}
.category-row-thumbs{display:flex;justify-content:flex-end}
.category-row-thumbs img{width:86px;aspect-ratio:16/10;object-fit:cover;border-radius:8px;border:2px solid #09090a;margin-left:-11px;box-shadow:0 4px 16px rgba(0,0,0,.24)}
.category-row>b{color:#66666d;font-size:18px}
@media(max-width:1200px){.portal-catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.portal-filter{top:64px;overflow:auto;flex-wrap:nowrap}.portal-filter input{min-width:190px}.portal-filter select,.portal-filter .filter-chip{flex:0 0 auto}.portal-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-row{grid-template-columns:1fr auto}.category-row-thumbs{display:none}}
@media(max-width:720px){.catalog-v2,.categories-v2{padding-top:18px}.catalog-title{align-items:flex-start}.catalog-title h1{font-size:28px}.catalog-quick{display:none}.portal-filter{top:58px;margin-left:-12px;margin-right:-12px;border-left:0;border-right:0;border-radius:0;padding-left:12px;padding-right:12px}.portal-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 9px}.category-row{grid-template-columns:1fr 20px;padding:16px 2px}.category-row-copy>span{width:32px}.category-row h2{font-size:16px}}

/* Player v2 — game first */
.player-v2{padding-top:20px}
.player-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}
.player-titlebar>a,.player-titlebar>div>a{color:#7f7f87;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.player-titlebar h1{margin:5px 0 0;font-size:28px;letter-spacing:-.04em}
.player-title-actions{display:flex;gap:6px}
.player-title-actions .tool-btn{height:36px;border-radius:8px;background:#121214;border-color:#2b2b2f;font-size:9px;padding:0 11px;min-width:auto}
.player-title-actions .tool-btn:first-child{width:36px;padding:0}
.portal-game-shell{border-radius:12px;border:1px solid #27272a;background:#0d0d0f;overflow:hidden;box-shadow:none}
.portal-game-shell .game-stage{height:min(72vh,760px);min-height:540px;background:#0b0b0c}
.portal-game-shell iframe{width:100%;height:100%;border:0;background:#09090a}
.player-controlbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0 12px;border-bottom:1px solid #202023}
.player-controlbar>div:first-child{display:flex;gap:6px;flex-wrap:wrap}
.control-btn{height:34px;padding:0 11px;border:1px solid #2b2b2f;border-radius:8px;background:#121214;color:#b8b8be;font-size:9px;font-weight:800}
.control-btn:hover{color:#fff;border-color:#48484f}
.player-status-clean{display:flex;align-items:center;gap:7px;color:#7e7e86;font-size:8px}
.player-status-clean .live-dot{width:7px;height:7px;border-radius:50%;background:#28c982;box-shadow:none}
.player-status-clean b{color:#b8b8bd}.player-status-clean small{padding-left:8px;border-left:1px solid #2a2a2d}
.player-switcher{margin:12px 0 0;border-radius:10px;border-color:#252529;background:#0f0f11}
.player-switcher button{background:transparent}
.player-info-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.55fr);gap:24px;padding:26px 0 4px}
.player-info-grid article h2{margin:0 0 9px;font-size:20px;letter-spacing:-.03em}
.player-info-grid article p{max-width:760px;margin:0;color:#8d8d95;font-size:11px;line-height:1.7}
.clean-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.clean-tags span{padding:6px 8px;border:1px solid #2b2b2f;border-radius:7px;color:#8b8b93;font-size:8px}
.player-info-grid aside{border-left:1px solid #242427;padding-left:20px}
.player-info-grid dl{margin:0;display:grid;gap:11px}.player-info-grid dl>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.player-info-grid dt{color:#686870;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.player-info-grid dd{margin:0;color:#bbbcc1;font-size:9px;font-weight:700;text-align:right}
.game-unavailable{height:100%;display:grid;grid-template-columns:minmax(260px,.8fr) 1fr;align-items:center;gap:30px;padding:38px;background:#0e0e10}
.game-unavailable img{width:100%;max-height:440px;object-fit:cover;border-radius:10px;border:1px solid #2b2b2f}
.game-unavailable h2{font-size:28px;margin:0 0 8px}.game-unavailable p{color:#85858d;font-size:11px;margin:0 0 18px}.game-unavailable .solid-btn{display:inline-flex;text-decoration:none;border-radius:8px}
@media(max-width:900px){.portal-game-shell .game-stage{height:62vh;min-height:480px}.player-info-grid{grid-template-columns:1fr}.player-info-grid aside{border-left:0;border-top:1px solid #242427;padding:18px 0 0}.game-unavailable{grid-template-columns:1fr}.game-unavailable img{max-height:280px}}
@media(max-width:720px){.player-v2{padding-top:12px}.player-titlebar{align-items:flex-start}.player-titlebar h1{font-size:23px}.player-title-actions{gap:4px}.player-title-actions .tool-btn{height:32px;padding:0 8px;font-size:8px}.portal-game-shell .game-stage{height:58dvh;min-height:380px}.player-controlbar{align-items:flex-start}.player-status-clean{padding-top:7px}.player-switcher{grid-template-columns:1fr 1fr}.player-switcher .player-back{grid-column:1/-1}.player-info-grid{padding-top:20px}.game-unavailable{padding:18px}.game-unavailable h2{font-size:22px}}
