/* ======================================================================
   模块 01：趋势分析卡（wp-trend-wrapper）
   用到的结构：.wp-trend-wrapper / .floating-brand / .trend-header / .trend-body
   ====================================================================== */

/* --- 01.1 全局容器 + CSS 变量（这块决定整张趋势卡的基础风格） --- */
.wp-trend-wrapper {
  /* 配色变量（这块改色最方便） */
  --bg-color: #ffffff;
  --text-primary: #2c3e50;
  --text-gray: #666;

  /* 卡片颜色状态（positive/negative/neutral & heat） */
  --green-bg: #F3F3FA;
  --green-text:#555;
  --red-bg: #fdedec;
  --red-text: #c0392b;
  --gray-bg: #f4f6f7;
  --gray-text: #7f8c8d;

  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --radius: 12px;

  position: relative; /* 给 .floating-brand 绝对定位用 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  background: var(--bg-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  padding: 30px;
  max-width: 1000px;
  margin: 40px auto; /* 顶部留空间给左上角悬浮图 */
  border: 1px solid #eee;

  overflow: visible; /* 让左上角悬浮图可以“伸出盒子” */
}

/* --- 01.2 左上角悬浮品牌区（国旗 + 卡图标）--- */
.floating-brand {
  position: absolute;
  left: -20px;
  top: -20px;

  display: flex;
  align-items: center;
  gap: 8px;

  z-index: 10;
  background: #fff;
  padding: 8px;
  border-radius: 50px;

  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border: 1px solid #f0f0f0;
}

/* 国旗小圆图 */
.brand-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* 卡片小图标 */
.brand-card {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- 01.3 顶部标题栏（标题 + 更新时间）--- */
.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;

  padding-left: 50px; /* 避开左上角悬浮图片 */
}

.trend-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 700;
}

.trend-date {
  font-size: 0.85rem;
  color: var(--text-gray);
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- 01.4 主体布局（左边文字 + 右边指标卡片网格）--- */
.trend-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

/* 左侧文案段落 */
.trend-text p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* --- 01.5 指标卡片网格（右侧 3 宫格）--- */
.trend-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* 指标卡片通用样式（hover 微浮起） */
.metric-card {
  padding: 15px 10px;
  border-radius: 8px;
  text-align: center;
  cursor: default;

  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card:hover { transform: translateY(-3px); }

/* Positive（轻绿/偏中性） */
.metric-card.positive {
  background-color: var(--green-bg);
  border: 1px solid rgba(39, 174, 96, 0.2);
  color: var(--green-text);
}

.metric-card.positive .metric-value,
.metric-card.positive .metric-change {
  color: var(--green-text);
}

/* Negative（红） */
.metric-card.negative {
  background-color: var(--red-bg);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: var(--red-text);
}

.metric-card.negative .metric-value,
.metric-card.negative .metric-value-row {
  color: var(--red-text);
}

/* Neutral（灰） */
.metric-card.neutral {
  background-color: var(--gray-bg);
  border: 1px solid #dcdcdc;
  color: var(--gray-text);
}

.metric-card.neutral .metric-value { color: #555; }

/* 卡片标题（短标题 d-text / 手机长标题 m-text） */
.metric-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
  font-weight: 700;
  height: 20px;
}

.metric-title .m-text { display: none; } /* 手机才显示 */
.metric-title .d-text { display: inline; } /* 桌面默认显示 */

/* 卡片主数值 */
.metric-value {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 5px;
}

/* 卡片副信息（变化说明等） */
.metric-change {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

/* --- 01.6 第 3 张卡（热度）内部：数值行 + 图标 --- */
.mobile-row-wrapper { display: block; width: 100%; }

.metric-value-row {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.4rem;
  font-weight: 800;
  gap: 8px;

  margin-bottom: 5px;
}

.heat-icon { display: flex; align-items: center; }

/* 热度卡底部说明（分割线 + 小字） */
.metric-footer-info {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,0.1);

  font-size: 0.7rem;
  color: inherit;
  opacity: 0.8;
}

/* --- 01.7 手机端响应（<=768）--- */
@media (max-width: 768px) {
  .wp-trend-wrapper { padding: 20px; margin-top: 50px; }

  /* 头部：标题在上、日期在下 */
  .trend-header {
    flex-direction: column;
    align-items: flex-end;
    padding-left: 0;
    margin-top: 10px;
  }
  .trend-header h3 { align-self: flex-start; margin-bottom: 5px; }

  /* 悬浮图片移动位置，避免遮挡 */
  .floating-brand { left: 0; top: -30px; }

  /* 主体单列 */
  .trend-body { grid-template-columns: 1fr; }
  .trend-metrics { grid-template-columns: 1fr; gap: 15px; }

  /* 标题：手机显示长标题 */
  .metric-title .d-text { display: none; }
  .metric-title .m-text { display: inline; }

  /* 卡片 1/2：改成左右布局（标题左、数值右） */
  .metric-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20px;
    text-align: left;
  }
  .metric-title { margin-bottom: 0; height: auto; }
  .metric-value { margin-bottom: 0; font-size: 1.2rem; }

  /* 卡片 3：手机端特殊布局（你写的 special-mobile-layout） */
  .metric-card.special-mobile-layout {
    flex-direction: column !important;
    align-items: stretch;
    gap: 5px;
  }

  .mobile-row-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px dashed rgba(0,0,0,0.05);
    padding-top: 10px;
    margin-top: 5px;
  }

  .special-mobile-layout .metric-value-row {
    font-size: 1.1rem;
    margin-bottom: 0;
  }

  .special-mobile-layout .metric-footer-info {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
    font-size: 0.85rem;
  }
}

