html {
  background-color: #1b2a33;
}

:root {
  --paper: #f4efe6;
  --card: #fffcf6;
  --ink: #14171a;
  --teal: #0e7c86;
  --teal-deep: #0a5f68;
  --magenta: #c4235a;
  --yellow: #e8a400;
  --deep: #1b2a33;
  --deep-2: #24353f;
  --line: #ded5c4;
  --mute: #6f6a60;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--paper);
  background:
    radial-gradient(820px 560px at 82% 14%, rgba(14, 124, 134, 0.24), transparent 62%),
    radial-gradient(700px 520px at 14% 86%, rgba(196, 35, 90, 0.14), transparent 62%),
    radial-gradient(560px 420px at 92% 92%, rgba(232, 164, 0, 0.1), transparent 60%),
    var(--deep);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.6) 1px, transparent 1px);
  background-size: 64px 64px;
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 40px 64px;
  min-height: 100vh;
}

.pitch {
  position: relative;
  max-width: 520px;
}

.pitch__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(244, 239, 230, 0.48);
}

.pitch__tag i {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--magenta), var(--yellow));
}

.pitch__word {
  margin: 20px 0 0;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.pitch__word em {
  font-style: normal;
  color: var(--teal);
  font-family: var(--num);
  font-size: 0.56em;
  letter-spacing: 0.14em;
  margin-left: 10px;
  vertical-align: 0.16em;
}

.pitch__slogan {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.34em;
  color: rgba(244, 239, 230, 0.78);
}

.pitch__desc {
  margin: 22px 0 0;
  max-width: 440px;
  font-size: 13px;
  line-height: 2;
  color: rgba(244, 239, 230, 0.56);
}

.steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  max-width: 440px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}

.steps b {
  width: 26px;
  flex-shrink: 0;
  font-family: var(--num);
  font-size: 13px;
  color: var(--teal);
  padding-top: 2px;
}

.steps strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.steps span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.45);
}

.pitch__states {
  margin-top: 30px;
}

.pitch__states-label {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(244, 239, 230, 0.42);
}

.state-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.state-btn {
  appearance: none;
  border: 1px solid rgba(244, 239, 230, 0.22);
  background: rgba(244, 239, 230, 0.04);
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.state-btn:hover {
  color: var(--paper);
  border-color: rgba(244, 239, 230, 0.4);
}

.state-btn.is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #fffcf6;
}

.pitch__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(244, 239, 230, 0.46);
}

.pitch__foot .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(232, 164, 0, 0.16);
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.halo {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.22), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}

.hint {
  position: relative;
  max-width: 360px;
  text-align: center;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.38);
}

/* ---------- 手机壳 ---------- */

.phone {
  position: relative;
  width: 382px;
  height: 800px;
  padding: 10px;
  border-radius: 46px;
  background: #10161a;
  box-shadow:
    0 60px 120px -50px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(244, 239, 230, 0.16),
    inset 0 0 0 2px rgba(244, 239, 230, 0.05);
  display: flex;
  flex-direction: column;
}

.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  border-radius: 15px;
  background: #05080a;
  z-index: 6;
}

.phone__status {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 0;
  z-index: 7;
  pointer-events: none;
  font-family: var(--num);
  font-size: 12px;
  color: var(--ink);
  transition: color 0.24s ease;
}

.phone__status.is-light {
  color: rgba(244, 239, 230, 0.82);
}

.phone__icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.phone__icons svg {
  display: block;
}

.screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 36px;
  background: var(--paper);
  color: var(--ink);
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.phone__home {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(20, 23, 26, 0.22);
}

/* ---------- 屏幕内通用 ---------- */

.scr {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-size: 13px;
  line-height: 1.6;
}

.scr__body {
  flex: 1;
  padding: 16px 16px 26px;
}

.scr__body--top {
  padding-top: 54px;
}

.scr.fade {
  animation: fade 0.26s ease;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.topbar {
  padding: 52px 16px 16px;
  background: var(--deep);
  color: var(--paper);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
}

.topbar__slogan {
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 3px;
  color: rgba(244, 239, 230, 0.62);
}

.topbar__meta {
  margin-top: 12px;
  font-size: 10.5px;
  color: rgba(244, 239, 230, 0.5);
}

.cmyk {
  display: flex;
  gap: 3px;
  margin-top: 14px;
}

.cmyk i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
}

.cmyk .c { background: var(--teal); }
.cmyk .m { background: var(--magenta); }
.cmyk .y { background: var(--yellow); }
.cmyk .k { background: rgba(244, 239, 230, 0.72); }

.card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.card + .card {
  margin-top: 10px;
}

.card--ink {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--paper);
}

.sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 0 10px;
}

.sec__title {
  font-size: 14px;
  font-weight: 600;
}

.sec__more {
  font-size: 10.5px;
  color: var(--teal);
}

.muted {
  color: var(--mute);
}

.tiny {
  font-size: 10.5px;
}

.num {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
}

.row {
  display: flex;
  align-items: center;
}

.row--between {
  justify-content: space-between;
}

.row--top {
  align-items: flex-start;
}

