:root {
  --bg: #0e1014; --card: #171b22; --line: #262c37; --line2: #2f3745;
  --text: #edf1f6; --muted: #98a1b0;
  --green: #1db954; --orange: #ff5500; --amber: #f5b953; --red: #f26d6d;
}
* { box-sizing: border-box; margin: 0; }
body {
  min-height: 100vh;
  background: radial-gradient(900px 600px at 50% -180px, #1b2230, var(--bg)) fixed;
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* layout */
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 40px 20px; }
.wrap.wide { max-width: 900px; }
.topbar { display: flex; align-items: center; gap: 14px; max-width: 900px;
          margin: 0 auto; padding: 18px 20px; }
.topbar .brand { font-weight: 700; font-size: 17px; color: var(--text); }
.topbar .brand:hover { text-decoration: none; }
.topbar .spacer { flex: 1; }
.topbar .pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line);
                padding: 5px 12px; border-radius: 99px; }
.topbar .pill b { color: var(--green); }
.topbar a.nav { color: var(--muted); font-size: 14px; }
.topbar a.nav:hover { color: var(--text); text-decoration: none; }

/* cards & inputs */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px;
        padding: 24px; margin-bottom: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
input[type=text], input[type=email], input[type=password], input[type=number] {
  width: 100%; padding: 13px 15px; margin-bottom: 12px;
  background: #0f1218; color: var(--text);
  border: 1px solid var(--line); border-radius: 11px; font-size: 15px; outline: none;
}
input:focus { border-color: var(--green); }
.row-label { font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
             color: var(--muted); margin: 6px 2px 8px; }
button, .btn {
  display: inline-block; width: 100%; padding: 14px; border: 0; border-radius: 999px;
  background: var(--green); color: #04240f; font-size: 16px; font-weight: 700;
  cursor: pointer; text-align: center;
}
button:hover, .btn:hover { background: #23d15f; text-decoration: none; }
button:disabled { opacity: .55; cursor: default; }
button.ghost, .btn.ghost { background: transparent; color: var(--muted);
  border: 1px solid var(--line); font-weight: 500; }
button.ghost:hover, .btn.ghost:hover { color: var(--text); border-color: var(--muted);
  background: transparent; }
button.small { width: auto; padding: 8px 18px; font-size: 14px; }
.error { color: var(--red); font-size: 14px; margin-top: 12px; }
.notice { color: var(--green); font-size: 14px; margin-bottom: 12px; }
.hint { color: var(--muted); font-size: 13px; margin: -6px 2px 14px; }
.hidden { display: none !important; }

/* chips */
.chips { display: flex; gap: 10px; margin-bottom: 14px; }
.chip { flex: 1; padding: 11px; border-radius: 11px; cursor: pointer; text-align: center;
  background: #0f1218; border: 1px solid var(--line); color: var(--muted);
  font-size: 15px; font-weight: 600; user-select: none; }
.chip .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-right: 8px; background: var(--line2); vertical-align: 1px; }
.chip.on { color: var(--text); border-color: var(--green); background: #121722; }
.chip.on .dot { background: var(--green); }
.chip.unavailable { opacity: .55; cursor: default; }
.chip small { display: block; font-weight: 500; font-size: 12px; color: var(--muted);
  margin-top: 2px; }

/* progress */
.stage { font-weight: 650; }
.substage { color: var(--muted); font-size: 14px; margin: 2px 0 16px; min-height: 21px; }
.bar { height: 8px; border-radius: 99px; background: #0f1218; overflow: hidden;
  margin-bottom: 6px; }
.bar div { height: 100%; width: 0%; background: var(--green); border-radius: 99px;
  transition: width .5s; }
.found { color: var(--muted); font-size: 13px; margin: 10px 0 4px; }
ol.tracks { list-style: none; padding: 0; }
ol.tracks li { display: flex; gap: 12px; align-items: baseline; padding: 9px 2px;
  border-top: 1px solid var(--line); font-size: 15px; animation: fade .35s; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } }
.time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px;
  min-width: 52px; }
.name { flex: 1; }
.hits { color: var(--muted); font-size: 12px; }
.marks { font-size: 12px; white-space: nowrap; }

