:root,
[data-theme="dark"] {
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --color-bg: #050816;
  --color-bg-gradient:
    radial-gradient(960px 620px at 12% -8%, rgba(135, 175, 255, 0.18), transparent 55%),
    radial-gradient(760px 520px at 92% 4%, rgba(110, 242, 255, 0.11), transparent 56%),
    radial-gradient(660px 440px at 50% 110%, rgba(108, 92, 255, 0.12), transparent 58%),
    linear-gradient(180deg, #12162a 0%, #090d1b 48%, #050816 100%);
  --color-surface: rgba(14, 20, 38, 0.68);
  --color-surface-2: rgba(15, 18, 31, 0.96);
  --color-border: rgba(173, 201, 255, 0.16);
  --color-text: #eef3ff;
  --color-text-muted: #a6b3d1;
  --color-text-faint: #73809d;
  --color-accent: #8ec5ff;
  --color-accent-hover: #d6ebff;
  --color-card-shadow: 0 26px 70px rgba(3, 6, 18, 0.48);
  --color-panel-shadow: 0 18px 48px rgba(2, 6, 18, 0.52);
  --color-glow: 0 0 0 1px rgba(170, 201, 255, 0.14);
  --btn-gradient: linear-gradient(135deg, #95bfff 0%, #4b6bff 48%, #111c4b 100%);
  --btn-gradient-hover: linear-gradient(135deg, #b4d4ff 0%, #5b79ff 48%, #1a2b6e 100%);
  --color-error: #ff6c7b;
  --color-success: #59f2b2;
}

[data-theme="light"] {
  --color-bg: #eef3ff;
  --color-bg-gradient:
    radial-gradient(900px 520px at 8% -12%, rgba(70, 118, 255, 0.16), transparent 55%),
    radial-gradient(760px 460px at 93% -2%, rgba(66, 216, 255, 0.12), transparent 54%),
    linear-gradient(180deg, #fbfcff 0%, #eef3ff 68%, #e4ebfb 100%);
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-surface-2: rgba(248, 250, 255, 0.94);
  --color-border: rgba(93, 122, 191, 0.2);
  --color-text: #11182c;
  --color-text-muted: #556480;
  --color-text-faint: #7d8dad;
  --color-accent: #2d5fff;
  --color-accent-hover: #153fca;
  --color-card-shadow: 0 22px 54px rgba(54, 79, 138, 0.14);
  --color-panel-shadow: 0 14px 34px rgba(49, 78, 148, 0.14);
  --color-glow: 0 0 0 1px rgba(78, 112, 196, 0.12);
  --btn-gradient: linear-gradient(135deg, #1d68ff 0%, #4f87ff 100%);
  --btn-gradient-hover: linear-gradient(135deg, #3a79ff 0%, #6697ff 100%);
  --color-error: #d71d38;
  --color-success: #008f63;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-gradient), var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
}

body::selection {
  background: color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-text);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.site-noise,
.site-orb {
  position: fixed;
  pointer-events: none;
}

.site-noise {
  inset: 0;
  z-index: -3;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 18px 18px, 18px 18px;
  mask-image: radial-gradient(circle at center, black, transparent 92%);
}

.site-orb {
  border-radius: 999px;
  filter: blur(28px);
  z-index: -2;
  opacity: 0.5;
}

.site-orb-one {
  width: 20rem;
  height: 20rem;
  top: 5rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(143, 194, 255, 0.32) 0%, rgba(143, 194, 255, 0) 72%);
}

.site-orb-two {
  width: 26rem;
  height: 26rem;
  top: 16rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(92, 118, 255, 0.28) 0%, rgba(92, 118, 255, 0) 72%);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 92%, #fff 8%) 0%, color-mix(in srgb, var(--color-surface) 84%, transparent) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--color-panel-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: inherit;
  text-transform: uppercase;
}

.brand-logo {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(142, 197, 255, 0.35));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.site-nav-left {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 1;
}

.site-nav-right {
  margin-left: 0;
}

.mobile-nav-only {
  display: none !important;
}

.mobile-auth-only {
  display: none !important;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.site-nav a,
.theme-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  font: inherit;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-header .site-nav a,
.site-header .theme-btn,
.site-header .lang-switch button,
.site-header .currency-trigger {
  text-transform: uppercase;
}

.theme-btn:hover,
.site-nav a:hover {
  color: var(--color-accent-hover);
  background: color-mix(in srgb, var(--color-surface-2) 88%, transparent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface-2);
  cursor: pointer;
}

.nav-toggle::before {
  content: "☰";
  color: var(--color-text);
  font-size: 1.25rem;
}

@media (max-width: 767px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-main {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .header-left {
    flex: 1;
  }
  .site-nav-left {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav-right {
    margin-left: 0;
  }
  .mobile-nav-only {
    display: inline-flex !important;
  }
  .mobile-auth-only {
    display: inline-flex !important;
  }
  .header-controls {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
    order: 2;
  }
  .nav-toggle {
    order: 3;
  }
  .site-header .account-menu {
    display: none !important;
  }
}

.site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 5rem;
}

.site-main > * {
  margin-left: auto;
  margin-right: auto;
}

.site-main .card {
  text-align: left;
}

.site-footer {
  padding: 1.4rem 1rem 1.6rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: clamp(12px, 2vw, 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--color-surface) 72%, transparent);
  backdrop-filter: blur(14px) saturate(130%);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  margin-right: 0.55rem;
}

.lang-switch button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: none;
}

.lang-switch button.is-active {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: inherit;
}

.lang-sep {
  opacity: 0.45;
  user-select: none;
}

.currency-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
  z-index: 32;
}

.currency-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -0.75rem;
  width: 11rem;
  height: 1.1rem;
}

.currency-trigger {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.72rem;
  font: inherit;
  color: inherit;
  background: color-mix(in srgb, var(--color-surface-2) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: 999px;
  box-shadow: var(--color-glow);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.currency-trigger:hover {
  color: var(--color-accent-hover);
  border-color: color-mix(in srgb, var(--color-accent) 36%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-2) 96%, transparent);
}

.currency-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: -0.2rem;
  left: auto;
  min-width: 10.4rem;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 92%, #fff 8%) 0%, var(--color-surface) 100%);
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, var(--color-accent) 12%);
  border-radius: 14px;
  box-shadow: var(--color-panel-shadow), 0 16px 40px rgba(8, 13, 26, 0.38);
  padding: 0.4rem;
  z-index: 40;
  transform-origin: top right;
  backdrop-filter: blur(16px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.currency-dropdown form {
  margin: 0;
}

.currency-dropdown button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.7rem;
  color: var(--color-text);
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.currency-dropdown button:hover,
.currency-dropdown button.is-active {
  color: var(--color-accent-hover);
  border-color: color-mix(in srgb, var(--color-accent) 34%, transparent);
  background: color-mix(in srgb, var(--color-surface-2) 92%, transparent);
}

.currency-menu:hover .currency-dropdown,
.currency-menu:focus-within .currency-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  z-index: 42;
}

.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
  justify-content: flex-end;
  z-index: 31;
}

.account-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -0.75rem;
  width: 12.5rem;
  height: 1.1rem;
}

