/* SunoCheats — black "cyber" theme. Yellow is an accent only. */
:root {
  --bg: #000;
  --bg-2: #050506;
  --card: #0a0a0c;
  --card-2: #111114;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --text: #eeeeee;
  --muted: rgba(255, 255, 255, .56);
  --muted-2: rgba(255, 255, 255, .34);
  --sun: #ffd21f;
  --sun-2: #ffb703;
  --on-sun: #1c1200;
  --green: #4ade80;
  --red: #f87171;
  --r: 6px;
  --r-sm: 4px;
  --font-h: "Inter Tight", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); font-size: 15px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { flex: 1; position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-h); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
::selection { background: var(--sun); color: #000; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent { color: var(--sun); }
.center { text-align: center; }
.dim { color: var(--muted-2); }
.mono { font-family: var(--font-m) !important; }
.mono-label { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ---------- TOPBAR + NAV ---------- */
.topbar { position: relative; z-index: 51; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 8px 16px; font-size: 13px; background: var(--bg); border-bottom: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; text-align: center; }
.topbar a { color: var(--text); }
.topbar a:hover { color: var(--sun); }
.tb-tag { font-size: 10px; letter-spacing: .14em; padding: 2px 7px; border: 1px solid rgba(255, 210, 31, .45); color: var(--sun); border-radius: 3px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .06em; font-weight: 500; }
.brand img { width: 24px; height: 24px; object-fit: contain; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 6px 12px; color: var(--muted); font-size: 14px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { justify-self: end; display: flex; gap: 14px; align-items: center; }
.nav-signin { color: var(--muted); font-size: 14px; }
.nav-signin:hover { color: #fff; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; justify-self: end; }
.burger span { width: 20px; height: 1.5px; background: var(--text); }

.coin-pill { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-m); font-size: 13px; }
.coin { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); display: inline-grid; place-items: center; color: #000; font-weight: 700; font-size: 10px; flex-shrink: 0; font-family: var(--font-m); }
.coin.lg { width: 26px; height: 26px; font-size: 13px; }
.avatar { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--sun); color: #000; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; font-family: var(--font-m); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 500; font-size: 14px; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--sun); }
.btn-primary { background: var(--sun); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
.btn-dark { background: var(--card-2); border-color: var(--line); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(248, 113, 113, .35); }
.btn-danger:hover { background: rgba(248, 113, 113, .08); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.link { color: var(--muted); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); display: inline-block; flex-shrink: 0; animation: blink 2s infinite; }
.dot.warn { background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.dot.bad { background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes blink { 50% { opacity: .35; } }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px; border-radius: 3px; font-family: var(--font-m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.badge.ok { color: var(--green); border-color: rgba(74, 222, 128, .35); }
.badge.warn { color: var(--sun); border-color: rgba(255, 210, 31, .35); }
.badge.bad { color: var(--red); border-color: rgba(248, 113, 113, .35); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: calc(100vh - 100px); display: grid; place-items: center; overflow: hidden; padding: 60px 0 90px; }
.hero-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 80%); }
.hero-core { position: absolute; top: 50%; left: 50%; width: min(520px, 78vw); aspect-ratio: 1; transform: translate(-50%, -54%); display: grid; place-items: center; }
.hero-core::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 31, .22), transparent 65%); filter: blur(20px); }
.hero-core img { width: 64%; position: relative; filter: grayscale(.15) contrast(1.05) drop-shadow(0 0 40px rgba(255, 190, 0, .35)); opacity: .9; animation: hover 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px); } }
.hero-core::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: multiply; }
.crn { position: absolute; width: 18px; height: 18px; border-color: rgba(255, 255, 255, .55); border-style: solid; border-width: 0; z-index: 2; }
.crn.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.crn.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.crn.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.crn.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-read { position: absolute; z-index: 2; font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.hud-read b { color: #fff; font-weight: 500; }
.hud-read.r1 { top: 14%; left: -8%; }
.hud-read.r2 { top: 30%; right: -30%; }
.hud-read.r3 { bottom: 16%; right: -14%; color: var(--sun); }
.hud-read.r3 b { color: var(--sun); }
.hero-text { position: relative; z-index: 3; text-align: center; margin-top: 18vh; }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 500; letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0, 0, 0, .9); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .24em; color: var(--muted-2); z-index: 3; }
.scroll-cue:hover { color: #fff; }

/* ---------- SECTIONS ---------- */
section.block { padding: 110px 0; position: relative; border-top: 1px solid var(--line); }
.sec-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-bottom: 30px; text-transform: uppercase; }
.sec-label i { width: 7px; height: 7px; background: var(--sun); display: inline-block; }
.statement { font-family: var(--font-h); font-size: clamp(28px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.03em; max-width: 1050px; }
.h-lg { font-size: clamp(30px, 4vw, 52px); margin-bottom: 44px; }
.h-xl { font-size: clamp(48px, 8vw, 112px); letter-spacing: -.04em; margin: 16px 0 10px; }
.lead-sm { color: var(--muted); font-size: 16px; max-width: 460px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.row-head .h-lg { margin-bottom: 0; }

.status-strip { margin-top: 56px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; align-items: center; border: 1px solid var(--line); border-radius: var(--r); transition: .2s; }
.status-strip > span { padding: 16px 20px; border-right: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-strip > span:first-child { color: #fff; font-family: var(--font-m); }
.status-strip > span:last-child { border-right: 0; }
.status-strip img { width: 26px; height: 26px; border-radius: 3px; object-fit: cover; filter: grayscale(1); }
.status-strip .ok { color: var(--green); }
.status-strip .arrow svg { width: 16px; height: 16px; }
.status-strip:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .02); }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; transition: background .3s; position: relative; }
.cap:hover { background: rgba(255, 255, 255, .025); }
.cap:hover .mono-label { color: var(--sun); }
.cap h3 { font-size: 24px; margin: auto 0 10px; }
.cap p { color: var(--muted); font-size: 14px; max-width: 320px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.split .h-lg { margin-bottom: 20px; }
.spec { margin-top: 34px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 140px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec dt { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; color: var(--muted-2); align-self: center; }
.spec dd { display: flex; align-items: center; gap: 8px; }
.hud-frame { position: relative; padding: 22px; border: 1px solid var(--line); background:
  linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 32px 32px; }
.hud-frame img { border-radius: 3px; filter: grayscale(.25); box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.hud-frame figcaption { display: flex; justify-content: space-between; margin-top: 16px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); }
.plan { padding: 26px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); position: relative; transition: background .3s; }
.plan:last-child { border-right: 0; }
.plan:hover { background: rgba(255, 255, 255, .02); }
.plan.hot { background: linear-gradient(180deg, rgba(255, 210, 31, .07), transparent 60%); box-shadow: inset 0 2px 0 var(--sun); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 22px; }
.plan-tag { font-family: var(--font-m); font-size: 10px; letter-spacing: .14em; color: #000; background: var(--sun); padding: 2px 7px; border-radius: 3px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-h); font-size: 56px; font-weight: 500; letter-spacing: -.04em; margin: 34px 0 4px; line-height: 1; }
.plan .price small { font-family: var(--font-m); font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.plan .usd { color: var(--muted-2); font-size: 12px; margin-bottom: 30px; }
.plan .btn { margin-top: auto; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.perks span { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 14px; height: 14px; color: var(--sun); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-2); }
.steps li { padding: 0 24px 0 0; position: relative; }
.steps li::before { content: ""; display: block; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--sun); margin-bottom: 26px; position: relative; }
.steps h3 { font-size: 22px; margin: 10px 0 8px; }
.steps p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq > div > details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-m); color: var(--muted); font-size: 18px; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--sun); }
.faq details p { color: var(--muted); font-size: 14px; padding-bottom: 20px; max-width: 520px; }

