﻿/* 全站统一：航海海青风（只改视觉，不改布局） */

:root {
  --bg: #f4f7f6;
  --bg-elevated: #ecf4f2;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink2: #475569;
  --ink3: #94a3b8;
  --ink4: #cbd5e1;
  --line: #e2e8f0;
  --line2: #cbd5e1;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-bg: #f0fdfa;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-bg: #f0fdfa;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 8px 24px rgba(15, 23, 42, .04);
  --shadow-hover: 0 12px 28px rgba(13, 148, 136, .1);
  --header-h: 52px;
  --container: 1040px;
}

body {
  background:
    radial-gradient(900px 320px at 8% -12%, rgba(45, 212, 191, .14), transparent 55%),
    radial-gradient(700px 280px at 96% 0%, rgba(56, 189, 248, .08), transparent 50%),
    var(--bg);
  color: var(--ink);
}
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }

.site-header {
  background: rgba(255, 255, 255, .88) !important;
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(13, 148, 136, .1) !important;
}
.logo-mark {
  background: linear-gradient(145deg, #0d9488, #0891b2) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .25) !important;
}
img.logo-mark.logo-img {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
.nav a.active {
  color: var(--primary) !important;
  background: transparent !important;
  font-weight: 700 !important;
}
.nav a.active::after {
  background: linear-gradient(90deg, #0d9488, #0891b2) !important;
  height: 2px !important;
  border-radius: 2px 2px 0 0 !important;
}
.header-search {
  background: var(--bg-elevated) !important;
  border-radius: 999px !important;
}
.header-search:focus-within {
  background: #fff !important;
  border-color: #99f6e4 !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .18);
}

.btn-primary {
  background: linear-gradient(135deg, #0d9488, #0891b2) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px rgba(13, 148, 136, .25) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0f766e, #0e7490) !important;
  border-color: transparent !important;
  filter: brightness(1.03);
}
.btn-outline, .btn-ghost {
  border-radius: 999px !important;
}
.btn-outline:hover {
  border-color: #99f6e4 !important;
  color: var(--primary) !important;
  background: var(--primary-bg) !important;
}
.badge-vip {
  background: #ccfbf1 !important;
  color: #0f766e !important;
  border-radius: 999px !important;
}
.badge-novip { color: var(--primary) !important; }

.panel,
.side-card,
.article,
.vip-panel,
.feed-list,
.list-item,
.sc-post,
.tp-article,
.tp-comments,
.tp-composer,
.uc-card,
.empty {
  box-shadow: var(--shadow) !important;
  border: 1px solid rgba(15, 23, 42, .06) !important;
  border-radius: var(--radius-lg) !important;
}
.feed-shell .feed-toolbar {
  border-color: rgba(15, 23, 42, .06) !important;
  border-radius: 18px 18px 0 0 !important;
  box-shadow: none !important;
}
.feed-shell .feed-filters-wrap {
  border-color: rgba(15, 23, 42, .06) !important;
  border-radius: 0 0 18px 18px !important;
  box-shadow: var(--shadow) !important;
  margin-bottom: 12px !important;
}
.feed-shell .feed-filters {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}
.home,
.page-layout,
.forum-layout,
.community-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 16px !important;
  align-items: start !important;
}
.home-side,
.page-side,
.forum-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.side-card {
  padding: 16px 18px;
  background: #fff !important;
}
.side-card h3 {
  font-weight: 700 !important;
}
.stat-row > div {
  background: var(--primary-bg) !important;
  border-radius: 12px !important;
}
.stat-row b { color: var(--primary-hover) !important; }
.vip-box-side {
  background: linear-gradient(145deg, #115e59, #0d9488) !important;
  border-radius: 14px !important;
  padding: 20px 18px !important;
  box-shadow: 0 10px 28px rgba(13, 148, 136, .22);
}
.vip-box-side h3 { font-size: 16px !important; font-weight: 800 !important; }
.vip-box-side .price { font-size: 28px !important; font-weight: 800 !important; }
.vip-box-side a {
  color: #115e59 !important;
  height: 40px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.pagination .current {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
}
.feed-tabs a.on {
  background: linear-gradient(135deg, #0d9488, #0891b2) !important;
  color: #fff !important;
}
.mk-strip-cta,
.hh-feature-tag,
.mk-feature-badge {
  background: #0d9488 !important;
}
.feed-filters a.on,
.filter-chip.active {
  color: #0d9488 !important;
  background: #f0fdfa !important;
}
.circle-tabs a.on {
  color: #fff !important;
  background: linear-gradient(135deg, #0d9488, #0891b2) !important;
}
.circle-tabs a.on::after,
.auth-tab.on::after { background: #0d9488 !important; }
.tag-gold {
  background: #f0fdfa !important;
  color: #0d9488 !important;
}
.pay-type.active {
  border-color: #0d9488 !important;
  color: #0d9488 !important;
  background: #f0fdfa !important;
}
.vip-price,
.vip-num { color: #0d9488 !important; }
.vip-gate-only,
.vip-only-label {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin: 0 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #f0fdfa;
  color: #0d9488;
}
.vip-box-side .vip-only-label {
  background: rgba(255,255,255,.2);
  color: #fff;
  margin-bottom: 10px;
}
.vip-gate-price { display: none !important; }

/* ===== 转化头图（首页 / 航海 / VIP 共用骨架） ===== */
.main:has(.vip-page),
.main:has(.sell-page) {
  padding-top: 0 !important;
}

.sell-page { padding-bottom: 40px; }
.sell-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13,148,136,.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(15,118,110,.1), transparent 50%),
    linear-gradient(180deg, #f0fdfa 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
  margin: 0 0 24px;
}
.sell-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
}
.sell-kicker {
  font-size: 13px; font-weight: 600; color: #0d9488;
  letter-spacing: .02em; margin-bottom: 10px;
}
.sell-hero-copy h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; line-height: 1.2; color: var(--ink);
  margin: 0 0 12px; letter-spacing: -.02em;
}
.sell-lead {
  font-size: 16px; line-height: 1.65; color: var(--ink2);
  margin: 0 0 18px; max-width: 34em;
}
.sell-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.sell-pills span {
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #fff; border: 1px solid #99f6e4; color: #0f766e;
}
.sell-stats {
  display: flex; flex-wrap: wrap; gap: 20px 28px;
}
.sell-stats div { display: flex; align-items: baseline; gap: 6px; }
.sell-stats b { font-size: 22px; font-weight: 800; color: var(--ink); }
.sell-stats span { font-size: 13px; color: var(--ink3); }

.sell-buy {
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 40px rgba(13, 148, 136, .1);
  position: sticky; top: calc(var(--header-h) + 12px);
}
.sell-buy-badge {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px; margin-bottom: 12px;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  background: #0d9488; color: #fff;
}
.sell-buy-badge-ok { background: #059669; }
.sell-buy-title {
  font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--ink);
}
.sell-buy-price {
  display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px;
}
.sell-currency { font-size: 22px; font-weight: 700; color: #0d9488; }
.sell-num {
  font-size: 48px; font-weight: 800; line-height: 1;
  letter-spacing: -.03em; color: #0d9488;
}
.sell-unit { font-size: 14px; color: var(--ink3); margin-left: 6px; }
.sell-perday { font-size: 13px; color: var(--ink3); margin: 0 0 16px; }
.sell-checks {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.sell-checks li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--ink2); line-height: 1.45;
}
.sell-checks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #0d9488;
  box-shadow: inset 0 0 0 3px #f0fdfa;
}
.sell-cta {
  height: 48px !important; font-size: 16px !important; font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(13, 148, 136, .28) !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 100%;
}
.sell-cta-row {
  display: flex; gap: 10px;
}
.sell-cta-half {
  flex: 1; height: 44px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  font-weight: 700 !important; border-radius: 10px !important;
}
.sell-secure {
  text-align: center; font-size: 12px; color: var(--ink3);
  margin: 12px 0 0;
}
.sell-secure a { color: #0d9488; }
.sell-section-hd { margin-bottom: 14px; }
.sell-section-hd h2 {
  font-size: 20px; font-weight: 800; margin: 0 0 4px; color: var(--ink);
}
.sell-section-hd p { margin: 0; color: var(--ink3); font-size: 13px; }
.sell-bottom-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, #115e59, #0d9488);
  color: #fff; border-radius: 16px; padding: 24px 22px;
  margin-top: 28px;
}
.sell-bottom-cta h2 { font-size: 18px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.sell-bottom-cta p { margin: 0; font-size: 14px; opacity: .9; }
.sell-bottom-cta .btn-primary {
  background: #fff !important; color: #0f766e !important;
  border-color: #fff !important; flex-shrink: 0; font-weight: 700 !important;
}

.home-sell .home { margin-top: 0; }
.home-sell.sell-page { padding-bottom: 24px; }

@media (max-width: 900px) {
  .sell-page { padding-bottom: 88px; }
  .sell-hero { padding: 20px 0 16px; margin-bottom: 16px; }
  .sell-hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .sell-hero-copy { order: 1; }
  .sell-buy { order: 2; position: static; width: 100%; padding: 18px 14px 16px; border-radius: 14px; }
  .sell-hero-copy h1 { font-size: 24px; }
  .sell-lead { font-size: 14px; margin-bottom: 12px; }
  .sell-pills span { height: 28px; font-size: 11px; padding: 0 10px; }
  .sell-stats b { font-size: 18px; }
  .sell-num { font-size: 36px; }
  .sell-cta { height: 46px !important; font-size: 15px !important; }
  .sell-bottom-cta {
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 18px 14px; border-radius: 14px;
  }
  .sell-bottom-cta .btn-primary { width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .sell-cta-row { flex-direction: column; }
}

/* ===== VIP 开通页 ===== */
.vip-page { padding-bottom: 48px; }
.vip-hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13,148,136,.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(15,118,110,.1), transparent 50%),
    linear-gradient(180deg, #f0fdfa 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
  margin: 0 0 28px;
}
.vip-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
  gap: 28px;
  align-items: start;
}
.vip-kicker {
  font-size: 13px; font-weight: 600; color: #0d9488;
  letter-spacing: .02em; margin-bottom: 10px;
}
.vip-hero-copy h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.2; color: var(--ink);
  margin: 0 0 12px; letter-spacing: -.02em;
}
.vip-lead {
  font-size: 16px; line-height: 1.65; color: var(--ink2);
  margin: 0 0 18px; max-width: 34em;
}
.vip-hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.vip-hero-pills span {
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #fff; border: 1px solid #99f6e4; color: #0f766e;
}
.vip-hero-stats {
  display: flex; flex-wrap: wrap; gap: 20px 28px;
  padding-top: 4px;
}
.vip-hero-stats div { display: flex; align-items: baseline; gap: 6px; }
.vip-hero-stats b { font-size: 22px; font-weight: 800; color: var(--ink); }
.vip-hero-stats span { font-size: 13px; color: var(--ink3); }

.vip-buy {
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 40px rgba(13, 148, 136, .1);
  position: sticky; top: calc(var(--header-h) + 12px);
}
.vip-buy-badge {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px; margin-bottom: 12px;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  background: #0d9488; color: #fff;
}
.vip-buy-price {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 4px;
}
.vip-currency { font-size: 22px; font-weight: 700; color: #0d9488; }
.vip-num { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.vip-unit { font-size: 14px; color: var(--ink3); margin-left: 6px; }
.vip-perday { font-size: 13px; color: var(--ink3); margin: 0 0 16px; }
.vip-buy-checks {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.vip-buy-checks li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--ink2); line-height: 1.45;
}
.vip-buy-checks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #0d9488;
  box-shadow: inset 0 0 0 3px #f0fdfa;
}
.vip-cta {
  height: 48px !important; font-size: 16px !important; font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(13, 148, 136, .28) !important;
}
.vip-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 148, 136, .35) !important;
}
.vip-secure {
  text-align: center; font-size: 12px; color: var(--ink3);
  margin: 12px 0 0;
}
.vip-buy .pay-types { margin: 0 0 12px; }
.vip-buy .pay-type {
  height: 42px; border-radius: 8px; font-weight: 600;
}

.vip-section { margin-bottom: 36px; }
.vip-section-hd { margin-bottom: 16px; }
.vip-section-hd h2 {
  font-size: 22px; font-weight: 800; margin: 0 0 6px; color: var(--ink);
}
.vip-section-hd p { margin: 0; color: var(--ink3); font-size: 14px; }
.vip-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.vip-benefit {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 16px;
}
.vip-benefit-no {
  display: block; font-size: 12px; font-weight: 700;
  color: #0d9488; margin-bottom: 10px; letter-spacing: .06em;
}
.vip-benefit h3 {
  font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--ink);
}
.vip-benefit p {
  margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink3);
}

.vip-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vip-compare-col {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 20px; position: relative;
}
.vip-compare-col.is-vip {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 40%);
  box-shadow: 0 8px 28px rgba(13, 148, 136, .08);
}
.vip-compare-tag {
  position: absolute; top: 14px; right: 14px;
  height: 24px; padding: 0 10px;
  display: inline-flex; align-items: center;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  background: #0d9488; color: #fff;
}
.vip-compare-col h3 {
  font-size: 18px; font-weight: 800; margin: 0 0 14px;
}
.vip-compare-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.vip-compare-col li {
  font-size: 14px; color: var(--ink2); padding-left: 20px; position: relative;
}
.vip-compare-col li::before {
  content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700;
}
.vip-compare-col li.off { color: var(--ink3); }
.vip-compare-col li.off::before { content: "×"; color: #9ca3af; }
.vip-compare-cta {
  margin-top: 18px; width: 100%; height: 42px;
}

.vip-bottom-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, #115e59, #0d9488);
  color: #fff; border-radius: 16px; padding: 24px 22px;
}
.vip-bottom-cta h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.vip-bottom-cta p { margin: 0; font-size: 14px; opacity: .9; }
.vip-bottom-cta .btn-primary {
  background: #fff !important; color: #0f766e !important;
  border-color: #fff !important; flex-shrink: 0;
  font-weight: 700 !important;
}
.vip-bottom-cta .btn-primary:hover {
  background: #f0fdfa !important; color: #0f766e !important;
}