.account-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text);
  padding: 0 0.72rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-2) 86%, transparent);
  box-shadow: var(--color-glow);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.account-trigger:hover {
  color: var(--color-accent-hover);
  border-color: color-mix(in srgb, var(--color-accent) 36%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-2) 96%, transparent);
}

.account-trigger i {
  font-size: 1.4rem;
}

.account-trigger-label {
  display: none;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: -0.2rem;
  left: auto;
  min-width: 10.8rem;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 92%, #fff 8%) 0%, var(--color-surface) 100%);
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, var(--color-accent) 12%);
  border-radius: 14px;
  box-shadow: var(--color-panel-shadow), 0 16px 40px rgba(8, 13, 26, 0.38);
  padding: 0.4rem;
  z-index: 40;
  transform-origin: top right;
  backdrop-filter: blur(16px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.account-dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.7rem;
  color: var(--color-text);
  border: 1px solid transparent;
  border-radius: 10px;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.account-dropdown a:hover {
  color: var(--color-accent-hover);
  border-color: color-mix(in srgb, var(--color-accent) 34%, transparent);
  background: color-mix(in srgb, var(--color-surface-2) 92%, transparent);
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.msg {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  background: color-mix(in srgb, var(--color-surface-2) 84%, transparent);
  box-shadow: var(--color-glow);
}

.msg-error {
  color: var(--color-error);
  border-color: var(--color-error);
}

.msg-success {
  color: var(--color-success);
  border-color: var(--color-success);
}

.hero {
  padding: 2.8rem 0 2.8rem;
}

.home-announcement {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  flex-wrap: wrap;
}

.home-announcement strong {
  color: var(--color-text);
}

.home-hero {
  width: 100%;
  display: block;
  padding: 2.6rem 0 2.8rem;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 56%, transparent), transparent);
  opacity: 0.6;
}