.cta-final { overflow: hidden; padding: 150px 0 !important; }
.cta-final .hero-cta { margin-top: 30px; }

.page-head { padding: 80px 32px 30px; }
.page-head h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.04em; margin-bottom: 14px; }
.page-head .status-strip { margin-top: 40px; }

/* ---------- GENERIC CARDS ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad { padding: 26px; }
.card h3 { font-size: 17px; margin-bottom: 4px; font-weight: 600; letter-spacing: -.01em; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mt { margin-top: 14px; }
.mt-lg { margin-top: 28px; }
.stat { padding: 22px; }
.stat .label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.stat .label svg { width: 15px; height: 15px; }
.stat .val { font-family: var(--font-h); font-size: 30px; font-weight: 500; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.stat .sub { color: var(--muted-2); font-size: 12px; margin-top: 6px; font-family: var(--font-m); }

.status-table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.status-table th { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; }
.status-table tr:last-child td { border-bottom: 0; }
.game-cell { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.game-cell img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; filter: grayscale(1); }
.table-scroll { overflow-x: auto; }

/* ---------- AUTH ---------- */
.auth-wrap { min-height: calc(100vh - 100px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; display: flex; align-items: flex-end; padding: 56px; overflow: hidden; border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 210, 31, .14), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px, #000; }
.auth-side::before { content: ""; position: absolute; top: 42%; left: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); background: url("assets/logo.webp") center / contain no-repeat; opacity: .85; filter: drop-shadow(0 0 40px rgba(255, 190, 0, .3)); }
.auth-side > * { position: relative; }
.auth-side h2 { font-size: 40px; margin-bottom: 12px; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 400px; }
.suno-id-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 3px; border: 1px solid var(--line-2); font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; margin-bottom: 26px; }
.suno-id-badge img { width: 18px; height: 18px; }
.auth-box h1 { font-size: 34px; margin-bottom: 8px; }
.auth-box > p { color: var(--muted); margin-bottom: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.input { position: relative; }
.input > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-2); pointer-events: none; }
.input input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px 12px 40px; outline: none; transition: .2s; }
.input.no-ic input { padding-left: 14px; }
.input input:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 210, 31, .1); }
.input .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; display: grid; }
.input .eye svg { width: 16px; height: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); margin: 6px 0 20px; cursor: pointer; }
.check input { accent-color: var(--sun); margin-top: 3px; }
.check a { color: var(--text); text-decoration: underline; }
.form-error { color: var(--red); font-size: 13px; min-height: 20px; margin-bottom: 8px; font-family: var(--font-m); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--text); text-decoration: underline; }
.pw-meter { height: 2px; background: var(--line); margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; transition: .3s; }

