:root {
  --navy: #0A0E1C;
  --navy-2: #12172A;
  --amber: #F5A623;
  --coral: #FF5F6D;
  --gold: #C4841D;
  --paper: #F4EFE4;
  --cream: #FFFBF4;
  --ink: #14121C;
  --mute: #5C564C;
  --line: rgba(10, 14, 28, 0.1);
  --lift: 0 12px 32px rgba(10, 14, 28, 0.08);
  --tap: 48px;
  --radius: 18px;
  --dock: 72px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
}
html { touch-action: pan-x pan-y; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom);
}
body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.splash {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy); color: var(--cream);
  display: grid; place-items: center;
  animation: splash-out 0.7s ease 0.55s forwards;
  pointer-events: none;
}
.splash img {
  width: min(280px, 72vw);
  height: auto;
  display: block;
  mix-blend-mode: lighten;
}
.splash span { display: block; margin-top: 10px; color: var(--amber); letter-spacing: 0.18em; font-size: 0.72rem; text-transform: uppercase; text-align: center; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
html.seen .splash, body.seen .splash { display: none; }
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
}

.top {
  background: var(--navy); color: var(--cream);
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
}
.top-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: var(--tap); }
.brand-logo {
  height: 42px;
  width: auto;
  max-width: min(240px, 62vw);
  display: block;
  mix-blend-mode: lighten;
}
.foot-brand { display: inline-flex; }
.foot .brand-logo {
  height: 32px;
  mix-blend-mode: normal;
  background: #000;
  border-radius: 8px;
}
.mark { font-family: Fraunces, serif; font-size: 1.05rem; font-weight: 600; color: var(--cream); }
.nav { display: flex; align-items: center; gap: 18px; font-size: 0.92rem; }
.nav a { min-height: var(--tap); display: inline-flex; align-items: center; }
.nav a:hover { color: var(--amber); }
.nav .btn { padding: 8px 16px; font-size: 0.86rem; }
.menu-btn {
  display: none;
  width: var(--tap); height: var(--tap);
  border: 0; border-radius: 14px;
  background: rgba(255, 251, 244, 0.1); color: var(--cream);
  cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }

.hero-band {
  background: var(--navy);
  color: var(--cream);
  padding: 36px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -80px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22), transparent 68%);
  pointer-events: none;
}
.hero { position: relative; z-index: 1; }
.hero h1 {
  font-family: Fraunces, serif;
  font-size: clamp(2rem, 7vw, 3.7rem);
  line-height: 1.06; margin: 0 0 14px;
  max-width: 16ch;
}
.hero p { color: rgba(255, 251, 244, 0.72); max-width: 46ch; margin: 0 0 24px; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-width: 148px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.pill {
  border: 1px solid rgba(245, 166, 35, 0.28);
  color: #f3d7a0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--navy); font-weight: 700;
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer;
  min-height: var(--tap);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost.light { border-color: rgba(255,251,244,0.28); color: var(--cream); }
.btn-out { background: transparent; border: 1px solid rgba(255, 95, 109, 0.35); color: var(--coral); }
.form .btn, .summary > .btn, .summary > form .btn, .pay-stack .btn { width: 100%; }
.copy-row .btn, .copy-row button, .people-row .btn, .account-nav .btn { width: auto; }

.section { padding: 28px 0 12px; }
.section h2 { font-family: Fraunces, serif; font-size: 1.75rem; margin: 0 0 8px; }
.lede { color: var(--mute); margin: 0 0 18px; max-width: 52ch; }

.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, 1fr); } }

.tile, .card {
  background: var(--cream); border-radius: var(--radius);
  box-shadow: var(--lift); border: 1px solid transparent;
}
.tile {
  padding: 16px;
  min-height: 156px;
  display: flex;
  flex-direction: column;
}
.tile:hover, .card:hover { border-color: rgba(245, 166, 35, 0.55); }
.tile-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(245, 166, 35, 0.16);
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.02em;
}
.tile strong { display: block; margin-top: auto; padding-top: 18px; font-size: 0.98rem; }
.tile p { margin: 6px 0 0; color: var(--mute); font-size: 0.78rem; font-weight: 400; }
.tile.off { opacity: 0.4; pointer-events: none; }