.home-hero {
  position: relative;
}

.home-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.home-kicker {
  margin-top: 0.9rem;
  color: var(--color-accent);
}

.home-kicker::before,
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.home-hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.home-hero-copy::after {
  content: "";
  position: absolute;
  top: -1.4rem;
  right: 6%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 197, 255, 0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.home-hero-copy .eyebrow,
.home-section-heading .eyebrow {
  align-self: flex-start;
}

.home-hero-copy h1 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.home-hero-copy h1 span {
  display: block;
  color: var(--color-accent);
  text-shadow: 0 0 26px rgba(142, 197, 255, 0.2);
}

.home-hero-copy p {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.home-hero-actions,
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.home-section-heading h2,
.home-cta h2,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
}

.home-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}

.home-stat-line {
  width: 2.6rem;
  height: 1px;
  margin: 0 auto 0.45rem;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.home-stat-card strong {
  font-size: 1.3rem;
}

.home-stat-card span {
  color: var(--color-text-muted);
}

.home-stats-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  text-align: center;
}

.home-stats-band,
.home-section-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 4rem;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 76%, transparent), color-mix(in srgb, var(--color-surface-2) 44%, transparent));
}

.home-cta-band {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 4rem;
  padding: 0;
  position: relative; /* 必须 */

  /* 移除直接的 background、border */
  background: transparent;
  border: none;
}

/* 伪元素横跨全视口宽度做背景 */
.home-cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-50vw + 50%);  /* 向左延伸到视口边缘 */
  right: calc(-50vw + 50%); /* 向右延伸到视口边缘 */
  bottom: 0;
  background: color-mix(in srgb, var(--color-surface) 72%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  z-index: 0;
}

/* 确保内容在伪元素上方 */
.home-cta-band > * {
  position: relative;
  z-index: 1;
}

.home-section-band {
  padding: 4rem 0;
}

.home-section-band-inner,
.home-stats-band .home-stats-grid,
.home-cta-band .home-cta {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

.home-cta-band .home-cta {
  max-width: none;
}

@media (max-width: 767px) {
  .home-section-band-inner,
  .home-stats-band .home-stats-grid,
  .home-cta-band .home-cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.home-stat-card {
  padding: 0;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-stat-card strong {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.home-stat-card span {
  font-size: 0.82rem;
}

.home-section {
  width: 100%;
  padding-top: 4rem;
}

.home-section-heading {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.4rem;
}

.home-section-heading.stacked {
  justify-content: flex-start;
}

.home-section-heading h2,
.home-cta h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.home-section-heading p,
.home-cta p,
.home-step-card p {
  margin: 0.7rem 0 0;
  color: var(--color-text-muted);
}

.home-products-grid,
.home-steps-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-product-card,
.home-empty-card {
  text-align: left;
}

.home-products-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.home-product-media {
  margin: -1.35rem -1.35rem 1rem;
  min-height: 180px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at top left, rgba(142, 197, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  overflow: hidden;
  position: relative;
}

.home-product-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.home-product-media.is-placeholder {
  display: grid;
  place-items: center;
}

.home-product-status-pill {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(89, 242, 178, 0.14);
  color: var(--color-success);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(89, 242, 178, 0.16);
}

.home-placeholder-art {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

.home-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.home-product-topline span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.home-inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(77, 255, 145, 0.12);
  color: var(--color-success);
}

.home-status-list {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 84%, transparent), color-mix(in srgb, var(--color-surface-2) 64%, transparent));
}

.home-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  transition: background-color 0.2s ease;
}

.home-status-row:hover {
  background: color-mix(in srgb, var(--color-surface-2) 72%, transparent);
}

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

.home-status-link {
  color: var(--color-text);
  font-weight: 600;
}

.home-status-link.is-static {
  color: var(--color-text);
}

.small-text {
  font-size: 0.82rem;
}

.home-step-card {
  padding: 1.4rem;
}

.home-step-index {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(75, 107, 255, 0.2);
}


.home-cta .home-cta-actions {
  justify-content: center;
  margin-top: 2rem;
}

.home-cta h2 {
  margin-top: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.home-cta p {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  max-width: 42rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .home-stats-grid,
  .home-products-grid,
  .home-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-products-grid,
  .home-steps-grid {
    grid-template-columns: 1fr;
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    padding-right: 0;
  }

  .home-section-heading,
  .home-status-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-product-media {
    margin: -1rem -1rem 1rem;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5.6vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hero p {
  color: var(--color-text-muted);
  margin: 0 auto 1.6rem;
  max-width: 44rem;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  text-wrap: pretty;
}

.stack.hero-actions {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.grid-plans {
  display: grid;
  gap: 1rem;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: start;
  justify-items: start;
}

.product-plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  justify-content: flex-start;
  align-items: stretch;
}

.grid-plans .card {
  width: 100%;
  max-width: 300px;
}

.grid-plans-compact {
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-plans-compact .card {
  width: auto;
  max-width: 320px;
  min-width: 0;
  padding: 1rem 1rem 0.95rem;
  justify-self: center;
}

.grid-plans-compact .card h3 {
  font-size: 1.08rem;
}

.grid-plans-compact .price-dropdown {
  margin: 0.45rem 0 0.75rem;
}

.product-plans-grid .card {
  flex: 1 1 280px;
  max-width: 360px;
  min-width: 280px;
}

/* 手机模式下 product-plans-grid 强制单列 */
@media (max-width: 640px) {
  .product-plans-grid .card {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }

  /* 手机模式下缩小 product-card-img-wrap 的负外边距，防止图片被 overflow:hidden 裁剪 */
  .product-card-img-wrap {
    margin: -0.85rem -0.85rem 0.6rem -0.85rem;
    border-radius: 18px 18px 0 0;
  }
}

/* ── Card link wrapper (grid-plans clickable cards) ──────────────────── */

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 18px;
  width: 100%;
  max-width: 300px;
}

.card-link:hover {
  box-shadow: 0 20px 52px rgba(13, 22, 42, 0.45);
}

.card-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 20px;
}

/* ── Card base ───────────────────────────────────────────────────────── */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  min-width: 0;
  padding: 1.15rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: var(--color-card-shadow), var(--color-glow);
  backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card-link:hover .card,
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--color-card-shadow), var(--color-glow);
  border-color: color-mix(in srgb, var(--color-accent) 42%, var(--color-border));
}

.card h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.24;
}

/* ── Card header (title + price inline) ──────────────────────────────── */

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
}

