:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --panel: #121417;
  --panel-2: #17191d;
  --line: #282c33;
  --text: #f2f3f5;
  --muted: #969da8;
  --soft: #c8cdd5;
  --accent: #ffffff;
  --danger: #ff6b6b;
  --success: #65d38e;
  --warning: #e9c46a;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, .button { border: 1px solid var(--line); background: var(--text); color: #0c0d0f; border-radius: 9px; padding: 9px 13px; font-weight: 650; cursor: pointer; }
button:hover, .button:hover { opacity: .9; }
button:disabled { opacity: .45; cursor: not-allowed; }
.button.secondary, button.secondary { background: transparent; color: var(--text); }
.button.ghost, button.ghost { background: transparent; color: var(--soft); border-color: transparent; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--panel); }
.nav { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.nav a { padding: 7px 9px; border-radius: 7px; }
.nav a:hover, .nav a.active { color: var(--text); background: var(--panel-2); }
.account { display: flex; align-items: center; gap: 9px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; background: var(--panel-2); }
.avatar.fallback { display: grid; place-items: center; color: var(--soft); font-size: 11px; }
main { padding: 42px 0 64px; }
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; margin-bottom: 22px; max-width: 760px; }
h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 8px; }
h3 { font-size: 14px; margin: 0; }
.lead { color: var(--soft); font-size: 17px; max-width: 620px; margin-bottom: 28px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); }
.panel-pad { padding: 20px; }
.login-card { padding: 24px; }
.login-card .button { display: block; text-align: center; width: 100%; margin-top: 18px; }
.meta-list { display: grid; gap: 12px; margin: 18px 0 0; }
.meta-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.meta-row strong { color: var(--text); font-weight: 600; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.dashboard-head h1 { font-size: 34px; margin: 0; letter-spacing: -.04em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat { padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.stat span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.stat strong { font-size: 25px; letter-spacing: -.035em; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; margin-bottom: 36px; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
label { font-size: 12px; color: var(--soft); font-weight: 650; }
select, input[type="text"] { width: 100%; background: #0f1114; color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; outline: none; }
select:focus, input:focus { border-color: #555c68; }
.drop { border: 1px dashed #3a3f48; border-radius: 10px; padding: 34px 20px; text-align: center; background: #0f1114; cursor: pointer; }
.drop:hover, .drop.drag { border-color: #6d7480; }
.drop input { display: none; }
.drop strong { display: block; margin-bottom: 5px; }
.file-meta { margin-top: 9px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.quota-inline { color: var(--muted); font-size: 12px; }
.status-box { min-height: 280px; }
.status-line { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #67707d; }
.dot.running { background: var(--warning); }
.dot.completed { background: var(--success); }
.dot.failed { background: var(--danger); }
.log { margin: 0; padding: 12px; min-height: 160px; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-word; background: #0b0c0e; border: 1px solid var(--line); border-radius: 8px; color: #b7bec8; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.outputs { display: grid; gap: 8px; margin-top: 14px; }
.output { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; }
.output a { color: var(--text); font-weight: 650; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
td { color: var(--soft); }
tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; font-size: 11px; text-transform: capitalize; color: var(--soft); }
.status.completed { color: var(--success); }
.status.failed { color: var(--danger); }
.status.running, .status.queued { color: var(--warning); }
.notice { border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; color: var(--soft); background: var(--panel); margin-bottom: 16px; }
.notice.error { border-color: #5a3034; color: #ffb8b8; }
.notice.success { border-color: #2d543d; color: #a8e8c0; }
.hidden { display: none !important; }
.footer { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); font-size: 12px; }
.footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 14px; }
.prose { width: min(760px, 100%); }
.prose h1 { font-size: 38px; }
.prose h2 { margin-top: 32px; }
.prose p, .prose li { color: var(--soft); }
.admin-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 28px; }
.admin-grid .stat strong { font-size: 21px; }
@media (max-width: 900px) {
  .hero-grid, .workspace { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 20px, 1180px); }
  main { padding-top: 28px; }
  .hero { padding: 56px 0; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .account-name { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
}

/* Plans / billing */
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pills span, .plan-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: var(--panel); font-size: 11px; font-weight: 700; }
.plan-pill.premium { color: #0c0d0f; background: var(--text); border-color: var(--text); }
.pricing-section { padding: 22px 0 82px; scroll-margin-top: 24px; }
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 20px; }
.pricing-head h2 { font-size: 34px; margin: 4px 0 0; }
.pricing-head > p { max-width: 470px; margin: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 920px; }
.plan-card { position: relative; padding: 24px; overflow: hidden; }
.plan-card.premium-card { border-color: #626975; background: linear-gradient(180deg, #171a1f 0%, var(--panel) 100%); }
.premium-label { position: absolute; top: 0; right: 0; padding: 6px 10px; border-left: 1px solid #626975; border-bottom: 1px solid #626975; border-bottom-left-radius: 9px; color: var(--text); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.plan-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.plan-name { display: block; font-size: 21px; font-weight: 760; letter-spacing: -.03em; }
.plan-top p { margin: 3px 0 0; }
.price { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.price strong { font-size: 30px; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: 12px; }
.plan-features { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; color: var(--soft); }
.plan-features li { position: relative; padding-left: 18px; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--muted); font-weight: 800; }
.plan-button { display: block; width: 100%; text-align: center; }
.stats-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.premium-strip { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 20px; margin-bottom: 18px; scroll-margin-top: 20px; }
.premium-strip h2 { margin: 4px 0 5px; }
.premium-strip p { margin: 0; }
.premium-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-grid-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-head { align-items: start; flex-direction: column; gap: 10px; }
  .stats-four { grid-template-columns: 1fr 1fr; }
  .premium-strip { align-items: start; flex-direction: column; }
  .admin-grid-six { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats-four { grid-template-columns: 1fr; }
  .pricing-head h2 { font-size: 28px; }
  .plan-top { flex-direction: column; }
  .premium-actions { width: 100%; flex-direction: column; }
  .premium-actions button { width: 100%; }
  .admin-grid-six { grid-template-columns: 1fr; }
}


/* =========================================================
   FD v2.1.5 — visual polish + target cursor
   ========================================================= */
:root {
  --primary: #a855f7;
  --primary-rgb: 168, 85, 247;
  --foreground: var(--text);
  --muted-foreground: var(--muted);
  --border: var(--line);
  --panel-glass: rgba(18, 20, 23, .82);
  --purple-line: rgba(var(--primary-rgb), .30);
  --purple-soft: rgba(var(--primary-rgb), .09);
}

html {
  scroll-behavior: smooth;
  background: #09090b;
}

body {
  position: relative;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(var(--primary-rgb), .10), transparent 62%),
    radial-gradient(700px 420px at 95% 18%, rgba(var(--primary-rgb), .055), transparent 64%),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

::selection {
  background: rgba(var(--primary-rgb), .36);
  color: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 68px;
  border-bottom-color: rgba(255,255,255,.07);
  background: rgba(13,14,16,.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.topbar .shell { min-height: 68px; }

.brand { transition: opacity .18s ease; }
.brand:hover { opacity: .86; }

.mark {
  width: 32px;
  height: 32px;
  color: #fff;
  border-color: rgba(var(--primary-rgb), .42);
  background:
    linear-gradient(145deg, rgba(var(--primary-rgb), .24), rgba(var(--primary-rgb), .05)),
    #121217;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 0 24px rgba(var(--primary-rgb), .10);
}

.nav a {
  position: relative;
  transition: color .16s ease, background .16s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(var(--primary-rgb), .075);
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), .55);
}

main { padding-top: 48px; }

.hero {
  position: relative;
  padding: 96px 0 92px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1080px, 84vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), .26), transparent);
}

.hero-grid {
  gap: clamp(42px, 7vw, 86px);
}

.accent-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bbb5c5;
  margin-bottom: 10px;
}

.eyebrow-dot,
.live-dot,
.hero-pills i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(var(--primary-rgb), .8);
}

.hero h1 {
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: .95;
  max-width: 820px;
  text-wrap: balance;
}

.hero-accent {
  color: #d9c4ff;
  text-shadow: 0 0 34px rgba(var(--primary-rgb), .15);
}

.lead {
  color: #b8bec8;
  line-height: 1.7;
}

.hero-pills span {
  gap: 7px;
  background: rgba(18,20,23,.66);
  border-color: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-pills .premium-pill {
  color: #e9dcff;
  border-color: rgba(var(--primary-rgb), .25);
  background: rgba(var(--primary-rgb), .07);
}

.panel {
  border-color: rgba(255,255,255,.075);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)),
    var(--panel-glass);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.02),
    0 18px 55px rgba(0,0,0,.13);
}

.hero-login {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.panel-shine {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -100px;
  top: -110px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), .16);
  filter: blur(60px);
  pointer-events: none;
}

.login-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9da4af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.login-card h2 { font-size: 25px; }

button,
.button {
  border-color: rgba(var(--primary-rgb), .45);
  background: linear-gradient(180deg, #b46cff, #9f4df0);
  color: #100a16;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), .10);
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease,
    opacity .15s ease,
    box-shadow .15s ease;
}

button:hover,
.button:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), .17);
}

button:active,
.button:active { transform: translateY(0); }

.button.secondary,
button.secondary,
.button.ghost,
button.ghost {
  box-shadow: none;
}

.button.secondary,
button.secondary {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}

.button.secondary:hover,
button.secondary:hover {
  border-color: rgba(var(--primary-rgb), .36);
  background: rgba(var(--primary-rgb), .07);
}

.button.ghost,
button.ghost {
  background: transparent;
  color: var(--soft);
  border-color: transparent;
}

.meta-list {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 17px;
}

.pricing-section {
  padding-top: 58px;
  scroll-margin-top: 88px;
}

.plan-card {
  transition: transform .18s ease, border-color .18s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), .24);
}

