:root {
  --bg: #0f1117;
  --panel: #161b26;
  --border: #252d3d;
  --text: #e8ecf4;
  --muted: #8b95a8;
  --accent: #667eea;
  --accent2: #764ba2;
  --ok: #22c55e;
  --err: #ef4444;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
.app-body {
  background:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(102, 126, 234, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(118, 75, 162, 0.12), transparent 45%),
    var(--bg);
}
a { color: #93b4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.layout { display: flex; min-height: 100vh; }
.layout--member .main {
  max-width: none;
  flex: 1;
  min-width: 0;
  padding: 28px 32px 40px;
}
.sidebar {
  width: 240px;
  background: linear-gradient(180deg, #141a26 0%, #10141d 100%);
  border-right: 1px solid var(--border);
  padding: 0;
}
.sidebar__inner {
  position: sticky;
  top: 0;
  padding: 24px 0 32px;
  min-height: 100vh;
}
.sidebar .brand,
.sidebar__inner .brand {
  padding: 0 22px 8px;
  font-weight: 800;
  background: linear-gradient(120deg, #c7d2fe, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand__sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.sidebar__hint {
  margin: 0 22px 18px;
  font-size: 12px;
  color: #5c6578;
}
.sidebar nav a,
.sidebar__nav a,
.sidebar__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  color: var(--muted);
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
}
.sidebar nav a:hover, .sidebar nav a.active,
.sidebar__nav a:hover, .sidebar__nav a.active,
.sidebar__nav-link:hover, .sidebar__nav-link.active {
  color: var(--text);
  background: rgba(102,126,234,.1);
  border-left-color: var(--accent);
  text-decoration: none;
}
.sidebar__group-label {
  margin: 16px 22px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5366;
  border-left: 3px solid transparent;
}
.sidebar__nav-ic {
  font-size: 15px;
  line-height: 1;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.92;
}
.main { flex: 1; padding: 24px 28px; max-width: 1200px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
h1 { font-size: 1.35rem; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: 1.05rem; margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
input, select, textarea {
  background: #0b0e14;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  min-width: 120px;
}
textarea { min-height: 80px; width: 100%; }
.btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}
.btn.secondary { background: #2a3142; color: var(--text); }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--ghost {
  background: rgba(255,255,255,.06) !important;
  color: #dbe4ff !important;
  border: 1px solid rgba(255,255,255,.12);
}
.btn--ghost:hover { background: rgba(255,255,255,.1) !important; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
th { color: var(--muted); font-weight: 600; }
.flash { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.flash.ok { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.35); }
.flash.err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); }
.muted { color: var(--muted); font-size: 13px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; background: #2a3142; }
.mono { font-family: ui-monospace, monospace; font-size: 12px; word-break: break-all; }

/* ---------- 访客站（首页 / 登录 / 注册） ---------- */
.guest-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.guest-body--marketing {
  background:
    radial-gradient(ellipse 120% 80% at 15% -25%, rgba(102, 126, 234, 0.28), transparent 52%),
    radial-gradient(ellipse 90% 60% at 95% 5%, rgba(118, 75, 162, 0.22), transparent 48%),
    radial-gradient(ellipse 70% 50% at 40% 100%, rgba(56, 189, 248, 0.08), transparent 45%),
    linear-gradient(185deg, #141a2a 0%, #0f1117 38%, #0b0d12 100%);
}
.status-ok { color: var(--ok); font-weight: 600; }
.status-err { color: var(--err); font-weight: 600; }
.guest-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.guest-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.guest-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.guest-logo:hover { text-decoration: none; color: #fff; }
.guest-logo__sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.guest-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 14px;
}
.guest-nav a {
  color: var(--muted);
  padding: 6px 4px;
  border-radius: 6px;
  text-decoration: none;
}
.guest-nav a:hover { color: var(--text); text-decoration: none; background: rgba(102,126,234,.12); }
.guest-nav a.is-active { color: #c7d4ff; }
.guest-nav__sp { flex: 1; min-width: 8px; }
.guest-nav__cta {
  padding: 8px 16px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600;
}
.guest-nav__cta:hover { filter: brightness(1.08); color: #fff !important; }
.guest-wrap {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 48px;
}
.guest-wrap--wide { max-width: 1120px; }
.guest-wrap--narrow {
  max-width: 440px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.guest-footer {
  border-top: 1px solid var(--border);
  background: var(--panel);
  margin-top: auto;
}
.guest-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}
.guest-footer__line {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}
.guest-footer__copy {
  font-size: 12px;
  color: #5c6578;
  margin: 0;
}

.hero { margin-bottom: 8px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #9aa7c4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero__gradient {
  background: linear-gradient(120deg, #a5b4fc, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #b4bdd1;
  margin: 0 0 24px;
  max-width: 36em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
.hero__bullets li {
  padding-left: 1.2em;
  position: relative;
}
.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.hero__panel-title { margin: 0 0 14px; font-size: 1.05rem; color: var(--text); }
.hero__panel-list {
  margin: 0 0 16px;
  padding-left: 1.1em;
  color: #b8c0d4;
  line-height: 1.75;
  font-size: 14px;
}
.hero__panel-list strong { color: #e8ecf4; }
.hero__panel-note { margin: 0; font-size: 12px; line-height: 1.6; }
.card--elevated {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* 首页：主视觉区与展示大图块 */
.home-hero-bg {
  position: relative;
  margin: -12px -8px 0;
  padding: 8px 8px 4px;
}
@media (min-width: 640px) {
  .home-hero-bg { margin: -16px -12px 0; padding: 12px 12px 8px; }
}
.home-hero-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.home-hero-bg__glow--1 {
  width: min(520px, 90vw);
  height: 320px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.9), transparent 70%);
}
.home-hero-bg__glow--2 {
  width: min(420px, 80vw);
  height: 280px;
  bottom: -40%;
  left: -10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
}
.home-hero-bg .hero {
  position: relative;
  z-index: 1;
}
.home-showcase {
  margin: 8px 0 0;
  padding: 0 0 8px;
}
.home-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .home-showcase__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.home-showcase__tile {
  position: relative;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.home-showcase__tile--a {
  background-image:
    linear-gradient(135deg, rgba(15, 17, 23, 0.15) 0%, rgba(15, 17, 23, 0.75) 100%),
    linear-gradient(145deg, #1e293b 0%, #312e81 40%, #4c1d95 100%);
}
.home-showcase__tile--b {
  background-image:
    linear-gradient(135deg, rgba(15, 17, 23, 0.1) 0%, rgba(15, 17, 23, 0.78) 100%),
    linear-gradient(160deg, #0f172a 0%, #134e4a 45%, #164e63 100%);
}
.home-showcase__tile--c {
  background-image:
    linear-gradient(135deg, rgba(15, 17, 23, 0.1) 0%, rgba(15, 17, 23, 0.78) 100%),
    linear-gradient(150deg, #1a1033 0%, #4c1d95 50%, #831843 100%);
}
.home-showcase__tile-inner {
  position: absolute;
  inset: 0;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 8, 14, 0.55) 100%);
}
.home-showcase__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 8px;
}
.home-showcase__tile-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-showcase__tile-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #b8c0d4;
  max-width: 28em;
}

.btn--lg { padding: 12px 22px; font-size: 15px; border-radius: 10px; }
.btn--outline {
  background: transparent !important;
  border: 1px solid rgba(102, 126, 234, 0.55);
  color: #c7d4ff !important;
}
.btn--outline:hover { border-color: #a5b4fc; background: rgba(102,126,234,.1) !important; }
.btn--block { width: 100%; text-align: center; }

.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.section--alt {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.55), rgba(15, 17, 23, 0));
  border-radius: 16px;
  padding: 48px 24px;
}
.section__head { max-width: 640px; margin-bottom: 28px; }
.section__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section__desc {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(102, 126, 234, 0.35);
  transform: translateY(-2px);
}
.feature-card__icon {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.feature-card__title { font-size: 1rem; margin: 0 0 8px; font-weight: 600; }
.feature-card__text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.steps__item {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.steps__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}
.steps__title { margin: 0 0 6px; font-size: 1rem; }
.steps__text { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

.faq { max-width: 720px; }
.faq__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 10px;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faq__item p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.cta-band {
  margin-top: 16px;
  padding: 40px 0 8px;
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.22), rgba(118, 75, 162, 0.18));
  border: 1px solid rgba(102, 126, 234, 0.35);
}
.cta-band__title { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; }
.cta-band__text { margin: 0; color: #c5cee0; font-size: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.auth-panel {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}
.auth-panel__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.auth-panel__title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.auth-panel__lead {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #9aa7c4;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  font-size: 15px;
}
.auth-actions { margin-top: 22px; }
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-switch a { font-weight: 600; }

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

/* ---------- 会员购买页（参考 api.cc：分区 + 标签 + 卡片） ---------- */
.shop-page { max-width: 1280px; margin: 0 auto; }
.shop-flash { margin-bottom: 18px; }
.shop-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.shop-hero__text { flex: 1; min-width: 240px; }
.shop-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9cc9;
  margin: 0 0 10px;
}
.shop-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.shop-hero__desc {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  color: #a8b4cc;
}
.shop-hero--compact {
  align-items: center;
}
.shop-hero--compact .shop-hero__title {
  margin-bottom: 0;
}
.shop-wallet {
  min-width: 200px;
  padding: 20px 22px;
  align-self: flex-start;
}
.card--glow {
  box-shadow: 0 0 0 1px rgba(102,126,234,.25), 0 16px 40px rgba(0,0,0,.35);
}
.shop-wallet__label { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
.shop-wallet__val {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #e0e7ff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shop-wallet__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-wallet__actions .btn {
  text-align: center;
  text-decoration: none;
}
.shop-wallet__actions .btn:hover { text-decoration: none; }

.shop-toolbar { padding: 18px 20px 20px; margin-bottom: 20px; }
.shop-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 14px;
}
.shop-toolbar__row:last-child { margin-bottom: 0; }
.shop-toolbar__label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #6b7a95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 72px;
}
.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.shop-tab {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #0b0e14;
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
}
.shop-tab:hover {
  color: var(--text);
  border-color: #4a5570;
  text-decoration: none;
}
.shop-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 14px rgba(102,126,234,.35);
}
.shop-pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.shop-pill {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #0b0e14;
  border: 1px solid var(--border);
  text-decoration: none;
}
.shop-pill:hover { color: var(--text); text-decoration: none; border-color: #4a5570; }
.shop-pill.is-active {
  color: #fff;
  border-color: rgba(102,126,234,.5);
  background: rgba(102,126,234,.2);
}

.shop-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.shop-search__input {
  flex: 1;
  min-width: 200px;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 10px;
}
.shop-search__reset { font-size: 13px; color: #93b4ff; }

.shop-empty { text-align: center; padding: 40px 24px; }
.shop-empty__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }

.cate-block { margin-bottom: 36px; }
.cate-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(102,126,234,.25);
}
.cate-block__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cate-block__meta { font-size: 13px; color: var(--muted); }

/* 选购页：宽行目录（替代密集卡片内嵌表单） */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(132px, auto) minmax(108px, auto);
  gap: 16px 24px;
  align-items: center;
  padding: 16px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.catalog-row:hover {
  border-color: rgba(102,126,234,.35);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.catalog-row__titleline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.catalog-row__id { font-size: 12px; color: #6b7a95; }
.catalog-row__typelab { font-size: 12px; }
.catalog-row__name {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.catalog-row__meta { margin: 6px 0 0; font-size: 13px; }
.catalog-row__sale { margin: 0; font-size: 1.2rem; color: #fff; }
.catalog-row__sale strong { font-weight: 800; }
.catalog-row__action { justify-self: end; }
@media (max-width: 760px) {
  .catalog-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .catalog-row__action { justify-self: stretch; }
  .catalog-row__action .btn { width: 100%; }
}

/* 购买弹窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 22px 22px 18px;
  margin: 0;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: rgba(255,255,255,.12); }
.modal__title {
  margin: 0 40px 8px 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.modal__sub { margin: 0 0 16px; font-size: 13px; line-height: 1.45; }
.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .modal__grid { grid-template-columns: 1fr; }
}
.modal__field { display: block; margin-bottom: 12px; }
.modal__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #8b9dc4;
  margin-bottom: 6px;
}
.inp {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0b0e14;
  color: var(--text);
}
.inp--block { display: block; }
select.inp { cursor: pointer; }
.modal__pfx-status {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.project-card:hover {
  border-color: rgba(102,126,234,.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.project-card__id { font-size: 11px; color: #6b7a95; }
.project-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
}
.type-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.type-pill--1 { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.type-pill--2 { background: rgba(96,165,250,.15); color: #7dd3fc; border: 1px solid rgba(96,165,250,.3); }
.type-pill--3 { background: rgba(251,191,36,.12); color: #fcd34d; border: 1px solid rgba(251,191,36,.28); }

.project-card__stock { font-size: 12px; }
.stock-bar {
  height: 5px;
  border-radius: 999px;
  background: #0b0e14;
  margin-top: 6px;
  overflow: hidden;
}
.stock-bar > i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  max-width: 100%;
}

.project-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}
.project-card__price-sale { font-size: 1.35rem; color: #fff; }
.project-card__price-sale small { font-size: 12px; font-weight: 600; color: var(--muted); }
.project-card__price-base { font-size: 12px; }

.project-card__form { margin-top: 4px; }
.project-card__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.inp-tight {
  flex: 0 0 auto;
  min-width: 0;
  width: 72px;
  padding: 8px 8px;
  font-size: 13px;
}
select.inp-tight { width: auto; min-width: 100px; flex: 1; }
.inp-wide {
  flex: 1;
  min-width: 120px;
  padding: 8px 10px;
  font-size: 13px;
}
.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.project-card__pfx {
  margin: 0;
  padding: 10px;
  font-size: 11px;
  max-height: 120px;
  overflow: auto;
  background: #0b0e14;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* 会员子页：信息条 + 宽表格（订单 / 个人中心 / 订单详情） */
.member-strip {
  margin-bottom: 20px;
  padding: 14px 18px;
}
.member-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 14px;
}
.member-strip__link {
  color: #a5b8e8;
  font-weight: 600;
  text-decoration: none;
}
.member-strip__link:hover { color: #fff; text-decoration: underline; }
.member-strip__sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border);
  margin: 0 2px;
  vertical-align: middle;
}
.member-strip__sp { flex: 1; min-width: 8px; }

.table-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.table-card__hint { flex: 1 1 220px; text-align: right; }
@media (max-width: 640px) {
  .table-card__hint { text-align: left; }
}
.table-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.table-scroll {
  overflow-x: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.data-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.data-table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7a95;
  background: rgba(0,0,0,.2);
}
.data-table tbody tr:hover {
  background: rgba(102,126,234,.06);
}
.data-table__ord { min-width: 220px; font-size: 13px; }
.data-table__ops { white-space: normal; min-width: 200px; }
.data-table__ops .btn { margin: 0 6px 6px 0; vertical-align: middle; }
.data-table tbody tr.is-highlight {
  background: rgba(34, 197, 94, 0.1);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.28);
}

.order-detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.account-summary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.account-summary__val {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.account-summary__val--money {
  font-size: 1.35rem;
  background: linear-gradient(90deg, #e0e7ff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.account-summary__val--money small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.account-recharge-form { margin-top: 8px; }

.account-pay-card {
  border: 1px solid rgba(102, 126, 234, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.account-pay-card__lead {
  margin: 0 0 16px;
  line-height: 1.65;
  font-size: 14px;
}
.account-pay-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(102, 126, 234, 0.22), rgba(15, 17, 23, 0.92));
  border: 1px solid rgba(165, 243, 252, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 8px 32px rgba(0, 0, 0, 0.35);
}
.account-pay-countdown__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa7c4;
}
.account-pay-countdown__digits {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f0fdfa;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
  line-height: 1.1;
}
.account-pay-countdown__sub {
  font-size: 12px;
  margin: 0;
}
.account-pay-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 16px 0 8px;
  align-items: start;
}
@media (min-width: 720px) {
  .account-pay-card__grid { grid-template-columns: 1fr auto; align-items: center; }
}
.account-pay-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 4px;
}
.account-pay-card__val {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.account-pay-card__val--pay {
  color: #a5f3fc;
  letter-spacing: 0.02em;
}
.account-pay-card__addr {
  margin: 0;
  font-size: 13px;
  word-break: break-all;
  padding: 12px;
  background: #0b0e14;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.account-pay-card__qr img {
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.order-json-area {
  width: 100%;
  min-height: 320px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 10px;
  resize: vertical;
}

/* —— 支付弹窗 / 会员中心扩展 —— */
.pay-window-body {
  background: radial-gradient(ellipse 100% 80% at 50% -10%, rgba(102, 126, 234, 0.2), transparent 55%), var(--bg);
}
.pay-window-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 40px;
}
.pay-window-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(165deg, rgba(22, 27, 38, 0.98), rgba(15, 17, 23, 0.99));
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 18px;
  padding: 28px 26px 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.pay-window-brand {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7c8aad;
}
.pay-window-title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pay-window-lead {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
}

.member-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.member-quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.member-quick-card:hover {
  text-decoration: none;
  border-color: rgba(102, 126, 234, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.member-quick-card__ic {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 2px;
}
.member-quick-card strong {
  font-size: 15px;
  font-weight: 700;
}
.member-quick-card .muted {
  font-size: 12px;
  line-height: 1.45;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.announcement-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.announcement-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.announcement-item header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-size: 14px;
}
.announcement-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
}

.member-ico {
  display: block;
  flex-shrink: 0;
  color: #9fb0ff;
  opacity: 0.92;
}
.sidebar__nav-link .member-ico {
  color: #8b9ccf;
}
.sidebar__nav-link:hover .member-ico,
.sidebar__nav-link.active .member-ico {
  color: #c7d2fe;
}

.sidebar__ann-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 28px);
  margin: 4px 14px 12px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(165, 243, 252, 0.28);
  background: rgba(15, 20, 32, 0.88);
  color: #c7fff5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sidebar__ann-pill:hover {
  background: rgba(102, 126, 234, 0.22);
  border-color: rgba(165, 243, 252, 0.45);
}
.sidebar__ann-pill .member-ico {
  color: #99f6e4;
  flex-shrink: 0;
}
.sidebar__ann-pill-badge {
  margin-left: auto;
  min-width: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.88);
  color: #fff;
}

.ann-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ann-modal[hidden] {
  display: none;
}
.ann-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}
.ann-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(86vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(102, 126, 234, 0.35);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.ann-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.ann-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.ann-modal__x {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.ann-modal__x:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.ann-modal__body {
  padding: 14px 18px 18px;
  overflow-y: auto;
}
.ann-modal__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ann-modal__item:last-child {
  border-bottom: none;
}
.ann-modal__item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  font-size: 14px;
}
.ann-modal__item-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
}
body.ann-modal-open {
  overflow: hidden;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 1000px) {
  .console-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .console-stats {
    grid-template-columns: 1fr;
  }
}
.console-stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 27, 38, 0.95), rgba(15, 17, 23, 0.98));
  min-width: 0;
}
a.console-stat-card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.console-stat-card:hover {
  border-color: rgba(102, 126, 234, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.console-stat-card__lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b758a;
}
.console-stat-card__val {
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5ff;
  line-height: 1.15;
}
.console-stat-card__sub {
  font-size: 12px;
  color: var(--muted);
}
.console-stat-card--ann {
  cursor: pointer;
  text-align: left;
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(165deg, rgba(13, 148, 136, 0.12), rgba(15, 17, 23, 0.95));
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.console-stat-card--ann:hover {
  border-color: rgba(165, 243, 252, 0.5);
  transform: translateY(-1px);
}
.console-stat-card--ann .console-stat-card__val {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #99f6e4;
}
.console-stat-card--ann .member-ico {
  flex-shrink: 0;
}
button.console-stat-card {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.console-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.console-split > .card {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 900px) {
  .console-split {
    grid-template-columns: 1fr;
  }
}
.console-panel {
  padding: 18px 18px 16px;
  min-width: 0;
}
.console-panel__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}
.console-panel__foot {
  margin-top: 12px;
}
.console-mini-table {
  overflow-x: auto;
  max-width: 100%;
}
/* 控制台内嵌表：勿继承全站 data-table 的 min-width:920px，否则会撑破双列布局 */
.console-mini-table .data-table {
  font-size: 13px;
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}
.console-mini-table .data-table th,
.console-mini-table .data-table td {
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.console-mini-table .data-table td.data-table__ops {
  min-width: 0;
  width: 1%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  text-align: right;
  vertical-align: middle;
}
.console-mini-table .data-table td.data-table__ops .btn {
  margin: 0;
}

.console-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.console-link-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.console-link-card:hover {
  text-decoration: none;
  border-color: rgba(102, 126, 234, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.console-link-card__ic {
  flex-shrink: 0;
  padding-top: 2px;
}
.console-link-card__ic .member-ico {
  color: #a5b4fc;
}
.console-link-card div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  justify-content: center;
}
.console-link-card strong {
  font-size: 15px;
  font-weight: 700;
}
.console-link-card .muted {
  font-size: 12px;
  line-height: 1.45;
}

/* —— 余额充值页 —— */
.recharge-page .recharge-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 920px) {
  .recharge-page .recharge-layout {
    grid-template-columns: 1fr;
  }
}
.recharge-aside {
  padding: 22px 20px;
  position: sticky;
  top: 20px;
}
@media (max-width: 920px) {
  .recharge-aside {
    position: static;
  }
}
.recharge-aside__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b758a;
}
.recharge-aside__bal-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.recharge-aside__bal-val {
  margin: 6px 0 12px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #e0e7ff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.recharge-aside__user {
  margin: 0 0 14px;
  font-size: 13px;
}
.recharge-aside__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.recharge-chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}
.recharge-chip--ok {
  border-color: rgba(45, 212, 191, 0.45);
  color: #99f6e4;
  background: rgba(13, 148, 136, 0.12);
}
.recharge-aside__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recharge-main {
  min-width: 0;
}
.recharge-strip {
  margin-bottom: 16px;
}
.recharge-panel {
  padding: 26px 24px 22px;
  border: 1px solid rgba(102, 126, 234, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}
.recharge-panel__head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.recharge-panel__title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.recharge-panel__sub {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.65;
}
.recharge-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .recharge-form__grid {
    grid-template-columns: minmax(200px, 280px) 1fr;
    align-items: start;
  }
}
.recharge-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #9aa7c4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.recharge-field__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.recharge-field__prefix {
  position: absolute;
  left: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #7c8aad;
  pointer-events: none;
}
.recharge-field--amount input {
  width: 100%;
  padding: 14px 16px 14px 34px;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}
.recharge-field--amount input::-webkit-outer-spin-button,
.recharge-field--amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.recharge-field--amount input:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.65);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.18);
}
.recharge-field__hint {
  margin: 8px 0 0;
  font-size: 12px;
}
.recharge-field--note input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
}
.recharge-field--note input:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
}
.recharge-form__footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.recharge-form__submit {
  min-width: 140px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
}
.recharge-faq {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.recharge-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #a5b4fc;
  list-style: none;
  position: relative;
  padding: 4px 26px 4px 0;
}
.recharge-faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid #7c8aad;
  border-bottom: 2px solid #7c8aad;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.recharge-faq[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}
.recharge-faq summary::-webkit-details-marker {
  display: none;
}
.recharge-faq__body {
  margin-top: 12px;
  line-height: 1.65;
}
.recharge-faq__body p {
  margin: 0 0 10px;
}
.recharge-faq__body code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}

@media (max-width: 520px) {
  .shop-wallet__actions {
    flex-wrap: wrap;
  }
}