.vip-mobile-bar { display: none; }
.vip-mobile-bar.is-hidden { display: none !important; }

@media (max-width: 900px) {
  .vip-page { padding-bottom: 88px; }
  .vip-hero {
    padding: 20px 0 16px;
    margin: 0 0 16px;
  }
  .vip-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* 手机先展示购买卡，减少滑动成本 */
  .vip-hero-copy { order: 1; }
  .vip-buy { order: 2; position: static; width: 100%; max-width: none; }
  .vip-kicker { font-size: 12px; margin-bottom: 8px; }
  .vip-hero-copy h1 { font-size: 26px; margin-bottom: 8px; }
  .vip-lead { font-size: 14px; margin-bottom: 12px; }
  .vip-hero-pills { gap: 6px; margin-bottom: 14px; }
  .vip-hero-pills span { height: 28px; padding: 0 10px; font-size: 11px; }
  .vip-hero-stats { gap: 14px 18px; }
  .vip-hero-stats b { font-size: 18px; }
  .vip-buy {
    padding: 18px 14px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, .1);
  }
  .vip-num { font-size: 40px; }
  .vip-buy-checks li { font-size: 13px; }
  .vip-cta {
    height: 46px !important;
    font-size: 15px !important;
    -webkit-tap-highlight-color: transparent;
  }
  .vip-cta:hover { transform: none; }
  .vip-buy .pay-type { height: 44px; font-size: 14px; }
  .vip-section { margin-bottom: 24px; }
  .vip-section-hd h2 { font-size: 18px; }
  .vip-benefit-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vip-benefit { padding: 14px 12px; border-radius: 10px; }
  .vip-benefit h3 { font-size: 15px; }
  .vip-benefit p { font-size: 12px; }
  .vip-compare { grid-template-columns: 1fr; gap: 10px; }
  .vip-compare-col { padding: 18px 14px; border-radius: 12px; }
  .vip-compare-cta { height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .vip-bottom-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .vip-bottom-cta h2 { font-size: 17px; }
  .vip-bottom-cta .btn-primary {
    width: 100%;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .vip-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 250;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
    backdrop-filter: blur(8px);
  }
  .vip-mobile-bar-price {
    display: flex; align-items: baseline; gap: 4px; min-width: 0;
  }
  .vip-mobile-bar-price b {
    font-size: 22px; font-weight: 800; color: #0d9488; line-height: 1;
  }
  .vip-mobile-bar-price span { font-size: 12px; color: var(--ink3); }
  .vip-mobile-bar-btn {
    flex-shrink: 0;
    height: 42px !important;
    padding: 0 18px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
  }
}
@media (max-width: 640px) {
  .vip-benefit-grid { grid-template-columns: 1fr; }
  .vip-hero-copy h1 { font-size: 24px; }
  .vip-num { font-size: 36px; }
  .vip-currency { font-size: 18px; }
  .vip-secure { font-size: 11px; line-height: 1.5; }
  .vip-status { font-size: 13px; line-height: 1.5; }
}

