* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --red: #b3122b;
  --red-deep: #7d0a1c;
  --gold: #f6d27a;
  --gold-deep: #e0a93b;
  --ink: #4a1c14;
  --ink-soft: #8a5a4e;
  --card: #fffaf3;
}
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  overflow: hidden;
  background: #6d0c19;
}
.bg-layer {
  position: fixed; inset: 0;
  background: url('assets/bj.webp') center center / cover no-repeat;
  z-index: 0;
}
.bg-layer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(90,8,20,.30), rgba(70,6,16,.45));
}

.app {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* 页面切换 */
.page { display: none; height: 100%; flex-direction: column; }
.page.active { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

/* ---------- 注册 / 登录 ---------- */
#page-auth { justify-content: center; padding: 24px; }
.auth-wrap { width: 100%; }
.auth-logo { text-align: center; margin-bottom: 26px; }
.logo-mark {
  width: 66px; height: 66px; margin: 0 auto 12px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: var(--red-deep);
  font-size: 24px; font-weight: 800; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.3), inset 0 1px 2px rgba(255,255,255,.8);
  border: 2px solid rgba(255,255,255,.5);
}
.logo-title { font-size: 27px; font-weight: 800; color: #fff; letter-spacing: 3px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.logo-sub { font-size: 13px; color: var(--gold); margin-top: 6px; letter-spacing: 2px; }

.auth-card {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 22px 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.7);
}
.card-title { font-size: 19px; font-weight: 700; text-align: center; margin-bottom: 22px; color: var(--red-deep); }
.field {
  display: flex; align-items: center;
  height: 50px; background: #fff; border: 1px solid #eadfd6;
  border-radius: 12px; padding: 0 14px; margin-bottom: 14px;
}
.field:focus-within { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(224,169,59,.15); }
.field-icon { width: 20px; height: 20px; margin-right: 10px; flex: none; }
.field-icon svg { width: 100%; height: 100%; fill: var(--gold-deep); }
.field input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink); height: 100%;
}
.field input::placeholder { color: #b9a99f; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; }
.check-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.check-line input { display: none; }
.checkbox {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid #cbb9ac; background: #fff; position: relative;
}
.check-line input:checked + .checkbox { background: var(--red); border-color: var(--red); }
.check-line input:checked + .checkbox::after {
  content: ''; position: absolute; left: 5px; top: 2px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.auth-switch { font-size: 13px; color: var(--red); cursor: pointer; }
.btn-main {
  width: 100%; height: 50px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(160,15,40,.35); cursor: pointer;
}
.btn-main:active { transform: scale(.98); }
.auth-tip { min-height: 18px; margin-top: 10px; text-align: center; font-size: 13px; color: var(--red); }
.auth-foot { text-align: center; color: var(--gold); font-size: 12px; margin-top: 22px; letter-spacing: 1px; }

/* ---------- 顶栏 ---------- */
.topbar {
  flex: none; height: 84px; padding: 30px 18px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: var(--red-deep); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.7);
}
.avatar.lg { width: 54px; height: 54px; font-size: 24px; }
.hello-hi { color: #fff; font-size: 15px; font-weight: 600; }
.hello-phone { color: var(--gold); font-size: 12px; margin-top: 3px; letter-spacing: .5px; }
.hello-sub { color: var(--gold); font-size: 12px; margin-top: 4px; }
.hello-sub b { color: #fff; font-size: 14px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn svg { width: 21px; height: 21px; fill: #fff; }
.text-btn { background: none; border: none; color: var(--gold); font-size: 13px; cursor: pointer; }

/* ---------- 内容区 ---------- */
.content { flex: 1; overflow-y: auto; padding: 6px 16px 90px; }
.content::-webkit-scrollbar { display: none; }

/* 签到卡 */
.sign-card {
  background: var(--card); border-radius: 18px; padding: 18px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.7);
}
.sign-head { display: flex; justify-content: space-between; align-items: center; }
.sign-title { font-size: 17px; font-weight: 800; color: var(--red-deep); }
.sign-desc { font-size: 11px; color: var(--ink-soft); margin-top: 5px; }
.streak-badge {
  text-align: center; background: linear-gradient(145deg, #fff3d8, #ffe3a8);
  border-radius: 12px; padding: 7px 12px; min-width: 66px;
}
.streak-badge span { display: block; font-size: 24px; font-weight: 800; color: var(--red); line-height: 1; }
.streak-badge small { font-size: 10px; color: var(--ink-soft); }

.sign-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 18px 0 16px; }
.day-cell { text-align: center; }
.day-dot {
  height: 30px; border-radius: 8px; background: #f0e7de;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #a08e82; font-weight: 600; position: relative;
}
.day-cell.reward .day-dot { background: #fde9c4; color: var(--gold-deep); }
.day-cell.done .day-dot { background: linear-gradient(145deg, var(--red), var(--red-deep)); color: #fff; }
.day-cell.done .day-dot::after {
  content: '✓'; position: absolute; top: -6px; right: -3px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--gold-deep); color: #fff;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.day-cell.today .day-dot { outline: 2px solid var(--gold-deep); outline-offset: 1px; }
.day-label { font-size: 9px; color: var(--ink-soft); margin-top: 5px; white-space: nowrap; }

.btn-sign {
  width: 100%; height: 48px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(160,15,40,.3);
}
.btn-sign span { display: block; font-size: 16px; font-weight: 700; }
.btn-sign small { display: block; font-size: 10px; opacity: .85; margin-top: 2px; }
.btn-sign:disabled { background: #d9cfc5; box-shadow: none; color: #fff; cursor: default; }
.sign-note { text-align: center; font-size: 11px; color: var(--ink-soft); margin-top: 12px; }

.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 22px 2px 12px;
}
.section-title span { font-size: 16px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.section-title small { font-size: 10px; color: var(--gold); }

/* 奖励一览 */
.reward-list { background: var(--card); border-radius: 16px; padding: 4px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.reward-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 0; border-bottom: 1px dashed #eadfd6;
}
.reward-item:last-child { border-bottom: none; }
.reward-day { font-size: 12px; color: var(--ink-soft); width: 46px; flex: none; }
.reward-coupon { font-size: 13px; color: var(--ink); flex: 1; }
.reward-coupon b { color: var(--red); font-size: 18px; }
.reward-coupon em { font-style: normal; font-size: 11px; color: var(--ink-soft); margin-left: 4px; }
.reward-flag { font-size: 11px; padding: 3px 9px; border-radius: 20px; background: #f0e7de; color: #a08e82; flex: none; }
.reward-flag.got { background: #fde9c4; color: var(--gold-deep); }

/* 首页邀请入口横幅 */
.invite-banner {
  width: 100%; margin-top: 16px; padding: 14px;
  display: flex; align-items: center; gap: 11px; text-align: left;
  background: linear-gradient(120deg, #fff2d4, #ffe0a2);
  border: 1px solid rgba(255,255,255,.8); border-radius: 16px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.invite-banner:active { transform: scale(.99); }
.ib-icon {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  display: flex; align-items: center; justify-content: center;
}
.ib-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.ib-text { flex: 1; min-width: 0; }
.ib-text b { display: block; font-size: 13px; color: var(--red-deep); }
.ib-text span { display: block; font-size: 10px; color: var(--ink-soft); margin-top: 3px; }
.ib-go { font-size: 12px; color: var(--red); font-weight: 700; flex: none; }

/* ---------- 活动页：邀请有礼 ---------- */
.invite-top { height: 76px; }
.invite-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-radius: 18px; padding: 24px 18px 74px; text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.25);
}
.invite-hero::before {
  content: ''; position: absolute; top: -40px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(246,210,122,.14);
}
.hero-badge {
  display: inline-block; font-size: 11px; color: var(--red-deep);
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  padding: 4px 12px; border-radius: 20px; font-weight: 700; letter-spacing: 1px;
}
.hero-title { font-size: 24px; font-weight: 800; color: #fff; margin-top: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-sub { font-size: 12px; color: var(--gold); margin-top: 8px; }
.hero-gift {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); border: 3px solid rgba(255,255,255,.6);
}
.hero-gift svg { width: 50px; height: 50px; fill: var(--red-deep); }

.invite-card {
  background: var(--card); border-radius: 16px; padding: 18px 16px; margin-top: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.ic-title { font-size: 14px; font-weight: 700; color: var(--red-deep); text-align: center; }
.ic-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0; }
.ic-code {
  font-size: 26px; font-weight: 800; letter-spacing: 3px; color: var(--red);
  background: #fde9c4; padding: 8px 18px; border-radius: 10px;
}
.ic-copy {
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  border: none; border-radius: 9px; padding: 10px 14px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.ic-copy:active { transform: scale(.96); }
.ic-divider { height: 1px; background: #eadfd6; margin: 4px 0 14px; }
.ic-progress { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-soft); }
.ic-progress b { color: var(--red); font-size: 16px; }
.ic-next { color: var(--gold-deep); font-size: 11px; }

.invite-rewards { display: flex; flex-direction: column; gap: 10px; }
.ir-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 14px; padding: 13px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.ir-icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: #f0e7de; color: #a08e82; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ir-info { flex: 1; min-width: 0; }
.ir-info b { display: block; font-size: 13px; color: var(--ink); }
.ir-info span { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 3px; }
.ir-flag { font-size: 11px; padding: 4px 10px; border-radius: 20px; background: #f0e7de; color: #a08e82; flex: none; }
.ir-item.done { border: 1px solid var(--gold-deep); }
.ir-item.done .ir-icon { background: linear-gradient(145deg, var(--gold), var(--gold-deep)); color: var(--red-deep); }
.ir-item.done .ir-flag { background: #fde9c4; color: var(--gold-deep); }

.btn-share {
  width: 100%; height: 50px; margin-top: 20px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--red-deep);
  font-size: 16px; font-weight: 800; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(160,15,40,.3);
}
.btn-share:active { transform: scale(.98); }
.share-tip { text-align: center; font-size: 11px; color: var(--gold); margin-top: 10px; }

/* ---------- 个人中心 ---------- */
.profile-top { height: 96px; }
.stat-row {
  display: flex; background: var(--card); border-radius: 16px; padding: 15px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); margin-bottom: 4px;
}
.stat { flex: 1; text-align: center; border-right: 1px solid #efe4da; }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 22px; color: var(--red); }
.stat span { font-size: 11px; color: var(--ink-soft); }

/* 优惠券卡片 */
.coupon-list { display: flex; flex-direction: column; gap: 12px; }
.coupon {
  display: flex; border-radius: 14px; overflow: hidden; min-height: 104px;
  background: var(--card); box-shadow: 0 8px 20px rgba(0,0,0,.22);
  position: relative;
}
.coupon-left {
  width: 96px; flex: none;
  background: linear-gradient(150deg, var(--red), var(--red-deep));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.coupon-left::after {
  content: ''; position: absolute; right: -1px; top: 10px; bottom: 10px;
  border-right: 2px dashed rgba(255,255,255,.5);
}
.coupon-val { font-size: 30px; font-weight: 800; line-height: 1; }
.coupon-val small { font-size: 14px; }
.coupon-unit { font-size: 11px; color: var(--gold); margin-top: 5px; }
.coupon-right { flex: 1; padding: 13px 14px; min-width: 0; }
.coupon-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.coupon-cond { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
.coupon-status { font-size: 10px; margin-top: 3px; }
.status-locked { color: #a08e82; }
.status-ok { color: #2f9e5c; }
.status-pending { color: #d9861b; font-weight: 600; }
.status-used { color: #9a8a80; }
.status-gift { color: #7a6f68; }
.coupon-btns { display: flex; gap: 8px; margin-top: 10px; }
.mini-btn {
  flex: 1; height: 30px; border-radius: 8px; font-size: 12px; cursor: pointer; border: none;
}
.mini-use { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; }
.mini-gift { background: #fde9c4; color: var(--gold-deep); border: 1px solid var(--gold-deep) !important; }
.mini-done { background: linear-gradient(135deg,#efa83c,#d9861b); color: #fff; }
.mini-btn:disabled { background: #ece3da; color: #b3a69b; border: none !important; cursor: default; }
.coupon.locked { opacity: .82; }
.lock-tag, .pending-tag {
  position: absolute; top: 0; right: 0;
  background: #cdbfb2; color: #fff; font-size: 10px; padding: 3px 9px;
  border-bottom-left-radius: 10px;
}
.pending-tag { background: #d9861b; }

.rule-box {
  margin-top: 20px; background: rgba(255,250,243,.92); border-radius: 14px;
  padding: 16px; font-size: 11px; color: var(--ink-soft); line-height: 1.9;
}
.rule-title { font-size: 13px; font-weight: 700; color: var(--red-deep); margin-bottom: 6px; }
.rule-box p { margin: 2px 0; }
.rule-box span { color: var(--red); font-weight: 600; }
.empty-coupon { text-align: center; padding: 40px 0; color: var(--gold); font-size: 13px; }

/* ---------- TabBar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: rgba(60,5,14,.9); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(246,210,122,.25);
  display: flex; z-index: 5; padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1; background: none; border: none; color: #d6b8ae;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer;
}
.tab svg { width: 22px; height: 22px; fill: currentColor; }
.tab span { font-size: 11px; }
.tab.active { color: var(--gold); }

/* ---------- 首页优惠详情弹窗 ---------- */
.promo-mask {
  position: absolute; inset: 0; z-index: 30;
  background: rgba(20,3,8,.72); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.promo-mask.show { display: flex; animation: fade .22s ease; }
.promo-box {
  position: relative; width: 100%; max-width: 320px;
  background: var(--card); border-radius: 18px; padding: 18px 16px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5); border: 2px solid var(--gold);
  text-align: center;
}
.promo-close {
  position: absolute; top: -12px; right: -12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: var(--red-deep); border: 2px solid #fff;
  font-size: 20px; line-height: 1; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.promo-title { font-size: 17px; font-weight: 800; color: var(--red-deep); margin-bottom: 12px; }
.promo-img {
  display: block; width: 100%; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.promo-desc { font-size: 12px; color: var(--ink-soft); margin: 14px 0 4px; }
.promo-btn { height: 46px; font-size: 15px; margin-top: 12px; }

/* ---------- 导航核销选择弹窗 ---------- */
.nav-mask {
  position: absolute; inset: 0; z-index: 25;
  background: rgba(20,3,8,.6); display: none;
  align-items: flex-end; justify-content: center;
}
.nav-mask.show { display: flex; animation: fade .2s ease; }
.nav-sheet {
  width: 100%; background: var(--card);
  border-radius: 20px 20px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0,0,0,.3);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%);} to { transform: none;} }
.nav-handle { width: 36px; height: 4px; border-radius: 4px; background: #d8c8bb; margin: 2px auto 12px; }
.nav-title { font-size: 17px; font-weight: 800; color: var(--red-deep); text-align: center; }
.nav-sub { font-size: 11px; color: var(--ink-soft); text-align: center; margin: 6px 0 14px; }
.nav-coupon {
  font-size: 12px; color: var(--red-deep); font-weight: 700;
  background: #fde9c4; border-radius: 10px; padding: 10px 12px; text-align: center; margin-bottom: 12px;
}
.nav-list { display: flex; flex-direction: column; gap: 10px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: #fff; border: 1px solid #eadfd6; border-radius: 12px;
  padding: 12px 14px; cursor: pointer; text-align: left;
}
.nav-item:active { background: #fdf4ea; }
.nav-logo {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 800;
}
.nav-amap { background: linear-gradient(145deg,#2a8bff,#0a63d6); }
.nav-baidu { background: linear-gradient(145deg,#4e7bff,#2b57e0); }
.nav-tencent { background: linear-gradient(145deg,#2fbf71,#169753); }
.nav-sinopec { background: linear-gradient(145deg,#e2231a,#a80f0a); }
.nav-info { flex: 1; min-width: 0; }
.nav-info b { display: block; font-size: 14px; color: var(--ink); }
.nav-info span { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 3px; }
.nav-arrow { color: var(--gold-deep); font-size: 18px; flex: none; }
.nav-cancel {
  width: 100%; height: 44px; margin-top: 12px; border: none; border-radius: 12px;
  background: #f0e7de; color: var(--ink-soft); font-size: 14px; cursor: pointer;
}

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: 20;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.show { display: flex; animation: fade .2s ease; }
.modal {
  width: 100%; background: var(--card); border-radius: 18px; padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.modal-title { font-size: 18px; font-weight: 800; color: var(--red-deep); text-align: center; }
.modal-coupon {
  text-align: center; font-size: 13px; color: var(--ink);
  background: #fde9c4; border-radius: 10px; padding: 12px; margin: 16px 0;
}
.modal-field label { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 7px; }
.modal-field input {
  width: 100%; height: 44px; border: 1px solid #eadfd6; border-radius: 10px;
  padding: 0 12px; font-size: 14px; outline: none; background: #fff;
}
.modal-field input:focus { border-color: var(--gold-deep); }
.modal-err { min-height: 16px; color: var(--red); font-size: 12px; margin-top: 6px; }
.modal-btns { display: flex; gap: 10px; margin-top: 8px; }
.btn-ghost {
  flex: 1; height: 44px; border-radius: 10px; border: 1px solid #d8c8bb;
  background: #fff; color: var(--ink-soft); font-size: 14px; cursor: pointer;
}
.modal-btns .btn-main { flex: 1.4; height: 44px; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%) scale(.9);
  background: rgba(30,6,10,.9); color: #fff; padding: 12px 22px; border-radius: 24px;
  font-size: 14px; z-index: 40; opacity: 0; pointer-events: none; transition: .25s;
  max-width: 80%; text-align: center; border: 1px solid var(--gold);
}
.toast.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }
