/* ============================================
   AXIS STARS — "Night Sky" Premium WebApp Styles
   Dark cosmos base · gold ignition accent · violet premium accent
   ============================================ */

:root {
  /* base */
  --bg: #0A0913;
  --bg-soft: #0F0E1B;
  --surface: #15141F;
  --surface2: #1C1A2A;
  --surface3: #242238;
  --border: #2A2840;
  --border-strong: #3A3656;

  /* ink */
  --ink: #F4F2FA;
  --ink2: #A9A4C4;
  --ink3: #6C6790;

  /* gold — primary action / Stars / money */
  --gold: #FFB23E;
  --gold-2: #FF8A3D;
  --gold-soft: #FFD27A;
  --gold-tint: #2A2114;
  --gold-ink: #1A1206;

  /* violet — Premium */
  --violet: #8B6BFF;
  --violet-2: #6C4DFF;
  --violet-tint: #1E1A38;

  /* status */
  --green: #34D399;
  --green-tint: #112A22;
  --red: #FF6B6B;
  --red-tint: #2E1518;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 16px rgba(0,0,0,0.35), 0 16px 40px rgba(0,0,0,0.35);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --glow-gold: 0 0 0 1px rgba(255,178,62,0.15), 0 8px 28px rgba(255,138,61,0.25);
  --glow-violet: 0 0 0 1px rgba(139,107,255,0.18), 0 8px 28px rgba(108,77,255,0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient cosmos backdrop — soft stationary glows, no movement so nothing feels "janky" */
body {
  background:
    radial-gradient(560px 360px at 14% -6%, rgba(255,138,61,0.10), transparent 60%),
    radial-gradient(480px 420px at 100% 18%, rgba(108,77,255,0.14), transparent 55%),
    radial-gradient(640px 500px at 50% 100%, rgba(108,77,255,0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

.spacer {
  flex: 1;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 88px;
  position: relative;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 14px;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--bg) 70%, rgba(10,9,19,0));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-wrap {
  position: relative;
  cursor: pointer;
}

.avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  z-index: -1;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  display: block;
}

.user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.user-username {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink3);
  line-height: 1.3;
}

.bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bell-btn:active {
  background: var(--surface2);
  border-color: var(--border-strong);
}

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--red);
  color: #1A0605;
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

/* ============================================
   BENTO GRID — mosaic layout for home
   Balance spans full width as the hero tile;
   Stars (tall) and Premium (short) sit side by side;
   two compact stat tiles close the grid.
   ============================================ */
.bento-grid {
  padding: 4px 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 11px;
}

.bento-tile {
  position: relative;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.bento-tile:active {
  transform: scale(0.98);
}

/* Balance — full-width hero row, signature ignition surface preserved */
.bento-balance {
  grid-column: 1 / -1;
  padding: 22px 20px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,178,62,0.22), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(108,77,255,0.28), transparent 55%),
    linear-gradient(155deg, #18162A 0%, #100F1C 100%);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bento-balance::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: rotate(8deg);
  pointer-events: none;
}

.balance-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.balance-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.balance-amount {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.balance-plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1A1206;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 14px rgba(255,138,61,0.4);
}

/* Stars tile — tall left column, carries quick-buy chips */
.bento-stars {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Premium tile — short right column, top row */
.bento-premium {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-tile-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.section-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stars-icon {
  background: linear-gradient(155deg, var(--gold-tint), #211A0F);
  box-shadow: inset 0 0 0 1px rgba(255,178,62,0.25);
}

.premium-icon {
  background: linear-gradient(155deg, var(--violet-tint), #19172C);
  box-shadow: inset 0 0 0 1px rgba(139,107,255,0.3);
}

.section-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink3);
}

.section-arrow {
  color: var(--ink3);
  flex-shrink: 0;
}

/* Quick-buy chips inside the Stars tile */
.quick-buy-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: auto;
}

.quick-chip {
  padding: 9px 0;
  background: var(--gold-tint);
  border: 1px solid rgba(255,178,62,0.25);
  border-radius: 10px;
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.quick-chip:active {
  transform: scale(0.93);
  background: rgba(255,178,62,0.22);
}

/* Mini stat tiles — bottom row of the mosaic */
.bento-mini {
  grid-column: span 1;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface2);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.mini-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink3);
}

/* ============================================
   BOTTOM NAV
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  background: rgba(21,20,31,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 8px calc(9px + env(safe-area-inset-bottom));
  z-index: 9999;
}

.nav-btn {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--ink3);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.nav-btn.active {
  color: var(--gold);
}

.nav-dot {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%) scale(0);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-btn.active .nav-dot {
  transform: translateX(-50%) scale(1);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,4,10,0.7);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 3px;
  margin: 10px auto 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 6px;
  position: sticky;
  top: 0;
  background: var(--bg-soft);
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--surface2);
  color: var(--ink2);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-body {
  padding: 14px 20px 24px;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 7px;
}

.input-group input {
  width: 100%;
  padding: 14px 14px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.input-group input:focus {
  border-color: var(--gold);
  background: var(--surface3);
}

.input-group input::placeholder {
  color: var(--ink3);
  font-weight: 500;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.input-wrap:focus-within {
  border-color: var(--gold);
  background: var(--surface3);
}

.input-prefix {
  padding: 0 0 0 14px;
  color: var(--ink3);
  font-weight: 700;
  font-size: 15px;
}

.input-wrap input {
  border: none;
  background: transparent;
  flex: 1;
}

.input-wrap input:focus {
  border: none;
}

/* ============================================
   PRICE / INFO BOXES
   ============================================ */
.price-info-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 14px;
  background: var(--gold-tint);
  border: 1px solid rgba(255,178,62,0.2);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.pi-icon {
  font-size: 15px;
}

.price-calc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  background: var(--violet-tint);
  border: 1px solid rgba(139,107,255,0.25);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #C9BBFF;
  margin-bottom: 14px;
}

