/* ============================================================
   SaraStars · Tez Star uslubidagi toza dizayn
   Slate-navy fon · jonli ko'k aksent
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0E131B;   /* sahifa foni (chuqur dark) */
  --surface:   #171E28;   /* input / paket / expander */
  --surface-2: #202833;   /* hover */
  --line:      rgba(255,255,255,0.06);
  --line-2:    rgba(255,255,255,0.10);

  /* Brend aksenti — oltin (sarastars.uz) */
  --blue:      #FFCB2E;
  --blue-d:    #F0A714;
  --blue-bg:   rgba(255,203,46,0.12);
  --on-gold:   #2A1B00;

  --text:   #FFFFFF;
  --text2:  #8893A3;   /* subtitle */
  --text3:  #5A6675;   /* placeholder */

  --green:  #3ED17C;
  --red:    #FF5A5A;

  --r:   14px;
  --r-pill: 28px;
  --t:   0.18s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  background:
    radial-gradient(150% 55% at 50% -8%, rgba(245,166,35,0.16), transparent 55%),
    radial-gradient(90% 45% at 100% 6%, rgba(46,139,240,0.07), transparent 50%),
    radial-gradient(80% 50% at 0% 18%, rgba(124,78,204,0.06), transparent 55%),
    linear-gradient(180deg, #12171F 0%, #0C1017 55%, #080B10 100%);
}

/* Katak (grid) naqsh foni — yuqorida quyuq, chetga yo'qoladi */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.042) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(135% 95% at 50% -6%, #000 22%, transparent 70%);
  mask-image: radial-gradient(135% 95% at 50% -6%, #000 22%, transparent 70%);
}

/* Nozik yulduz zarralari foni */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
input, button { font-family: inherit; color: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }
svg { display: block; flex-shrink: 0; }

/* ── Shell ─────────────────────────────── */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; z-index: 1; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.wrap { width: 100%; max-width: 460px; margin: 0 auto; padding: 14px 16px 28px; }

/* ── Title ─────────────────────────────── */
.head { text-align: center; padding: 12px 8px 20px; }
.head h1 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
}
.head h1 .h-star { height: 24px; }
.head p { font-size: 13.5px; color: var(--text2); line-height: 1.55; margin-top: 8px; }

/* ── Block ─────────────────────────────── */
.block { margin-bottom: 18px; }
.block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 11px; padding: 0 2px;
}
.block-title { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }

/* "O'zimga" blue pill */
.myself-pill {
  background: var(--blue); color: var(--on-gold);
  font-size: 13px; font-weight: 700;
  padding: 7px 15px; border-radius: 999px;
  transition: background var(--t), transform var(--t);
}
.myself-pill:active { background: var(--blue-d); transform: scale(.96); }

