/* 联络我们 /support — 独立排版 */

.vpn-support-page #maincol {
  max-width: 920px;
}

.support-page {
  --support-accent: #c9a227;
  --support-accent-soft: rgba(201, 162, 39, 0.12);
  --support-card-bg: #fff;
  --support-card-border: rgba(0, 0, 0, 0.06);
  --support-text: #2c3338;
  --support-muted: #5c6368;
}

.support-hero {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  margin: 0 0 1.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a2332 0%, #243044 42%, #1e3a4a 100%);
  color: #f0f4f8;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.support-hero::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.support-hero-inner {
  position: relative;
  z-index: 1;
}

.support-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.95);
  font-weight: 600;
}

.support-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  border: none;
}

.support-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(240, 244, 248, 0.88);
  max-width: 52em;
}

.support-hero-links {
  margin: 0;
  font-size: 0.95rem;
}

.support-hero-links a {
  color: #e8d48a;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 212, 138, 0.45);
}

.support-hero-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* 联络页主区：仅工单 + TG 两卡并排（桌面），不再独占整行 */
.support-grid--primary .support-card--featured {
  grid-column: auto;
}

@media (min-width: 720px) {
  .support-grid--primary {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
}

.support-card {
  position: relative;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--support-card-bg);
  border: 1px solid var(--support-card-border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.support-card:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.support-card--featured {
  grid-column: 1 / -1;
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(180deg, #fffdf8 0%, #fff 48%);
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.12);
}

.support-card-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a5e0a;
  background: linear-gradient(180deg, #f5e6b8, #e8d48a);
  border-radius: 6px;
}

.support-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--support-text);
  line-height: 1.3;
}

.support-card > p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--support-muted);
}

.support-card-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--support-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-card-list li {
  margin-bottom: 0.35rem;
}

.support-card-foot {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--support-muted);
}

.support-card-foot a {
  color: #2a6ebb;
  font-weight: 600;
  text-decoration: none;
}

.support-card-foot a:hover {
  text-decoration: underline;
}

.support-btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a !important;
  background: linear-gradient(180deg, #e8d48a, #c9a227);
  border: none;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}

.support-btn:hover {
  filter: brightness(1.05);
  color: #111 !important;
}

.support-btn--secondary {
  background: linear-gradient(180deg, #5a9fd4, #3d7eb8);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(61, 126, 184, 0.35);
}

.support-btn--secondary:hover {
  color: #fff !important;
}

.support-email {
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-all;
  color: #2a6ebb !important;
  text-decoration: none !important;
}

.support-email:hover {
  text-decoration: underline !important;
}

.support-legacy {
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.25rem;
  background: #f6f7f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.support-legacy h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--support-muted);
}

.support-legacy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--support-muted);
}

/* 「其他联系方式」：弱化层级，不用虚线框，更接近脚注/次要信息 */
.support-legacy--other {
  padding: 1rem 1.2rem 1.1rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
  background: linear-gradient(180deg, #f9fafb 0%, #f1f3f6 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.support-legacy--other h3 {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7c8490;
  text-transform: none;
}

.support-legacy--other .support-legacy-line {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.support-legacy--other .support-legacy-line:last-child {
  margin-bottom: 0;
}

.support-legacy--other .support-legacy-line strong {
  font-weight: 600;
  color: #5c6370;
}

.support-email--inline {
  font-size: inherit !important;
  font-weight: 600;
  word-break: break-all;
}

.support-tips {
  padding: 1.35rem 1.5rem;
  background: var(--support-accent-soft);
  border-radius: 10px;
  border-left: 4px solid var(--support-accent);
}

.support-tips h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--support-text);
}

.support-tips ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--support-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-tips li {
  margin-bottom: 0.35rem;
}

