/* Mode 2 shared geometry. The dark palette stays explicitly dark-scoped so a
   preloaded dark entry cannot repaint a still-active light theme. */
html:is([data-user-theme="dark-2"],[data-user-theme="dark-3"]){
  color-scheme:dark;
  --replica-bg:#080a0c;
  --replica-surface:#121518;
  --replica-surface-raised:#181b1f;
  --replica-line:rgb(255 255 255 / 8%);
  --replica-line-strong:rgb(255 104 30 / 30%);
  --replica-text:#f4f4f2;
  --replica-muted:#a5a9af;
  --replica-gold:#ff681e;
  --replica-gold-strong:#ff8b3d;
  --replica-success:#3fd39a;
  --bg:#080a0c;
  --surface:#121518;
  --surface-2:#181b1f;
  --text:#f4f4f2;
  --muted:#a5a9af;
  --line:rgb(255 255 255 / 8%);
  --brand:#ff681e;
  --accent:#ff681e;
  --theme-canvas:#080a0c;
  --theme-surface-1:#121518;
  --theme-surface-2:#181b1f;
  --theme-overlay:rgb(15 18 21 / 98%);
  --theme-text-1:#f4f4f2;
  --theme-text-2:#a5a9af;
  --theme-heading:#fffaf4;
  --theme-primary:#ff681e;
  --theme-primary-strong:#ff8b3d;
  --theme-success:#3fd39a;
  --theme-danger:#f12b32;
  --theme-border-soft:rgb(255 255 255 / 8%);
  --theme-border-strong:rgb(255 104 30 / 38%);
  --theme-control-border:#707780;
  --theme-focus:#ff8b3d;
  --theme-focus-shadow:0 0 0 3px rgb(255 104 30 / 18%);
  --theme-button-primary:#b94310;
  --theme-button-secondary:#1a1d21;
  --theme-button-text:#fff;
  --theme-button-shadow:none;
  --theme-card:#121518;
  --theme-card-radius:8px;
  --theme-control-radius:8px;
  --theme-frame-radius:8px;
  --theme-shadow-overlay:0 24px 72px rgb(0 0 0 / 58%);
  --theme-backdrop:rgb(1 2 3 / 82%);
  --theme-control:#1a1e22;
  --theme-tab-active:rgb(255 104 30 / 12%);
  --theme-tab-active-text:#ff8b3d;
  --dark2-section-gap:24px;
  --dark2-panel-padding:20px;
  --dark2-item-gap:12px;
}

html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]){
  --theme-button-shadow:none;--theme-card-radius:8px;--theme-control-radius:8px;--theme-frame-radius:8px;
  --dark2-section-gap:24px;--dark2-panel-padding:20px;--dark2-item-gap:12px;
}

:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(body,#__nuxt,.replica-app-shell){background:var(--theme-canvas, #080a0c);color:var(--theme-text-1, #f4f4f2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body{accent-color:var(--theme-primary, #ff681e)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--mode2-accent-strong, #ff8b3d);outline-offset:2px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body button,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :where(input:not([type="checkbox"],[type="radio"],[type="hidden"]),select,textarea),
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :where(.primary,.ghost,.promotion-primary,.hero-cta,.text-button,.replica-side-link,.replica-top-nav a,.replica-search,.replica-wallet,.replica-login-button){min-height:44px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-search,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-locale{display:none}

/* Shared shell and routed surfaces. */
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-topbar{border:0;background:var(--mode2-topbar, rgb(9 11 13 / 97%));box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.replica-brand,.replica-brand-fallback,.replica-brand-text){color:var(--mode2-brand-accent, #ff8b33)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a{color:var(--mode2-nav-text, #c1c2c4)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a::after{height:2px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a:hover,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a.is-active{color:var(--mode2-brand-accent, #ff8b33);text-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a.is-active::after{background:var(--theme-primary, #ff681e);box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.replica-search,.replica-top-icon,.replica-login-ghost){border-color:transparent;background:transparent;color:var(--mode2-utility-text, #b9bbbf)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.replica-account,.replica-wallet){border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-1)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.replica-deposit,.replica-login-button:not(.replica-login-ghost)){border:0;border-radius:8px;background:var(--theme-button-primary);color:#fff;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-sidebar{border:0;border-radius:0;background:var(--theme-surface-1, #121518);box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-sidebar-brand-row{border:0;background:var(--theme-surface-1, #121518)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-sidebar-toggle{color:var(--mode2-toggle-text, #e5d2c5)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-nav{gap:5px;padding-inline:12px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-link{min-height:44px;padding-inline:12px;border-radius:8px;color:var(--theme-text-2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-link:hover{background:var(--theme-control);color:var(--mode2-hover-text,#fff);transform:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-link.is-active{background:var(--theme-tab-active);color:var(--mode2-accent-strong, #ff8b3d);box-shadow:inset 3px 0 var(--theme-primary, #ff681e)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-link .replica-icon:first-child{color:var(--mode2-icon-muted, #88817c)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.replica-side-link:hover,.replica-side-link.is-active) .replica-icon:first-child{color:var(--mode2-brand-accent, #ff8b33)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-submenu{border-left-color:rgb(255 104 30 / 22%)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-submenu a:hover,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-submenu a.is-active{color:var(--mode2-subnav-accent, #ff9b4a)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-side-bottom{border:0;background:var(--theme-surface-1, #121518)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-setting-row,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-setting-row .replica-icon{color:var(--theme-text-2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-footer{border:0;background:var(--theme-surface-1, #121518)}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-footer{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page{padding-bottom:calc(var(--replica-mobile-bottom-nav-height) + 16px)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page>.lobby-main{padding-bottom:24px}
}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-platform-trigger{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:10px;border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-1);font:inherit;text-align:start;cursor:pointer}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-platform-trigger span{flex:1}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-platform-trigger[aria-expanded="true"]>.replica-icon:last-child{transform:rotate(90deg)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-platform nav{margin-top:6px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-platform nav a{min-width:0;min-height:44px;padding:10px 12px 10px 39px;border:0;overflow-wrap:anywhere;font-size:13px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page :is(.catalog-page,.account-page,.auth-page,.page-shell,.site-shell){background:var(--theme-canvas, #080a0c);color:var(--theme-text-1, #f4f4f2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.account-section,.panel,.public-content-page section,.catalog-filter-panel,.catalog-route-header){border:0;border-radius:8px;background:var(--theme-surface-1, #121518);box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.primary,.promotion-primary,.catalog-apply-button,.catalog-load-more,.hero-cta){border:0;border-radius:8px;background:var(--theme-button-primary);color:#fff;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.ghost,.text-button,.catalog-back,.game-detail-back){border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-1);box-shadow:none}

/* Desktop reference geometry. */
@media(min-width:1200px){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]){--replica-sidebar-width:224px;--replica-chrome-height:64px;--replica-header-height:64px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-main-stage{display:contents}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-topbar{left:var(--replica-sidebar-width);padding:0 24px;gap:12px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-brand{display:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav{gap:0}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav a{padding-inline:12px;font-size:16px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-nav .replica-icon{display:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-sidebar{position:fixed;inset:0 auto 0 0;width:var(--replica-sidebar-width);height:auto;margin:0;overflow:hidden}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-sidebar-brand-row{display:grid}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page{width:auto;min-width:0;margin-left:var(--replica-sidebar-width);padding-right:24px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page>.lobby-main,
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page>.site-shell>main,
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page .catalog-main,
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page .inner-page{width:auto;margin-right:0;margin-left:24px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-page>.lobby-main{padding-top:11px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-footer{width:auto;margin-left:var(--replica-sidebar-width);padding-block:18px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-search{display:grid;width:min(190px,14vw);height:36px;min-height:36px;grid-template-columns:minmax(0,1fr) 38px;margin-left:auto;overflow:hidden;border:1px solid var(--mode2-field-line, #34383d);border-radius:18px;background:var(--mode2-menu-surface, #15181b)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-search input{width:100%;min-width:0;min-height:34px;padding:0 2px 0 13px;border:0;outline:0;background:transparent;color:var(--theme-text-1, #f4f4f2);font:inherit;font-size:11px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-search input::placeholder{color:var(--mode2-placeholder, #72767b)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .new-dark-header-search button{display:grid;min-height:34px;place-items:center;padding:0;border:0;background:transparent;color:var(--mode2-search-icon, #b8bbc0);cursor:pointer}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-actions{margin-left:0}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-actions>.replica-search{display:none}
}

:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-support-button{top:auto;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));border:0;border-radius:50%;background:var(--theme-button-primary);color:#fff;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-support-panel{top:auto;right:max(20px,env(safe-area-inset-right));bottom:max(76px,calc(env(safe-area-inset-bottom) + 76px));max-height:calc(100dvh - 96px);overflow-y:auto}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .app-state{border-radius:var(--theme-frame-radius)}

/* Home composition: hero + announcement on the left, three promotions spanning both rows on the right. */
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,316px);grid-template-rows:293px 38px auto auto;column-gap:12px;row-gap:9px;align-items:stretch}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main>*{grid-column:1/-1;min-width:0}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main>.home-hero-showcase{display:contents}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-showcase>.hero{grid-column:1;grid-row:1;min-height:0;margin:0;padding:36px 52px;overflow:hidden;border:0;border-radius:8px;background:#0e1012;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-showcase:not(:has(.home-hero-companions))>.hero{grid-column:1/-1}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companions{grid-column:2;grid-row:1/3;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .announcement-ticker{grid-column:1;grid-row:2;margin:0}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main:not(:has(.home-hero-companions)) .announcement-ticker{grid-column:1/-1}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .winning-strip{grid-column:1/-1;grid-row:3}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-quick-categories{grid-column:1/-1;grid-row:4}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero::after{background:linear-gradient(90deg,var(--theme-canvas, #080a0c) 0%,rgb(8 10 12 / 94%) 31%,rgb(8 10 12 / 30%) 56%,transparent 75%)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-copy{max-width:470px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero h1{max-width:450px;margin-bottom:10px;color:#fff7e9;font-size:clamp(34px,3vw,48px);font-weight:900;line-height:1.12;letter-spacing:.01em;text-shadow:0 3px 18px rgb(0 0 0 / 70%)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero p{max-width:430px;color:#d5d0c9;font-size:14px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-cta{min-width:190px;margin-top:18px;border-radius:8px;background:var(--theme-button-primary);color:#fff;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-fallback-hero{display:block;position:absolute;inset:0}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-fallback-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion{position:relative;min-height:0;overflow:hidden;border:0;border-radius:8px;background:var(--theme-surface-1, #121518);color:#fff}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion::after{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgb(16 18 21 / 94%),rgb(16 18 21 / 54%) 58%,rgb(16 18 21 / 8%));content:''}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion>span{position:relative;z-index:2;display:grid;max-width:66%;align-content:center;gap:3px;height:100%;padding:12px 14px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion b{overflow:hidden;color:#fff5e8;font-size:16px;text-overflow:ellipsis;white-space:nowrap}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion small{display:-webkit-box;overflow:hidden;color:#d4c4b7;font-size:10px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
/* Uploaded campaign banners already carry their copy. Do not print it twice. */
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion.is-banner-artwork::after{display:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-hero-companion.is-banner-artwork img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .ticker{grid-template-columns:auto 16px minmax(0,1fr);min-height:38px;padding:0 14px;border:0;border-radius:8px;background:var(--theme-surface-1, #121518)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .announcement-label{color:var(--mode2-label-accent, #ff7e2b)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .announcement-icon{filter:sepia(1) saturate(5) hue-rotate(338deg)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .announcement-action{color:var(--mode2-action-text, #d5d6d7)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .winning-strip{min-height:38px;margin:0;padding:0 14px;border:0;border-radius:8px;background:var(--theme-surface-1, #121518);color:var(--theme-text-2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .winning-strip b,
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .winning-game{color:var(--mode2-winning-accent, #ff8a31)}

/* Six category gateways, including the live all-games route. */
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) 76px;gap:12px;margin:5px 0 4px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories{container-type:inline-size}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories>.home-quick-category{width:100%}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category{position:relative;display:flex;min-width:0;height:auto;min-height:82px;aspect-ratio:2.8;align-items:center;overflow:hidden;border:0;border-radius:8px;background:radial-gradient(ellipse at 76% 75%,#633612 0,transparent 66%),linear-gradient(115deg,#25150b,#3c2112);color:#fff7ed;isolation:isolate;transition:filter .18s ease}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category[data-category="live"]{border-color:#55232f;background:radial-gradient(ellipse at 76% 70%,#692637,transparent 67%),linear-gradient(115deg,#2b101b,#38131e)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category[data-category="sports"]{border-color:#144458;background:radial-gradient(ellipse at 76% 70%,#12526b,transparent 67%),linear-gradient(115deg,#071a31,#0b2938)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category[data-category="card"]{background:radial-gradient(ellipse at 76% 70%,#6b3d12,transparent 67%),linear-gradient(115deg,#29170b,#402411)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category[data-category="fishing"]{border-color:#144458;background:radial-gradient(ellipse at 76% 70%,#076389,transparent 67%),linear-gradient(115deg,#071c31,#073448)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category img{position:absolute;z-index:0;inset:0 0 0 auto;width:58%;height:100%;object-fit:contain;object-position:right center;pointer-events:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category>span{position:relative;z-index:2;display:grid;width:55%;min-width:0;gap:6px;padding:0 0 0 16px;text-shadow:0 2px 5px rgb(0 0 0 / 55%)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category b{font-size:clamp(15px,1.32cqi,20px);font-weight:800;line-height:1.25;overflow-wrap:anywhere}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category small{color:#e0d6cc;font-size:clamp(10px,.8cqi,12px);line-height:1.4;overflow-wrap:anywhere}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category:hover{box-shadow:none;transform:none;filter:brightness(1.08)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games{display:grid;grid-template-rows:36px auto;aspect-ratio:auto;place-content:center;place-items:center;gap:6px;padding:8px 4px;border-color:var(--mode2-category-more-start, #24272c);background:linear-gradient(145deg,var(--mode2-category-more-end, #1b1e22),var(--theme-surface-1, #121518));text-align:center}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games::after{z-index:0;background:linear-gradient(145deg,var(--mode2-category-more-end, #1b1e22),var(--theme-surface-1, #121518))}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games>span{display:block;width:auto;padding:0}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games b{display:block;font-size:11px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games>.replica-icon{position:relative;z-index:2;display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--theme-button-primary);color:#fff;box-shadow:none}

/* Home rails reuse the catalog card itself; only rail width and spacing differ. */
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-section{min-width:0;margin:0;padding:7px 0 2px;border:0;background:transparent;box-shadow:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-section .section-heading{min-height:34px;margin-bottom:6px;border:0}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-section .section-heading h2{margin:0;color:var(--theme-text-1, #f4f4f2)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.lobby-main .home-game-rail-section,.game-detail-page .game-recommendations) .section-heading h2{font-size:18px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-actions button{display:none}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-actions .text-button{min-height:32px;padding-inline:7px;border:0;background:transparent;color:var(--mode2-winning-accent, #ff8a31);font-size:11px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail{grid-auto-columns:calc((100% - 50px)/6);gap:10px;padding:1px 1px 8px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail .catalog-card{width:100%}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .section-heading{border:0;margin-bottom:12px}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main :is(.panel,.sports-odds-card,.promotion-card,.vip-strip span){border:0;border-radius:8px;background:var(--theme-surface-1, #121518)}
:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .home-provider-tile{border:0;border-radius:8px;background:var(--theme-surface-1, #121518)}

@media(min-width:1600px){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail{grid-auto-columns:calc((100% - 70px)/8)}
}

/* Flat surfaces: explicit component families, never a global border reset.
   Keep field boundaries, data-row separators, status semantics and focus rings. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(
  .app-state,.catalog-taxonomy-card,.catalog-tag-directory a,.promotion-card,
  .promotion-detail,.promotion-detail section,.promotion-period div,.vip-card,.vip-progress-panel,.vip-meter-card,.vip-guest-callout,
  .affiliate-login-gate,.affiliate-link-card,.affiliate-summary article,.affiliate-steps article,
  .message-list,.message-detail,.message-login,.faq-list a,.faq-detail-page article,
  .faq-ticket-callout,.support-options a,.ticket-form,.ticket-detail-page article>header,
  .ticket-timeline li,.ticket-reply,.ticket-closed,.public-content-not-found,
  .account-local-nav,.account-section,.account-balance-primary,.account-balance-states>div,
  .payment-quote,.account-save-bar,.controlled-lot-list article,.experience-venue-list article,
  .controlled-release-quote,.balance-card,.transaction-row,.transaction-detail,.auth-card,
  .recovery-card,.recovery-shell,.game-detail-hero,.detail-main .detail-cover,.game-detail-facts,.game-capabilities>div,.ranking-profit-list li
){border:0;border-radius:var(--theme-frame-radius);background:var(--theme-surface-1);box-shadow:none}

html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(
  .catalog-route-header,.catalog-filter-panel,.section-heading,.account-profile-header,
  .account-section>header,.account-readonly-row,.account-edit-row,.account-list-filters,
  .account-pagination,.account-detail-amount,.account-detail-card dl>div,
  .message-detail header,.faq-detail-page p,.vip-card dl,.vip-status-content,
  .replica-footer-links>div,.affiliate-table-wrap,.ranking-page-tabs,.balance-lock-status
){border:0;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-route-header,.catalog-filter-panel){background:transparent;border-radius:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.panel,.account-section,.vip-progress-panel,.message-detail,.ticket-form,.ticket-reply,.faq-detail-page article){margin-bottom:var(--dark2-section-gap)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.panel,.vip-card,.affiliate-steps article,.message-detail,.ticket-form,.ticket-reply,.faq-detail-page article){padding:var(--dark2-panel-padding)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-subpage-stack,.account-subpage-form){gap:var(--dark2-section-gap)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-subpage-stack,.account-subpage-form)>.account-section{margin-bottom:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-taxonomy-grid,.catalog-tag-directory,.vip-grid,.promotion-grid,.affiliate-summary,.affiliate-steps,.faq-list,.support-options,.split-grid){gap:var(--dark2-item-gap)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.page-hero,.message-page-hero){margin-bottom:var(--dark2-section-gap);padding-block:16px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .page-hero h1{margin:8px 0 12px;font-size:clamp(28px,3vw,36px);line-height:1.2}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .page-hero p{font-size:15px;line-height:1.65}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main>:is(.content-section,.home-game-rail-section,.split-grid){margin:0;padding-top:15px;padding-bottom:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .panel{margin:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .section-heading{margin-bottom:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .section-heading h2{margin:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .home-game-rail-section .section-heading{min-height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .app-state{min-height:144px;padding:24px;color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.lobby-main,.account-section,.panel) .app-state{min-height:96px;padding:16px;background:transparent}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .app-state.compact{min-height:88px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .app-state>b{color:var(--theme-text-2)}

/* Complete game cards stay shared with catalog pages; no artwork or count changes. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card{
  --catalog-card-accent:var(--theme-primary);
  --catalog-card-accent-2:var(--theme-primary);
  --catalog-card-border:transparent;
  --catalog-card-shadow:none;
  --catalog-launch-border:0;
  --catalog-launch-bg:var(--theme-button-primary);
  --catalog-launch-icon:#fff;
  --catalog-launch-shadow:none;
  --catalog-launch-hover-shadow:none;
  --catalog-launch-focus:var(--theme-focus);
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card .catalog-art{border:0;background:var(--theme-surface-1);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card .catalog-art::before{background:linear-gradient(180deg,transparent 0%,rgb(8 10 12 / 20%) 35%,rgb(8 10 12 / 96%) 100%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-card-glow,.catalog-card-shine){display:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card:hover{transform:none;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card:hover .catalog-art{border:0;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card:hover .catalog-art img{transform:none;filter:brightness(1.04)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card.is-unavailable:hover .catalog-art img{filter:saturate(.72) brightness(.74)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-cover-placeholder{background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card-badge{border:0;border-radius:4px;background:#80400e;box-shadow:none;backdrop-filter:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card-badge.is-rank{background:var(--theme-button-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card-badge.is-new{background:#176744}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card-badge.is-hot{background:#b82b33}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-online-count{border:0;background:var(--mode2-count-surface, rgb(8 10 12 / 86%));color:var(--theme-text-1, #f4f4f2);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-online-pulse{box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-card-copy p{color:#d7dade}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .ranking-catalog-grid li>strong{background:var(--theme-button-primary);color:#fff}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-detail-page .game-detail-facts{gap:0;border-left:1px solid var(--replica-line);border-radius:0;background:transparent}
@container (max-width:900px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-detail-page .game-detail-facts{border-left:0;border-top:1px solid var(--replica-line)}
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-detail-tags a{border:0;background:var(--theme-control);color:var(--theme-text-1);border-radius:8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-detail-facts .replica-icon{border:0;background:transparent;color:var(--theme-primary-strong);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-recommendations{margin-top:var(--dark2-section-gap)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-terms{border:0;background:var(--theme-control);border-radius:8px}

/* Navigation, filters and links use one accent, not the legacy gold palette. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.ranking-page-tabs button,.account-asset-tabs button,.message-filter-tabs button,.faq-categories button,.catalog-search-history button,.history button,.tag-cloud a,.search-recommendations a){border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-2);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.ranking-page-tabs button.active,.account-asset-tabs button.active,.message-filter-tabs button.active,.faq-categories button.active,.account-local-nav a.active){border:0;background:var(--theme-tab-active);color:var(--theme-tab-active-text);box-shadow:none}
/* Category navigation is text, not a second row of action buttons. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-line>span{display:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-line{grid-template-columns:minmax(0,1fr);min-width:0;gap:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips{flex-wrap:nowrap;gap:24px;overflow-x:auto;padding:2px 0;overscroll-behavior-inline:contain;scrollbar-width:thin}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips button{position:relative;flex:0 0 auto;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--theme-text-2);font-size:14px;font-weight:500;white-space:nowrap;text-align:left;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips button:hover{background:transparent;color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips button.active{background:transparent;color:var(--theme-primary-strong);font-weight:600}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips button.active::after{position:absolute;bottom:0;left:0;width:24px;height:2px;border-radius:1px;background:var(--theme-primary);content:''}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-filter-chips button:focus-visible{outline-offset:-2px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .catalog-empty-with-action{width:100%;margin:24px auto 0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .catalog-empty-with-action .app-state.is-empty{min-height:240px;border:0;background:transparent;box-shadow:none}
@media(min-width:768px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .catalog-filter-panel{gap:16px}
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.lobby-main .ranking-tabs button.active,.account-local-nav a.active .replica-icon,.catalog-type-summary strong,.catalog-tag-directory a>span,.catalog-taxonomy-card small,.catalog-inline-error button,.search-clear-all,.account-back-link,.account-detail-card dd a,.payment-result a){color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .ranking-tabs button.active::after{background:var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .ranking-tabs button{color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .ranking-tabs button.active{color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main .text-button{min-height:44px;background:transparent;color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.provider-logo,.home-provider-tile:hover .provider-logo){border:0;background:transparent;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.promotion-card:hover,.transaction-row:hover){transform:none;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-taxonomy-card:hover,.catalog-tag-directory a:hover,.faq-list a:hover,.support-options a:hover,.message-row:hover){background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-route-heading h1,.catalog-taxonomy-card h2,.catalog-tag-directory h2,.account-section>header h2,.account-readonly-row strong,.account-session-list strong,.account-balance-primary>strong,.account-balance-states dd,.account-order-list strong,.account-order-amount b,.account-record-list strong,.payment-channel-option strong,.account-detail-card dd){color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.catalog-route-heading small,.catalog-taxonomy-card p,.catalog-tag-directory p,.catalog-filter-line>span,.catalog-type-summary,.account-local-nav a,.account-section>header p,.account-readonly-row>span,.account-edit-row>span,.account-readonly-row small,.account-edit-row small,.account-preference-item,.account-preference-grid label,.account-preference-detailed small,.account-save-bar span,.account-session-list span,.account-balance-label,.account-balance-primary>small,.account-balance-primary>p,.account-balance-states dt,.account-list-filters label,.account-payment-form>label,.account-payment-form legend,.payment-channel-option small,.payment-quote,.account-order-list small,.account-record-primary small,.account-detail-card dt,.account-pagination){color:var(--theme-text-2)}

/* Nested information uses whitespace. Rows of financial data keep weak separators. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.vip-meter-card,.vip-strip span,.account-balance-states>div,.payment-quote){background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-card.is-current{background:var(--theme-tab-active);box-shadow:inset 3px 0 var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-progress-panel.is-modern{display:block;padding:24px;min-height:0}
@media(max-width:767px){html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-progress-panel.is-modern{padding:20px 16px}}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-page .vip-level-name,
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-copy .vip-level-name{color:var(--vip-name-color,var(--theme-text-1))}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-retention-card progress::-webkit-progress-value{background:var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-retention-card progress::-moz-progress-bar{background:var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .vip-meter-heading .vip-status-badge:not(.is-complete){background:var(--theme-control);color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.support-demo-note,.public-content-fallback,.ticket-timeline li.is-player){border:0;background:var(--theme-tab-active);color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .message-dot{box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .message-filter-tabs{border:0;border-radius:8px;background:var(--theme-surface-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .affiliate-table-wrap{overflow-x:auto}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-save-bar{background:var(--theme-surface-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-detail-card dl>div,.account-readonly-row,.account-edit-row){padding-block:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .payment-channel-option{border:1px solid var(--theme-control-border);border-radius:8px;background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .payment-channel-option:has(input:checked){border-color:var(--theme-primary);background:var(--theme-tab-active)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-avatar-picker,.account-vip-card){border:0;border-radius:8px;background:var(--theme-control);box-shadow:none}

/* Currency follows the language: an informational output, never a disabled selector. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-currency-preview{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:8px 12px;box-sizing:border-box;border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-currency-value{display:flex;flex:1;min-width:0;align-items:baseline;flex-wrap:wrap;gap:2px 8px;line-height:1.5;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-currency-value strong{color:var(--theme-text-1);font-size:14px;letter-spacing:.03em}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-currency-value>span{font-size:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-currency-auto{flex:none;max-width:40%;padding:3px 6px;border-radius:4px;background:var(--theme-tab-active);color:var(--theme-primary-strong);font-size:10px;line-height:1.4;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body #preference-currency-hint{line-height:1.6;overflow-wrap:anywhere}

/* One quiet account surface: identity, available funds, membership. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview{grid-template-columns:56px minmax(0,1fr) minmax(120px,180px) minmax(190px,240px);gap:20px;min-height:112px;margin-bottom:24px;padding:20px 24px;border:0;border-radius:8px;background:var(--theme-surface-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-avatar{width:56px;height:56px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .user-avatar{--user-avatar-size:56px !important}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-copy{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-primary{display:block}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview h1{font-size:21px;line-height:1.4;color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id{display:flex;justify-content:flex-start;gap:4px;min-width:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-text{flex:0 1 auto;gap:6px;color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-value{font-size:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-copy{flex:0 0 44px;color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-copy:hover{color:var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-copy.is-error{color:var(--theme-danger)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview-wallet{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:8px;align-content:center}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview-label{color:var(--theme-text-2);font-size:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-balance{grid-column:auto;grid-row:auto;min-width:0;color:var(--theme-text-1);font-size:22px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;white-space:normal}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-balance.is-unavailable{max-width:none;color:var(--theme-text-2);font-size:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-card{grid-template-columns:56px minmax(0,1fr);grid-template-areas:"visual copy" "visual action";gap:0 12px;min-height:72px;padding:4px 8px;background:transparent;border:0;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-card:hover{background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-card:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-visual{width:56px;height:56px}
/* Keep the transparent badge artwork and Lottie playback, without its circular shell. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-visual :is(.vip-identity,.account-vip-placeholder){width:100%;height:100%;border:0;border-radius:0;background:transparent;box-shadow:none;animation:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-visual .vip-identity::after{display:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-visual :is(.vip-poster,.vip-lottie){inset:0;width:100%;height:100%}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-copy b{font-size:16px;color:var(--theme-text-1);white-space:normal;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-action{min-height:28px;font-size:12px;font-weight:500;white-space:normal}
@media(max-width:1199px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-identity{display:grid;grid-column:1 / -1;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview-wallet{grid-column:1;grid-row:2}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-card{grid-column:2;grid-row:2;padding:4px 0}
}
@media(max-width:767px){
  /* Keep the membership treatment quiet; only the mobile overview owns this surface. */
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-profile-header.account-overview{gap:18px 12px;padding:16px;margin-bottom:20px;border:1px solid var(--mode2-membership-border, rgba(210,172,104,.16));border-radius:12px;background:radial-gradient(ellipse at 100% 0%,var(--mode2-membership-glow, rgba(210,172,104,.08)),transparent 65%),var(--theme-surface-1)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-avatar{width:48px;height:48px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .user-avatar{--user-avatar-size:48px !important}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-identity{grid-template-columns:48px minmax(0,1fr);gap:12px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview h1{font-size:18px;font-weight:700;line-height:24px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-value{font-variant-numeric:tabular-nums}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-id-copy:focus-visible{outline:2px solid var(--theme-focus);outline-offset:-2px;border-radius:6px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview-wallet{min-height:60px;gap:6px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview-label{font-size:11px;line-height:16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-balance{font-size:24px;font-weight:700;line-height:30px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-balance .display-fiat-amount{display:block;overflow-wrap:anywhere}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-profile-balance.is-unavailable{font-size:12px;line-height:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-card{grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:0 8px;min-height:60px;border-radius:8px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-visual{width:40px;height:40px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-placeholder{font-size:10px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-eyebrow{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-copy b{font-size:14px;line-height:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-overview .account-vip-action{min-height:24px;line-height:20px}
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-avatar-grid label.is-selected{border-color:var(--theme-primary);background:var(--theme-tab-active);box-shadow:none}

/* Forms retain a single visible boundary. Search wrappers own their inner field. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-page,.ticket-form,.ticket-reply,.auth-card,.recovery-form,.wallet-filters,.search-form) :is(input:not([type="checkbox"],[type="radio"],[type="hidden"]),textarea,select),
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-search-control{
  border:1px solid var(--theme-control-border);border-radius:8px;background:var(--theme-control);color:var(--theme-text-1);box-shadow:none;
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-search-control input{border:0;background:transparent;color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(input,textarea)::placeholder{color:var(--theme-text-2);opacity:1}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-search-control:focus-within{border-color:color-mix(in srgb,var(--theme-primary-strong) 75%,var(--theme-control-border));outline:none;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-save-bar button,.account-inline-form button,.account-list-filters button:not(.account-filter-reset),.account-payment-submit,.controlled-release-form button,.controlled-release-quote button,.experience-venue-list a,.ticket-form-actions button,.ticket-reply button,.affiliate-login-gate a,.affiliate-link-card button,.faq-ticket-callout a,.vip-status-header a.vip-status-primary){border:0;border-radius:8px;background:var(--theme-button-primary);color:#fff;box-shadow:none;min-height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-session-actions button,.account-section-actions>button,.account-pagination button,.account-filter-reset,.account-finance-actions a,.vip-status-header a,.message-read-all,.message-pagination button,.affiliate-pagination button){border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-1);box-shadow:none;min-height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-session-actions button.danger{color:var(--mode2-error-text, #ffabab)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .balance-header-tools button{border:0;background:var(--theme-control);color:var(--theme-primary-strong);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
/* This composite search field uses its existing 1px boundary for mouse and keyboard focus. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-search-control input:focus{outline:none;box-shadow:none}
@media(forced-colors:active){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .catalog-search-control:focus-within{border-color:Highlight}
}
/* Programmatic dialog focus is not an interactive control focus ring. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .campaign-modal[tabindex="-1"]:focus-visible{outline:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-dialog[tabindex="-1"]:focus-visible{outline:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(input,select,textarea)[aria-invalid="true"]{border-color:var(--mode2-error-text, #ffabab)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-current-page-toolbar{border:0;background:var(--theme-surface-1);color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-current-page-toolbar button:hover{background:var(--theme-control);color:var(--theme-primary-strong)}

/* Auth uses its existing semantic contract, including body-teleported dialogs. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]){
  --auth-backdrop:var(--theme-backdrop);--auth-surface:var(--theme-surface-1);
  --auth-border:transparent;--auth-border-width:0;--auth-radius:12px;
  --auth-text:var(--theme-text-1);--auth-heading:var(--theme-text-1);--auth-muted:var(--theme-text-2);--auth-label:var(--theme-text-2);
  --auth-control:var(--theme-control);--auth-control-border:var(--theme-control-border);
  --auth-focus:var(--theme-focus);--auth-focus-shadow:var(--theme-focus-shadow);
  --auth-primary:var(--theme-button-primary);--auth-primary-text:#fff;--auth-primary-shadow:none;
  --auth-secondary:var(--theme-control);--auth-secondary-border:transparent;--auth-secondary-text:var(--theme-text-1);
  --auth-accent:var(--theme-primary);--auth-link:var(--theme-primary-strong);--auth-danger:var(--mode2-error-text, #ffabab);
  --auth-promo:var(--theme-surface-2);--auth-promo-heading:var(--theme-text-1);--auth-promo-text:var(--theme-text-2);
  --auth-mark-bg:var(--theme-tab-active);--auth-mark-ink:var(--theme-primary);--auth-mark-border:transparent;--auth-mark-border-width:0;--auth-mark-shadow:none;--auth-mark-transform:none;--auth-mark-radius:8px;
  --auth-shadow:none;--auth-decoration-opacity:0;
  --auth-emblem:var(--theme-tab-active);--auth-emblem-text:var(--theme-primary-strong);--auth-emblem-border:transparent;--auth-emblem-shadow:none;
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .recovery-shell{border-radius:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .recovery-card{border-radius:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .recovery-aside{border:0}

/* Dialogs, teleports and themed selects. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.lobby-auth-backdrop,.game-launch-backdrop,.game-exit-confirm-backdrop,.campaign-modal-backdrop,.drawer-backdrop){background:var(--theme-backdrop, rgb(1 2 3 / 82%));backdrop-filter:blur(7px)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.lobby-auth-modal,.game-launch-dialog,.game-exit-confirm,.campaign-modal-card,.replica-account-popover,.replica-support-panel,.app-drawer,.confirm-card,.announcement-dialog,.active-session-dialog){border:0;border-radius:12px;background:var(--theme-surface-1, #121518);color:var(--theme-text-1, #f4f4f2);box-shadow:0 16px 48px rgb(0 0 0 / 40%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) :is(.lobby-auth-form input,.lobby-auth-form select,.game-launch-input){border-color:var(--theme-control-border);border-radius:8px;background:var(--theme-control);color:var(--theme-text-1, #f4f4f2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select{--select-surface:#1a1e22;--select-surface-hover:var(--mode2-hover-surface, #24282d);--select-border:var(--theme-control-border);--select-border-active:var(--theme-primary, #ff681e);--select-text:var(--mode2-menu-text, #e2e3e4);--select-shadow:0 0 0 3px rgb(255 104 30 / 16%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select .replica-select-trigger{border-radius:8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select-meta{--option-accent:var(--theme-text-2);border:0;background:var(--theme-control);color:var(--theme-text-2);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.replica-select-trigger:hover,.replica-select-option:hover,.replica-select-option.is-active){transform:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select-option{border:0;border-radius:8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select-option.is-active{background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-select-popover{--menu-bg:var(--mode2-menu-surface, #15181b);--menu-border:var(--mode2-menu-border, #3a3e43);--menu-text:var(--mode2-menu-text, #e2e3e4);--menu-active:var(--mode2-hover-surface, #24282d);--menu-selected:var(--mode2-brand-accent, #ff8b33);border-radius:8px;box-shadow:0 20px 54px rgb(0 0 0 / 54%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .user-theme-select{--theme-select-surface:var(--theme-surface-2, #181b1f);--theme-select-surface-hover:var(--mode2-hover-surface, #24282d);--theme-select-border:var(--mode2-menu-border, #3a3e43);--theme-select-border-active:var(--theme-primary, #ff681e);--theme-select-text:var(--mode2-select-text, #d2d4d6);--theme-select-shadow:0 0 0 3px rgb(255 104 30 / 16%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .user-theme-select-trigger{border-radius:7px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .user-theme-popover{--theme-menu-bg:var(--mode2-menu-surface, #15181b);--theme-menu-border:var(--mode2-menu-border, #3a3e43);--theme-menu-text:var(--mode2-menu-text, #e2e3e4);--theme-menu-active:var(--mode2-hover-surface, #24282d);--theme-menu-selected:var(--mode2-brand-accent, #ff8b33);border-radius:8px;box-shadow:0 20px 54px rgb(0 0 0 / 54%)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.replica-select-popover,.user-theme-popover){border:0;border-radius:12px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.announcement-dialog header,.active-session-dialog header,.active-session-dialog footer,.game-launch-dialog header,.replica-support-panel nav a){border:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-support-panel nav a{background:var(--theme-control);color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.lobby-auth-form .primary,.recovery-card .primary,.game-launch-actions button,.game-exit-confirm footer button){border-radius:8px;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.game-launch-dialog h2,.game-exit-confirm h2){color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.game-launch-heading>span,.game-launch-budget label,.game-launch-budget small,.game-launch-loading,.game-launch-balance-label,.game-exit-confirm p){color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.game-launch-summary,.game-launch-balance,.game-exit-confirm header){border:0;border-radius:8px;background:var(--theme-control);color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-balance strong{color:var(--theme-success)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-input input{background:transparent;color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.game-launch-input span,.game-launch-summary .replica-icon,.game-launch-shortcuts a:hover){color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-actions{border:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.game-launch-close,.game-launch-close:hover,.game-exit-confirm footer .ghost){border:0;background:var(--theme-control);color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-close{width:44px;flex-basis:44px;height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-shortcuts a{color:var(--theme-text-2);min-height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-error{border:0;background:var(--mode2-error-surface, #341b20);color:var(--mode2-error-text, #ffabab)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-launch-error small{color:var(--mode2-error-text, #ffabab)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .game-exit-confirm-error{border:0;background:var(--mode2-error-surface, #341b20)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.modal-backdrop,.global-loading){background:var(--theme-backdrop)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.lobby-auth-password button,.recovery-password-control button){width:44px;min-height:44px;height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search{height:44px;min-height:44px;border-color:var(--theme-control-border);border-radius:8px;background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search :is(input,button){min-height:42px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search input::placeholder{color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search:focus-within{outline:2px solid var(--theme-focus);outline-offset:2px}

@media(min-width:768px) and (max-width:1599px){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories{grid-template-columns:repeat(5,minmax(220px,1fr)) 76px;overflow-x:auto;padding-bottom:8px}
}

@media(max-width:374px){html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .mobile-game-category-rail{--dark2-category-rail-width:68px}}
@media(max-width:374px){html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page{--dark2-category-rail-width:68px;--dark2-category-gap:8px}}

/* Activity directory: compact header, status filters, equal media and aligned card actions. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern{max-width:1480px;padding-top:28px;padding-bottom:32px}
@media(min-width:1200px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page:has(>.page-shell>.promotion-list-page.is-modern){padding-right:0}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern{width:min(1480px,calc(100% - 48px));margin-inline:auto}
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero{display:block;margin:0 0 22px;padding:0;background:none;border:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero h1{margin:0 0 8px;font-size:28px;line-height:1.3;font-weight:750;letter-spacing:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero p{margin:0;color:var(--theme-text-2);font-size:14px;line-height:1.7}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters{display:flex;gap:24px;overflow-x:auto;margin-bottom:20px;scrollbar-width:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters button{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:44px;padding:0 2px 8px;border:0;background:none;color:var(--theme-text-2);font:inherit;font-size:14px;cursor:pointer}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters button small{min-width:20px;padding:2px 5px;border-radius:5px;background:var(--theme-control);font-size:11px;text-align:center}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters button[aria-pressed="true"]{color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters button[aria-pressed="true"]:after{content:"";position:absolute;bottom:0;left:2px;right:2px;height:2px;border-radius:2px;background:currentColor}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card{display:flex;flex-direction:column;min-width:0;border:0;border-radius:10px;background:var(--theme-surface-1);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card picture,
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-image-placeholder{display:flex;align-items:center;justify-content:center;flex:none;width:100%;height:auto;aspect-ratio:12/5;overflow:hidden;background:var(--mode2-inset-surface, #0d1012)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;padding:18px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-state{padding:3px 7px;border-radius:4px;line-height:1.5}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card h2{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card p{color:var(--theme-text-2);font-size:13px;line-height:1.7;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card small{font-size:11px;line-height:1.7;color:var(--theme-text-2);overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card strong{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;margin-top:auto;padding-top:8px;font-size:13px;color:var(--theme-primary-strong)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card:hover{background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern :is(.promotion-card,.promotion-filters button):focus-visible{outline:2px solid var(--theme-primary-strong);outline-offset:-2px}
@media(max-width:1199px){html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern{padding-top:20px;padding-bottom:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero{margin-bottom:16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero h1{font-size:24px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .page-hero p{font-size:13px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-filters{gap:20px;margin-bottom:16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-list-page.is-modern .promotion-card-copy{padding:16px}
}

/* Promotion detail: top return link and a calm single-column reading surface. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern{max-width:1200px;padding-top:20px;padding-bottom:32px}
@media(min-width:1200px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page:has(>.page-shell>.promotion-detail-page.is-modern){padding-right:0}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern{width:min(1200px,calc(100% - 48px));margin-inline:auto}
}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;padding:0 10px;border-radius:8px;color:var(--theme-text-2);font-size:14px;text-decoration:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-back>.replica-icon{transform:rotate(180deg)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-back:hover{background:var(--theme-control);color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-detail{width:100%;max-width:none;border:0;border-radius:12px;background:var(--theme-surface-1);box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern :is(.promotion-detail-media,.promotion-image-placeholder){display:flex;align-items:center;justify-content:center;width:100%;height:clamp(180px,28vw,320px);min-height:0;background:var(--mode2-inset-surface, #0d1012);overflow:hidden}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-detail-media img{display:block;width:100%;height:100%;object-fit:contain}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-detail-copy{display:grid;gap:24px;padding:32px 36px;min-width:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-detail-intro{display:grid;gap:12px;min-width:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-state{padding:4px 8px;border-radius:4px;line-height:1.5}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern h1{font-size:clamp(24px,2.4vw,32px);line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .lead{font-size:14px;line-height:1.8;color:var(--theme-text-2);overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0 0 24px;border-bottom:1px solid var(--theme-border-soft)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period div{min-width:0;padding:0;border:0;border-radius:0;background:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period dt{font-size:12px;color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period dd{margin-top:8px;font-size:13px;line-height:1.6;color:var(--theme-text-1);overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .detail-copy,
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-terms p{font-size:15px;line-height:1.9;color:var(--theme-text-2);white-space:pre-wrap;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-terms{margin:0;padding:24px 0 0;border:0;border-top:1px solid var(--theme-border-soft);border-radius:0;background:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-terms h2{margin:0 0 12px;font-size:18px;line-height:1.5}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-ineligible{padding:12px 14px;border:0;border-radius:8px;background:var(--theme-control);font-size:13px;line-height:1.7}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-actions{padding-top:4px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-primary{min-width:180px;min-height:46px;font-size:14px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern :is(.promotion-back,.promotion-primary):focus-visible{outline:2px solid var(--theme-primary-strong);outline-offset:3px}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern{padding-top:12px;padding-bottom:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-back{margin-bottom:8px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern :is(.promotion-detail-media,.promotion-image-placeholder){height:auto;aspect-ratio:12/5}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-detail-copy{gap:20px;padding:20px 16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period{grid-template-columns:minmax(0,1fr);gap:14px;padding-bottom:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:baseline}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-period dd{margin:0}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-terms{padding-top:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .promotion-detail-page.is-modern .promotion-primary{width:100%;min-width:0}
}

/* Tablet keeps all content, with the promotions below the hero. */
@media(max-width:1199px){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-topbar{background:var(--mode2-topbar-mobile, rgb(9 11 13 / 98%))}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:10px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main>.home-hero-showcase{display:contents}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-showcase>.hero{grid-column:1;grid-row:1;min-height:320px;margin:0}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companions{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companion{height:118px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .announcement-ticker{grid-column:1;grid-row:3}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .winning-strip{grid-column:1;grid-row:4}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-quick-categories{grid-column:1;grid-row:5}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories{grid-template-columns:repeat(5,minmax(210px,1fr)) 78px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories::-webkit-scrollbar{display:none}
}

/* Mobile art direction and touch-first horizontal rails. */
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]){--dark2-section-gap:20px;--dark2-panel-padding:16px;--dark2-item-gap:12px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-topbar{display:flex;gap:4px;padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-menu-toggle{width:44px;min-width:44px;flex:0 0 44px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-brand{min-width:0;flex:1 1 70px;overflow:hidden}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-brand :is(.replica-brand-logo,.replica-brand-fallback){width:100%;max-width:97px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-actions{flex:0 0 auto;gap:4px;margin-left:0}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-login-button{min-width:44px;max-width:76px;padding-inline:8px;white-space:normal;overflow-wrap:anywhere;line-height:1.2;font-size:12px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-top-actions>.replica-search{display:grid;width:44px;min-width:44px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-wallet{min-width:88px;max-width:88px;padding-inline:6px}
  /* Keep the category rail independent of the result column's scroll/empty height. */
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .mobile-game-category-rail{position:fixed;z-index:20;left:6px;width:var(--dark2-category-rail-width,76px);top:calc(var(--replica-header-height) + var(--catalog-promotion-offset,0px) + 8px);max-height:max(0px,calc(var(--app-viewport-height,100dvh) - var(--replica-header-height) - var(--catalog-promotion-offset,0px) - var(--replica-mobile-bottom-nav-height) - 16px));box-sizing:border-box;align-content:start}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .mobile-game-catalog-results{grid-column:2;padding-top:62px}
  /* Reserve the search row in the results column; fixed also works for short/empty lists. */
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .catalog-filter-panel{position:fixed;z-index:21;top:calc(var(--replica-header-height) + var(--catalog-promotion-offset,0px));left:calc(6px + var(--dark2-category-rail-width,76px) + var(--dark2-category-gap,10px));right:6px;margin:0;padding:8px 0 10px;background:var(--theme-canvas);border:0;box-sizing:border-box}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .all-games-page .catalog-filter-controls>.replica-select{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .mobile-game-category-rail button{grid-template-rows:44px auto;min-height:78px;border:0;background:var(--theme-surface-1);box-shadow:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .mobile-game-category-rail button.active{border:0;background:var(--theme-tab-active);color:var(--theme-primary-strong);box-shadow:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .mobile-game-category-rail .mobile-game-category-icon{width:44px;height:44px;border:0;border-radius:0;background:transparent;color:var(--theme-text-2)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .mobile-game-category-icon img{display:block;width:44px;height:44px;object-fit:contain}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .mobile-game-category-rail button.active .mobile-game-category-icon{border:0;background:transparent;color:var(--theme-primary-strong)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-bottom-nav{border:0;background:var(--theme-surface-1, #121518);box-shadow:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-bottom-nav a{color:var(--mode2-bottom-text, #9b9ea3)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-bottom-nav a.is-active{background:rgb(255 104 30 / 13%);color:var(--mode2-brand-accent, #ff8b33)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .replica-mobile-bottom-nav a.is-deposit>span{border-color:var(--theme-surface-1, #121518);background:var(--theme-button-primary);color:#fff;box-shadow:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-showcase>.hero{height:auto;min-height:210px;padding:20px 16px;aspect-ratio:auto}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .mobile-promotion-hero{position:absolute;inset:0;width:100%;height:100%}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .mobile-promotion-hero img{width:100%;height:100%;object-fit:cover}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero::after{background:linear-gradient(90deg,rgb(8 10 12 / 95%),rgb(8 10 12 / 72%) 42%,rgb(8 10 12 / 12%) 78%)}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-fallback-hero img{object-position:center top}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-copy{position:relative;z-index:2;display:block;width:68%;max-width:68%;pointer-events:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-copy .hero-cta{pointer-events:auto;min-height:44px;min-width:0;max-width:100%;padding:10px 16px;white-space:normal;line-height:1.3}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark-2-fallback-hero{display:block}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero h1{display:-webkit-box;max-width:100%;margin-bottom:5px;overflow:hidden;font-size:clamp(20px,6vw,29px);line-height:1.1;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero p{display:-webkit-box;max-width:100%;overflow:hidden;font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-cta{min-width:132px;margin-top:10px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companions{height:122px;grid-template-columns:repeat(3,78vw);grid-template-rows:122px;grid-auto-flow:row;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companions::-webkit-scrollbar{display:none}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-hero-companion{height:122px;scroll-snap-align:start}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories{display:flex;gap:9px;margin-top:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category{flex:0 0 min(78vw,340px);height:auto;min-height:94px;scroll-snap-align:start}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category b{font-size:17px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category small{font-size:11px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark-2-quick-categories .home-quick-category.dark-2-more-games{flex-basis:96px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail-section{padding:8px 0 2px}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail{grid-auto-columns:minmax(148px,46vw);gap:8px;padding-bottom:8px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main :is(.content-section,.home-game-rail-section,.split-grid){padding-top:10px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-save-bar{bottom:calc(var(--replica-mobile-bottom-nav-height) + env(safe-area-inset-bottom));flex-wrap:wrap}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.account-payment-form,.ticket-form-row){grid-template-columns:minmax(0,1fr)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page .account-page .account-local-nav{border:0;background:transparent}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-page .account-page .account-local-nav a.active{background:transparent;color:var(--theme-primary-strong)}
}

@media(max-width:359px){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .hero-copy{width:74%;max-width:74%}
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .home-game-rail{grid-auto-columns:minmax(148px,48vw)}
}

/* Header actions: neutral utilities, a single primary deposit action. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-actions{gap:8px;flex-shrink:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.replica-wallet,.replica-account,.replica-top-icon,.replica-search){min-height:44px;border-radius:8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet{min-width:0;max-width:160px;overflow:hidden;background:var(--theme-control);font-variant-numeric:tabular-nums}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet>span .display-fiat-amount{display:block;overflow:hidden;text-overflow:ellipsis}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet>.replica-icon{flex-shrink:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-deposit{width:auto;min-width:68px;flex:0 0 auto;padding:0 16px;background:var(--theme-button-primary);color:#fff}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-deposit:hover{background:color-mix(in srgb,var(--theme-button-primary) 92%,#000);color:#fff}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-messages{width:44px;min-width:44px;flex-basis:44px;color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account{position:relative;max-width:148px;gap:8px;padding:0 8px;background:transparent;color:var(--theme-text-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account>.user-avatar,html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account>.replica-icon{flex-shrink:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body :is(.replica-account:hover,.replica-account-menu.is-open .replica-account,.replica-messages:hover){background:var(--theme-control)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account-popover :is(a,button){min-height:44px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark-2-account-unread{display:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account-popover .dark-2-menu-messages{display:none}
@media(min-width:1200px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-nav{min-width:0;flex:1 1 auto;overflow-x:auto;scrollbar-width:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-nav a{flex-shrink:0}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search{width:190px;flex:0 0 190px;height:44px;border-color:var(--mode2-search-border, #2d3135);border-radius:8px;background:var(--theme-control)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search button{min-height:42px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search:focus-within{outline:2px solid var(--theme-focus);outline-offset:2px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-deposit{margin-right:12px}
}
@media(min-width:768px) and (max-width:1439px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .new-dark-header-search{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-actions>.replica-search{display:grid;width:44px;min-width:44px;order:-1}
}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-actions{gap:4px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-top-actions.is-authenticated>:is(.replica-search,.replica-messages,.replica-deposit){display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet{width:88px;min-width:88px;max-width:88px;padding-inline:6px;gap:4px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet>span{display:block}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-wallet>.replica-icon{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account-menu{display:block}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account{width:44px;min-width:44px;justify-content:center;padding:0;overflow:visible}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account>:is(.replica-account-name,.replica-icon){display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark-2-account-unread{display:block;position:absolute;right:-2px;top:0;min-width:16px;padding:1px 3px;border-radius:8px;background:#b52d3b;color:#fff;font-size:9px;line-height:14px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account-popover{position:fixed;top:calc(var(--replica-header-height) + 8px);right:8px;width:min(280px,calc(100vw - 16px));max-height:calc(100dvh - var(--replica-header-height) - var(--replica-mobile-bottom-nav-height) - 24px);overflow-y:auto;overscroll-behavior:contain}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-account-popover .dark-2-menu-messages{display:flex}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark-2-menu-messages b{margin-left:auto;color:var(--theme-primary)}
}

/* Account settings tabs keep one task visible without discarding form input. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs{display:flex;min-width:0;max-width:100%;gap:24px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;overscroll-behavior-inline:contain}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs>[role="tab"]{position:relative;flex:0 0 auto;min-height:44px;padding:10px 2px;border:0;border-radius:0;background:transparent;color:var(--theme-text-2);font:inherit;font-size:14px;line-height:1.5;white-space:nowrap;cursor:pointer}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs>[role="tab"][aria-selected="true"]{color:var(--theme-primary-strong);font-weight:600}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs>[role="tab"][aria-selected="true"]::after{position:absolute;bottom:0;left:50%;width:24px;height:2px;transform:translateX(-50%);border-radius:1px;background:var(--theme-primary);content:''}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs>[role="tab"]:focus-visible{outline:2px solid var(--theme-primary-strong);outline-offset:-2px;border-radius:4px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs>[role="tab"]:disabled{cursor:wait;opacity:.65}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section[role="tabpanel"]:focus-visible{outline:2px solid var(--theme-primary-strong);outline-offset:2px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-feedback-slot:empty{display:none}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .account-section-tabs{gap:20px}
}

/* Public information uses a single quiet reading surface, not table-like rows. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-main{padding-top:24px;padding-bottom:64px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-backbar{width:min(100%,1200px);margin:0 auto 12px;padding:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-back{color:var(--theme-text-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-back:hover{color:var(--theme-primary-strong);background:var(--theme-surface-1)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page{width:min(100%,1200px);padding:32px;border:0;border-radius:12px;background:var(--theme-surface-1);box-shadow:none;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page>header{margin-bottom:24px;padding:0 0 24px;border:0;border-bottom:1px solid var(--mode2-separator, rgb(255 255 255 / 10%))}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page .kicker{color:var(--theme-primary-strong);font-size:11px;font-weight:600;letter-spacing:.08em}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page h1{margin:12px 0;color:var(--theme-text-1);font-family:inherit;font-size:34px;font-weight:700;line-height:1.3;letter-spacing:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page header p{max-width:none;margin:0;color:var(--theme-text-2);font-size:15px;line-height:1.8}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page>section{display:block;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page>section+section{margin-top:28px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page section h2{margin:0 0 10px;color:var(--theme-text-1);font-size:18px;font-weight:600;line-height:1.5}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page section p{margin:0;color:var(--mode2-reading-text, #c3c7cd);font-size:16px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-fallback{margin:0 0 24px;padding:12px 14px;border:0;border-radius:8px;background:var(--theme-surface-2);color:var(--theme-text-2);font-size:13px;line-height:1.7}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-main{padding-top:16px;padding-bottom:32px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page{padding:24px 20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page h1{font-size:28px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page>header{margin-bottom:20px;padding-bottom:20px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page>section+section{margin-top:24px}
}
@media(max-width:359px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page{padding:20px 16px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .public-content-page h1{font-size:26px}
}

/* Compact discovery panels: tags beside providers, with no duplicate lower rail. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main>#tags{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers{min-width:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .section-heading .text-button{flex-shrink:0}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .home-provider-grid{grid-template-columns:repeat(auto-fill,minmax(88px,112px));gap:12px;overflow:visible}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .home-provider-tile{display:grid;place-items:center;width:100%;height:68px;aspect-ratio:auto;background:var(--theme-surface-2)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .provider-logo-card{width:80px;max-width:100%;height:54px;aspect-ratio:auto}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .lobby-main>#tags{grid-template-columns:minmax(0,1fr)}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .home-provider-grid{grid-template-columns:repeat(auto-fill,80px);gap:8px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .home-provider-tile{height:52px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .dark2-home-providers .provider-logo-card{width:64px;height:44px}
}

/* The desktop activity window shows three cards and advances one full card. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-carousel{position:relative;display:block;min-height:0;overflow:hidden}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-viewport{width:100%;height:100%;overflow:hidden}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-track{display:flex;flex-direction:column;gap:8px;height:100%}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-track.is-moving{transition:transform .4s ease}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-track>.home-hero-companion{flex:0 0 calc((100% - 16px)/3);height:calc((100% - 16px)/3)}
@media(max-width:1199px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-carousel{height:118px}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-viewport{overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-viewport::-webkit-scrollbar{display:none}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-track{flex-direction:row;gap:9px;transform:none!important}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-track>.home-hero-companion{flex-basis:calc((100% - 18px)/3);height:100%;scroll-snap-align:start}
}
@media(max-width:767px){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-carousel{width:100%;height:auto;aspect-ratio:414/178}
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .lobby-main .dark2-promotion-track>.home-hero-companion{flex:0 0 100%;height:100%}
}
@media(prefers-reduced-motion:reduce){
  html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) .dark2-promotion-track.is-moving{transition:none}
}

/* Match theme settings: badge, label and right chevron; expanded chevrons point down. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-setting-row .replica-select--setting.has-meta .replica-select-trigger{min-height:44px;grid-template-columns:22px minmax(0,1fr) 16px;padding-inline:9px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-setting-row .replica-select--setting .replica-select-trigger>.replica-icon{transform:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .replica-setting-row .replica-select--setting .replica-select-trigger>.replica-icon.is-expanded{transform:rotate(90deg)}

/* Message filters use the same lightweight text navigation as the catalog. */
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-toolbar{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 24px;margin-bottom:16px}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-filter-tabs{width:auto;gap:24px;padding:0;border:0;border-radius:0;background:transparent}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-filter-tabs button{position:relative;display:flex;align-items:center;gap:6px;flex:0 0 auto;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--theme-text-2);font-size:14px;font-weight:500;box-shadow:none}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-filter-tabs button.active{background:transparent;color:var(--theme-primary);font-weight:600}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-filter-tabs button.active::after{position:absolute;left:0;bottom:0;width:24px;height:2px;border-radius:1px;background:var(--theme-primary);content:''}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-unread-count{font-size:11px;font-variant-numeric:tabular-nums}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-read-all{width:auto;min-height:44px;margin-left:auto;padding:0 4px;border:0;border-radius:0;background:transparent;color:var(--theme-text-2);font-size:12px;font-weight:500}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-read-all:hover:not(:disabled){color:var(--theme-primary)}
html:is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) body .messages-page .message-read-all:disabled{cursor:not-allowed;opacity:.45}

@media(prefers-reduced-motion:reduce){
  :is([data-user-theme="dark-2"],[data-user-theme="light-2"],[data-user-theme="dark-3"]) *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