.plan-card.premium-card {
  border-color: rgba(var(--primary-rgb), .38);
  background:
    radial-gradient(420px 180px at 100% 0, rgba(var(--primary-rgb), .14), transparent 68%),
    linear-gradient(180deg, #18131f 0%, #121417 74%);
}

.premium-label {
  color: #e9dcff;
  border-color: rgba(var(--primary-rgb), .36);
  background: rgba(var(--primary-rgb), .12);
}

.plan-features li::before {
  color: var(--primary);
}

.price strong {
  color: #fff;
}

.footer {
  border-top-color: rgba(255,255,255,.065);
}

/* Dashboard polish */
.app-page main {
  min-height: calc(100vh - 140px);
}

.dashboard-head h1 {
  font-size: clamp(32px, 4vw, 42px);
}

.polished-stats .stat,
.admin-grid .stat {
  position: relative;
  overflow: hidden;
  transition: border-color .16s ease, transform .16s ease;
}

.polished-stats .stat::after,
.admin-grid .stat::after {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(transparent, rgba(var(--primary-rgb), .65), transparent);
  opacity: .45;
}

.polished-stats .stat:hover,
.admin-grid .stat:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--primary-rgb), .22);
}

.premium-glow {
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--primary-rgb), .28);
  background:
    radial-gradient(480px 160px at 100% 0, rgba(var(--primary-rgb), .11), transparent 68%),
    var(--panel);
}

