@font-face{font-family:"Plus Jakarta Sans";src:url("/plus-jakarta-sans.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}

:root{
  color-scheme:dark;
  --bg:#040404;
  --bg-1:#070707;
  --bg-2:#0d0d0d;
  --glass:rgba(14,14,14,.58);
  --glass-2:rgba(21,21,21,.66);
  --glass-solid:#090909;
  --field:rgba(5,5,5,.72);
  --line:rgba(113,113,113,.2);
  --line-2:rgba(139,139,139,.34);
  --line-3:rgba(170,170,170,.62);
  --text:#f6f6f6;
  --text-2:#cfcfcf;
  --muted:#a4a4a4;
  --muted-2:#7b7b7b;
  --v1:#c1c1c1;
  --v2:#999999;
  --v3:#727272;
  --v4:#717171;
  --v5:#555555;
  --v6:#383838;
  --grad:linear-gradient(135deg,#717171 0%,#6a6a6a 55%,#616161 125%);
  --grad-soft:linear-gradient(135deg,rgba(113,113,113,.3),rgba(114,114,114,.14));
  --grad-text:linear-gradient(92deg,#c0c0c0 0%,#999999 38%,#717171 100%);
  --ok:#4ade80;
  --warn:#fbbf24;
  --bad:#fb7185;
  --info:#7cb7ff;
  --r-xl:30px;
  --r-lg:24px;
  --r-md:18px;
  --r-sm:13px;
  --shadow:0 24px 70px rgba(0,0,0,.45);
  --glow:0 0 0 1px rgba(147,147,147,.32),0 12px 38px rgba(85,85,85,.38);
  --font:"Plus Jakarta Sans",Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:ui-monospace,SFMono-Regular,"JetBrains Mono",Menlo,Consolas,monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  font-family:var(--font);
  font-size:15px;
  line-height:1.5;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 8% -6%,rgba(67,67,67,.26),transparent 62%),
    radial-gradient(760px 480px at 96% 4%,rgba(52,52,52,.2),transparent 60%),
    var(--bg);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%,rgba(193,193,193,.7),transparent),
    radial-gradient(1px 1px at 28% 64%,rgba(193,193,193,.5),transparent),
    radial-gradient(1.2px 1.2px at 46% 14%,rgba(193,193,193,.55),transparent),
    radial-gradient(1px 1px at 63% 78%,rgba(193,193,193,.45),transparent),
    radial-gradient(1.4px 1.4px at 78% 36%,rgba(193,193,193,.6),transparent),
    radial-gradient(1px 1px at 91% 58%,rgba(193,193,193,.5),transparent),
    radial-gradient(1.2px 1.2px at 6% 82%,rgba(193,193,193,.45),transparent),
    radial-gradient(1px 1px at 54% 92%,rgba(193,193,193,.4),transparent);
  opacity:.7;
}
.ambient{position:fixed;pointer-events:none;z-index:0;border-radius:50%;filter:none;opacity:1}
.ambient-a{
  left:-24vw;
  bottom:-30vh;
  width:64vw;
  height:52vh;
  background:radial-gradient(ellipse at 60% 30%,rgba(85,85,85,.55),rgba(48,48,48,.34) 45%,transparent 72%);
  transform:rotate(-12deg);
}
.ambient-b{
  right:-22vw;
  bottom:-26vh;
  width:62vw;
  height:56vh;
  background:radial-gradient(ellipse at 40% 30%,rgba(113,113,113,.5),rgba(56,56,56,.3) 48%,transparent 74%);
  transform:rotate(14deg);
}
.screen{position:relative;z-index:1;min-height:100vh}
.hidden{display:none!important}
[hidden]{display:none!important}
::selection{background:rgba(114,114,114,.45);color:#fff}
img{max-width:100%}
a{color:var(--v2);text-underline-offset:3px}
a:hover{color:var(--v1)}
h1,h2,h3,h4,p{margin:0}
code,pre,kbd{font-family:var(--mono)}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--v2);outline-offset:3px;border-radius:10px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none}
.ga-icon-svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ga-loading-spinner{display:inline-block;width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;animation:ga-spin .7s linear infinite}
@keyframes ga-spin{to{transform:rotate(360deg)}}
@keyframes ga-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ga-pulse{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes ga-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

*{scrollbar-width:thin;scrollbar-color:rgba(113,113,113,.45) transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:rgba(113,113,113,.4);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:rgba(114,114,114,.6);background-clip:padding-box;border:2px solid transparent}
::-webkit-scrollbar-track{background:transparent}

.eyebrow,.dashboard-section-kicker,.editor-eyebrow,.shop-eyebrow,.controls-eyebrow,.credits-kicker{
  display:block;
  color:var(--v2);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.primary-btn,.secondary-btn,.logout-btn,.editor-save-btn,.editor-cancel-btn,.danger-btn,
.shop-header-button,.floating-shop-cta,.google-button,.github-button,.open-raw,.credits-back{
  font-family:inherit;
  cursor:pointer;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease,color .2s ease,opacity .2s ease;
}

.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  margin-top:14px;
  padding:15px 24px;
  border:1px solid rgba(193,193,193,.5);
  border-radius:999px;
  background:var(--grad);
  color:#fff;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.005em;
  box-shadow:0 0 0 1px rgba(113,113,113,.25),0 12px 34px rgba(85,85,85,.45),inset 0 1px 0 rgba(255,255,255,.28);
}
.primary-btn>b{display:inline-grid;place-items:center;font-weight:700;font-size:1.05rem;line-height:1}
.primary-btn .ga-icon-svg{width:18px;height:18px}
.primary-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 0 0 1px rgba(170,170,170,.5),0 18px 46px rgba(113,113,113,.6),inset 0 1px 0 rgba(255,255,255,.34)}
.primary-btn:active:not(:disabled){transform:translateY(0)}
.primary-btn:disabled{opacity:.42;cursor:not-allowed;box-shadow:none;filter:saturate(.6)}
.primary-btn.loading{opacity:.75;pointer-events:none}

.secondary-btn,.logout-btn,.editor-cancel-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:rgba(113,113,113,.07);
  color:var(--text-2);
  font-size:.84rem;
  font-weight:600;
  white-space:nowrap;
}
.secondary-btn:hover:not(:disabled),.logout-btn:hover,.editor-cancel-btn:hover{
  border-color:var(--line-3);
  background:rgba(113,113,113,.18);
  color:#fff;
  box-shadow:0 0 24px rgba(113,113,113,.25);
}
.secondary-btn:disabled{opacity:.45;cursor:not-allowed}
.secondary-btn .ga-icon-svg{width:16px;height:16px}
.secondary-btn b{font-weight:700}

.editor-save-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 24px;
  border:1px solid rgba(193,193,193,.5);
  border-radius:999px;
  background:var(--grad);
  color:#fff;
  font-size:.86rem;
  font-weight:700;
  box-shadow:0 10px 28px rgba(85,85,85,.4),inset 0 1px 0 rgba(255,255,255,.25);
}
.editor-save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 36px rgba(113,113,113,.55)}
.editor-save-btn:disabled{opacity:.45;cursor:not-allowed}

.danger-btn,.delete-btn{
  border:1px solid rgba(251,113,133,.35);
  background:rgba(251,113,133,.08);
  color:#fda4b4;
}
.danger-btn:hover,.delete-btn:hover{background:rgba(251,113,133,.18);border-color:rgba(251,113,133,.6);color:#fff}

label{color:inherit}
input,textarea,select{font-family:inherit;color:var(--text)}
input[type="text"],input[type="search"],input[type="number"],input[type="email"],input[type="password"],input:not([type]),textarea,select{
  width:100%;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--field);
  color:var(--text);
  font-size:.9rem;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
input::placeholder,textarea::placeholder{color:var(--muted-2)}
input:hover,textarea:hover,select:hover{border-color:var(--line-2)}
input:focus,textarea:focus,select:focus{border-color:var(--v3);box-shadow:0 0 0 4px rgba(114,114,114,.18),0 0 24px rgba(113,113,113,.2);background:rgba(7,7,7,.9)}
input[readonly]{color:var(--text-2)}
input[type="file"]{padding:9px 12px;font-size:.82rem;color:var(--muted);cursor:pointer}
input[type="file"]::file-selector-button{margin-right:12px;padding:7px 14px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.14);color:var(--text);font:inherit;font-size:.78rem;font-weight:600;cursor:pointer}
input[type="number"]{appearance:textfield;-moz-appearance:textfield}
input[type="checkbox"]{width:18px;height:18px;margin:0;padding:0;accent-color:var(--v4);cursor:pointer}
textarea{resize:vertical;line-height:1.6}
select.ga-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden;padding:0!important;border:0!important}
select:not(.ga-native-select){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c084fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:40px}
select option{background:#090909;color:var(--text)}

.panel-field{display:flex;flex-direction:column;gap:8px;min-width:0;position:relative}
.panel-field>span,.source-name-field>span,.editor-replace>span,.script-editor-name>span,.type-filter>span,.key-duration-unit>span,.source-editor-heading>label,.link-box>label{
  color:var(--text-2);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.02em;
}
.panel-field small,.field-hint{color:var(--muted-2);font-size:.76rem;line-height:1.55;font-weight:500}
.field-hint{display:block;margin-top:6px}

.ga-select{position:relative;width:100%;min-width:0}
.ga-select-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:12px 14px 12px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--field);
  color:var(--text);
  font:inherit;
  font-size:.9rem;
  text-align:left;
  cursor:pointer;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.ga-select-trigger:hover{border-color:var(--line-2)}
.ga-select.is-open .ga-select-trigger,.ga-select-trigger:focus-visible{border-color:var(--v3);box-shadow:0 0 0 4px rgba(114,114,114,.18);outline:none}
.ga-select-trigger:disabled{opacity:.5;cursor:not-allowed}
.ga-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ga-select-arrow{display:grid;place-items:center;color:var(--v2);transition:transform .2s ease}
.ga-select-arrow svg{width:16px;height:16px}
.ga-select.is-open .ga-select-arrow{transform:rotate(180deg)}
.ga-select-menu{
  position:absolute;
  z-index:80;
  top:calc(100% + 8px);
  left:0;
  right:0;
  max-height:280px;
  overflow:auto;
  padding:6px;
  border:1px solid var(--line-2);
  border-radius:16px;
  background:rgba(10,10,10,.97);
  backdrop-filter:blur(18px);
  box-shadow:0 24px 60px rgba(0,0,0,.6),0 0 40px rgba(85,85,85,.2);
}
.ga-select-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:var(--text-2);
  font:inherit;
  font-size:.86rem;
  text-align:left;
  cursor:pointer;
}
.ga-select-option:hover,.ga-select-option:focus-visible,.ga-select-option.is-active{background:rgba(113,113,113,.18);color:#fff;outline:none}
.ga-select-option[aria-selected="true"]{background:rgba(113,113,113,.26);color:#fff}
.ga-select-option:disabled{opacity:.4;cursor:not-allowed}
.ga-select-check{display:grid;place-items:center;color:var(--v2);opacity:0}
.ga-select-option[aria-selected="true"] .ga-select-check{opacity:1}

.card,.dashboard-home-card,.execution-stat-card,.metric-grid article,.controls-summary-card,.api-stat,.docs-topic,.provider-card,.shop-plan-card,.docs-code-card{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  background:linear-gradient(160deg,rgba(22,22,22,.6),rgba(10,10,10,.7));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 22px 56px rgba(0,0,0,.34);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.card,.dashboard-home-card{padding:clamp(20px,2.2vw,30px)}

.panel-card-heading,.section-top,.result-head,.files-head,.dashboard-home-card-heading,.key-list-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
}
.panel-card-heading h2,.section-top h2,.result-head h2,.files-head h2,.dashboard-home-card-heading h2{
  margin:8px 0 6px;
  font-size:clamp(1.25rem,1.8vw,1.55rem);
  font-weight:800;
  letter-spacing:-.025em;
  line-height:1.2;
}
.panel-card-heading p,.section-top p,.result-head p,.files-head p,.dashboard-home-card-heading p{
  max-width:68ch;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.65;
}
.panel-card-heading code,.docs-topic code,.discord-setup-steps code{padding:2px 8px;border-radius:8px;background:rgba(113,113,113,.16);color:var(--v1);font-size:.82em}

.limit-pill,.live-pill,.editor-state,.execution-history-badge,.key-workspace-secure,.api-version-tag,.api-plan-badge,.key-duration-badge,.api-mini-mark,.controls-live-pill,.sidebar-brand-version,.docs-hero-badges span,.hero-chips span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:rgba(113,113,113,.1);
  color:var(--text-2);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.04em;
  white-space:nowrap;
}
.live-pill,.key-workspace-secure,.controls-live-pill{border-color:rgba(74,222,128,.35);background:rgba(74,222,128,.08);color:#86efac}
.live-pill i,.key-workspace-secure i,.hero-chips i,.status i,.dashboard-live-status i,.api-health-dot,.billing-state-dot,.controls-scope-dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ok);
  box-shadow:0 0 0 4px rgba(74,222,128,.14),0 0 12px rgba(74,222,128,.6);
}

