:root {
  --bg: #05050d;
  --bg-soft: #0d0d1a;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.085);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #c2c2e6;
  --grad-1: #ff2d7e;
  --grad-2: #9b3bff;
  --grad-3: #11b8ff;
  --grad: linear-gradient(110deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3));
  --grad-anim: linear-gradient(110deg, #ff2d7e, #9b3bff, #11b8ff, #9b3bff, #ff2d7e);
  --accent: #8b5cff;
  --accent-2: #7a45f5;
  --danger: #ff5470;
  --ok: #2ee6a6;
  --radius: 20px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --glow: 0 0 60px rgba(155, 59, 255, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(900px 520px at 50% -240px, rgba(139, 92, 255, 0.16), transparent 70%),
    #070710;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Czyste, spokojne tło — bez kolorowych „kleksów" i bez poświaty na dole. */
.bg-orbs, .orb { display: none; }
.bg-grid { display: none; }
.floor-ball { display: none; }

/* ── Gradient (statyczny, używany oszczędnie) ─────────────── */
.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Wejścia ──────────────────────────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { opacity: 0; animation: rise 0.8s cubic-bezier(.2,.8,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; }
.d3 { animation-delay: .28s; } .d4 { animation-delay: .42s; }

/* ── Nawigacja ────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 60px);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 7, 15, 0.55);
  border-bottom: 1px solid var(--card-border);
}
.brand { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(139, 92, 255, 0.4);
}
.logo-mark svg { width: 19px; height: 19px; color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Logo YTIGDL: YT i IG jako czarne kafelki z ikoną marki + tekstem, DL łagodny żółty ── */
.logo {
  display: inline-flex; align-items: center; gap: 1px; line-height: 1;
  letter-spacing: -0.02em; font-weight: 850; font-size: 1.72rem;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
/* Czarne kafelki marek — litery to „okno" na obrazek marki (background-clip: text) */
.bYT, .bIG {
  display: inline-flex; align-items: center;
  background: #000; border-radius: 9px; padding: 3px 8px;
  font-size: 1em; font-weight: 850; letter-spacing: 0;
}
.bYT { margin-right: 0; }
.fill {
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  background-repeat: no-repeat; background-size: cover; background-position: center;
}
.fill.yt { background-image: url(../assets/yt.svg); }
.fill.ig { background-image: url(../assets/ig.svg); }
/* DL jako solidny, łagodny żółty (bez clipu — pewny render na każdym urządzeniu) */
.bDL {
  color: #ffce47; -webkit-text-fill-color: #ffce47;
  margin-left: 5px; font-weight: 850;
}
#secretSpot { -webkit-user-select: none; user-select: none; touch-action: manipulation; cursor: default; }

/* ── Przyciski ────────────────────────────────────────────── */
.btn {
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  padding: 11px 18px; border-radius: 13px;
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  transition: transform .18s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--card-strong); border-color: rgba(255,255,255,0.18); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary {
  position: relative; border: none; color: #fff; font-weight: 700;
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(139, 92, 255, 0.32);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 14px 34px rgba(139, 92, 255, 0.42); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 40px) 30px;
  text-align: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid var(--card-border);
  background: var(--card); border-radius: 999px;
  font-size: 0.82rem; color: var(--muted); margin-bottom: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.badge .pill-grad { font-weight: 800; }
.hero h1 {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  line-height: 1.02; letter-spacing: -0.04em; font-weight: 850; margin-bottom: 22px;
}
.hero p.lead {
  color: #d2d2ee; font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  max-width: 640px; margin: 0 auto 22px;
}

/* Loga platform */
.platforms { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 4px; }
.plat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--card-border); background: var(--card);
  font-size: 0.85rem; font-weight: 600; color: #cfcfe6;
}
.plat svg { width: 18px; height: 18px; }
.plat.soon { color: var(--muted); }

/* ── Downloader ───────────────────────────────────────────── */
.downloader {
  position: relative;
  max-width: 820px; margin: 36px auto 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--card-border);
  border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.input-row { display: flex; gap: 12px; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 220px;
  background: rgba(8, 8, 16, 0.7);
  border: 1px solid var(--card-border); border-radius: 14px;
  padding: 16px; color: var(--text); font-size: 1rem; outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
.input:focus { border-color: var(--grad-2); box-shadow: 0 0 0 4px rgba(177, 91, 255, 0.18); }
.input::placeholder { color: #6b6b86; }
.downloader .input-row .btn-primary { padding: 16px 24px; }

.quality-row { display: flex; gap: 10px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.seg {
  display: inline-flex; background: rgba(8, 8, 16, 0.6);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 4px; gap: 4px;
}
.seg button {
  border: none; background: transparent; color: var(--muted);
  padding: 9px 15px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 0.86rem;
  transition: color .2s ease;
}
.seg button.active { background: var(--accent); color: #fff; }

.usage-bar { margin-top: 18px; font-size: 0.86rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.usage-track { flex: 1; min-width: 140px; height: 9px; background: rgba(8,8,16,0.7); border-radius: 999px; overflow: hidden; }
.usage-fill { height: 100%; background: var(--accent); width: 0%; transition: width .5s ease; }

.result {
  margin-top: 18px; padding: 16px; border-radius: 14px;
  background: rgba(8, 8, 16, 0.6); border: 1px solid var(--card-border); display: none;
}
.result.show { display: block; animation: rise .4s ease; }
.result.error { border-color: rgba(255, 84, 112, 0.5); }

/* ── Zalety ───────────────────────────────────────────────── */
.section-title { text-align: center; margin: 100px auto 0; padding: 0 20px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; font-weight: 800; }
.section-title p { color: var(--muted); margin-top: 8px; }

.features {
  max-width: 1120px; margin: 36px auto 0; padding: 0 clamp(18px, 5vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.feature {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease, border .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow); }
.feature::after {
  content: ''; position: absolute; top: -40%; right: -40%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(177,91,255,0.25), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.feature:hover::after { opacity: 1; }
.feature .ico {
  width: 48px; height: 48px; border-radius: 13px;
  background: rgba(139, 92, 255, 0.16); border: 1px solid rgba(139, 92, 255, 0.3);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; color: var(--accent); }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

footer {
  max-width: 1120px; margin: 100px auto 0;
  padding: 30px clamp(18px, 5vw, 40px) 60px; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(4, 4, 10, 0.72);
  backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.modal-backdrop.show { display: flex; animation: rise .25s ease; }
.modal {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,22,34,0.96), rgba(14,14,22,0.96));
  border: 1px solid var(--card-border); border-radius: 22px;
  padding: 32px; width: 100%; max-width: 430px; box-shadow: var(--shadow);
}
.modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.modal h2 { font-size: 1.55rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.modal p.sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.modal .input { width: 100%; margin-bottom: 12px; }
.modal .divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.8rem; margin: 16px 0; }
.modal .divider::before, .modal .divider::after { content: ''; flex: 1; height: 1px; background: var(--card-border); }
.oauth-btn {
  width: 100%; justify-content: center; margin-bottom: 10px;
  background: #fff; color: #15151f; border: none; font-weight: 650;
}
.oauth-btn:hover { background: #f0f0f5; }
.oauth-btn.ms { background: #2a2a36; color: #fff; }
.oauth-btn.ms:hover { background: #34343f; }
.oauth-btn img, .oauth-btn svg { width: 18px; height: 18px; }
.modal-close { float: right; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--text); }
.msg { font-size: 0.86rem; margin-top: 10px; min-height: 18px; }
.msg.error { color: var(--danger); }
.msg.ok { color: var(--ok); }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; background: rgba(8,8,16,0.5); padding: 5px; border-radius: 13px; }
.tabs button { flex: 1; border: none; background: transparent; color: var(--muted); padding: 10px 6px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: all .2s; }
.tabs button.active { background: var(--accent); color: #fff; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: linear-gradient(180deg, rgba(22,22,34,0.98), rgba(14,14,22,0.98));
  border: 1px solid var(--card-border); padding: 14px 22px; border-radius: 14px;
  box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.9,.3,1.4); z-index: 200; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.ok { border-color: rgba(46, 230, 166, 0.5); }
.toast.error { border-color: rgba(255, 84, 112, 0.5); }

.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border: 1px solid var(--card-border); border-radius: 999px; background: var(--card); max-width: 100%; }
.user-chip img { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.user-chip .em { font-size: 0.82rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
@media (max-width: 600px) {
  .user-chip .em { display: none; }
}

.hidden { display: none !important; }

/* ── Panel admina ─────────────────────────────────────────── */
.admin-wrap { max-width: 1120px; margin: 0 auto; padding: 40px clamp(18px, 5vw, 40px); }
.admin-grid { display: grid; gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); }
.panel h2 { font-size: 1.2rem; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--card-border); }
th { color: var(--muted); font-weight: 600; }
td code { background: rgba(8,8,16,0.7); padding: 3px 7px; border-radius: 6px; font-size: 0.82rem; }
.tag { padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.tag.active { background: rgba(46, 230, 166, 0.15); color: var(--ok); }
.tag.revoked { background: rgba(255, 84, 112, 0.15); color: var(--danger); }
.table-scroll { overflow-x: auto; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; color: var(--muted); }
.field input, .field select { background: rgba(8,8,16,0.7); border: 1px solid var(--card-border); border-radius: 11px; padding: 11px 13px; color: var(--text); }
.center-card { max-width: 430px; margin: 80px auto; text-align: center; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 40px 32px; backdrop-filter: blur(10px); }

/* ── Linki w nawigacji ───────────────────────────────────── */
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  color: var(--muted); transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--card); color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--card-strong); }

/* ── Nagłówek podstrony ──────────────────────────────────── */
.page { max-width: 900px; margin: 0 auto; padding: clamp(28px, 6vw, 56px) clamp(18px, 5vw, 40px) 60px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -0.03em; }
.page-head p { color: var(--muted); margin-top: 6px; }

/* ── Opcje pobierania ────────────────────────────────────── */
.options {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin-top: 18px;
}
.opt { display: flex; flex-direction: column; gap: 7px; }
.opt label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.opt select, .opt input {
  background: rgba(8, 8, 16, 0.7); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 12px 13px; color: var(--text); font-size: 0.95rem; outline: none;
  transition: border .2s ease;
}
.opt select:focus, .opt input:focus { border-color: var(--accent); }
.opt .hint { font-size: 0.74rem; color: #8a8ab0; }
.opt.span-2 { grid-column: 1 / -1; }
.trim-row { display: flex; gap: 10px; }
.trim-row input { flex: 1; }

details.adv {
  margin-top: 18px; border: 1px solid var(--card-border);
  border-radius: 14px; background: rgba(255,255,255,0.02); overflow: hidden;
}
details.adv > summary {
  cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary::after { content: '⌄'; color: var(--muted); font-size: 1.2rem; transition: transform .2s; }
details.adv[open] > summary::after { transform: rotate(180deg); }
details.adv .adv-body { padding: 0 18px 18px; }

.badge-soft {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(139,92,255,0.16); border: 1px solid rgba(139,92,255,0.3);
  color: #c9b8ff; font-size: 0.72rem; font-weight: 600; margin-left: 8px;
}

/* ── Historia ────────────────────────────────────────────── */
.history-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.history-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 14px 16px;
}
.history-item .pl {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(255,255,255,0.05);
}
.history-item .meta { flex: 1; min-width: 0; }
.history-item .meta .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item .meta .s { font-size: 0.8rem; color: var(--muted); }
.history-empty { color: var(--muted); text-align: center; padding: 40px; }

/* ── CTA na landingu ─────────────────────────────────────── */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ════════════════════════════════════════════════════════════
   Okno logowania / rejestracji — wygląd jak w prawdziwej apce
   ════════════════════════════════════════════════════════════ */
.auth-modal { max-width: 410px; padding: 30px 30px 26px; }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head .logo-mark { margin: 0 auto 14px; width: 46px; height: 46px; border-radius: 14px; }
.auth-head .logo-mark svg { width: 24px; height: 24px; }
.auth-head h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-head .sub { color: var(--muted); font-size: 0.92rem; }

/* Oficjalny przycisk Google */
.google-btn {
  width: 100%; justify-content: center; gap: 11px;
  height: 48px; border-radius: 12px;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0;
  font-weight: 600; font-size: 0.95rem;
}
.google-btn:hover { background: #f7f8f8; border-color: #d2d3d5; transform: none; box-shadow: 0 2px 8px rgba(0,0,0,0.18); }
.google-btn svg { width: 19px; height: 19px; }

.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.78rem; margin: 18px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--card-border); }

/* Etykiety i pola z ikoną */
.fld-label { display: block; font-size: 0.82rem; font-weight: 600; color: #d7d7ee; margin: 0 0 7px; }
.fld-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.fld-row .fld-label { margin: 0; }
.fld {
  position: relative; display: flex; align-items: center; margin-bottom: 4px;
}
.fld > svg {
  position: absolute; left: 13px; width: 19px; height: 19px;
  color: #8a8ab0; pointer-events: none;
}
.fld input {
  width: 100%; height: 48px;
  background: rgba(8, 8, 16, 0.65); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 0 14px 0 42px; color: var(--text); font-size: 0.98rem; outline: none;
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
.fld input::placeholder { color: #6b6b86; }
.fld input:focus { border-color: var(--accent); background: rgba(8,8,16,0.85); box-shadow: 0 0 0 4px rgba(139, 92, 255, 0.16); }
.fld:focus-within > svg { color: var(--accent); }
.pw-toggle {
  position: absolute; right: 8px; width: 34px; height: 34px;
  display: grid; place-items: center; border: none; background: transparent;
  color: #8a8ab0; cursor: pointer; border-radius: 8px;
}
.pw-toggle:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.pw-toggle.on { color: var(--accent); }
.pw-toggle svg { width: 19px; height: 19px; }

.btn-lg { height: 48px; font-size: 0.98rem; margin-top: 16px; border-radius: 12px; }

.link { color: var(--accent); font-weight: 600; font-size: 0.84rem; }
.link:hover { text-decoration: underline; }

.auth-switch { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* PRO — celowo przygaszone, mniej krzykliwe niż tęczowy gradient. */
.pro { color: #a99bd6; font-weight: 700; }

/* ── Onboarding w aplikacji ──────────────────────────────── */
.onboarding { max-width: 460px; margin: clamp(30px,8vw,70px) auto; padding: 0 18px; }
.onb-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 32px; text-align: center; box-shadow: var(--shadow);
}
.onb-card .logo-mark { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 16px; }
.onb-card .logo-mark svg { width: 26px; height: 26px; }
.onb-card h1 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.onb-card > p { color: var(--muted); margin-bottom: 20px; }
.onb-steps { text-align: left; display: grid; gap: 12px; margin: 0 0 22px; }
.onb-step { display: flex; gap: 12px; align-items: flex-start; }
.onb-step .n {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: rgba(139,92,255,0.16); border: 1px solid rgba(139,92,255,0.3);
  color: var(--accent); font-weight: 800; font-size: 0.85rem;
  display: grid; place-items: center;
}
.onb-step .tx { font-size: 0.92rem; }
.onb-step .tx b { display: block; }
.onb-step .tx span { color: var(--muted); font-size: 0.85rem; }

/* ── Klawiatura numeryczna (PIN admina) ──────────────────── */
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 4px; }
.keypad button {
  padding: 15px 0; font-size: 1.25rem; font-weight: 700; border-radius: 12px;
  border: 1px solid var(--card-border); background: rgba(255,255,255,0.04); color: var(--text);
  cursor: pointer; transition: background .15s ease, transform .1s ease;
  -webkit-user-select: none; user-select: none;
}
.keypad button:hover { background: var(--card-strong); }
.keypad button:active { transform: scale(0.96); }
.keypad button[data-k="ok"] { background: var(--accent); color: #fff; border: none; }
.keypad button[data-k="clear"] { color: var(--muted); font-size: 1.4rem; }