.workspace-panel {
  border-radius: 14px;
}

.drop {
  position: relative;
  border-color: rgba(255,255,255,.13);
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), .018), transparent),
    #0f1114;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.drop:hover,
.drop.drag {
  border-color: rgba(var(--primary-rgb), .48);
  background: rgba(var(--primary-rgb), .035);
  transform: translateY(-1px);
}

select,
input[type="text"] {
  border-color: rgba(255,255,255,.09);
  background: rgba(10,11,14,.78);
}

select:focus,
input:focus {
  border-color: rgba(var(--primary-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .08);
}

.log {
  border-color: rgba(255,255,255,.07);
  background: #090a0c;
  color: #c4c7cf;
  box-shadow: inset 0 0 36px rgba(0,0,0,.2);
}

.table-wrap {
  border-color: rgba(255,255,255,.075);
  background: rgba(18,20,23,.50);
}

tbody tr {
  transition: background .14s ease;
}

tbody tr:hover {
  background: rgba(var(--primary-rgb), .035);
}

.plan-pill.premium {
  color: #eadcff;
  background: rgba(var(--primary-rgb), .12);
  border-color: rgba(var(--primary-rgb), .32);
}

.status.completed { color: #80e2a5; }
.status.running,
.status.queued { color: #f2ce77; }

/* Cursor — based on the exact target/snap system supplied by the user */
html:not(.cursor-disabled),
html:not(.cursor-disabled) *,
html:not(.cursor-disabled) *::before,
html:not(.cursor-disabled) *::after {
  cursor: none !important;
}

#target-cursor,
#tc-corners-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  will-change: transform;
}

#tc-corners-wrap {
  z-index: 99998;
  width: 0;
  height: 0;
}

.tc-ring {
  position: relative;
  width: 0;
  height: 0;
}

.tc-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.32);
  transform: translate(-50%, -50%);
  will-change: transform;
}