/* ── Input ─────────────────────────────── */
.input {
  display: flex; align-items: center; gap: 11px;
  height: 52px; padding: 0 15px;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t);
}
.input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
.input-ic { display: flex; color: var(--text3); transition: color var(--t); }
.input:focus-within .input-ic { color: var(--blue); }
.input-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.input-ic.star { font-size: 17px; }
.input input { flex: 1; min-width: 0; height: 100%; font-size: 15px; font-weight: 500; color: var(--text); }
.input input::placeholder { color: var(--text3); font-weight: 400; }
.input input[type=number] { -moz-appearance: textfield; }
.input input[type=number]::-webkit-inner-spin-button,
.input input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ── Hint ─────────────────────────────── */
.hint { min-height: 18px; margin-top: 8px; padding: 0 2px; font-size: 12.5px; font-weight: 500; color: var(--text3); display: flex; align-items: center; gap: 6px; }
.hint.ok { color: var(--green); } .hint.err { color: var(--red); }
.hint:not(:empty) { animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.hint-spin { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--blue); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Recipient pill (filled) ─────────────── */
.pill {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--r);
  animation: fade .18s ease;
}
.pill-av { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, #2b3a5c, #1c2840); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.pill-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill-name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.pill-name #rpName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-you { font-size: 12.5px; color: var(--text3); font-weight: 500; flex-shrink: 0; }
.pill-x { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; background: rgba(255,255,255,0.06); color: var(--text3); display: flex; align-items: center; justify-content: center; transition: background var(--t), color var(--t); }
.pill-x:active { background: rgba(255,255,255,0.14); color: var(--text); }
.pill-x svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ── Packages ─────────────────────────────── */
.pkgs { display: flex; flex-direction: column; gap: 9px; }
.pkg {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1.5px solid transparent; border-radius: var(--r);
  cursor: pointer; transition: border-color var(--t), background var(--t), transform var(--t);
  -webkit-user-select: none; user-select: none;
}
.pkg:active { transform: scale(.99); }
.pkg.sel { border-color: var(--blue); background: var(--blue-bg); box-shadow: 0 0 0 1px var(--blue); }
.pkg-radio {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #475264;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.pkg.sel .pkg-radio { border-color: var(--blue); background: var(--blue); }
.pkg-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.pkg.sel .pkg-dot { transform: scale(1); }
.pkg-stars { display: flex; align-items: center; min-width: 40px; flex-shrink: 0; }
.pkg-lbl { flex: 1; font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.pkg-price { font-size: 14.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.pkg.sel .pkg-price { color: var(--blue); }

/* ── Expander ─────────────────────────────── */
.expander {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 14px; margin-top: 9px;
  background: var(--surface); border-radius: var(--r);
  color: var(--blue); font-size: 14.5px; font-weight: 600;
  transition: background var(--t);
}
.expander:active { background: var(--surface-2); }
.expander svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t); }
.expander.open svg { transform: rotate(180deg); }
.custom-wrap { margin-top: 9px; animation: fade .2s ease; }

/* ── CTA ─────────────────────────────── */
.cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; margin-top: 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFD64A, var(--blue-d));
  color: var(--on-gold); font-size: 16px; font-weight: 800; letter-spacing: -0.2px;
  box-shadow: 0 6px 22px rgba(240,167,20,0.34);
  transition: filter var(--t), transform var(--t), box-shadow var(--t);
}
.cta:active { filter: brightness(.95); transform: scale(.99); }
.cta:disabled { background: var(--surface); color: var(--text3); box-shadow: none; cursor: default; transform: none; }

.history { display: block; text-align: center; color: var(--blue); font-size: 13.5px; font-weight: 600; padding: 14px 0 4px; cursor: pointer; transition: opacity var(--t); }
.history:active { opacity: .6; }
.footer { text-align: center; color: var(--text3); font-size: 12px; padding: 8px 0 0; letter-spacing: 0.2px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 16px; border-bottom: 1px solid var(--line);
  background: rgba(12,16,23,0.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tb-left { display: flex; align-items: center; gap: 10px; }
.tb-logo {
  width: 30px; height: 30px; border-radius: 9px; color: #fff;
  background: linear-gradient(135deg, #FFD15C, #F0A714);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(240,167,20,0.35);
}
.tb-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.tb-support {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface); color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t);
}
.tb-support:active { background: var(--surface-2); color: var(--text); }

/* ============================================================
   VIEWS
   ============================================================ */
.container { width: 100%; max-width: 460px; margin: 0 auto; padding: 16px 16px 24px; }
.view { display: none; }
.view.active { display: block; animation: fade .25s ease; }
.view-back {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text2); font-size: 14.5px; font-weight: 600;
  padding: 0 6px 16px 0; transition: color var(--t);
}
.view-back:active { color: var(--text); }
.view-back svg { stroke: currentColor; fill: none; }

/* ============================================================
   PROMO STRIP (yuqorida, oltin)
   ============================================================ */
