/* ---------- screens ---------- */
.fade {
  animation: fadeIn 0.4s var(--ease) both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px calc(32px + env(safe-area-inset-bottom));
}

/* ---------- brand & copy ---------- */
.brand {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 6px;
  font-size: 15px;
  opacity: 0.9;
}

.tagline {
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  line-height: 1.55;
  margin-top: 34px;
  max-width: 340px;
}

.sub {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- form ---------- */
.stack-form {
  width: min(360px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.field {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 18px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field::placeholder {
  color: #555;
}
.field:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.field.otp {
  text-align: center;
  letter-spacing: 14px;
  font-size: 28px;
  font-weight: 700;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, opacity 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:not(:disabled):hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 700;
}
.btn-gold:not(:disabled):hover {
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.28);
}

/* ---------- status text ---------- */
.err {
  color: var(--red);
  font-size: 13px;
  text-align: center;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  margin-top: 20px;
}

.note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-top: 14px;
}

.resend {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}
.resend b {
  color: var(--gold);
  cursor: pointer;
  font-weight: 500;
}
.resend b[disabled] {
  color: var(--muted);
  cursor: default;
}

/* ---------- dashboard ---------- */
.dash {
  position: relative;
}
.dash-user {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top));
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}

.order-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  -webkit-tap-highlight-color: transparent;
}

.orbit {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
  transform: translateZ(0);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.orbit-img {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  filter: blur(5px) saturate(1.25);
  opacity: 0.85;
}
.orbit-ring {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
}
.orbit-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.14), transparent 46%);
}
.orbit-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 40px;
  font-weight: 700;
}

.order-entry:hover .orbit,
.order-entry:focus-visible .orbit {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 55, 0.1);
}

.entry-label {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}
.entry-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: -14px;
}

/* ---------- ordering shell ---------- */
.order {
  justify-content: flex-start;
  padding-top: calc(22px + env(safe-area-inset-top));
  padding-bottom: 110px;
}

.order-head {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
  transition: border-color 0.25s, color 0.25s;
}
.icon-btn:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold);
}

.steps {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.step-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.step.active .step-num {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.step.active .step-label {
  color: var(--text);
}
.step-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 2px 18px;
}

.order-body {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.soon {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ---------- step 3: payment method + discount code ---------- */
.pay-wrap {
  width: min(480px, 100%);
  margin: 0 auto;
}

.pay-title {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-row {
  --acc: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  text-align: right;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.pay-row.gold {
  --acc: var(--gold);
}
.pay-row.digital {
  --acc: var(--green);
}
.pay-row.cash {
  --acc: #9a9a9a;
}

.pay-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  flex: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.pay-label {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.25s;
}

.pay-badge {
  margin-inline-start: auto;
  font-size: 12.5px;
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--acc);
  border: 1px solid var(--acc);
  opacity: 0.8;
  white-space: nowrap;
  transition: opacity 0.25s;
}

.pay-row.sel {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}
.pay-row.sel .pay-dot {
  border-color: var(--acc);
  background: var(--acc);
  box-shadow: inset 0 0 0 3px var(--card);
}
.pay-row.sel .pay-label {
  color: var(--text);
}
.pay-row.sel .pay-badge {
  opacity: 1;
}

.code-title {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0 10px;
}

.code-zone {
  display: flex;
  gap: 10px;
}
.code-zone .field {
  font-size: 15px;
  padding: 12px 16px;
  flex: 1;
  direction: ltr;
  text-align: right;
}

.code-applied {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 11px 16px;
}

.code-chip {
  font-weight: 700;
  color: var(--gold);
  font-size: 14px;
  direction: ltr;
  letter-spacing: 1px;
}

.code-save {
  color: var(--green);
  font-size: 13px;
  margin-inline-start: auto;
}

.code-hint {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* ---------- bottom total bar ---------- */
.bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.bottombar-total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
}
.bottombar-total .total-label {
  font-size: 11px;
  color: var(--muted);
}
.bottombar-total .total-value {
  font-weight: 700;
  font-size: 17px;
}
.bottombar-total .total-strike {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.bottombar-total .total-savings {
  font-size: 11.5px;
  color: var(--green);
}

@media (max-width: 380px) {
  .tagline {
    font-size: 22px;
    margin-top: 26px;
  }
  .orbit {
    width: 172px;
    height: 172px;
  }
  .step-label {
    display: none;
  }
  .step-line {
    margin-bottom: 0;
  }
}

/* ---------- step 1: product cards (flip) ---------- */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 8px;
}

.flip-scene {
  perspective: 1400px;
  aspect-ratio: 5 / 6.2;
  max-height: 640px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}

/* front */
.pcard {
  display: flex;
  flex-direction: column;
}

.pcard-media {
  position: relative;
  flex: 1.15;
  min-height: 0;
  background: #111;
}

.pcard-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qty-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.pcard-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.pcard-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.pcard-name {
  font-size: 16px;
  font-weight: 700;
}

.pcard-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.pcard-blurb {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stepper {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pcard-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-2);
  font-size: 18px;
  line-height: 1;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}

.stepper-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.stepper-val {
  min-width: 26px;
  text-align: center;
  font-size: 17px;
  color: var(--gold);
}

/* back */
.pcard-back {
  transform: rotateY(180deg);
  background: var(--card-2);
}

.back-blur {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  opacity: 0.5;
}

.pcard-back::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.82));
}

.back-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.back-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.back-name {
  font-size: 17px;
}

.back-meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.icon-btn {
  flex: none;
}

.opt-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.chip.sel {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.notes {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}

.notes:focus {
  border-color: var(--gold);
}

.back-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.back-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.buy-btn {
  flex: 1;
  max-width: 160px;
}

.flash {
  animation: cardFlash 0.6s var(--ease);
}

@keyframes cardFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(212, 175, 55, 0);
  }
}

