@font-face { font-family: "Bangers"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bangers-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #06070d;
  --navy: #0b1230;
  --panel: rgba(12, 16, 36, .78);
  --panel-solid: #0d1229;
  --line: rgba(140, 160, 255, .16);
  --line-strong: rgba(140, 160, 255, .32);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --red: #ff2d46;
  --red-deep: #c4122a;
  --blue: #3d7bff;
  --gold: #ffc940;
  --gold-deep: #f59e0b;
  --green: #3ee08f;
  --radius: 22px;
  --font-hero: "Bangers", "Impact", system-ui, sans-serif;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
b { font-weight: 700; }

/* ---------- Sky background ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-img {
  position: absolute; inset: -4% -4% 0;
  background: url("img/bg.jpg") center bottom / cover no-repeat;
  opacity: .55;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.08) translateX(1%); } }
.sky-fade {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 18% 35%, rgba(61, 123, 255, .16), transparent 70%),
    radial-gradient(50% 45% at 85% 20%, rgba(255, 45, 70, .12), transparent 70%),
    linear-gradient(180deg, rgba(6, 7, 13, .9) 0%, rgba(6, 7, 13, .35) 45%, rgba(6, 7, 13, .85) 100%);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.beam {
  position: absolute; bottom: -10%; width: 26vmax; height: 120vmax;
  transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(255, 220, 140, .14), rgba(255, 220, 140, 0) 80%);
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(6px);
  mix-blend-mode: screen;
}
.beam-l { left: 8%; animation: sweepL 14s ease-in-out infinite alternate; }
.beam-r { right: 6%; animation: sweepR 17s ease-in-out infinite alternate; background: linear-gradient(0deg, rgba(120, 170, 255, .13), rgba(120, 170, 255, 0) 80%); }
@keyframes sweepL { from { transform: rotate(-28deg); } to { transform: rotate(14deg); } }
@keyframes sweepR { from { transform: rotate(26deg); } to { transform: rotate(-12deg); } }

.paws { position: absolute; inset: 0; }
.paw {
  position: absolute; bottom: -60px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 16px; color: #3a2400;
  background: radial-gradient(circle at 35% 30%, #fff2b8, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 18px rgba(255, 201, 64, .45), inset 0 -3px 0 rgba(0,0,0,.18);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: .75; }
  85% { opacity: .55; }
  100% { transform: translateY(-115vh) rotate(320deg); opacity: 0; }
}

/* ---------- Header ---------- */
.top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1180px; margin: 0 auto; padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 45, 70, .35), 0 0 22px rgba(255, 201, 64, .35);
}
.brand span {
  font-family: var(--font-hero); font-size: 24px; letter-spacing: 1.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-x {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background .2s, transform .2s;
}
.top-x:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.top-x svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Layout ---------- */
.wrap {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 18px 20px 40px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start;
}

/* ---------- Hero ---------- */
.hero { padding-top: 24px; min-width: 0; }
.live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 45, 70, .12); border: 1px solid rgba(255, 45, 70, .4);
  color: #ffd2d8; font-weight: 600; font-size: 14px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,45,70,.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,45,70,0); } 100% { box-shadow: 0 0 0 0 rgba(255,45,70,0); } }

