:root{
  color-scheme:dark;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --sp-bg:#070b12;
  --sp-panel:#0e1724;
  --sp-panel-2:#101c2c;
  --sp-line:#20324b;
  --sp-muted:#8d9eb4;
  --sp-copy:#f3f6fb;
  --sp-purple:#7c3aed;
  --sp-blue:#328dff;
}
*{box-sizing:border-box}
html{background:var(--sp-bg)}
body{min-width:320px;margin:0;background:radial-gradient(circle at 78% -12%,rgba(124,58,237,.14),transparent 34%),linear-gradient(180deg,#080d16,var(--sp-bg));color:var(--sp-copy)}
button,input,select,textarea{font:inherit}
button,a.button,.button-link{min-height:42px;border:1px solid #7046db;border-radius:10px;background:linear-gradient(135deg,#6d28d9,#3a83f6);color:#fff;font-weight:780;cursor:pointer}
button:hover,a.button:hover,.button-link:hover{filter:brightness(1.08)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #9c6cff;outline-offset:2px}
button.ghost,.ghost,.secondary{border-color:#2c4260;background:#142237}
.danger{border-color:#753145!important;background:#3b1722!important;color:#ffc0ca!important}
input,select,textarea{width:100%;min-height:43px;padding:10px 11px;border:1px solid #273a56;border-radius:9px;background:#08111d;color:#fff}
textarea{min-height:92px;line-height:1.45;resize:vertical}
input::placeholder,textarea::placeholder{color:#667b95}
label{display:grid;gap:6px;color:#c6d1df;font-size:12px}
p,small,.muted{color:var(--sp-muted);line-height:1.5}
h1,h2,h3,h4{letter-spacing:-.02em}
.hidden{display:none!important}
.panel{border:1px solid var(--sp-line)!important;border-radius:15px!important;background:linear-gradient(150deg,var(--sp-panel-2),var(--sp-panel))!important;box-shadow:0 14px 38px rgba(0,0,0,.17)!important}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.panel-head h1,.panel-head h2,.panel-head h3,.panel-head h4,.panel-head p{margin-top:0}
.row,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.row>*{flex:1 1 160px}
.grid{display:grid;gap:14px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}
.grid.stats .panel{min-height:116px;display:grid;align-content:center}
.grid.stats span{color:var(--sp-muted);font-size:11px}
.grid.stats strong{font-size:28px;letter-spacing:-.04em}
.stack{display:grid;gap:10px}
.checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:10px 0}
.checks label{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #223651;border-radius:9px;background:#091420}
.checks input{width:auto;min-height:0}
.list{display:grid;gap:8px;margin-top:12px}
.item,.list>*{padding:10px;border:1px solid #20334d;border-radius:10px;background:#09131f}
.kv,.credential-row{display:grid;gap:7px;min-width:0}
.badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #2a4666;border-radius:999px;background:#12263e;color:#b7d8f6;font-size:10px;font-weight:800}
.empty{display:grid;min-height:220px;place-items:center;align-content:center;text-align:center}

/* Embedded Interactive and Monetization administration */
.ia-shell,.shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;min-height:100dvh;padding:18px}
.ia-sidebar,.shell>aside{position:sticky;top:18px;align-self:start;max-height:calc(100dvh - 36px);overflow:auto;padding:18px;border:1px solid var(--sp-line);border-radius:16px;background:#0b1420}
.ia-sidebar h2,.shell>aside h2{margin:0 0 4px}
.ia-sidebar>p,.shell>aside>p{margin-bottom:16px}
.ia-sidebar button,.shell>aside button,.ia-sidebar .service,.shell>aside .service{width:100%;margin-bottom:7px;text-align:left}
.ia-shell>main,.shell>main{min-width:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.ia-head,.shell main>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:18px 20px;border:1px solid var(--sp-line);border-radius:16px;background:linear-gradient(135deg,#111d2d,#0a1421)}
.ia-head h1,.shell main>header h1{margin:0 0 4px}
.ia-head p,.shell main>header p{margin:0}
.ia-head a,.shell main>header a{display:inline-flex;align-items:center;padding:9px 12px;text-decoration:none;white-space:nowrap}
.ia-shell .panel,.shell .panel{padding:17px;margin-bottom:14px}
.ia-shell .grid,.shell .grid{margin-bottom:14px}
.ia-shell main>section,.shell main>section{padding:17px}
.ia-shell .game-show-create{align-items:stretch}
.ia-shell .gs-admin-grid{min-width:0}
.ia-shell .credential-row{grid-template-columns:minmax(90px,auto) minmax(0,1fr) auto}
.ia-shell code{min-width:0;overflow-wrap:anywhere}
.shell .stat{padding:17px}
.shell .super-fee{margin-top:14px;padding:12px;border:1px solid #382a62;border-radius:10px;background:#16142a}

/* Mobile Live operator source */
.mobile-live-shell{width:min(760px,100%);padding:18px!important}
.mobile-live-head{position:sticky;z-index:5;top:0;padding:12px 0;background:rgba(7,11,18,.9);backdrop-filter:blur(12px)}
.mobile-live-card{border-color:var(--sp-line)!important;border-radius:16px!important;background:linear-gradient(150deg,var(--sp-panel-2),var(--sp-panel))!important;box-shadow:0 14px 36px rgba(0,0,0,.16)}
.mobile-live-actions button{min-height:52px}

@media(max-width:980px){
  .ia-shell,.shell{grid-template-columns:1fr;padding:12px}
  .ia-sidebar,.shell>aside{position:relative;top:auto;max-height:none}
  .ia-sidebar #serviceList,.shell>aside #services{display:flex;gap:8px;overflow-x:auto;padding-bottom:5px}
  .ia-sidebar #serviceList>*,.shell>aside #services>*{min-width:190px}
  .grid.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .ia-shell,.shell{padding:8px}
  .ia-head,.shell main>header{align-items:flex-start;flex-direction:column;padding:15px}
  .ia-head a,.shell main>header a{width:100%;justify-content:center}
  .grid.two,.grid.stats,.gs-form .row{grid-template-columns:1fr!important}
  .ia-shell .panel,.shell .panel{padding:14px}
  .row,.actions{display:grid;grid-template-columns:1fr;width:100%}
  .row>*,.actions>*{width:100%}
  .checks{grid-template-columns:1fr}
  .gs-admin-head{flex-direction:column}
  .gs-admin-links{width:100%;justify-content:stretch}
  .gs-admin-links a{flex:1 1 100%;justify-content:center}
  .credential-row,.ia-shell .credential-row{grid-template-columns:1fr!important}
  .mobile-live-shell{padding:10px!important}
}