/* ---------- step 2: side items (compact cards) ---------- */
.sides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 8px;
}

.flip-scene.compact {
  aspect-ratio: 5 / 6.8;
  max-height: 560px;
}

.flip-scene.compact .pcard-blurb {
  display: none;
}

.flip-scene.compact .pcard-body {
  padding: 10px 12px 12px;
}

.flip-scene.compact .pcard-actions {
  padding-top: 8px;
  gap: 8px;
}

.flip-scene.compact .btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

.flip-scene.compact .pcard-name {
  font-size: 13.5px;
}

.flip-scene.compact .pcard-price {
  font-size: 12.5px;
}

.flip-scene.compact .stepper {
  padding-top: 8px;
  gap: 10px;
}

.flip-scene.compact .stepper-btn {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.flip-scene.compact .stepper-val {
  font-size: 15px;
  min-width: 20px;
}

.flip-scene.compact .back-content {
  padding: 12px;
  gap: 8px;
}

.flip-scene.compact .back-name {
  font-size: 14px;
}

.flip-scene.compact .opt-label {
  margin-bottom: 4px;
}

.step-back-link {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.step-back-link:hover {
  color: var(--gold);
}

.step.done .step-num {
  border-color: var(--gold-soft);
  color: var(--gold);
}

.step.done .step-label {
  color: var(--muted);
}

@media (max-width: 380px) {
  .sides-grid {
    gap: 10px;
  }
}

/* ---------- step 4: delivery & schedule ---------- */
.addr-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 11px 16px;
  margin-top: 14px;
}
.addr-chip.hidden {
  display: none;
}
.addr-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  white-space: nowrap;
}
.addr-text {
  flex: 1;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.addr-edit {
  width: 30px;
  height: 30px;
  font-size: 14px;
  flex: none;
}

.time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.time-row .field {
  width: 92px;
  flex: none;
  padding: 11px 14px;
  font-size: 17px;
  text-align: center;
}
.time-colon {
  color: var(--muted);
  font-weight: 700;
}
.time-hint {
  font-size: 12px;
  color: #666;
}

/* delivery address popup */
.popover {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.popover[hidden] {
  display: none;
}
.popover-card {
  position: relative;
  width: min(400px, 100%);
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s var(--ease);
}
.pop-close {
  position: absolute;
  top: 12px;
  left: 12px;
}
.pop-title {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 2px;
}
.spot-label {
  font-size: 12px;
  color: var(--muted);
}
.pop-confirm {
  margin-top: 4px;
}

/* final confirm placeholder (M9 payment page lands here) */
.confirm-panel {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  margin-top: 20px;
}
.confirm-title {
  font-size: 19px;
  font-weight: 700;
}
.confirm-text {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}
.maint-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  margin-top: 20px;
}
.maint-title {
  font-size: 19px;
  font-weight: 700;
  color: #fafafa;
}
.maint-note {
  color: var(--muted);
  font-size: 13.5px;
  margin: 8px 0 18px;
}
.confirm-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.confirm-total .total-label {
  color: var(--muted);
  font-size: 13px;
}
.confirm-total .total-value {
  color: var(--gold);
  font-weight: 700;
  font-size: 24px;
}
.confirm-notes {
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}

/* ---------- M9: final confirm + payment ---------- */
.sum-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}
.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
.sum-name {
  color: var(--muted);
  min-width: 0;
}
.sum-name b {
  color: var(--text);
  font-weight: 400;
}
.sum-val {
  color: var(--text);
  white-space: nowrap;
  font-weight: 500;
}
.sum-row.neg .sum-name,
.sum-row.neg .sum-val {
  color: var(--green);
}
.sum-divider {
  height: 1px;
  background: var(--line);
  width: 100%;
  margin: 10px 0 12px;
}
.sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.sum-total .total-value {
  color: var(--gold);
  font-weight: 700;
  font-size: 24px;
}

.pay-method-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 18px;
}
.pay-method-title {
  font-weight: 700;
  font-size: 14px;
}
.pay-method-hint {
  font-size: 12px;
  color: var(--muted);
}

/* gateway attach simulation */
.attach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 0 6px;
}
.attach-spin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
  flex: none;
}
.attach.ok .attach-spin {
  border-color: var(--green);
  border-top-color: var(--green);
  animation: none;
}
.attach-msg {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.attach.ok .attach-msg {
  color: var(--green);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- M9: tracking ---------- */
.track {
  justify-content: flex-start;
  padding-top: calc(22px + env(safe-area-inset-top));
}
.track-no {
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}
.track-panel {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  margin-top: 12px;
}

.tk-steps {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}
.tk-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  flex: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.tk-label {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  white-space: normal;
}
.tk-step.active .tk-dot {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.12);
}
.tk-step.active .tk-label {
  color: var(--gold);
}
.tk-step.done .tk-dot {
  border-color: var(--gold);
  background: var(--gold);
}

.track-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.track-total .total-value {
  color: var(--gold);
  font-weight: 700;
  font-size: 26px;
}
.track-eta {
  font-size: 13px;
  color: var(--green);
}
.track-note {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.track-empty {
  color: var(--muted);
  font-size: 14px;
}