.site-header { overflow: visible; z-index: 300; }
.header-user-link { display: none; align-items: center; }
.header-av-letter {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f0fdfa; color: #0d9488;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.nav-mobile-only { display: none !important; }
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(15, 23, 42, .35);
  z-index: 190;
}
.nav-mask.open { display: block; }
body.nav-open { overflow: hidden; }

/* ===== 个人中心 ===== */
.uc-hero {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 20px; margin-bottom: 14px;
}
.uc-hero-av {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: #f0fdfa; color: #0d9488; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.uc-hero-av img { width: 100%; height: 100%; object-fit: cover; }
.uc-hero-meta { flex: 1; min-width: 0; }
.uc-hero-meta h1 {
  font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uc-hero-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.uc-hero-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.uc-hero-stats div { display: flex; align-items: baseline; gap: 6px; }
.uc-hero-stats b { font-size: 18px; color: var(--ink); }
.uc-hero-stats span { font-size: 13px; color: var(--ink3); }
.uc-tabs {
  display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin-bottom: 12px; padding-bottom: 2px;
}
.uc-tabs a {
  flex-shrink: 0; height: 36px; padding: 0 14px;
  display: inline-flex; align-items: center;
  border-radius: 18px; font-size: 14px; color: var(--ink2);
  background: #fff; border: 1px solid var(--line);
}
.uc-tabs a.on {
  background: #f0fdfa; color: #0d9488; border-color: #99f6e4; font-weight: 600;
}
.uc-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 16px; min-height: 160px;
}
.uc-home-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.uc-home-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 14px; border-radius: 10px;
  background: #f8fafc; border: 1px solid var(--line); color: inherit;
}
.uc-home-card:hover { border-color: #99f6e4; background: #f0fdfa; }
.uc-home-card b { font-size: 20px; color: var(--ink); }
.uc-home-card span { font-size: 13px; color: var(--ink3); }
.uc-list { display: flex; flex-direction: column; }
.uc-list-item {
  display: block; padding: 14px 2px;
  border-bottom: 1px solid var(--line); color: inherit;
}
.uc-list-item:last-child { border-bottom: 0; }
.uc-list-item:hover .uc-list-title { color: #0d9488; }
.uc-list-title {
  font-size: 15px; font-weight: 600; color: var(--ink);
  line-height: 1.45; margin-bottom: 6px;
}
.uc-list-meta {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  font-size: 12px; color: var(--ink3);
}

/* ===== 评论 / 楼中楼 ===== */
.topic-panel { overflow: hidden; }
.cmt-item {
  display: flex; gap: 12px;
  padding: 16px; border-bottom: 1px solid var(--line);
}
.cmt-item:last-child { border-bottom: 0; }
.cmt-op { background: #fafbfc; }
.cmt-av { flex-shrink: 0; }
.cmt-avatar, img.cmt-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; display: block;
  background: #f0fdfa; color: #0d9488;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cmt-main { flex: 1; min-width: 0; }
.cmt-hd {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 10px; margin-bottom: 6px;
}
.cmt-name { font-size: 14px; font-weight: 600; color: var(--ink); }
a.cmt-name:hover { color: #0d9488; }
a.cmt-av { display: block; flex-shrink: 0; }
.meta-author { color: var(--ink2); font-weight: 500; }
a.meta-author:hover { color: #0d9488; }
.uc-joined { font-size: 12px; color: var(--ink3); }
.cmt-role {
  font-size: 11px; color: #0d9488; background: #f0fdfa;
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}
.cmt-time, .cmt-floor { font-size: 12px; color: var(--ink3); }
.cmt-floor { margin-left: auto; }
.cmt-reply-to-label { font-size: 12px; color: #0d9488; }
.cmt-body {
  font-size: 15px; line-height: 1.75; color: var(--ink);
  word-break: break-word;
}
.cmt-body p { margin-bottom: 8px; }
.cmt-ft { margin-top: 8px; }
.cmt-reply-btn {
  border: 0; background: transparent; padding: 0;
  font-size: 13px; color: var(--ink3); cursor: pointer;
}
.cmt-reply-btn:hover { color: #0d9488; }
.cmt-children {
  margin-top: 12px;
  padding: 4px 0 0 0;
  border-left: 2px solid #e5e7eb;
}
.cmt-child {
  padding: 12px 0 12px 14px !important;
  border-bottom: 0 !important;
  background: transparent;
}
.cmt-child .cmt-avatar, .cmt-child img.cmt-avatar {
  width: 32px; height: 32px; font-size: 12px;
}
.cmt-section { border-top: 8px solid var(--bg); }
.cmt-section-hd {
  display: flex; align-items: center;
  padding: 14px 16px 4px; border-bottom: 0;
}
.cmt-section-hd h2 { font-size: 16px; font-weight: 700; margin: 0; }
.cmt-empty {
  padding: 28px 16px; text-align: center;
  color: var(--ink3); font-size: 14px;
}
.cmt-composer { margin-top: 12px; }
.cmt-composer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 0;
}
.cmt-composer-hd h2 { font-size: 15px; font-weight: 700; margin: 0; }
.cmt-cancel-reply {
  border: 0; background: transparent; color: var(--ink3);
  font-size: 13px; cursor: pointer;
}
.cmt-cancel-reply:hover { color: #0d9488; }
.cmt-composer-body { padding: 12px 16px 16px; }
.cmt-composer-body textarea {
  min-height: 88px; border-radius: 10px; resize: vertical;
}

@media (max-width: 900px) {
  .container { width: calc(100% - 24px); }
  .main { padding: 12px 0 48px; }
  .header-inner {
    gap: 8px;
    position: relative;
    justify-content: space-between;
  }
  .logo {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
  }
  .logo-text {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-search { display: none !important; }
  .header-actions {
    margin-left: 0 !important;
    flex-shrink: 0;
    gap: 6px;
  }
  /* 登录/注册只放进展开菜单，顶栏只留汉堡按钮 */
  .header-actions .btn-ghost.js-auth-open,
  .header-actions .btn-primary.js-auth-open {
    display: none !important;
  }
  .nav-mobile-only { display: flex !important; }
  .nav {
    display: none !important;
    position: fixed !important;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100% !important;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    padding: 8px 12px 16px !important;
    border-bottom: 1px solid var(--line);
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    height: auto !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px;
  }
  .nav.open { display: flex !important; }
  .nav a {
    height: 44px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    width: 100%;
  }
  .nav a.active::after { display: none !important; }
  .nav a.active { background: #f0fdfa !important; }
  .nav-toggle { display: inline-flex !important; }
  .user-menu { display: none !important; }
  .header-user-link { display: inline-flex !important; }
  .home, .page-layout, .forum-layout, .community-layout, .tp-layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .home-side,
  .page-side,
  .forum-side {
    position: static !important;
  }
}

@media (min-width: 901px) {
  .header-user-link { display: none !important; }
  .nav-mobile-only { display: none !important; }
  .nav-mask { display: none !important; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 20px); }
  .auth-modal {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }
  .auth-modal-panel {
    width: min(400px, 100%) !important;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border-radius: 16px !important;
    padding: 24px 18px 28px;
    margin: 0 auto;
  }
  .post-item { flex-direction: column; gap: 10px; padding: 14px; }
  .post-user { display: flex; align-items: center; gap: 10px; }
  .post-user .avatar { margin: 0; width: 32px; height: 32px; }
  .urole { display: none; }
  .vip-box,
  .user-layout,
  .user-stats { grid-template-columns: 1fr !important; }
  .uc-hero { padding: 16px; gap: 14px; }
  .uc-hero-av { width: 60px; height: 60px; font-size: 22px; }
  .uc-hero-meta h1 { font-size: 18px; }
  .uc-home-grid { grid-template-columns: 1fr 1fr; }
  .cmt-item { padding: 14px 12px; gap: 10px; }
  .cmt-avatar, img.cmt-avatar { width: 36px; height: 36px; }
  .cmt-child { padding-left: 10px !important; }
}

/* ===== 卡密兑换模态框 ===== */
.card-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.card-modal[hidden] { display: none !important; }
.card-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .4); backdrop-filter: blur(4px); }
.card-modal-panel {
  position: relative; z-index: 1;
  width: min(440px, 94%); background: #fff;
  border-radius: 18px; padding: 32px 28px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  animation: modalIn .25s ease both;
}
.card-modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border: 0; background: #f8fafc;
  border-radius: 10px; font-size: 20px; color: var(--ink3); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.card-modal-x:hover { background: var(--bg); color: var(--ink); }
.card-modal-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.card-modal-icon { font-size: 24px; }
.card-modal-title { font-size: 20px; font-weight: 800; margin: 0; color: var(--ink); letter-spacing: -.02em; }
.card-modal-desc { color: var(--ink3); font-size: 14px; margin: 0 0 22px; line-height: 1.6; }
.card-modal-form .form-group { margin-bottom: 16px; }
.card-modal-form .form-group label {
  display: block; font-size: 13px; color: var(--ink2); margin-bottom: 8px; font-weight: 600;
}
.card-modal-form .form-group input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line2); background: #fff; font-size: 15px; color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card-modal-form .form-group input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .12);
}
.card-modal-tip { font-size: 12.5px; color: var(--ink3); margin-top: 14px; line-height: 1.5; }
.card-redeem-btn {
  width: 100%; height: 46px; font-size: 15px; font-weight: 700;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(13, 148, 136, .28) !important;
  margin-top: 14px;
}
.card-redeem-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, .38) !important;
}

/* ===== VIP 前台页面整体美化 ===== */
.vip-hero-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 34px;
  align-items: flex-start;
}
.vip-hero-copy { flex: 1; min-width: 0; max-width: none; }
.vip-kicker {
  font-size: 13px; font-weight: 700; color: #0d9488;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.vip-hero-copy h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900; line-height: 1.15; color: var(--ink);
  margin: 0 0 16px; letter-spacing: -.03em;
}
.vip-lead {
  font-size: 17px; line-height: 1.7; color: var(--ink2);
  margin: 0 0 22px; max-width: 540px;
}
.vip-hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px;
}
.vip-hero-pills span {
  height: 34px; padding: 0 16px;
  display: inline-flex; align-items: center;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid #99f6e4; color: #0f766e;
  box-shadow: 0 2px 6px rgba(13, 148, 136, .12);
}
.vip-hero-stats {
  display: flex; gap: 30px; margin-bottom: 30px; flex-wrap: wrap;
}
.vip-hero-stats div { display: flex; align-items: baseline; gap: 8px; }
.vip-hero-stats b { font-size: 24px; font-weight: 900; color: var(--ink); }
.vip-hero-stats span { font-size: 14px; color: var(--ink3); }