.price-val {
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.balance-hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  margin-bottom: 18px;
}

.balance-hint strong {
  color: var(--gold-soft);
  font-weight: 700;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1A1206;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(255,138,61,0.32);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(255,138,61,0.28);
}

.btn-ghost {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--ink2);
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.btn-ghost:active {
  color: var(--ink);
}

/* ============================================
   DURATION GRID (Premium)
   ============================================ */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.duration-card {
  position: relative;
  padding: 15px 6px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.duration-card:active {
  transform: scale(0.97);
}

.duration-card.selected {
  background: var(--violet-tint);
  border-color: var(--violet);
  box-shadow: var(--glow-violet);
}

.dur-months {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.dur-price {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}

.dur-badge {
  position: absolute;
  top: -9px;
  right: -4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1A1206;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255,138,61,0.4);
}

/* ============================================
   STEP INDICATOR (Deposit)
   ============================================ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 22px;
}

.step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--ink3);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.step.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: var(--gold);
  color: #1A1206;
}

.step-line {
  width: 32px;
  height: 1.5px;
  background: var(--border);
}

.card-info-box {
  padding: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.ci-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 6px;
}

.ci-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ci-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.copy-btn {
  flex-shrink: 0;
  padding: 6px 10px;
  background: var(--surface3);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink2);
  cursor: pointer;
}

.info-note {
  padding: 12px 13px;
  background: var(--red-tint);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: #FF9B9B;
  margin-bottom: 16px;
  line-height: 1.45;
}

.upload-area {
  padding: 34px 16px;
  background: var(--surface2);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.upload-area:active {
  border-color: var(--gold);
  background: var(--surface3);
}

.upload-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.upload-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.upload-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
}

/* ============================================
   NOTIFICATIONS
   ============================================ */
.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink3);
  font-size: 14px;
  font-weight: 600;
}

.notif-item {
  padding: 13px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border-left: 3px solid transparent;
}

.notif-item.unread {
  background: var(--gold-tint);
  border-color: rgba(255,178,62,0.2);
  border-left-color: var(--gold);
}

.notif-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.notif-time {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink3);
  margin-top: 6px;
}

/* Inline loading spinner used by app.js button states */
.loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(26,18,6,0.35);
  border-top-color: #1A1206;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

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

/* ============================================
   PAGE OVERLAYS (Profile, Orders)
   Sits above the app but below the bottom-nav (z-index 9999),
   so the 3 nav buttons are always reachable without using
   the header back-button.
   ============================================ */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  flex-shrink: 0;
}

.page-header span {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.page-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
}

/* extra bottom padding so content clears the always-visible bottom nav */
.page-body-navsafe {
  padding-bottom: calc(20px + 88px + env(safe-area-inset-bottom));
}

/* ============================================
   PROFILE
   ============================================ */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 28px;
}

.profile-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgba(255,138,61,0.25);
  margin-bottom: 14px;
}

.profile-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.profile-username {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  margin-top: 3px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}

.stat-card.full-width {
  grid-column: 1 / -1;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,178,62,0.18), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(108,77,255,0.22), transparent 55%),
    linear-gradient(155deg, #18162A 0%, #100F1C 100%);
  border-color: var(--border-strong);
}

.stat-card.full-width .stat-val,
.stat-card.full-width .stat-label {
  color: #fff;
}

.stat-card.full-width .stat-label {
  color: var(--gold-soft);
}

.stat-val {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
}

/* ============================================
   ORDERS LIST
   ============================================ */
.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
}

.order-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.order-item-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
}

.order-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  flex-shrink: 0;
}

.order-status.pending {
  background: var(--gold-tint);
  color: var(--gold-soft);
}

.order-status.completed {
  background: var(--green-tint);
  color: var(--green);
}

.order-status.rejected {
  background: var(--red-tint);
  color: var(--red);
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface3);
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   RESPONSIVE / MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

button:focus-visible,
input:focus-visible,
.section-card:focus-visible,
.duration-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
