/* AI IPTV site — tek stil dosyası (build.mjs içerik özetiyle adlandırıp /assets/site.<hash>.css olarak yayınlar).
   Palet: Konsept 1 "Spark Screen" (primary #6C5CE7, primary-light #8B7CF6, accent #00D1B2, zemin #0B0B12,
   gradyan üstü #1D1840, metin #F5F6FA, AI gradyanı #A29BFE→#00D1B2; açık tema #6C5CE7→#00A88F); koyu tema varsayılan, prefers-color-scheme: light ile açık tema. */

:root {
  color-scheme: dark light;
  --bg: #0b0b12;
  --bg-2: #10101a;
  --surface: #161622;
  --surface-2: #1e1e2e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f6fa;
  --muted: #a3a3b8;
  --primary: #6c5ce7;
  --primary-hover: #7d6ef0;
  --on-primary: #ffffff;
  --link: #b0a6ff;
  --accent: #00d1b2;
  --accent-text: #2ee6c9;
  --warn-bg: rgba(0, 209, 178, 0.08);
  --warn-line: rgba(0, 209, 178, 0.35);
  --grad: linear-gradient(135deg, #a29bfe 0%, #00d1b2 100%);
  --grad-top: #1d1840;
  --logo-ai-0: #a29bfe;
  --logo-ai-1: #00d1b2;
  --glow-1: rgba(108, 92, 231, 0.34);
  --glow-2: rgba(0, 209, 178, 0.16);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --hero-top: rgba(29, 24, 64, 0.9);
  --radius-sm: 12px;
  --gutter: 16px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6fb;
    --bg-2: #eeeef6;
    --surface: #ffffff;
    --surface-2: #f0effa;
    --line: rgba(20, 20, 40, 0.11);
    --text: #14122b;
    --muted: #55556d;
    --primary: #5b4bd9;
    --primary-hover: #4c3cc9;
    --link: #4a3ad0;
    --accent-text: #00715e;
    --warn-bg: rgba(0, 150, 128, 0.07);
    --warn-line: rgba(0, 130, 110, 0.35);
    --glow-1: rgba(108, 92, 231, 0.16);
    --grad: linear-gradient(135deg, #6c5ce7 0%, #00a88f 100%);
    --logo-ai-0: #6c5ce7;
    --logo-ai-1: #00a88f;
    --glow-2: rgba(0, 209, 178, 0.12);
    --shadow: 0 24px 60px -30px rgba(30, 20, 80, 0.35);
    --hero-top: transparent;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 0.6rem 1rem; border-radius: 10px;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand svg { height: 32px; width: auto; }
.logo-ai-0 { stop-color: var(--logo-ai-0); }
.logo-ai-1 { stop-color: var(--logo-ai-1); }
.nav { display: none; gap: 1.5rem; margin-left: 1.5rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { list-style: none; margin: 0; padding: 2px; display: flex; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 0.55rem;
  border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.03em;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--surface-2); color: var(--text); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-small { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.header-actions .btn-small { display: none; }
@media (min-width: 480px) { .header-actions .btn-small { display: inline-flex; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 26rem at 15% 10%, var(--glow-1), transparent 70%),
    radial-gradient(60rem 30rem at 50% -10%, var(--hero-top, transparent), transparent 70%),
    radial-gradient(36rem 24rem at 90% 40%, var(--glow-2), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(2.25rem, 7.5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 0.4em; }
h1 .ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--muted); max-width: 38rem; }

.downloads { display: grid; gap: 12px; margin: 28px 0 20px; }
@media (min-width: 560px) { .downloads { grid-template-columns: repeat(3, auto); justify-content: start; } }
.store {
  display: flex; flex-direction: column; justify-content: center; min-height: 64px;
  padding: 0.55rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); text-decoration: none; line-height: 1.25;
}
.store small { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.store strong { font-size: 1.05rem; }
.store.is-cta { background: var(--primary); border-color: transparent; color: var(--on-primary); }
.store.is-cta small { color: #fff; }
.store.is-cta:hover { background: var(--primary-hover); }
.store[aria-disabled='true'] { cursor: default; }
.downloads-note { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }

.disclaimer {
  display: flex; gap: 12px; align-items: flex-start; max-width: 40rem;
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--warn-line); background: var(--warn-bg);
  font-size: 0.95rem;
}
.disclaimer p { margin: 0; }
.disclaimer strong { display: block; }
.disclaimer .ico { color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------- CSS mockup (decorative) */
.device { position: relative; margin-inline: auto; width: 100%; max-width: 36rem; }
.tv {
  border-radius: 18px; padding: 10px; background: #050508; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tv-foot { width: 28%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #1a1a24; }
.screen {
  aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; padding: 4% 5%;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(108, 92, 231, 0.35), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(0, 209, 178, 0.18), transparent 70%),
    #0b0b12;
  color: #f5f5fa; font-size: clamp(9px, 1.65vw, 13px); line-height: 1.3;
  display: grid; grid-template-rows: auto auto auto 1fr; gap: 4%; align-content: start;
}
@media (min-width: 960px) { .screen { font-size: clamp(9px, 0.95vw, 13px); } }
.m-top { display: flex; align-items: center; justify-content: space-between; }
.m-logo { font-weight: 800; letter-spacing: -0.02em; font-size: 1.15em; }
.m-logo b { background: linear-gradient(135deg, #a29bfe, #00d1b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-pill {
  display: inline-flex; align-items: center; gap: 0.4em; padding: 0.3em 0.8em; border-radius: 999px;
  background: rgba(0, 209, 178, 0.14); color: #2ee6c9; font-weight: 700; border: 1px solid rgba(0, 209, 178, 0.4);
}
.m-pill::before { content: ''; width: 0.55em; height: 0.55em; border-radius: 50%; background: #00d1b2; box-shadow: 0 0 8px #00d1b2; }
.m-label { color: #a3a3b8; font-weight: 700; margin-bottom: 0.5em; }
.m-profiles { display: flex; gap: 0.9em; }
.m-avatar { display: flex; flex-direction: column; align-items: center; gap: 0.3em; color: #cfcfe0; }
.m-avatar i {
  width: 2.6em; height: 2.6em; border-radius: 30%; display: grid; place-items: center;
  font-style: normal; font-weight: 800; color: #fff; background: #6c5ce7;
}
.m-avatar:nth-child(2) i { background: #00a896; }
.m-avatar:nth-child(3) i { background: #e0a100; color: #1a1300; }
.m-avatar.is-active i { box-shadow: 0 0 0 2px #0b0b12, 0 0 0 4px #00d1b2; }
.m-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; }
.m-tile {
  aspect-ratio: 16 / 10; border-radius: 0.6em; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2b2450, #161622);
}
.m-tile:nth-child(2) { background: linear-gradient(160deg, #0f3d3a, #161622); }
.m-tile:nth-child(3) { background: linear-gradient(160deg, #3d2a14, #161622); }
.m-tile:nth-child(4) { background: linear-gradient(160deg, #3a1630, #161622); }
.m-tile::before {
  content: ''; position: absolute; left: 10%; right: 35%; bottom: 22%; height: 0.45em; border-radius: 4px;
  background: rgba(255, 255, 255, 0.35); box-shadow: 0 1em 0 -0.05em rgba(255, 255, 255, 0.18);
}
.m-tile.has-progress::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 0.3em; width: 62%; background: #00d1b2;
}
.m-live {
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
  padding: 0.8em 1em; border-radius: 0.8em; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: start;
}
.m-live strong { display: block; }
.m-live span { color: #a3a3b8; }
.m-btn { padding: 0.4em 0.9em; border-radius: 999px; background: #6c5ce7; color: #fff; font-weight: 700; white-space: nowrap; }
.m-float {
  position: absolute; right: 3%; bottom: -5%; padding: 0.55em 0.9em; border-radius: 12px; font-weight: 700;
  font-size: clamp(11px, 2.4vw, 14px); background: var(--surface); color: var(--text); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.6em;
}
.m-ring { width: 1.2em; height: 1.2em; border-radius: 50%; background: conic-gradient(#00d1b2 0 72%, rgba(127, 127, 160, 0.3) 72% 100%); }
@media (min-width: 960px) { .m-float { right: -4%; } }

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section-head { max-width: 44rem; margin-bottom: 36px; }
.kicker { display: block; color: var(--accent-text); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.section h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card {
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; margin-top: 14px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-box {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--accent-text); background: var(--surface-2); border: 1px solid var(--line);
}
.ai-cards .ico-box { color: #0b0b12; background: var(--grad); border: 0; }
.note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; display: flex; gap: 10px; align-items: flex-start; }
.note .ico { color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }

.platforms .card { display: flex; flex-direction: column; }
.platforms .card p { flex: 1; }
.status {
  display: inline-block; margin-top: 16px; padding: 0.3rem 0.75rem; border-radius: 999px; align-self: flex-start;
  font-size: 0.85rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { margin-top: 0; }

.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p { margin: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand svg { height: 32px; width: auto; color: var(--text); margin-bottom: 12px; }
.site-footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer ul a { color: var(--muted); text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.site-footer ul a:hover, .site-footer ul a[aria-current] { color: var(--text); text-decoration: underline; }
.site-footer .lang-list a[aria-current] { font-weight: 700; }
.fine { margin-top: 32px; font-size: 0.82rem; }
.fine p { margin: 0 0 0.4em; }

/* ---------------------------------------------------------------- documents (privacy / terms / support) */
.doc { padding: 40px 0 72px; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 800; margin: 0.4em 0 0.6em; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose code { font-size: 0.9em; padding: 0.1em 0.35em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 1em; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.prose pre code { border: 0; background: none; padding: 0; }
.prose blockquote {
  margin: 1.2em 0; padding: 0.9em 1.1em; border-radius: var(--radius-sm);
  background: var(--warn-bg); border: 1px solid var(--warn-line);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; min-width: 36rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55em 0.7em; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.doc-meta { color: var(--muted); font-size: 0.9rem; }
.doc-fallback {
  max-width: 46rem; margin: 0 0 8px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); font-weight: 600;
}

/* ---------------------------------------------------------------- language suggestion (JS, optional) */
.lang-suggest {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 60; margin-inline: auto; max-width: 34rem;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 0.95rem;
}
.lang-suggest p { margin: 0; flex: 1; }
.lang-suggest a { font-weight: 700; }
.lang-suggest-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent;
  color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.lang-suggest-close:hover { background: var(--surface-2); }

.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3rem); }
.notfound .btn { margin: 8px; }

/* ---------------------------------------------------------------- pricing */
.plans { margin-bottom: 8px; }
.plan h3 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.plan .price { margin: 0.2rem 0 0.8rem; color: var(--text); }
.plan .price strong { font-size: 1.6rem; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); }
.plan .price .pending { font-size: 1.15rem; color: var(--muted); }
.plan.is-trial { border-color: var(--warn-line); }
.plan.is-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.badge { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--grad); color: #0b0b12; }
.plan-notes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.plan-notes li { display: flex; gap: 10px; align-items: flex-start; }
.plan-notes .ico { color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------- app pages (/tv, /subscribe, /account/delete) */
.app-page { padding: 40px var(--gutter) 72px; }
.app-intro { max-width: 44rem; margin-bottom: 24px; }
.app-intro h1 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); font-weight: 800; }
.app-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .app-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; } }
.panel { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 600px) { .panel { padding: 32px; } }
.panel h2, .app-aside h2 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.panel h2:focus { outline: none; }
.app-aside { display: grid; gap: 16px; }
.app-aside .card p { color: var(--muted); }
.app-aside .card p:last-child { margin-bottom: 0; }
.app-aside .ico-box { margin-bottom: 12px; }
.progress { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.progress li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); }
.progress li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font-weight: 700; color: var(--text); }
.progress li[aria-current] { color: var(--text); border-color: var(--primary); }
.progress li[aria-current] span { background: var(--primary); color: var(--on-primary); }
.progress li.is-done span { background: var(--accent); color: #0b0b12; }
.panel form { display: grid; gap: 10px; max-width: 26rem; }
.panel label { font-weight: 700; }
.panel input[type='email'], .panel input[type='text'] {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border-radius: 12px; font: inherit; font-size: 1.05rem;
  color: var(--text); background: var(--bg); border: 1px solid var(--line);
}
.panel input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.panel input[aria-invalid='true'] { border-color: #ff5470; }
.code-input { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; font-weight: 700; text-transform: uppercase; }
.hint { color: var(--muted); font-size: 0.9rem; margin: 0; }
.panel .btn { justify-self: start; margin-top: 6px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-danger { background: #c9264a; color: #fff; }
.btn-danger:hover { background: #b01e3f; }
.form-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255, 84, 112, 0.5); background: rgba(255, 84, 112, 0.1); font-weight: 600; }
.form-status { margin: 0; color: var(--muted); font-size: 0.9rem; min-height: 0; }
.form-status:empty { display: none; }
.link-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0 0; }
.link-btn { background: none; border: 0; padding: 0.4rem 0; font: inherit; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; min-height: 40px; }
.signed-in { color: var(--muted); }
.notice { padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #0b0b12; margin-bottom: 14px; }
.done-mark .ico { width: 28px; height: 28px; }
.callout-warn {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 24px; padding: 14px 16px; max-width: 52rem;
  border-radius: var(--radius-sm); border: 1px solid rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.09);
}
.callout-warn .ico { color: #e0a100; flex-shrink: 0; margin-top: 2px; }
.callout-warn p { margin: 0.2rem 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.ticks.is-kept li::before { width: 10px; height: 10px; top: 0.4em; border: 2px solid #e0a100; border-radius: 50%; transform: none; }
.fine-print { color: var(--muted); font-size: 0.88rem; }
.steps-list { padding-left: 1.3em; display: grid; gap: 8px; margin: 0 0 20px; }
.mini-plans { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; }
.mini-plans li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-plans strong { color: var(--text); }
@media (prefers-color-scheme: light) {
  .callout-warn .ico, .ticks.is-kept li::before { color: #8a5a00; border-color: #8a5a00; }
}