.price-tag {
  flex-shrink: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
  line-height: 1.4;
}

@media (max-width: 360px) {
  .card {
    min-width: 0;
  }
}

/* ── Product card image ─────────────────────────────────────────────── */

.product-card-img-wrap {
  margin: -1.15rem -1.15rem 0.75rem -1.15rem;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  line-height: 0;
}

.product-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .product-card-img {
  transform: scale(1.03);
}

/* ── Product detail page image ──────────────────────────────────────── */

.product-detail-img-wrap {
  margin: 1rem 0;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  max-width: 100%;
}

.product-detail-img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.muted {
  color: var(--color-text-muted);
  font-size: clamp(12px, 2vw, 14px);
}

/* ── Card hover glow effect ──────────────────────────────────────────── */

.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 18px 2px color-mix(in srgb, var(--color-accent) 28%, transparent),
    0 0 48px 8px color-mix(in srgb, var(--color-accent) 12%, transparent);
}

.card:hover::before {
  opacity: 1;
}

/* Ensure card content sits above the glow pseudo-element */
.card > * {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 46%, transparent);
  background: var(--btn-gradient);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--color-accent) 28%, transparent);
}

.btn:hover {
  background: var(--btn-gradient-hover);
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(112%);
}

.btn-ghost {
  background: color-mix(in srgb, var(--color-surface-2) 84%, transparent);
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: none;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--color-surface-2) 96%, transparent);
  color: var(--color-accent-hover);
  border-color: color-mix(in srgb, var(--color-accent) 38%, var(--color-border));
}

.btn-danger {
  background: linear-gradient(135deg, #b60000 0%, #780000 100%);
  color: #fff;
  border-color: #b60000;
  box-shadow: 0 1px 25px rgba(182, 0, 0, 0.35);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #ce0000 0%, #930000 100%);
  color: #fff;
}

.btn-danger-outline {
  background: transparent;
  color: #b60000;
  border-color: #b60000;
  box-shadow: none;
}

.btn-danger-outline:hover {
  background: color-mix(in srgb, #b60000 12%, transparent);
  color: #ce0000;
  border-color: #ce0000;
}

.form-row {
  margin-bottom: 0.85rem;
}

.form-row label {
  display: block;
  font-size: clamp(12px, 2vw, 14px);
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.field-head label {
  margin-bottom: 0;
}

.field-hint-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 1.25em;
}

.form-row .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-error);
  font-size: clamp(12px, 2vw, 13px);
}

