/* blackcardgh — black card, gold accent, a thread of kente. */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --surface: #1a1a1d;
  --surface-2: #232327;
  --line: #2e2e33;
  --text: #f4f1ea;
  --muted: #a3a09a;
  --gold: #d4af37;
  --gold-2: #f1d27a;
  --green: #1f9d55;
  --red: #e5484d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --kente: linear-gradient(90deg, #ce1126 0 33%, #fcd116 33% 66%, #006b3f 66%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.gold { color: var(--gold); }
.center { text-align: center; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 480px; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.kente-bar { height: 4px; background: var(--kente); }
.icon { width: 18px; height: 18px; flex: none; }
@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 12, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, #2a2a2e, #050505); border: 1px solid var(--gold); position: relative; }
.brand-mark::after { content: ''; position: absolute; left: 4px; top: 5px; width: 7px; height: 6px; border-radius: 2px; background: var(--gold); }
.brand b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.nav-links a, .nav-links button { color: var(--text); padding: 8px 12px; border-radius: 999px; font-size: 0.93rem; }
.nav-links a:hover { background: var(--surface); text-decoration: none; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--gold); color: #111; font: 600 0.95rem var(--font); cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease; text-decoration: none !important; white-space: nowrap;
}
.btn:hover { background: var(--gold-2); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(229, 72, 77, 0.4); }
.btn-danger:hover { background: rgba(229, 72, 77, 0.1); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--text); font: inherit; font-size: 0.93rem; cursor: pointer; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.link-btn:hover { background: var(--surface); }