.toast{
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:200;
  transform:translate(-50%,24px);
  opacity:0;
  pointer-events:none;
  max-width:min(92vw,460px);
  padding:14px 22px;
  border:1px solid var(--line-3);
  border-radius:999px;
  background:rgba(11,11,11,.94);
  backdrop-filter:blur(16px);
  color:#fff;
  font-size:.86rem;
  font-weight:600;
  text-align:center;
  box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 36px rgba(113,113,113,.35);
  transition:opacity .25s ease,transform .25s ease;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

.inline-error,.api-feedback.is-error,.billing-feedback.is-error{
  padding:12px 16px;
  border:1px solid rgba(251,113,133,.4);
  border-radius:14px;
  background:rgba(251,113,133,.09);
  color:#fecdd6;
  font-size:.84rem;
  line-height:1.5;
}

footer{margin-top:34px;display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:10px;color:var(--muted-2);font-size:.76rem;text-align:center}
footer span{margin:0}
footer i{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--v5);opacity:.6}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.login-wrap{
  overflow-x:clip;
  position:relative;
  width:min(1480px,calc(100% - 40px));
  min-height:100vh;
  margin:0 auto;
  padding:18px 0 40px;
  display:flex;
  flex-direction:column;
  gap:28px;
}
.login-bar{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 22px;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  background:linear-gradient(150deg,rgba(19,19,19,.7),rgba(8,8,8,.74));
  backdrop-filter:blur(18px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 50px rgba(0,0,0,.4);
}
.login-brand,.brand-link,.credits-brand{display:flex;align-items:center;gap:14px;color:var(--text);text-decoration:none}
.login-brand img,.brand-link img,.credits-brand img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 6px 16px rgba(113,113,113,.55))}
.login-brand strong,.brand-link strong,.credits-brand span{font-size:1.65rem;font-weight:800;letter-spacing:-.035em;line-height:1}
.login-brand strong span,.brand-link strong em,.credits-brand span em{font-style:normal;background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.login-bar-links{display:flex;gap:6px}
.login-bar-links a,.dashboard-tab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 20px;
  border:1px solid transparent;
  border-radius:16px;
  background:transparent;
  color:var(--text-2);
  font-size:.92rem;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.login-bar-links a:hover,.dashboard-tab:hover{color:#fff;background:rgba(113,113,113,.12)}
.login-bar-links a.is-active,.dashboard-tab.is-active{
  color:#fff;
  border-color:rgba(147,147,147,.62);
  background:linear-gradient(160deg,rgba(113,113,113,.34),rgba(56,56,56,.28));
  box-shadow:0 0 0 1px rgba(113,113,113,.2),0 0 26px rgba(113,113,113,.38),inset 0 1px 0 rgba(255,255,255,.14);
}
.login-bar-links .ga-icon-svg{width:19px;height:19px}

.login-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  align-items:center;
  gap:20px;
  min-height:min(520px,58vh);
  padding:18px 10px 0 8px;
}
.login-copy{position:relative;z-index:2;max-width:680px}
.login-pill,.dashboard-overview-eyebrow,.hero-content .eyebrow,.builder-heading .eyebrow,.api-kicker,.docs-eyebrow,.controls-hero .controls-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 18px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:rgba(15,15,15,.7);
  color:var(--text);
  font-size:.82rem;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  backdrop-filter:blur(10px);
}
.login-pill .ga-icon-svg{width:16px;height:16px;fill:var(--v2);stroke:var(--v2)}
.login-copy h1{
  margin:24px 0 18px;
  font-size:clamp(3rem,6.2vw,5.3rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-.035em;
  word-spacing:.06em;
}
.login-copy h1 span,.dashboard-overview-copy h1 span,.hero-content h1 span,.builder-heading h1 span,.api-hero h1 span,.docs-hero h1 span,.controls-hero h1 span,.credits-card h1 span{
  display:block;
  background:var(--grad-text);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  padding-bottom:.06em;
}
.login-copy>p{max-width:560px;color:var(--muted);font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.65}
.login-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.google-button,.github-button{
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:58px;
  padding:0 26px;
  border-radius:999px;
  font-size:.98rem;
  font-weight:700;
}
.github-button{
  border:1px solid rgba(193,193,193,.5);
  background:var(--grad);
  color:#fff;
  box-shadow:0 0 0 1px rgba(113,113,113,.25),0 14px 38px rgba(85,85,85,.5),inset 0 1px 0 rgba(255,255,255,.28);
}
.github-button:hover{color:#fff;transform:translateY(-2px);box-shadow:0 0 0 1px rgba(170,170,170,.5),0 20px 50px rgba(113,113,113,.65),inset 0 1px 0 rgba(255,255,255,.34)}
.google-button{
  border:1px solid var(--line-2);
  background:rgba(15,15,15,.55);
  color:var(--text);
  backdrop-filter:blur(10px);
}
.google-button:hover{color:#fff;border-color:var(--line-3);background:rgba(113,113,113,.18);transform:translateY(-2px);box-shadow:0 0 30px rgba(113,113,113,.3)}
.google-button svg,.github-button svg{width:22px;height:22px;flex:0 0 auto}
.google-button b,.github-button b{margin-left:6px;font-weight:700}
.login-copy .inline-error{margin-top:20px;max-width:560px}
.login-note{display:block;max-width:560px;margin-top:22px;color:var(--muted-2);font-size:.8rem;line-height:1.7}
.login-note a{color:var(--v2);font-weight:600}
.login-art,.dashboard-overview-hero::after,.hero-panel::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after{
  content:"";
  background:url("/hero-shield.svg") center/contain no-repeat;
  pointer-events:none;
}
.login-art{position:relative;z-index:1;justify-self:end;width:min(100%,680px);aspect-ratio:680/600;animation:ga-float 7s ease-in-out infinite}
.login-features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.login-features article,.login-stats{
  border:1px solid var(--line);
  background:linear-gradient(160deg,rgba(21,21,21,.55),rgba(9,9,9,.65));
  backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 44px rgba(0,0,0,.32);
}
.login-features article{display:flex;align-items:center;gap:18px;padding:22px;border-radius:var(--r-lg)}
.feature-icon,.tab-icon,.quick-icon,.docs-topic-icon,.key-panel-picker-icon,.key-generator-empty-icon,.api-project-icon,.api-token-symbol,.execution-asset-icon,.recent-execution-icon,.script-item-glyph,.shop-plan-icon,.shop-dialog-mark,.floating-shop-mark,.api-lock-mark,.api-created-icon,.api-plan-glyph,.empty-orb,.drop-icon,.script-controls-empty-icon,.key-expiry-preview-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--line-2);
  background:linear-gradient(150deg,rgba(113,113,113,.3),rgba(31,31,31,.4));
  color:var(--v1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 22px rgba(85,85,85,.28);
}
.feature-icon{width:60px;height:60px;border-radius:18px}
.feature-icon .ga-icon-svg{width:28px;height:28px}
.login-features strong{display:block;font-size:1.02rem;font-weight:700;letter-spacing:-.01em}
.login-features small{display:block;margin-top:4px;color:var(--muted);font-size:.86rem;line-height:1.5}
.login-stats{display:grid;grid-template-columns:repeat(4,1fr);border-radius:999px;padding:22px 10px}
.login-stats div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 14px;text-align:center}
.login-stats div+div{border-left:1px solid var(--line)}
.login-stats b{font-size:1.5rem;font-weight:800;letter-spacing:-.02em}
.login-stats span{color:var(--muted);font-size:.86rem}

.dashboard-shell{overflow-x:clip;position:relative;width:min(1480px,calc(100% - 40px));margin:0 auto;padding:18px 0 56px}
.topbar{
  position:sticky;
  top:14px;
  z-index:60;
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:34px;
  padding:12px 20px;
  isolation:isolate;
}
.topbar::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  background:linear-gradient(150deg,rgba(19,19,19,.78),rgba(8,8,8,.82));
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 56px rgba(0,0,0,.45);
}
.brand-link{flex:0 0 auto}
.brand-link img{width:42px;height:42px}
.brand-logo-frame{display:contents}
.brand-link .brand-copy{display:block}
.brand-link .brand-copy small{display:none}
.brand-link strong{font-size:1.45rem}
.dashboard-nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto;min-width:0}
.dashboard-nav .sidebar-brand,.dashboard-nav .sidebar-nav-label{display:none}
.dashboard-tab{padding:10px 14px;font-size:.84rem;white-space:nowrap}
.dashboard-tab>span:last-child{display:flex;flex-direction:column;line-height:1.2}
.dashboard-tab small{display:none}
.dashboard-tab .tab-icon{width:auto;height:auto;border:0;background:none;box-shadow:none;color:var(--v2)}
.dashboard-tab .tab-icon .ga-icon-svg{width:18px;height:18px}
.dashboard-tab.is-active .tab-icon,.dashboard-tab:hover .tab-icon{color:#fff}
.shop-header-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border:1px solid var(--line-2);
  border-radius:14px;
  background:rgba(113,113,113,.1);
  color:var(--text);
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
}
.shop-header-button:hover{border-color:var(--line-3);background:rgba(113,113,113,.22);box-shadow:0 0 24px rgba(113,113,113,.3)}
.shop-star-icon{display:grid;place-items:center;color:var(--v2)}
.top-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-left:auto}
.status{display:none}
.profile{
  display:flex;
  align-items:center;
  gap:10px;
  padding:5px 14px 5px 5px;
  border:1px solid rgba(147,147,147,.5);
  border-radius:16px;
  background:linear-gradient(160deg,rgba(113,113,113,.26),rgba(56,56,56,.2));
  box-shadow:0 0 22px rgba(113,113,113,.25);
}
.profile .avatar,.profile-fallback{width:34px;height:34px;border-radius:11px;object-fit:cover}
.profile-fallback{display:grid;place-items:center;background:var(--grad);color:#fff;font-weight:800}
.profile strong{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:700;line-height:1.2}
.profile small{display:none}
.logout-btn{padding:9px 16px;border-radius:14px}
.logout-btn b{display:grid;place-items:center;color:var(--v2)}
.logout-btn .ga-icon-svg{width:15px;height:15px}
.mobile-tabs-toggle{display:none}

.dashboard-section{animation:ga-rise .4s ease both}
.dashboard-section>*+*{margin-top:22px}

.floating-shop-banner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  width:min(1480px,calc(100% - 40px));
  margin:0 auto 44px;
  padding:16px 18px 16px 22px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:linear-gradient(150deg,rgba(27,27,27,.7),rgba(9,9,9,.78));
  backdrop-filter:blur(18px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 50px rgba(0,0,0,.4),0 0 40px rgba(113,113,113,.18);
}
.floating-shop-banner.is-dismissed,#dashboardView.hidden~.floating-shop-banner{display:none}
.floating-shop-copy{display:flex;align-items:center;gap:14px;min-width:0}
.floating-shop-copy strong{display:block;font-size:.92rem;font-weight:700}
.floating-shop-copy small{display:block;color:var(--muted);font-size:.76rem;line-height:1.4}
.floating-shop-mark{width:42px;height:42px;border-radius:14px}
.floating-shop-actions{display:flex;align-items:center;gap:8px}
.floating-shop-cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 18px;
  border:1px solid rgba(193,193,193,.5);
  border-radius:999px;
  background:var(--grad);
  color:#fff;
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 8px 24px rgba(85,85,85,.45);
}
.floating-shop-cta:hover{transform:translateY(-1px)}
.floating-shop-dismiss{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:1.1rem;cursor:pointer}
.floating-shop-dismiss:hover{color:#fff;border-color:var(--line-3)}

.dashboard-overview-hero,.hero-panel,.api-hero,.docs-hero,.controls-hero,.builder-heading{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
  min-height:300px;
  padding:6px 0 10px;
}
.dashboard-overview-hero::after,.hero-panel::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after{
  position:absolute;
  z-index:0;
  top:-34px;
  right:-24px;
  width:min(52%,560px);
  aspect-ratio:680/600;
  opacity:.95;
}
.dashboard-overview-hero>*,.hero-panel>*,.api-hero>*,.docs-hero>*,.controls-hero>*,.builder-heading>*{position:relative;z-index:1}
.dashboard-overview-copy,.hero-content,.api-hero-copy,.docs-hero-copy,.controls-hero-copy,.builder-heading>div:first-child{max-width:min(660px,100%)}
.dashboard-overview-copy h1,.hero-content h1,.builder-heading h1,.api-hero h1,.docs-hero h1,.controls-hero h1{
  margin:22px 0 16px;
  font-size:clamp(2.6rem,5.2vw,4.4rem);
  font-weight:800;
  line-height:1.04;
  letter-spacing:-.035em;
  word-spacing:.05em;
}
.dashboard-overview-copy>p,.hero-content>p,.builder-heading p,.api-hero-copy>p,.docs-hero-copy>p,.controls-hero-copy>p{
  max-width:560px;
  color:var(--muted);
  font-size:clamp(.98rem,1.2vw,1.12rem);
  line-height:1.65;
}
.dashboard-overview-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--v2);box-shadow:0 0 12px var(--v2)}
.dashboard-overview-note{display:flex;align-items:center;gap:10px;margin-top:22px;color:var(--muted);font-size:.84rem}
.dashboard-overview-note span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(74,222,128,.12);color:var(--ok)}
.dashboard-overview-note .ga-icon-svg{width:14px;height:14px}
.dashboard-overview-hero{flex-direction:column;justify-content:flex-start;gap:20px;min-height:340px}
.dashboard-overview-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px;margin-top:auto}
.dashboard-live-status{display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border:1px solid rgba(74,222,128,.3);border-radius:999px;background:rgba(74,222,128,.07);color:#86efac;font-size:.76rem;font-weight:700}
.execution-dashboard-updated{color:var(--muted-2);font-size:.76rem}
.hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.hero-chips span{background:rgba(15,15,15,.6)}
.hero-art{display:none}
.hero-panel{min-height:280px}

@media (min-width:961px){
  .dashboard-tab{padding:10px 12px;gap:8px}
  .dashboard-tab>span:last-child{display:none}
  .dashboard-tab.is-active>span:last-child{display:flex}
  .dashboard-tab.is-active{padding:10px 16px}
  .profile strong{display:none}
  .profile{padding:4px}
  .logout-btn span{display:none}
  .logout-btn{padding:10px 12px}
  .shop-header-button{padding:10px 12px}
  .shop-header-button{font-size:0;gap:0}
  .shop-header-button .shop-star-icon{font-size:1rem}
}
@media (min-width:1280px){
  .profile{padding:5px 16px 5px 5px}
  .profile strong{display:block}
  .logout-btn span{display:inline}
  .logout-btn{padding:9px 16px}
}
@media (min-width:1560px){
  .shop-header-button{font-size:.82rem;gap:8px;padding:9px 16px}
}
/* Labels on every top tab need ~1240px; below that width the strip clipped the last tabs, so only the active tab shows its label. */
@media (min-width:2400px){
  .dashboard-tab{padding:10px 14px}
  .dashboard-tab>span:last-child{display:flex}
}
.execution-stat-grid,.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.execution-stat-card{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"icon label" "icon value" "icon note";
  column-gap:20px;
  align-items:center;
  padding:24px;
  overflow:hidden;
}
.execution-stat-card>i{
  grid-area:icon;
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border:1px solid var(--line-2);
  border-radius:20px;
  background:linear-gradient(150deg,rgba(113,113,113,.3),rgba(31,31,31,.4));
  color:var(--v1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 24px rgba(85,85,85,.3);
}
.execution-stat-card>i .ga-icon-svg{width:28px;height:28px}
.execution-stat-card>span,.metric-grid article>span{grid-area:label;color:var(--muted);font-size:.86rem;font-weight:600}
.execution-stat-card>strong,.metric-grid article>strong{grid-area:value;display:block;font-size:2.15rem;font-weight:800;letter-spacing:-.04em;line-height:1.15}
.execution-stat-card>small,.metric-grid article>small{grid-area:note;color:var(--muted-2);font-size:.8rem}
.execution-stat-primary{border-color:var(--line-3);background:linear-gradient(150deg,rgba(85,85,85,.38),rgba(18,18,18,.72));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 56px rgba(0,0,0,.34),0 0 44px rgba(113,113,113,.28)}
.execution-stat-primary>i{background:var(--grad);color:#fff;border-color:rgba(255,255,255,.35)}
.execution-stat-primary>strong{background:linear-gradient(90deg,#fff,#dcdcdc);-webkit-background-clip:text;background-clip:text;color:transparent}

.metric-grid{margin-top:0}
.metric-grid article{padding:24px 26px;border-radius:var(--r-lg);display:grid;grid-template-columns:1fr;gap:2px}
.metric-grid article>strong{margin:6px 0 2px}

.dashboard-section-kicker{display:flex;align-items:center;gap:8px}
.dashboard-section-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--v3);box-shadow:0 0 10px var(--v3)}
.execution-range-switch,.key-expiry-mode-switch{display:inline-flex;padding:4px;border:1px solid var(--line-2);border-radius:999px;background:rgba(5,5,5,.6)}
.execution-range-switch button,.key-expiry-mode-switch button{
  padding:8px 18px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}
.execution-range-switch button:hover,.key-expiry-mode-switch button:hover{color:#fff}
.execution-range-switch button.is-active,.key-expiry-mode-switch button.is-active{background:var(--grad);color:#fff;box-shadow:0 6px 20px rgba(85,85,85,.5)}

.execution-insights-chart{position:relative;margin-top:22px;min-height:260px;padding:22px 22px 14px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.55);overflow:hidden}
.execution-chart-bars{display:flex;align-items:stretch;gap:clamp(4px,1.4vw,18px);height:220px}
.execution-chart-bars[data-range="30"]{gap:3px}
.execution-chart-day{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;height:100%}
.execution-chart-day i{display:block;width:100%;max-width:56px;min-height:2px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#999999,#555555 70%,#303030);box-shadow:0 0 22px rgba(113,113,113,.45);transition:height .6s cubic-bezier(.2,.8,.2,1),filter .2s ease}
.execution-chart-day:hover i{filter:brightness(1.3)}
.execution-chart-day small{color:var(--muted-2);font-size:.68rem;font-weight:600;white-space:nowrap}
.execution-chart-bars[data-range="30"] .execution-chart-day small{font-size:.58rem}
.execution-chart-bars[data-range="30"] .execution-chart-day:not(:nth-child(5n+1)) small{visibility:hidden}
.execution-insights-chart .execution-empty-state{position:absolute;inset:0;background:rgba(5,5,5,.72);backdrop-filter:blur(2px)}
.execution-insights-summary{display:grid;grid-template-columns:1fr 1fr;margin-top:18px;border:1px solid var(--line);border-radius:999px;background:rgba(5,5,5,.5)}
.execution-insights-summary span{display:flex;flex-direction:column;align-items:center;padding:16px 10px;text-align:center}
.execution-insights-summary span+span{border-left:1px solid var(--line)}
.execution-insights-summary small{color:var(--muted);font-size:.8rem}
.execution-insights-summary strong{font-size:1.5rem;font-weight:800;letter-spacing:-.03em}

.execution-empty-state{display:grid;place-items:center;min-height:120px;padding:24px;border:1px dashed var(--line-2);border-radius:var(--r-md);color:var(--muted);font-size:.88rem;text-align:center}
.execution-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.execution-content-grid>*{margin:0}
.execution-source-breakdown{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.execution-source-row{padding:18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.execution-source-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.execution-source-label{display:flex;align-items:center;gap:12px;min-width:0}
.execution-source-label i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(113,113,113,.18);color:var(--v1)}
.execution-source-label i .ga-icon-svg{width:19px;height:19px}
.execution-source-label strong{font-size:.95rem;font-weight:700}
.execution-source-head>b{font-size:1.3rem;font-weight:800}
.execution-source-track{height:8px;margin:14px 0 10px;border-radius:999px;background:rgba(113,113,113,.14);overflow:hidden}
.execution-source-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#717171,#717171);box-shadow:0 0 16px rgba(114,114,114,.7);transition:width .8s cubic-bezier(.2,.8,.2,1)}
.execution-source-row small{color:var(--muted-2);font-size:.78rem}
.recent-execution-list,.execution-asset-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.recent-execution-item,.execution-asset-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  background:rgba(5,5,5,.5);
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.recent-execution-item:hover,.execution-asset-row:hover{border-color:var(--line-2);background:rgba(113,113,113,.1);transform:translateX(2px)}
.recent-execution-icon,.execution-asset-icon{width:44px;height:44px;border-radius:14px}
.recent-execution-icon .ga-icon-svg,.execution-asset-icon .ga-icon-svg{width:21px;height:21px}
.recent-execution-detail,.execution-asset-detail{display:flex;flex-direction:column;gap:3px;min-width:0}
.recent-execution-detail strong,.execution-asset-detail strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;font-weight:700}
.recent-execution-detail small,.execution-asset-detail small{color:var(--muted-2);font-size:.76rem}
.recent-execution-status,.execution-asset-state{display:inline-flex;align-items:center;justify-self:start;padding:4px 11px;border-radius:999px;font-size:.64rem;font-weight:800;letter-spacing:.08em}
.recent-execution-status,.execution-asset-state.is-active{border:1px solid rgba(74,222,128,.35);background:rgba(74,222,128,.09);color:#86efac}
.execution-asset-state.is-history{border:1px solid var(--line-2);background:rgba(113,113,113,.12);color:var(--v1)}
.execution-asset-detail .execution-asset-state{margin-top:5px}
.execution-asset-tally{display:flex;flex-direction:column;align-items:flex-end}
.execution-asset-tally strong{font-size:1.35rem;font-weight:800;letter-spacing:-.03em}
.execution-asset-tally small{color:var(--muted-2);font-size:.72rem}
.execution-disclaimer{margin-top:18px;color:var(--muted-2);font-size:.78rem;line-height:1.6}

.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.main-column,.side-column{display:flex;flex-direction:column;gap:22px;min-width:0}
.drop-zone{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:210px;
  margin-top:22px;
  border:1.5px dashed rgba(139,139,139,.45);
  border-radius:var(--r-lg);
  background:radial-gradient(circle at 50% 0%,rgba(113,113,113,.16),transparent 70%),rgba(5,5,5,.5);
  color:var(--text);
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.drop-zone:hover,.drop-zone.dragging{border-color:var(--v2);background:radial-gradient(circle at 50% 0%,rgba(114,114,114,.28),transparent 72%),rgba(8,8,8,.7);box-shadow:0 0 40px rgba(113,113,113,.25);transform:translateY(-2px)}
.drop-icon{width:62px;height:62px;border-radius:20px;margin-bottom:6px}
.drop-icon .ga-icon-svg{width:28px;height:28px}
.drop-zone strong{font-size:1.02rem;font-weight:700}
.drop-zone small{color:var(--muted);font-size:.8rem}
.selected-file{display:flex;align-items:center;gap:14px;margin-top:14px;padding:14px 16px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(113,113,113,.1)}
.selected-icon,.type-badge{display:inline-grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border:1px solid var(--line-2);border-radius:14px;background:linear-gradient(150deg,rgba(113,113,113,.3),rgba(31,31,31,.4));color:var(--v1);font-size:.7rem;font-weight:800}
.selected-file>span:nth-child(2){min-width:0;flex:1}
.selected-file strong,.selected-file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selected-file small{color:var(--muted-2);font-size:.76rem}
.selected-remove{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:1.2rem;cursor:pointer}
.selected-remove:hover{color:#fff;border-color:var(--line-3)}

.source-editor-block{margin-top:22px}
.source-editor-heading,.source-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.source-editor-heading{margin-bottom:10px}
.source-editor-private{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:.74rem;font-weight:600}
.source-editor-private i{width:7px;height:7px;border-radius:50%;background:var(--v3);box-shadow:0 0 10px var(--v3)}
.source-code-input,#editorSource,.provider-edit-card textarea{
  min-height:240px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  background:rgba(3,3,3,.85);
  color:#e3e3e3;
  font-family:var(--mono);
  font-size:.82rem;
  line-height:1.7;
  tab-size:2;
  overflow:auto;
}
.source-editor-footer{margin-top:12px}
.source-name-field{display:flex;flex-direction:column;gap:7px;flex:1 1 260px;max-width:360px}
.source-count{color:var(--muted-2);font-size:.78rem;font-weight:600}
.source-count-over{color:var(--bad)}

.obf-choice-card{margin-top:20px;padding:20px;border:1px solid var(--line-2);border-radius:var(--r-lg);background:linear-gradient(150deg,rgba(113,113,113,.14),rgba(6,6,6,.6))}
.obf-choice-top{display:flex;align-items:center;gap:16px}
.obf-spark-icon,.api-mini-mark{display:inline-grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:14px;border:1px solid var(--line-2);background:rgba(113,113,113,.2);color:var(--v1);font-size:.76rem;font-weight:800;padding:0}
.obf-choice-copy{flex:1;min-width:0}
.obf-choice-copy h3{margin:6px 0 4px;font-size:1.02rem;font-weight:700}
.obf-choice-copy p,.obf-service-note,.obf-profile-note small{color:var(--muted);font-size:.82rem;line-height:1.6}
.obf-switch{position:relative;display:inline-flex;align-items:center;gap:12px;cursor:pointer;flex:0 0 auto}
.obf-switch input{position:absolute;opacity:0;width:0;height:0}
.obf-switch>span{position:relative;width:48px;height:28px;border:1px solid var(--line-2);border-radius:999px;background:rgba(5,5,5,.8);transition:background .2s ease,border-color .2s ease}
.obf-switch>span::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--muted);transition:transform .22s ease,background .2s ease,box-shadow .2s ease}
.obf-switch input:checked+span{background:var(--grad);border-color:rgba(255,255,255,.35)}
.obf-switch input:checked+span::after{transform:translateX(20px);background:#fff;box-shadow:0 0 14px rgba(255,255,255,.6)}
.obf-switch input:focus-visible+span{box-shadow:0 0 0 4px rgba(114,114,114,.25)}
.obf-switch-label{min-width:26px;font-size:.78rem;font-weight:700;color:var(--text-2)}
.obf-options{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.obf-profile-note{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.obf-profile-note>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(113,113,113,.22);color:var(--v1);font-size:.72rem;font-weight:800;flex:0 0 auto}
.obf-profile-note p{display:flex;flex-direction:column;gap:2px}
.obf-profile-note strong{font-size:.88rem}

.result-card{border-color:var(--line-3);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 22px 56px rgba(0,0,0,.34),0 0 44px rgba(113,113,113,.22)}
.link-box{margin-top:16px}
.link-box>label{display:block;margin-bottom:8px}
.link-box>div{display:flex;gap:8px;padding:5px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8)}
.link-box input{flex:1;min-width:0;padding:10px 16px;border:0;border-radius:999px;background:transparent;font-family:var(--mono);font-size:.78rem;box-shadow:none!important}
.link-box button{flex:0 0 auto;padding:9px 20px;border:0;border-radius:999px;background:var(--grad);color:#fff;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(85,85,85,.4);transition:transform .18s ease,box-shadow .2s ease}
.link-box button:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(113,113,113,.6)}
.open-raw{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:14px 20px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.1);color:var(--text);font-size:.88rem;font-weight:700}
.open-raw:hover{border-color:var(--line-3);background:rgba(113,113,113,.2);color:#fff}

.quick-card{display:flex;flex-direction:column}
.quick-item{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.quick-item:last-child{border-bottom:0;padding-bottom:0}
.quick-icon{width:46px;height:46px;border-radius:15px}
.quick-icon .ga-icon-svg{width:21px;height:21px}
.quick-item strong{display:block;font-size:.92rem;font-weight:700}
.quick-item small{display:block;margin-top:3px;color:var(--muted);font-size:.8rem;line-height:1.5}

.files-card{display:flex;flex-direction:column;gap:22px}
.library-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.search-box,.key-search-field,.script-controls-search,.docs-search{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--field);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.search-box:focus-within,.key-search-field:focus-within,.script-controls-search:focus-within,.docs-search:focus-within{border-color:var(--v3);box-shadow:0 0 0 4px rgba(114,114,114,.18)}
.search-box{width:280px}
.search-box>span,.key-search-field>span,.script-controls-search>span,.docs-search>span{display:grid;place-items:center;color:var(--v2)}
.search-box input,.key-search-field input,.script-controls-search input,.docs-search input{flex:1;min-width:0;padding:11px 0;border:0;background:transparent;box-shadow:none!important;font-size:.86rem}
.type-filter{display:flex;align-items:center;gap:10px;min-width:0}
.type-filter .ga-select,.type-filter select{min-width:150px}
.type-filter .ga-select-trigger{border-radius:999px;padding:10px 16px}

.file-list{display:flex;flex-direction:column;gap:12px}
.file-row,.panel-key-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  background:rgba(5,5,5,.5);
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
.file-row:hover,.panel-key-row:hover{border-color:var(--line-2);background:rgba(113,113,113,.09);transform:translateY(-1px)}
.file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.file-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.file-title-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:700}
.file-info>small{color:var(--muted);font-size:.78rem}
.file-id code{padding:2px 8px;border-radius:7px;background:rgba(113,113,113,.14);color:var(--v1);font-size:.74rem}
.upload-access-badge{padding:3px 10px;border-radius:999px;font-size:.62rem;font-weight:800;letter-spacing:.07em}
.upload-access-badge.premium{border:1px solid rgba(251,191,36,.38);background:rgba(251,191,36,.09);color:#fcd34d}
.upload-access-badge.keyless{border:1px solid rgba(74,222,128,.32);background:rgba(74,222,128,.08);color:#86efac}
.file-row-actions,.panel-key-actions,.provider-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.file-row-actions a,.file-row-actions button,.panel-key-actions button,.panel-key-copy-plain,.provider-mini-btn,.script-item-copy-url,.script-item-copy-loader,.script-controls-load-more,.generated-key-copy,.generated-keys-copy-all,.clipboard-fallback-actions button,.api-copy-row button,.api-endpoint-line button,.docs-code-top button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border:1px solid var(--line-2);
  border-radius:999px;
  background:rgba(113,113,113,.1);
  color:var(--text-2);
  font:inherit;
  font-size:.76rem;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.file-row-actions a:hover,.file-row-actions button:hover,.panel-key-actions button:hover,.panel-key-copy-plain:hover,.provider-mini-btn:hover,.script-item-copy-url:hover,.script-item-copy-loader:hover,.script-controls-load-more:hover,.generated-key-copy:hover,.generated-keys-copy-all:hover,.clipboard-fallback-actions button:hover,.api-copy-row button:hover,.api-endpoint-line button:hover,.docs-code-top button:hover{background:rgba(113,113,113,.26);border-color:var(--line-3);color:#fff;box-shadow:0 0 20px rgba(113,113,113,.3)}
.file-row-actions .delete-btn,.panel-key-actions .panel-key-revoke,.panel-key-actions .panel-key-delete{border-color:rgba(251,113,133,.35);background:rgba(251,113,133,.08);color:#fda4b4}
.file-row-actions .delete-btn:hover,.panel-key-actions .panel-key-revoke:hover,.panel-key-actions .panel-key-delete:hover{background:rgba(251,113,133,.2);border-color:rgba(251,113,133,.65);color:#fff;box-shadow:0 0 20px rgba(251,113,133,.25)}
.panel-key-copy-plain.is-recovery-limited{opacity:.55}
.panel-key-copy-plain:disabled,.generated-key-copy:disabled{opacity:.5;cursor:wait}

.empty-state,.key-generator-empty,.script-controls-empty,.api-list-empty,.saved-panels-empty,.docs-no-results{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:190px;
  padding:32px 20px;
  border:1.5px dashed var(--line-2);
  border-radius:var(--r-lg);
  background:radial-gradient(circle at 50% 0%,rgba(113,113,113,.1),transparent 70%),rgba(5,5,5,.35);
  color:var(--muted);
  text-align:center;
}
.empty-state strong,.key-generator-empty strong,.script-controls-empty strong,.api-list-empty strong{margin-top:10px;color:var(--text);font-size:1.02rem;font-weight:700}
.empty-state span,.key-generator-empty p,.script-controls-empty small,.api-list-empty small{max-width:420px;font-size:.86rem;line-height:1.6;color:var(--muted)}
.empty-orb,.key-generator-empty-icon,.script-controls-empty-icon{width:56px;height:56px;border-radius:18px}
.empty-orb .ga-icon-svg,.key-generator-empty-icon .ga-icon-svg{width:26px;height:26px}
.empty-state .secondary-btn,.key-generator-empty .secondary-btn{margin-top:14px}
.api-list-empty>span{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--line-2);border-radius:16px;background:rgba(113,113,113,.18);color:var(--v1)}
.api-list-empty>span .ga-icon-svg{width:24px;height:24px}
.execution-asset-detail .execution-asset-state{align-self:flex-start}
.metric-grid article>*{grid-area:auto}
.builder-heading{flex-direction:column;justify-content:flex-start;gap:22px;min-height:300px}
.builder-heading .key-workspace-secure{margin-top:auto}

.provider-form-grid,.key-generator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.provider-form-actions{display:flex;justify-content:flex-end;margin-top:20px}
.provider-form-actions .primary-btn,.key-generator-grid+.primary-btn,.api-token-form .primary-btn,.api-project-form .primary-btn,.key-manager-card>.primary-btn{width:auto;min-width:230px;margin-top:0}
.provider-list-head,.key-list-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-top:10px}
.provider-list-head strong,.key-list-head strong{display:block;font-size:1.15rem;font-weight:800;letter-spacing:-.02em}
.provider-list-head small,.key-list-head small{display:block;margin-top:4px;color:var(--muted);font-size:.82rem;line-height:1.6;max-width:78ch}
.provider-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr));gap:20px}
.provider-list:empty{display:none}
.provider-card{display:flex;flex-direction:column;gap:16px;padding:24px;transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease}
.provider-card:hover{border-color:var(--line-3);transform:translateY(-3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 26px 60px rgba(0,0,0,.4),0 0 40px rgba(113,113,113,.2)}
.provider-card-head{display:flex;flex-direction:column;gap:10px}
.provider-card-head>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.provider-card-head strong{font-size:1.2rem;font-weight:800;letter-spacing:-.025em}
.provider-badges{display:inline-flex;gap:8px;flex-wrap:wrap}
.provider-type-badge,.provider-state-badge,.panel-key-status,.control-state-badge,.script-item-type,.api-token-state,.provider-state-badge,.discord-link-state,.api-plan-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 12px;
  border-radius:999px;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px solid var(--line-2);
  background:rgba(113,113,113,.12);
  color:var(--v1);
}
.provider-type-badge.premium{border-color:rgba(251,191,36,.4);background:rgba(251,191,36,.09);color:#fcd34d}
.provider-type-badge.keyless{border-color:rgba(124,183,255,.4);background:rgba(124,183,255,.09);color:#a9cfff}
.provider-state-badge.on,.panel-key-status.active,.control-state-badge.is-on,.api-token-state.active,.discord-link-state.is-linked{border-color:rgba(74,222,128,.38);background:rgba(74,222,128,.09);color:#86efac}
.provider-state-badge.off,.panel-key-status.revoked,.control-state-badge.is-off,.api-token-state.inactive{border-color:rgba(251,113,133,.38);background:rgba(251,113,133,.09);color:#fda4b4}
.panel-key-status.used{border-color:rgba(124,183,255,.38);background:rgba(124,183,255,.09);color:#a9cfff}
.panel-key-status.expired{border-color:rgba(251,191,36,.38);background:rgba(251,191,36,.09);color:#fcd34d}
.provider-description{color:var(--muted);font-size:.88rem;line-height:1.6}
.provider-stats small{display:block;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(5,5,5,.5);color:var(--text-2);font-size:.8rem;line-height:1.6}
.provider-loader-row,.provider-redeem-row{display:flex;gap:10px;align-items:center;padding:5px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8);min-width:0}
.provider-loader-code{flex:1;min-width:0;padding:8px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v1);font-size:.76rem}
.provider-redeem-row input{flex:1;min-width:0;padding:9px 16px;border:0;background:transparent;box-shadow:none!important;font-family:var(--mono);font-size:.8rem}
.provider-mini-btn{padding:8px 16px}
.provider-actions{padding-top:4px}
.provider-edit-card{display:flex;flex-direction:column;gap:14px;padding:24px}
.provider-edit-card label{display:flex;flex-direction:column;gap:7px;font-size:.78rem;font-weight:700;color:var(--text-2)}
.provider-edit-card textarea{min-height:90px;font-family:inherit}

.discord-link-status{margin-top:20px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5);color:var(--text-2);font-size:.9rem;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.discord-link-code-box{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.discord-link-code-row,.discord-secret-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(3,3,3,.8)}
.discord-link-code-row code,.discord-secret-value{flex:1;min-width:180px;padding:8px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v1);font-size:.92rem;letter-spacing:.08em}
.discord-secret-row{margin-top:20px}
.discord-secret-card .field-hint{margin-top:14px}
.discord-setup-steps{display:flex;flex-direction:column;gap:16px;margin:24px 0 0;padding:0;list-style:none}
.discord-setup-steps li{display:flex;gap:18px;padding:20px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.discord-setup-steps li>span{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:var(--grad);color:#fff;font-weight:800;box-shadow:0 8px 22px rgba(85,85,85,.45)}
.discord-setup-steps strong{display:block;font-size:1rem;margin-bottom:6px}
.discord-setup-steps p{color:var(--muted);font-size:.88rem;line-height:1.75;overflow-wrap:anywhere}
.discord-setup-steps b{color:var(--text)}
.discord-command-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr));gap:12px;margin:24px 0 0;padding:0;list-style:none}
.discord-command-list li{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.discord-command-list li:hover{border-color:var(--line-2);background:rgba(113,113,113,.09)}
.discord-command-list code{align-self:flex-start;padding:4px 12px;border-radius:999px;background:rgba(113,113,113,.18);color:var(--v1);font-size:.82rem;font-weight:600}
.discord-command-list span{color:var(--muted);font-size:.84rem;line-height:1.65}
.discord-setup-card a,.docs-topic a{color:var(--v2);font-weight:600}

.key-panel-picker-card{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;flex-wrap:wrap}
.key-panel-picker-intro{display:flex;align-items:center;gap:18px;flex:1 1 360px;min-width:0}
.key-panel-picker-intro h2{font-size:1.25rem;font-weight:800;letter-spacing:-.02em}
.key-panel-picker-intro p{margin-top:4px;color:var(--muted);font-size:.86rem;line-height:1.6;max-width:56ch}
.key-panel-picker-icon{width:54px;height:54px;border-radius:17px;font-size:.95rem;font-weight:800}
.key-panel-picker-controls{display:flex;align-items:flex-end;gap:12px;flex:1 1 380px;max-width:560px}
.key-panel-picker-controls .panel-field{flex:1}
.key-manager-card{display:flex;flex-direction:column;gap:22px}
.key-manager-card>*{margin:0}
.key-generator-grid{margin-top:0;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.key-custom-expiry{padding:22px;border:1px solid var(--line-2);border-radius:var(--r-lg);background:linear-gradient(150deg,rgba(113,113,113,.12),rgba(5,5,5,.5))}
.key-duration-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.key-duration-heading strong{display:block;font-size:1rem}
.key-duration-heading small{display:block;margin-top:4px;color:var(--muted);font-size:.82rem}
.key-expiry-mode-switch{margin:18px 0 6px}
.key-duration-grid,.key-exact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-top:16px}
.key-duration-unit{display:flex;flex-direction:column;gap:7px}
.key-expiry-preview{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(3,3,3,.7)}
.key-expiry-preview-icon{width:42px;height:42px;border-radius:14px}
.key-expiry-preview small{display:block;color:var(--muted-2);font-size:.72rem}
.key-expiry-preview strong{font-size:.9rem}
.generated-keys-panel{padding:22px;border:1px solid var(--line-3);border-radius:var(--r-lg);background:linear-gradient(150deg,rgba(74,222,128,.08),rgba(113,113,113,.12) 60%,rgba(5,5,5,.5));box-shadow:0 0 44px rgba(113,113,113,.18)}
.generated-keys-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.generated-keys-title strong{display:block;color:#86efac;font-size:1.02rem}
.generated-keys-title small{display:block;margin-top:4px;color:var(--muted);font-size:.82rem}
.generated-keys-head-actions{display:flex;gap:8px;align-items:center}
.generated-keys-dismiss{width:34px;height:34px;border:1px solid var(--line-2);border-radius:50%;background:transparent;color:var(--text-2);font-size:1.15rem;cursor:pointer}
.generated-keys-dismiss:hover{color:#fff;border-color:var(--line-3)}
.generated-key-items{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.generated-key-item{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 16px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8)}
.generated-key-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v1);font-size:.84rem}
.generated-keys-source{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.key-list-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.key-search-field{flex:1 1 280px}
.key-status-field{display:flex;align-items:center;gap:10px;min-width:200px}
.key-status-field .ga-select-trigger{border-radius:999px;padding:10px 16px}
.key-list-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.panel-keys-list{display:flex;flex-direction:column;gap:12px}
.panel-key-row{flex-wrap:wrap}
.panel-key-info{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:6px}
.panel-key-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.panel-key-title-row strong{font-family:var(--mono);font-size:1rem;letter-spacing:.06em}
.panel-key-info>small{color:var(--muted);font-size:.78rem;line-height:1.6}
.panel-key-action-placeholder{display:none}
.discord-link-status .discord-link-state,.discord-link-status>*{padding:0;border:0;background:none;border-radius:0;text-transform:none;letter-spacing:0;font-size:.88rem;font-weight:600;color:var(--text-2)}
.discord-link-status strong{color:#fff;font-weight:800}
.discord-link-status .discord-link-state.is-linked strong{color:#86efac}
.api-hero{flex-direction:column;justify-content:flex-start;gap:24px;min-height:320px}
.api-hero-topline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.api-kicker{margin:0}
.api-version-tag{padding:8px 16px;border-color:rgba(74,222,128,.35);background:rgba(74,222,128,.07);color:#86efac}
.api-version-tag i{width:7px;height:7px;border-radius:50%;background:var(--ok);box-shadow:0 0 10px var(--ok)}
.api-hero-capabilities{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.api-hero-capabilities span{display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border:1px solid var(--line-2);border-radius:999px;background:rgba(15,15,15,.6);color:var(--text-2);font-size:.8rem;font-weight:600}
.api-hero-capabilities b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(74,222,128,.14);color:var(--ok)}
.api-hero-capabilities b .ga-icon-svg{width:12px;height:12px}
.api-hero-side{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px}
.api-hero-secure{display:flex;align-items:center;gap:12px;padding:8px 18px 8px 8px;border:1px solid var(--line);border-radius:999px;background:rgba(15,15,15,.6)}
.api-lock-mark{width:40px;height:40px;border-radius:50%}
.api-lock-mark .ga-icon-svg{width:19px;height:19px}
.api-hero-secure strong{display:block;font-size:.84rem}
.api-hero-secure small{display:block;color:var(--muted);font-size:.74rem}
.api-doc-link{padding:11px 20px}
.api-health-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 20px;border:1px solid var(--line);border-radius:999px;background:rgba(14,14,14,.55);color:var(--text-2);font-size:.86rem;font-weight:600;width:fit-content;max-width:100%}
.api-health-dot.is-warning,.api-health-warning .api-health-dot{background:var(--warn);box-shadow:0 0 0 4px rgba(251,191,36,.14),0 0 12px rgba(251,191,36,.6)}
.api-plan-badge{margin-left:6px}
.api-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.api-stat{padding:24px;display:flex;flex-direction:column;gap:2px}
.api-stat>span{color:var(--muted);font-size:.84rem;font-weight:600}
.api-stat>strong{margin:8px 0 4px;font-size:2.1rem;font-weight:800;letter-spacing:-.04em;line-height:1.1}
.api-stat>small{color:var(--muted-2);font-size:.78rem;line-height:1.5}
.api-progress-track{height:8px;margin-top:14px;border-radius:999px;background:rgba(113,113,113,.14);overflow:hidden}
.api-progress-track i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#717171,#717171);box-shadow:0 0 16px rgba(114,114,114,.7);transition:width .8s cubic-bezier(.2,.8,.2,1)}
.api-layout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.api-layout-grid>*{margin:0}
.api-token-form,.api-project-form{display:flex;flex-direction:column;gap:18px;margin-top:24px}
.api-scope-heading{display:flex;flex-direction:column;gap:2px;margin-top:4px}
.api-scope-heading strong{font-size:.92rem}
.api-scope-heading small{color:var(--muted);font-size:.8rem}
.api-scope-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.api-scope-grid label{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5);cursor:pointer;transition:border-color .2s ease,background .2s ease}
.api-scope-grid label:hover{border-color:var(--line-2);background:rgba(113,113,113,.09)}
.api-scope-grid label:has(input:checked){border-color:var(--line-3);background:rgba(113,113,113,.16)}
.api-scope-grid input{margin-top:2px}
.api-scope-grid span{display:flex;flex-direction:column;gap:2px;min-width:0}
.api-scope-grid b{font-size:.86rem;font-weight:700}
.api-scope-grid small{color:var(--muted);font-size:.76rem;line-height:1.45}
.api-created-token{margin-top:22px;padding:20px;border:1px solid rgba(74,222,128,.4);border-radius:var(--r-lg);background:linear-gradient(150deg,rgba(74,222,128,.1),rgba(5,5,5,.5))}
.api-created-heading{display:flex;align-items:center;gap:14px}
.api-created-icon{width:44px;height:44px;border-radius:50%;border-color:rgba(74,222,128,.4);background:rgba(74,222,128,.14);color:var(--ok);box-shadow:none}
.api-created-heading strong{display:block;color:#86efac}
.api-created-heading small{display:block;color:var(--muted);font-size:.8rem}
.api-copy-row{display:flex;gap:8px;margin-top:16px;padding:5px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8)}
.api-copy-row input,.api-copy-row code{flex:1;min-width:0;padding:9px 16px;border:0;background:transparent;box-shadow:none!important;color:var(--v1);font-family:var(--mono);font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.api-feedback,.billing-feedback{margin-top:16px;padding:12px 16px;border:1px solid var(--line-2);border-radius:14px;background:rgba(113,113,113,.1);color:var(--text-2);font-size:.84rem;line-height:1.55}
.api-feedback.is-success,.billing-feedback.is-success{border-color:rgba(74,222,128,.4);background:rgba(74,222,128,.09);color:#bbf7d0}
.billing-account-status{display:flex;align-items:center;gap:12px;margin-top:20px;padding:12px 18px;border:1px solid var(--line);border-radius:999px;background:rgba(5,5,5,.5);color:var(--text-2);font-size:.84rem;font-weight:600}
.api-plan-current{margin-top:18px}
.api-plan-current>div{display:flex;align-items:center;gap:16px}
.api-plan-glyph{width:52px;height:52px;border-radius:17px}
.api-plan-glyph .ga-icon-svg{width:24px;height:24px}
.api-plan-current strong{display:block;font-size:1.15rem;font-weight:800}
.api-plan-current small{display:block;color:var(--muted);font-size:.82rem}
.api-plan-features{display:grid;gap:10px;margin-top:20px}
.api-plan-features>div{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.api-plan-features>div>span{display:grid;place-items:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:rgba(74,222,128,.14);color:var(--ok)}
.api-plan-features>div>span .ga-icon-svg{width:14px;height:14px}
.api-plan-features p{display:flex;flex-direction:column;gap:2px}
.api-plan-features strong{font-size:.88rem}
.api-plan-features small{color:var(--muted);font-size:.78rem}
.api-roadmap-note{margin-top:18px;padding:16px 18px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(113,113,113,.1);color:var(--text-2);font-size:.84rem;line-height:1.65}
.api-roadmap-note strong{color:#fff}
.api-roadmap-note .secondary-btn,.api-roadmap-note .primary-btn{margin-top:12px;width:auto}
.api-pricing-footnote{margin-top:16px;color:var(--muted-2);font-size:.76rem;line-height:1.65}
.api-project-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}
.api-project-list,.api-token-list{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.api-project-row,.api-token-row{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5);transition:border-color .2s ease,background .2s ease}
.api-project-row:hover,.api-token-row:hover{border-color:var(--line-2);background:rgba(113,113,113,.09)}
.api-project-icon,.api-token-symbol{width:46px;height:46px;border-radius:15px}
.api-project-icon .ga-icon-svg,.api-token-symbol .ga-icon-svg{width:21px;height:21px}
.api-project-info,.api-token-row-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.api-project-info strong,.api-token-row-info strong{font-size:.96rem;font-weight:700}
.api-project-info code,.api-token-prefix{align-self:flex-start;padding:2px 10px;border-radius:8px;background:rgba(113,113,113,.14);color:var(--v1);font-size:.74rem}
.api-project-info small,.api-token-row-info small{color:var(--muted);font-size:.78rem;line-height:1.55}
.api-token-scopes{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.api-token-scopes span{padding:3px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(113,113,113,.1);color:var(--text-2);font-size:.68rem;font-weight:600}
.api-token-actions{display:flex;gap:8px;flex-wrap:wrap}
.api-token-actions button,.api-project-archive{padding:8px 16px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.1);color:var(--text-2);font:inherit;font-size:.76rem;font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.api-token-actions button:hover,.api-project-archive:hover{background:rgba(113,113,113,.26);border-color:var(--line-3);color:#fff}
.api-token-revoke{border-color:rgba(251,113,133,.35)!important;background:rgba(251,113,133,.08)!important;color:#fda4b4!important}
.api-token-revoke:hover{background:rgba(251,113,133,.2)!important;color:#fff!important}
.api-load-error{border-color:rgba(251,113,133,.4)}
.api-buy-unavailable{opacity:.6}
.api-endpoint-line{display:flex;align-items:center;gap:14px;margin-top:22px;padding:8px 8px 8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8)}
.api-endpoint-line code,.docs-endpoint-table code,.api-doc-endpoints code{flex:1;min-width:0;color:var(--v1);font-size:.84rem;overflow-wrap:anywhere}
.api-method,.docs-method{display:inline-flex;align-items:center;justify-content:center;min-width:56px;padding:4px 12px;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.08em}
.api-method.get,.docs-get,.get{border:1px solid rgba(74,222,128,.38);background:rgba(74,222,128,.09);color:#86efac}
.api-method.post,.docs-post,.post{border:1px solid rgba(124,183,255,.4);background:rgba(124,183,255,.1);color:#a9cfff}
.api-method.put,.api-method.patch,.docs-method.docs-put{border:1px solid rgba(251,191,36,.4);background:rgba(251,191,36,.1);color:#fcd34d}
.api-method.delete,.docs-method.docs-delete{border:1px solid rgba(251,113,133,.4);background:rgba(251,113,133,.1);color:#fda4b4}
.api-code,.docs-code-card pre{margin:18px 0 0;padding:20px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(3,3,3,.85);color:#e3e3e3;font-size:.8rem;line-height:1.75;overflow:auto}
.api-code code,.docs-code-card pre code{font-family:var(--mono);background:none;padding:0;color:inherit}
.api-doc-endpoints{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:10px;margin-top:18px}
.api-doc-endpoints>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.api-doc-endpoints small{width:100%;color:var(--muted);font-size:.78rem}
.api-open-spec{margin-top:18px}
.api-tokens-list-card .panel-card-heading .secondary-btn{align-self:center}
.api-projects-card,.api-tokens-list-card,.api-docs-card{margin:0}
.api-projects-card,.api-tokens-list-card,.api-docs-card{grid-column:1/-1}
.docs-hero-mark,.controls-hero-visual{display:none}
.docs-hero,.controls-hero{flex-direction:column;justify-content:flex-start;min-height:320px}
.docs-eyebrow span,.controls-scope-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--v2);box-shadow:0 0 12px var(--v2)}
.docs-hero-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.docs-hero-badges span{background:rgba(15,15,15,.6)}
.docs-hero-badges b{color:var(--v2);font-weight:800}
.docs-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.docs-search{flex:1 1 340px;padding:4px 8px 4px 20px;min-height:56px}
.docs-search input{font-size:.92rem}
.docs-search kbd{padding:5px 12px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.12);color:var(--muted);font-family:var(--font);font-size:.64rem;font-weight:800;letter-spacing:.1em}
.docs-spec-link{display:inline-flex;align-items:center;gap:8px;padding:15px 24px;border:1px solid rgba(193,193,193,.5);border-radius:999px;background:var(--grad);color:#fff;font-size:.88rem;font-weight:700;text-decoration:none;box-shadow:0 12px 32px rgba(85,85,85,.42);transition:transform .18s ease,box-shadow .2s ease}
.docs-spec-link:hover{color:#fff;transform:translateY(-2px);box-shadow:0 18px 44px rgba(113,113,113,.6)}
.docs-toc{display:flex;flex-wrap:wrap;gap:10px}
.docs-toc a{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:rgba(14,14,14,.55);color:var(--text-2);font-size:.82rem;font-weight:600;text-decoration:none;transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}
.docs-toc a span{color:var(--v2);font-weight:800}
.docs-toc a:hover,.docs-toc a.is-active{border-color:rgba(147,147,147,.62);background:linear-gradient(160deg,rgba(113,113,113,.32),rgba(56,56,56,.26));color:#fff;box-shadow:0 0 26px rgba(113,113,113,.32)}
.docs-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.docs-content-grid>*{margin:0}
.docs-topic{display:flex;flex-direction:column;gap:22px;padding:clamp(22px,2.4vw,32px);scroll-margin-top:110px}
.docs-topic-wide{grid-column:1/-1}
.docs-topic-heading{display:flex;align-items:center;gap:18px}
.docs-topic-heading h2{margin:4px 0 4px;font-size:1.45rem;font-weight:800;letter-spacing:-.03em}
.docs-topic-heading p{color:var(--muted);font-size:.88rem;line-height:1.6}
.docs-topic-icon{width:54px;height:54px;border-radius:17px;font-size:.95rem;font-weight:800}
.docs-blue{color:#a9cfff}
.docs-cyan{color:#8bece0}
.docs-amber{color:#fcd34d}
.docs-green{color:#86efac}
.docs-violet{color:var(--v1)}
.docs-subsection{display:flex;flex-direction:column;gap:12px}
.docs-subsection h3{font-size:1.02rem;font-weight:700;letter-spacing:-.01em}
.docs-subsection>p,.docs-topic p,.docs-muted-copy{color:var(--muted);font-size:.88rem;line-height:1.75}
.docs-topic b{color:var(--text)}
.docs-steps,.docs-number-list,.docs-bullet-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.docs-steps li{display:flex;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5)}
.docs-steps li>span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--grad);color:#fff;font-weight:800;font-size:.86rem;box-shadow:0 6px 18px rgba(85,85,85,.45)}
.docs-steps strong{display:block;margin-bottom:4px;font-size:.96rem}
.docs-number-list{counter-reset:docs-n}
.docs-number-list li{position:relative;padding:2px 0 2px 44px;color:var(--muted);font-size:.88rem;line-height:1.7;counter-increment:docs-n}
.docs-number-list li::before{content:counter(docs-n);position:absolute;left:0;top:1px;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line-2);border-radius:50%;background:rgba(113,113,113,.16);color:var(--v1);font-size:.76rem;font-weight:800}
.docs-bullet-list li{position:relative;padding-left:26px;color:var(--muted);font-size:.88rem;line-height:1.7}
.docs-bullet-list li::before{content:"";position:absolute;left:4px;top:.65em;width:8px;height:8px;border-radius:50%;background:var(--v3);box-shadow:0 0 10px var(--v3)}
.docs-mini-cards,.docs-definition-list,.docs-scope-list,.docs-endpoint-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.docs-endpoint-table,.docs-scope-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.docs-mini-cards article,.docs-definition-list>div,.docs-scope-list>div,.docs-endpoint-table>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5);transition:border-color .2s ease,background .2s ease}
.docs-mini-cards article:hover,.docs-definition-list>div:hover,.docs-scope-list>div:hover,.docs-endpoint-table>div:hover{border-color:var(--line-2);background:rgba(113,113,113,.09)}
.docs-mini-cards b,.docs-definition-list b{font-size:.92rem}
.docs-mini-cards p,.docs-definition-list p,.docs-endpoint-table p,.docs-scope-list span{font-size:.82rem;line-height:1.65;color:var(--muted)}
.docs-scope-list code{padding:3px 10px;border-radius:999px;background:rgba(113,113,113,.18);color:var(--v1);font-size:.78rem}
.docs-endpoint-table>div{flex-direction:row;flex-wrap:wrap;align-items:center}
.docs-endpoint-table p{width:100%}
.docs-note{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(113,113,113,.1)}
.docs-note>span{display:grid;place-items:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:rgba(113,113,113,.26);color:var(--v1);font-size:.78rem;font-weight:800}
.docs-note p{color:var(--text-2);font-size:.86rem;line-height:1.7}
.docs-note strong{color:#fff}
.docs-note-warn{border-color:rgba(251,191,36,.36);background:rgba(251,191,36,.07)}
.docs-note-warn>span{background:rgba(251,191,36,.2);color:#fcd34d}
.docs-note-info{border-color:rgba(124,183,255,.34);background:rgba(124,183,255,.07)}
.docs-note-info>span{background:rgba(124,183,255,.2);color:#a9cfff}
.docs-code-card{padding:0;overflow:hidden;background:rgba(3,3,3,.85)}
.docs-code-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;border-bottom:1px solid var(--line);color:var(--muted);font-size:.76rem;font-weight:700}
.docs-code-card pre{margin:0;border:0;border-radius:0;background:transparent}
.docs-troubleshoot-list{display:flex;flex-direction:column;gap:10px}
.docs-troubleshoot-list details{border:1px solid var(--line);border-radius:var(--r-md);background:rgba(5,5,5,.5);overflow:hidden;transition:border-color .2s ease}
.docs-troubleshoot-list details[open]{border-color:var(--line-2)}
.docs-troubleshoot-list summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;color:var(--text);font-size:.9rem;font-weight:700;cursor:pointer;list-style:none}
.docs-troubleshoot-list summary::-webkit-details-marker{display:none}
.docs-troubleshoot-list summary::after{content:"";flex:0 0 auto;width:9px;height:9px;border-right:2px solid var(--v2);border-bottom:2px solid var(--v2);transform:rotate(45deg);transition:transform .2s ease}
.docs-troubleshoot-list details[open] summary::after{transform:rotate(-135deg)}
.docs-troubleshoot-list details p{padding:0 18px 18px}
.docs-no-results{min-height:120px}
.docs-footer,.controls-footer-brand,.controls-footer-note{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted-2);font-size:.78rem;text-align:center}
.docs-footer i,.controls-footer-brand i{width:4px;height:4px;border-radius:50%;background:var(--v5)}
.docs-inline-link,.docs-footer a{color:var(--v2);font-weight:600}

.controls-hero-copy{max-width:min(660px,100%)}
.controls-live-pill{padding:8px 16px}
.controls-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line-2);border-radius:999px;background:linear-gradient(150deg,rgba(21,21,21,.6),rgba(8,8,8,.7));backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 50px rgba(0,0,0,.35)}
.controls-summary-card{display:flex;flex-direction:column;align-items:center;gap:2px;padding:24px 16px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;text-align:center}
.controls-summary-card+.controls-summary-card{border-left:1px solid var(--line)}
.controls-summary-card>span{color:var(--muted);font-size:.7rem;font-weight:800;letter-spacing:.12em}
.controls-summary-card>strong{font-size:2.1rem;font-weight:800;letter-spacing:-.04em;line-height:1.2}
.controls-summary-card>small{color:var(--muted-2);font-size:.78rem}
.controls-settings-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.controls-settings-heading h2{font-size:1.45rem;font-weight:800;letter-spacing:-.03em;margin:6px 0}
.controls-settings-heading p{color:var(--muted);font-size:.88rem;line-height:1.65}
.controls-scope{display:inline-flex;align-items:center;gap:9px;padding:7px 14px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.1);color:var(--text-2);font-size:.72rem;font-weight:700}
.script-controls-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0}
.script-controls-search{flex:1 1 300px}
.script-controls-filters{display:inline-flex;padding:4px;border:1px solid var(--line-2);border-radius:999px;background:rgba(5,5,5,.6)}
.script-controls-filter{padding:8px 18px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}
.script-controls-filter.is-active,.script-controls-filter[aria-pressed="true"]{background:var(--grad);color:#fff;box-shadow:0 6px 20px rgba(85,85,85,.5)}
.script-controls-list{display:flex;flex-direction:column;gap:14px}
.script-control-item{display:flex;align-items:flex-start;gap:18px;padding:20px;border:1px solid var(--line);border-radius:var(--r-lg);background:rgba(5,5,5,.5);transition:border-color .2s ease,background .2s ease,transform .2s ease}
.script-control-item:hover{border-color:var(--line-2);background:rgba(113,113,113,.08)}
.script-item-glyph{width:52px;height:52px;border-radius:17px}
.script-item-glyph .ga-icon-svg{width:24px;height:24px}
.script-item-primary{flex:1;min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.script-item-main{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:8px}
.script-item-title-row{display:flex;gap:8px;flex-wrap:wrap}
.script-item-title{font-size:1.08rem;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere}
.script-item-subtitle{color:var(--muted);font-size:.84rem}
.script-item-endpoint{display:flex;align-items:center;gap:10px;padding:5px 5px 5px 16px;border:1px solid var(--line);border-radius:999px;background:rgba(3,3,3,.8);min-width:0}
.script-item-endpoint code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v1);font-size:.76rem}
.script-item-actions{display:flex;gap:8px;flex-wrap:wrap}
.control-switch{display:inline-flex;align-items:center;gap:12px;padding:6px 14px 6px 6px;border:1px solid var(--line-2);border-radius:999px;background:rgba(5,5,5,.6);color:var(--text-2);font:inherit;font-size:.76rem;font-weight:800;letter-spacing:.06em;cursor:pointer;transition:border-color .2s ease,background .2s ease}
.control-switch:hover{border-color:var(--line-3)}
.control-switch-track{position:relative;display:block;width:46px;height:26px;border-radius:999px;background:rgba(251,113,133,.25);border:1px solid rgba(251,113,133,.45);transition:background .2s ease,border-color .2s ease}
.control-switch-track span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fda4b4;transition:transform .22s ease,background .2s ease,box-shadow .2s ease}
.control-switch.is-on .control-switch-track{background:var(--grad);border-color:rgba(255,255,255,.35)}
.control-switch.is-on .control-switch-track span{transform:translateX(20px);background:#fff;box-shadow:0 0 12px rgba(255,255,255,.6)}
.control-switch.is-on{color:#86efac;border-color:rgba(74,222,128,.35)}
.control-switch.is-off{color:#fda4b4}
.script-controls-load-more{align-self:center;padding:11px 24px;font-size:.82rem}
.script-controls-empty-icon{width:56px;height:56px;border-radius:18px;font-size:1.3rem;font-weight:800}
.script-controls-load-error{border-color:rgba(251,113,133,.4)}
.controls-warning{display:flex;gap:14px;align-items:flex-start;padding:16px 20px;border:1px solid rgba(251,191,36,.34);border-radius:var(--r-md);background:rgba(251,191,36,.07)}
.controls-warning>span{display:grid;place-items:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:rgba(251,191,36,.2);color:#fcd34d;font-size:.78rem;font-weight:800}
.controls-warning p{color:var(--text-2);font-size:.86rem;line-height:1.7}
.controls-warning strong{color:#fff}
.script-controls-refresh{display:inline-flex;align-items:center;gap:8px;margin-left:6px;padding:8px 16px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.14);color:var(--text-2);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}
.script-controls-refresh:hover{background:rgba(113,113,113,.28);color:#fff}
.controls-footer-note{flex-direction:column;gap:6px;margin-top:20px}
.controls-hero-copy .controls-live-pill{margin-top:20px}
.controls-hero-copy>.controls-live-pill,.controls-hero-copy>span:last-child{margin-top:22px}
body.shop-open,body.mobile-tabs-open{overflow:hidden}
.shop-modal{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:20px}
.shop-modal-backdrop{position:absolute;inset:0;background:rgba(2,2,2,.78);backdrop-filter:blur(8px);animation:ga-fade .25s ease both}
@keyframes ga-fade{from{opacity:0}to{opacity:1}}
.shop-dialog{
  position:relative;
  display:flex;
  flex-direction:column;
  width:min(1040px,100%);
  max-height:calc(100dvh - 40px);
  border:1px solid var(--line-3);
  border-radius:var(--r-xl);
  background:linear-gradient(160deg,rgba(23,23,23,.97),rgba(7,7,7,.98));
  box-shadow:0 40px 120px rgba(0,0,0,.7),0 0 80px rgba(85,85,85,.3);
  overflow:hidden;
  animation:ga-rise .3s ease both;
}
.shop-dialog:focus{outline:none}
.shop-dialog-header{position:relative;padding:26px 32px 20px;border-bottom:1px solid var(--line)}
.shop-dialog-brand{display:flex;align-items:center;gap:16px;padding-right:56px}
.shop-dialog-mark{width:52px;height:52px;border-radius:17px}
.shop-dialog-mark .ga-icon-svg{width:24px;height:24px}
.shop-dialog-brand h2{margin-top:4px;font-size:1.7rem;font-weight:800;letter-spacing:-.03em}
.shop-dialog-header>p{margin-top:14px;max-width:70ch;color:var(--muted);font-size:.88rem;line-height:1.65}
.shop-close-button{position:absolute;top:22px;right:24px;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line-2);border-radius:50%;background:rgba(113,113,113,.1);color:var(--text);font-size:1.3rem;cursor:pointer;transition:background .2s ease,border-color .2s ease}
.shop-close-button:hover{background:rgba(113,113,113,.26);border-color:var(--line-3)}
.shop-dialog-content{flex:1;overflow:auto;padding:26px 32px;display:flex;flex-direction:column;gap:22px}
.shop-section-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}
.shop-section-index{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line-2);border-radius:14px;background:rgba(113,113,113,.18);color:var(--v1);font-size:.86rem;font-weight:800}
.shop-section-heading h3{margin:3px 0;font-size:1.25rem;font-weight:800;letter-spacing:-.02em}
.shop-section-heading p{color:var(--muted);font-size:.86rem}
.shop-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.shop-plan-card{display:flex;flex-direction:column;gap:14px;padding:22px;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.shop-plan-card:hover{transform:translateY(-4px);border-color:var(--line-3)}
.shop-plan-card-featured{border-color:var(--line-3);background:linear-gradient(160deg,rgba(85,85,85,.36),rgba(13,13,13,.8));box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 50px rgba(113,113,113,.34)}
.shop-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.66rem;font-weight:800;letter-spacing:.12em}
.shop-plan-card-featured .shop-plan-top>span:last-child{padding:4px 12px;border-radius:999px;background:var(--grad);color:#fff}
.shop-plan-icon{width:44px;height:44px;border-radius:14px}
.shop-plan-icon .ga-icon-svg{width:21px;height:21px}
.shop-plan-card h4{font-size:1.5rem;font-weight:800;letter-spacing:-.03em}
.shop-plan-card>p{color:var(--muted);font-size:.84rem;line-height:1.6}
.shop-plan-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shop-plan-stats span{display:flex;flex-direction:column;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(5,5,5,.5)}
.shop-plan-stats strong{font-size:1.3rem;font-weight:800;letter-spacing:-.03em}
.shop-plan-stats small,.shop-plan-prices small{color:var(--muted-2);font-size:.7rem}
.shop-plan-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shop-plan-prices span{display:flex;flex-direction:column}
.shop-plan-prices strong{font-size:1.15rem;font-weight:800}
.shop-plan-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto}
.shop-plan-actions button{padding:12px 16px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.1);color:var(--text);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .18s ease,box-shadow .2s ease}
.shop-plan-actions button:hover:not(:disabled){background:rgba(113,113,113,.28);border-color:var(--line-3);transform:translateY(-1px)}
.shop-plan-actions button:last-child{border-color:rgba(193,193,193,.5);background:var(--grad);color:#fff;box-shadow:0 8px 24px rgba(85,85,85,.42)}
.shop-plan-actions button:disabled{opacity:.5;cursor:not-allowed}
.shop-section-action{margin-top:16px;color:var(--muted-2);font-size:.8rem;text-align:center}
.shop-security-note{display:flex;gap:16px;align-items:flex-start;padding:18px 20px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(113,113,113,.09)}
.shop-security-note>span{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:13px;background:rgba(113,113,113,.22);color:var(--v1)}
.shop-security-note p{color:var(--muted);font-size:.84rem;line-height:1.7}
.shop-security-note strong{color:#fff}
.shop-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 32px;border-top:1px solid var(--line);color:var(--muted-2);font-size:.8rem}
.shop-dialog-footer i{display:inline-block;width:4px;height:4px;margin:0 6px;border-radius:50%;background:var(--v5);vertical-align:middle}
.shop-dialog-footer button{padding:10px 26px;border:1px solid rgba(193,193,193,.5);border-radius:999px;background:var(--grad);color:#fff;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;box-shadow:0 8px 24px rgba(85,85,85,.42)}
.shop-dialog-footer button:hover{transform:translateY(-1px)}

.clipboard-fallback-overlay{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:20px;background:rgba(2,2,2,.78);backdrop-filter:blur(8px)}
.clipboard-fallback-card{display:flex;flex-direction:column;gap:14px;width:min(560px,100%);padding:26px;border:1px solid var(--line-3);border-radius:var(--r-xl);background:linear-gradient(160deg,rgba(23,23,23,.97),rgba(7,7,7,.98));box-shadow:0 40px 100px rgba(0,0,0,.65),0 0 60px rgba(85,85,85,.3)}
.clipboard-fallback-card strong{font-size:1.2rem;font-weight:800}
.clipboard-fallback-card p{color:var(--muted);font-size:.86rem;line-height:1.65}
.clipboard-fallback-card textarea{font-family:var(--mono);font-size:.8rem;min-height:110px}
.clipboard-fallback-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}

.luarn-widget-loading,.luarn-widget-error{padding:14px 18px;border:1px solid var(--line-2);border-radius:var(--r-md);background:rgba(113,113,113,.1);color:var(--text-2);font-size:.84rem}
.luarn-widget-error{border-color:rgba(251,113,133,.4);background:rgba(251,113,133,.08);color:#fecdd6}

.credits-wrap{position:relative;z-index:1;width:min(820px,calc(100% - 32px));min-height:100vh;margin:0 auto;display:flex;align-items:center;padding:40px 0}
.credits-card{
  width:100%;
  padding:clamp(26px,5vw,48px);
  border:1px solid var(--line-2);
  border-radius:var(--r-xl);
  background:linear-gradient(150deg,rgba(21,21,21,.78),rgba(7,7,7,.86));
  backdrop-filter:blur(18px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 30px 90px rgba(0,0,0,.5),0 0 60px rgba(85,85,85,.18);
}
.credits-brand{margin-bottom:30px}
.credits-kicker{display:inline-flex;padding:8px 16px;border:1px solid var(--line-2);border-radius:999px;background:rgba(15,15,15,.7);color:var(--text);font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:none}
.credits-card h1{margin:22px 0 14px;font-size:clamp(2.2rem,6vw,3.6rem);font-weight:800;line-height:1.05;letter-spacing:-.035em}
.credits-intro,.credits-card p{color:var(--muted);font-size:.94rem;line-height:1.75}
.credits-item{margin:26px 0 0;padding:22px;border:1px solid var(--line);border-radius:var(--r-lg);background:rgba(5,5,5,.5)}
.credits-item h2{margin:0 0 12px;font-size:1.1rem;font-weight:800}
.credits-attribution{color:var(--text)!important;font-weight:700;overflow-wrap:anywhere}
.credits-card a:not(.credits-brand):not(.credits-back){color:var(--v2);overflow-wrap:anywhere}
.credits-back{display:inline-flex;align-items:center;gap:8px;margin-top:28px;padding:14px 26px;border:1px solid rgba(193,193,193,.5);border-radius:999px;background:var(--grad);color:#fff!important;font-weight:700;text-decoration:none;box-shadow:0 12px 32px rgba(85,85,85,.42)}
.credits-back:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(113,113,113,.6)}
@media (max-width:1180px){
  .workspace-grid{grid-template-columns:minmax(0,1fr)}
  .side-column{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  .api-layout-grid,.docs-content-grid,.execution-content-grid{grid-template-columns:minmax(0,1fr)}
  .shop-plan-grid{grid-template-columns:minmax(0,1fr)}
  .login-features{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:960px){
  .dashboard-shell{width:min(100% - 24px,1480px);padding-top:12px}
  .topbar{top:10px;gap:10px;margin-bottom:24px;padding:10px 12px}
  .topbar::before{border-radius:20px}
  .brand-link strong{font-size:1.3rem}
  .brand-link img{width:38px;height:38px}
  .topbar .shop-header-button{margin-left:auto;font-size:0;gap:0;padding:10px 12px}
  .top-actions{margin-left:0}
  .profile{padding:4px}
  .profile strong{display:none}
  .logout-btn span{display:none}
  .logout-btn{padding:10px 12px}
  .mobile-tabs-toggle{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border:1px solid var(--line-2);border-radius:14px;background:rgba(113,113,113,.12);color:var(--text);font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}
  .mobile-tabs-toggle-icon{display:grid;gap:4px}
  .mobile-tabs-toggle-icon i{display:block;width:16px;height:2px;border-radius:2px;background:var(--v1);transition:transform .22s ease,opacity .2s ease}
  .dashboard-overview-hero::after,.hero-panel::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after{opacity:.35;width:min(80%,420px);top:-10px;right:-60px}
  .dashboard-overview-hero,.hero-panel,.api-hero,.docs-hero,.controls-hero,.builder-heading{min-height:0}
  .login-hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:10px 0 0}
  .login-art{position:absolute;inset:auto -40px auto auto;top:0;width:min(78%,420px);opacity:.28;z-index:0;animation:none}
  .login-copy{max-width:none}
  .login-stats{border-radius:var(--r-lg);grid-template-columns:repeat(2,1fr);gap:16px 0}
  .login-stats div:nth-child(3){border-left:0}
  .key-panel-picker-controls{max-width:none}
  .controls-summary-grid{border-radius:var(--r-lg)}
}

@media (max-width:720px){
  body{font-size:14.5px}
  .login-wrap{width:min(100% - 24px,1480px);padding-top:12px;gap:22px}
  .login-bar{padding:10px 14px;border-radius:20px}
  .login-brand strong{font-size:1.35rem}
  .login-brand img{width:38px;height:38px}
  .login-bar-links a{padding:9px 12px}
  .login-bar-links a span{display:none}
  .login-copy h1{margin-top:18px}
  .login-actions{flex-direction:column;align-items:stretch}
  .google-button,.github-button{justify-content:center}
  .login-features{grid-template-columns:minmax(0,1fr)}
  .execution-stat-grid,.metric-grid,.api-stats-grid{grid-template-columns:minmax(0,1fr)}
  .provider-form-grid,.key-generator-grid{grid-template-columns:minmax(0,1fr)}
  .provider-list{grid-template-columns:minmax(0,1fr)}
  .controls-summary-grid{grid-template-columns:minmax(0,1fr)}
  .controls-summary-card+.controls-summary-card{border-left:0;border-top:1px solid var(--line)}
  .execution-insights-summary{border-radius:var(--r-lg)}
  .execution-insights-chart{padding:16px 12px 10px}
  .execution-chart-bars{height:180px}
  .search-box,.type-filter,.library-tools{width:100%}
  .library-tools{flex-direction:column;align-items:stretch}
  .type-filter .ga-select,.type-filter select{flex:1}
  .file-row,.panel-key-row{flex-wrap:wrap;align-items:flex-start}
  .file-row-actions,.panel-key-actions{width:100%}
  .file-row .type-badge{width:42px;height:42px}
  .link-box>div,.api-copy-row,.api-endpoint-line,.provider-loader-row,.provider-redeem-row,.generated-key-item,.script-item-endpoint{flex-wrap:wrap;border-radius:var(--r-md)}
  .link-box button,.api-copy-row button,.provider-loader-row button,.provider-redeem-row button,.generated-key-item button{flex:1 1 auto}
  .api-project-row,.api-token-row{flex-wrap:wrap}
  .api-token-actions{width:100%}
  .script-control-item{flex-direction:column;gap:14px}
  .script-item-primary{width:100%}
  .key-panel-picker-controls{flex-direction:column;align-items:stretch}
  .key-list-toolbar{flex-direction:column;align-items:stretch}
  .key-status-field{min-width:0}
  .obf-choice-top{flex-wrap:wrap}
  .discord-setup-steps li{flex-direction:column;gap:12px}
  .docs-search{flex-basis:100%}
  .docs-spec-link{width:100%;justify-content:center}
  .docs-topic-heading{align-items:flex-start}
  .shop-modal{padding:10px}
  .shop-dialog{max-height:calc(100dvh - 20px);border-radius:var(--r-lg)}
  .shop-dialog-header,.shop-dialog-content,.shop-dialog-footer{padding-left:18px;padding-right:18px}
  .shop-close-button{top:16px;right:16px}
  .floating-shop-banner{border-radius:var(--r-lg);width:calc(100% - 24px)}
  .floating-shop-actions{width:100%;justify-content:space-between}
  .primary-btn,.provider-form-actions .primary-btn,.api-token-form .primary-btn,.api-project-form .primary-btn,.key-generator-grid+.primary-btn{width:100%;min-width:0}
  .provider-form-actions{justify-content:stretch}
  .toast{bottom:16px;border-radius:var(--r-md)}
}

@media (max-width:420px){
  .dashboard-overview-copy h1,.hero-content h1,.builder-heading h1,.api-hero h1,.docs-hero h1,.controls-hero h1{font-size:2.35rem}
  .login-copy h1{font-size:2.7rem}
  .card,.dashboard-home-card{padding:18px;border-radius:20px}
  .mobile-tabs-toggle-label{display:none}
  .mobile-tabs-toggle{padding:11px 12px}
  .execution-stat-card{grid-template-columns:auto 1fr;column-gap:14px;padding:18px}
  .execution-stat-card>i{width:54px;height:54px;border-radius:17px}
  .recent-execution-item,.execution-asset-row{grid-template-columns:auto minmax(0,1fr)}
  .recent-execution-status,.execution-asset-tally{grid-column:2;align-items:flex-start}
}
@media (max-width:960px){
  .topbar .shop-header-button .shop-star-icon{font-size:1rem}
}
@media (max-width:560px){
  .topbar .shop-header-button{display:none}
  .top-actions{margin-left:auto}
}
:root{
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --ease-inout:cubic-bezier(.65,0,.35,1);
}

.metric-grid article{display:flex;flex-direction:column;gap:2px}
.metric-grid article>*{grid-area:auto!important}
.metric-grid article>strong{margin:8px 0 2px}

.discord-link-status{flex-direction:column;align-items:flex-start;gap:6px}
.discord-link-status .discord-link-state,.discord-link-status>*{display:block}
.discord-link-status small,.discord-link-status span:not(.discord-link-state){color:var(--muted);font-size:.84rem;font-weight:500;line-height:1.6}

.profile .avatar:not(.hidden)+.profile-fallback{display:none}
.profile .avatar.hidden+.profile-fallback{display:grid}
.brand-link{min-width:0}
.brand-link .brand-copy{min-width:0}

.script-editor{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:clamp(18px,2vw,26px);
  border:1px solid var(--line-3);
  border-radius:var(--r-lg);
  background:linear-gradient(155deg,rgba(27,27,27,.7),rgba(7,7,7,.85));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 0 44px rgba(113,113,113,.22);
  animation:ga-pop .32s var(--ease-out) both;
}
.script-editor-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.script-editor-heading{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;min-width:0}
.editor-eyebrow{padding:5px 12px;border:1px solid var(--line-2);border-radius:999px;background:rgba(113,113,113,.14)}
.script-editor-heading strong{font-size:1.1rem;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere}
.script-editor-heading code{padding:3px 10px;border-radius:8px;background:rgba(113,113,113,.16);color:var(--v1);font-size:.74rem;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.script-editor-heading>span:not(.editor-eyebrow):not(.editor-dirty){color:var(--muted);font-size:.8rem}
.editor-dirty{padding:4px 12px;border:1px solid rgba(251,191,36,.4);border-radius:999px;background:rgba(251,191,36,.1);color:#fcd34d;font-size:.68rem;font-weight:800;letter-spacing:.06em;animation:ga-pulse 2.2s ease-in-out infinite}
.script-editor-name{display:flex;flex-direction:column;gap:8px;max-width:420px}
.script-editor-body{display:grid;grid-template-columns:auto minmax(0,1fr);border:1px solid var(--line);border-radius:var(--r-md);background:rgba(3,3,3,.9);overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease}
.script-editor-body:focus-within{border-color:var(--v3);box-shadow:0 0 0 4px rgba(114,114,114,.16)}
.editor-gutter{min-width:52px;padding:18px 12px 18px 14px;border-right:1px solid var(--line);background:rgba(113,113,113,.06);color:var(--muted-2);font-family:var(--mono);font-size:.78rem;line-height:1.7;text-align:right;white-space:pre;overflow:hidden;user-select:none}
.script-editor-body #editorSource{min-height:380px;max-height:62vh;padding:18px;border:0;border-radius:0;background:transparent;box-shadow:none!important;white-space:pre;overflow:auto;resize:none}
.script-editor-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.editor-replace{display:flex;flex-direction:column;gap:7px;min-width:240px;flex:0 1 320px}
.editor-note{flex:1 1 260px;color:var(--muted);font-size:.8rem;line-height:1.6}
.script-editor-actions{display:flex;gap:10px;margin-left:auto}

.key-list-summary{display:inline-flex;align-items:center;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(5,5,5,.5);color:var(--muted);font-size:.78rem;font-weight:700;white-space:nowrap}
.key-expiry-preview.is-invalid{border-color:rgba(251,191,36,.45);background:rgba(251,191,36,.06)}
.key-expiry-preview.is-invalid .key-expiry-preview-icon{color:#fcd34d;border-color:rgba(251,191,36,.4)}
.api-feedback.error,.billing-feedback.error{border-color:rgba(251,113,133,.4);background:rgba(251,113,133,.09);color:#fecdd6}
.api-feedback.warning,.billing-feedback.warning{border-color:rgba(251,191,36,.4);background:rgba(251,191,36,.08);color:#fde68a}
.api-feedback.success,.billing-feedback.success{border-color:rgba(74,222,128,.4);background:rgba(74,222,128,.09);color:#bbf7d0}
.billing-state-dot.is-neutral{background:var(--muted-2);box-shadow:0 0 0 4px rgba(123,123,123,.14)}
.billing-state-dot.is-active{background:var(--ok)}
.secondary-btn.is-loading{pointer-events:none;opacity:.8}
.secondary-btn.is-loading .ga-icon-svg{animation:ga-spin .8s linear infinite}
.primary-btn.loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.3) 50%,transparent 80%);transform:translateX(-100%);animation:ga-sheen 1.1s linear infinite}
.is-empty{opacity:.75}

@keyframes ga-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes ga-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes ga-pop-menu{from{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:none}}
@keyframes ga-slide-in{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}
@keyframes ga-sheen{to{transform:translateX(100%)}}
@keyframes ga-drift-a{from{transform:rotate(-12deg) translate3d(0,0,0)}to{transform:rotate(-8deg) translate3d(3vw,-3vh,0)}}
@keyframes ga-drift-b{from{transform:rotate(14deg) translate3d(0,0,0)}to{transform:rotate(10deg) translate3d(-3vw,-2vh,0)}}
@keyframes ga-twinkle{0%,100%{opacity:.35}50%{opacity:.85}}
@keyframes ga-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-14px) rotate(.6deg)}}
@keyframes ga-glow-pulse{0%,100%{box-shadow:0 0 0 1px rgba(113,113,113,.2),0 0 26px rgba(113,113,113,.34),inset 0 1px 0 rgba(255,255,255,.14)}50%{box-shadow:0 0 0 1px rgba(147,147,147,.35),0 0 38px rgba(114,114,114,.55),inset 0 1px 0 rgba(255,255,255,.18)}}
@keyframes ga-spin{to{transform:rotate(360deg)}}
@keyframes ga-backdrop{from{opacity:0}to{opacity:1}}

.ambient-a{animation:ga-drift-a 24s ease-in-out infinite alternate;will-change:transform}
.ambient-b{animation:ga-drift-b 28s ease-in-out infinite alternate;will-change:transform}
body::before{animation:ga-twinkle 7s ease-in-out infinite}

.login-bar{animation:ga-rise .7s var(--ease-out) both}
.login-pill{animation:ga-rise .7s var(--ease-out) .08s both}
.login-copy h1{animation:ga-rise .8s var(--ease-out) .16s both}
.login-copy>p{animation:ga-rise .8s var(--ease-out) .24s both}
.login-actions{animation:ga-rise .8s var(--ease-out) .32s both}
.login-note,.login-copy .inline-error{animation:ga-rise .8s var(--ease-out) .4s both}
.login-art{animation:ga-rise 1.1s var(--ease-out) .2s both,ga-float 8s ease-in-out 1.3s infinite}
.login-features article{animation:ga-rise .8s var(--ease-out) both}
.login-features article:nth-child(1){animation-delay:.4s}
.login-features article:nth-child(2){animation-delay:.48s}
.login-features article:nth-child(3){animation-delay:.56s}
.login-features article:nth-child(4){animation-delay:.64s}
.login-stats{animation:ga-rise .8s var(--ease-out) .72s both}
.login-features article,.execution-stat-card,.api-stat,.provider-card,.shop-plan-card,.docs-topic{transition:transform .4s var(--ease-out),border-color .3s ease,box-shadow .4s ease,background .3s ease}
.login-features article:hover,.execution-stat-card:hover,.api-stat:hover,.metric-grid article:hover{transform:translateY(-4px);border-color:var(--line-3);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 26px 60px rgba(0,0,0,.42),0 0 38px rgba(113,113,113,.22)}
.metric-grid article{transition:transform .4s var(--ease-out),border-color .3s ease,box-shadow .4s ease}
.card:hover,.dashboard-home-card:hover{border-color:rgba(139,139,139,.3)}
.card,.dashboard-home-card{transition:border-color .35s ease,box-shadow .35s ease}

.dashboard-section{animation:none}
.dashboard-section>*{animation:ga-rise .65s var(--ease-out) both}
.dashboard-section>*:nth-child(1){animation-delay:.02s}
.dashboard-section>*:nth-child(2){animation-delay:.09s}
.dashboard-section>*:nth-child(3){animation-delay:.16s}
.dashboard-section>*:nth-child(4){animation-delay:.23s}
.dashboard-section>*:nth-child(5){animation-delay:.3s}
.dashboard-section>*:nth-child(6){animation-delay:.36s}
.dashboard-section>*:nth-child(n+7){animation-delay:.42s}
.execution-stat-grid>*,.api-stats-grid>*,.metric-grid>*,.controls-summary-grid>*{animation:ga-rise .65s var(--ease-out) both}
.execution-stat-grid>*:nth-child(2),.api-stats-grid>*:nth-child(2),.metric-grid>*:nth-child(2){animation-delay:.08s}
.execution-stat-grid>*:nth-child(3),.api-stats-grid>*:nth-child(3),.metric-grid>*:nth-child(3){animation-delay:.16s}
.api-stats-grid>*:nth-child(4){animation-delay:.24s}
.dashboard-overview-hero::after,.hero-panel::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after{animation:ga-float 9s ease-in-out infinite,ga-fade-in 1.2s ease backwards}
@keyframes ga-fade-in{from{opacity:0}to{opacity:.95}}
.dashboard-overview-copy>*,.hero-content>*,.builder-heading>div>*,.api-hero-copy>*,.docs-hero-copy>*,.controls-hero-copy>*{animation:ga-rise .75s var(--ease-out) both}
.dashboard-overview-copy>*:nth-child(2),.hero-content>*:nth-child(2),.builder-heading>div>*:nth-child(2),.api-hero-copy>*:nth-child(2),.docs-hero-copy>*:nth-child(2),.controls-hero-copy>*:nth-child(2){animation-delay:.08s}
.dashboard-overview-copy>*:nth-child(3),.hero-content>*:nth-child(3),.builder-heading>div>*:nth-child(3),.api-hero-copy>*:nth-child(3),.docs-hero-copy>*:nth-child(3),.controls-hero-copy>*:nth-child(3){animation-delay:.16s}
.dashboard-overview-copy>*:nth-child(n+4),.hero-content>*:nth-child(n+4),.api-hero-copy>*:nth-child(n+4),.docs-hero-copy>*:nth-child(n+4),.controls-hero-copy>*:nth-child(n+4){animation-delay:.24s}

.topbar{animation:ga-slide-down .7s var(--ease-out) both}
@keyframes ga-slide-down{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}
.dashboard-tab{position:relative;transition:background .3s var(--ease-out),border-color .3s ease,color .25s ease,box-shadow .3s ease,padding .3s var(--ease-out),transform .25s var(--ease-out)}
.dashboard-tab:hover{transform:translateY(-1px)}
.dashboard-tab:active{transform:scale(.96)}
.dashboard-tab .tab-icon{transition:transform .3s var(--ease-spring),color .25s ease}
.dashboard-tab:hover .tab-icon{transform:scale(1.14)}
.dashboard-tab.is-active{animation:ga-glow-pulse 4s ease-in-out infinite}
@media (min-width:961px){
  .dashboard-tab.is-active>span:last-child{animation:ga-slide-in .4s var(--ease-out) both}
}
.login-bar-links a{transition:background .3s var(--ease-out),border-color .3s ease,color .25s ease,transform .25s var(--ease-out)}
.login-bar-links a:hover{transform:translateY(-1px)}
.login-bar-links a.is-active{animation:ga-glow-pulse 4s ease-in-out infinite}

.primary-btn,.github-button,.docs-spec-link,.credits-back,.floating-shop-cta,.editor-save-btn{position:relative;overflow:hidden;transition:transform .3s var(--ease-out),box-shadow .35s ease,filter .25s ease,opacity .25s ease}
.primary-btn::before,.github-button::before,.docs-spec-link::before,.credits-back::before,.floating-shop-cta::before,.editor-save-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.34) 50%,transparent 70%);
  transform:translateX(-120%);
  transition:transform .7s var(--ease-out);
  pointer-events:none;
}
.primary-btn:hover:not(:disabled)::before,.github-button:hover::before,.docs-spec-link:hover::before,.credits-back:hover::before,.floating-shop-cta:hover::before,.editor-save-btn:hover::before{transform:translateX(120%)}
.primary-btn:active:not(:disabled),.github-button:active,.google-button:active,.secondary-btn:active:not(:disabled),.logout-btn:active,.docs-spec-link:active,.credits-back:active,.floating-shop-cta:active,.editor-save-btn:active{transform:translateY(0) scale(.97)}
.primary-btn>b,.google-button>b,.github-button>b{transition:transform .3s var(--ease-spring)}
.primary-btn:hover:not(:disabled)>b,.google-button:hover>b,.github-button:hover>b{transform:translateX(5px)}
.secondary-btn,.logout-btn,.editor-cancel-btn,.shop-header-button,.file-row-actions a,.file-row-actions button,.panel-key-actions button,.panel-key-copy-plain,.provider-mini-btn,.script-item-copy-url,.script-item-copy-loader,.generated-key-copy,.api-token-actions button,.link-box button{transition:transform .25s var(--ease-out),background .25s ease,border-color .25s ease,color .25s ease,box-shadow .3s ease}
.file-row-actions a:hover,.file-row-actions button:hover,.panel-key-actions button:hover,.provider-mini-btn:hover,.script-item-copy-url:hover,.script-item-copy-loader:hover,.generated-key-copy:hover,.api-token-actions button:hover,.secondary-btn:hover:not(:disabled),.logout-btn:hover,.shop-header-button:hover{transform:translateY(-2px)}
.file-row-actions a:active,.file-row-actions button:active,.panel-key-actions button:active,.provider-mini-btn:active,.link-box button:active,.api-token-actions button:active{transform:scale(.95)}
.shop-header-button .shop-star-icon .ga-icon-svg,.floating-shop-mark .ga-icon-svg{transition:transform .5s var(--ease-spring)}
.shop-header-button:hover .shop-star-icon .ga-icon-svg{transform:rotate(72deg) scale(1.15)}
.floating-shop-mark{animation:ga-glow-pulse 4s ease-in-out infinite}
.floating-shop-banner{animation:ga-rise .8s var(--ease-out) .3s both}

.file-row,.panel-key-row,.recent-execution-item,.execution-asset-row,.api-project-row,.api-token-row,.script-control-item,.discord-command-list li,.docs-steps li,.docs-mini-cards article,.docs-definition-list>div,.docs-scope-list>div,.docs-endpoint-table>div,.api-scope-grid label,.quick-item{transition:transform .35s var(--ease-out),border-color .3s ease,background .3s ease,box-shadow .35s ease}
.file-row:hover,.panel-key-row:hover,.script-control-item:hover,.api-project-row:hover,.api-token-row:hover{box-shadow:0 12px 34px rgba(0,0,0,.32),0 0 26px rgba(113,113,113,.14)}
.discord-command-list li:hover,.docs-mini-cards article:hover,.docs-definition-list>div:hover,.docs-scope-list>div:hover,.docs-endpoint-table>div:hover{transform:translateY(-3px)}
.docs-toc a{transition:transform .3s var(--ease-out),border-color .25s ease,background .25s ease,color .25s ease,box-shadow .3s ease}
.docs-toc a:hover{transform:translateY(-2px)}
.docs-toc a:active{transform:scale(.96)}
.drop-zone{transition:border-color .3s ease,background .3s ease,transform .4s var(--ease-out),box-shadow .4s ease}
.drop-zone .drop-icon{transition:transform .5s var(--ease-spring)}
.drop-zone:hover .drop-icon,.drop-zone.dragging .drop-icon{transform:translateY(-6px) scale(1.08)}
.drop-zone.dragging{animation:ga-glow-pulse 1.4s ease-in-out infinite}
.selected-file{animation:ga-pop .35s var(--ease-out) both}
.result-card,.generated-keys-panel,.api-created-token,.key-custom-expiry,.obf-options{animation:ga-pop .4s var(--ease-out) both}
.toast{transform:translate(-50%,26px) scale(.94);transition:opacity .3s ease,transform .45s var(--ease-spring)}
.toast.show{transform:translate(-50%,0) scale(1)}
.shop-modal-backdrop,.clipboard-fallback-overlay{animation:ga-backdrop .3s ease both}
.shop-dialog,.clipboard-fallback-card{animation:ga-pop .42s var(--ease-spring) both}
.shop-plan-card{animation:ga-rise .6s var(--ease-out) both}
.shop-plan-card:nth-child(1){animation-delay:.12s}
.shop-plan-card:nth-child(2){animation-delay:.2s}
.shop-plan-card:nth-child(3){animation-delay:.28s}
.ga-select-menu{transform-origin:top center;animation:ga-pop-menu .2s var(--ease-out) both}
.ga-select-option{transition:background .15s ease,color .15s ease,padding-left .2s var(--ease-out)}
.ga-select-option:hover{padding-left:16px}
.control-switch-track,.control-switch-track span,.obf-switch>span,.obf-switch>span::after{transition:transform .35s var(--ease-spring),background .25s ease,border-color .25s ease,box-shadow .25s ease}
.execution-source-track i,.api-progress-track i{transition:width 1s var(--ease-out)}
.execution-chart-day i{transform-origin:bottom center}
.api-health-dot,.billing-state-dot,.dashboard-live-status i{animation:ga-pulse 2.4s ease-in-out infinite}
.live-pill i,.key-workspace-secure i,.hero-chips i,.api-version-tag i{animation:ga-pulse 2.4s ease-in-out infinite}
.docs-troubleshoot-list details>p{animation:ga-rise .35s var(--ease-out) both}

@media (max-width:720px){
  .topbar{gap:8px;padding:8px 10px}
  .top-actions{gap:6px}
  .logout-btn{padding:10px 11px}
  .brand-link{gap:10px}
  .brand-link strong{font-size:1.2rem}
}
@media (max-width:400px){
  .brand-link strong{font-size:1.08rem}
  .brand-link img{width:34px;height:34px}
  .mobile-tabs-toggle{padding:10px 11px}
  .profile .avatar,.profile-fallback{width:32px;height:32px}
}

@media (prefers-reduced-motion:reduce){
  .ambient-a,.ambient-b,body::before,.login-art,.hero-panel::after,.dashboard-overview-hero::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after{animation:none!important}
  .dashboard-section>*,.login-bar,.login-copy>*,.login-features article,.login-stats,.topbar{animation:none!important;opacity:1!important}
}
:is(.card,.dashboard-home-card,.key-custom-expiry):has(.ga-select.is-open){z-index:30}
.discord-link-status .discord-link-state{display:flex;flex-direction:column;gap:4px;margin:0}
.discord-link-status .discord-link-state strong{display:block;font-size:1rem}
.discord-link-status .discord-link-state small{display:block;color:var(--muted);font-size:.84rem;font-weight:500;line-height:1.6}
.discord-link-status .provider-actions{margin-top:4px}

/* =====================================================================
   v37: performance, layout hardening and motion
   Appended last so it refines the rules above without changing app logic.
   ===================================================================== */

/* ---------- 1. Performance ---------- */
/* Fixed backgrounds force a full repaint on every scroll frame on mobile GPUs. */
body{background-attachment:scroll;min-height:100vh;min-height:100dvh}

/* Backdrop blur is the most expensive effect on low-end GPUs. Surfaces below are
   made slightly more opaque instead, so the look is preserved without the cost. */
*,*::before,*::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.topbar::before{background:linear-gradient(150deg,rgba(17,17,17,.97),rgba(8,8,8,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 32px rgba(0,0,0,.4)}
.login-bar{background:linear-gradient(150deg,rgba(19,19,19,.9),rgba(8,8,8,.92))}
.floating-shop-banner{background:linear-gradient(150deg,rgba(27,27,27,.94),rgba(9,9,9,.96))}
.credits-card{background:linear-gradient(150deg,rgba(21,21,21,.94),rgba(7,7,7,.96))}
.toast{background:rgba(11,11,11,.98)}
.login-pill,.dashboard-overview-eyebrow,.hero-content .eyebrow,.builder-heading .eyebrow,.api-kicker,.docs-eyebrow,.controls-hero .controls-eyebrow{background:rgba(16,16,16,.9)}
.google-button{background:rgba(16,16,16,.85)}
.login-features article,.login-stats{background:linear-gradient(160deg,rgba(21,21,21,.8),rgba(9,9,9,.86))}
.card,.dashboard-home-card,.execution-stat-card,.metric-grid article,.controls-summary-card,.api-stat,.docs-topic,.provider-card,.shop-plan-card,.docs-code-card{
  background:linear-gradient(160deg,rgba(22,22,22,.82),rgba(10,10,10,.88));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 30px rgba(0,0,0,.28);
}
.shop-modal-backdrop,.clipboard-fallback-overlay{background:rgba(2,2,2,.86)}

/* Big blurred, always-moving layers repaint constantly. Keep the glow, drop the motion. */
.ambient-a,.ambient-b{animation:none;will-change:auto}
.ambient{contain:strict}
body::before{animation:none}
.dashboard-tab.is-active,.login-bar-links a.is-active,.floating-shop-mark{animation:none}
.dashboard-tab.is-active,.login-bar-links a.is-active{box-shadow:0 0 0 1px rgba(147,147,147,.3),0 0 26px rgba(113,113,113,.4),inset 0 1px 0 rgba(255,255,255,.14)}
.drop-zone.dragging{animation:none;border-color:var(--v3);box-shadow:0 0 0 4px rgba(114,114,114,.18),0 0 30px rgba(113,113,113,.35)}

/* Entrance motion: transform/opacity only, shorter and capped so tabs feel instant. */
@keyframes ga-rise{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:none}}
@keyframes ga-pop{from{opacity:0;transform:translate3d(0,8px,0) scale(.97)}to{opacity:1;transform:none}}
.dashboard-section>*{animation-duration:.5s}
.dashboard-section>*:nth-child(1){animation-delay:0s}
.dashboard-section>*:nth-child(2){animation-delay:.05s}
.dashboard-section>*:nth-child(3){animation-delay:.1s}
.dashboard-section>*:nth-child(4){animation-delay:.14s}
.dashboard-section>*:nth-child(5){animation-delay:.18s}
.dashboard-section>*:nth-child(6){animation-delay:.22s}
.dashboard-section>*:nth-child(n+7){animation-delay:.25s}
.execution-stat-grid>*,.api-stats-grid>*,.metric-grid>*,.controls-summary-grid>*{animation-duration:.5s}
.dashboard-overview-copy>*,.hero-content>*,.builder-heading>div>*,.api-hero-copy>*,.docs-hero-copy>*,.controls-hero-copy>*{animation-duration:.55s}

/* Decorative floating only where it is cheap: capable, hover-capable, desktop-size screens. */
@media (min-width:961px) and (hover:hover){
  html:not([data-perf="low"]) .login-art{animation:ga-rise 1s var(--ease-out) .2s both,ga-float 9s ease-in-out 1.3s infinite}
  html:not([data-perf="low"]) .dashboard-overview-hero::after,
  html:not([data-perf="low"]) .hero-panel::after,
  html:not([data-perf="low"]) .api-hero::after,
  html:not([data-perf="low"]) .docs-hero::after,
  html:not([data-perf="low"]) .controls-hero::after,
  html:not([data-perf="low"]) .builder-heading::after{will-change:transform}
}
@media (max-width:960px),(hover:none){
  .dashboard-overview-hero::after,.hero-panel::after,.api-hero::after,.docs-hero::after,.controls-hero::after,.builder-heading::after,.login-art{animation:none}
}

/* Touch screens have no hover: never leave cards "lifted" after a tap. */
@media (hover:none){
  .file-row:hover,.panel-key-row:hover,.script-control-item:hover,.api-project-row:hover,.api-token-row:hover,
  .login-features article:hover,.execution-stat-card:hover,.api-stat:hover,.metric-grid article:hover,
  .discord-command-list li:hover,.docs-mini-cards article:hover,.docs-definition-list>div:hover,.docs-scope-list>div:hover,.docs-endpoint-table>div:hover,
  .file-row-actions a:hover,.file-row-actions button:hover,.panel-key-actions button:hover,.provider-mini-btn:hover,.secondary-btn:hover:not(:disabled),
  .docs-toc a:hover,.dashboard-tab:hover,.google-button:hover,.login-bar-links a:hover,.shop-header-button:hover{transform:none}
  .primary-btn:hover:not(:disabled)::before,.github-button:hover::before{transform:translateX(-120%)}
}

/* Lean mode: automatically enabled on low-memory / few-core / data-saver devices or when
   measured frame pacing is poor (see perf-boot.js). Keeps the layout, removes the cost. */
html[data-perf="low"] *,html[data-perf="low"] *::before,html[data-perf="low"] *::after{
  animation-duration:.01ms!important;
  animation-delay:0s!important;
  animation-iteration-count:1!important;
  transition-duration:.12s!important;
  transition-delay:0s!important;
  scroll-behavior:auto!important;
}
html[data-perf="low"] .ga-select-menu{transition-duration:.12s!important}
html[data-perf="low"] .card,
html[data-perf="low"] .dashboard-home-card,
html[data-perf="low"] .execution-stat-card,
html[data-perf="low"] .metric-grid article,
html[data-perf="low"] .controls-summary-card,
html[data-perf="low"] .api-stat,
html[data-perf="low"] .docs-topic,
html[data-perf="low"] .provider-card,
html[data-perf="low"] .shop-plan-card,
html[data-perf="low"] .docs-code-card,
html[data-perf="low"] .login-features article,
html[data-perf="low"] .login-stats{box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
html[data-perf="low"] .file-row:hover,
html[data-perf="low"] .panel-key-row:hover,
html[data-perf="low"] .script-control-item:hover,
html[data-perf="low"] .api-project-row:hover,
html[data-perf="low"] .api-token-row:hover{box-shadow:none}
html[data-perf="low"] .login-art,
html[data-perf="low"] .dashboard-overview-hero::after,
html[data-perf="low"] .hero-panel::after,
html[data-perf="low"] .api-hero::after,
html[data-perf="low"] .docs-hero::after,
html[data-perf="low"] .controls-hero::after,
html[data-perf="low"] .builder-heading::after{display:none}
html[data-perf="low"] .ambient,html[data-perf="low"] body::before{animation:none;will-change:auto}
html[data-perf="low"] img,html[data-perf="low"] svg{filter:none!important}
html[data-perf="low"] .primary-btn::before,html[data-perf="low"] .github-button::before,html[data-perf="low"] .docs-spec-link::before,html[data-perf="low"] .credits-back::before,html[data-perf="low"] .floating-shop-cta::before,html[data-perf="low"] .editor-save-btn::before{display:none}
html[data-perf="low"] .dashboard-tab.is-active,html[data-perf="low"] .login-bar-links a.is-active{box-shadow:0 0 0 1px rgba(147,147,147,.3)}

/* ---------- 2. Overflow and sizing hardening ---------- */
img,svg,video,canvas{max-width:100%}
.dashboard-section>*,.card,.dashboard-home-card,.provider-card,.api-stat,.execution-stat-card,.metric-grid>*,.docs-topic,.docs-code-card,.shop-plan-card{min-width:0;max-width:100%}
code,kbd,samp{overflow-wrap:anywhere}
pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
h1,h2,h3,h4,strong,p,li,small,label{overflow-wrap:anywhere}
.eyebrow,.type-badge,.upload-access-badge,.provider-type-badge,.provider-state-badge,.panel-key-status,.control-state-badge,.script-item-type,.api-token-state{white-space:nowrap}

/* Inline code chips (IDs, endpoints, hashes) wrap instead of running past their card. */
:is(.card,.dashboard-home-card,.docs-topic,.provider-card,.docs-code-card) code{max-width:100%}
.docs-topic code,.docs-workspace code,.api-workspace code,.card p code,.card li code,.card small code{overflow-wrap:anywhere;word-break:break-word}

/* ---------- 3. Script library rows (the ID/button overflow) ---------- */
.file-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px 16px;
  min-width:0;
}
.file-row .type-badge{align-self:start}
.file-info{min-width:0}
.file-info>small{display:block;overflow-wrap:anywhere}
.file-info>small.file-id{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;min-width:0;margin-top:2px}
.file-id code{
  display:inline-block;
  min-width:0;
  max-width:100%;
  padding:3px 9px;
  border-radius:8px;
  font-family:var(--mono);
  line-height:1.45;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-all;
  user-select:all;
  -webkit-user-select:all;
}
.file-title-line{gap:6px 10px}
.file-title-line strong{flex:0 1 auto;max-width:100%}
.upload-access-badge{white-space:nowrap}
.file-row-actions{justify-content:flex-end;min-width:0}
.file-row-actions>a,.file-row-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;white-space:nowrap;text-align:center;text-decoration:none}
@media (max-width:1100px){
  .file-row{grid-template-columns:auto minmax(0,1fr)}
  .file-row-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%}
  .file-row-actions>a,.file-row-actions>button{padding-inline:8px;min-height:42px}
}
@media (max-width:339px){
  .file-row-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  /* Phone layout: badge + name on top, metadata beneath, then a full-width ID chip and actions. */
  .file-row{padding:14px;gap:0 12px;grid-template-columns:auto minmax(0,1fr)}
  .file-row .file-info{display:contents}
  .file-row .type-badge{grid-column:1;grid-row:1/3;width:40px;height:40px;border-radius:12px;font-size:.66rem}
  .file-row .file-title-line{grid-column:2;grid-row:1;align-self:center}
  .file-row .file-info>small:not(.file-id){grid-column:2;grid-row:2;margin-top:3px}
  .file-row .file-info>small.file-id{grid-column:1/-1;grid-row:3;flex-wrap:nowrap;align-items:center;margin-top:12px}
  .file-row .file-id code{flex:1 1 auto;min-width:0;font-size:.72rem;letter-spacing:-.01em}
  .file-row .file-row-actions{grid-row:4;margin-top:12px}
}

/* ---------- 4. Dropdown menus ---------- */
/* Transition based so the menu animates both in and out (JS keeps it mounted 160ms on close). */
.ga-select-trigger{transition:border-color .2s ease,box-shadow .25s ease,background .2s ease,transform .15s var(--ease-out)}
.ga-select-trigger:active:not(:disabled){transform:scale(.985)}
.ga-select-arrow{transition:transform .28s var(--ease-spring),color .2s ease}
.ga-select.is-open .ga-select-arrow,.ga-select-trigger.is-open .ga-select-arrow{transform:rotate(180deg)}
.ga-select-menu{
  animation:none;
  transform-origin:top center;
  opacity:0;
  visibility:hidden;
  transform:translate3d(0,-8px,0) scale(.97);
  transition:opacity .16s ease,transform .26s var(--ease-out),visibility 0s linear .16s;
  box-shadow:0 14px 34px rgba(0,0,0,.55),0 0 0 1px rgba(139,139,139,.1);
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(139,139,139,.4) transparent;
}
.ga-select-menu.is-open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.ga-select[data-placement="top"] .ga-select-menu{top:auto;bottom:calc(100% + 8px);transform-origin:bottom center;transform:translate3d(0,8px,0) scale(.97)}
.ga-select[data-placement="top"] .ga-select-menu.is-open{transform:none}
.ga-select-menu.is-open .ga-select-option{animation:ga-opt-in .28s var(--ease-out) both}
.ga-select-menu.is-open .ga-select-option:nth-child(2){animation-delay:.02s}
.ga-select-menu.is-open .ga-select-option:nth-child(3){animation-delay:.04s}
.ga-select-menu.is-open .ga-select-option:nth-child(4){animation-delay:.06s}
.ga-select-menu.is-open .ga-select-option:nth-child(5){animation-delay:.08s}
.ga-select-menu.is-open .ga-select-option:nth-child(n+6){animation-delay:.1s}
@keyframes ga-opt-in{from{opacity:0;transform:translate3d(0,-5px,0)}to{opacity:1;transform:none}}
/* Replace the layout-shifting padding hover with a compositor-friendly nudge. */
.ga-select-option,.ga-select-option:hover{padding-left:12px}
.ga-select-option{transition:background .15s ease,color .15s ease}
.ga-select-option .ga-select-option-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:transform .22s var(--ease-out)}
.ga-select-option:hover .ga-select-option-label,.ga-select-option:focus-visible .ga-select-option-label{transform:translate3d(3px,0,0)}
.ga-select-check svg{transform:scale(.5);opacity:0;transition:transform .3s var(--ease-spring),opacity .2s ease}
.ga-select-option[aria-selected="true"] .ga-select-check svg{transform:none;opacity:1}
.ga-select-option:active:not(:disabled){background:rgba(113,113,113,.32)}


/* ---------- 6. Touch, small screens and safe areas ---------- */
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.toast{bottom:max(26px,calc(env(safe-area-inset-bottom) + 18px))}
@media (pointer:coarse){
  .primary-btn,.secondary-btn,.logout-btn,.github-button,.google-button,.editor-save-btn,.editor-cancel-btn,.ga-select-trigger,.mobile-tabs-toggle,
  .panel-key-actions button,.provider-mini-btn,.script-item-copy-url,.script-item-copy-loader,.generated-key-copy,.api-token-actions button{min-height:44px}
}
@media (max-width:720px){
  /* 16px inputs stop iOS Safari from zooming the page when a field is focused. */
  input,select,textarea,.ga-select-trigger{font-size:16px}
  .dashboard-shell{width:min(100% - 20px,1480px)}
  .card,.dashboard-home-card{padding:clamp(16px,4.6vw,22px)}
  .panel-card-heading,.section-top,.result-head,.files-head,.dashboard-home-card-heading,.key-list-head{flex-wrap:wrap;gap:12px}
}
@media (max-width:420px){
  .dashboard-shell{width:calc(100% - 16px)}
  .topbar{padding:8px}
  h1{overflow-wrap:break-word;hyphens:auto}
}
@media (max-width:340px){
  body{font-size:14px}
  .dashboard-shell{width:calc(100% - 12px)}
  .card,.dashboard-home-card{padding:14px}
}
@media (max-height:480px) and (orientation:landscape){
  .topbar{position:relative;top:0}
}

/* ---------- 7. Reduced motion (keeps everything usable, removes movement) ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
}

/* ---------- 8. Spacing touch-ups ---------- */
.provider-list-head{margin-top:10px;padding-inline:2px}
.controls-summary-grid{max-width:100%;overflow:hidden}
.controls-footer{margin-top:14px}
.ambient{contain:layout paint style}
.type-filter{display:flex;align-items:center;gap:10px;min-width:0}
.type-filter>span,.type-filter>label>span{white-space:nowrap;flex:0 0 auto}

/* ---------- 9. Icons in buttons and links ---------- */
.ga-inline-icon{width:.95em;height:.95em;vertical-align:-.12em;margin-left:.35em;stroke-width:2;display:inline-block}
.primary-btn .ga-icon-svg,.primary-btn>b .ga-icon-svg{width:18px;height:18px;stroke-width:2}
.secondary-btn .ga-icon-svg{stroke-width:2}
.docs-spec-link .ga-inline-icon,.login-credits-link .ga-inline-icon,.docs-workspace a .ga-inline-icon{margin-left:.3em}
.credits-back .ga-icon-svg{width:16px;height:16px;margin-right:.4em;vertical-align:-.2em}
.script-controls-refresh .ga-icon-svg,.generated-keys-dismiss .ga-icon-svg,.selected-remove .ga-icon-svg,.shop-close-button .ga-icon-svg,.floating-shop-dismiss .ga-icon-svg{width:16px;height:16px;stroke-width:2.2}
.script-controls-refresh .ga-icon-svg{margin-right:6px;vertical-align:-.2em}
.generated-keys-dismiss,.selected-remove,.shop-close-button,.floating-shop-dismiss{display:inline-grid;place-items:center}

/* ---------- 10. Discord link status (fixes the mobile stacking) ---------- */
.discord-link-status{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:18px;padding:18px 20px;text-align:left}
.discord-link-status .discord-link-state{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;margin:0;padding:0;text-align:left}
.discord-link-status .discord-link-state strong{display:block;width:100%;text-align:left;font-size:1rem;font-weight:800;color:#fff;overflow-wrap:anywhere}
.discord-link-status .discord-link-state small{display:block;width:100%;max-width:64ch;text-align:left;color:var(--muted);font-size:.86rem;font-weight:500;line-height:1.6}
.discord-link-status .provider-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin:2px 0 0;width:auto}
.discord-link-status .provider-actions>button{flex:0 0 auto;min-height:42px;padding:9px 18px;white-space:nowrap}
@media (max-width:560px){
  .discord-link-status{padding:16px}
  .discord-link-status .provider-actions{width:100%}
  .discord-link-status .provider-actions>button{flex:1 1 140px}
}

.key-list-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-width:0}
.key-search-field{flex:1 1 260px;min-width:0;max-width:100%;min-height:44px;border-radius:12px}
.key-search-field input{min-width:0}
.key-status-field{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:0}
.key-status-field>span{flex:0 0 auto;white-space:nowrap;word-break:keep-all}
.key-status-field .ga-select{min-width:150px}
.key-status-field .ga-select-trigger{border-radius:12px;min-height:44px}
.key-list-summary{margin-left:auto;white-space:nowrap}
@media (max-width:700px){
  .key-list-toolbar{gap:10px}
  .key-search-field{flex:1 1 100%;width:100%;min-height:46px}
  .key-status-field{flex:1 1 100%;width:100%}
  .key-status-field .ga-select{flex:1 1 auto;min-width:0;width:auto}
  .key-status-field .ga-select-trigger{width:100%}
  .key-list-summary{margin-left:0;width:100%}
}

body.editor-open{overflow:hidden}
.script-editor{position:fixed;inset:0;z-index:180;display:flex;align-items:center;justify-content:center;margin:0;padding:18px;border:0;border-radius:0;background:rgba(2,2,2,.74);box-shadow:none;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:none}
.script-editor[hidden]{display:none!important}
.script-editor-dialog{display:flex;flex-direction:column;gap:16px;width:min(900px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;padding:clamp(18px,2.2vw,26px);border:1px solid var(--line-3);border-radius:20px;background:linear-gradient(155deg,rgba(27,27,27,.97),rgba(7,7,7,.98));box-shadow:0 30px 90px rgba(0,0,0,.6),0 0 44px rgba(113,113,113,.22);animation:ga-pop .3s var(--ease-out) both}
.script-editor-body #editorSource{min-height:300px;max-height:52vh}
.script-editor-foot{align-items:flex-end}
.editor-luarn{display:flex;flex-direction:column;gap:8px;flex:1 1 260px;min-width:0}
.editor-luarn .editor-note{flex:0 0 auto}
.editor-luarn-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;align-self:flex-start;min-height:44px;padding:0 10px 0 16px;border:1px solid var(--line-2);border-radius:12px;background:rgba(5,5,5,.7);color:var(--text);font:inherit;font-weight:700;font-size:.88rem;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.editor-luarn-btn:hover{border-color:var(--v3)}
.editor-luarn-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(114,114,114,.22)}
.editor-luarn-btn b{min-width:44px;padding:4px 10px;border-radius:999px;text-align:center;font-size:.7rem;letter-spacing:.08em;background:rgba(113,113,113,.14);color:var(--muted)}
.editor-luarn-btn[aria-pressed="true"]{border-color:rgba(74,222,128,.45)}
.editor-luarn-btn[aria-pressed="true"] b{background:rgba(74,222,128,.14);color:#86efac}
@media (max-width:700px){
  .script-editor{padding:10px}
  .script-editor-dialog{max-height:calc(100dvh - 20px);padding:16px;border-radius:16px;gap:14px}
  .script-editor-body #editorSource{min-height:240px;max-height:42vh}
  .script-editor-actions{width:100%;margin-left:0}
  .script-editor-actions button{flex:1 1 0}
  .editor-replace{min-width:0;flex:1 1 100%}
}

.luarn-progress{position:fixed;inset:0;z-index:190;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,2,2,.74);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.luarn-progress.hidden{display:none!important}
.luarn-progress-card{width:min(380px,100%);padding:30px 26px;text-align:center;border:1px solid var(--line-3);border-radius:20px;background:linear-gradient(155deg,rgba(27,27,27,.97),rgba(7,7,7,.98));box-shadow:0 30px 90px rgba(0,0,0,.6),0 0 44px rgba(113,113,113,.22);animation:ga-pop .3s var(--ease-out) both}
.luarn-progress-orb{width:58px;height:58px;margin:0 auto 18px;border-radius:50%;border:3px solid rgba(114,114,114,.2);border-top-color:var(--v3);border-right-color:var(--v2);animation:ga-spin .9s linear infinite}
.luarn-progress-card strong{display:block;font-size:1.05rem;font-weight:800;letter-spacing:-.01em;color:var(--text)}
.luarn-progress-card p{margin:8px 0 20px;color:var(--muted);font-size:.9rem;line-height:1.55}
.luarn-progress-track{height:6px;border-radius:999px;background:rgba(113,113,113,.14);overflow:hidden}
.luarn-progress-track i{position:relative;display:block;width:100%;height:100%;border-radius:999px;overflow:hidden;background:linear-gradient(90deg,#717171,#9a9a9a);box-shadow:0 0 14px rgba(114,114,114,.6);transform:scaleX(0);transform-origin:left center;will-change:transform}
.luarn-progress-track i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);transform:translateX(-100%);animation:luarn-sheen 1.5s ease-in-out infinite}
@keyframes luarn-sheen{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.luarn-progress-orb{animation-duration:3s}.luarn-progress-track i::after{animation:none}}
.editor-luarn-levels{display:flex;flex-wrap:wrap;gap:8px}
.editor-luarn-levels[hidden]{display:none!important}
.editor-level-btn{min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:rgba(5,5,5,.7);color:var(--muted);font:inherit;font-weight:700;font-size:.84rem;cursor:pointer;transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}
.editor-level-btn:hover{border-color:var(--v3);color:var(--text)}
.editor-level-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(114,114,114,.22)}
.editor-level-btn[aria-pressed="true"]{border-color:var(--v3);background:linear-gradient(135deg,rgba(113,113,113,.35),rgba(113,113,113,.25));color:var(--text);box-shadow:0 0 16px rgba(114,114,114,.35)}
.luarn-level-row{margin-top:12px}
.script-editor-foot{align-items:flex-end;gap:18px}
.script-editor-foot>.editor-replace{flex:1 1 240px;max-width:360px}
.editor-luarn{flex:1 1 100%;display:flex;flex-direction:column;gap:14px;padding:16px 18px;border:1px solid var(--line-2);border-radius:16px;background:rgba(5,5,5,.6)}
.editor-luarn-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.editor-luarn-title{display:flex;flex-direction:column;gap:4px;min-width:0}
.editor-luarn-title strong{font-size:.98rem;font-weight:800;color:var(--text)}
.editor-luarn-title small{color:var(--muted);font-size:.8rem;line-height:1.5}
.editor-luarn-btn{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0 6px 0 14px;border:1px solid var(--line-2);border-radius:999px;background:rgba(5,5,5,.8);color:var(--text);font:inherit;font-size:.85rem;font-weight:700;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.editor-luarn-btn:hover{border-color:var(--v3)}
.editor-luarn-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(114,114,114,.22)}
.editor-luarn-btn b{display:inline-grid;place-items:center;min-width:54px;min-height:28px;padding:0 10px;border-radius:999px;font-size:.7rem;letter-spacing:.08em;background:rgba(113,113,113,.16);color:var(--muted)}
.editor-luarn-btn[aria-pressed="true"]{border-color:rgba(74,222,128,.5)}
.editor-luarn-btn[aria-pressed="true"] b{background:rgba(74,222,128,.18);color:#86efac}
.editor-luarn-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.editor-luarn-levels[hidden]{display:none!important}
.editor-level-btn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:64px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(5,5,5,.7);color:var(--muted);font:inherit;text-align:left;cursor:pointer;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,color .2s ease}
.editor-level-btn strong{font-size:.92rem;font-weight:800;color:var(--text-2)}
.editor-level-btn small{font-size:.75rem;line-height:1.35;color:var(--muted-2)}
.editor-level-btn:hover{border-color:var(--v3)}
.editor-level-btn:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(114,114,114,.22)}
.editor-level-btn[aria-pressed="true"]{border-color:var(--v3);background:linear-gradient(135deg,rgba(113,113,113,.32),rgba(113,113,113,.2));box-shadow:0 0 18px rgba(114,114,114,.3)}
.editor-level-btn[aria-pressed="true"] strong{color:#fff}
.editor-level-btn[aria-pressed="true"] small{color:#dcdcdc}
.luarn-level-row{margin-top:14px}

/* Venturion VM level slider: a draggable range input with a dot marking each of the 3 stops. */
/* Venturion level slider. Every part (rail, fill, stops, labels) is positioned on the same inset track as the
   native thumb's centre, so nothing can drift out from under the thumb. */
.vm-slider{--thumb:24px;--edge:22px;--rail:6px;--vm-accent:#168bff;--vm-frac:.5;--span:calc(100% - 2 * var(--edge) - var(--thumb));display:flex;flex-direction:column;gap:6px}
.vm-slider[hidden]{display:none!important}
.vm-slider-track{position:relative;display:flex;align-items:center;height:44px}
.vm-slider-rail,.vm-slider-fill{position:absolute;top:50%;height:var(--rail);margin-top:calc(var(--rail) / -2);left:calc(var(--edge) + var(--thumb) / 2);border-radius:999px;pointer-events:none}
.vm-slider-rail{width:var(--span);background:rgba(255,255,255,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.45)}
.vm-slider-fill{width:calc(var(--span) * var(--vm-frac));background:linear-gradient(90deg,#4aa8ff,var(--vm-accent));box-shadow:0 0 12px rgba(22,139,255,.35)}
.vm-slider-dot{position:absolute;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;box-sizing:border-box;border-radius:50%;background:#26262b;border:2px solid rgba(255,255,255,.28);transition:background .2s ease,border-color .2s ease;pointer-events:none}
.vm-slider-dot[data-level="1"]{left:calc(var(--edge) + var(--thumb) / 2)}
.vm-slider-dot[data-level="2"]{left:calc(var(--edge) + var(--thumb) / 2 + var(--span) * .5)}
.vm-slider-dot[data-level="3"]{left:calc(var(--edge) + var(--thumb) / 2 + var(--span))}
.vm-slider-dot.is-passed{background:rgba(255,255,255,.92);border-color:transparent}
.vm-slider-input{position:relative;z-index:2;flex:1;min-width:0;height:44px;margin:0 var(--edge);padding:0;background:transparent;cursor:grab;appearance:none;-webkit-appearance:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
/* The site styles every <input> (box, border, focus ring). A range input must stay a bare, invisible hit area. */
html body .vm-slider input.vm-slider-input,html body .vm-slider input.vm-slider-input:is(:hover,:focus,:focus-visible,:active){background:transparent!important;background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;padding:0!important;height:44px!important;min-height:0!important;width:auto!important;transition:none!important}
.vm-slider-input:active{cursor:grabbing}
.vm-slider-input:focus{outline:none}
.vm-slider-input::-webkit-slider-runnable-track{height:var(--rail);background:transparent;border:0}
.vm-slider-input::-moz-range-track{height:var(--rail);background:transparent;border:0}
.vm-slider-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;box-sizing:border-box;width:var(--thumb);height:var(--thumb);margin-top:calc((var(--rail) - var(--thumb)) / 2);border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.5);transition:box-shadow .2s ease,transform .2s ease}
.vm-slider-input::-moz-range-thumb{box-sizing:border-box;width:var(--thumb);height:var(--thumb);border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.5);transition:box-shadow .2s ease,transform .2s ease}
.vm-slider-input:hover::-webkit-slider-thumb{box-shadow:0 0 0 1px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.5),0 0 0 6px rgba(22,139,255,.16)}
.vm-slider-input:hover::-moz-range-thumb{box-shadow:0 0 0 1px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.5),0 0 0 6px rgba(22,139,255,.16)}
.vm-slider.is-dragging .vm-slider-input::-webkit-slider-thumb,.vm-slider-input:focus-visible::-webkit-slider-thumb{transform:scale(1.08);box-shadow:0 0 0 1px rgba(0,0,0,.08),0 3px 10px rgba(0,0,0,.55),0 0 0 8px rgba(22,139,255,.22)}
.vm-slider.is-dragging .vm-slider-input::-moz-range-thumb,.vm-slider-input:focus-visible::-moz-range-thumb{transform:scale(1.08);box-shadow:0 0 0 1px rgba(0,0,0,.08),0 3px 10px rgba(0,0,0,.55),0 0 0 8px rgba(22,139,255,.22)}
.vm-slider-labels{position:relative;height:20px;font-size:.78rem;font-weight:700;letter-spacing:.01em;line-height:20px;color:var(--muted);user-select:none;-webkit-user-select:none}
.vm-slider-labels span{position:absolute;top:0;transform:translateX(-50%);padding:0 6px;white-space:nowrap;cursor:pointer;transition:color .2s ease}
.vm-slider-labels span[data-level="1"]{left:calc(var(--edge) + var(--thumb) / 2)}
.vm-slider-labels span[data-level="2"]{left:calc(var(--edge) + var(--thumb) / 2 + var(--span) * .5)}
.vm-slider-labels span[data-level="3"]{left:calc(var(--edge) + var(--thumb) / 2 + var(--span))}
.vm-slider-labels span:hover{color:var(--text-2)}
.vm-slider-labels span.is-active{color:var(--text)}
.vm-slider-desc{display:flex;flex-direction:column;gap:3px;margin-top:6px;padding:0 4px}
.vm-slider-desc .vm-slider-title{font-size:.92rem;font-weight:800;color:var(--text-2)}
.vm-slider-desc .vm-slider-note{font-size:.78rem;line-height:1.5;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.vm-slider *,.vm-slider-input::-webkit-slider-thumb,.vm-slider-input::-moz-range-thumb{transition:none!important}}
@media (max-width:700px){
  .editor-luarn{padding:14px}
  .editor-luarn-levels{grid-template-columns:1fr;gap:8px}
  .editor-level-btn{flex-direction:row;align-items:center;justify-content:space-between;min-height:52px}
  .editor-level-btn small{text-align:right}
}
.editor-luarn-levels{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.editor-level-btn{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;width:auto!important;min-height:64px!important;margin:0!important;padding:12px 14px!important;border:1px solid rgba(180,180,180,.22)!important;border-radius:14px!important;background:rgba(5,5,5,.7)!important;background-image:none!important;box-shadow:none!important;color:#a4a4a4!important;font:inherit!important;text-align:left!important;cursor:pointer!important}
.editor-level-btn strong{display:block!important;margin:0!important;font-size:.92rem!important;font-weight:800!important;color:#f6f6f6!important;white-space:nowrap!important}
.editor-level-btn small{display:block!important;margin:0!important;font-size:.75rem!important;font-weight:500!important;line-height:1.35!important;color:#7b7b7b!important;white-space:nowrap!important}
.editor-level-btn[aria-pressed="true"]{border-color:#727272!important;background:linear-gradient(135deg,rgba(113,113,113,.34),rgba(113,113,113,.22))!important;box-shadow:0 0 18px rgba(114,114,114,.3)!important}
.editor-level-btn[aria-pressed="true"] strong{color:#ffffff!important}
.editor-level-btn[aria-pressed="true"] small{color:#dcdcdc!important}
@media (max-width:700px){
  .editor-luarn-levels{grid-template-columns:1fr!important;gap:8px!important}
  .editor-level-btn{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;min-height:52px!important}
  .editor-level-btn small{text-align:right!important}
}
.script-editor-dialog>*{flex:0 0 auto}
.script-editor-body{flex:0 0 auto;min-height:200px}
.script-editor-body #editorSource{flex:1 1 auto;min-height:240px}
@media (max-width:700px){
  .script-editor-body{min-height:240px}
  .script-editor-body #editorSource{min-height:220px;max-height:none;height:220px}
}
.script-editor-body{height:min(52vh,420px);min-height:240px;grid-template-rows:minmax(0,1fr)}
.script-editor-body .editor-gutter{height:100%;min-height:0;overflow:hidden}
.script-editor-body #editorSource{height:100%;min-height:0;max-height:none}
@media (max-width:700px){
  .script-editor-body{height:260px;min-height:0}
  .script-editor-body #editorSource{min-height:0;height:100%}
}

/* Key Generator: full key text and the "Redeemed Successfully!" card with the redeemer's Discord profile. */
.panel-key-title-row strong.is-full-key{font-size:.95rem;letter-spacing:.04em;word-break:break-all;user-select:all}
.key-redeemer-head .ga-icon-svg{width:22px;height:22px;padding:4px;border-radius:50%;background:rgba(74,222,128,.16);border:1px solid rgba(74,222,128,.45);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;box-sizing:content-box}
.ga-discord-logo{width:16px;height:16px;flex:none;color:#8b9cff}
.panel-key-hint{color:var(--muted-2,#8b8b8b);font-size:.74rem;font-style:italic}

/* ===== Key Generator key cards: phone-first layout, live Discord redeemer card ===== */
.panel-key-row{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px;border-radius:22px}
.panel-key-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:12px}
.panel-key-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px}
.panel-key-row .panel-key-title-row{display:contents}
.panel-key-row .panel-key-title-row strong{grid-column:1/-1;font-family:var(--mono);font-size:1.02rem;line-height:1.4;letter-spacing:.05em;overflow-wrap:anywhere;word-break:normal}
.panel-key-row .panel-key-title-row strong.is-full-key{font-size:1.02rem;letter-spacing:.05em;word-break:normal}
.panel-key-row .panel-key-hint{grid-column:1/-1}
.panel-key-row .panel-key-copy-plain{grid-column:1;justify-self:start;min-height:44px;padding:0 24px}
.panel-key-row .panel-key-head>.panel-key-status{grid-column:2;justify-self:end}
.panel-key-chips{display:flex;flex-wrap:wrap;gap:8px}
.key-chip{display:inline-flex;align-items:center;max-width:100%;min-height:30px;padding:5px 12px;border-radius:999px;border:1px solid var(--line);background:rgba(113,113,113,.08);color:var(--text-2);font-size:.78rem;font-weight:600;line-height:1.25}
.key-chip.is-locked{border-color:rgba(74,222,128,.32);background:rgba(74,222,128,.07);color:#86efac}
.panel-key-row .panel-key-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;width:100%}
.panel-key-row .panel-key-actions button{min-height:46px;padding:0 8px;font-size:.86rem;white-space:nowrap;justify-content:center}
.panel-key-row .panel-key-action-placeholder{display:none}


@media (min-width:721px){
  .panel-key-row{flex-direction:row;align-items:flex-start;gap:20px;padding:18px 20px}
  .panel-key-head{display:flex;justify-content:space-between;gap:12px}
  .panel-key-row .panel-key-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
  .panel-key-row .panel-key-head>.panel-key-status{grid-column:auto}
  .panel-key-row .panel-key-actions{display:flex;flex-direction:column;align-items:stretch;flex:none;width:136px}
}
@media (hover:none){.panel-key-row:hover{transform:none}}

/* Redeemer card, v2: one calm surface, identity on top, two clear actions underneath. */
.key-redeemer{display:block;margin:0;padding:14px;border-radius:20px;border:1px solid var(--line);background:rgba(113,113,113,.07)}
.key-redeemer-head{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:0;border:0;background:none;color:#6ee7b7;font-weight:700;font-size:.84rem}
.key-redeemer-head .ga-icon-svg{width:16px;height:16px;padding:3px}
.key-redeemer-body{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:0}
.key-redeemer-avatar{width:60px;height:60px;border-radius:50%;padding:2px;background:linear-gradient(135deg,#bdbdbd,#555555);box-shadow:none}
.key-redeemer-avatar img,.key-redeemer-avatar span{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid var(--bg-1,#080808);background:var(--glass-solid,#0f0f0f)}
.key-redeemer-avatar span{display:grid;place-items:center;color:var(--v1,#bdbdbd);font-size:1.35rem;font-weight:800}
.key-redeemer-avatar.is-website span svg{width:24px;height:24px}
.key-redeemer-who{display:grid;gap:2px;min-width:0}
.key-redeemer-name{color:var(--text,#fff);font-size:1.12rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.key-redeemer.is-loading .key-redeemer-name{color:var(--muted);font-weight:600}
.key-redeemer-handle{color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.key-redeemer-handle[hidden]{display:none}
.key-redeemer-actions{grid-column:1/-1;display:grid;gap:8px;margin-top:2px}
.key-redeemer-badge{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 16px;border-radius:14px;border:0;background:#5865f2;color:#fff;font-size:.95rem;font-weight:750;text-decoration:none;-webkit-tap-highlight-color:transparent}
.key-redeemer-badge .ga-discord-logo{width:20px;height:20px;color:#fff}
.key-redeemer-badge .ga-inline-icon{width:15px;height:15px;opacity:.85}
.key-redeemer-badge:hover{background:#4752c4}
.key-redeemer-badge:active{background:#3c45a5}
.key-redeemer-id{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:0 12px;border-radius:12px;border:1px dashed var(--line-2);background:transparent;color:var(--text-2);font:inherit;font-size:.8rem;text-align:left;cursor:pointer}
.key-redeemer-id small{flex:none;white-space:nowrap;color:var(--muted-2);font-size:.72rem;font-weight:700}
.key-redeemer-id span{flex:1 1 auto;min-width:0;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:0}
.key-redeemer-id:hover{border-color:var(--line-3)}
.key-redeemer-id:focus-visible,.key-redeemer-badge:focus-visible{outline:2px solid var(--v2);outline-offset:2px}
@media (min-width:721px){
  .key-redeemer-body{grid-template-columns:auto minmax(0,1fr) minmax(220px,260px)}
  .key-redeemer-actions{grid-column:3;margin:0}
}
