/* Fabraka approved homepage — desktop = left reference, mobile = right reference.
   Final cascade layer; modern mode only. */
:root[data-ui-mode="modern"] body.platform-home.home-v2{
  --home-bg:#071020;--home-deep:#060b18;--home-panel:#091529;--home-panel-2:#0c1c35;
  --home-text:#fffaf0;--home-muted:#b9c3d5;--home-line:rgba(146,180,255,.22);
  --home-gold:#ffbd32;--home-gold-2:#ffd66d;--home-purple:#7133eb;--home-red:#d92739;--home-green:#05966f;--home-blue:#087ce8;
  margin:0;min-height:100vh;color:var(--home-text);font-family:"Alexandria","Tahoma",system-ui,sans-serif;
  background:#061023;overflow-x:hidden;padding:0;
}
:root[data-ui-mode="modern"] body.platform-home.home-v2 *,
:root[data-ui-mode="modern"] body.platform-home.home-v2 *::before,
:root[data-ui-mode="modern"] body.platform-home.home-v2 *::after{box-sizing:border-box}
:root[data-ui-mode="modern"] body.platform-home.home-v2 a{color:inherit}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hidden{display:none!important}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .sr-only,
:root[data-ui-mode="modern"] body.platform-home.home-v2 .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Night lounge atmosphere from the approved concept. */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-ambient{position:fixed;inset:0;z-index:-2;pointer-events:none;background:
  linear-gradient(180deg,rgba(4,10,26,.20),rgba(4,9,22,.54) 58%,#050b18 100%),
  radial-gradient(ellipse at 11% 36%,rgba(101,48,178,.34) 0 8%,transparent 24%),
  radial-gradient(ellipse at 89% 34%,rgba(80,55,183,.30) 0 8%,transparent 25%),
  radial-gradient(circle at 22% 31%,rgba(255,178,72,.26) 0 2%,transparent 13%),
  radial-gradient(circle at 76% 29%,rgba(255,170,62,.24) 0 2%,transparent 14%),
  linear-gradient(90deg,#081229 0%,#0a1732 18%,#071127 42%,#091632 72%,#070f23 100%)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-ambient::before{content:"";position:absolute;left:0;right:0;bottom:0;height:45%;background:
  radial-gradient(ellipse at 14% 74%,rgba(68,34,124,.55) 0 16%,transparent 17%),
  radial-gradient(ellipse at 86% 74%,rgba(62,32,112,.50) 0 16%,transparent 17%),
  linear-gradient(180deg,transparent,rgba(3,8,19,.40));filter:blur(7px)}

/* Desktop header */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-topbar{width:min(1360px,calc(100% - 48px));height:78px;margin:18px auto 0;padding:0 20px;display:grid;grid-template-columns:230px 1fr 230px;align-items:center;gap:20px;position:relative;z-index:40;border:1px solid rgba(120,163,239,.24);border-radius:20px;background:linear-gradient(180deg,rgba(5,16,38,.92),rgba(5,13,31,.88));box-shadow:0 18px 55px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.04);backdrop-filter:blur(18px)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .brand{grid-column:3;display:flex;align-items:center;justify-content:flex-start;gap:9px;text-decoration:none;min-width:0}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .brand-mark{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 6px 15px rgba(255,185,51,.15))}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .brand-word{display:flex;flex-direction:column;font-size:30px;line-height:1;font-weight:900;letter-spacing:-1.4px;color:#fff;white-space:nowrap}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .brand-word small{font-size:8px;line-height:1.2;margin-top:6px;color:#aeb7c8;font-weight:600;letter-spacing:0;text-align:right}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:12px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav .nav-link{min-height:42px;padding:0 17px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#d3d9e5;font-size:13px;font-weight:700;border:1px solid transparent;background:transparent;transition:.18s ease}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav .nav-link:hover{color:#fff;background:rgba(255,255,255,.05)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav .nav-link.active{color:#fff;background:linear-gradient(180deg,rgba(7,74,153,.66),rgba(6,38,91,.54));border-color:rgba(51,141,255,.58);box-shadow:0 8px 22px rgba(3,76,163,.20)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .fbrkh-tools-button-inline{width:42px!important;height:42px!important;min-width:42px!important;border:0!important;background:transparent!important;color:#e4d6ff!important;box-shadow:none!important;font-size:19px!important}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .desktop-account{grid-column:1;grid-row:1;justify-self:start;min-height:44px;max-width:210px;padding:0 14px;border:1px solid rgba(121,157,221,.28);border-radius:18px;background:rgba(7,18,40,.72);color:#e8edf6;font:inherit;font-size:12px;font-weight:700;display:flex;align-items:center;gap:9px;cursor:pointer}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .platform-account-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-nav-btn{display:none}

/* Desktop hero — no phone mockup. */
:root[data-ui-mode="modern"] body.platform-home.home-v2 main{display:block}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero{width:min(1280px,calc(100% - 64px));min-height:390px;margin:0 auto;padding:42px 215px 24px;display:block;position:relative;text-align:center;direction:rtl}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-copy{max-width:760px;margin:0 auto;position:relative;z-index:3;text-align:center;direction:rtl}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero h1{margin:0;font-size:clamp(48px,5.1vw,78px);line-height:1.08;letter-spacing:-4px;font-weight:900;color:#fff;text-shadow:0 14px 45px rgba(0,0,0,.34);text-wrap:balance}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero h1 .hero-gold{color:var(--home-gold);text-shadow:0 4px 25px rgba(255,184,38,.18)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-lead{max-width:700px;margin:15px auto 0;color:#e2e5ed;font-size:15px;line-height:1.9;font-weight:500;text-shadow:0 3px 15px rgba(0,0,0,.45)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-actions{margin-top:20px;display:flex;justify-content:center;align-items:center;gap:14px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .btn,
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-secondary{height:49px;min-height:49px;border-radius:24px;padding:0 30px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font:inherit;font-size:14px;font-weight:900;cursor:pointer;transition:.18s ease}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .btn.primary,
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-primary{border:1px solid #ffe09a;background:linear-gradient(180deg,#ffd76a,#ffb82d);color:#1b170c;box-shadow:0 9px 28px rgba(255,184,45,.28),inset 0 1px rgba(255,255,255,.72)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-primary:hover{transform:translateY(-2px);box-shadow:0 12px 34px rgba(255,184,45,.38)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-secondary{min-width:190px;border:1px solid rgba(202,216,255,.55);background:rgba(7,20,45,.62);color:#f4f6fb;box-shadow:inset 0 1px rgba(255,255,255,.04)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-secondary:hover{background:rgba(12,31,65,.78)}

/* Join box */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-join{width:min(560px,100%);margin:16px auto 0;padding:0;background:transparent;border:0;box-shadow:none}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-panel{display:block;padding:0;background:transparent;border:0;box-shadow:none}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-copy{display:none}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-form{display:block;margin:0}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-input-row{direction:rtl;height:60px;display:grid;grid-template-columns:42px minmax(0,1fr) 112px;align-items:center;gap:7px;padding:7px;border:1px solid rgba(49,128,235,.60);border-radius:15px;background:rgba(7,24,55,.88);box-shadow:0 11px 32px rgba(0,0,0,.23),inset 0 0 0 1px rgba(255,255,255,.025)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-people{font-size:18px;color:#ba8aff;letter-spacing:-7px;text-align:center;padding-left:8px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-input-row input{width:100%;height:44px;border:0;outline:0;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:800;text-align:center;letter-spacing:2px;padding:0 10px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-input-row input::placeholder{color:#9faaca;letter-spacing:0;font-weight:600}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-input-row .btn{height:46px;min-height:46px;border-radius:12px;padding:0 20px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 #joinGameHelp{display:none}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .join-status{min-height:16px;margin:4px 0 0;font-size:10px;color:#d7dce7}

/* Decorative content shown in desktop reference, not a mobile mockup. */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-note{position:absolute;left:-6px;top:88px;color:#c699ff;font-size:19px;line-height:1.6;font-weight:700;transform:rotate(-7deg);text-align:center;text-shadow:0 0 22px rgba(165,103,255,.34);opacity:.92;z-index:2}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-note span{font-size:32px;display:block;line-height:.6}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-card-stack{position:absolute;right:4px;top:72px;width:205px;height:235px;z-index:2;transform:rotate(-5deg)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card{position:absolute;width:148px;height:194px;border-radius:12px;border:1px solid rgba(151,100,255,.42);background:linear-gradient(145deg,#221b44,#151530);box-shadow:0 18px 38px rgba(0,0,0,.34)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card.back{right:33px;top:0;transform:rotate(-6deg);opacity:.66}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card.mid{right:14px;top:10px;transform:rotate(-1deg);opacity:.83}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card.front{right:0;top:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(145deg,#251c46,#14172f)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card.front img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.3))}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .stack-card.front small{color:#d2adff;font-size:16px;line-height:1.45;font-weight:700;text-align:center}

/* Main game cards: four across exactly as desktop reference. */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .games-section{width:min(1300px,calc(100% - 64px));margin:0 auto;padding:0 0 16px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;direction:rtl}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card{position:relative;min-height:225px;border-radius:15px;overflow:hidden;cursor:pointer;isolation:isolate;border:1px solid rgba(255,255,255,.18);box-shadow:0 16px 34px rgba(0,0,0,.25);background:#0b1730;transition:transform .18s ease,box-shadow .18s ease}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card:hover{transform:translateY(-4px);box-shadow:0 22px 45px rgba(0,0,0,.34)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card.fib{border-color:#9d3cff;background:#351061}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card.qadha{border-color:#ff4050;background:#58111c}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card.khaltaha{border-color:#10c995;background:#073f36}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card.top10{border-color:#238cff;background:#073b78}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-3;opacity:.82}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(8,8,20,.03),rgba(5,8,18,.22) 50%,rgba(5,8,18,.77) 100%)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card-inner{height:100%;min-height:225px;padding:18px 18px 16px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;text-align:center}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-mark-image{position:absolute;top:21px;left:50%;transform:translateX(-50%);width:104px;height:104px;max-width:calc(100% - 42px);object-fit:contain!important;filter:drop-shadow(0 10px 14px rgba(0,0,0,.28))}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-title-lockup{display:block;text-align:center;margin-top:105px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-title-lockup h3{margin:0;font-size:28px;line-height:1.1;font-weight:900;color:#fff;letter-spacing:-1px;text-shadow:0 4px 16px rgba(0,0,0,.45)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-title-lockup small{display:block;margin-top:7px;color:rgba(255,255,255,.90);font-size:11px;line-height:1.45;font-weight:600}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-go{position:absolute;bottom:13px;left:13px;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;text-decoration:none;color:#fff;font-size:27px;font-family:Arial,sans-serif;font-style:normal;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13);box-shadow:0 6px 18px rgba(0,0,0,.20)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card.fib .game-go{background:#7333ef}.game-card.qadha .game-go{background:#d62d3e}.game-card.khaltaha .game-go{background:#079b72}.game-card.top10 .game-go{background:#087ce8}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card .meta,
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-balance,
:root[data-ui-mode="modern"] body.platform-home.home-v2 .game-access-note{display:none!important}

/* Feature strip and quick row */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .feature-strip{width:min(1300px,calc(100% - 64px));margin:0 auto 14px;min-height:76px;border:1px solid rgba(115,151,215,.26);border-radius:13px;background:rgba(5,20,44,.75);display:grid;grid-template-columns:repeat(3,1fr);align-items:center;box-shadow:0 12px 30px rgba(0,0,0,.18);overflow:hidden}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .feature{min-height:54px;padding:8px 28px;display:flex;align-items:center;justify-content:center;gap:15px;text-align:right;border-left:1px solid rgba(122,153,211,.24)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .feature:first-child{border-left:0}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .feature-icon{font-size:28px;color:#ae7cff;line-height:1}.feature-icon.bolt{color:#ffd149}.feature-icon.screens{letter-spacing:-10px;padding-left:10px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .feature b{display:block;font-size:13px;color:#fff}.feature small{display:block;margin-top:4px;font-size:9px;color:#9da9bf;line-height:1.45}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-section{width:min(1300px,calc(100% - 64px));margin:0 auto;padding:0 0 30px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-head{display:flex;align-items:center;justify-content:space-between;margin:5px 4px 10px}.quick-head h2{margin:0;font-size:18px}.quick-head a{color:#b889ff;text-decoration:none;font-size:11px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-card{min-height:86px;padding:10px 12px;border-radius:13px;text-decoration:none;display:grid;grid-template-columns:58px 1fr 30px;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 22px rgba(0,0,0,.18);overflow:hidden}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-card.fib{background:linear-gradient(135deg,#5720a4,#371174)}.quick-card.qadha{background:linear-gradient(135deg,#9e1827,#661019)}.quick-card.khaltaha{background:linear-gradient(135deg,#087455,#064a3d)}.quick-card.top10{background:linear-gradient(135deg,#095fb5,#073d82)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-card img{width:54px;height:54px;object-fit:contain}.quick-card b{font-size:16px}.quick-card small{display:block;margin-top:4px;color:rgba(255,255,255,.78);font-size:9px}.quick-card i{font-style:normal;font-size:27px;color:#fff;text-align:center}

:root[data-ui-mode="modern"] body.platform-home.home-v2 .resume-section{width:min(1200px,calc(100% - 64px));margin:0 auto 14px}.resume-card{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid rgba(255,190,59,.28);border-radius:14px;background:rgba(13,25,48,.92)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .approved-footer{width:min(1300px,calc(100% - 64px));margin:0 auto;padding:20px 0 30px;border-top:1px solid rgba(255,255,255,.09);display:flex;justify-content:space-between;gap:16px;color:#7e8aa0;font-size:10px}.approved-footer nav{display:flex;gap:14px}.approved-footer a{text-decoration:none;color:#98a4b9}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-bottom-nav{display:none}

/* Modals */
:root[data-ui-mode="modern"] body.platform-home.home-v2 .modal{position:fixed;inset:0;z-index:1000;background:rgba(2,5,13,.76);backdrop-filter:blur(12px);display:grid;place-items:center;padding:20px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .modal-card{width:min(520px,100%);max-height:min(720px,90vh);overflow:auto;border-radius:20px;padding:27px;border:1px solid rgba(255,255,255,.10);background:#0b1730;color:#fff;box-shadow:0 35px 100px rgba(0,0,0,.55);position:relative}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .modal-x{position:absolute;left:15px;top:14px;width:36px;height:36px;border-radius:10px;border:1px solid var(--home-line);background:#101d35;color:#fff;font-size:22px;cursor:pointer}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .modal-card input{width:100%;min-height:46px;border-radius:11px;border:1px solid var(--home-line);background:#061020;color:#fff;padding:0 13px;font:inherit;margin:6px 0}.modal-card form{display:grid;gap:8px}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.auth-tabs button{min-height:42px;border-radius:10px;border:1px solid var(--home-line);background:#08142a;color:#aaa;cursor:pointer}.auth-tabs button.active{background:rgba(255,189,50,.13);color:#ffd985;border-color:rgba(255,189,50,.34)}
:root[data-ui-mode="modern"] body.platform-home.home-v2 .platform-profile-hero{display:flex;align-items:center;gap:14px}.platform-profile-avatar{width:62px;height:62px;border-radius:50%;object-fit:cover}

/* Tablet */
@media (max-width:1050px) and (min-width:701px){
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-topbar{grid-template-columns:170px 1fr 190px;width:calc(100% - 28px)}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav{gap:3px}.primary-nav .nav-link{padding:0 9px!important;font-size:11px!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero{padding-inline:150px}.hero-card-stack{right:-8px!important;transform:scale(.84) rotate(-5deg)!important}.hero-note{left:-10px!important;transform:scale(.84) rotate(-7deg)!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card{min-height:205px}.game-card-inner{min-height:205px!important}.game-mark-image{width:88px!important;height:88px!important}.game-title-lockup{margin-top:88px!important}.game-title-lockup h3{font-size:23px!important}
}

/* MOBILE = actual right-hand reference, not a phone shown inside desktop. */
@media (max-width:700px){
  :root[data-ui-mode="modern"] body.platform-home.home-v2{padding-bottom:76px;background:#061022}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-ambient{background:linear-gradient(180deg,rgba(4,12,29,.12),rgba(4,10,24,.68) 42%,#061022 100%),radial-gradient(circle at 50% 23%,rgba(68,60,156,.27),transparent 36%),linear-gradient(180deg,#07152d,#071024)}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-topbar{width:100%;height:66px;min-height:66px;margin:0;padding:8px 14px;display:grid;grid-template-columns:44px 1fr 44px;border:0;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0;background:rgba(4,13,31,.89);backdrop-filter:blur(15px);box-shadow:none}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .brand{grid-column:2;grid-row:1;justify-self:center;gap:6px}.brand-mark{width:34px!important;height:34px!important}.brand-word{font-size:24px!important}.brand-word small{display:none}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .desktop-account{display:none!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-nav-btn{grid-column:1;grid-row:1;display:block;width:40px;height:40px;padding:9px;border:0;background:transparent;justify-self:start}.mobile-nav-btn span{display:block!important;height:2px;background:#fff;border-radius:2px;margin:5px 0}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-topbar::after{content:"♧";grid-column:3;grid-row:1;justify-self:end;align-self:center;color:#fff;font-size:24px}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .primary-nav{display:none!important}

  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero{width:100%;min-height:0;margin:0;padding:24px 18px 12px;display:block;text-align:center}.hero-note,.hero-card-stack{display:none!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-copy{max-width:100%;margin:0}.home-hero h1{font-size:clamp(35px,10.2vw,47px)!important;line-height:1.14!important;letter-spacing:-2px!important;max-width:360px;margin:0 auto!important}.hero-lead{max-width:360px!important;margin-top:10px!important;font-size:12px!important;line-height:1.75!important;color:#e1e5ee!important}.hero-lead br{display:none}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-actions{display:block;margin-top:14px}.hero-primary{width:100%;max-width:390px;height:50px!important;border-radius:25px!important;font-size:14px!important}.hero-secondary{display:none!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .hero-join{width:100%;max-width:390px;margin:10px auto 0}.join-input-row{height:52px!important;grid-template-columns:34px minmax(0,1fr) 72px!important;gap:4px!important;padding:5px!important;border-radius:13px!important}.join-people{font-size:14px!important;padding-left:4px!important}.join-input-row input{height:40px!important;font-size:13px!important;padding-inline:4px!important}.join-input-row .btn{height:40px!important;min-height:40px!important;border-radius:10px!important;padding:0 11px!important;font-size:12px!important}.join-status{margin:1px 0 0!important;min-height:10px!important}

  :root[data-ui-mode="modern"] body.platform-home.home-v2 .games-section{width:100%;margin:0;padding:0 14px 12px}.games-grid{grid-template-columns:1fr!important;gap:9px!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .game-card{min-height:86px;height:86px;border-radius:13px!important;display:block!important}.game-art{opacity:.72!important}.game-shade{background:linear-gradient(90deg,rgba(5,10,23,.08),rgba(5,10,23,.26) 46%,rgba(5,10,23,.55))!important}.game-card-inner{height:86px!important;min-height:86px!important;padding:8px 48px 8px 92px!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;text-align:right!important}.game-mark-image{position:absolute!important;right:12px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;width:66px!important;height:66px!important;max-width:72px!important}.game-title-lockup{margin:0!important;text-align:right!important;display:block!important}.game-title-lockup h3{font-size:20px!important;letter-spacing:-.4px!important}.game-title-lockup small{font-size:9px!important;margin-top:4px!important;white-space:normal}.game-go{left:10px!important;bottom:50%!important;transform:translateY(50%)!important;width:32px!important;height:32px!important;font-size:22px!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .feature-strip,
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .quick-section,
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .approved-footer{display:none!important}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .resume-section{width:calc(100% - 28px);margin:0 auto 10px}.resume-card{padding:10px 12px!important;font-size:11px}

  :root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:90;height:68px;padding:5px 9px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);align-items:center;border-top:1px solid rgba(255,255,255,.10);background:rgba(4,13,31,.97);backdrop-filter:blur(18px);box-shadow:0 -10px 30px rgba(0,0,0,.28)}
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-bottom-nav a,
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .mobile-bottom-nav button{border:0;background:transparent;color:#a9b4c8;text-decoration:none;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;cursor:pointer}.mobile-bottom-nav span{font-size:19px;line-height:1}.mobile-bottom-nav b{font-size:9px}.mobile-bottom-nav .active{color:#ffd24c!important}
}

@media (max-width:360px){
  :root[data-ui-mode="modern"] body.platform-home.home-v2 .home-hero{padding-inline:12px}.games-section{padding-inline:10px!important}.game-card-inner{padding-right:82px!important}.game-mark-image{width:58px!important;height:58px!important}.game-title-lockup h3{font-size:18px!important}
}
@media (prefers-reduced-motion:reduce){:root[data-ui-mode="modern"] body.platform-home.home-v2 *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