/* done view */
.done-head { text-align: center; margin-bottom: 8px; }
.done-head .big { font-size: 44px; }
.done-head h2 { font-size: 22px; margin-top: 6px; }
.done-head p { color: var(--muted); margin-top: 4px; font-size: 15px; }
a.open { display: block; text-align: center; text-decoration: none; color: #04240f;
  font-weight: 700; padding: 14px; border-radius: 999px; margin: 14px 0 4px;
  background: var(--green); }
a.open:hover { background: #23d15f; }
.dest-error { background: #201a12; border: 1px solid #4a3a1e; color: var(--amber);
  border-radius: 11px; padding: 11px 14px; font-size: 14px; margin: 12px 0 4px; }
h3.sect { font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin: 22px 0 10px; }
table.overview { width: 100%; border-collapse: collapse; font-size: 14px; }
table.overview th { text-align: left; font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); font-weight: 600;
  padding: 4px 8px 8px 2px; }
table.overview td { padding: 8px 8px 8px 2px; border-top: 1px solid var(--line);
  vertical-align: top; }
td.time-cell, td.len-cell { color: var(--muted); font-variant-numeric: tabular-nums;
  white-space: nowrap; }
td.mark-cell { text-align: center; white-space: nowrap; }
table.overview input[type=checkbox] { accent-color: var(--green); width: 16px;
  height: 16px; cursor: pointer; vertical-align: -2px; }
td.mark-cell a { text-decoration: none; }
tr.unknown td { background: rgba(245, 185, 83, 0.07); }
tr.unknown td.track-cell { color: var(--amber); font-style: italic; }

/* history */
.hist-item { display: flex; gap: 14px; align-items: baseline; padding: 11px 2px;
  border-top: 1px solid var(--line); cursor: pointer; }
.hist-item:first-of-type { border-top: 0; }
.hist-item:hover .hist-title { color: var(--green); }
.hist-date { color: var(--muted); font-size: 13px; min-width: 84px;
  font-variant-numeric: tabular-nums; }
.hist-title { flex: 1; font-size: 15px; }
.hist-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* landing */
.hero { text-align: center; padding: 70px 20px 40px; }
.hero .logo { font-size: 52px; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
.hero p.sub { color: var(--muted); font-size: 19px; margin: 14px auto 26px; max-width: 560px; }
.hero .cta { display: inline-block; width: auto; padding: 15px 42px; }
.hero .cta-sub { color: var(--muted); font-size: 13px; margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 900px; margin: 30px auto; padding: 0 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; }
.step .n { color: var(--green); font-weight: 800; font-size: 13px; }
.step h3 { font-size: 16px; margin: 6px 0; }
.step p { color: var(--muted); font-size: 14px; }
.features { max-width: 900px; margin: 20px auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { display: flex; gap: 12px; align-items: flex-start; font-size: 14px;
  color: var(--muted); background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; }
.feature b { color: var(--text); display: block; margin-bottom: 2px; }
.pricing { max-width: 480px; margin: 40px auto; padding: 0 20px; text-align: center; }
.price-card { background: var(--card); border: 1px solid var(--green); border-radius: 18px;
  padding: 28px; }
.price-card .price { font-size: 34px; font-weight: 800; color: var(--green); }
.price-card ul { list-style: none; padding: 0; margin: 14px 0 20px; color: var(--muted);
  font-size: 14px; }
.price-card li { margin: 6px 0; }
h2.section { text-align: center; font-size: 24px; margin: 50px 0 6px; }
p.section-sub { text-align: center; color: var(--muted); margin-bottom: 8px; }
footer { text-align: center; color: var(--muted); font-size: 13px; margin: 40px 0 26px;
  padding: 0 20px; }
@media (max-width: 720px) {
  .steps, .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* account */
.kv { display: flex; justify-content: space-between; align-items: center;
  padding: 12px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.kv:first-of-type { border-top: 0; }
.kv .k { color: var(--muted); }
.inline-form { display: flex; gap: 10px; align-items: center; }
.inline-form input { margin-bottom: 0; }
code.invite { background: #0f1218; border: 1px solid var(--line); padding: 3px 10px;
  border-radius: 8px; font-size: 14px; color: var(--green); }
