/* KPU Event Night Merch Store — volunteer POS
   Redesign 2026-09-10 (hf-20260910-merch-redesign): navy/gold design system
   from the approved mockups, forced unconditionally (not tied to
   prefers-color-scheme). Structure/IDs are unchanged from the prior version —
   shop.js still drives everything by id — only the visual language and the
   catalog/cart-line row markup changed. */

:root {
  --navy: #0b1f3a;
  --navy-2: #142c52;
  --navy-3: #1c3a68;
  --page: #0a1020;
  --card: #151f38;
  --card-2: #1b2947;
  --line: #27345a;
  --ink: #f2f5fa;
  --ink-2: #b9c3d6;
  --ink-3: #7e8aa3;
  --gold: #e8bd4a;
  --gold-deep: #c99b22;
  --blue: #2e6fe8;
  --blue-dim: #3b7bf0;
  --green: #2fbf5f;
  --good-bg: #163524;
  --amber: #e0ac1c;
  --amber-bg: #3a2f0f;
  --red: #e0554a;
  --serious-bg: #3a1c18;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.24), 0 1px 3px rgba(0,0,0,.28);
  --shadow-md: 0 6px 18px rgba(0,0,0,.32);
  --shadow-lg: 0 18px 60px rgba(0,0,0,.6);
  --tapbar-h: 68px;
  --rail-w: 340px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body { height: 100%; }
/* Sticky header is ~113px tall on mobile; keep any future anchor/hash
   scroll or scrollIntoView() from landing a row underneath it
   (hf-20260910 mobile audit). */
html { scroll-padding-top: 120px; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #12203c 0%, var(--page) 55%);
  color: var(--ink);
  min-height: 100vh;
  overscroll-behavior-y: contain;
  -webkit-tap-highlight-color: transparent;
}

button { font-family: inherit; border: none; cursor: pointer; }

/* ---------- Header ---------- */

.shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(11,31,58,.98), rgba(11,31,58,.92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.shop-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.shop-logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
}
.shop-logo-mark svg { width: 18px; height: 18px; }

.shop-title-block { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 160px; line-height: 1.15; margin-left: 10px; }

.shop-title {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.shop-subtitle {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 599px) {
  .shop-header-inner { padding: 6px 12px; }
  .shop-title { font-size: 9.5px; }
  .shop-subtitle { font-size: 13px; }
  .reader-pill { font-size: 10px; padding: 4px 8px; }
}

.reader-pill {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(47,191,95,.12);
  border: 1px solid rgba(47,191,95,.4);
  font-size: 11px;
  font-weight: 600;
  color: #6fdf97;
  white-space: nowrap;
}

.reader-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex: none;
}

.reader-pill.connected { background: rgba(47,191,95,.12); border-color: rgba(47,191,95,.4); color: #6fdf97; }
.reader-pill.connecting { background: rgba(224,172,28,.12); border-color: rgba(224,172,28,.4); color: var(--amber); }
.reader-pill.connecting .dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.reader-pill.conflict { background: rgba(224,85,74,.12); border-color: rgba(224,85,74,.45); color: #f0958c; }
.reader-pill.conflict .dot { background: var(--red); box-shadow: 0 0 6px var(--red); }
.reader-pill:not(.connected):not(.connecting):not(.conflict) .dot { background: var(--ink-3); box-shadow: none; }

.reader-pill button {
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  cursor: pointer;
}

.reader-pill.conflict button { background: var(--red); }

.refresh-catalog-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  flex: none;
}
.refresh-catalog-btn:active { opacity: .8; }

@media (max-width: 599px) {
  .refresh-catalog-btn { font-size: 10px; padding: 5px 9px; }
}

.tax-note {
  width: 100%;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--ink-3);
  text-align: center;
}
.tax-note b { color: var(--ink-2); font-weight: 600; }

/* ---------- Layout ---------- */

.shop-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 10px calc(var(--tapbar-h) + 16px);
}