/* 移动端：contact_us 内 */
.contact_us .support-hero {
  padding: 1.35rem 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.contact_us .support-hero h1 {
  font-size: 0.36rem;
  line-height: 1.25;
}

.contact_us .support-lead {
  font-size: 0.28rem;
  line-height: 0.42rem;
}

.contact_us .support-grid {
  gap: 0.85rem;
}

.contact_us .support-card {
  padding: 1rem 0.95rem 1.1rem;
}

.contact_us .support-card h3 {
  font-size: 0.32rem;
}

.contact_us .support-card > p,
.contact_us .support-card-list,
.contact_us .support-card-foot,
.contact_us .support-legacy p,
.contact_us .support-tips ul {
  font-size: 0.28rem;
  line-height: 0.4rem;
}

.contact_us .support-legacy--other {
  padding: 0.28rem 0.32rem;
  margin-top: 0.08rem;
  margin-bottom: 0.35rem;
  border-radius: 0.14rem;
  background: linear-gradient(180deg, #f9fafb 0%, #f0f2f5 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.contact_us .support-legacy--other h3 {
  font-size: 0.24rem !important;
  line-height: 0.34rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #8b9099 !important;
  margin: 0 0 0.14rem !important;
}

.contact_us .support-legacy--other .support-legacy-line {
  font-size: 0.24rem !important;
  line-height: 0.36rem;
  margin: 0 0 0.1rem !important;
  color: #7d7e7d !important;
}

.contact_us .support-legacy--other .support-legacy-line:last-child {
  margin-bottom: 0 !important;
}

.contact_us .support-legacy--other .support-email--inline {
  font-size: 0.24rem !important;
  font-weight: 600;
}

.contact_us .support-eyebrow {
  font-size: 0.22rem;
}

.contact_us .support-btn {
  font-size: 0.28rem;
  padding: 0.2rem 0.4rem;
}

/* 移动端：邮箱曾用 1.05rem 未随 contact_us 缩放，显得过大 */
.contact_us .support-email {
  font-size: 0.26rem !important;
  font-weight: 500;
  line-height: 1.45;
}

.contact_us .support-card-badge {
  font-size: 0.2rem;
  padding: 0.08rem 0.2rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
  .support-hero {
    padding: 1.5rem 1.15rem 1.35rem;
  }
  .support-hero h1 {
    font-size: 1.45rem;
  }
}

/*
 * 夜间模式（必须写在本文件末尾：本文件在 head 里晚于 dark-mode.css 加载，
 * 否则 .support-card / .support-card--featured 的浅色背景与渐变会盖过夜间规则，出现「白卡片」）
 */
html[data-theme="dark"] #mainBody.vpn-support-page .support-page {
  --support-card-bg: var(--dm-surface);
  --support-card-border: var(--dm-border);
  --support-text: var(--dm-text);
  --support-muted: var(--dm-muted);
}

html[data-theme="dark"] #mainBody.vpn-support-page #maincol .broder_z {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card {
  background: var(--dm-surface) !important;
  border-color: var(--dm-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card--featured {
  background: linear-gradient(180deg, var(--dm-elevated) 0%, var(--dm-surface) 45%) !important;
  border-color: rgba(201, 162, 39, 0.42) !important;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card-badge {
  color: #2a2210 !important;
  background: linear-gradient(180deg, #e8d48a, #b8941f) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card h3,
html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy:not(.support-legacy--other) h3,
html[data-theme="dark"] #mainBody.vpn-support-page .support-tips h3 {
  color: var(--dm-text) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card > p,
html[data-theme="dark"] #mainBody.vpn-support-page .support-card-list,
html[data-theme="dark"] #mainBody.vpn-support-page .support-card-list li,
html[data-theme="dark"] #mainBody.vpn-support-page .support-card-foot,
html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy p,
html[data-theme="dark"] #mainBody.vpn-support-page .support-tips ul {
  color: var(--dm-muted) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card-foot {
  border-top-color: var(--dm-border) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card-foot a,
html[data-theme="dark"] #mainBody.vpn-support-page .support-email {
  color: var(--dm-link) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-card-foot a:hover {
  color: #c5d9fc !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy {
  background: var(--dm-elevated) !important;
  border-color: var(--dm-border) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy--other {
  background: linear-gradient(180deg, var(--dm-elevated) 0%, var(--dm-surface) 100%) !important;
  border: 1px solid var(--dm-border) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy--other h3 {
  color: var(--dm-muted) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy--other .support-legacy-line {
  color: var(--dm-muted) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-legacy--other .support-legacy-line strong {
  color: var(--dm-text) !important;
  opacity: 0.88;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-tips {
  background: rgba(201, 162, 39, 0.12) !important;
  border-left-color: #d4a82a !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-hero {
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-hero h1 {
  color: #fff !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-eyebrow {
  color: rgba(232, 200, 120, 0.95) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-lead {
  color: rgba(240, 244, 248, 0.9) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-hero-links,
html[data-theme="dark"] #mainBody.vpn-support-page .support-hero-links a {
  color: #e8d48a !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-hero-links a {
  border-bottom-color: rgba(232, 212, 138, 0.45) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-btn {
  color: #1a1508 !important;
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.35) !important;
}

html[data-theme="dark"] #mainBody.vpn-support-page .support-btn--secondary {
  box-shadow: 0 2px 14px rgba(61, 126, 184, 0.35) !important;
}

/* 移动版：覆盖 contact_us .con p 的浅灰字色 */
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-card > p,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-card-foot,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-card-list,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-legacy p,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-tips ul,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-tips li {
  color: var(--dm-muted) !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-card h3,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-legacy:not(.support-legacy--other) h3,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-tips h3 {
  color: var(--dm-text) !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-legacy--other h3 {
  color: var(--dm-muted) !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-hero .support-lead {
  color: rgba(240, 244, 248, 0.9) !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-hero .support-hero-links,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-hero .support-hero-links a {
  color: #e8d48a !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-hero .support-eyebrow {
  color: rgba(232, 200, 120, 0.95) !important;
}

html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-card-foot a,
html[data-theme="dark"] .contact_us.vpn-support-page .support-page .support-email {
  color: var(--dm-link) !important;
}