.field-tip {
  margin: 0;
  color: var(--color-error);
  font-size: clamp(12px, 2vw, 13px);
  min-height: 1.25em;
}

.field-tip:empty::before {
  content: "\00a0";
  visibility: hidden;
}

.form-row.has-error input[type="text"],
.form-row.has-error input[type="email"],
.form-row.has-error input[type="password"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-error) 40%, transparent);
}

.cf-turnstile {
  width: 100%;
  max-width: 100%;
}

.cf-turnstile > div,
.cf-turnstile iframe {
  max-width: 100% !important;
}

input.remember-check,
input[type="checkbox"] {
  width: auto;
  max-width: none;
  min-height: 1.1rem;
  min-width: 1.1rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font: inherit;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.break-long-id {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

th {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: clamp(12px, 2vw, 13px);
}

tr:last-child td {
  border-bottom: none;
}

.action-group {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.action-group form {
  margin: 0;
}

.qr-wrap {
  text-align: center;
  margin: 1rem 0;
}

.qr-wrap img {
  max-width: 220px;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.stack {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}

.auth-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── Shared page typography & layout upgrades ─────────────────────────── */

.site-main > section {
  width: 100%;
}

.site-main > h1,
.site-main > section h1:first-child,
.site-main > section > h1:first-child {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0;
}

.site-main > h2,
.site-main > section h2:first-child,
.site-main > section > h2:first-child {
  font-family: var(--font-display);
}

.site-main > p.muted,
.site-main > section > p.muted:first-of-type {
  max-width: 52rem;
  margin-top: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.site-main form.card {
  border-radius: 24px;
}

.site-main input[type="text"],
.site-main input[type="email"],
.site-main input[type="password"],
.site-main select,
.site-main textarea {
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  background: color-mix(in srgb, var(--color-surface-2) 88%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-main input[type="text"]:focus,
.site-main input[type="email"]:focus,
.site-main input[type="password"]:focus,
.site-main select:focus,
.site-main textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-accent) 52%, var(--color-border));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--color-accent) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-main table {
  background: color-mix(in srgb, var(--color-surface) 76%, transparent);
  border-radius: 16px;
  overflow: hidden;
}

.site-main th {
  background: color-mix(in srgb, var(--color-surface-2) 68%, transparent);
}

.site-main td,
.site-main th {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.site-main .table-wrap {
  border-radius: 18px;
  background: color-mix(in srgb, var(--color-surface) 48%, transparent);
  box-shadow: var(--color-card-shadow);
}

.site-main .stack[style*="flex-direction:row"],
.site-main nav.stack {
  gap: 0.85rem !important;
}

/* ── Store index page ─────────────────────────────────────────────────── */

#top-plans {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

#top-plans::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.grid-plans {
  margin-top: 1.6rem;
}

.grid-plans .card {
  text-align: left;
}

/* ── Auth pages ───────────────────────────────────────────────────────── */

.auth-links a {
  margin-left: 0.2rem;
}

.site-main form[data-inline-validate] {
  position: relative;
  overflow: hidden;
}

.site-main form[data-inline-validate]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 70%, transparent), transparent);
  opacity: 0.8;
}

.site-main form[data-inline-validate] .btn[type="submit"] {
  width: 100%;
}

.auth-page-shell,
.dashboard-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-form-card {
  width: min(100%, 32rem);
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem;
}

.auth-form-card .form-row {
  text-align: left;
}

.auth-form-card .field-head {
  margin-bottom: 0.45rem;
}

.dashboard-shell > .muted {
  margin-bottom: 1.25rem;
}

.dashboard-table-wrap {
  margin-top: 1rem;
}

/* ── Dashboard page ───────────────────────────────────────────────────── */

.site-main > nav {
  width: 100%;
  justify-content: center;
}

.site-main > nav .btn,
.site-main > nav .btn-ghost {
  min-width: 9rem;
}

.site-main > section.card[style*="rgba(239,68,68"] {
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.12);
}

.site-main .mono {
  font-family: var(--font-mono);
}