h1 {
  font-family: var(--font-hero); font-weight: 400;
  font-size: clamp(48px, 6.4vw, 84px); line-height: .95; letter-spacing: 1.5px;
  margin: 18px 0 14px;
  text-shadow: 0 4px 0 rgba(0,0,0,.45), 0 0 40px rgba(61,123,255,.25);
}
.gold {
  background: linear-gradient(180deg, #fff3c4 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 var(--red-deep));
}
.lead { color: var(--muted); font-size: 19px; max-width: 30ch; margin: 0; }
.lead b { color: var(--text); }

.hero-art { position: relative; width: min(100%, 420px); margin: 26px 0 8px; }
.hero-art img {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 28px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 40%, #000 62%, transparent 100%);
          mask-image: radial-gradient(120% 95% at 50% 40%, #000 62%, transparent 100%);
  animation: float 6s ease-in-out infinite;
}
.halo {
  position: absolute; inset: 8% 6% 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 70, .35), rgba(61, 123, 255, .25) 50%, transparent 72%);
  filter: blur(30px); animation: pulse 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.tag {
  position: absolute; z-index: 2;
  padding: 8px 13px; border-radius: 14px;
  background: rgba(10, 14, 34, .82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: bob 5s ease-in-out infinite;
}
.tag-1 { top: 12%; right: -5%; color: var(--gold); }
.tag-2 { top: 46%; left: -3%; animation-delay: -1.6s; }
.tag-3 { bottom: 14%; right: -4%; animation-delay: -3.1s; color: #ffd2d8; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.facts div {
  flex: 1 1 0; min-width: 104px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.facts b { display: block; font-family: var(--font-hero); font-size: 30px; font-weight: 400; letter-spacing: 1px; line-height: 1; color: var(--gold); }
.facts span { color: var(--muted); font-size: 13px; }

.ca {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px;
  margin-top: 12px; padding: 10px 14px; border-radius: 14px; cursor: pointer; min-width: 0; overflow: hidden;
  background: rgba(255, 201, 64, .07); border: 1px solid rgba(255, 201, 64, .35);
  color: var(--text); font: 600 14px var(--font); text-align: left;
}
.ca:hover { background: rgba(255, 201, 64, .13); }
.ca-label { color: var(--gold); white-space: nowrap; font-weight: 800; }
.ca code { flex: 1 1 0; width: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); }
.ca-copy { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; white-space: nowrap; }
.receipt dd a { color: var(--gold); }

/* ---------- Console ---------- */
.console {
  position: sticky; top: 20px;
  padding: 24px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.console::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}
.console-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.kicker { margin: 0; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.console h2 { margin: 2px 0 0; font-family: var(--font-hero); font-weight: 400; font-size: 34px; letter-spacing: 1px; line-height: 1.05; }
.step-count { font-family: var(--font-hero); font-size: 22px; color: var(--muted); letter-spacing: 1px; }
.step-count b { color: var(--text); font-size: 32px; font-weight: 400; }

.iq { display: flex; align-items: center; gap: 12px; margin: 16px 0 20px; }
.iq-label { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.iq-bar { flex: 1; height: 12px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; border: 1px solid var(--line); }
.iq-bar i {
  display: block; height: 100%; width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--gold));
  background-size: 200% 100%;
  box-shadow: 0 0 16px rgba(255, 201, 64, .55);
  transition: width .9s cubic-bezier(.2,.9,.25,1.15);
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.iq-num { min-width: 52px; text-align: right; font-family: var(--font-hero); font-size: 24px; font-weight: 400; color: var(--gold); letter-spacing: 1px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: border-color .3s, background .3s, opacity .3s;
}
.step-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.step-pic {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; object-fit: cover;
  border: 1px solid var(--line-strong);
  transition: transform .4s, filter .4s, width .4s, height .4s;
}
.step-text { flex: 1; min-width: 0; }
.step-no { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.step h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; }
.step-badge { flex-shrink: 0; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.step-body { display: none; padding: 0 16px 18px; }
.step-desc { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.step-desc b { color: var(--text); }

/* locked */
.step.is-locked { opacity: .45; }
.step.is-locked .step-pic { filter: grayscale(1) brightness(.6); width: 40px; height: 40px; border-radius: 12px; }
.step.is-locked .step-badge::before { content: "🔒"; font-size: 15px; }
.step.is-locked .step-row { padding: 9px 14px; }

/* active */
.step.is-active {
  border-color: rgba(255, 201, 64, .55);
  background: linear-gradient(180deg, rgba(255, 201, 64, .08), rgba(255,255,255,.02));
  box-shadow: 0 0 0 4px rgba(255, 201, 64, .08), 0 18px 40px rgba(0,0,0,.3);
  animation: popIn .6s cubic-bezier(.2,1.4,.4,1) both;
}
.step.is-active .step-pic { width: 64px; height: 64px; border-color: rgba(255, 201, 64, .6); animation: wiggle 3.5s ease-in-out infinite; }
.step.is-active .step-no { color: var(--gold); }
.step.is-active .step-body { display: block; animation: fadeUp .45s .1s ease both; }
.step.is-active .step-badge { color: var(--gold); }
.step.is-active .step-badge::before { content: "Now"; }
@keyframes popIn {
  0% { transform: scale(.92) translateY(16px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(6deg); } }

/* done */
.step.is-done { border-color: rgba(62, 224, 143, .35); background: rgba(62, 224, 143, .05); }
.step.is-done .step-pic { width: 40px; height: 40px; border-radius: 12px; border-color: rgba(62,224,143,.5); }
.step.is-done .step-row { padding: 9px 14px; }
.step.is-done .step-badge {
  color: var(--green); padding: 5px 10px; border-radius: 999px;
  background: rgba(62, 224, 143, .12); border: 1px solid rgba(62, 224, 143, .4);
}
.step.is-done .step-badge::before { content: "✓ Verified"; }
.step.just-done { animation: doneFlash .7s ease; }
@keyframes doneFlash { 0% { box-shadow: 0 0 0 0 rgba(62,224,143,.6); } 100% { box-shadow: 0 0 0 16px rgba(62,224,143,0); } }
.step-sub { display: block; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Fields & buttons ---------- */
.field-row { display: flex; gap: 10px; }
.field {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px; height: 52px; border-radius: 16px;
  background: rgba(3, 5, 14, .75); border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 64, .14); }
.field.bad { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 45, 70, .14); animation: shake .35s; }
.field.good { border-color: var(--green); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.at { color: var(--muted); font-weight: 700; font-size: 17px; }
.field input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  color: var(--text); font: 600 16px var(--font);
}
.field input::placeholder { color: #5d6690; font-weight: 500; }
.field-wallet input { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; letter-spacing: -.2px; }
.wallet-ok { color: var(--green); font-weight: 800; opacity: 0; transform: scale(.4); transition: .25s; }
.field.good .wallet-ok { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px; border-radius: 16px; border: 0;
  font: 700 16px var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, opacity .2s, filter .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .4; cursor: not-allowed; filter: grayscale(.4); }
.btn-main { color: #fff; background: linear-gradient(180deg, #ff4a60, var(--red-deep)); box-shadow: 0 6px 0 #7d0a1a, 0 12px 26px rgba(255,45,70,.3); }
.btn-main:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 7px 0 #7d0a1a, 0 16px 30px rgba(255,45,70,.4); }
.btn-gold { color: #2a1700; background: linear-gradient(180deg, #ffe07a, var(--gold) 50%, var(--gold-deep)); box-shadow: 0 6px 0 #9a5b00, 0 12px 26px rgba(255,201,64,.3); font-size: 17px; }
.btn-gold:not(:disabled):hover { transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wide { width: 100%; margin-top: 14px; }
.btn.loading { pointer-events: none; }
.btn.loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.task-grid { display: grid; gap: 10px; }
.task-grid.two { grid-template-columns: 1fr 1fr; }
.task-grid.three { grid-template-columns: repeat(3, 1fr); }
.task {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 84px; padding: 12px 8px; border-radius: 16px;
  background: rgba(61, 123, 255, .1); border: 1px solid rgba(61, 123, 255, .4);
  text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s;
}
.task:hover { transform: translateY(-2px); background: rgba(61, 123, 255, .18); }
.task-ico { font-size: 22px; line-height: 1; }
.go { margin-top: 2px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 800; color: var(--gold); }
.task.is-done .go { display: none; }
.task .tick {
  position: absolute; top: 7px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-size: 12px; font-weight: 900; color: #04210f;
  background: var(--green);
  transform: scale(0); transition: transform .35s cubic-bezier(.2,1.6,.4,1);
}
.task.is-done { background: rgba(62, 224, 143, .1); border-color: rgba(62, 224, 143, .5); }
.task.is-done .tick { transform: scale(1); }

.err { min-height: 0; margin: 8px 2px 0; color: #ff8193; font-size: 14px; font-weight: 600; }
.err:empty { margin: 0; }

/* ---------- Success ---------- */
.done { text-align: center; padding: 6px 4px 4px; animation: popIn .7s cubic-bezier(.2,1.4,.4,1) both; }
.done[hidden] { display: none; }
.done-art { position: relative; width: min(100%, 260px); margin: 0 auto 8px; }
.done-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(255, 45, 70, .25), 0 0 60px rgba(255, 201, 64, .35); animation: float 5s ease-in-out infinite; }
.stamp {
  position: absolute; right: -12px; bottom: 18px;
  padding: 4px 14px; border-radius: 10px;
  border: 3px solid var(--green); color: var(--green);
  font-family: var(--font-hero); font-size: 28px; letter-spacing: 2px;
  background: rgba(6, 7, 13, .85);
  transform: rotate(-12deg);
  animation: stampIn .5s .5s cubic-bezier(.2,1.6,.4,1) both;
}
@keyframes stampIn { from { transform: rotate(-12deg) scale(2.4); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.done h2 { margin: 14px 0 6px; font-size: 42px; }
.done-lead { margin: 0 auto 16px; color: var(--muted); max-width: 34ch; }
.done-lead b { color: var(--text); }
.receipt { margin: 0 0 18px; padding: 6px 16px; border-radius: 18px; background: rgba(3,5,14,.6); border: 1px dashed var(--line-strong); text-align: left; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted); font-size: 14px; }
.receipt dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; overflow-wrap: anywhere; }
.receipt dd.ok { color: var(--green); }
.track { display: flex; align-items: flex-start; margin: 4px 0 18px; }
.track-step { flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.track-step i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-weight: 900; font-size: 15px; color: transparent;
  border: 2px solid var(--line-strong); background: rgba(255,255,255,.04);
  transition: background .3s, border-color .3s, color .3s;
}
.track-step.is-ok { color: var(--text); }
.track-step.is-ok i { background: var(--green); border-color: var(--green); color: #04210f; }
.track-step.is-ok i:empty::before { content: "✓"; }
.track-step.is-busy { color: var(--gold); }
.track-step.is-busy i { border-color: rgba(255, 201, 64, .25); border-top-color: var(--gold); border-right-color: var(--gold); animation: spin .8s linear infinite; }
.track-step.is-wait i::before { content: "⏳"; color: var(--text); font-size: 15px; }
.track-step.is-warn i { border-color: var(--red); color: var(--red); }
.track-step.is-warn i::before { content: "!"; }
.track-line { flex: 1; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--line-strong); position: relative; overflow: hidden; }
.track-line.is-ok { background: var(--green); }
.track-line.is-busy::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: buffer 1.1s ease-in-out infinite;
}
@keyframes buffer { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.done[data-phase="sent"] .stamp { border-color: var(--gold); color: var(--gold); }
.done[data-phase="sent"] h2 { color: var(--gold); }
#txBtn { margin: 0 0 16px; }
.fix { margin: 0 0 18px; padding: 16px; border-radius: 18px; text-align: left; background: rgba(255,45,70,.07); border: 1px solid rgba(255,45,70,.4); }
.fix-title { margin: 0 0 10px; font-weight: 800; color: #ffb3bf; }
.fix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fix-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.fix-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.fix-list li.ok { color: var(--muted); }
.fix-list li.ok .fix-ico { background: var(--green); color: #04210f; }
.fix-list li.ok .fix-ico::after { content: ""; }
.fix-list li.ok .btn { display: none; }
.fix-ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: rgba(255,45,70,.25); color: #ffb3bf; }
.btn-xs { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.fix-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.fix .btn-wide { margin-top: 12px; }
.done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Footer ---------- */
.foot {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 18px 20px 30px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #6b7398; font-size: 13px;
}

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 4px; }
  .hero { padding-top: 6px; text-align: center; }
  .lead { margin: 0 auto; }
  .hero-art { width: min(64vw, 300px); margin: 18px auto 4px; }
  .facts { max-width: 520px; margin: 8px auto 0; }
  .ca { margin: 12px auto 0; }
  .console { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .top { padding: 14px 16px; }
  .brand span { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .top-x { padding: 8px 12px; }
  .wrap { padding: 4px 16px 28px; }
  h1 { font-size: 46px; }
  .lead { font-size: 17px; }
  .hero-art { width: min(56vw, 230px); margin: 14px auto 0; }
  .tag { font-size: 12px; padding: 6px 10px; }
  .tag-1 { right: -14%; }
  .tag-2 { left: -16%; }
  .tag-3 { right: -12%; }
  .facts { gap: 8px; margin-top: 10px; }
  .facts div { min-width: 0; padding: 10px; }
  .facts b { font-size: 24px; }
  .facts span { font-size: 12px; }
  .console { padding: 18px 14px; border-radius: 24px; }
  .console h2 { font-size: 28px; }
  .step-row { gap: 12px; padding: 11px 12px; }
  .step-body { padding: 0 12px 14px; }
  .step.is-active .step-pic { width: 54px; height: 54px; }
  .step h3 { font-size: 17px; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .task { min-height: 76px; font-size: 14px; }
  .done h2 { font-size: 36px; }
  .done-actions { grid-template-columns: 1fr; }
  .foot { justify-content: center; text-align: center; padding: 16px 16px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