/* --- 01.8 Search Popularity Heat Levels（热度等级配色：heat-*）--- */
.metric-card[class*="heat-"] {
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: inherit;
}

/* 0–30 */
.metric-card.heat-low {
  background-color: #eef2f7;
  border-color: #d6dde7;
  color: #5b6b7c;
}

/* 31–60 */
.metric-card.heat-mid-low {
  background-color: #fdf6e3;
  border-color: #f5deb3;
  color: #8a6d3b;
}

/* 61–80 */
.metric-card.heat-mid {
  background-color: #fff1e6;
  border-color: #ffd2b3;
  color: #b3541e;
}

/* 81–90 */
.metric-card.heat-high {
  background-color: #ffe5d0;
  border-color: #ffb380;
  color: #c0392b;
}

/* 91–95 */
.metric-card.heat-very-high {
  background-color: #ffd6cc;
  border-color: #ff8a80;
  color: #a93226;
}

/* 96–100 */
.metric-card.heat-extreme {
  background-color: #ffcccc;
  border-color: #ff6f61;
  color: #922b21;
}

/* 热度图标跟随卡片文字颜色 */
.metric-card .heat-icon i { color: currentColor; }


/* ======================================================================
   模块 02：表格里的价格、NGN符号、涨跌箭头（wpDataTables/通用）
   用到的类：.ngn / .trend / .trend.up/.down / .price-up/.price-down / .th-help
   ====================================================================== */

/* NGN 符号：默认跟随文字，但用 opacity 让它“淡一点” */
.ngn {
  color: inherit;
  font-size: 0.85em;
  font-weight: 500;
  margin-left: 2px;
  opacity: 0.8;
}

/* 普通状态（不是涨跌包裹时）让 NGN 仍然偏灰 */
span:not(.price-up):not(.price-down) > .ngn {
  color: #9ca3af;
}

/* 箭头/趋势整体（防换行） */
.trend {
  margin-left: 6px;
  white-space: nowrap;
}

/* 上涨：红色（你站点定义：红=涨） */
.trend.up, .trend.up i, .price-up {
  color: #dc2626 !important;
  font-weight: 600;
}

/* 下跌：绿色 */
.trend.down, .trend.down i, .price-down {
  color: #16a34a !important;
  font-weight: 600;
}

/* 表头小问号/提示图标 */
.th-help {
  cursor: help;
  font-size: 12px;
  color: #9ca3af;
  margin-left: 4px;
}


/* ======================================================================
   模块 03：页面“主卡片 + 右侧内容”布局（main-wrapper / rate-card）
   用到的结构：.main-wrapper / .rate-card-container / .custom-content
   ====================================================================== */