@media (min-width: 900px) {
  .shop-main {
    padding: 14px 16px 28px;
    display: grid;
    grid-template-columns: 1fr var(--rail-w);
    gap: 16px;
    align-items: start;
  }
}

/* ---------- Donation strip ---------- */

.donation-card {
  background: linear-gradient(135deg, rgba(232,189,74,.13), rgba(232,189,74,.05));
  border: 1px solid rgba(232,189,74,.35);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 10px;
  display: none;
  overflow: hidden;
}

.donation-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}

.donation-toggle .donation-toggle-label { display: flex; align-items: center; gap: 8px; }
.donation-toggle svg { width: 16px; height: 16px; flex: none; }

.donation-toggle-icon {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-3);
  transition: transform .15s ease;
}

.donation-card.open .donation-toggle-icon { transform: rotate(45deg); }

.donation-body {
  display: none;
  padding: 0 12px 10px;
}

.donation-card.open .donation-body { display: block; }

.donation-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.donation-dollar { color: var(--ink-3); font-weight: 700; font-size: 13.5px; }

.donation-input {
  flex: 1;
  background: rgba(13,23,48,.6);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  padding: 9px 10px;
  font-size: 13.5px;
  min-width: 0;
  font-family: inherit;
}

.donation-input:focus { outline: 2px solid var(--blue-dim); border-color: var(--blue-dim); }

.btn-donation {
  border: 1px solid rgba(46,111,232,.55);
  background: rgba(46,111,232,.18);
  color: #8fb3f5;
  font-weight: 700;
  font-size: 12px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
}

.btn-donation:disabled { opacity: .5; cursor: not-allowed; }

.btn-donation-cash { background: rgba(47,191,95,.16); border-color: rgba(47,191,95,.5); color: #6fdf97; }

/* ---------- Loading / error states ---------- */

.loading-state, .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--ink-3);
  text-align: center;
}

.spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Catalog: compact product rows ---------- */