label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); letter-spacing: 0.02em; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none; transition: border-color 0.12s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 16px; }
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); overflow: hidden; }
.input-prefix span { padding: 12px 0 12px 14px; color: var(--muted); white-space: nowrap; }
.input-prefix input { border: 0; padding-left: 2px; background: transparent; }
.input-prefix:focus-within { border-color: var(--gold); }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; transition: 0.15s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 2px; top: 2px; background: var(--muted); border-radius: 50%; transition: 0.15s; }
.switch input:checked + span { background: var(--gold); border-color: var(--gold); }
.switch input:checked + span::before { transform: translateX(20px); background: #111; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .label { flex: 1; display: flex; align-items: center; gap: 10px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-size: 0.93rem; border: 1px solid; }
.alert-success { background: rgba(31, 157, 85, 0.12); border-color: rgba(31, 157, 85, 0.4); color: #8be0ad; }
.alert-error { background: rgba(229, 72, 77, 0.12); border-color: rgba(229, 72, 77, 0.4); color: #ffb3b5; }
.alert-info { background: rgba(212, 175, 55, 0.1); border-color: rgba(212, 175, 55, 0.35); color: var(--gold-2); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.steps > .card, .products > .card, .stats > .card, .design-grid > .card { margin-top: 0; }
.card-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--surface-2); color: var(--muted); text-transform: capitalize; }
.badge-pending { background: rgba(212, 175, 55, 0.15); color: var(--gold-2); }
.badge-confirmed, .badge-printing, .badge-shipped { background: rgba(80, 140, 255, 0.15); color: #a9c4ff; }
.badge-delivered { background: rgba(31, 157, 85, 0.15); color: #8be0ad; }
.badge-cancelled { background: rgba(229, 72, 77, 0.15); color: #ffb3b5; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Landing ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero .container { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 96px 0 64px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.eyebrow i { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.claim { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; flex-wrap: wrap; }
.claim .input-prefix { flex: 1 1 260px; border-radius: 999px; }
.claim .input-prefix span { padding-left: 18px; }
.claim-msg { font-size: 0.85rem; margin-top: 8px; min-height: 1.3em; }
.ok { color: #8be0ad; }
.bad { color: #ffb3b5; }

.hero-visual { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.nfc-card {
  width: 320px; aspect-ratio: 1.586; border-radius: 18px; padding: 22px; position: relative;
  background: radial-gradient(120% 140% at 0% 0%, #2b2b30 0%, #0a0a0b 55%, #000 100%);
  border: 1px solid rgba(212, 175, 55, 0.35); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-8deg);
}
.nfc-card .chip { width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, var(--gold-2), #9c7a1c); }
.nfc-card .waves { position: absolute; right: 22px; top: 22px; color: var(--gold); }
.nfc-card .name { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.nfc-card .url { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.04em; }
.phone-mock {
  position: absolute; right: 0; bottom: 0; width: 190px; height: 380px; border-radius: 30px; background: #f6f5f2;
  border: 6px solid #1c1c1f; box-shadow: var(--shadow); padding: 28px 14px 14px; color: #111; transform: rotate(6deg);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem;
}
.phone-mock .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #7c5c10); }
.phone-mock .pill { width: 100%; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid #e6e3dc; text-align: center; font-weight: 600; }
.phone-mock .pill.dark { background: #111; color: #fff; border-color: #111; }
@media (max-width: 480px) { .nfc-card { width: 260px; } .phone-mock { width: 150px; height: 300px; } .hero-visual { height: 340px; } }

.section { padding: 64px 0; border-top: 1px solid var(--line); }
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); color: var(--gold); font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.products { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product .price { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.product .price small { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.product-art { height: 140px; border-radius: 12px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--line); }
.mini-card { width: 140px; aspect-ratio: 1.586; border-radius: 10px; background: linear-gradient(135deg, #2b2b30, #000); border: 1px solid rgba(212, 175, 55, 0.4); }
.mini-sticker { width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #222 0 40%, #000 41%); border: 2px solid var(--gold); }
.mini-label { width: 130px; height: 50px; border-radius: 6px; background: repeating-linear-gradient(90deg, #111 0 6px, #1b1b1b 6px 12px); border: 1px solid var(--gold); }
.problem { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 800px) { .problem { grid-template-columns: 1fr 1fr; } }
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.875rem; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 40px 0; }
.auth .card { padding: 28px; }

/* ---------- Dashboard ---------- */
.dash { display: grid; gap: 24px; grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 64px; }
.dash > *, .grid-2 > *, .pages-list > *, .design-grid > *, .product-choice > * { min-width: 0; }
@media (min-width: 960px) { .dash { grid-template-columns: 240px 1fr; } }
.sidebar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 960px) { .sidebar { flex-direction: column; position: sticky; top: 84px; align-self: start; overflow: visible; } }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--muted); white-space: nowrap; font-size: 0.93rem; }
.sidebar a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.sidebar a.active { background: var(--surface); color: var(--gold-2); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 1.7rem; margin: 0; }
.page-head > div { min-width: 0; max-width: 100%; }
.url-box { display: flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; max-width: 100%; }
.url-box code { color: var(--gold-2); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; }
.stat .num { font-family: var(--display); font-size: 1.8rem; font-weight: 700; }
.pages-list { display: grid; gap: 12px; }
.page-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.page-item .thumb { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--surface-2); flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: var(--gold); overflow: hidden; }
.page-item .meta { flex: 1; min-width: 0; }
.page-item .meta div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-box { background: #fff; border-radius: 14px; padding: 12px; width: 180px; }
.qr-box svg { display: block; width: 100%; height: auto; }

.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { background: none; border: 0; color: var(--muted); padding: 12px 14px; font: 600 0.9rem var(--font); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { color: var(--gold-2); border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.repeat-row { display: grid; gap: 8px; grid-template-columns: 1fr; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 10px; position: relative; }
@media (min-width: 700px) { .repeat-row.cols-2 { grid-template-columns: 1fr 1.4fr auto; } .repeat-row.cols-3 { grid-template-columns: 1fr 1.6fr 0.6fr auto; } }
.repeat-row .remove { align-self: center; }
.uploader { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; }
.uploader .preview { width: 84px; height: 84px; border-radius: 12px; background: var(--bg-2) center/cover no-repeat; border: 1px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; color: var(--muted); overflow: hidden; }
.uploader .preview.round { border-radius: 50%; }
.uploader .preview.wide { width: 140px; }
.uploader .preview img { width: 100%; height: 100%; object-fit: cover; }
.uploader input[type=file] { font-size: 0.85rem; color: var(--muted); max-width: 100%; }
.design-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .design-grid { grid-template-columns: repeat(3, 1fr); } }
.design-preview { aspect-ratio: 1.586; border-radius: 14px; background: radial-gradient(120% 140% at 0% 0%, #2b2b30, #000); border: 1px solid rgba(212, 175, 55, 0.35); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; padding: 18px; }
.design-preview.round { aspect-ratio: 1; border-radius: 50%; max-width: 200px; margin-left: auto; margin-right: auto; }
.design-preview.label { aspect-ratio: 3; }
.design-preview img { max-height: 100%; max-width: 100%; object-fit: contain; }
.design-preview .placeholder { color: var(--muted); font-size: 0.8rem; text-align: center; }
.savebar { position: sticky; bottom: 16px; z-index: 10; margin-top: 24px; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 10px 10px 18px; background: #050505; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.partner-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.partner-tile { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: var(--bg-2); }
.partner-tile .img { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2) center/cover no-repeat; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.product-choice { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 700px) { .product-choice { grid-template-columns: repeat(3, 1fr); } }
.product-choice label { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); cursor: pointer; color: var(--text); font-weight: 500; letter-spacing: 0; }
.product-choice input { position: absolute; opacity: 0; }
.product-choice input:checked + label { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.product-choice .pc-name { font-weight: 700; display: block; }
.product-choice .pc-price { color: var(--gold); font-family: var(--display); font-weight: 700; }
.total { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--gold); }

/* ---------- Public profile ---------- */
.profile-page { min-height: 100vh; padding-bottom: 48px; }
.profile-wrap { max-width: 520px; margin: 0 auto; padding: 0 16px; }
.cover { height: 180px; background: linear-gradient(135deg, #1c1c20, #000) center/cover no-repeat; border-radius: 0 0 24px 24px; position: relative; }
@media (min-width: 560px) { .cover { border-radius: 24px; margin-top: 16px; } }
.cover .logo-badge { position: absolute; right: 16px; bottom: -28px; width: 64px; height: 64px; border-radius: 16px; background: #fff center/contain no-repeat; border: 3px solid var(--p-bg); box-shadow: var(--shadow); }
.p-head { margin-top: -52px; text-align: left; position: relative; }
.p-avatar { width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--p-bg); background: var(--p-surface) center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 2.4rem; color: var(--p-accent); }
.p-name { font-size: 1.7rem; margin: 12px 0 2px; }
.p-handle { color: var(--p-muted); font-size: 0.93rem; }
.p-headline { margin: 8px 0 0; font-weight: 500; }
.p-bio { color: var(--p-muted); margin-top: 10px; white-space: pre-line; }
.p-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.p-socials a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--p-surface); color: var(--p-text); border: 1px solid var(--p-line); }
.p-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: 20px; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 14px; font-weight: 600; border: 1px solid var(--p-line); background: var(--p-surface); color: var(--p-text); text-decoration: none !important; cursor: pointer; font-size: 0.95rem; }
.p-btn.primary { background: var(--p-accent); color: var(--p-on-accent); border-color: var(--p-accent); }
.p-section { margin-top: 28px; }
.p-section h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--p-muted); margin-bottom: 12px; font-family: var(--font); font-weight: 600; }
.p-list { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 18px; overflow: hidden; }
.p-list a, .p-list .item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--p-text); border-bottom: 1px solid var(--p-line); text-decoration: none; }
.p-list > :last-child { border-bottom: 0; }
.p-list a:hover { background: var(--p-hover); }
.p-list .k { font-size: 0.72rem; color: var(--p-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.p-list .v { overflow-wrap: anywhere; }
.p-list .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--p-hover); display: flex; align-items: center; justify-content: center; flex: none; color: var(--p-accent); }
.p-link { display: block; padding: 16px; border-radius: 16px; background: var(--p-surface); border: 1px solid var(--p-line); color: var(--p-text); text-align: center; font-weight: 600; margin-bottom: 10px; text-decoration: none !important; transition: transform 0.12s; }
.p-link:hover { transform: translateY(-1px); background: var(--p-hover); }
.p-service { padding: 16px; border-radius: 16px; background: var(--p-surface); border: 1px solid var(--p-line); margin-bottom: 10px; }
.p-service .t { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.p-service .price { color: var(--p-accent); white-space: nowrap; }
.p-service p { color: var(--p-muted); margin: 6px 0 0; font-size: 0.93rem; }
.p-partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.p-partner { color: var(--p-text); text-decoration: none !important; }
.p-partner .img { aspect-ratio: 1; border-radius: 18px; background: var(--p-surface) center/cover no-repeat; border: 1px solid var(--p-line); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 2rem; color: var(--p-accent); }
.p-partner .n { font-weight: 600; margin-top: 8px; font-size: 0.93rem; }
.p-partner .s { color: var(--p-muted); font-size: 0.8rem; }
.p-note { padding: 14px 16px; border-radius: 14px; background: var(--p-hover); color: var(--p-muted); font-size: 0.9rem; margin-top: 12px; }
.p-footer { text-align: center; margin-top: 40px; font-size: 0.8rem; color: var(--p-muted); }
.p-footer a { color: var(--p-muted); }
.owner-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 30; background: #050505; color: #fff; border: 1px solid #333; border-radius: 999px; padding: 6px 6px 6px 16px; display: flex; gap: 10px; align-items: center; font-size: 0.85rem; box-shadow: var(--shadow); white-space: nowrap; }

.theme-black { --p-bg: #0b0b0c; --p-surface: #17171a; --p-hover: #202024; --p-line: #2a2a2f; --p-text: #f4f1ea; --p-muted: #a3a09a; --p-accent: #d4af37; --p-on-accent: #111; }
.theme-gold { --p-bg: #120f06; --p-surface: #1d1809; --p-hover: #2a220c; --p-line: #3a2f10; --p-text: #fff7df; --p-muted: #cbbd8f; --p-accent: #f1d27a; --p-on-accent: #1a1405; }
.theme-light { --p-bg: #f5f4f0; --p-surface: #ffffff; --p-hover: #f0eee8; --p-line: #e4e1d9; --p-text: #141414; --p-muted: #6b6860; --p-accent: #111111; --p-on-accent: #f1d27a; }
.theme-kente { --p-bg: #07130d; --p-surface: #0e2117; --p-hover: #143020; --p-line: #1d3f2b; --p-text: #f6f3e8; --p-muted: #a9bfb0; --p-accent: #fcd116; --p-on-accent: #0b1a10; }
.profile-page { background: var(--p-bg); color: var(--p-text); }
.theme-kente .cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--kente); border-radius: 0 0 24px 24px; }

.toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); background: #111; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; border: 1px solid #333; opacity: 0; transition: opacity 0.2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; }

.pay-choice { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); cursor: pointer; color: var(--text); font-weight: 400; letter-spacing: 0; }
.pay-option > span { display: flex; flex-direction: column; gap: 2px; }
.pay-option input { margin-top: 4px; accent-color: var(--gold); }
.pay-option:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }

/* ---------- Rider ---------- */
.rider .card + .card { margin-top: 12px; }
.stat-big { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); margin-top: 12px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.rider-order.is-done { opacity: 0.6; }
.rider-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rider-actions .btn { padding: 12px; }
.rider-place { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.rider-place:hover { text-decoration: none; border-color: var(--gold); }
.rider-place .icon { color: var(--gold); margin-top: 2px; }
.collect { background: var(--gold); color: #111; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font-size: 0.9rem; }
.deliver-btn { margin-top: 12px; padding: 15px; font-size: 1.05rem; }
.issue { margin-top: 10px; }
.issue summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; }

/* ---------- Cash check ---------- */
.cash-rider { border-left: 4px solid var(--line); }
.cash-balanced { border-left-color: var(--green); }
.cash-short { border-left-color: var(--red); }
.cash-over { border-left-color: #6b8cff; }
.cash-open { border-left-color: var(--gold); }
.cash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
@media (max-width: 560px) { .cash-grid { grid-template-columns: 1fr 1fr; } }
.cash-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cash-form .field { margin-bottom: 10px; }