/* ======================================================================
   Live Exchange Rate（lx- prefix）- FULL CSS
   Price 颜色不看数字，只跟随 Change 的状态
   ====================================================================== */
/* ======================================================================
   Live Exchange Rate（lx- prefix）- FULL CSS (Fixed + Optimized)
   - Price 跟随 Change 的“状态”变色（不看数字）
   - 强制 Price 数字/₦ 继承父级颜色（解决图标变绿但数字不变）
   - Dropdown 不再竖排变形（防止按钮被挤窄）
   - 右侧 bullet 文本不再突然变大（补回 bullets 样式 + 统一排版基准）
   ====================================================================== */

/* -------- 基础容器 -------- */
.lx-wrap,
.lx-hero{
  overflow: visible;
}

.lx-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0 26px;
}

.lx-hero{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  align-items: start;
}

.lx-card,
.lx-panel{
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

/* 左卡片 */
.lx-card{
  position: relative;
  padding: 42px 18px 14px;
  z-index: 5;
}

/* 右面板：统一排版基准，防主题影响忽大忽小 */
.lx-panel{
  position: relative;
  padding: 20px 22px;
  font-size: 14px;                 /* ✅ 统一基准 */
  line-height: 1.65;               /* ✅ 统一基准 */
  color: rgba(15,23,42,.78);
}

/* 顶部 */
.lx-card-top{
  margin-bottom: 14px;
}

.lx-brand{
  position: relative;
}

/* Apple badge */
.lx-brand-icon{
  position: absolute;
  top: -56px;
  left: 18px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(15,23,42,.1);
  box-shadow: 0 12px 28px rgba(15,23,42,.12);
  object-fit: contain;
  display: block;
}

/* Meta */
.lx-meta{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.03);
  margin-bottom: 14px;
}

.lx-meta-left{
  display: flex;
  gap: 10px;
  min-width: 0;
}

.lx-flag{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
}

.lx-pair{
  min-width: 0;
}