.catalog {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

@media (min-width: 640px) {
  .catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
}

.prod {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  gap: 11px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.prod.has-qty { border-color: rgba(232,189,74,.55); box-shadow: 0 0 0 1px rgba(232,189,74,.25); }

.thumb {
  width: 60px; height: 60px;
  border-radius: 12px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--card-2);
}

.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb img.placeholder-logo { width: 70%; height: 70%; object-fit: contain; opacity: .85; }

.thumb .qty-badge {
  position: absolute; top: -1px; right: -1px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 0 12px 0 10px;
  background: var(--gold);
  color: #1d1503;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.prod-body { flex: 1; min-width: 0; }

.prod-name-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.prod-name { font-size: 14px; font-weight: 700; color: #fff; }
.prod-color { font-size: 11.5px; color: var(--ink-3); }
.prod-price { font-size: 13.5px; font-weight: 800; color: var(--gold); margin-left: auto; }
.prod-price .tax-caption { display: block; font-size: 9px; font-weight: 500; color: var(--ink-3); text-align: right; }

.sizes { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

.size-pill {
  min-width: 42px; height: 36px; padding: 0 9px;
  border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  cursor: pointer;
}

.size-pill.in-cart { background: var(--blue); border-color: var(--blue); }
.size-pill.in-cart::after {
  content: attr(data-n);
  position: absolute; top: -7px; right: -7px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--gold); color: #1d1503;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.size-pill:disabled { opacity: .45; cursor: not-allowed; }

.size-pill:not(:disabled):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.onesize-add { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

.add-btn {
  height: 36px; padding: 0 16px;
  border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}
.add-btn:disabled { opacity: .45; cursor: not-allowed; }

.stepper {
  display: flex; align-items: center; gap: 0;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.stepper button {
  width: 38px; height: 36px;
  background: transparent;
  color: var(--ink);
  font-size: 17px; font-weight: 700;
  cursor: pointer;
}
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .n { width: 32px; text-align: center; font-size: 13.5px; font-weight: 800; }

.stepper.sm button { width: 34px; height: 32px; font-size: 16px; }
.stepper.sm .n { width: 28px; font-size: 13px; }

/* swatch colors — used when a style has no product image yet */
.sw-navy { background: linear-gradient(145deg, #24406e, #16294c); }
.sw-white { background: linear-gradient(145deg, #e9edf3, #c6cdd8); }
.sw-black { background: linear-gradient(145deg, #3a4150, #1d2129); }
.sw-blue { background: linear-gradient(145deg, #2e5fb0, #1c3f7e); }
.sw-gold { background: linear-gradient(145deg, #e8bd4a, #b8892b); }

/* ---------- Cart bar (mobile, fixed bottom) ---------- */

.cart-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 14px;
  z-index: 30;
  background: linear-gradient(135deg, #1c2c50, #16223f);
  border: 1px solid rgba(232,189,74,.4);
  border-radius: 18px;
  padding: 10px 10px 10px 16px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-bar.visible { display: flex; }

.cart-bar-info {
  display: flex;
  flex-direction: column;
  color: #fff;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

.cart-bar-count { font-size: 11.5px; color: var(--ink-2); }
.cart-bar-total { font-size: 18px; font-weight: 800; }

.cart-bar-review-btn {
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1d1503;
  font-weight: 800;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 13px;
  cursor: pointer;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .cart-bar { display: none !important; }
}

/* ---------- Cart rail (tablet/desktop, side column) ---------- */

.cart-rail { display: none; }

@media (min-width: 900px) {
  .cart-rail {
    display: block;
    position: sticky;
    top: 76px;
    background: #131e39;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .cart-rail-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
  .cart-rail-empty { color: var(--ink-3); font-size: 12.5px; padding: 12px 0; text-align: center; }
}

/* ---------- Review & Pay sheet ---------- */

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4,8,18,.72);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 640px) {
  .sheet-overlay { align-items: center; }
}

.sheet-overlay.open { display: flex; }

.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  background: #131e39;
  border: 1px solid var(--line);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 640px) {
  .sheet { border-radius: 24px; max-height: 88vh; }
}

.sheet-handle {
  width: 44px; height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 10px auto 4px;
  flex: none;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 8px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.sheet-header h2 { font-size: 18px; font-weight: 800; margin: 0; color: #fff; }

.sheet-close {
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.sheet-body {
  overflow-y: auto;
  padding: 8px 16px;
  flex: 1;
}

.cart-line {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(39,52,90,.6);
  align-items: center;
}

.cart-line:last-child { border-bottom: none; }

.cart-line-thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--card-2);
}
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line-thumb img.placeholder-logo { width: 70%; height: 70%; object-fit: contain; opacity: .85; }

.cart-line-info { flex: 1; min-width: 0; }

.cart-line-name { font-weight: 700; color: #fff; font-size: 13.5px; }
.cart-line-meta { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.cart-line-unit { font-size: 11px; color: var(--ink-2); margin-top: 2px; }

.cart-line-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: none;
}

.qty-value { min-width: 24px; text-align: center; font-size: 13px; font-weight: 800; color: #fff; }

.cart-line-total { font-size: 14px; font-weight: 800; color: var(--gold); }

.remove-line-btn {
  border: none;
  background: none;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
}

.sheet-empty, .cart-rail-empty { text-align: center; color: var(--ink-3); padding: 32px 12px; font-size: 13px; }

.clear-cart-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  padding: 6px;
  cursor: pointer;
}

.sheet-footer {
  flex: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #131e39;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.subtotal-label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.subtotal-value { font-size: 19px; font-weight: 800; color: #fff; }

.pay-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-btn {
  border: none;
  border-radius: var(--r-md);
  padding: 13px 8px 11px;
  text-align: center;
  line-height: 1.15;
  cursor: pointer;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pay-btn .pay-btn-label { font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.pay-btn .pay-btn-amount { font-size: 21px; font-weight: 800; display: block; margin-top: 2px; }
.pay-btn .pay-btn-sub { font-size: 10px; font-weight: 600; opacity: .85; display: block; margin-top: 3px; }

.pay-btn-cash { background: linear-gradient(135deg, #2fbf5f, #1f9c4a); color: #06230f; }
.pay-btn-card { background: linear-gradient(135deg, var(--blue-dim), #2358c9); color: #eaf1ff; }

.pay-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Confirmation dialogs (Clear Cart / Cash) ---------- */

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(3,8,20,.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.confirm-overlay.open { display: flex; }

.confirm-card {
  width: 100%;
  max-width: 380px;
  background: #131e39;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 22px;
  text-align: center;
}

.confirm-card h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.confirm-card .confirm-amount { font-size: 30px; font-weight: 800; color: var(--gold); margin: 10px 0 18px; }
.confirm-card p { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }

.confirm-btn-row { display: flex; flex-direction: column; gap: 10px; }

.confirm-btn-row button {
  border: none;
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.confirm-primary { background: var(--green); color: #06230f; }
.confirm-danger { background: var(--red); color: #fff; }
.confirm-cancel { background: var(--card-2); color: var(--ink-2); border: 1px solid var(--line) !important; }

/* ---------- Full-screen status overlay ---------- */

.status-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--navy);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}

.status-overlay.open { display: flex; }

.status-overlay.tone-success { background: radial-gradient(600px 420px at 50% 30%, rgba(47,191,95,.16), transparent 70%), var(--page); }
.status-overlay.tone-error { background: radial-gradient(circle at 50% 30%, #3a1c18 0%, var(--navy) 70%); }
.status-overlay.tone-warn { background: radial-gradient(circle at 50% 30%, #3a2f0f 0%, var(--navy) 70%); }

.status-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 22px;
  flex: none;
}

.status-icon svg { width: 48px; height: 48px; }

.status-icon.success { background: rgba(47,191,95,.12); border: 2px solid rgba(47,191,95,.6); color: var(--green); width: 108px; height: 108px; }
.status-icon.error { background: var(--serious-bg); color: var(--red); }
.status-icon.warn { background: var(--amber-bg); color: var(--amber); }
.status-icon.spin {
  background: transparent;
  border: 5px solid var(--navy-3);
  border-top-color: var(--blue);
  animation: spin 1s linear infinite;
}

.status-title { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.status-message { font-size: 15px; color: var(--ink-2); max-width: 420px; line-height: 1.5; margin-bottom: 6px; }
.status-amount { font-size: 40px; font-weight: 800; color: var(--gold); margin: 8px 0 2px; }
.status-overlay.tone-success .status-message { max-width: 300px; }

.status-warning-box {
  background: var(--amber-bg);
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13.5px;
  max-width: 420px;
  margin: 14px 0;
  font-weight: 600;
}

.status-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  width: 100%;
  max-width: 320px;
}

.status-actions button {
  border: none;
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}

.status-btn-primary { background: linear-gradient(135deg, var(--blue-dim), #2358c9); color: #eaf1ff; }
.status-btn-secondary { background: var(--card-2); color: var(--ink-2); border: 1px solid var(--line) !important; }
.status-btn-danger-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red) !important; }

/* ---------- Text-a-receipt (event-night success screen) ---------- */

.status-receipt {
  margin-top: 22px;
  width: 100%;
  max-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}

.status-receipt-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 9px;
}

.status-receipt-row { display: flex; gap: 8px; }

.status-receipt-row input {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d1730;
  color: var(--ink);
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
}
.status-receipt-row input::placeholder { color: var(--ink-3); }

.status-receipt-row button {
  flex: none;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  background: var(--gold);
  color: #1d1503;
}

.status-receipt-row button:disabled { opacity: .6; cursor: default; }

.status-receipt-msg { font-size: 13px; margin-top: 8px; min-height: 16px; }
.status-receipt-msg.ok { color: var(--green); }
.status-receipt-msg.err { color: var(--red); }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: calc(var(--tapbar-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-2);
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  box-shadow: var(--shadow-md);
  z-index: 80;
  display: none;
}

@media (min-width: 900px) {
  .toast { bottom: 24px; }
}
