/* =====================================================================================
   GlowAuth · Graphite theme
   Visual layer only. Loaded last; changes colours, surfaces, borders, radii, type and
   transitions. No markup, scripts, event handlers or API calls are touched.
   ===================================================================================== */

@font-face{font-family:"Inter";src:url("/inter-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* ---------- 1. Tokens ---------- */
:root{
  color-scheme:dark;
  --gr-bg:#0B0C0F; --gr-bg-2:#101115; --gr-side:#0D0E11;
  --gr-card:#15171B; --gr-card-2:#191B20; --gr-elev:#1E2026; --gr-hover:#24272E; --gr-active:#202329;
  --gr-line:rgba(255,255,255,.06); --gr-line-h:rgba(255,255,255,.11); --gr-line-a:rgba(255,255,255,.15);
  --gr-t1:#F3F4F6; --gr-t2:#A1A1AA; --gr-t3:#717783; --gr-t4:#525761;
  --gr-blue:#168BFF; --gr-blue-2:#247FE5; --gr-blue-3:#51A6FF;
  --gr-green:#35C979; --gr-amber:#E8B04B; --gr-red:#F06767; --gr-purple:#9987FF;
  --gr-blue-bg:rgba(22,139,255,.12); --gr-blue-line:rgba(22,139,255,.32);
  --gr-green-bg:rgba(53,201,121,.11); --gr-green-line:rgba(53,201,121,.28);
  --gr-amber-bg:rgba(232,176,75,.11); --gr-amber-line:rgba(232,176,75,.28);
  --gr-red-bg:rgba(240,103,103,.11); --gr-red-line:rgba(240,103,103,.30);
  --gr-r:12px; --gr-r-sm:10px; --gr-r-xs:7px;
  --gr-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 28px -14px rgba(0,0,0,.55);
  --gr-shadow-pop:0 18px 48px -12px rgba(0,0,0,.7),0 2px 6px rgba(0,0,0,.4);
  --gr-ease:cubic-bezier(.2,.7,.2,1); --gr-fast:.15s;
  --gr-ring:0 0 0 3px rgba(22,139,255,.22);

  /* Re-point the tokens the existing stylesheets already read from */
  --bg:#0B0C0F; --bg-1:#0D0E11; --bg-2:#101115;
  --glass:#15171B; --glass-2:#191B20; --glass-solid:#15171B; --field:#101115;
  --line:rgba(255,255,255,.06); --line-2:rgba(255,255,255,.11); --line-3:rgba(255,255,255,.15);
  --text:#F3F4F6; --text-2:#C9CBD1; --muted:#A1A1AA; --muted-2:#717783;
  --v1:#F3F4F6; --v2:#C9CBD1; --v3:#A1A1AA; --v4:#717783; --v5:#525761; --v6:#24272E;
  --grad:linear-gradient(0deg,#168BFF,#168BFF);
  --grad-soft:linear-gradient(0deg,rgba(22,139,255,.14),rgba(22,139,255,.14));
  --grad-text:linear-gradient(0deg,#F3F4F6,#F3F4F6);
  --ok:#35C979; --warn:#E8B04B; --bad:#F06767; --info:#51A6FF;
  --r-xl:14px; --r-lg:12px; --r-md:10px; --r-sm:8px;
  --shadow:var(--gr-shadow-pop); --glow:0 0 0 1px rgba(22,139,255,.4);
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --bk-edge:none;
  --ga-surface-top:#15171B; --ga-surface-bottom:#15171B; --ga-surface-raised:#191B20;
  --ga-border:rgba(255,255,255,.06); --ga-text:#F3F4F6; --ga-text-dim:#A1A1AA;
  --ga-green:#35C979; --ga-green-bg:rgba(53,201,121,.11);
  --ga-card-bg:#15171B; --ga-edge:none;
  --ga-lift:var(--gr-shadow); --ga-lift-hover:var(--gr-shadow);
  --gx-pearl:linear-gradient(0deg,#F3F4F6,#F3F4F6); --gx-headline:linear-gradient(0deg,#F3F4F6,#F3F4F6);
  --gx-edge-hi:rgba(255,255,255,.11);
  --gx-focus:0 0 0 2px #0B0C0F,0 0 0 4px #168BFF;
  --p4-surface:none; --p4-line:rgba(255,255,255,.06); --p4-line-strong:rgba(255,255,255,.11);
  --pf-ok:#35C979;
}

/* ---------- 2. Page ---------- */
html,body{background:#0B0C0F!important;color:var(--gr-t1)}
body{font-family:var(--font)!important;font-size:14.5px;letter-spacing:-.003em;font-feature-settings:"cv11","ss01"}
body::before,body::after{display:none!important}
html body .ambient,html body .ambient-a,html body .ambient-b,html body .login-art,html body .ga-spot{display:none!important}
html body .ga-progress{background:var(--gr-blue)!important;height:2px!important;box-shadow:none!important}
::selection{background:rgba(22,139,255,.35);color:#fff}
*{scrollbar-color:#2a2d34 transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#262930;border-radius:8px;border:2px solid #0B0C0F}
::-webkit-scrollbar-thumb:hover{background:#31353d}
html body :focus-visible{outline:2px solid var(--gr-blue-3)!important;outline-offset:2px!important;box-shadow:none}
a{color:var(--gr-blue-3)}

/* ---------- 3. Typography ---------- */
html body h1,html body h2,html body h3,html body h4,html body strong,html body b,html body th{font-family:var(--font)}
html body h1{font-weight:700!important;letter-spacing:-.03em!important}
html body h2,html body h3{font-weight:600!important;letter-spacing:-.018em!important}
html body .login-copy h1,html body .dashboard-overview-copy h1,html body .hero-content h1,html body .builder-heading h1,html body .api-hero h1,html body .docs-hero h1,html body .controls-hero h1,html body .credits-card h1,html body .pn-hero h1,html body .dg-card h1{
  font-size:clamp(2rem,4.2vw,3.1rem)!important;line-height:1.08!important;
  background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--gr-t1)!important}
html body .login-copy h1 span,html body .dashboard-overview-copy h1 span,html body .hero-content h1 span,html body .builder-heading h1 span,html body .api-hero h1 span,html body .docs-hero h1 span,html body .controls-hero h1 span,html body .credits-card h1 span{color:var(--gr-blue-3)!important;-webkit-text-fill-color:currentColor!important}
html body .login-copy p,html body .dashboard-overview-copy p,html body .hero-content p,html body .builder-heading p,html body .api-hero p,html body .docs-hero p,html body .controls-hero p{
  color:var(--gr-t2)!important;font-size:1rem!important;line-height:1.65!important;max-width:60ch}
html body small,html body .muted,html body .field-hint{color:var(--gr-t3)}
html body .eyebrow,html body .dashboard-section-kicker,html body .dashboard-overview-eyebrow,html body .controls-eyebrow,html body .shop-eyebrow,html body .docs-eyebrow,html body .pn-eyebrow,html body .editor-eyebrow,html body .brand-kicker,html body .sidebar-nav-label,html body .sidebar-nav-label-tools{
  color:var(--gr-t3)!important;font-size:.7rem!important;font-weight:600!important;letter-spacing:.07em!important}

html body .dashboard-overview-eyebrow,html body .controls-eyebrow,html body .pn-eyebrow,html body .docs-eyebrow,html body .shop-eyebrow,html body .login-pill,html body .hero-chips>*,html body .docs-hero-badges>*{
  background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;border-radius:7px!important;box-shadow:none!important;padding:5px 10px!important}
html body .dashboard-overview-eyebrow::before,html body .controls-eyebrow::before{background:var(--gr-blue)!important;box-shadow:none!important}

/* ---------- 4. Header, navigation ---------- */
html body .topbar,html body .login-bar{
  background:var(--gr-side)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important;
  box-shadow:var(--gr-shadow)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .topbar::before,html body .topbar::after,html body .login-bar::before,html body .login-bar::after{display:none!important}
html body .topbar.is-scrolled{border-color:var(--gr-line-h)!important}
html body .brand-link strong,html body .login-brand strong,html body .sidebar-brand-copy strong,html body .msb-brand-copy strong{color:var(--gr-t1)!important;font-weight:650!important;letter-spacing:-.02em}
html body .brand-link strong em,html body .login-brand strong span{color:var(--gr-t1)!important;font-style:normal}
html body .brand-logo,html body .brand-logo-frame img,html body .sidebar-brand-mark img,html body .msb-mark img,html body .hero-art img{filter:none!important}
html body .brand-logo-frame,html body .sidebar-brand-mark,html body .msb-mark{background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;border-radius:10px!important;box-shadow:none!important}
html body .brand-subtitle,html body .sidebar-brand-copy small{color:var(--gr-t3)!important}

html body .login-bar-links a,html body .dashboard-tab,html body .msb-item{
  color:var(--gr-t2)!important;background:transparent!important;border:1px solid transparent!important;border-radius:9px!important;
  box-shadow:none!important;font-weight:500!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease),border-color var(--gr-fast) var(--gr-ease)!important;transform:none!important}
html body .login-bar-links a:hover,html body .dashboard-tab:hover,html body .msb-item:hover{background:var(--gr-hover)!important;color:var(--gr-t1)!important;transform:none!important}
html body .login-bar-links a.is-active,html body .dashboard-tab.is-active,html body .msb-item.is-active,html body .msb-item[aria-current="page"]{
  background:var(--gr-active)!important;background-image:none!important;color:var(--gr-t1)!important;border-color:var(--gr-line-a)!important;box-shadow:none!important}
html body .dashboard-tab .tab-icon,html body .msb-icon{color:var(--gr-t3)!important;background:none!important;border:0!important;box-shadow:none!important}
html body .dashboard-tab:hover .tab-icon,html body .msb-item:hover .msb-icon{color:var(--gr-t2)!important}
html body .dashboard-tab.is-active .tab-icon,html body .msb-item.is-active .msb-icon,html body .msb-item[aria-current="page"] .msb-icon,html body .login-bar-links a.is-active .ga-icon-svg{color:var(--gr-blue-3)!important}
html body .ga-icon-svg{stroke-width:1.75}

html body .status,html body .top-actions .status{background:transparent!important;border:0!important;color:var(--gr-t2)!important;box-shadow:none!important}
html body .status i,html body .login-live-badge i{background:var(--gr-green)!important;box-shadow:0 0 0 3px rgba(53,201,121,.16)!important}
html body .profile,html body #accountChip{background:var(--gr-card)!important;border:1px solid var(--gr-line)!important;border-radius:10px!important;box-shadow:none!important;transition:border-color var(--gr-fast) var(--gr-ease),background var(--gr-fast) var(--gr-ease)}
html body .profile:hover,html body #accountChip:hover{border-color:var(--gr-line-h)!important;background:var(--gr-card-2)!important}
html body .profile-fallback,html body .avatar{background:var(--gr-elev)!important;color:var(--gr-t1)!important;border:1px solid var(--gr-line-h)!important;box-shadow:none!important}
html body .profile small,html body .top-actions small{color:var(--gr-t3)!important}

/* mobile drawer */
html body .msb{background:var(--gr-side)!important;border-right:1px solid var(--gr-line)!important;box-shadow:var(--gr-shadow-pop)!important}
html body .msb-scrim{background:rgba(8,9,11,.72)!important}
html body .msb-head,html body .msb-foot{border-color:var(--gr-line)!important}
html body .msb-label{color:var(--gr-t3)!important}
html body .msb-close,html body .mobile-tabs-toggle{background:var(--gr-card)!important;border:1px solid var(--gr-line)!important;border-radius:10px!important;color:var(--gr-t1)!important;box-shadow:none!important}
html body .msb-close:hover,html body .mobile-tabs-toggle:hover{background:var(--gr-hover)!important;border-color:var(--gr-line-h)!important}
html body .mobile-tabs-toggle-icon i{background:var(--gr-t1)!important}
html body .msb-shop,html body .msb-shop-icon{background:var(--gr-card)!important;border:1px solid var(--gr-line)!important;border-radius:10px!important;box-shadow:none!important}

/* ---------- 5. Cards and containers ---------- */
html body .card,html body .dashboard-home-card,html body .execution-stat-card,html body .platform-stat-card,html body .metric-grid article,html body .controls-summary-card,html body .api-stat,html body .docs-topic,html body .provider-card,html body .shop-plan-card,html body .docs-code-card,html body .signed-in-panel,html body .pn-card,html body .key-manager-card,html body .files-card,html body .upload-card,html body .login-live-card,html body .login-features article,html body .login-stats,html body .dg-card,html body .pf-card,html body .execution-insights-card,html body .sc-card,html body .link-box,html body .result-card,html body .quick-card,html body .obf-choice-card,html body .credits-card,html body .ga-sc-panel,html body .script-editor,html body .script-editor-dialog,html body [class$="-card"],html body [class*="-card "]{
  background:var(--gr-card)!important;background-image:none!important;border:1px solid var(--gr-line)!important;
  border-radius:var(--gr-r)!important;box-shadow:var(--gr-shadow)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transition:border-color var(--gr-fast) var(--gr-ease),background var(--gr-fast) var(--gr-ease)!important}
html body .card::before,html body .card::after,html body .dashboard-home-card::before,html body .dashboard-home-card::after,html body .hero-panel::after,html body .hero-panel::before,html body .dashboard-overview-hero::before,html body .dashboard-overview-hero::after,html body .api-hero::after,html body .api-hero::before,html body .docs-hero::after,html body .docs-hero::before,html body .controls-hero::after,html body .controls-hero::before,html body .pn-hero::before,html body .pn-hero::after,html body .platform-stat-card::after,html body .execution-stat-card::after,html body .login-live-card::after,html body .shop-plan-card::before{display:none!important}
html body .card:hover,html body .dashboard-home-card:hover,html body .execution-stat-card:hover,html body .platform-stat-card:hover,html body .controls-summary-card:hover,html body .api-stat:hover,html body .docs-topic:hover,html body .provider-card:hover,html body .shop-plan-card:hover,html body .login-live-card:hover,html body .pn-card:hover,html body .sc-card:hover,html body [class$="-card"]:hover{border-color:var(--gr-line-h)!important;transform:none!important}
html body .card .card,html body .dashboard-home-card .card,html body [class$="-card"] [class$="-card"],html body [class$="-card"] .metric-grid article,html body .dashboard-home-card .execution-stat-card{
  background:var(--gr-card-2)!important}
html body .shop-plan-card-featured,html body .obf-choice-card.is-active,html body .obf-choice-card:has(input:checked){border-color:var(--gr-blue-line)!important;background:var(--gr-card-2)!important}

/* icon tiles */
html body .execution-stat-card>i,html body .platform-stat-card>i,html body .feature-icon,html body .tab-icon:not(.dashboard-tab .tab-icon),html body .quick-icon,html body .docs-topic-icon,html body .key-panel-picker-icon,html body .key-generator-empty-icon,html body .api-project-icon,html body .api-token-symbol,html body .execution-asset-icon,html body .recent-execution-icon,html body .script-item-glyph,html body .shop-plan-icon,html body .login-live-icon,html body .shop-dialog-mark,html body .selected-icon,html body .pn-hero-icon,html body .drop-icon,html body .api-plan-glyph,html body .api-lock-mark,html body .sc-type,html body .script-controls-empty-icon,html body .floating-shop-mark,html body .sc-spark{
  background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;border-radius:10px!important;
  color:var(--gr-t2)!important;box-shadow:none!important}
html body .login-live-card.is-primary .login-live-icon,html body .execution-stat-primary>i{color:var(--gr-blue-3)!important;background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important}

/* big numbers */
html body .execution-stat-primary>strong,html body .ga-act-tile strong,html body .login-live-card strong,html body .platform-stat-card strong,html body .execution-stat-card strong,html body .api-stat strong,html body .metric-grid article>strong,html body .login-stats b,html body #scriptsWorkspace .sc-stats dd{
  color:var(--gr-t1)!important;font-weight:650!important;letter-spacing:-.025em!important;font-variant-numeric:tabular-nums;
  background:none!important;-webkit-text-fill-color:currentColor!important}
html body .login-live-card small,html body .platform-stat-card small,html body .execution-stat-card small,html body .api-stat small,html body .metric-grid article small,html body .metric-grid article span,html body .login-stats span{color:var(--gr-t3)!important}
html body .login-live-card small:first-child,html body .platform-stat-card>div>small:first-child,html body .execution-stat-card>div>small:first-child{color:var(--gr-t2)!important}
html body .execution-insights-card{--dv-bg:#15171B;--dv-raised:#191B20;--dv-line:rgba(255,255,255,.06);--dv-line-2:rgba(255,255,255,.11);--dv-text:#F3F4F6;--dv-dim:#A1A1AA;--dv-faint:#717783}
html body .ga-act-summary{background:var(--gr-card-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important}
html body .ga-act-tile+.ga-act-tile{border-left-color:var(--gr-line)!important}
html body .execution-insights-card .execution-range-switch{background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:10px!important;padding:3px}
html body .execution-insights-card .execution-range-switch button{border-radius:7px!important;color:var(--gr-t2)!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)}
html body .execution-insights-card .execution-range-switch button:hover{color:var(--gr-t1)!important;background:var(--gr-hover)!important}
html body .execution-insights-card .execution-range-switch button.is-active{background:var(--gr-active)!important;color:var(--gr-t1)!important;box-shadow:inset 0 0 0 1px var(--gr-line-a)}

/* ---------- 6. Buttons ---------- */
html body .primary-btn,html body .editor-save-btn,html body .pn-submit,html body .shop-plan-card-featured .secondary-btn,html body [class*="primary-btn"]{
  background:var(--gr-blue)!important;background-image:none!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important;
  border-radius:var(--gr-r-sm)!important;box-shadow:0 1px 2px rgba(0,0,0,.35)!important;font-weight:600!important;
  transition:filter var(--gr-fast) var(--gr-ease),background var(--gr-fast) var(--gr-ease),box-shadow var(--gr-fast) var(--gr-ease)!important;transform:none!important}
html body .primary-btn:hover:not(:disabled),html body .editor-save-btn:hover:not(:disabled),html body .pn-submit:hover:not(:disabled){
  background:var(--gr-blue)!important;filter:brightness(1.1);box-shadow:0 1px 2px rgba(0,0,0,.35),0 0 0 3px rgba(22,139,255,.16)!important;transform:none!important}
html body .primary-btn:active:not(:disabled),html body .editor-save-btn:active:not(:disabled){filter:brightness(.96)}
html body .primary-btn:disabled,html body .editor-save-btn:disabled,html body .pn-submit:disabled{opacity:.45!important;filter:none;box-shadow:none!important}
html body .primary-btn .ga-icon-svg,html body .primary-btn b{color:#fff!important}

html body .secondary-btn,html body .logout-btn,html body .editor-cancel-btn,html body .google-button,html body .github-button,html body .shop-header-button,html body .pn-icon-btn,html body .pn-remove,html body .rp-hwid-btn,html body .provider-mini-btn,html body .editor-level-btn,html body .editor-luarn-btn,html body .edit-btn,html body .key-copy-list-button,html body .shop-close-button,html body .ga-sc-btn,html body .pn-chip,html body .pn-method{
  background:var(--gr-card-2)!important;background-image:none!important;color:var(--gr-t1)!important;border:1px solid var(--gr-line-h)!important;
  border-radius:var(--gr-r-sm)!important;box-shadow:none!important;font-weight:550!important;
  transition:background var(--gr-fast) var(--gr-ease),border-color var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)!important;transform:none!important}
html body .secondary-btn:hover:not(:disabled),html body .logout-btn:hover,html body .editor-cancel-btn:hover,html body .google-button:hover,html body .github-button:hover,html body .shop-header-button:hover,html body .pn-icon-btn:hover,html body .provider-mini-btn:hover,html body .editor-level-btn:hover,html body .editor-luarn-btn:hover,html body .edit-btn:hover,html body .key-copy-list-button:hover,html body .shop-close-button:hover,html body .ga-sc-btn:hover{background:var(--gr-hover)!important;border-color:var(--gr-line-a)!important;color:#fff!important;transform:none!important;box-shadow:none!important}
html body .secondary-btn:active:not(:disabled){background:var(--gr-active)!important}
html body .secondary-btn:disabled{opacity:.45!important}
html body .google-button b,html body .github-button b,html body .logout-btn b{background:none!important;border:0!important;color:var(--gr-t3)!important;box-shadow:none!important}
html body .google-button:hover b,html body .github-button:hover b,html body .logout-btn:hover b{color:var(--gr-t1)!important}
html body .google-button,html body .github-button{padding:12px 16px!important;min-height:46px}
html body .dg-discord-btn,html body .pf-discord-btn{border-radius:var(--gr-r-sm)!important;box-shadow:none!important;transform:none!important}

html body .danger-btn,html body .delete-btn,html body .panel-key-revoke,html body .panel-key-delete{
  background:var(--gr-red-bg)!important;background-image:none!important;color:var(--gr-red)!important;border:1px solid var(--gr-red-line)!important;
  border-radius:var(--gr-r-sm)!important;box-shadow:none!important;transition:background var(--gr-fast) var(--gr-ease),border-color var(--gr-fast) var(--gr-ease)!important}
html body .danger-btn:hover,html body .delete-btn:hover,html body .panel-key-revoke:hover,html body .panel-key-delete:hover{background:rgba(240,103,103,.18)!important;border-color:rgba(240,103,103,.5)!important;color:#ffb3b3!important}

html body .shop-header-button{color:var(--gr-t2)!important}
html body .shop-star-icon{color:var(--gr-blue-3)!important}
html body .floating-shop-banner,html body #floatingShopBanner,html body #floatingShopBanner button{border-radius:var(--gr-r-sm)!important}
html body #floatingShopBanner button,html body #floatingShopBanner a{background:var(--gr-card-2)!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t1)!important;box-shadow:var(--gr-shadow-pop)!important;backdrop-filter:none!important}

/* ---------- 7. Inputs, selects, switches ---------- */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),
html body textarea,
html body select,
html body .ga-select-trigger,
html body .pf-input,
html body .pf-textarea,
html body .pf-tag-input,
html body .source-code-input,
html body .provider-redeem-input,
html body .search-box{
  background:var(--gr-bg-2)!important;background-image:none!important;color:var(--gr-t1)!important;
  border:1px solid var(--gr-line-h)!important;border-radius:var(--gr-r-sm)!important;box-shadow:none!important;
  font-family:var(--font);transition:border-color var(--gr-fast) var(--gr-ease),box-shadow var(--gr-fast) var(--gr-ease),background var(--gr-fast) var(--gr-ease)!important}
html body textarea,html body .source-code-input{font-family:var(--mono)}
html body input::placeholder,html body textarea::placeholder{color:var(--gr-t3)!important;opacity:1}
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):hover,html body textarea:hover,html body select:hover,html body .ga-select-trigger:hover,html body .search-box:hover{
  border-color:var(--gr-line-a)!important}
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,html body textarea:focus,html body select:focus,html body .ga-select-trigger:focus,html body .ga-select.is-open .ga-select-trigger,html body .ga-select-trigger[aria-expanded="true"],html body .search-box:focus-within{
  border-color:var(--gr-blue)!important;box-shadow:var(--gr-ring)!important;outline:none!important;background:var(--gr-bg-2)!important}
html body input:disabled,html body textarea:disabled,html body select:disabled{color:var(--gr-t4)!important;opacity:.7}
html body .search-box input{border:0!important;box-shadow:none!important;background:transparent!important}
html body label,html body .panel-field>span,html body .pf-field>span,html body .pn-field>span{color:var(--gr-t2)}
html body .ga-select-arrow{color:var(--gr-t3)!important}
html body .ga-select-menu{background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;border-radius:var(--gr-r)!important;box-shadow:var(--gr-shadow-pop)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:5px!important}
html body .ga-select-option{border-radius:8px!important;color:var(--gr-t2)!important;background:transparent!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)!important}
html body .ga-select-option:hover,html body .ga-select-option.is-active,html body .ga-select-option:focus-visible{background:var(--gr-hover)!important;color:var(--gr-t1)!important}
html body .ga-select-option[aria-selected="true"],html body .ga-select-option.is-selected{background:var(--gr-active)!important;color:var(--gr-t1)!important}
html body .ga-select-check{color:var(--gr-blue-3)!important}

html body input[type=checkbox],html body input[type=radio]{accent-color:var(--gr-blue)}
html body .pf-switch-ui,html body .pn-switch-ui,html body .obf-switch-label::before{background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;box-shadow:none!important}
html body input:checked+.pf-switch-ui,html body input:checked+.pn-switch-ui,html body .pf-switch input:checked~.pf-switch-ui,html body .pn-switch input:checked~.pn-switch-ui{background:var(--gr-blue)!important;border-color:var(--gr-blue)!important}
html body .dropzone,html body #dropZone,html body .drop-zone{background:var(--gr-bg-2)!important;border:1px dashed var(--gr-line-a)!important;border-radius:var(--gr-r)!important;transition:border-color var(--gr-fast) var(--gr-ease),background var(--gr-fast) var(--gr-ease)}
html body .dropzone:hover,html body #dropZone:hover,html body .dragging{border-color:var(--gr-blue)!important;background:var(--gr-blue-bg)!important}

/* ---------- 8. Lists, tables, badges ---------- */
html body .file-list>*,html body .provider-list>*,html body .signed-in-list>li,html body .recent-execution-item,html body .panel-key-row,html body .generated-key-item,html body .api-token-row,html body .api-project-row,html body .provider-loader-row,html body .script-controls-list>*,html body .pn-list>*,html body .discord-command-list>*,html body .api-health-row,html body .credits-item,html body .key-list-toolbar,html body .execution-source-row,html body .link-box,html body .quick-item,html body .pf-link-rows>*{
  background:transparent!important;background-image:none!important;border:0!important;border-bottom:1px solid var(--gr-line)!important;
  border-radius:0!important;box-shadow:none!important;transition:background var(--gr-fast) var(--gr-ease)!important}
html body .file-list>*:last-child,html body .provider-list>*:last-child,html body .signed-in-list>li:last-child,html body .recent-execution-item:last-child,html body .panel-key-row:last-child{border-bottom:0!important}
html body .file-list>*:hover,html body .provider-list>*:hover,html body .signed-in-list>li:hover,html body .recent-execution-item:hover,html body .panel-key-row:hover,html body .generated-key-item:hover,html body .api-token-row:hover,html body .api-project-row:hover,html body .script-controls-list>*:hover,html body .pn-list>*:hover,html body .credits-item:hover{background:var(--gr-card-2)!important}
html body .ga-delivery-row,html body .recent-execution-item,html body .luarn-level-row{border-radius:var(--gr-r-sm)!important;border:1px solid var(--gr-line)!important;background:var(--gr-card-2)!important}
html body .docs-endpoint-table,html body table{border-collapse:collapse;width:100%}
html body th{color:var(--gr-t3)!important;font-size:.72rem!important;font-weight:600!important;letter-spacing:.05em;text-align:left;background:transparent!important;border-bottom:1px solid var(--gr-line-h)!important}
html body td{color:var(--gr-t1);border-bottom:1px solid var(--gr-line)!important;background:transparent!important}
html body tr:hover td{background:var(--gr-card-2)!important}
html body tr:last-child td{border-bottom:0!important}
html body .provider-list-head,html body .key-list-head{border-bottom:1px solid var(--gr-line)!important;background:transparent!important}
html body code,html body kbd,html body pre,html body .docs-code-card pre{font-family:var(--mono)!important;background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:8px!important;color:var(--gr-t1)}
html body code{padding:.1em .4em;font-size:.88em}
html body pre code{border:0!important;padding:0}

html body .limit-pill,html body .live-pill,html body .editor-state,html body .execution-history-badge,html body .key-workspace-secure,html body .api-version-tag,html body .api-plan-badge,html body .key-duration-badge,html body .api-mini-mark,html body .login-pill,html body .login-live-badge,html body .hero-chips>*,html body .docs-hero-badges>*,html body .controls-live-pill,html body .pn-badge,html body .pn-preview-tag,html body .pf-status,html body .pf-state,html body .pf-tags>*,html body .pf-chips>*,html body .sc-badge,html body .sc-badges>*,html body .signed-in-badge,html body .key-redeemer-badge,html body .panel-key-chips>*,html body .panel-key-status,html body .provider-badges>*,html body .provider-type-badge,html body .provider-state-badge,html body .ga-sc-pill,html body .ga-sc-chips>*,html body .api-token-state,html body .billing-account-status,html body .dashboard-live-status,html body .recent-execution-status,html body .pn-chips>*{
  background:var(--gr-elev)!important;background-image:none!important;color:var(--gr-t2)!important;border:1px solid var(--gr-line-h)!important;
  border-radius:7px!important;box-shadow:none!important;font-size:.74rem!important;font-weight:550!important;letter-spacing:0!important;text-transform:none}
html body .login-live-badge,html body .dashboard-live-status,html body .live-pill,html body .controls-live-pill,html body .provider-state-badge.is-active,html body .billing-account-status.is-active{
  color:var(--gr-green)!important;background:var(--gr-green-bg)!important;border-color:var(--gr-green-line)!important}
html body .login-pill,html body .api-version-tag,html body .api-plan-badge,html body .provider-type-badge,html body .sc-badge{color:var(--gr-blue-3)!important;background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important}
/* plain state text (e.g. "Joined"): colour only, never a filled bar */
html body .is-ok,html body .is-active-state{color:var(--gr-green)!important;background:none!important;border-color:transparent!important}
html body .is-warn,html body .is-pending,html body .is-expiring{color:var(--gr-amber)!important;background:none!important;border-color:transparent!important}
html body .is-error,html body .is-bad,html body .is-revoked,html body .is-banned{color:var(--gr-red)!important;background:none!important;border-color:transparent!important}
/* ...and the same states as proper chips on real badge elements */
html body [class*="badge"].is-ok,html body [class*="pill"].is-ok,html body [class*="chip"].is-ok,html body [class*="state"].is-ok,html body [class*="status"].is-ok{background:var(--gr-green-bg)!important;border-color:var(--gr-green-line)!important}
html body [class*="badge"].is-warn,html body [class*="pill"].is-warn,html body [class*="chip"].is-warn,html body [class*="state"].is-warn,html body [class*="status"].is-warn,html body [class*="badge"].is-pending{background:var(--gr-amber-bg)!important;border-color:var(--gr-amber-line)!important}
html body [class*="badge"].is-error,html body [class*="pill"].is-error,html body [class*="chip"].is-error,html body [class*="state"].is-error,html body [class*="status"].is-error,html body [class*="badge"].is-bad,html body [class*="badge"].is-revoked{background:var(--gr-red-bg)!important;border-color:var(--gr-red-line)!important}
html body .hero-chips>*,html body .docs-hero-badges>*{color:var(--gr-t2)!important}

html body .inline-error,html body .error,html body .is-invalid-note{background:var(--gr-red-bg)!important;border:1px solid var(--gr-red-line)!important;color:var(--gr-red)!important;border-radius:var(--gr-r-sm)!important}
html body .empty-state,html body .api-list-empty,html body .execution-empty-state,html body .saved-panels-empty,html body .key-generator-empty{background:transparent!important;border:1px dashed var(--gr-line-h)!important;border-radius:var(--gr-r)!important;color:var(--gr-t3)!important}
html body .empty-state strong,html body .key-generator-empty strong{color:var(--gr-t1)!important}

/* pagination / steppers / tabs */
html body .pagination button,html body .pager button,html body [class*="pagination"] button,html body [class*="pager"] button{background:var(--gr-card-2)!important;border:1px solid var(--gr-line-h)!important;border-radius:8px!important;color:var(--gr-t2)!important;box-shadow:none!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)}
html body .pagination button:hover,html body .pager button:hover,html body [class*="pagination"] button:hover,html body [class*="pager"] button:hover{background:var(--gr-hover)!important;color:var(--gr-t1)!important}
html body .pagination .is-active,html body .pager .is-active,html body [class*="pagination"] .is-active{background:var(--gr-blue)!important;border-color:var(--gr-blue)!important;color:#fff!important}
html body .progress,html body .progress-bar,html body [class*="progress-track"]{background:var(--gr-elev)!important;border-radius:999px!important}
html body .progress>i,html body .progress-bar>i,html body [class*="progress-fill"]{background:var(--gr-blue)!important;box-shadow:none!important}

/* ---------- 9. Modals, dialogs, toasts ---------- */
html body .shop-modal-backdrop,html body .clipboard-fallback-overlay{background:rgba(8,9,11,.74)!important;-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important}
html body .shop-dialog,html body .script-editor-dialog,html body .clipboard-fallback-card,html body dialog{
  background:var(--gr-card)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;border-radius:14px!important;box-shadow:var(--gr-shadow-pop)!important}
html body .shop-dialog-header,html body .shop-dialog-footer{background:transparent!important;border-color:var(--gr-line)!important}
html body .shop-dialog-content{background:transparent!important}
html body .shop-dialog-brand h2{font-size:1.35rem!important;font-weight:650!important;letter-spacing:-.02em!important}
html body .shop-close-button{border-radius:9px!important}
html body .toast,html body .ga-sc-toast{background:var(--gr-elev)!important;color:var(--gr-t1)!important;border:1px solid var(--gr-line-h)!important;border-radius:var(--gr-r-sm)!important;
  box-shadow:var(--gr-shadow-pop)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .toast{transition:opacity .2s var(--gr-ease),transform .25s var(--gr-ease)!important}

/* error monitor chip (bottom-left) */
html body .em-chip,html body .error-monitor-chip,html body [class^="em-"]{border-radius:var(--gr-r-sm)!important}

/* ---------- 10. Section-specific refinements ---------- */
html body .dg-step{background:var(--gr-card-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important}
html body .dg-step[data-state="done"] .dg-mark{background:var(--gr-green-bg)!important;border-color:var(--gr-green-line)!important;color:var(--gr-green)!important}
html body .dg-step[data-state="todo"] .dg-mark,html body .dg-step[data-state="active"] .dg-mark{background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important;color:var(--gr-blue-3)!important}
html body .dg-mark{border-radius:10px!important;background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;box-shadow:none!important}
html body .pf-link{color:var(--gr-blue-3)!important}

/* ---------- 11. Motion ---------- */
@media (prefers-reduced-motion:no-preference){
  html body .shop-dialog{animation:gr-pop .18s var(--gr-ease) both!important}
  html body .shop-modal-backdrop,html body .clipboard-fallback-overlay{animation:gr-fade .18s ease both!important}
  html body .ga-select-menu{animation:gr-pop .14s var(--gr-ease) both!important}
}
@keyframes gr-pop{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}
@keyframes gr-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* ---------- 12. Responsive ---------- */
@media (max-width:960px){
  html body .topbar,html body .login-bar{border-radius:var(--gr-r)!important}
}
@media (max-width:640px){
  body{font-size:14px}
  html body .card,html body .dashboard-home-card,html body [class$="-card"]{border-radius:var(--gr-r)!important}
  html body .login-copy h1,html body .dashboard-overview-copy h1,html body .hero-content h1,html body .builder-heading h1,html body .api-hero h1,html body .docs-hero h1,html body .controls-hero h1{font-size:clamp(1.75rem,8vw,2.3rem)!important}
}


/* ---------- 13. Round 2: stragglers found by audit ---------- */
html body .hero-content .eyebrow,html body .hero-panel .eyebrow{background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;border-radius:7px!important;padding:5px 10px!important;box-shadow:none!important}
html body .hero-chips>* i{background:var(--gr-green)!important;box-shadow:none!important}
html body .drop-icon{color:var(--gr-blue-3)!important;background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important}
html body .drop-zone{background:var(--gr-bg-2)!important;border:1px dashed var(--gr-line-a)!important;border-radius:var(--gr-r)!important;box-shadow:none!important}
html body .drop-zone:hover,html body .drop-zone.dragging{border-color:var(--gr-blue)!important;background:var(--gr-blue-bg)!important}
html body .up-steps li b,html body .pn-num,html body .discord-setup-steps li>span{background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t2)!important;box-shadow:none!important;border-radius:8px!important}
html body .up-steps li.is-active b,html body .up-steps li.is-current b,html body .up-steps li[aria-current] b,html body .up-steps[data-step="1"] li[data-s="1"] b,html body .up-steps[data-step="2"] li[data-s="2"] b,html body .up-steps[data-step="3"] li[data-s="3"] b{
  background:var(--gr-blue)!important;border-color:var(--gr-blue)!important;color:#fff!important}
html body .up-steps[data-step="2"] li[data-s="1"] b,html body .up-steps[data-step="3"] li[data-s="1"] b,html body .up-steps[data-step="3"] li[data-s="2"] b{background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important;color:var(--gr-blue-3)!important}
html body .source-editor-heading{background:var(--gr-card-2)!important;background-image:none!important;border-radius:var(--gr-r-sm)!important;border:1px solid var(--gr-line)!important}

/* floating promo */
html body .floating-shop-banner,html body .shop-fab{background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;box-shadow:var(--gr-shadow-pop)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--gr-t1)!important}
html body .floating-shop-banner{border-radius:var(--gr-r)!important}
html body .shop-fab{border-radius:var(--gr-r-sm)!important;transition:background var(--gr-fast) var(--gr-ease),border-color var(--gr-fast) var(--gr-ease)!important}
html body .shop-fab:hover{background:var(--gr-hover)!important;border-color:var(--gr-line-a)!important;transform:none!important}
html body .shop-fab .ga-icon-svg{color:var(--gr-blue-3)!important}
html body .floating-shop-mark{color:var(--gr-blue-3)!important;background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important}
html body .floating-shop-cta{background:var(--gr-blue)!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:var(--gr-r-sm)!important;box-shadow:none!important;font-weight:600!important;transition:filter var(--gr-fast) var(--gr-ease)!important}
html body .floating-shop-cta:hover{filter:brightness(1.1);transform:none!important}
html body .floating-shop-banner small{color:var(--gr-t3)!important}

/* pills -> rounded rectangles */
html body .script-controls-search,html body .docs-search,html body label.docs-search,html body .script-controls-filters,html body .api-endpoint-line,html body .api-hero-secure,html body .controls-scope,html body .docs-spec-link,html body .script-controls-filter,html body .script-controls-refresh,html body .api-kicker,html body .pn-live,html body .sc-dock,html body .pf-tabs,html body .pf-switch,html body .rp-empty{border-radius:var(--gr-r-sm)!important}
html body .script-controls-filter,html body .api-kicker,html body .pn-live,html body .docs-spec-link,html body .controls-scope{border-radius:8px!important}
html body .script-controls-filters,html body .pf-tabs,html body .script-controls-search,html body .docs-search,html body .api-endpoint-line,html body .api-hero-secure,html body .sc-dock,html body .rp-empty{background:var(--gr-bg-2)!important;background-image:none!important;border:1px solid var(--gr-line)!important;box-shadow:none!important}
html body .script-controls-filter,html body .pf-tabs button,html body .pf-tabs a{background:transparent!important;border:1px solid transparent!important;color:var(--gr-t2)!important;box-shadow:none!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)!important}
html body .script-controls-filter:hover,html body .pf-tabs button:hover,html body .pf-tabs a:hover{background:var(--gr-hover)!important;color:var(--gr-t1)!important}
html body .script-controls-filter.is-active,html body .pf-tabs .is-active,html body .pf-tabs [aria-selected="true"],html body .execution-range-switch .is-active,html body button.is-active:not(.dashboard-tab):not(.msb-item){
  background:var(--gr-active)!important;background-image:none!important;color:var(--gr-t1)!important;border-color:var(--gr-line-a)!important;box-shadow:none!important}
html body .script-controls-refresh,html body .docs-spec-link{background:var(--gr-card-2)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t1)!important;box-shadow:none!important}
html body .script-controls-refresh:hover,html body .docs-spec-link:hover{background:var(--gr-hover)!important;border-color:var(--gr-line-a)!important}
html body .api-method,html body .docs-method,html body .api-kicker,html body .pn-live,html body .controls-scope{border-radius:6px!important;background-image:none!important;box-shadow:none!important;font-weight:650!important;letter-spacing:.02em}
html body .api-method.get,html body .docs-method.docs-get{background:var(--gr-blue-bg)!important;color:var(--gr-blue-3)!important;border:1px solid var(--gr-blue-line)!important}
html body .api-method.post,html body .docs-method.docs-post{background:var(--gr-green-bg)!important;color:var(--gr-green)!important;border:1px solid var(--gr-green-line)!important}
html body .pn-live{background:var(--gr-green-bg)!important;color:var(--gr-green)!important;border:1px solid var(--gr-green-line)!important}
html body .pn-switch-ui,html body .pf-switch-ui{border-radius:999px!important}

/* controls summary grid + misc gradients */
html body .controls-summary-grid,html body .pn-preview,html body .sc-spark,html body .pn-card-head{background-image:none!important}
html body .pn-preview{background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important}
html body .api-plan-glyph,html body .sc-type,html body .script-controls-empty-icon,html body .api-lock-mark{box-shadow:none!important}

/* profile: keep the user's chosen banner / colours, but align the frame with the system */
html body .pf-hero{border-radius:14px!important;box-shadow:var(--gr-shadow)!important;border:1px solid var(--gr-line)!important}
html body .pf-banner-tools{border-radius:var(--gr-r-sm)!important}
html body .pf-avatar-fallback{background:var(--gr-elev)!important;color:var(--gr-t1)!important}
html body .pf-tabs{padding:3px!important}

/* ---------- 14. Round 3 ---------- */
html body .eyebrow{border-radius:7px!important}
html body .api-buy-unavailable,html body .drop-zone small,html body .api-endpoint-line button,html body .docs-code-top button,html body .shop-dialog-footer button,html body .api-hero-capabilities>span,html body .docs-toc a,html body .controls-summary-grid{border-radius:9px!important}
html body .api-hero-capabilities>span{background:var(--gr-elev)!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t2)!important;box-shadow:none!important;border-radius:7px!important}
html body .api-endpoint-line button,html body .docs-code-top button,html body .shop-dialog-footer button{background:var(--gr-card-2)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t1)!important;box-shadow:none!important;font-weight:550!important;transition:background var(--gr-fast) var(--gr-ease),border-color var(--gr-fast) var(--gr-ease)!important}
html body .api-endpoint-line button:hover,html body .docs-code-top button:hover,html body .shop-dialog-footer button:hover{background:var(--gr-hover)!important;border-color:var(--gr-line-a)!important}
html body .api-buy-unavailable{background:var(--gr-card-2)!important;background-image:none!important;border:1px solid var(--gr-line)!important;color:var(--gr-t3)!important;box-shadow:none!important;cursor:not-allowed}
html body .docs-toc a{background:transparent!important;border:1px solid transparent!important;color:var(--gr-t2)!important;box-shadow:none!important;transition:background var(--gr-fast) var(--gr-ease),color var(--gr-fast) var(--gr-ease)!important}
html body .docs-toc a:hover{background:var(--gr-hover)!important;color:var(--gr-t1)!important}
html body .docs-toc a.is-active,html body .docs-toc a[aria-current]{background:var(--gr-active)!important;border-color:var(--gr-line-a)!important;color:var(--gr-t1)!important}
html body .docs-number-list li>span,html body .docs-number-list li>b,html body ol>li>span.docs-step-num{background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t2)!important;box-shadow:none!important;border-radius:8px!important}
html body .shop-plan-top>span{background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t2)!important;border-radius:7px!important;box-shadow:none!important}
html body .shop-plan-card-featured .shop-plan-top>span{background:var(--gr-blue-bg)!important;border-color:var(--gr-blue-line)!important;color:var(--gr-blue-3)!important}
html body .shop-plan-card-featured .secondary-btn,html body .shop-plan-card-featured .primary-btn{background:var(--gr-blue)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}
html body .ga-mask{background-image:none!important}
html body section[class*="players"],html body [class*="players-"],html body [class^="pl-"]{background-image:none!important}

/* ---------- 15. Round 4: wrapped inputs, eyebrows ---------- */
html body .pf-input input:not(#_),html body .pf-textarea input:not(#_),html body .pf-tag-input input:not(#_),html body .pf-tag-editor input:not(#_),html body .search-box input:not(#_),html body .docs-search input:not(#_),html body .script-controls-search input:not(#_),html body .key-search-field input:not(#_),html body .api-endpoint-line input:not(#_),html body .provider-redeem-row input.provider-redeem-input:not(#_),html body .pn-field .pf-input input:not(#_){
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body .pf-input,html body .pf-tag-input,html body .pf-tag-editor{background:var(--gr-bg-2)!important}
html body .pf-input:focus-within,html body .pf-tag-input:focus-within,html body .pf-tag-editor:focus-within,html body .docs-search:focus-within,html body .script-controls-search:focus-within{
  border-color:var(--gr-blue)!important;box-shadow:var(--gr-ring)!important}
html body .pf-input input:not(#_):focus,html body .pf-tag-input input:not(#_):focus,html body .pf-tag-editor input:not(#_):focus,html body .docs-search input:not(#_):focus,html body .script-controls-search input:not(#_):focus{box-shadow:none!important;border:0!important}
html body .pf-input-prefix{color:var(--gr-t3)!important}
html body .shop-eyebrow,html body .docs-eyebrow{background:none!important;border:0!important;padding:0!important;border-radius:0!important}
html body .dashboard-overview-eyebrow,html body .controls-eyebrow,html body .pn-eyebrow,html body .login-pill,html body .hero-content .eyebrow,html body .hero-panel .eyebrow{width:fit-content}
html body .api-buy-unavailable{opacity:1!important}

/* ---------- 16. Round 5: docs ---------- */
html body .docs-steps li>span{background:var(--gr-elev)!important;background-image:none!important;border:1px solid var(--gr-line-h)!important;color:var(--gr-t2)!important;box-shadow:none!important;border-radius:8px!important}
html body .docs-steps li{background:var(--gr-card-2)!important;background-image:none!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r-sm)!important;box-shadow:none!important}
html body .docs-topic b,html body .docs-topic li b,html body .docs-number-list b{background:none!important;border:0!important;box-shadow:none!important;color:var(--gr-t1)!important;font-weight:600!important;padding:0!important}
html body .docs-hero-badges b{color:var(--gr-t3)!important;font-weight:600!important}

/* ---------- 17. Round 6 ---------- */
html body [class*="search"] input:not(#_),html body [class*="search"] input:not(#_):focus{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body [class*="search"]:focus-within{border-color:var(--gr-blue)!important;box-shadow:var(--gr-ring)!important}
html body .pn-hero-stats>*,html body .pn-stats>*,html body .pn-stat{background:var(--gr-card-2)!important;background-image:none!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r-sm)!important;box-shadow:none!important}
html body .pn-method.is-active,html body .pn-method:has(input:checked){background:var(--gr-active)!important;border-color:var(--gr-blue-line)!important}
html body .pn-method .pn-method-icon,html body .pn-method>i,html body .pn-method>span:first-child{box-shadow:none!important}

/* ---------- 18. Players panel ---------- */
html body #playersSection{background:var(--gr-card)!important;background-image:none!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important;box-shadow:var(--gr-shadow)!important}
html body #playersSection::before,html body #playersSection::after{display:none!important}
html body .rp-note{background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r-sm)!important;color:var(--gr-t2)!important;padding:10px 14px!important;font-size:.82rem}
html body .rp-note.is-warn{background:var(--gr-amber-bg)!important;border-color:var(--gr-amber-line)!important;color:var(--gr-amber)!important}
html body .rp-seg,html body .rp-tools [class*="seg"]{background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r-sm)!important;box-shadow:none!important;padding:3px}
html body .rp-seg button{border-radius:7px!important;background:transparent!important;color:var(--gr-t2)!important;box-shadow:none!important;border:1px solid transparent!important}
html body .rp-seg button.is-active{background:var(--gr-active)!important;color:var(--gr-t1)!important;border-color:var(--gr-line-a)!important}

/* ---------- 19. Drawer indicator ---------- */
html body .msb-item.is-active::before,html body .msb-item[aria-current="page"]::before{background:var(--gr-blue)!important;box-shadow:none!important}


/* ---------- 20. Discord link status: calm text block inside its panel ---------- */
html body .discord-link-status{background:var(--gr-bg-2)!important;border:1px solid var(--gr-line)!important;border-radius:var(--gr-r)!important;padding:16px!important}
html body .discord-link-status .discord-link-state,html body .discord-link-status .discord-link-state.is-linked{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;color:var(--gr-t2)!important;text-transform:none!important;font-size:.9rem!important;font-weight:500!important}
html body .discord-link-status .discord-link-state strong{color:var(--gr-t1)!important;font-size:1.02rem!important}
html body .discord-link-status .discord-link-state.is-linked strong{color:var(--gr-green)!important}
html body .discord-link-status small,html body .discord-link-status .discord-link-server{color:var(--gr-t3)!important;line-height:1.6!important}
html body .discord-link-status .discord-link-server{margin-top:2px}

/* ---------- 21. Smoothness pass ---------- */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html body button,a,html body input,html body textarea,html body select,html body [role="button"],html body summary,html body label{-webkit-tap-highlight-color:transparent}
html body button,html body .secondary-btn,html body .primary-btn,html body .danger-btn,html body .dashboard-tab,html body .msb-item,html body a[class]{
  transition-property:background-color,border-color,color,filter,box-shadow,opacity,transform!important;
  transition-duration:.16s!important;transition-timing-function:var(--gr-ease)!important}
html body .primary-btn:active:not(:disabled),html body .secondary-btn:active:not(:disabled),html body .danger-btn:active:not(:disabled),html body .shop-fab:active,html body .dashboard-tab:active,html body .msb-item:active{transform:scale(.985)!important}

@media (prefers-reduced-motion:no-preference){
  /* views and tabs ease in instead of snapping */
  html body .screen:not(.hidden){animation:gr-view .32s var(--gr-ease) both}
  html body .dashboard-section:not(.hidden){animation:gr-view .28s var(--gr-ease) both}
  html body .pf-panel:not(.hidden),html body .pf-pane:not(.hidden),html body [role="tabpanel"]:not(.hidden){animation:gr-view .24s var(--gr-ease) both}
  /* cards rise in with a short stagger */
  html body .dashboard-section:not(.hidden) :is(.card,.dashboard-home-card,.execution-stat-card,.platform-stat-card,.api-stat,.controls-summary-card,.docs-topic,.provider-card,.sc-card){animation:gr-rise .38s var(--gr-ease) both}
  html body .dashboard-section:not(.hidden) :is(.card,.dashboard-home-card,.execution-stat-card,.platform-stat-card,.api-stat,.controls-summary-card,.docs-topic,.provider-card,.sc-card):nth-child(2){animation-delay:.04s}
  html body .dashboard-section:not(.hidden) :is(.card,.dashboard-home-card,.execution-stat-card,.platform-stat-card,.api-stat,.controls-summary-card,.docs-topic,.provider-card,.sc-card):nth-child(3){animation-delay:.08s}
  html body .dashboard-section:not(.hidden) :is(.card,.dashboard-home-card,.execution-stat-card,.platform-stat-card,.api-stat,.controls-summary-card,.docs-topic,.provider-card,.sc-card):nth-child(n+4){animation-delay:.12s}
  /* sidebar drawer + scrim slide/fade */
  html body .msb{transition:transform .28s var(--gr-ease),opacity .2s ease!important}
  html body .msb-scrim{transition:opacity .24s ease!important}
  html body .toast{transition:opacity .22s var(--gr-ease),transform .28s var(--gr-ease)!important}
  /* live status dot: gentle pulse so auto-refresh feels alive */
  html body .dashboard-live-status i,html body .login-live-badge i{animation:gr-pulse 2.4s ease-in-out infinite}
}
@keyframes gr-view{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes gr-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes gr-pulse{0%,100%{box-shadow:0 0 0 3px rgba(53,201,121,.16)}50%{box-shadow:0 0 0 5px rgba(53,201,121,.04)}}

/* skeleton shimmer for loading placeholders */
html body .is-loading,html body [aria-busy="true"]{position:relative}
html body .skeleton,html body .is-skeleton{background:linear-gradient(90deg,var(--gr-card-2) 25%,var(--gr-hover) 50%,var(--gr-card-2) 75%)!important;background-size:200% 100%;animation:gr-shimmer 1.4s linear infinite;border-radius:8px}
@keyframes gr-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}

/* tidy text rendering + selection of long strings on small screens */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html body .discord-link-status,html body .card,html body [class$="-card"]{overflow-wrap:anywhere}


/* ===== Stable colours for: server "Joined" state, Linked-to card, activity clock tile =====
   These used to be restyled by several stylesheets at once (translucent layers + !important rules), which made the
   colour jump when the element was re-rendered. Everything below is solid and explicit. */

/* Server: Joined / Not joined (profile) */
html body #profileWorkspace .pf-facts dd.pf-server-state{
  display:inline-flex;align-items:center;justify-self:end;width:auto;max-width:max-content;margin-left:auto;
  padding:3px 10px;border-radius:999px;border:1px solid transparent;
  font-size:.82rem!important;font-weight:650!important;line-height:1.4;text-align:center;
  transition:none!important;animation:none!important;
}
html body #profileWorkspace .pf-facts dd.pf-server-state[data-state="joined"]{
  color:#35C979!important;background:#12251C!important;border-color:rgba(53,201,121,.28)!important}
