:root {
  color-scheme: light;
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-2: #eef2ee;
  --ink: #18211f;
  --muted: #66716d;
  --line: #d8dfda;
  --accent: #0f766e;
  --accent-2: #a95518;
  --accent-3: #315c96;
  --shadow: 0 18px 45px rgba(27, 39, 34, 0.1);
}

/* Author display rules must not override the semantic hidden attribute. */
[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.telegram-group-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(100deg, #0d7a90, #315c96 52%, #7a429b);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(27, 39, 34, 0.1);
}

.telegram-group-bar:hover {
  background: linear-gradient(100deg, #0b889f, #3e70b1 52%, #8d4eb1);
}

.telegram-group-bar-title {
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 900;
}

/* 紧凑文案变体默认隐藏，仅手机端启用（见 ≤540px 媒体查询）。 */
.telegram-group-bar-short,
.official-date-short {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 2vw, 32px) 6px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.eyebrow,
.product-kicker,
.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.topbar-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar-meta strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.topbar .eyebrow {
  font-size: 0.68rem;
}

.brand {
  flex: 1 1 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

/* 顶栏标题在任何视口都保持单行：CJK 会逐字换行，窄容器（尤其手机纵向）
   下若不锁定会散成多行。nowrap 根治，配合超小屏字号回落防溢出。 */
.topbar h1 {
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.brand:hover h1 {
  color: var(--accent);
}

.main-tabs {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.main-tab {
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
}

.main-tab:hover {
  color: var(--ink);
}

.main-tab.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 14px rgba(27, 39, 34, 0.08);
}

.shell {
  width: min(1100px, calc(100% - 160px));
  margin: 8px auto 24px;
}

.main-view {
  display: none;
}

.main-view.is-active {
  display: block;
}

.view-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(112deg, rgba(15, 118, 110, 0.08), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
}

.view-intro h2 {
  margin-top: 4px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.view-intro p:not(.section-kicker) {
  max-width: 610px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.integration-pill {
  flex: none;
  padding: 6px 9px;
  border: 1px solid #d3ddd7;
  border-radius: 999px;
  background: #f2f6f3;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.integration-pill.is-pending {
  border-color: #e8d6bf;
  background: #fff7ec;
  color: var(--accent-2);
}

.store-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 178px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.store-notice-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #eaf7f4;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 850;
}

.store-notice h3,
.cdk-card h3 {
  font-size: 1.16rem;
  line-height: 1.25;
}

.store-notice p {
  max-width: 620px;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.primary-action {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
}

.primary-action:hover {
  background: #29413a;
}

.shop-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.shop-topline h2 {
  margin-top: 4px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.shop-topline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiet-action,
.table-action,
.icon-action {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.quiet-action:hover,
.table-action:hover,
.icon-action:hover {
  border-color: #95aaa0;
  color: var(--accent);
}

.shop-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 5px;
  margin-bottom: 14px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}

.shop-tab {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
}

.shop-tab.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 14px rgba(27, 39, 34, 0.08);
}

.shop-panel {
  display: none;
}

.shop-panel.is-active {
  display: block;
}

.shop-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    radial-gradient(circle at 84% 20%, rgba(169, 85, 24, 0.17), transparent 25%),
    linear-gradient(118deg, #123c36 0%, #17584f 56%, #23776b 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.shop-hero .section-kicker {
  color: #b8d7d1;
}

.shop-hero h3 {
  margin-top: 4px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.shop-hero p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 10px;
  color: #d8ece7;
  line-height: 1.55;
}

.shop-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 7px;
  max-width: 260px;
}

.shop-hero-points span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.store-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}

.store-category-tab {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
}

.store-category-tab.is-active,
.store-category-tab:hover {
  border-color: #9fc9c0;
  background: #eaf7f4;
  color: var(--accent);
}

.storefront-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.4fr);
  gap: 16px;
  align-items: start;
}

.store-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-product-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 9px 22px rgba(27, 39, 34, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.store-product-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 16px 34px rgba(27, 39, 34, 0.12);
}

.store-product-card.is-hidden {
  display: none;
}

/* 竖向高色块封面：大号品牌字母 + 套餐角标 */
.product-cover {
  position: relative;
  display: flex;
  min-height: 172px;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  padding: 14px;
  border-radius: 10px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cover-a, #0e766d), var(--cover-b, #153e39));
}

/* 封面右上角柔光装饰，增加层次 */
.product-cover::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(4px);
}

.product-cover .cover-badge {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.product-cover .cover-label {
  position: relative;
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-product-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-stock,
.admin-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf7f0;
  color: #176942;
  font-size: 0.68rem;
  font-weight: 850;
}

.product-stock.is-out {
  background: #fdecec;
  color: #b42318;
}

.store-product-body h4 {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.store-product-body > p {
  min-height: 40px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.product-price strong {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.product-price span {
  color: var(--muted);
  font-size: 0.74rem;
}

.product-buy {
  width: 100%;
  margin-top: 11px;
}

.product-buy:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-card {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.checkout-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}

.checkout-head h3 {
  margin-top: 3px;
  font-size: 1.05rem;
}

.checkout-status {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.checkout-product {
  display: grid;
  gap: 5px;
  margin: 14px 17px 0;
  padding: 12px;
  border: 1px dashed #c8d3cc;
  border-radius: 8px;
  background: #fbfcfb;
}

.checkout-product strong {
  font-size: 0.86rem;
}

.checkout-product span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.checkout-form {
  display: grid;
  gap: 9px;
  padding: 17px;
}

.checkout-form > label,
.payment-methods legend {
  padding: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.checkout-form > input {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #c4d0c9;
  border-radius: 7px;
  outline: none;
  background: #fbfcfb;
  color: var(--ink);
  font-size: 0.84rem;
}

.checkout-form > input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.payment-methods {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfb;
  cursor: pointer;
}

.payment-method.is-active {
  border-color: #91c9bc;
  background: #f0faf7;
}

.payment-method input {
  accent-color: var(--accent);
}

.payment-method span {
  display: grid;
  gap: 2px;
}

.payment-method strong {
  font-size: 0.82rem;
}

.payment-method small {
  color: var(--muted);
  font-size: 0.7rem;
}

.checkout-submit {
  width: 100%;
  margin-top: 6px;
}

.checkout-feedback {
  min-height: 18px;
  margin: 0;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.admin-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-sidebar {
  display: flex;
  min-height: 580px;
  flex-direction: column;
  gap: 25px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f7f9f7;
}

.admin-identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-identity > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
}

.admin-identity div {
  display: grid;
  gap: 2px;
}

.admin-identity strong {
  font-size: 0.82rem;
}

.admin-identity small,
.admin-sidebar > p {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-nav button.is-active {
  background: #e4f2ee;
  color: var(--accent);
}

.admin-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.admin-sidebar > p {
  margin-top: auto;
}

.admin-content {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-page-head h3 {
  margin-top: 3px;
  font-size: 1.35rem;
}

.admin-page-head p:not(.section-kicker) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.admin-stats article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  background: #fbfcfb;
}

.admin-stats span,
.admin-stats small {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-stats strong {
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

.admin-product-form {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #b9d8d0;
  border-radius: 9px;
  background: #f6fcfa;
}

.admin-form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.admin-form-head h4 {
  font-size: 0.95rem;
}

.admin-form-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.icon-action {
  width: 30px;
  min-height: 30px;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.admin-fields label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-fields input,
.admin-fields select,
.admin-fields textarea {
  width: 100%;
  border: 1px solid #c4d0c9;
  border-radius: 6px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
}

.admin-fields input,
.admin-fields select {
  height: 38px;
  padding: 0 9px;
}

.admin-fields textarea {
  padding: 9px;
  resize: vertical;
}

.admin-fields input:focus,
.admin-fields select:focus,
.admin-fields textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.admin-field-full {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.admin-form-actions span {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
}

.admin-product-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.admin-product-table th,
.admin-product-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e8ece9;
  color: var(--muted);
  text-align: left;
}

.admin-product-table th {
  background: #f7f9f7;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-product-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-product-table td strong,
.admin-product-table td small {
  display: block;
}

.admin-product-table td strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.admin-product-table td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.cdk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
}

.cdk-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cdk-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 18px;
  border-bottom: 1px solid var(--line);
}

.cdk-card-head h3 {
  margin-top: 4px;
}

.step-count {
  flex: none;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent-3);
  font-size: 0.76rem;
  font-weight: 850;
}

.cdk-form {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.cdk-form > label {
  font-size: 0.86rem;
  font-weight: 850;
}

.cdk-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #b9c8c0;
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--accent);
}

.cdk-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.cdk-input-wrap span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 850;
}

.cdk-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.cdk-input-wrap input::placeholder {
  color: #89938e;
  font-family: inherit;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.field-help,
.cdk-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cdk-feedback {
  min-height: 20px;
  color: var(--accent-2);
  font-weight: 700;
}

.cdk-submit {
  width: 100%;
  margin-top: 6px;
}

.cdk-side-card {
  padding: 20px;
}

.cdk-side-card h3 {
  margin-top: 4px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.process-list li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eaf7f4;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
}

.process-list strong {
  font-size: 0.88rem;
}

.process-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.cdk-connection-note {
  display: flex;
  align-items: start;
  gap: 11px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #ecdcc8;
  border-radius: 9px;
  background: #fffaf3;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: none;
  margin-top: 6px;
  border-radius: 50%;
  background: #d27b2f;
}

.cdk-connection-note strong {
  font-size: 0.87rem;
}

.cdk-connection-note p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.product-tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

.product-tab:hover {
  border-color: #aab8b2;
}

.product-tab.is-active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.product-panel {
  display: none;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-panel.is-active {
  display: block;
}

.product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.product-heading h2 {
  margin-top: 4px;
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1;
}

.product-heading > p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.55;
  text-align: right;
}

.price-mode-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.price-mode-tab {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.price-mode-tab:hover {
  color: var(--ink);
}

.price-mode-tab.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(27, 39, 34, 0.08);
}

.price-mode-panels {
  min-width: 0;
}

.price-mode-panel {
  display: none;
}

.price-mode-panel.is-active {
  display: block;
}

/* 套餐标签页：官方价面板内各套餐（Plus/Go/Pro…）切换 */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.plan-tab {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.plan-tab:hover {
  color: var(--ink);
}

.plan-tab.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(27, 39, 34, 0.08);
}

.plan-tab-panel {
  display: none;
}

.plan-tab-panel.is-active {
  display: block;
}

.price-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.section-head,
.source-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.section-head h3,
.source-board-head h3 {
  margin-top: 3px;
  font-size: 1rem;
}

.source-link {
  flex: none;
  color: var(--accent-3);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.source-link.is-muted {
  color: var(--muted);
}

.plan-list {
  display: grid;
  gap: 6px;
  padding: 6px;
}

/* 报价列表与官方价格表不再使用独立的内层滚动框：之前用 max-height +
   overflow-y 会在整页滚动条之外再生一条纵向滚动条（页面里套滚动框），
   手机上尤其易误触滚错层。改为让这些行自然接在页面里，全站只保留浏览器
   整页一条纵向滚动条；代价是上方标签/筛选不再钉住，随页面一起滚动。 */
.seller-offer-scroll,
.region-table-scroll {
  overscroll-behavior-y: contain;
}

/* 采集中断时的横幅：报价过期后会被后端隐藏，若不明说，空列表会被误读成
   "该套餐没人卖"。用警示色但不用纯红，避免与"加载失败"混淆。 */
.seller-stale-notice {
  margin: 0 6px 6px;
  padding: 8px 10px;
  border: 1px solid #e7cf9a;
  border-left: 3px solid #b5820f;
  border-radius: 8px;
  background: #fff8e6;
  color: #7a5300;
  font-size: 0.82rem;
  line-height: 1.45;
}

.seller-stale-notice[hidden] {
  display: none;
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  background: var(--surface);
}

.plan-main {
  min-width: 0;
}

.plan-main h4 {
  font-size: 0.9rem;
  line-height: 1.2;
}

.plan-main p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.seller-source-link {
  color: var(--accent-3);
  font-weight: 700;
  text-decoration: none;
}

.seller-source-link:hover {
  text-decoration: underline;
}

.seller-plan-tab-panel {
  display: none;
}

.seller-plan-tab-panel.is-active {
  display: grid;
}

.seller-price-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.seller-price-filter-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.seller-price-preset,
.seller-price-apply {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.seller-price-preset:hover,
.seller-price-apply:hover,
.seller-price-preset.is-active {
  border-color: var(--accent-3);
  color: var(--accent-3);
}

.seller-price-preset.is-active {
  background: #eff6f5;
}

.seller-price-custom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.seller-price-custom input {
  width: 74px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.seller-price-feedback {
  color: #bd3939;
  font-size: 0.76rem;
  font-weight: 700;
}

.seller-offer.is-filtered-out {
  display: none;
}

.seller-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.seller-page-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.seller-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.seller-offer.is-out-of-stock {
  border-color: #f0d1d1;
  background: #fffafa;
}

.is-out-of-stock-title {
  color: #9a3d3d;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.stock-status {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.45;
}

.stock-status-out_of_stock {
  color: #bd3030;
  background: #ffe9e9;
}

.stock-status-low {
  color: #a25b12;
  background: #fff1df;
}

.stock-status-normal {
  color: #5c7420;
  background: #eff5da;
}

.stock-status-ample {
  color: #276c62;
  background: #e4f4f0;
}

.stock-status-unknown {
  color: var(--muted);
  background: #eef0ee;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.plan-price {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.plan-price strong {
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.72rem;
}

.plan-status {
  grid-column: 1 / -1;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.region-price-list {
  display: grid;
  gap: 6px;
  padding: 6px;
}

.region-plan {
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.region-plan-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #e3e8e4;
}

.region-plan-head h4 {
  font-size: 1rem;
  line-height: 1.2;
}

.region-plan-head p,
.region-plan-head span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.region-plan-head > span {
  flex: none;
  margin-top: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--accent-3);
  font-weight: 800;
}

.region-table {
  display: grid;
}

.region-row {
  display: grid;
  grid-template-columns: 48px minmax(130px, 0.85fr) minmax(120px, 0.75fr) minmax(130px, 0.85fr) minmax(96px, 0.55fr) minmax(130px, 0.85fr) minmax(96px, 0.45fr);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-top: 1px solid #edf1ee;
  color: var(--muted);
  font-size: 0.88rem;
}

.region-row:first-child {
  border-top: 0;
}

.region-row-head {
  min-height: 38px;
  background: #f7f9f7;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.region-row.is-best {
  border-color: #a9edc0;
  background: #ecfbf0;
  color: #116331;
}

.region-row.is-pending {
  background: #f8f7f3;
  color: #87908b;
}

.region-row.is-pending strong,
.region-row.is-pending a {
  color: #7c8581;
}

.region-row strong {
  color: var(--accent);
  font-size: 1rem;
}

.region-row a {
  color: var(--accent-3);
  font-weight: 800;
  text-decoration: none;
}

.region-row a:hover {
  text-decoration: underline;
}

.empty-state {
  display: grid;
  gap: 6px;
  min-height: 180px;
  place-content: center;
  padding: 24px;
  border: 1px dashed #c4cec8;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  background: var(--surface-2);
}

.empty-state.is-compact {
  min-height: 110px;
  margin: 12px;
}

.empty-state strong {
  color: var(--ink);
}

.source-board {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.source-row {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  background: #fbfcfb;
}

.source-row span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.source-row strong {
  color: var(--accent-2);
  font-size: 0.72rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .product-heading {
    align-items: start;
    flex-direction: column;
  }

  /* 手机/小屏顶栏：把标题、Telegram 入口、官方价日期压到第 1 行，
     价格比价标签单独占第 2 行（用户要求的 1+3+4 合并成一行）。
     标题列可收缩(min-width:0)，Telegram 与日期切到紧凑文案。 */
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    padding: 8px 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    flex: none;
    width: auto;
    min-width: 0;
  }

  .topbar-right {
    display: contents;
  }

  .telegram-group-bar {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .telegram-group-bar-full {
    display: none;
  }

  .telegram-group-bar-short {
    display: inline;
  }

  .topbar-meta {
    grid-column: 3;
    grid-row: 1;
    grid-auto-flow: column;
    justify-content: end;
    align-items: baseline;
    gap: 4px;
  }

  .topbar-meta-label,
  .official-date-full {
    display: none;
  }

  .official-date-short {
    display: inline;
  }

  .main-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    display: inline-flex;
    width: auto;
    justify-self: start;
  }

  .main-tab {
    padding: 0 12px;
  }

  .product-heading > p {
    text-align: left;
  }

  .product-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-mode-tabs {
    display: grid;
    width: 100%;
  }

  /* 套餐标签在手机端压成单行横向滚动（用户要求一行）：8 个标签一行放不下
     又要保持每个标签文字不换行，故用可横滑的 flex 行，隐藏滚动条。
     价格筛选仍压成紧凑网格。把纵向空间让给下方价格列表。 */
  .seller-plan-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 4px;
    margin-bottom: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .seller-plan-tabs::-webkit-scrollbar {
    display: none;
  }

  .seller-plan-tabs .plan-tab {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.74rem;
    white-space: nowrap;
    text-align: center;
  }

  .seller-price-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    padding: 8px 10px;
  }

  .seller-price-filter-label {
    display: none;
  }

  .seller-price-preset,
  .seller-price-apply {
    min-height: 30px;
    padding: 0 6px;
    font-size: 0.74rem;
  }

  .seller-price-custom {
    grid-column: 1 / span 4;
    flex: 1 1 auto;
  }

  .seller-price-custom input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 30px;
  }

  .seller-price-apply {
    grid-column: 5 / span 1;
  }

  .seller-price-feedback {
    grid-column: 1 / -1;
  }

  .source-list {
    grid-template-columns: 1fr 1fr;
  }

  .view-intro,
  .store-notice {
    align-items: start;
    flex-direction: column;
  }

  .store-notice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .store-notice .primary-action {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .cdk-layout {
    grid-template-columns: 1fr;
  }

  .shop-topline,
  .shop-hero,
  .admin-page-head {
    align-items: start;
    flex-direction: column;
  }

  .shop-hero-points {
    justify-content: start;
    max-width: none;
  }

  .storefront-layout {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: static;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: 0;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-sidebar > p {
    margin-top: 0;
  }
}

@media (max-width: 540px) {
  .telegram-group-bar {
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .shell {
    width: min(100% - 20px, 1180px);
    margin-top: 8px;
  }

  .product-tabs,
  .source-list {
    grid-template-columns: 1fr;
  }

  /* ≤540px 沿用 ≤860px 的单行顶栏布局（标题 + Telegram + 日期同排，
     价格比价标签占第 2 行），此处只做超小屏的字号与间距回落。 */
  .topbar {
    column-gap: 6px;
  }

  .topbar h1 {
    font-size: clamp(1.05rem, 5.2vw, 1.2rem);
  }

  /* 装饰性英文副标题在小屏无信息价值，隐藏以省高度。 */
  .topbar .eyebrow {
    display: none;
  }

  .topbar-meta {
    font-size: 0.7rem;
  }

  .topbar-meta strong {
    font-size: 0.74rem;
  }

  .main-tab {
    min-height: 32px;
    padding: 0 16px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .telegram-group-bar {
    min-height: 30px;
    padding: 4px 12px;
    font-size: 0.72rem;
  }

  .view-intro {
    padding: 20px;
  }

  .store-notice {
    grid-template-columns: 1fr;
  }

  .store-notice .primary-action {
    grid-column: auto;
    width: 100%;
  }

  .shop-topline-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-topline-actions > * {
    width: 100%;
    text-align: center;
  }

  .shop-tabs {
    display: grid;
    width: 100%;
  }

  .shop-hero {
    padding: 22px;
  }

  .store-catalog {
    grid-template-columns: 1fr;
  }

  .product-cover {
    min-height: 150px;
  }

  .admin-content {
    padding: 16px;
  }

  .admin-stats,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .admin-field-full {
    grid-column: auto;
  }

  .admin-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-form-actions .primary-action {
    width: 100%;
  }

  .plan-row {
    grid-template-columns: 1fr;
  }

  .plan-price {
    justify-items: start;
  }

  /* 套餐标签（质保/Plus/Pro 5x… 共 8 个）在手机上原本换成 3~4 行。
     改为 4 列固定网格：8 个标签正好 2 行、全部可见，无需横滑；
     字号与高度压小，把纵向空间让给下方价格列表。 */
  .seller-plan-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin-bottom: 6px;
  }

  .seller-plan-tabs .plan-tab {
    min-height: 26px;
    padding: 0 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  /* 价格筛选压成 2 行：隐藏“价格”文字标签，5 个区间预设按钮均分占第 1 行，
     自定义输入区 + 筛选按钮占第 2 行；整体高度与字号压小。 */
  .seller-price-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 5px;
    padding: 8px 10px;
  }

  .seller-price-filter-label {
    display: none;
  }

  .seller-price-preset,
  .seller-price-apply {
    min-height: 28px;
    padding: 0 4px;
    font-size: 0.72rem;
  }

  .seller-price-custom {
    grid-column: 1 / span 4;
    flex: 1 1 auto;
  }

  .seller-price-custom input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 28px;
  }

  .seller-price-apply {
    grid-column: 5 / span 1;
  }

  .seller-price-feedback {
    grid-column: 1 / -1;
  }

  .region-plan-head {
    flex-direction: column;
  }

  .region-row,
  .region-row-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .region-row-head {
    display: none;
  }
}

/* ─────────── 商店：真实后端新增元素 ─────────── */
.store-empty {
  padding: 24px 8px;
  color: var(--muted, #94a3b8);
  text-align: center;
}

.admin-inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row !important;
}
.admin-inline-check input {
  width: auto;
}

/* 快速上架预设 */
.admin-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.admin-presets-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}
.admin-presets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-preset-chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink, inherit);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.admin-preset-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

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

/* 管理员登录表单 */
.admin-login-form {
  max-width: 360px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.admin-login-form h3 {
  margin: 0 0 4px;
}
.admin-login-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}
.admin-login-form input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.4);
  color: inherit;
}

/* 管理员分区切换 */
.admin-section {
  display: none;
}
.admin-section.is-active {
  display: block;
}

/* 下单结果 / 付款区 */
.order-result {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.order-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.order-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
}
.order-detail {
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.order-detail > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.order-detail dt {
  color: var(--muted, #94a3b8);
  font-size: 0.85rem;
}
.order-detail dd {
  margin: 0;
  text-align: right;
  word-break: break-all;
}
.order-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
}
.order-hint {
  font-size: 0.85rem;
  color: var(--muted, #94a3b8);
  margin: 0 0 12px;
}
.order-delivered textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.4);
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