.grow {
  flex: 1;
  min-width: 0;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 10.5px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill--ok { color: var(--teal); background: rgba(14, 124, 134, 0.1); border-color: rgba(14, 124, 134, 0.22); }
.pill--wait { color: #a87600; background: rgba(232, 164, 0, 0.14); border-color: rgba(232, 164, 0, 0.3); }
.pill--bad { color: var(--magenta); background: rgba(196, 35, 90, 0.1); border-color: rgba(196, 35, 90, 0.24); }
.pill--mute { color: var(--mute); background: rgba(20, 23, 26, 0.05); border-color: var(--line); }
.pill--deep { color: var(--paper); background: rgba(244, 239, 230, 0.12); border-color: rgba(244, 239, 230, 0.24); }

.btn {
  appearance: none;
  width: 100%;
  border: none;
  border-radius: 14px;
  background: var(--teal);
  color: #fffcf6;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 15px 18px;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:active {
  transform: scale(0.985);
  opacity: 0.92;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.btn--sm {
  width: auto;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 10px;
  font-weight: 500;
}

.amount {
  display: flex;
  align-items: baseline;
  font-family: var(--num);
}

.amount span:first-child {
  font-size: 14px;
  opacity: 0.7;
  margin-right: 3px;
}

.amount strong {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.5px;
}

.amount--lg strong {
  font-size: 44px;
}

.amount--sm strong {
  font-size: 20px;
}

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

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0;
}

.line__name {
  font-size: 12.5px;
}

.line__spec {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--mute);
}

.line__amount {
  font-family: var(--num);
  font-size: 12.5px;
  margin-left: 12px;
  flex-shrink: 0;
}

.line--minus .line__amount {
  color: var(--magenta);
}

.line--sum {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.stepper button {
  appearance: none;
  border: none;
  width: 34px;
  height: 32px;
  background: rgba(20, 23, 26, 0.04);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}

.stepper span {
  width: 46px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--num);
  font-size: 13px;
}

.switch {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: rgba(20, 23, 26, 0.12);
  padding: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.16s ease;
}

.switch i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card);
  transition: transform 0.16s ease;
}

.switch.is-on {
  background: var(--teal);
}

.switch.is-on i {
  transform: translateX(20px);
}

.bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(20, 23, 26, 0.08);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--teal);
}

.pickup {
  text-align: center;
  padding: 12px 0 0;
}

.pickup__label {
  font-size: 10.5px;
  letter-spacing: 4px;
  color: rgba(244, 239, 230, 0.62);
}

.pickup__code {
  margin-top: 6px;
  font-family: var(--num);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 8px;
  color: var(--paper);
}

.pickup__hint {
  margin-top: 8px;
  font-size: 10.5px;
  color: rgba(244, 239, 230, 0.55);
}

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

.store-item__name {
  font-size: 13.5px;
  font-weight: 600;
}

.store-item__meta {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--mute);
}

.arrow {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(20, 23, 26, 0.34);
  border-bottom: 1.5px solid rgba(20, 23, 26, 0.34);
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-top: 6px;
}

.quick {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.quick div {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.quick b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(14, 124, 134, 0.1);
  color: var(--teal);
  font-size: 11px;
}

.quick strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

.quick span {
  display: block;
  font-size: 9.5px;
  color: var(--mute);
}

.order-card__file {
  font-size: 13.5px;
  font-weight: 600;
}

.order-card__meta {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--mute);
}

.order-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.order-card__no {
  font-family: var(--num);
  font-size: 10.5px;
  color: var(--mute);
}

.order-card__amount {
  font-family: var(--num);
  font-size: 14px;
  text-align: right;
}

.order-card__code {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(14, 124, 134, 0.08);
  border: 1px solid rgba(14, 124, 134, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--teal-deep);
}

.order-card__code b {
  font-family: var(--num);
  font-size: 17px;
  letter-spacing: 4px;
}

.me-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.me-row:last-child {
  border-bottom: none;
}

.me-row__mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(14, 124, 134, 0.1);
  color: var(--teal);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.me-row__title {
  font-size: 12.5px;
  font-weight: 500;
}

.me-row__sub {
  font-size: 10px;
  color: var(--mute);
}

.ledger-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-row .num {
  font-size: 11.5px;
}

.ledger-row--in .num {
  color: var(--teal);
}

.mini-rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 0;
}

.mini-rows div + div {
  border-top: 1px solid var(--line);
}

.mini-rows span {
  font-size: 11px;
  color: var(--mute);
}

.mini-rows b {
  font-family: var(--num);
  font-size: 12.5px;
  font-weight: 600;
}

.note {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(232, 164, 0, 0.26);
  background: rgba(232, 164, 0, 0.1);
  font-size: 10.5px;
  line-height: 1.7;
  color: #7a5800;
}

.note--teal {
  border-color: rgba(14, 124, 134, 0.22);
  background: rgba(14, 124, 134, 0.08);
  color: var(--teal-deep);
}

.tabbar {
  display: flex;
  border-top: 1px solid var(--line);
  background: var(--card);
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}

.tab {
  appearance: none;
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 0 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--mute);
  cursor: pointer;
}

.tab.is-on {
  color: var(--teal);
}

.tab svg {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 12px);
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 23, 26, 0.92);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scr__foot {
  position: sticky;
  bottom: 0;
  padding: 10px 16px 18px;
  background: var(--card);
  border-top: 1px solid var(--line);
}

[data-act],
[data-group],
[data-route] {
  cursor: pointer;
}

button[data-act],
button[data-group],
button[data-route] {
  font-family: var(--sans);
}

.quick div {
  transition: border-color 0.16s ease;
}

.quick div:hover {
  border-color: var(--teal);
}

.me-row:active,
.store-item:active,
.quick div:active {
  opacity: 0.72;
}

@media (max-width: 980px) {
  .showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 40px 24px 56px;
    justify-items: center;
  }

  .pitch {
    max-width: 560px;
    text-align: center;
  }

  .pitch__tag,
  .pitch__foot {
    justify-content: center;
  }

  .steps,
  .pitch__desc {
    text-align: left;
  }

  .state-switch {
    justify-content: center;
  }
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