.promo-strip {
  flex-shrink: 0; text-align: center;
  font-size: 11.5px; font-weight: 700; color: #2A1B00;
  background: linear-gradient(90deg, #F0A714, #FFD24A 50%, #F0A714);
  padding: 7px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   HOME · LANDING HERO
   ============================================================ */
.hero2 { padding: 10px 2px 4px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #3ED17C;
  background: rgba(62,209,124,0.10); border: 1px solid rgba(62,209,124,0.28);
  border-radius: 999px; padding: 6px 13px; margin-bottom: 16px;
}
.hero-h1 { font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: -0.6px; color: var(--text); }
.hero-h1 .g { color: var(--blue); }
.hero-p { font-size: 14px; color: var(--text2); line-height: 1.55; margin-top: 14px; }
.hero-cta { display: flex; gap: 10px; margin-top: 20px; }
.btn-gold, .btn-dark {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 50px; border-radius: 14px; font-size: 14.5px;
  transition: filter var(--t), background var(--t), transform var(--t);
}
.btn-gold {
  background: linear-gradient(180deg, #FFD64A, var(--blue-d)); color: var(--on-gold);
  font-weight: 800; box-shadow: 0 6px 20px rgba(240,167,20,0.32);
}
.btn-gold:active { filter: brightness(.95); transform: scale(.98); }
.btn-dark {
  background: var(--surface); color: var(--text); border: 1px solid var(--line-2); font-weight: 700;
}
.btn-dark:active { background: var(--surface-2); transform: scale(.98); }
.hero-cta svg { flex-shrink: 0; }

.hero-stats {
  display: flex; margin-top: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.hstat { flex: 1; padding: 14px 5px; text-align: center; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: none; }
.hstat-n { font-size: 15.5px; font-weight: 800; color: var(--blue); letter-spacing: -0.3px; white-space: nowrap; }
.hstat-l { font-size: 9.5px; color: var(--text3); margin-top: 3px; line-height: 1.2; }

/* ============================================================
   HOME · PRODUCTS
   ============================================================ */
.sec-label { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; color: var(--text2); margin: 22px 2px 12px; }
.svc-list { display: flex; flex-direction: column; gap: 11px; }
.svc-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px; border-radius: 16px; text-align: left; color: #fff;
  transition: transform var(--t), filter var(--t);
}
.svc-card::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.svc-card:active { transform: scale(.985); filter: brightness(1.07); }
.svc-ic {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.svc-ic svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.svc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; z-index: 1; }
.svc-name { font-size: 16.5px; font-weight: 800; letter-spacing: -0.2px; }
.svc-desc { font-size: 12.5px; color: rgba(255,255,255,0.62); line-height: 1.35; }
.svc-arrow { flex-shrink: 0; color: rgba(255,255,255,0.5); display: flex; z-index: 1; }
.svc-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.svc-stars   { background: linear-gradient(110deg, #3E2C0C 0%, #261B08 100%); border: 1px solid rgba(245,166,35,0.40); }
.svc-stars   .svc-ic { background: rgba(245,166,35,0.18); }
.svc-gift    { background: linear-gradient(110deg, #3E1630 0%, #2A0F22 100%); border: 1px solid rgba(230,80,150,0.40); }
.svc-gift    .svc-ic { background: rgba(230,80,150,0.18); }
.svc-premium { background: linear-gradient(110deg, #2E2150 0%, #20163A 100%); border: 1px solid rgba(140,100,230,0.40); }
.svc-premium .svc-ic { background: rgba(140,100,230,0.20); }

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bnav {
  flex-shrink: 0; display: flex;
  border-top: 1px solid var(--line);
  background: rgba(12,16,23,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px 2px calc(6px + env(safe-area-inset-bottom));
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text3); font-size: 10px; font-weight: 600;
  transition: color var(--t);
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item.active { color: #FFC83D; }
.bnav-item:active { opacity: .7; }

/* ============================================================
   PAGE VIEWS (Buyurtmalar / Giftlar / Profil / Yordam)
   ============================================================ */
.page-head { padding: 6px 2px 16px; }
.page-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.page-head p { font-size: 13px; color: var(--text2); margin-top: 5px; }

.list-empty { text-align: center; padding: 50px 20px; }
.le-ic { font-size: 44px; display: block; margin-bottom: 12px; opacity: .75; }
.le-t { font-size: 15px; font-weight: 700; color: var(--text2); }
.le-s { font-size: 13px; color: var(--text3); margin-top: 5px; }
.list-spin { display: flex; justify-content: center; padding: 44px; }
.list-spin .btn-spin { border-top-color: var(--blue); border-color: rgba(255,255,255,0.18); border-top-color: var(--blue); }

/* Orders */
.order-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; margin-bottom: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.order-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--surface-2); }
.order-mid { flex: 1; min-width: 0; }
.order-name { font-size: 14.5px; font-weight: 700; }
.order-date { font-size: 11.5px; color: var(--text3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-right { text-align: right; flex-shrink: 0; }
.order-amt { font-size: 14px; font-weight: 700; white-space: nowrap; }
.order-st { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.st-paid { background: rgba(62,209,124,0.15); color: #3ED17C; }
.st-pending { background: rgba(255,203,46,0.15); color: #FFCB2E; }
.st-cancelled, .st-failed { background: rgba(255,90,90,0.15); color: #FF5A5A; }
.st-delivered { background: rgba(46,139,240,0.15); color: #2E8BF0; }

/* Gifts */
.gift-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.gift-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; transition: transform var(--t), border-color var(--t);
}
.gift-card:active { transform: scale(.95); border-color: var(--blue-bg); }
.gift-emoji { font-size: 32px; line-height: 1; }
.gift-price { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.gift-som { font-size: 10.5px; color: var(--text3); }

/* Profile */
.profile-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px;
}
.pf-av { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #FFD15C, #F0A714); display: flex; align-items: center; justify-content: center; color: #2A1B00; font-weight: 800; font-size: 22px; text-transform: uppercase; }
.pf-info { min-width: 0; }
.pf-name { font-size: 17px; font-weight: 800; }
.pf-sub { font-size: 13px; color: var(--text2); margin-top: 2px; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.pf-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pf-stat-n { font-size: 18px; font-weight: 800; color: var(--blue); letter-spacing: -0.3px; }
.pf-stat-l { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* Row list (settings / support) */
.row-list { display: flex; flex-direction: column; gap: 9px; }
.lrow { display: flex; align-items: center; gap: 13px; padding: 14px; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: background var(--t); }
.lrow:active { background: var(--surface-2); }
.lrow-ic { font-size: 20px; flex-shrink: 0; width: 24px; text-align: center; }
.lrow-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lrow-t { font-size: 14.5px; font-weight: 600; color: var(--text); }
.lrow-d { font-size: 12px; color: var(--text3); }
.lrow-arr { width: 18px; height: 18px; stroke: var(--text3); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 9px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { padding: 14px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text3); font-size: 19px; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 14px 14px; font-size: 13px; color: var(--text2); line-height: 1.55; }

/* ============================================================
   CONFIRM MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet {
  width: 100%; max-width: 460px;
  background: var(--bg); border: 1px solid var(--line-2); border-bottom: none;
  border-radius: 22px 22px 0 0; padding: 0 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .32s cubic-bezier(.32,.72,0,1);
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.sheet-handle { width: 38px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.15); margin: 11px auto 4px; }
.sheet-star { height: 46px; display: flex; justify-content: center; padding: 8px 0 2px; }
.sheet-title { text-align: center; font-size: 18px; font-weight: 800; padding-top: 6px; }
.sheet-sub { text-align: center; font-size: 13px; color: var(--text2); margin-top: 3px; }
.sheet-rows { background: var(--surface); border-radius: var(--r); padding: 2px 14px; margin: 16px 0; }
.sheet-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.sheet-row:last-child { border-bottom: none; }
.sheet-row span { color: var(--text2); }
.sheet-row strong { color: var(--text); font-weight: 700; }
.sheet-total strong { color: var(--blue); font-size: 17px; }
.sheet-pay {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 52px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFD64A, var(--blue-d)); color: var(--on-gold);
  font-size: 15.5px; font-weight: 800; box-shadow: 0 5px 16px rgba(240,167,20,0.3);
  transition: filter var(--t), transform var(--t);
}
.sheet-pay:active { filter: brightness(.95); transform: scale(.99); }
.sheet-pay:disabled { opacity: .6; pointer-events: none; }
.sheet-cancel { display: block; width: 100%; text-align: center; padding: 12px 0 2px; font-size: 14px; font-weight: 600; color: var(--text2); }
.sheet-cancel:active { color: var(--red); }
.btn-spin { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin .55s linear infinite; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translateX(-50%) translateY(12px);
  background: #2A3645; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 11px 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  opacity: 0; pointer-events: none; white-space: nowrap; max-width: 90vw;
  box-shadow: 0 10px 36px rgba(0,0,0,0.5);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-ic { color: var(--green); }
