/* MASTER7 unified luxury casino suite
   Loaded last so every customer and backoffice module shares one visual system. */
@font-face{font-family:"MASTER7 Sans";src:url("/assets/fonts/open-sans-latin-variable.woff2") format("woff2");font-weight:300 800;font-style:normal;font-display:swap}
:root{
 --m7-bg:#05070d;
 --m7-bg-soft:#080c14;
 --m7-panel:#0b101a;
 --m7-panel-2:#101725;
 --m7-line:rgba(215,183,111,.18);
 --m7-line-strong:rgba(229,196,118,.42);
 --m7-gold:#e5c476;
 --m7-gold-soft:#fff0bf;
 --m7-cyan:#61eee4;
 --m7-text:#f4f1e9;
 --m7-muted:#9da5b3;
 --m7-danger:#ef8e91;
 --m7-radius:10px;
 --m7-font:"MASTER7 Sans","Noto Sans SC","Microsoft YaHei","PingFang SC","Segoe UI",system-ui,-apple-system,sans-serif;
}
html{background:var(--m7-bg);color-scheme:dark}
body,button,input,select,textarea{font-family:var(--m7-font)}
body:not(.auth-entry){
 background:
  radial-gradient(circle at 82% 6%,rgba(67,45,119,.14),transparent 28rem),
  radial-gradient(circle at 18% 18%,rgba(27,141,133,.08),transparent 25rem),
  linear-gradient(145deg,#05070d,#080b13 48%,#060811);
 color:var(--m7-text);
}
body:not(.auth-entry)::before{background-image:linear-gradient(rgba(229,196,118,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(229,196,118,.018) 1px,transparent 1px);background-size:32px 32px;opacity:.42}
body:not(.auth-entry) :where(h1,h2,h3,h4,strong){color:var(--m7-text)}
body:not(.auth-entry) :where(p,small,.muted){color:var(--m7-muted)}
body:not(.auth-entry) .eyebrow{color:var(--m7-gold);font-size:8px;font-weight:800;letter-spacing:.16em}
body:not(.auth-entry) :where(h1,h2,h3,.brand,.admin-command-title strong){font-weight:720;letter-spacing:-.018em;text-wrap:balance}
body:not(.auth-entry) :where(.eyebrow,.tiny-label,.admin-sidebar-heading,.status,.vip-status-chip){font-variant-numeric:tabular-nums;letter-spacing:.12em}
body:not(.auth-entry) :where(.stat strong,td,th,input,select,.money){font-variant-numeric:tabular-nums}
body:not(.auth-entry) .demo-ribbon{
 min-height:22px;padding:5px 14px;border-bottom:1px solid rgba(229,196,118,.18);
 background:#060810;color:#d9c995;font-size:8px;letter-spacing:.14em;
}
body:not(.auth-entry) .topbar{
 top:0;min-height:64px;padding:8px 18px;border-bottom:1px solid var(--m7-line);
 background:rgba(5,7,13,.94);box-shadow:0 13px 34px rgba(0,0,0,.34);backdrop-filter:blur(18px);
}
body:not(.auth-entry) .brand{gap:9px;color:var(--m7-text);font-size:14px;letter-spacing:.14em}
body:not(.auth-entry) .brand-logo{width:34px;height:34px;filter:drop-shadow(0 0 10px rgba(97,238,228,.22))}
body:not(.auth-entry) .brand small{color:#b8ab83;font-size:6px;letter-spacing:.22em}
body:not(.auth-entry) .topnav{gap:3px}
body:not(.auth-entry) .nav-button{
 min-height:32px;padding:7px 10px;border:1px solid transparent;border-radius:7px;
 color:#d7d2c7;font-size:10px;font-weight:650;
}
body:not(.auth-entry) .nav-button:hover{border-color:rgba(229,196,118,.2);background:#111620;color:#fff4d1}
body:not(.auth-entry) .nav-button.active{border-color:rgba(229,196,118,.36);background:linear-gradient(135deg,rgba(229,196,118,.15),rgba(97,238,228,.07));color:#fff2c5}
body:not(.auth-entry) .top-actions{gap:6px}
body:not(.auth-entry) .top-actions :where(select,.button,.user-chip){min-height:31px;border-radius:7px;font-size:9px}
body:not(.auth-entry) .page{width:auto;max-width:none;padding:18px 22px 56px}
body:not(.auth-entry) .page>section{width:min(100%,1440px);margin-inline:auto}
body:not(.auth-entry) .section{gap:12px}
body:not(.auth-entry) .section-header{
 min-height:0;padding:12px 14px;border:1px solid var(--m7-line);border-radius:var(--m7-radius);
 background:linear-gradient(135deg,rgba(16,23,37,.95),rgba(8,12,20,.95));
 box-shadow:0 12px 30px rgba(0,0,0,.24);
}
body:not(.auth-entry) .section-header h2{font-size:17px}
body:not(.auth-entry) :where(.surface,.feature,.stat,.rewards-panel,.vip-benefit-panel,.vip-commission-center,.responsible-play-panel,.engagement-card){
 border-color:var(--m7-line)!important;border-radius:var(--m7-radius)!important;
 background:linear-gradient(145deg,rgba(14,20,32,.96),rgba(8,12,20,.97))!important;
 box-shadow:0 12px 28px rgba(0,0,0,.23)!important;
}
body:not(.auth-entry) :where(input,select,textarea){
 border:1px solid rgba(203,188,153,.2);background:#080d15;color:var(--m7-text);
}
body:not(.auth-entry) :where(input,select,textarea):focus{border-color:rgba(97,238,228,.54);box-shadow:0 0 0 2px rgba(97,238,228,.08);outline:0}
body:not(.auth-entry) .button{border-radius:7px;font-weight:700;letter-spacing:.015em}
body:not(.auth-entry) .button-primary{border-color:#ddbb6c;background:linear-gradient(135deg,#d7b158,#f1d789);color:#141008;box-shadow:0 7px 20px rgba(210,167,74,.2)}
body:not(.auth-entry) .button-outline{border-color:rgba(229,196,118,.28);background:#0b111c;color:#eee6d5}
body:not(.auth-entry) .button-ghost{color:#c9c2b5}
body:not(.auth-entry) :where(.button-outline,.button-ghost):hover{border-color:rgba(97,238,228,.5);background:#101d25;color:#fff}
body:not(.auth-entry) .status.ready,
body:not(.auth-entry) .verification-note.ready{border-color:rgba(97,238,228,.34);background:rgba(26,111,103,.13);color:#aafaf4}
body:not(.auth-entry) .status.pending,
body:not(.auth-entry) .verification-note.pending{border-color:rgba(229,196,118,.26);background:rgba(125,91,26,.12);color:#ead7a4}

/* Customer lobby: compact premium cover and independent provider cards. */
body:not(.auth-entry):not(.admin-mode) .portal-sidebar{
 width:176px;padding:100px 9px 16px;border-right:1px solid var(--m7-line);
 background:linear-gradient(180deg,rgba(6,9,15,.98),rgba(7,11,18,.98));
}
body:not(.auth-entry):not(.admin-mode) .page{margin-left:176px}
body:not(.auth-entry):not(.admin-mode) :where(.footer,.public-social){margin-left:176px}
body:not(.auth-entry) .portal-sidebar-heading{margin:10px 9px 5px;color:#927f55;font-size:8px;letter-spacing:.18em}
body:not(.auth-entry) .sidebar-nav-button,
body:not(.auth-entry) .sidebar-game-filter{
 min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:7px;
 color:#e4dfd5;font-size:11px;font-weight:650;text-align:left;
}
body:not(.auth-entry) :where(.sidebar-nav-button,.sidebar-game-filter):hover{border-color:rgba(229,196,118,.22);background:#111720;color:#fff3cb}
body:not(.auth-entry) :where(.sidebar-nav-button,.sidebar-game-filter).active{border-color:rgba(229,196,118,.34);background:linear-gradient(100deg,rgba(222,184,94,.15),rgba(97,238,228,.06));color:#fff1bf}
body:not(.auth-entry) :where(.nav-button,.sidebar-game-filter,.admin-internal-sidebar a)::after{
 background:#60eee4!important;box-shadow:0 0 4px #72fff6,0 0 11px rgba(74,236,226,.74)!important;
}
body:not(.auth-entry) #home .hero{
 min-height:320px;border:1px solid rgba(229,196,118,.28);border-radius:14px;
 background:linear-gradient(90deg,rgba(3,7,13,.98),rgba(3,8,15,.78) 52%,rgba(4,9,15,.16)),url("/assets/master7-casino-lobby-premium.webp") 67% center/cover no-repeat;
 box-shadow:0 24px 60px rgba(0,0,0,.43);
}
body:not(.auth-entry) #home .hero-copy{max-width:620px;padding:38px}
body:not(.auth-entry) #home .hero h1{font-size:clamp(34px,4.2vw,66px);line-height:.96}
body:not(.auth-entry) #home .hero .intro{max-width:540px;font-size:13px;line-height:1.65}
body:not(.auth-entry) .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body:not(.auth-entry) .feature{min-height:90px;padding:12px}
body:not(.auth-entry) .feature-icon{font-size:20px}
body:not(.auth-entry) .feature h3{font-size:12px}
body:not(.auth-entry) .feature p{font-size:9px}
body:not(.auth-entry) :where(.vip-hero,.rewards-hero,.engagement-hero,.responsible-play-hero){
 min-height:160px;padding:20px;border:1px solid rgba(229,196,118,.28);border-radius:12px;
 background:linear-gradient(100deg,rgba(5,8,14,.97),rgba(9,13,23,.78) 63%,rgba(16,11,28,.44)),url("/assets/master7-casino-lobby-premium.webp") 70% 45%/cover no-repeat;
 box-shadow:0 18px 45px rgba(0,0,0,.32);
}
body:not(.auth-entry) :where(.vip-hero,.rewards-hero,.engagement-hero,.responsible-play-hero) h1{font-size:24px}
body:not(.auth-entry) .vip-hero{background-image:linear-gradient(100deg,rgba(5,8,14,.97),rgba(9,13,23,.76) 60%,rgba(16,11,28,.35)),url("/assets/master7-vip-commission.webp")!important}
body:not(.auth-entry) .rewards-hero{background-image:linear-gradient(100deg,rgba(5,8,14,.97),rgba(9,13,23,.76) 60%,rgba(16,11,28,.35)),url("/assets/master7-sponsored-mascots.webp")!important}
body:not(.auth-entry) .engagement-hero{background-image:linear-gradient(100deg,rgba(5,8,14,.97),rgba(9,13,23,.76) 60%,rgba(16,11,28,.35)),url("/assets/master7-casino-lobby-premium.webp")!important}
body:not(.auth-entry) :where(.vip-tier-grid,.rewards-grid,.engagement-grid){gap:8px}
body:not(.auth-entry) .vip-tier-card,
body:not(.auth-entry) .rewards-grid>article,
body:not(.auth-entry) .engagement-grid>article{padding:12px;border-radius:9px}
body:not(.auth-entry) .game-category-filters{gap:5px;padding:7px}
body:not(.auth-entry) .game-category-filters button{min-height:31px;padding:6px 9px;font-size:9px}
body:not(.auth-entry) :where(.api-supplier-grid,.catalog-grid,.game-grid){gap:8px}
body:not(.auth-entry) :where(.api-supplier-card,.game-card){border-radius:11px;box-shadow:0 12px 26px rgba(0,0,0,.28)}
body:not(.auth-entry) .api-supplier-card :where(strong,small){color:inherit}

/* Backoffice: one compact professional desktop template for every page. */
body.admin-mode{
 background:
  linear-gradient(125deg,rgba(4,6,11,.96),rgba(6,8,14,.91)),
  url("/assets/master7-casino-backoffice-premium.webp") center/cover fixed no-repeat;
}
body.admin-mode .portal-sidebar,
body.admin-mode .topnav{display:none!important}
body.admin-mode.auth-entry{overflow:hidden}
body.admin-mode.auth-entry .footer,
body.admin-mode.auth-entry .public-social{display:none!important}
body.auth-entry #authDialog.admin-auth .member-auth-hero{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid rgba(229,196,118,.14)}
body.auth-entry #authDialog.admin-auth .member-auth-logo{display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border:1px solid rgba(97,238,228,.34);border-radius:13px;background:#0a1422;box-shadow:0 9px 24px rgba(0,0,0,.32)}
body.auth-entry #authDialog.admin-auth .member-auth-logo-ring{display:none}
body.auth-entry #authDialog.admin-auth .member-auth-logo img{width:42px;height:38px;object-fit:contain}
body.auth-entry #authDialog.admin-auth .member-auth-wordmark{display:grid;gap:3px}
body.auth-entry #authDialog.admin-auth .member-auth-wordmark strong{color:#fff4cf;font-size:18px;letter-spacing:.14em}
body.auth-entry #authDialog.admin-auth .member-auth-wordmark span{color:#a9fff7;font-size:7px;letter-spacing:.2em}
body.auth-entry #authDialog.admin-auth .member-auth-badge{margin-left:auto;padding:5px 8px;border:1px solid rgba(229,196,118,.28);border-radius:999px;color:#e8d69f;font-size:7px;letter-spacing:.12em}
body.auth-entry #authDialog.admin-auth .member-auth-tagline{display:none}
body.admin-mode .page{margin-left:0;padding:12px 16px 34px}
body.admin-mode #admin{width:min(100%,1580px)}
body.admin-mode .admin-commandbar{
 position:sticky;top:0;z-index:20;min-height:45px;margin-bottom:8px;padding:5px 8px;
 border:1px solid var(--m7-line);border-radius:8px;background:rgba(6,9,15,.96);backdrop-filter:blur(16px);
}
body.admin-mode .admin-command-mark{width:31px;height:31px;border:1px solid rgba(229,196,118,.34);border-radius:7px;background:#0d1420}
body.admin-mode .admin-command-title strong{color:#fff0bf;font-size:11px}
body.admin-mode .admin-command-title small{color:#9c937f;font-size:7px}
body.admin-mode .admin-workspace{grid-template-columns:198px minmax(0,1fr);gap:9px}
body.admin-mode .admin-internal-sidebar{
 top:62px;height:calc(100vh - 75px);max-height:calc(100vh - 75px);padding:7px 6px;
 border:1px solid var(--m7-line);border-radius:8px;background:rgba(6,9,15,.97)!important;
 box-shadow:0 15px 40px rgba(0,0,0,.34);
}
body.admin-mode .admin-internal-sidebar .admin-sidebar-heading{
 margin:9px 7px 3px;padding-top:7px;border-color:rgba(229,196,118,.12);
 color:#b69a5b;font-size:8px;letter-spacing:.14em;
}
body.admin-mode .admin-internal-sidebar a{
 min-height:30px;margin:1px 0;padding:6px 27px 6px 9px;border:1px solid transparent;border-radius:6px;
 color:#e7e1d7;font-size:12px;font-weight:650;line-height:1.25;
}
body.admin-mode .admin-internal-sidebar a:hover{border-color:rgba(229,196,118,.2);background:#111721;color:#fff3cc;transform:none}
body.admin-mode .admin-internal-sidebar a.active{
 border-color:rgba(229,196,118,.38);background:linear-gradient(100deg,rgba(229,196,118,.16),rgba(97,238,228,.07));color:#fff2c3;box-shadow:inset 2px 0 #e5c476;
}
body.admin-mode .admin-internal-sidebar a::before{background:#746d60}
body.admin-mode .admin-internal-sidebar a.active::before{background:#61eee4;box-shadow:0 0 8px rgba(97,238,228,.88)}
body.admin-mode .admin-content{gap:8px;min-width:0;color:var(--m7-text);font-size:10px}
body.admin-mode .admin-content>*{min-width:0}
body.admin-mode .admin-content :where(h2,h3,h4,p){margin-top:0}
body.admin-mode .admin-content h2{font-size:15px;line-height:1.25}
body.admin-mode .admin-content h3{font-size:11px;line-height:1.3}
body.admin-mode .admin-content h4{font-size:10px}
body.admin-mode .admin-content :where(p,.muted){font-size:9px;line-height:1.48}
body.admin-mode .admin-content :where(label,small,.eyebrow){font-size:8px}
body.admin-mode .admin-dashboard-heading,
body.admin-mode .admin-content>.surface,
body.admin-mode .admin-content>section.surface,
body.admin-mode .admin-content>div.surface,
body.admin-mode .admin-content>.ad-manager,
body.admin-mode .admin-content>.benefit-manager{
 margin:0;padding:9px;border:1px solid var(--m7-line)!important;border-radius:8px!important;
 background:linear-gradient(145deg,rgba(13,18,29,.97),rgba(7,11,18,.98))!important;
 box-shadow:0 11px 28px rgba(0,0,0,.26)!important;
}
body.admin-mode .admin-content>section[id]{background-position:right top!important;background-repeat:no-repeat!important;background-size:min(43%,540px) auto!important}
body.admin-mode .admin-content>:where(#apiSupplierManager,#gameCatalogManager,#gameRankingPanel,#gameWalletAdminPanel,#gameSyncPanel){background-image:linear-gradient(90deg,rgba(8,12,20,.99) 48%,rgba(8,12,20,.72)),url("/assets/master7-cartoon-providers.webp")!important}
body.admin-mode .admin-content>:where(#supportOperationsPanel,#providerPanel,#telegramBotPanel){background-image:linear-gradient(90deg,rgba(8,12,20,.99) 50%,rgba(8,12,20,.74)),url("/assets/master7-live-hosts.webp")!important}
body.admin-mode .admin-content>:where(#vipManager,#referralAdminPanel,#rewardsManager,#benefitManager){background-image:linear-gradient(90deg,rgba(8,12,20,.99) 50%,rgba(8,12,20,.72)),url("/assets/master7-vip-commission.webp")!important}
body.admin-mode .admin-content>:where(#lobbyAdManager,#announcementPanel,#marketingCenter,#engagementManager,#socialPanel){background-image:linear-gradient(90deg,rgba(8,12,20,.99) 50%,rgba(8,12,20,.73)),url("/assets/master7-casino-lobby-premium.webp")!important}
body.admin-mode .admin-content>:where(#manualBankAdminPanel,#adminDepositPanel,#adminWithdrawalPanel,#paymentChannelManager,#financeCenterPanel,#accountingPanel,#operationsPanel,#operationsAiPanel,#pendingPanel,#bonusHunterPanel,#securityPanel,#responsiblePlayAdminPanel,#auditPanel,#systemReadinessPanel,#ownerManualPanel){background-image:linear-gradient(90deg,rgba(8,12,20,.99) 50%,rgba(8,12,20,.73)),url("/assets/master7-casino-backoffice-premium.webp")!important}
body.admin-mode .admin-dashboard-heading{
 min-height:68px;padding:10px 12px;background:linear-gradient(90deg,rgba(5,8,14,.98),rgba(8,12,20,.84) 67%,rgba(8,10,18,.38)),url("/assets/master7-casino-backoffice-premium.webp") 72% 50%/cover no-repeat!important;
}
body.admin-mode .admin-feature-cover{min-height:0}
body.admin-mode .admin-feature-cover-head,
body.admin-mode :where(.ops-ai-hero,.finance-center-hero,.owner-manual-hero){
 min-height:54px;padding:8px 10px!important;border-radius:7px 7px 0 0!important;
 background:linear-gradient(100deg,rgba(12,15,25,.98),rgba(12,15,25,.86) 65%,rgba(21,16,31,.5)),url("/assets/master7-casino-backoffice-premium.webp") 72% 48%/cover no-repeat!important;
}
body.admin-mode .admin-kpi-grid,
body.admin-mode .admin-content .stats{gap:6px}
body.admin-mode .admin-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body.admin-mode .admin-kpi-grid .stat,
body.admin-mode .admin-content .stats .stat{min-height:54px;padding:8px;border-radius:7px}
body.admin-mode .admin-content .stat strong{font-size:15px}
body.admin-mode .admin-content .stack{gap:7px}
body.admin-mode .admin-content :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
 min-height:31px;padding:5px 7px;border-radius:6px;font-size:9px;
}
body.admin-mode .admin-content textarea{min-height:58px}
body.admin-mode .admin-content :where(.button,button:not(.admin-menu-close):not(.close)){
 min-height:29px;padding:5px 8px;border-radius:6px;font-size:8px;
}
body.admin-mode .admin-content :where(fieldset,article,.commission-card,.contact-settings-block,.bank-account-form,.wallet-record-row,.withdraw-admin-row,.admin-benefit-row,.admin-ad-row){
 border-color:rgba(229,196,118,.14)!important;border-radius:7px!important;background:#0a0f18!important;
}
body.admin-mode .admin-content :where(fieldset,.commission-card,.contact-settings-block,.bank-account-form){gap:6px;padding:8px}
body.admin-mode .admin-content :where(.commission-fields,.rewards-editor-grid,.contact-form-grid,.bank-form-grid,.finance-center-summary,.finance-reconcile-grid,.ops-ai-summary,.ops-ai-metrics){gap:6px}
body.admin-mode .admin-content :where(table){font-size:8px}
body.admin-mode .admin-content :where(th,td){padding:5px 6px;border-color:rgba(229,196,118,.1)}
body.admin-mode .admin-content th{color:#d7c48f;background:#0d131e}
body.admin-mode :where(.admin-cover-tabs,.vip-matrix-tabs){gap:3px;padding:5px 8px}
body.admin-mode :where(.admin-cover-tabs,.vip-matrix-tabs) button{min-height:27px;padding:4px 8px;font-size:8px}
body.admin-mode .ops-ai-capability-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
body.admin-mode .ops-ai-capability-grid a{min-height:48px;padding:7px 8px;border-color:rgba(229,196,118,.15);background:#0a111a;color:#ede8dd}
body.admin-mode .feature-inline-guide,
body.admin-mode .setup-guide{
 margin:8px 0 0;border:1px solid rgba(229,196,118,.15);border-radius:7px;background:#080c13;color:#a9a398;
}
body.admin-mode .admin-feature-cover>.feature-inline-guide,
body.admin-mode .admin-feature-cover>.setup-guide{margin:8px 10px 10px}
body.admin-mode :where(.feature-inline-guide,.setup-guide)>summary{padding:7px 8px;color:#d8c58f;font-size:8px;font-weight:750;cursor:pointer}
body.admin-mode :where(.feature-inline-guide,.setup-guide) p,
body.admin-mode .setup-guide li{font-size:8px;line-height:1.45}
body.admin-mode .setup-guide-body{gap:6px;padding:7px}
body.admin-mode .setup-guide-card{padding:7px}
body.admin-mode .admin-cover-kicker,
body.admin-mode .tiny-label,
body.admin-mode .admin-live-pill{border-color:rgba(97,238,228,.35);background:rgba(18,82,77,.18);color:#a8faf4}
body.admin-mode .admin-live-pill span{background:#61eee4;box-shadow:0 0 10px rgba(97,238,228,.9);animation:master7-slow-pulse 2.8s ease-in-out infinite}
@keyframes master7-slow-pulse{50%{opacity:.45;box-shadow:0 0 3px rgba(97,238,228,.55);transform:scale(.82)}}

/* Login and mobile stay polished without oversized covers. */
body.auth-entry .auth-card{width:min(92vw,430px);border:1px solid rgba(229,196,118,.36);border-radius:16px;background:rgba(7,10,17,.94);box-shadow:0 30px 80px rgba(0,0,0,.56)}
body.auth-entry .auth-brand img{filter:drop-shadow(0 0 14px rgba(97,238,228,.2))}
body.auth-entry :where(input,select){border-color:rgba(229,196,118,.22);background:#0a0f19}
@media(max-width:1000px){
 body:not(.auth-entry) .topbar{min-height:58px;padding:7px 11px}
 body:not(.auth-entry):not(.admin-mode) .portal-sidebar{display:none}
 body:not(.auth-entry):not(.admin-mode) .page{margin-left:0;padding:12px 11px 88px}
 body:not(.auth-entry):not(.admin-mode) :where(.footer,.public-social){margin-left:0}
 body:not(.auth-entry) .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.admin-mode .page{padding:8px 9px 28px}
 body.admin-mode .admin-workspace{display:block}
 body.admin-mode .admin-internal-sidebar{position:fixed!important;top:0;height:100vh;max-height:100vh;width:min(84vw,320px);padding:58px 9px 18px}
 body.admin-mode .admin-internal-sidebar a{min-height:34px;padding:8px 31px 8px 10px;font-size:12px}
 body.admin-mode .admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.admin-mode .ops-ai-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body:not(.auth-entry) .brand span small{display:none}
 body:not(.auth-entry) .top-actions select{max-width:92px}
 body:not(.auth-entry) #home .hero{min-height:0;background-position:62% center}
 body:not(.auth-entry) #home .hero-copy{padding:25px 17px;background:linear-gradient(90deg,rgba(3,7,13,.91),rgba(3,7,13,.42))}
 body:not(.auth-entry) #home .hero h1{font-size:34px}
 body:not(.auth-entry) #home .hero-display{min-height:105px}
 body:not(.auth-entry) .feature-grid{grid-template-columns:1fr 1fr}
 body:not(.auth-entry) .feature{min-height:78px;padding:10px}
 body:not(.auth-entry) :where(.vip-hero,.rewards-hero,.engagement-hero,.responsible-play-hero){min-height:128px;padding:14px}
 body.admin-mode .admin-content{gap:7px}
 body.admin-mode .admin-content>.surface,
 body.admin-mode .admin-content>section.surface,
 body.admin-mode .admin-content>div.surface,
 body.admin-mode .admin-content>.ad-manager,
 body.admin-mode .admin-content>.benefit-manager{padding:8px}
 body.admin-mode .admin-kpi-grid{grid-template-columns:1fr 1fr}
 body.admin-mode .ops-ai-capability-grid{grid-template-columns:1fr}
 body.admin-mode .admin-content :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){min-height:38px;font-size:11px}
 body.admin-mode .admin-content :where(.button,button:not(.admin-menu-close):not(.close)){min-height:34px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){body.admin-mode .admin-live-pill span{animation:none}}