@media (max-width: 767px) {
  .site-main > h1,
  .site-main > section h1:first-child,
  .site-main > section > h1:first-child {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .site-main > nav {
    justify-content: stretch;
  }

  .site-main > nav .btn,
  .site-main > nav .btn-ghost,
  .site-main .stack[style*="flex-direction:row"] > * {
    width: 100%;
  }
}

.auth-links-sep {
  opacity: 0.7;
}

/* ── Privacy Policy Page ──────────────────────────────────────────────── */
.privacy-content {
  max-width: 48rem;
  margin: 0;
  padding: 2rem 1rem 3rem;
  text-align: left;
  align-self: flex-start;
  width: 100%;
}

.privacy-content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-border);
}

.privacy-content p {
  margin: 0 0 0.75rem;
  line-height: 1.7;
}

.privacy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: none;
}

.privacy-content li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.privacy-content section:last-child {
  margin-bottom: 0;
}

/* ── Product Detail Page ──────────────────────────────────────────── */
.product-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}

.product-hero-img-wrap {
  flex: 0 0 200px;
}

.product-hero-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--color-card-shadow);
}

.product-hero-body {
  flex: 1;
  min-width: 260px;
}

.product-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.product-hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.product-hero-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 0.5rem;
}

/* ── Product Nav ──────────────────────────────────────────────────── */
.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.product-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.product-nav a:hover {
  color: var(--color-accent);
}

/* ── Product Sections ─────────────────────────────────────────────── */
.product-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* ── Feature Grid ─────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature-card-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-card-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 0;
}

/* ── Audience Grid ────────────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.audience-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.audience-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.audience-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.audience-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.audience-card-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.audience-card-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 0;
}

/* ── Tech Highlights Grid ─────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.tech-card {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.tech-card .tech-card-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.tech-card strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

/* ── Product Plans Grid (inside detail page) ──────────────────────── */
.product-plans-grid {
  margin-top: 1.5rem;
}

/* ── Product Detail Fallback ──────────────────────────────────────── */
.product-detail-fallback {
  padding: 2rem 0;
}

.product-detail-fallback h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .product-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .product-hero-img-wrap {
    flex: 0 0 auto;
    width: 120px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* 新版商品详情页布局（参考 chods-cheats.com 排版）                         */
/* ═══════════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-text-faint);
  user-select: none;
}

/* ── Product Hero V2 (两栏布局) ─────────────────────────────────────── */
.product-hero-v2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  padding: 1.5rem 0 2rem;
  text-align: left;
  align-items: start;
}

.product-hero-v2-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