/* ---------- PANEL ---------- */
.panel { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 100px); }
.side { border-right: 1px solid var(--line); padding: 20px 12px; position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; }
.side-user { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; }
.side-user b { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; }
.side-user span { font-size: 11px; color: var(--muted); font-family: var(--font-m); }
.side-label { font-family: var(--font-m); font-size: 10px; letter-spacing: .16em; color: var(--muted-2); padding: 0 12px; margin: 8px 0 8px; text-transform: uppercase; }
.side a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--muted); font-size: 14px; transition: .15s; }
.side a svg { width: 16px; height: 16px; }
.side a:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.side a.active { color: #fff; background: rgba(255, 255, 255, .05); box-shadow: inset 2px 0 0 var(--sun); }
.side a.active svg { color: var(--sun); }
.side .spacer { flex: 1; }
.content { padding: 34px 40px 60px; min-width: 0; }
.content-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.content-head h1 { font-size: 32px; margin-bottom: 6px; }
.content-head p { color: var(--muted); }

.sub-card { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; align-items: center; padding: 16px; }
.sub-card img { width: 110px; height: 80px; border-radius: 4px; object-fit: cover; filter: grayscale(.6); }
.progress { height: 2px; background: var(--line); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.countdown { font-family: var(--font-m); font-size: 12px; color: var(--sun); margin-top: 4px; }

.list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ic { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); color: var(--sun); flex-shrink: 0; }
.ic svg { width: 15px; height: 15px; }
.ic.green { color: var(--green); }
.amt-pos { color: var(--green); font-family: var(--font-m); font-size: 13px; white-space: nowrap; }
.amt-neg { color: var(--red); font-family: var(--font-m); font-size: 13px; white-space: nowrap; }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pack { padding: 20px; text-align: center; cursor: pointer; transition: .2s; position: relative; border: 1px solid var(--line); border-radius: var(--r); }
.pack:hover { border-color: var(--line-2); }
.pack.sel { border-color: var(--sun); background: rgba(255, 210, 31, .05); }
.pack .coins { font-family: var(--font-h); font-size: 24px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pack .bonus { position: absolute; top: 7px; right: 8px; font-family: var(--font-m); font-size: 10px; color: var(--green); }
.pack .usd { color: var(--muted); margin-top: 4px; font-family: var(--font-m); font-size: 12px; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay { flex: 1; min-width: 100px; padding: 11px; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; text-align: center; font-family: var(--font-m); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: .2s; color: var(--muted); }
.pay.sel { border-color: var(--sun); color: var(--sun); }

.dl-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--muted-2); font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; align-self: center; }
.kv dd { font-family: var(--font-m); font-size: 13px; word-break: break-all; }
.code-box { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 9px 9px 9px 14px; font-family: var(--font-m); font-size: 13px; }
.code-box span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px; cursor: pointer; display: grid; color: var(--muted); transition: .15s; }
.icon-btn:hover { color: var(--sun); border-color: var(--line-2); }
.icon-btn svg { width: 15px; height: 15px; }
ol.howto { padding-left: 20px; color: var(--muted); font-size: 14px; }
ol.howto li { padding: 4px 0; }
ol.howto b { color: var(--text); font-weight: 600; }
.loader-img { border-radius: 4px; border: 1px solid var(--line); margin-top: 16px; }
.changelog { border-left: 1px solid var(--line-2); padding-left: 18px; margin-left: 5px; }
.changelog .ver { position: relative; padding-bottom: 18px; }
.changelog .ver::before { content: ""; position: absolute; left: -24px; top: 7px; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--sun); }
.changelog b { font-family: var(--font-m); font-weight: 500; }
.changelog ul { color: var(--muted); font-size: 14px; padding-left: 18px; margin-top: 4px; }
.toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; transition: .2s; }
.toggle span::before { content: ""; position: absolute; width: 14px; height: 14px; left: 3px; top: 3px; background: var(--muted); border-radius: 50%; transition: .2s; }
.toggle input:checked + span { border-color: var(--sun); }
.toggle input:checked + span::before { transform: translateX(18px); background: var(--sun); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.note.warn { border-color: rgba(255, 210, 31, .35); color: #ffe68a; }
.loading { display: grid; place-items: center; min-height: 50vh; color: var(--muted); }
.spinner { width: 28px; height: 28px; border: 2px solid var(--line-2); border-top-color: var(--sun); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- MODAL / TOAST ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal-backdrop[hidden] { display: none; }
.modal { width: 100%; max-width: 440px; padding: 28px; animation: pop .25s; background: var(--card) !important; position: relative; }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal .row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.modal .row span:first-child { color: var(--muted); }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.toast-wrap { position: fixed; bottom: 20px; right: 20px; left: 20px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast { background: var(--card); border: 1px solid var(--line-2); border-left: 2px solid var(--sun); padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; max-width: 360px; animation: pop .25s; pointer-events: auto; }
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 26px; position: relative; z-index: 1; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h5 { margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 20px; font-size: 11px; letter-spacing: .12em; color: var(--muted-2); }
body.in-panel .footer { display: none; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .status-strip { grid-template-columns: repeat(3, 1fr); }
  .status-strip > span { border-bottom: 1px solid var(--line); }
  .status-strip > span:nth-child(3n) { border-right: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hud-read.r2 { right: -6%; }
}
@media (max-width: 860px) {
  .container { padding: 0 16px; }
  .page-head { padding: 56px 16px 20px; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #000; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .nav-actions .hide-sm { display: none; }
  .topbar { font-size: 12px; gap: 8px; }
  section.block { padding: 72px 0; }
  .hero { min-height: 82vh; }
  .hud-read.r1 { left: 0; }
  .hud-read.r2 { display: none; }
  .hud-read.r3 { right: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq > div + div > details:first-child { border-top: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .panel { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--line); gap: 2px; }
  .side-user, .side-label, .side .spacer { display: none; }
  .side a { white-space: nowrap; }
  .side a.active { box-shadow: inset 0 -2px 0 var(--sun); }
  .content { padding: 24px 16px 48px; }
  .grid-2 { grid-template-columns: 1fr; }
  .sub-card { grid-template-columns: 1fr; }
  .sub-card img { width: 100%; height: 130px; }
  .dl-hero { grid-template-columns: 1fr; }
  .cta-final { padding: 100px 0 !important; }
}
@media (max-width: 560px) {
  .pricing, .cap-grid, .steps, .grid-3 { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .cap { min-height: 0; }
  .cap h3 { margin-top: 26px; }
  .status-strip { grid-template-columns: 1fr 1fr; }
  .status-strip > span:nth-child(3n) { border-right: 1px solid var(--line); }
  .status-strip > span:nth-child(2n) { border-right: 0; }
  .spec div { grid-template-columns: 110px 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .brand span { display: none; }
  .hud-read { font-size: 9px; }
}

/* ---------- ADMIN ---------- */
.role-tag { display: inline-block; font-family: var(--font-m); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--muted); vertical-align: middle; font-weight: 500; }
.role-tag.owner { color: #000; background: var(--sun); border-color: var(--sun); }
.role-tag.admin { color: var(--sun); border-color: rgba(255, 210, 31, .45); }
.admin-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.admin-tabs a { padding: 10px 14px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.admin-tabs a:hover { color: #fff; }
.admin-tabs a.active { color: #fff; border-bottom-color: var(--sun); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-family: var(--font-m); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; white-space: nowrap; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .02); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.banned td { opacity: .5; }
.tbl a:hover b { color: var(--sun); }
.icon-btn.inline { display: inline-grid; padding: 3px; vertical-align: middle; margin-left: 4px; }
.icon-btn.inline svg { width: 12px; height: 12px; }
.form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-row .input input { padding-top: 9px; padding-bottom: 9px; }
.select { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; color: var(--text); outline: none; cursor: pointer; }
.select:focus { border-color: var(--sun); }
.modal.wide { max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-x { position: absolute; top: 14px; right: 18px; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-x:hover { color: #fff; }
/* Compact, draggable payment window (Stripe Embedded Checkout) */
.modal.pay { max-width: 440px; padding: 0; overflow: hidden; max-height: calc(100vh - 24px); display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.pay-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: grab; user-select: none; touch-action: none; font-size: 13px; }
.pay-head:active { cursor: grabbing; }
.pay-grip { color: var(--muted); letter-spacing: -2px; font-size: 14px; }
.pay-head .modal-x { position: static; margin-left: auto; padding: 0 2px; }
.pay-body { overflow-y: auto; min-height: 0; }
.adm-actions { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.mini-list { border: 1px solid var(--line); border-radius: var(--r); max-height: 180px; overflow-y: auto; }
.mini-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.mini-list > div:last-child { border-bottom: 0; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