.steps { display: grid; gap: 12px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 18px; }
.step .n { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; }
.step h3 { margin: 8px 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--mute); font-size: 0.9rem; }

.popular { display: grid; gap: 12px; }
@media (min-width: 800px) { .popular { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card.off { opacity: 0.45; pointer-events: none; }
.card.dim { opacity: 0.72; }
.price-board { display: grid; gap: 12px; }
@media (min-width: 800px) { .price-board { grid-template-columns: repeat(2, 1fr); } }
.price-board input { width: 100%; min-height: var(--tap); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.price-board input.low,
.card.low input { border-color: #e11d48; background: #fff1f2; color: #9b1230; }
.card.low { border: 1px solid #e11d48; }
.low-note { color: #9b1230; font-size: 0.86rem; margin: 0; font-weight: 600; }
.card .meta { color: var(--mute); font-size: 0.82rem; }
.price { font-family: Fraunces, serif; color: var(--gold); font-size: 1.35rem; font-weight: 600; }
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-family: Fraunces, serif; margin: 0; font-size: clamp(1.7rem, 5vw, 2.4rem); }
.with-copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-icon {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.copy-icon svg { width: 20px; height: 20px; display: block; }
.copy-icon .tick { display: none; }
.copy-icon.copied { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.copy-icon.copied .sheets { display: none; }
.copy-icon.copied .tick { display: block; }
.clip-sink { position: fixed; left: -9999px; top: 0; }
.page-head p { color: var(--mute); margin: 8px 0 0; }
.crumb { display: inline-flex; align-items: center; min-height: 36px; color: var(--gold); font-size: 0.86rem; font-weight: 600; margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip {
  border: 1px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: 10px 16px; font-size: 0.88rem; min-height: var(--tap);
  display: inline-flex; align-items: center;
}
.chip.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.warn {
  background: #fff1f2; color: #9b1230; border: 1px solid #ffc1c7;
  border-radius: 14px; padding: 14px 16px; font-size: 0.92rem;
}
.warn strong { display: block; margin-bottom: 4px; color: var(--coral); }
.promo-strip {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.page-blocks { display: grid; gap: 12px; }
.page-blocks img { width: 100%; border-radius: 12px; display: block; margin-bottom: 10px; }
.form { display: grid; gap: 12px; }
label { font-size: 0.88rem; font-weight: 600; }
input[type="text"], input[type="tel"], input[type="email"],
input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 14px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  font-size: 16px; min-height: var(--tap);
}
textarea { min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; min-height: var(--tap); }
.check input { width: 22px; height: 22px; margin-top: 4px; flex: 0 0 22px; }
.summary { background: var(--cream); border-radius: 16px; padding: 18px; box-shadow: var(--lift); }
.pay-card { background: var(--cream); border-radius: 18px; padding: 8px 18px 16px; box-shadow: var(--lift); }
.pay-card h2 { font-family: Fraunces, serif; font-size: 1.35rem; margin: 0 0 8px; }
.airtime-buy { display: grid; gap: 14px; max-width: 520px; }
.airtime-buy .label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.net-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.net-picks .chip { position: relative; cursor: pointer; }
.net-picks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.net-picks .chip:has(input:checked) { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.airtime-buy input[type="number"] { font-family: Fraunces, serif; font-size: 1.6rem; }
.air-go { width: 100%; }
.fee-incl { font-family: Inter, sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--mute); }
.pin-input { letter-spacing: 0.35em; font-size: 1.35rem; max-width: 200px; }
.sheet a.menu-wa { justify-content: flex-start; gap: 10px; }
.sheet a.menu-wa svg { width: 20px; height: 20px; flex: 0 0 20px; }
.pay-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-row span { color: var(--mute); }
.pay-row strong { text-align: right; }
.pay-row.total { border-bottom: 0; }
.pay-row.total strong { font-family: Fraunces, serif; font-size: 1.45rem; color: var(--gold); }
.pay-row .short { color: var(--coral); }
.pay-card .btn, .pay-card form { margin-top: 16px; }
.err { color: #9b1230; background: #fff1f2; padding: 10px 12px; border-radius: 10px; }

.checkout { display: grid; gap: 18px; padding-bottom: 40px; }
@media (min-width: 840px) {
  .checkout { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .summary.sticky { position: sticky; top: 84px; }
}

.qa { display: grid; gap: 12px; }
@media (min-width: 800px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa article { padding: 18px; }
.qa h3 { margin: 0 0 8px; font-size: 1.02rem; }
.qa p { margin: 0; color: var(--mute); }

.promise {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px;
  padding: 28px;
  margin: 28px 0 8px;
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) { .promise { grid-template-columns: 1.4fr 1fr 1fr; } }
.promise h2 { margin: 0; color: var(--cream); }
.promise p { margin: 8px 0 0; color: rgba(255,251,244,0.7); }
.promise strong { color: var(--amber); display: block; margin-bottom: 6px; }

.trail { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; flex-wrap: wrap; }
.trail li {
  font-size: 0.78rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(10,14,28,0.06); color: var(--mute);
}
.trail li.on { background: var(--navy); color: var(--cream); }
.trail li.bad { background: var(--coral); color: white; }

.copy-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-row .btn, .copy-row button { font-size: 0.82rem; min-height: var(--tap); }

.status { font-weight: 700; text-transform: capitalize; }
.status.delivered { color: #0f7a4a; }
.status.reserved, .status.paid, .status.sending { color: var(--gold); }
.status.failed, .status.returned { color: var(--coral); }

.ok { color: #0f7a4a; background: #eef8f2; padding: 10px 12px; border-radius: 10px; }
.fit { min-height: 44px; margin: 8px 0 0; }
.fit:empty { visibility: hidden; }
.delivery {
  border-radius: 16px;
  padding: 14px 16px;
  background: #eef8f2;
  color: #0f7a4a;
  display: grid;
  gap: 4px;
}
.delivery.wait { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.delivery.slow { background: #fff1f2; color: #9b1230; }
.delivery .kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.delivery strong { font-size: 1rem; }
.delivery p { margin: 0; }
.account-nav {
  display: flex; gap: 8px; margin: 0 0 18px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.account-nav .chip { flex: 0 0 auto; }
.stat-grid { display: grid; gap: 12px; }
@media (min-width: 800px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.people-list { display: grid; gap: 12px; }
.people-row { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }

.greet {
  background: var(--navy); color: var(--cream);
  border-radius: 22px; padding: 22px 20px;
  position: relative; overflow: hidden;
}
.greet::after {
  content: "";
  position: absolute; width: 220px; height: 220px; right: -60px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 68%);
}
.greet > * { position: relative; z-index: 1; }
.greet .kicker { color: var(--amber); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin: 0 0 6px; }
.greet h1 { color: var(--cream); margin: 0; font-size: clamp(1.7rem, 6vw, 2.2rem); }
.greet p { color: rgba(255,251,244,0.7); margin: 8px 0 0; }

.wallet-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  background: var(--cream); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--lift);
}
.wallet-hero .meta { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; color: var(--mute); }
.wallet-hero .price { font-size: 2rem; margin-top: 4px; }

.topup {
  margin: 18px auto 0;
  max-width: 440px;
  background: var(--cream);
  border-radius: 22px;
  box-shadow: var(--lift);
  padding: 26px 22px 22px;
}
.topup h2 {
  font-family: Fraunces, serif;
  font-size: 1.7rem;
  text-align: center;
  margin: 0;
}
.topup-kicker {
  text-align: center;
  font-weight: 700;
  margin: 10px 0 0;
}
.topup .meta { text-align: center; }
.topup .field input {
  width: 100%;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(10, 14, 28, 0.18);
  background: #fff;
}
.topup .field input[readonly] {
  font-size: 1rem;
  font-weight: 600;
  background: #f6f1e6;
  color: var(--mute);
}
.topup-fee {
  background: rgba(245, 166, 35, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  margin: 4px 0 8px;
}
.topup-stay {
  background: rgba(10, 14, 28, 0.05);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 8px 0 16px;
  color: var(--navy);
  text-align: center;
  font-size: 0.92rem;
}
.topup .btn { width: 100%; }

.info-row, .field {
  background: var(--cream); border-radius: var(--radius);
  box-shadow: var(--lift); padding: 16px 18px;
}
.info-list { display: grid; gap: 12px; }
.info-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px;
}
.info-row .meta { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; font-weight: 700; margin-bottom: 4px; }
.info-row strong { font-size: 1rem; word-break: break-word; }
.field { display: grid; gap: 6px; }
.field label {
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem;
  color: var(--mute); font-weight: 700;
}
.field input, .field select {
  border: 0; background: transparent; padding: 8px 0; border-radius: 0;
  min-height: var(--tap);
}
.field input:disabled { color: var(--mute); }
.secret { position: relative; display: block; }
.secret input { width: 100%; padding-right: 52px; }
.eye {
  position: absolute; right: 0; bottom: 0;
  width: 44px; height: 44px; border: 0; background: transparent;
  color: var(--navy); display: grid; place-items: center; cursor: pointer;
}
.eye svg { width: 22px; height: 22px; }

.pay-stack { display: grid; gap: 10px; margin-top: 16px; }

.foot { background: var(--navy); color: #c9c4b8; padding: 32px 0; margin-top: 48px; font-size: 0.86rem; }
.foot strong { color: var(--cream); font-family: Fraunces, serif; font-size: 1.1rem; }
.foot a:hover { color: var(--amber); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.legal { max-width: 62ch; padding-bottom: 32px; }
.legal p { color: var(--mute); }
.choose { display: grid; gap: 12px; padding-bottom: 32px; }
@media (min-width: 800px) { .choose { grid-template-columns: repeat(2, 1fr); } }
.choose-tile { min-height: 140px; padding: 18px; }
.tower .tower-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; }
.tower .warn { margin: 10px 0 0; }
.tower .foot { display: none; }

.sheet {
  position: fixed; inset: 0; z-index: 30;
}
.sheet-back { position: absolute; inset: 0; background: rgba(10, 14, 28, 0.46); }
.sheet-in {
  position: absolute; top: 0; right: 0; height: 100%; z-index: 1;
  width: min(360px, 88vw);
  background: var(--navy); color: var(--cream);
  padding: calc(12px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 8px;
  overflow: auto;
}
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); }
.sheet-top strong { font-family: Fraunces, serif; font-size: 1.3rem; }
.sheet a, .sheet button.sheet-link {
  min-height: var(--tap);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px; color: var(--cream); background: none; border: 0;
  width: 100%; text-align: left; cursor: pointer; font: inherit;
}
.sheet a:hover, .sheet button.sheet-link:hover { color: var(--amber); }
.sheet .mute { color: #c9c4b8; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 12px 4px 4px; }
.sheet .sheet-close {
  width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: rgba(255,251,244,0.1); color: var(--cream); cursor: pointer;
}

.dock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: var(--navy); color: var(--cream);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
  box-shadow: 0 -8px 24px rgba(10, 14, 28, 0.18);
}
.dock a {
  flex: 1; min-height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 0.68rem; font-weight: 600; color: rgba(255,251,244,0.62);
}
.dock svg { width: 22px; height: 22px; }
.dock a.on { color: var(--amber); }

@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  body.has-dock { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); }
  body.has-dock .foot { display: none; }
  body.has-dock .dock { display: flex; }
  body.has-dock .account-nav,
  body.has-dock .desk-tabs { display: none; }
  body.has-dock .crumb { display: none; }
  body.has-dock .page-head { padding-top: 16px; }
  body.has-dock .section { padding-top: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .tile { min-height: 148px; }
  .people-row { flex-direction: column; align-items: stretch; }
  .people-row .copy-row { width: 100%; }
  .people-row .copy-row .btn, .people-row .copy-row button { flex: 1; }
}

@media (min-width: 900px) {
  .hero-band { padding: 48px 0 56px; }
  .menu-btn, .dock, .sheet { display: none !important; }
}

body.desk .dock, body.desk .menu-btn { display: none !important; }
body.desk { padding-bottom: 0; }

.receipt-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  max-width: 440px;
  overflow: hidden;
  box-shadow: var(--lift);
}
.receipt-head {
  background: var(--navy);
  padding: 22px 24px 18px;
}
.receipt-logo {
  height: 40px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
  background: transparent;
  border-radius: 0;
}
.receipt-kicker {
  margin: 12px 0 0;
  color: var(--amber);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.receipt-sheet h2 {
  margin: 0;
  padding: 20px 24px 0;
  font-family: Fraunces, serif;
  font-size: 1.6rem;
}
.receipt-sheet > .meta { padding: 4px 24px 0; }
.receipt-rows { margin: 16px 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.receipt-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-rows span { color: var(--mute); }
.receipt-note { padding: 0 24px; color: var(--mute); }
.receipt-foot {
  margin-top: 8px;
  padding: 14px 24px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--mute);
  border-top: 1px solid var(--line);
}

.pulse-board {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px;
  padding: 20px 20px 16px;
  overflow: hidden;
}
.pulse-board[data-pulse="green"] { --pulse: #3DDC97; }
.pulse-board[data-pulse="amber"] { --pulse: var(--amber); }
.pulse-board[data-pulse="red"] { --pulse: var(--coral); }
.pulse-pace {
  font-family: Fraunces, serif;
  font-size: 1.8rem;
  text-transform: capitalize;
  color: var(--pulse, #3DDC97);
}
.pulse-label { margin: 4px 0 12px; color: rgba(255,251,244,0.78); }
.pulse-line { width: 100%; height: 120px; display: block; }
.pulse-track { stroke: rgba(255,251,244,0.12); stroke-width: 0.6; fill: none; }
.pulse-wave {
  fill: none;
  stroke: var(--pulse, #3DDC97);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--pulse, #3DDC97));
  stroke-dasharray: 6 5;
  animation: pulse-run 1.1s linear infinite;
}
@keyframes pulse-run {
  to { stroke-dashoffset: -44; }
}
.pulse-board .card { background: rgba(255,251,244,0.06); color: var(--cream); }
.pulse-board .card .meta { color: rgba(255,251,244,0.62); }

.tape-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 8px 0 16px; color: var(--mute); font-size: 0.86rem; }
.tape-legend span { display: inline-flex; align-items: center; gap: 8px; }
.tape-stack { display: grid; gap: 16px; }
.tape-lane {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px;
  padding: 16px 16px 12px;
  overflow: hidden;
}
.tape-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tape-headline { margin: 4px 0 12px; color: rgba(255,251,244,0.78); }
.tape-stage { position: relative; height: 120px; border-radius: 14px; background: rgba(255,251,244,0.04); overflow: hidden; }
.tape-track {
  position: absolute; inset: 18px 10px 28px;
  display: flex; align-items: flex-end; gap: 3px;
  will-change: transform;
}
.tape-stack.is-walking .tape-track {
  animation: tape-walk 10s ease-in-out;
}
.tape-candle {
  flex: 1;
  height: calc(var(--h, 8) * 1px);
  min-width: 4px;
  border-radius: 2px 2px 0 0;
  background: rgba(255,251,244,0.18);
  transition: height 10s ease-in-out, background-color 0.8s ease;
}
.tape-candle.green { background: #3DDC97; }
.tape-candle.gold { background: var(--amber); }
.tape-candle.red { background: var(--coral); }
.tape-candle.navy {
  background: #7B86B3;
  animation: tape-breathe 8s ease-in-out infinite;
}
.tape-candle.empty { background: rgba(255,251,244,0.12); height: 6px; transition: none; }
.tape-play {
  position: absolute; top: 10px; bottom: 10px; width: 2px;
  background: var(--amber);
  opacity: 0.85;
  animation: tape-play 60s linear infinite;
}
.tape-faces { position: absolute; inset: 0; pointer-events: none; }
.tape-face {
  position: absolute; top: 8px; width: 34px; height: 34px; margin-left: -17px;
  border-radius: 50%; overflow: hidden; border: 2px solid #3DDC97;
}
.tape-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tape-face b {
  position: absolute; right: -2px; bottom: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
  font-size: 0.62rem; display: grid; place-items: center;
}
.tape-face.mark-D { border-color: #3DDC97; }
.tape-face.mark-S { border-color: var(--amber); }
.tape-face.mark-F { border-color: var(--coral); }
.tape-face.mark-W { border-color: #7B86B3; }
.tape-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: #7B86B3; }
.tape-dot.green, .tile-health.green { background: #3DDC97; }
.tape-dot.gold, .tile-health.gold { background: var(--amber); }
.tape-dot.red, .tile-health.red { background: var(--coral); }
.tape-dot.navy, .tile-health.navy { background: #7B86B3; }
.tape-dot.empty, .tile-health.empty { background: rgba(10,14,28,0.2); }
.tile { position: relative; }
.tile-health {
  position: absolute; top: 12px; right: 12px;
  width: 10px; height: 10px; border-radius: 50%;
}
@keyframes tape-walk {
  from { transform: translateX(14px); }
  to { transform: translateX(-16px); }
}
@keyframes tape-play {
  from { left: 8%; }
  to { left: 92%; }
}
@keyframes tape-breathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
.live-photo-preview {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--navy);
  display: block;
}
.live-photo-preview.empty {
  background: rgba(10,14,28,0.08);
}
.crop-stage { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.crop-canvas {
  width: 220px; height: 220px; border-radius: 50%;
  background: #0A0E1C; cursor: grab; touch-action: none;
  border: 2px solid var(--navy);
}
.crop-canvas:active { cursor: grabbing; }
.check {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; color: var(--ink);
}

.report-trail { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.report-trail li { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.report-trail li strong { display: block; }
.report-trail li span { color: var(--muted, #6d675c); font-size: 0.88rem; }
.report-trail li.on { border-color: #147a45; }
.report-trail li.current { background: #147a45; color: #fff; border-color: #147a45; }
.report-trail li.current span { color: #e5f6ec; }
.live-dock { position: fixed; right: 16px; bottom: 92px; z-index: 40; width: 56px; height: 56px; }
.live-orb {
  width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  background: var(--navy); color: var(--cream); cursor: grab;
  box-shadow: 0 10px 24px rgba(10, 14, 28, 0.28);
  display: grid; place-items: center; touch-action: none;
}
.live-orb svg { width: 26px; height: 26px; }
.live-orb:active { cursor: grabbing; }
.live-panel[hidden] { display: none !important; }
.live-panel {
  position: absolute; right: 0; bottom: 68px; width: min(340px, calc(100vw - 24px));
  background: var(--cream); color: var(--ink); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(10, 14, 28, 0.22); border: 1px solid var(--line);
  display: flex; flex-direction: column; max-height: min(480px, calc(100vh - 150px)); overflow: hidden;
}
.live-panel.flip { right: auto; left: 0; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--navy); color: var(--cream); padding: 12px 14px; flex-shrink: 0; }
.live-head button { background: transparent; border: 0; color: var(--cream); font-size: 1.3rem; cursor: pointer; }
.live-tabs { display: flex; gap: 6px; padding: 8px 10px 0; }
.live-tabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.live-tabs button.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.live-note { margin: 8px 12px 0; font-size: 0.78rem; color: #6d675c; flex-shrink: 0; }
.live-log { overflow: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 48px; flex: 1 1 auto; }
.live-log .bubble { border-radius: 14px; padding: 8px 10px; max-width: 90%; }
.live-log .bubble p { margin: 0; }
.live-log .bubble.mine { align-self: flex-end; background: var(--navy); color: var(--cream); }
.live-log .bubble.theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.live-panel form { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.net-off {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  background: rgba(10, 14, 28, 0.72); padding: 24px;
}
.net-off[hidden] { display: none !important; }
.net-card {
  width: min(420px, 100%); background: var(--cream); color: var(--ink);
  border-radius: 28px; padding: 28px 24px 32px; text-align: center;
  box-shadow: 0 24px 60px rgba(10, 14, 28, 0.35);
}
.net-icon { width: 92px; height: 92px; margin: 0 auto 12px; position: relative; color: var(--navy); }
.net-icon svg { width: 54px; height: 54px; position: absolute; inset: 19px; }
.net-icon span {
  position: absolute; inset: 0; border: 2px solid var(--navy); border-radius: 50%;
  opacity: 0; animation: net-pulse 2.4s ease-out infinite;
}
.net-icon span:nth-child(2) { animation-delay: 0.4s; }
.net-icon span:nth-child(3) { animation-delay: 0.8s; }
.net-icon span:nth-child(4) { animation-delay: 1.2s; }
@keyframes net-pulse {
  0% { transform: scale(0.45); opacity: 0.55; }
  100% { transform: scale(1); opacity: 0; }
}
.hello { position: fixed; inset: 0; z-index: 55; display: grid; place-items: end center; padding: 16px 16px 108px; }
.hello[hidden] { display: none !important; }
.hello-back { position: absolute; inset: 0; background: rgba(10, 14, 28, 0.45); }
.hello-card {
  position: relative; width: min(420px, 100%); border-radius: 28px; padding: 22px 20px 18px;
  box-shadow: 0 24px 50px rgba(10, 14, 28, 0.28);
}
.hello-card[hidden] { display: none !important; }
.channel-card { background: #128C7E; color: #fff; }
.agent-card { background: var(--navy); color: var(--cream); }
.hello-card h2 { font-family: Fraunces, serif; font-size: 1.8rem; line-height: 1.05; margin: 8px 0; }
.hello-card .kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; opacity: 0.85; }
.hello-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.16); color: inherit; font-size: 1.3rem; cursor: pointer; }
.hello-join, .agent-card .btn {
  display: block; text-align: center; text-decoration: none; border-radius: 999px;
  padding: 14px 16px; margin-top: 16px; font-weight: 700;
}
.hello-join { background: #fff; color: #075E54; }
.agent-card ol { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.agent-card li { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,0.06); border-radius: 14px; padding: 10px 12px; }
.agent-card li span { color: var(--amber); font-weight: 700; }
.hello-later { display: block; width: 100%; margin-top: 8px; background: transparent; border: 0; color: inherit; opacity: 0.8; padding: 10px; cursor: pointer; }
.fault-mark { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 12px; }
.fault-mark svg { width: 52px; height: 52px; }
.fault-mark.missing { background: var(--navy); color: var(--cream); animation: fault-bob 2.8s ease-in-out infinite; }
.fault-mark.stumbled { background: var(--amber); color: var(--navy); animation: fault-bob 2.8s ease-in-out infinite; }
@keyframes fault-bob { 50% { transform: translateY(-4px); } }
.live-panel textarea, .live-panel input { width: 100%; }
@media print {
  .splash, .top, .foot, .dock, .sheet, .no-print, .menu-btn, .live-dock { display: none !important; }
  body, body.has-dock { background: #fff; padding: 0; color: #000; }
  .receipt-sheet { border: 0; box-shadow: none; max-width: none; }
  .receipt-head { background: #0A0E1C; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Site guard: nothing on the public shop is easy to lift. Typing still works in fields. */
.receipt-file {
  display: block;
  width: min(440px, 100%);
  height: auto;
  border-radius: 22px;
  box-shadow: var(--lift);
}
body.guard { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
body.guard input, body.guard textarea, body.guard select, body.guard [contenteditable="true"] { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
body.guard img { -webkit-user-drag: none; user-drag: none; }
body.guard [data-saveable],
body.guard [data-saveable] img,
body.guard img.receipt-file {
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default;
  pointer-events: auto;
  -webkit-user-drag: auto;
  user-drag: auto;
}