/* ── Status Badge ────────────────────────────────────────────────────── */
.product-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-status-badge.status-online {
  background: color-mix(in srgb, #22c55e 18%, transparent);
  color: #22c55e;
  border: 1px solid color-mix(in srgb, #22c55e 30%, transparent);
}

.product-status-badge.status-updating {
  background: color-mix(in srgb, #f59e0b 18%, transparent);
  color: #f59e0b;
  border: 1px solid color-mix(in srgb, #f59e0b 30%, transparent);
}

.product-status-badge.status-offline {
  background: color-mix(in srgb, #ef4444 18%, transparent);
  color: #ef4444;
  border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
}

.product-updated {
  font-size: 0.78rem;
}

/* ── Hero V2 Title ───────────────────────────────────────────────────── */
.product-hero-v2-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.product-hero-v2-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 500;
}

.product-hero-v2-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
  max-width: 42rem;
}

/* ── Bullet List (特性要点) ──────────────────────────────────────────── */
.product-bullet-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

.bullet-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  width: 1.4rem;
  text-align: center;
}

/* ── Hero Actions V2 ─────────────────────────────────────────────────── */
.hero-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

/* ── Hero V2 Image ───────────────────────────────────────────────────── */
.product-hero-v2-img-wrap {
  margin-top: 0.5rem;
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
  max-width: 100%;
}

.product-hero-v2-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

/* ── Hero Sidebar (摘要卡片) ─────────────────────────────────────────── */
.product-hero-v2-sidebar {
  position: sticky;
  top: 5.5rem;
}

.product-summary-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.product-summary-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.product-summary-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.status-online {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.status-dot.status-updating {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.status-dot.status-offline {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.product-summary-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-summary-price-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-summary-price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.product-summary-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-summary-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text);
}

.summary-info-icon {
  flex-shrink: 0;
  font-size: 1rem;
  width: 1.3rem;
  text-align: center;
}

.product-summary-cta {
  margin-top: 0.25rem;
}

/* ── Overview Section ────────────────────────────────────────────────── */
.overview-content {
  max-width: 42rem;
  text-align: left;
  margin: 0;
}

.overview-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ── Pricing Layout (两栏) ──────────────────────────────────────────── */
.pricing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  text-align: left;
  align-items: start;
}

.pricing-sidebar {
  position: sticky;
  top: 5.5rem;
}

.pricing-main {
  display: flex;
  flex-direction: column;
}

.pricing-main .section-title,
.pricing-main .section-subtitle {
  text-align: left;
}

/* ── Before You Buy ──────────────────────────────────────────────────── */
.before-you-buy {
  padding: 1.35rem;
  text-align: left;
}

.before-you-buy h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.before-you-buy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.before-you-buy-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.before-you-buy-list li strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.before-you-buy-list li span {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ── Plan Card Price (文本显示) ─────────────────────────────────────── */
.plan-price {
  margin: 0.75rem 0;
}

.plan-price-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* ── Plan Card Popular (推荐套餐) ────────────────────────────────────── */
.plan-card {
  position: relative;
  overflow: visible;
}

.plan-card-popular {
  border-color: color-mix(in srgb, var(--color-accent) 50%, var(--color-border));
}

.plan-card-popular::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 20px 2px color-mix(in srgb, var(--color-accent) 25%, transparent),
    0 0 50px 10px color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.plan-card-badge {
  position: absolute;
  top: -0.6rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--btn-gradient);
  color: #fff;
  z-index: 2;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

/* ── Steps Grid (使用流程) ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  text-align: left;
}

.step-card {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-faint);
  opacity: 0.2;
  line-height: 1;
  user-select: none;
}

.step-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ── About Layout (两栏) ────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  text-align: left;
  align-items: start;
}

.about-main {
  display: flex;
  flex-direction: column;
}

.about-description p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

.about-sidebar {
  position: sticky;
  top: 5.5rem;
}

.about-info-card {
  padding: 1.35rem;
  text-align: left;
}

.about-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.about-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-info-list li span:last-child {
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ── FAQ Section ─────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  width: 100%;
  max-width: 600px;
  margin: 0;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-hero-v2 {
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .product-hero-v2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-hero-v2-sidebar {
    position: static;
  }

  .product-summary-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1rem 1.25rem;
  }

  .product-summary-category {
    width: 100%;
  }

  .product-summary-title {
    flex: 1;
    min-width: 120px;
  }

  .product-summary-status {
    order: 1;
  }

  .product-summary-price {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0;
    border: none;
    order: 2;
  }

  .product-summary-price-label {
    font-size: 0.75rem;
  }

  .product-summary-price-value {
    font-size: 1.2rem;
  }

  .product-summary-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    width: 100%;
    order: 3;
  }

  .product-summary-cta {
    order: 4;
    flex: 1;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-sidebar {
    position: static;
    order: -1;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .site-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .product-hero-v2 {
    padding: 1rem 0 1.5rem;
  }

  .product-hero-v2-img-wrap {
    margin-top: 0.25rem;
    border-radius: 16px;
  }

  .product-hero-v2-img {
    border-radius: 16px;
  }

  .product-summary-card {
    flex-direction: column;
    align-items: stretch;
  }

  .product-summary-info {
    flex-direction: column;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    max-width: 100%;
  }

  /* 移动端：确保所有内容左对齐 */
  .product-hero-v2-main {
    text-align: left;
  }

  .pricing-main {
    text-align: left;
  }

  .pricing-main .section-title,
  .pricing-main .section-subtitle {
    text-align: left;
  }

  .overview-content {
    text-align: left;
  }

  .product-section .section-title,
  .product-section .section-subtitle {
    text-align: left;
  }

  .feature-card {
    text-align: left;
  }

  .step-card {
    text-align: left;
  }
}

/* =========================================================================
   Status Page — 游戏状态监控页面
   ========================================================================= */

/* ── Status Pill / Badge ────────────────────────────────────────────────── */

/* Each pill is an inline-flex container with a colored dot + label text.
   The template uses these as <span class="pill-{status}"> wrappers. */

.pill-online,
.pill-update-pending,
.pill-updating,
.pill-maintenance,
.pill-paused,
.pill-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pill-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Online — 绿色 */
.pill-online {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.pill-online .pill-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Game Updated — #A2BF3E + 脉冲 */
.pill-update-pending {
  background: rgba(162, 191, 62, 0.15);
  color: #A2BF3E;
}
.pill-update-pending .pill-dot {
  background: #A2BF3E;
  box-shadow: 0 0 6px rgba(162, 191, 62, 0.6);
}

/* Updating — rgb(234, 179, 8) + 脉冲 */
.pill-updating {
  background: rgba(234, 179, 8, 0.15);
  color: rgb(234, 179, 8);
}
.pill-updating .pill-dot {
  background: rgb(234, 179, 8);
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.6);
}

/* Maintenance — 蓝色 */
.pill-maintenance {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.pill-maintenance .pill-dot {
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

/* Paused — 紫色 */
.pill-paused {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}
.pill-paused .pill-dot {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

/* Offline — 红色 */
.pill-offline {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.pill-offline .pill-dot {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

/* Utility pills for admin table */
.pill-paid {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.pill-free {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
}
.pill-yes {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.pill-no {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(107, 114, 128, 0.12);
  color: #9ca3af;
}

/* ── Pulse Animation ────────────────────────────────────────────────────── */

.animate-pulse-soft {
  animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Status Page Layout ─────────────────────────────────────────────────── */

.status-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.status-header-title {
  text-align: left;
}

.status-header-title .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
}

.status-header-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0 0;
  color: var(--color-text);
}

.status-header-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0.5rem 0 0;
  max-width: 480px;
}

.status-header-time {
  text-align: right;
  flex-shrink: 0;
}

.status-header-time > div:first-child {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.status-header-time .time-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 0.15rem;
}

/* ── Legend Card ─────────────────────────────────────────────────────────── */

.status-legend {
  margin-bottom: 2rem;
}

.status-legend-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: 0.75rem;
}

.status-legend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.status-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-legend-item .pill-online,
.status-legend-item .pill-update-pending,
.status-legend-item .pill-updating,
.status-legend-item .pill-maintenance,
.status-legend-item .pill-paused,
.status-legend-item .pill-offline {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
}

.status-legend-desc {
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* ── Product List ───────────────────────────────────────────────────────── */

.status-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.status-group-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

/* ── Product Item ───────────────────────────────────────────────────────── */

.status-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.status-item + .status-item {
  margin-top: 0.5rem;
}

.status-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.status-item-info {
  flex: 1;
  min-width: 0;
}

.status-item-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.status-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
}

.status-item-name:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.status-item-update-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.status-item-update-note a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.status-item-update-note a:hover {
  color: var(--color-text);
  text-decoration-color: var(--color-text);
}

.status-item-meta {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  text-align: left;
}

.status-item-meta .meta-sep {
  margin: 0 0.35rem;
  opacity: 0.4;
}

.status-item-meta .event-link {
  color: var(--color-accent);
  text-decoration: none;
}

.status-item-meta .event-link:hover {
  text-decoration: underline;
}

.status-item-action {
  flex-shrink: 0;
}

/* ── Status Page Footer ─────────────────────────────────────────────────── */

.status-footer {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

.status-footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-footer a:hover {
  color: var(--color-text);
}

/* ── Utility classes used by status templates ───────────────────────────── */

.text-fg-muted {
  color: var(--color-text-faint);
}

.divide-y > * + * {
  border-top: 1px solid var(--color-border);
}

.divide-ink-border > * + * {
  border-top: 1px solid var(--color-border);
}

/* =========================================================================
   Status Admin — Dashboard 管理页面样式
   ========================================================================= */

.status-admin {
  max-width: 100%;
}

.status-admin .status-admin-header {
  margin-bottom: 1.5rem;
}

.status-admin .status-admin-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.status-admin .status-admin-header .text-muted {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  margin: 0;
}

.status-admin .status-admin-header a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.status-admin .status-admin-header a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* Status admin table */
.status-admin-table th,
.status-admin-table td {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
}

.status-admin-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--color-text-faint);
  border-bottom: 1px solid var(--color-border);
}

.status-admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.status-admin-table code {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.status-admin-table .btn-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
}

/* Form styles within status admin */
.status-admin .form-row {
  margin-bottom: 1rem;
}

.status-admin .form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}

.status-admin .form-row input,
.status-admin .form-row select,
.status-admin .form-row textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.9rem;
}

.status-admin .form-row input:focus,
.status-admin .form-row select:focus,
.status-admin .form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.status-admin .help-text {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-faint);
  margin-top: 0.25rem;
}

.status-admin .field-errors {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}

.status-admin .field-errors .error {
  font-size: 0.78rem;
  color: var(--color-error);
}

.status-admin .form-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.status-admin .form-errors .error {
  font-size: 0.85rem;
  color: var(--color-error);
  margin: 0;
}

.status-admin .form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.status-admin .form-actions .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}
