/* ============================================================
   OtpOwl 绿色主题覆盖层（加载于原版 styles.css 之后）
   主色：深绿 #1D7A46  ·  辅助：薄荷/浅绿/雾蓝
   ============================================================ */

/* ---------- CSS 变量覆盖（亮色主题） ---------- */
:root,
html[data-theme="light"] {
  --bg: #F3F7F2;
  --header-bg: rgba(243, 247, 242, 0.92);
  --ink: #14231B;
  --on-dark: #EFF7F0;
  --surface: #FFFFFF;
  --surface-alt: #F7FAF6;
  --sand: #E4EFE6;
  --line: #D5E3D6;
  --line-soft: #E6EFE7;
  --accent: #1D7A46;
  --accent-hover: #14562F;
  --accent-light: #A8D8BC;
  --btn-on-light-bg: #12241C;
  --btn-on-light-bg-hover: #1E3A2C;
  --btn-on-light-fg: #FFFFFF;
  --dark: #12241C;
  --dark-line: #1E3A2C;
  --ok: #1D7A46;
  --ok-line: #C4E4D2;
  --warn: #B07818;
  --warn-bg: #FDF6EC;
  --warn-line: #EDDFC2;
  --info-bg: #EEF6F3;
  --info-line: #C9E2D5;
  /* 自定义页面（充值/支付/我的号码）使用的补充变量 */
  --bg-card: #FFFFFF;
  --border: #D5E3D6;
  --text-muted: #5C6E62;
}

/* ---------- 暗色主题同步换绿 ---------- */
html[data-theme="dark"] {
  --bg: #0D1612;
  --header-bg: rgba(13, 22, 18, 0.92);
  --ink: #E9F2EB;
  --on-dark: #0D1612;
  --surface: #14201A;
  --surface-alt: #101A15;
  --sand: #1A2A21;
  --line: #26402F;
  --line-soft: #1C2E24;
  --accent: #4CC48A;
  --accent-hover: #6FD8A5;
  --accent-light: #235238;
  --btn-on-light-bg: #1E3A2C;
  --btn-on-light-bg-hover: #2C503D;
  --btn-on-light-fg: #EFF7F0;
  --dark: #1E3A2C;
  --dark-line: #2C503D;
  --ok: #4CC48A;
  --warn: #E0B45C;
  --warn-bg: #2A2410;
  --warn-line: #5A4A18;
  --info-bg: #14262C;
  --info-line: #27505C;
  --bg-card: #14201A;
  --border: #26402F;
  --text-muted: #8FA898;
}

/* ---------- 首页极光背景团：暖橙 → 绿系 ---------- */
.aurora .a1 { background: #C4E7CF; }
.aurora .a2 { background: #D3E7EE; }
.aurora .a3 { background: #DAF0E0; }
.aurora .a4 { background: #B2DFC6; }

/* ---------- 渐变按钮：橙 → 绿 ---------- */
.btn-primary,
.btn.btn-primary {
  background: linear-gradient(180deg, #2E9B5C 0%, var(--accent) 100%) !important;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  background: linear-gradient(180deg, #35AB68 0%, var(--accent-hover) 100%) !important;
}

/* ---------- 深色按钮：炭黑 → 墨绿 ---------- */
.btn-dark,
.btn.btn-dark {
  background: linear-gradient(180deg, #1E3A2C 0%, var(--btn-on-light-bg) 100%) !important;
}
.btn-dark:hover,
.btn.btn-dark:hover {
  background: linear-gradient(180deg, #2C503D 0%, var(--btn-on-light-bg-hover) 100%) !important;
}

/* ---------- 手机模拟器 / Hero 卡片渐变 ---------- */
.hero-visual,
.phone-card,
.sim-card,
[class*="hero"] [style*="#3A2A1C"] {
  background: linear-gradient(160deg, #1B3328 0%, #12241C 100%) !important;
}

/* ---------- 分隔/装饰渐变引用 accent，自动跟随，无需覆盖 ---------- */

/* ---------- 页头边缘渐隐 ---------- */
.fade-edge-left  { background: linear-gradient(90deg, var(--bg), rgba(243,247,242,0)) !important; }
.fade-edge-right { background: linear-gradient(90deg, rgba(243,247,242,0), var(--bg)) !important; }

/* ---------- 选中与焦点 ---------- */
::selection { background: #A8D8BC; color: #12241C; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar-thumb { background: #9CC7AB; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #1D7A46; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 链接与强调色（跟随 accent，自动生效） ---------- */
a { color: var(--accent); }

/* ---------- 语言菜单/下拉激活态 ---------- */
.lang-dropdown a[aria-current="true"] { color: var(--accent); }

/* ---------- 表格高亮行/最低价徽章（原为橙色系） ---------- */
.pricing-table tr.is-cheapest td,
.best-price,
.price-highlight {
  background: #EAF6EE !important;
}
.best-price .price,
.price-highlight .price { color: var(--accent) !important; }

/* ---------- FAQ / 步骤编号圆点 ---------- */
.step-num,
.faq-num {
  background: #EAF6EE !important;
  color: var(--accent) !important;
}

/* ---------- app 自定义页（充值/支付）统一绿色 ---------- */
.pay-copy { color: var(--accent) !important; border-color: var(--border) !important; }
.pay-copy:hover { background: #EAF6EE !important; }
.pay-warn { background: #FDF6EC !important; color: #8A6210 !important; border-color: #EDDFC2 !important; }
.sms-code { color: var(--accent) !important; }
.prov-badge.real { color: var(--accent) !important; border-color: var(--accent) !important; }

/* ---------- 顶栏快捷入口（首页/充值/余额/实名通道） ---------- */
.user-links{display:flex;align-items:center;gap:16px;margin-right:10px;}
.user-links a{font-size:14px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap;letter-spacing:.01em;}
.user-links a:hover{color:var(--accent);}
.user-links a.nav-balance{color:var(--accent);}
@media (max-width: 900px){.user-links{display:none;}}

/* Cookie 横幅：已有同意记录（html[data-cookie-consent]）则永久隐藏 */
html[data-cookie-consent] .cookie-consent { display: none !important; }

/* ---------- 首页 Hero：文字上移 + 卖点加大加粗 ---------- */
.hero { padding: 36px 0 80px; }
.checks {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  gap: 32px !important;
  padding-top: 6px !important;
}
.check svg { width: 22px !important; height: 22px !important; stroke-width: 2.6 !important; }
@media (max-width: 900px) {
  .hero { padding: 28px 0 56px; }
  .checks { font-size: 16px !important; gap: 12px !important; }
  .check svg { width: 18px !important; height: 18px !important; }
}