html body #profileWorkspace .pf-facts dd.pf-server-state[data-state="not-joined"]{
  color:#E8B04B!important;background:#271F10!important;border-color:rgba(232,176,75,.28)!important}
@media (max-width:640px){
  html body #profileWorkspace .pf-facts dd.pf-server-state{margin-left:0;justify-self:start}
}

/* Linked to <name> card (Discord tab + profile) */
html body .discord-link-status{
  background:#101115!important;border:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  transition:none!important;animation:none!important;
}
html body .discord-link-status .discord-link-state strong,
html body .discord-link-status .discord-link-state.is-linked strong{color:#F3F4F6!important}
html body .discord-link-status .discord-link-state small{color:#8E94A0!important}
html body .discord-link-status .discord-link-state.is-linked::before{
  content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;
  background:#35C979;vertical-align:middle}
html body .discord-link-status .discord-link-state:not(.is-linked)::before{display:none}

/* Clock tile in "Select a day on the chart" */
html body .ga-act-placeholder .ga-ico-wrap{
  isolation:isolate;display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;
  background:#17181D!important;background-image:none!important;
  border:1px solid rgba(255,255,255,.08)!important;color:#8E94A0;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  transition:none!important;animation:none!important;
}
html body .ga-act-placeholder .ga-ico-wrap::before,
html body .ga-act-placeholder .ga-ico-wrap::after{content:none!important}
html body .ga-act-placeholder .ga-ico{width:20px;height:20px;color:inherit;stroke:currentColor}

/* ===== Activity chart: premium finish ===== */
html body .ga-act-plot{
  padding:20px 12px 8px!important;border-radius:20px!important;border:1px solid rgba(255,255,255,.08)!important;
  background:radial-gradient(120% 80% at 50% -10%,rgba(79,140,255,.07),transparent 60%),#101115!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 32px rgba(0,0,0,.28)
}
html body .ga-act-grid{stroke:rgba(255,255,255,.055)!important;stroke-dasharray:3 6!important}
html body .ga-act-axis{stroke:rgba(255,255,255,.16)!important}
html body .ga-act-ytick,html body .ga-act-xtick{fill:#6f7480!important;font-size:11px!important;font-weight:550!important;letter-spacing:.01em}
html body .ga-act-ytick{font-variant-numeric:tabular-nums}
html body .ga-act-line{stroke-width:2.4!important;filter:none!important}
html body .ga-act-glow{stroke-width:8!important;opacity:.14!important}
html body .ga-act-area{opacity:1!important}
html body .ga-act-dot:not(.is-active):not(.is-peak){display:block!important}
html body .ga-act-dot{stroke:#101115!important;stroke-width:2!important}
html body .ga-act-guide{stroke:rgba(255,255,255,.22)!important;stroke-dasharray:2 4!important}
html body .ga-act-peaktag-bg{fill:#1b1d24;stroke:rgba(255,255,255,.14);stroke-width:1}
html body .ga-act-peaktag-text{fill:#f3f4f6;font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;font-family:inherit}

/* Legend: pill chips with each source's total */
html body .ga-act-legend{gap:8px!important;margin:14px 4px 4px!important;padding:0!important}
html body .ga-act-key{
  display:inline-flex!important;align-items:center;gap:8px;padding:6px 12px!important;border-radius:999px!important;
  border:1px solid rgba(255,255,255,.08)!important;background:#15161b!important;color:#c9ccd3!important;
  font-size:.8rem!important;font-weight:600!important
}
html body .ga-act-key i{width:8px!important;height:8px!important;box-shadow:0 0 0 3px rgba(255,255,255,.04)}
html body .ga-act-key b{margin-left:2px;padding-left:8px;border-left:1px solid rgba(255,255,255,.1);color:#fff;font-weight:700;font-variant-numeric:tabular-nums}
html body .ga-act-legend-hint{flex:1 1 100%;margin:4px 2px 0!important;color:#6f7480!important;font-size:.76rem!important}
@media (min-width:640px){html body .ga-act-legend-hint{flex:0 0 auto;margin:0 0 0 auto!important}}