.lx-pair-top{
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.lx-pair-bottom{
  margin-top: 2px;
  font-size: 11.5px;
  color: rgba(15,23,42,.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.lx-updated{
  text-align: right;
  flex: 0 0 auto;
}

.lx-updated-label{
  font-size: 11px;
  color: rgba(15,23,42,.55);
  display: block;
}

.lx-updated-date{
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(15,23,42,.82);
  display: block;
  margin-top: 1px;
}

/* =========================
   Price（核心）
   ========================= */

.lx-price{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  padding: 14px 10px 12px;
  border-bottom: 1px dashed rgba(15,23,42,.12);
  margin-bottom: 12px;

  /* ✅ 颜色来自变量：默认黑 */
  color: var(--lxPriceColor, #0f172a);
}

.lx-price-num{
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: inherit;
}

.lx-price-ico{
  font-size: 18px;
  opacity: .45;
  color: inherit;
  transform: translateY(-2px);
}

/* ₦ 跟随数字 */
.lx-wrap .ngn{
  font-size: .32em;
  font-weight: 700;
  margin-left: 4px;
  color: inherit !important;
  line-height: 1;
  vertical-align: baseline;
}

/* ✅ 强制 Price 数字及其内部所有标签都跟随父级颜色 */
.lx-price-num,
.lx-price-num *{
  color: inherit !important;
}

/* ✅ 强制 Price 内的 ₦ 也继承 */
.lx-price .ngn,
.lx-price .ngn *{
  color: inherit !important;
}

/* =========================
   Stats
   ========================= */

.lx-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lx-stat{
  padding: 10px;
  border-radius: 14px;
  background: rgba(15,23,42,.02);
  border: 1px solid rgba(15,23,42,.06);
}

.lx-stat-label{
  font-size: 11px;
  font-weight: 700;
  color: rgba(15,23,42,.55);
  margin-bottom: 6px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lx-stat-value{
  font-size: 12px;
  color: #0f172a;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* =========================
   右侧面板
   ========================= */

.lx-panel-title{
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-right: 190px;
  color: #0f172a;
  line-height: 1.15;
}

/* Dropdown pinned top-right */
.lx-panel-dd{
  position: absolute;
  top: 10px;
  right: 14px;
  margin: 0;
  z-index: 9999;
}

/* 右侧段落（锁定字号，避免主题覆盖） */
.lx-panel-text{
  font-size: 14px;
  color: rgba(15,23,42,.78);
  line-height: 1.65;
  margin: 12px 0;
}

/* 强制 panel 内常见标签继承基准，避免忽大忽小 */
.lx-panel p,
.lx-panel span,
.lx-panel strong,
.lx-panel em,
.lx-panel a{
  font-size: inherit;
  line-height: inherit;
}

.lx-panel strong{
  font-weight: 800;
  color: #0f172a;
}

.lx-panel-foot{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  font-size: 12px;
  font-weight: 600;
  color: rgba(15,23,42,.6);
}

/* =========================
   ✅ bullets（修复：文字突然变大）
   ========================= */

.lx-panel-bullets{
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.lx-bullet{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;                 /* ✅ 固定小字号 */
  font-weight: 500;
  color: rgba(15, 23, 42, 0.75);
  line-height: 1.55;
}

.lx-bullet-dot{
  flex: 0 0 auto;
  font-weight: 900;
  line-height: 1.2;
  color: rgba(15, 23, 42, 0.5);
  margin-top: 1px;
}

/* bullet 内所有标签强制 inherit，避免主题把 strong/p 放大 */
.lx-bullet span,
.lx-bullet strong,
.lx-bullet em,
.lx-bullet a{
  font-size: inherit !important;
  line-height: inherit !important;
}

/* =========================
   ✅ Dropdown 变形修复（防逐字换行）
   ========================= */

.lx-panel-dd,
.lx-panel-dd .custom-dropdown{
  width: auto !important;
  max-width: none !important;
}

.lx-panel-dd .dropdown-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;

  min-width: 120px !important;
  padding: 6px 12px !important;
  line-height: 1.2 !important;
  border-radius: 999px;
}

.lx-panel-dd .dropdown-btn span,
.lx-panel-dd .dropdown-btn .label,
.lx-panel-dd .dropdown-btn .selected{
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.lx-panel-dd img{
  flex: 0 0 auto !important;
}

/* =========================
   响应式
   ========================= */

@media (max-width: 900px){
  .lx-hero{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .lx-wrap{ padding: 14px 0 20px; }

  .lx-price-num{ font-size: 38px; }

  .lx-panel-title{
    font-size: 22px;
    padding-right: 0;
  }

  .lx-panel-dd{
    position: static;
    margin-top: 10px;
  }

  /* 手机上按钮更紧凑一点 */
  .lx-panel-dd .dropdown-btn{
    min-width: 105px !important;
    padding: 6px 10px !important;
  }
}

/* =========================================================
   ⭐ 核心逻辑：Price 跟随 Change 的 CSS 状态（不判断数字）
   说明：只有当 Change 输出里包含这些 class/icon 时才会命中
   ========================================================= */

/* Change 是红（涨）→ Price 红 */
.lx-card:has(.lx-change .up),
.lx-card:has(.lx-change .trend.up),
.lx-card:has(.lx-change .price-up),
.lx-card:has(.lx-change .fa-caret-up),
.lx-card:has(.lx-change .fa-arrow-up){
  --lxPriceColor: #dc2626;
}

/* Change 是绿（跌）→ Price 绿 */
.lx-card:has(.lx-change .down),
.lx-card:has(.lx-change .trend.down),
.lx-card:has(.lx-change .price-down),
.lx-card:has(.lx-change .fa-caret-down),
.lx-card:has(.lx-change .fa-arrow-down){
  --lxPriceColor: #16a34a;
}


/* ======================================================================
   模块 04：卡片右上角“国家下拉菜单”（custom-dropdown）
   用到的结构：.custom-dropdown / .dropdown-btn / .dropdown-options / .option-item
   ====================================================================== */

.custom-dropdown {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

/* 下拉按钮 */
.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;

  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 20px;

  font-size: 12px;
  color: #475569;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-btn:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 按钮里的小国旗 */
.mini-flag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* 下拉列表容器（默认隐藏） */
.dropdown-options {
  position: absolute;
  top: 100%;
  right: 0;

  width: 140px;
  background: white;
  border-radius: 12px;

  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #f1f5f9;

  padding: 5px;
  margin-top: 5px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* hover 展开下拉 */
.custom-dropdown:hover .dropdown-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 下拉项 */
.option-item {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 10px;
  text-decoration: none;

  color: #334155;
  font-size: 13px;
  border-radius: 8px;

  transition: background 0.2s;
}

.option-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}


/* ======================================================================
   模块 05：卡片内容（国旗+国家名、价格、分割线、底部信息、按钮、右侧文案）
   用到的类：.country-info / .price-value / .card-meta / .trade-btn / .custom-content
   ====================================================================== */

.country-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-bottom: 15px;
  margin-top: 10px;
}

.country-flag { width: 24px; border-radius: 3px; }
.country-name { font-size: 13px; font-weight: 700; color: #64748b; }

/* 分割线 */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  margin-bottom: 20px;
}

/* 价格（大数字） */
.price-value { font-size: 36px; font-weight: 800; color: #dc2626; }
.currency-symbol { font-size: 20px; color: #dc2626; font-weight: 600; margin-left: 4px; }

/* 底部 meta：趋势/更新时间 */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-top: 15px;
  border-top: 1px dashed #e2e8f0;
}

.trend-indicator { color: #dc2626; font-size: 13px; font-weight: 600; }
.update-tag { font-size: 11px; color: #94a3b8; }

/* 右侧正文 */
.custom-content h2 { font-size: 28px; color: #1e293b; margin-bottom: 15px; }
.custom-content p { line-height: 1.6; color: #475569; font-size: 16px; }

/* CTA 按钮 */
.trade-btn {
  background: #dc2626;
  color: white;
  padding: 12px 30px;

  border: none;
  border-radius: 10px;

  font-weight: 700;
  cursor: pointer;

  margin-top: 20px;
  transition: 0.3s;
}

.trade-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}


/* ======================================================================
   模块 06：wpDataTables “玻璃卡片融合背景”效果（最外层透明 + 内层成卡片）
   关键点：
   - .wpDataTablesWrapper：去掉最外层硬框（透明）
   - .wpdt-c：真正的玻璃卡片容器（阴影+柔光+圆角）
   - .wpDataTable：表格本体透明，不制造第三层框
   ====================================================================== */

/* 06.1 融掉 wpDataTables 最外层框（让它别再套一层白框） */
.wpDataTablesWrapper {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* 06.2 真正的“卡片”交给内层 .wpdt-c（玻璃白 + 阴影） */
.wpdt-c{
  position: relative;
  padding: 20px;
  border-radius: 20px;

  background: rgba(255,255,255,0.93);
  border: 1px solid rgba(15,23,42,0.06);

  box-shadow:
    0 18px 50px rgba(2,6,23,0.10),
    0 4px 12px rgba(2,6,23,0.06);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden;
}

/* 06.3 外围柔光：让卡片“融入背景”，过渡不生硬 */
.wpdt-c::before{
  content:"";
  position:absolute;
  inset:-28px;
  border-radius: 26px;

  background: radial-gradient(
    700px 300px at 50% 0%,
    rgba(120,170,255,0.20) 0%,
    rgba(120,170,255,0.08) 40%,
    rgba(255,255,255,0) 75%
  );

  filter: blur(14px);
  z-index:-1;
}

/* 06.4 表格本体：透明 + 去边框（避免第三层框） */
.wpDataTable{
  background: transparent !important;
  border: 0 !important;
}

/* 表头更柔和（淡蓝灰） */
.wpDataTable thead th{
  background: rgba(246,249,255,0.9) !important;
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
}

/* 行分割线更淡 */
.wpDataTable tbody td{
  border-top: 1px solid rgba(15,23,42,0.06) !important;
}

/* 圆角跟随容器（避免表格四角顶住） */
.wpDataTablesWrapper .dataTables_scroll,
.wpDataTablesWrapper table,
.wpdt-c table{
  border-radius: 14px;
  overflow: hidden;
}


/* ===== Apple Gift Card Overview (Minimal) ===== */

/* ===== Apple Gift Card Overview (Enhanced Minimal) ===== */

.gc-summary{
  max-width: 1100px;
  margin: 42px auto 26px; /* 与表格拉开距离 */
  padding: 24px 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
  color: #0f172a;
}

/* 头部：国旗 + 标题 */
.gc-summary-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gc-flag{
  width: 34px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* 标题 */
.gc-summary-title{
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 正文 */
.gc-summary-lead{
  margin: 6px 0 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(15,23,42,.9);
}

.gc-summary-text{
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(15,23,42,.72);
}

/* Meta 信息 */
.gc-summary-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.gc-meta-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  font-weight: 600;
}

.gc-meta-item i{
  font-size: 13px;
  opacity: .7;
}

/* Mobile */
@media (max-width: 768px){
  .gc-summary{
    padding: 20px 16px;
  }
}


/* =========================
   Footer: GiftCardsRate
   ========================= */

.gc-footer{
  --gc-bg: #0f2233;
  --gc-bg2:#0c1b29;
  --gc-card: rgba(255,255,255,.06);
  --gc-line: rgba(255,255,255,.10);
  --gc-text: rgba(255,255,255,.92);
  --gc-muted: rgba(255,255,255,.72);
  --gc-soft: rgba(255,255,255,.58);

  margin-top: 46px;
  color: var(--gc-text);
  background: linear-gradient(180deg, var(--gc-bg) 0%, var(--gc-bg2) 100%);
}

/* Newsletter */
.gc-news{
  border-bottom: 1px solid var(--gc-line);
}

.gc-news__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 16px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: center;
}

.gc-news__title{
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gc-news__title i{
  opacity: .85;
}

.gc-news__text{
  margin: 0;
  color: var(--gc-muted);
  line-height: 1.6;
  font-size: 14px;
}

.gc-form-shell{
  background: rgba(255,255,255,.08);
  border: 1px solid var(--gc-line);
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

.gc-form-hint{
  color: var(--gc-soft);
  font-size: 13px;
}

/* Main footer */
.gc-foot__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 10px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 18px;
}

/* Brand */
.gc-brand__top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gc-brand__flag{
  width: 34px;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.gc-brand__name{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.gc-brand__tag{
  color: var(--gc-soft);
  font-size: 12.5px;
  margin-top: 2px;
}

.gc-brand__desc{
  margin: 0 0 14px;
  color: var(--gc-muted);
  line-height: 1.7;
  font-size: 13.5px;
}

/* Social */
.gc-social{
  display: flex;
  gap: 10px;
}

.gc-social__btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--gc-line);
  color: var(--gc-text);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.gc-social__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

/* Columns */
.gc-col__title{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 4px 0 10px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.gc-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.gc-links a{
  color: var(--gc-muted);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.55;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}

.gc-links a:hover{
  color: rgba(255,255,255,.96);
}

/* Bottom */
.gc-foot__bottom{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 22px;
  border-top: 1px solid var(--gc-line);
}

.gc-disclaimer{
  margin: 0 0 8px;
  color: var(--gc-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.gc-copy{
  margin: 0;
  color: rgba(255,255,255,.50);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .gc-news__inner{
    grid-template-columns: 1fr;
  }
  .gc-foot__inner{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px){
  .gc-foot__inner{
    grid-template-columns: 1fr;
  }
}
/* policy26.01.02 */
.policy{
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 18px;
  color: #1f2937;
}

.policy h2{
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.policy p{
  margin-bottom: 14px;
}

.policy ul{
  margin: 10px 0 18px 20px;
}

.policy li{
  margin-bottom: 8px;
}

/* contact26.01.02 */
.contact-card{
  max-width: 820px;
  margin: 60px auto;
  padding: 34px 36px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.contact-card-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-card-header i{
  font-size: 26px;
  color: #2563eb;
}

.contact-card-header h2{
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.contact-intro{
  font-size: 15.5px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 28px;
}

.contact-section{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.contact-item{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item i{
  font-size: 20px;
  color: #2563eb;
  margin-top: 3px;
}

.contact-item h3{
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0f172a;
}

.contact-item p{
  font-size: 14.8px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.contact-item a{
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.contact-item a:hover{
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 640px){
  .contact-card{
    padding: 26px 22px;
    margin: 40px 14px;
  }

  .contact-card-header h2{
    font-size: 22px;
  }
}