.tc-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  will-change: transform;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.10));
}

.tc-tl { border-top: 3px solid #fff; border-left: 3px solid #fff; }
.tc-tr { border-top: 3px solid #fff; border-right: 3px solid #fff; }
.tc-br { border-bottom: 3px solid #fff; border-right: 3px solid #fff; }
.tc-bl { border-bottom: 3px solid #fff; border-left: 3px solid #fff; }

@media (pointer: coarse) {
  html, html *, html *::before, html *::after,
  a, button, input, textarea, select, [href], [type], label[for] {
    cursor: auto !important;
  }
  #target-cursor,
  #tc-corners-wrap {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .plan-card,
  .stat,
  button,
  .button {
    transition: none !important;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 62px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

}

/* FD 2.2 — simplified dashboard, Discord gate, timed Premium */
.dashboard-shell { max-width: 1180px; }
.workspace-centered {
  display: block;
  max-width: 900px;
  margin: 28px auto 42px;
}
.workspace-centered .deobfuscator-card {
  width: 100%;
  padding: 26px;
  border-color: rgba(var(--primary-rgb), .18);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.discord-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  margin-bottom: 18px;
  border-color: rgba(239,68,68,.28);
  background:
    radial-gradient(420px 160px at 100% 0, rgba(239,68,68,.08), transparent 72%),
    var(--panel);
}
.discord-gate h2 { margin: 4px 0 4px; font-size: 20px; }
.discord-gate p { margin: 0; }
.discord-gate-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.premium-v2 { padding: 22px; }
.premium-tier-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 8px;
  min-width: 390px;
}
.premium-tier-actions .premium-buy {
  height: auto;
  min-height: 54px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.premium-tier-actions .premium-buy strong { font-size: 12px; }
.premium-tier-actions .premium-buy span { color: inherit; opacity: .76; font-size: 11px; }

.job-progress {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--soft);
  font-size: 12px;
}
#progress-label {
  color: #f0f0f3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.progress-track {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .55), var(--primary), rgba(var(--primary-rgb), .72));
  box-shadow: 0 0 20px rgba(var(--primary-rgb), .28);
  transition: width .22s ease;
}
.progress-bar.indeterminate {
  width: 38%;
  animation: fdProgress 1.15s cubic-bezier(.65,.05,.36,1) infinite;
}
@keyframes fdProgress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}
.job-progress.done .progress-bar { background: #66d892; box-shadow: 0 0 18px rgba(102,216,146,.22); }
.job-progress.failed .progress-bar { background: #ef6464; box-shadow: none; }

.result-card {
  margin-top: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(102,216,146,.18);
  border-radius: 10px;
  background: rgba(102,216,146,.035);
}
.result-card > div { min-width: 0; display: grid; gap: 2px; }
.result-card strong { color: #f2f4f4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-kicker { color: #66d892; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.clean-history { max-width: 1000px; margin: 0 auto 52px; }
.compact-button { min-height: 32px; padding: 7px 10px; font-size: 11px; }

.pricing-grid-four {
  max-width: 1180px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.premium-card-featured {
  transform: translateY(-4px);
  box-shadow: 0 18px 70px rgba(var(--primary-rgb), .10);
}
.premium-card-featured:hover { transform: translateY(-7px); }
.discord-purchase-note {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-color: rgba(var(--primary-rgb), .16);
}
.discord-purchase-note a { color: #d9c0ff; text-decoration: underline; text-underline-offset: 3px; }
.discord-join-home { margin-top: 8px; width: 100%; }

.premium-admin-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 245px;
}
.compact-select {
  min-width: 94px;
  height: 34px;
  padding: 0 28px 0 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: var(--text);
  background: #101217;
  font: inherit;
  font-size: 11px;
}
.premium-admin-controls button { min-height: 34px; padding: 7px 10px; font-size: 11px; }


@media (max-width: 1050px) {
  .pricing-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-tier-actions { min-width: 0; width: 100%; }
  .premium-v2 { align-items: stretch; }
}

@media (max-width: 760px) {
  .discord-gate,
  .discord-purchase-note { align-items: flex-start; flex-direction: column; }
  .premium-tier-actions { grid-template-columns: 1fr; }
  .workspace-centered .deobfuscator-card { padding: 18px; }
  .result-card { align-items: stretch; flex-direction: column; }
  .result-card .button { width: 100%; }
}

@media (max-width: 620px) {
  .pricing-grid-four { grid-template-columns: 1fr; }
  .premium-card-featured { transform: none; }
  .premium-card-featured:hover { transform: translateY(-3px); }
  .premium-admin-controls { min-width: 210px; }
}

/* v2.2.1 */
.progress-meta-single { justify-content: center; text-align: center; }
.hero-simple { min-height: 78vh; }
.pricing-simple { padding-top: 4rem; }
.pricing-simple .pricing-head { margin-bottom: 1.5rem; }
@media (max-width: 720px) { .hero-simple { min-height: auto; } }

/* v2.3.0 - per-deobfuscation monetization unlock */
.monetization-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 6, 9, .78);
  backdrop-filter: blur(10px);
}
.monetization-modal.hidden { display: none; }
.monetization-dialog {
  width: min(540px, 100%);
  padding: 28px;
  border-color: rgba(var(--primary-rgb), .22);
  box-shadow: 0 28px 100px rgba(0,0,0,.48), 0 0 70px rgba(var(--primary-rgb), .08);
}
.monetization-dialog h2 { margin: 5px 0 8px; }
.monetization-provider-list { display: grid; gap: 10px; margin: 20px 0 12px; }
.monetization-choice {
  width: 100%;
  min-height: 62px;
  display: grid;
  gap: 2px;
  align-content: center;
  justify-items: start;
  text-align: left;
}
.monetization-choice strong { font-size: 13px; }
.monetization-choice span { font-size: 10px; opacity: .72; font-weight: 600; }
.monetization-cancel { width: 100%; margin-top: 8px; }

.monetization-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.monetization-standalone {
  width: min(560px, 100%);
  text-align: center;
  padding: 36px 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 28px 100px rgba(0,0,0,.38);
}
.monetization-standalone h1 { margin: 8px 0 10px; font-size: clamp(24px, 5vw, 36px); }
.monetization-standalone p { max-width: 460px; margin-left: auto; margin-right: auto; }
.monetization-mark { width: 48px; height: 48px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 12px; }
.monetization-provider-button { margin: 20px auto 12px; width: min(330px, 100%); }
.monetization-provider-button.disabled { pointer-events: none; opacity: .45; }
.monetization-back { margin-top: 18px; }
.text-link { display: inline-block; margin-top: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mini-spinner {
  width: 28px;
  height: 28px;
  margin: 20px auto 0;
  border: 3px solid rgba(255,255,255,.10);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: fdUnlockSpin .85s linear infinite;
}
@keyframes fdUnlockSpin { to { transform: rotate(360deg); } }