/* 左侧：适用人群 */
.vip-left-more { margin-top: 0; display: grid; gap: 22px; }
.vip-au-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.vip-au-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 16px; text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.vip-au-card:hover { border-color: #99f6e4; transform: translateY(-2px); }
.vip-au-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.vip-au-card h4 {
  font-size: 15px; font-weight: 800; margin: 0 0 8px; color: var(--ink);
  display: block;
}
.vip-au-card p {
  font-size: 13px; color: var(--ink3); margin: 0; line-height: 1.6;
}

/* 左侧：FAQ */
.vip-faq {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px; box-shadow: var(--shadow);
}
.vip-faq-title {
  font-size: 17px; font-weight: 800; margin: 0 0 16px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.vip-faq-list { display: flex; flex-direction: column; gap: 0; }
.vip-faq-item {
  border-bottom: 1px solid #f1f5f9; padding: 14px 0;
}
.vip-faq-item:last-child { border-bottom: 0; }
.vip-faq-q {
  font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 14.5px;
  cursor: pointer;
}
.vip-faq-q:hover { color: var(--primary); }
.vip-faq-a { color: var(--ink2); font-size: 13.5px; line-height: 1.7; }

/* 右侧：购买卡片 */
.vip-buy {
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 20px;
  padding: 32px 30px 30px;
  box-shadow: 0 16px 48px rgba(13, 148, 136, .12);
  flex: 0 0 420px;
  position: sticky; top: calc(var(--header-h) + 12px);
}
.vip-buy-badge {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 14px; margin-bottom: 16px;
  border-radius: 6px; font-size: 12px; font-weight: 800;
  background: #0d9488; color: #fff;
  letter-spacing: .04em;
}
.vip-buy-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.vip-currency { font-size: 24px; font-weight: 800; color: #0d9488; }
.vip-num { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: #0d9488; }
.vip-unit { font-size: 16px; color: var(--ink3); margin-left: 4px; }
.vip-perday { font-size: 14px; color: var(--ink3); margin: 0 0 20px; }
.vip-buy-checks {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.vip-buy-checks li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; color: var(--ink2); line-height: 1.55;
}
.vip-buy-checks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 4px;
  background: #0d9488;
  box-shadow: inset 0 0 0 3px #f0fdfa;
}
.form-error {
  margin-bottom: 16px; padding: 12px 16px;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b; border-radius: 10px; font-size: 14px;
}
.vip-secure {
  text-align: center; font-size: 12.5px; color: var(--ink3);
  margin: 16px 0 0; letter-spacing: .02em;
}

/* 右侧：卡密区域 */
.vip-card-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid #f1f5f9; }
.vip-card-divider {
  display: flex; align-items: center; text-align: center;
  margin: 0 0 16px; color: var(--ink3); font-size: 12px; font-weight: 600;
}
.vip-card-title {
  font-size: 17px; font-weight: 800; margin: 0 0 8px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.vip-card-desc { color: var(--ink3); font-size: 13.5px; margin: 0 0 16px; line-height: 1.6; }

/* 响应式 */
@media (max-width: 900px) {
  .vip-hero-inner { flex-direction: column; gap: 24px; }
  .vip-hero-copy { max-width: none; }
  .vip-buy { position: static; width: 100%; flex: none; padding: 24px 20px 22px; border-radius: 16px; }
  .vip-num { font-size: 44px; }
  .vip-au-grid { grid-template-columns: 1fr; }
  .vip-left-more { gap: 18px; }
  .card-redeem-btn { margin-top: 12px; }
}
@media (max-width: 640px) {
  .card-modal { padding: 16px; }
  .card-modal-panel { width: 100%; max-width: none; border-radius: 18px; padding: 26px 22px 30px; }
  .card-modal-title { font-size: 18px; }
  .vip-hero-pills span { height: 30px; font-size: 11.5px; padding: 0 12px; }
  .vip-hero-stats { gap: 18px 24px; }
  .vip-hero-stats b { font-size: 20px; }
  .vip-au-card { padding: 18px 14px; }
  .vip-au-icon { font-size: 28px; margin-bottom: 10px; }
  .vip-au-card h4 { font-size: 14px; }
  .vip-faq { padding: 20px 18px; }
  .vip-faq-title { font-size: 16px; }
  .vip-buy-checks li { font-size: 14px; }
}
