/* eploracle 组件样式 — v2.1 浅色版（t9-light-spec.md §2/§4，FROZEN 2026-08-19 晚）
 * re-theme：不动 DOM 结构契约（class 名全保留）、不动 JS 逻辑。
 * 白底、粉强调、金点缀；零 glow / 零 text-shadow；卡片只留极轻投影。
 * 附录 A：hero 右栏金色虚线圈区域加浅底色块（--grad-hero-visual），浅、柔、不抢粉按钮。
 */

/* ── TopBar（t9 §2.1 — 白底毛玻璃 + 1px #F0F0F2 边 + 微投影） ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #F0F0F2;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.topbar__inner {
  display: flex; align-items: center; gap: 16px;
  width: 100%; height: 100%;
  padding: 0 16px;
}
.topbar__brand { display: flex; align-items: center; gap: 8px; color: var(--text-primary); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.topbar__brand:hover { text-decoration: none; }
.topbar__logo { width: 20px; height: 20px; flex-shrink: 0; }
.topbar__oracle { font-family: var(--font-ui); font-weight: 700; letter-spacing: -0.01em; }
.topbar__oracle em {
  font-family: var(--font-num); font-style: normal; color: var(--brand-pink); margin-left: 1px;
}

.topbar__spacer { flex: 1; }
.topbar__nav { display: none; align-items: center; gap: 4px; }
.topbar__nav a {
  color: var(--text-secondary); padding: 10px 14px; font-size: 14px; font-weight: 600;
  border-radius: var(--radius-btn);
  position: relative;
  transition: color 160ms ease;
}
.topbar__nav a:hover { color: var(--brand-pink); text-decoration: none; }
.topbar__nav a.is-active { color: var(--text-primary); }
.topbar__nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--brand-pink); border-radius: 2px;
}

.topbar__lang {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  position: relative;
}
.topbar__lang::after {
  content: "";
  position: absolute; right: 12px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.topbar__lang-select {
  appearance: none; -webkit-appearance: none;
  min-width: 94px; height: 34px;
  padding: 0 30px 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-secondary);
  font: 600 12px/1 var(--font-ui);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}
.topbar__lang-select:hover,
.topbar__lang-select:focus-visible {
  color: var(--text-primary);
  border-color: rgba(233, 30, 99, 0.35);
  outline: none;
}

@media (min-width: 768px) {
  .topbar__inner { padding: 0 32px; }
  .topbar__nav { display: flex; }
}

/* 子页面：pool 导航保持隐藏，只显示 nav-tab（About/FAQ/Results） */
.topbar__page-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.topbar__nav-tab {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 移动端 TopBar：首行品牌+语言，次行页面导航，禁止中文逐字竖排 */
@media (max-width: 767px) {
  :root { --topbar-h: 56px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .topbar { height: var(--topbar-h); }
  .topbar__inner {
    height: 100%;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 16px;
  }
  .topbar__brand { min-width: 0; }
  .topbar__oracle { white-space: nowrap; }
  .topbar__spacer { flex: 1 1 auto; }
  .topbar__lang-select { min-width: 88px; height: 32px; }
  .topbar__page-nav { display: none; }
}

/* ── 反馈入口（2026-09-01 可见性重构）——纯增量，不动既有 nav-tab ── */
/* 顶栏「反馈」tab：复用 nav-tab 视觉，窄屏（<640）缩 padding 防溢出；同 Results 一起常显 */
.topbar__nav-tab--feedback { font-size: 14px; }
@media (max-width: 640px) {
  .topbar__nav-tab--feedback { padding-left: 8px; padding-right: 8px; }
}

/* Mobile UX：桌面导航不挤顶部；手机主导航下沉到底部 Tab Bar */
.mobile-tabbar { display: none; }
@media (max-width: 767px) {
  .mobile-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(209, 213, 219, 0.92);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
  }
  .mobile-tabbar__item {
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 16px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-tabbar__item:hover,
  .mobile-tabbar__item:focus-visible,
  .mobile-tabbar__item.is-active {
    color: var(--brand-pink);
    background: var(--brand-pink-soft);
    text-decoration: none;
  }
  .mobile-tabbar__icon {
    font-size: 17px;
    line-height: 1;
  }
  html[lang="zh"] .mobile-tabbar__label-en { display: none; }
  html[lang="en"] .mobile-tabbar__label-zh { display: none; }
}
/* 投票成功态卡片下方的轻量引导链接：低饱和次级样式，不抢「生成预言卡」主按钮 */
.votedcard__fb-nudge { margin-top: 12px; text-align: center; }
.votedcard__fb-nudge a {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(233, 30, 99, 0.35);
  text-underline-offset: 3px;
  transition: color 160ms ease;
}
.votedcard__fb-nudge a:hover { color: var(--brand-pink); }


/* ── Hero（t9 §2.2 — 白底粉晕 + 两栏 + 金色虚线圈 + 附录 A 浅底色块） ── */
.hero {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  /* 左上粉晕 + 右上紫晕，极淡（~8-10% 不透明度），浅色版无摄影图 */
  background-image:
    radial-gradient(ellipse 560px 420px at 12% -6%, rgba(233, 30, 99, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 480px 380px at 88% 4%, rgba(142, 36, 170, 0.07) 0%, transparent 65%);
  background-repeat: no-repeat;
}
@media (min-width: 768px) {
  .hero { padding: 72px 0 64px; }
}

/* 两栏：1280 下左文右图（左 ~55% / 右 ~45%），<900px 降单栏 */
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* 截止小字 chip：浅粉底 + 粉字（t9 §2.2） */
.hero__deadline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-pink-soft); color: var(--brand-pink);
  border-radius: var(--radius-pill); padding: 6px 14px;
  font-size: 12px; font-weight: 600; margin-bottom: 20px;
}

.hero__h1 {
  font-size: 30px; line-height: 1.15; font-weight: 800;
  margin: 0 0 18px; max-width: 600px;
  color: var(--text-primary); letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .hero__h1 { font-size: 44px; }
}
/* H1 关键词粉（「四票看冠军」/ "Fan Verdicts"） */
.hero__h1 .hl { color: var(--brand-pink); }

.hero__sub {
  font-size: 16px; line-height: 1.7;
  color: var(--text-secondary);                       /* 浅色版 sub 灰字，粉只给关键词+按钮 */
  margin: 0 0 28px; max-width: 560px;
  font-weight: 400;
}
@media (min-width: 768px) { .hero__sub { font-size: 17px; } }

.hero__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin: 0 0 26px;
}
@media (min-width: 768px) {
  .hero__cta { flex-direction: row; gap: 14px; align-items: center; }
}

/* 三项免费承诺：绿勾 SVG + 灰字横排（t9 §1.3） */
.hero__promises { display: flex; gap: 20px; flex-wrap: wrap; }
.hero__promise {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #4B5563;
}
.hero__promise svg { width: 15px; height: 15px; color: var(--green-bright); flex-shrink: 0; }

.hero__trust {
  font-size: 12px; color: var(--text-tertiary); margin: 0;
}

/* 2026-09-12 last-stand：hero 次 CTA 改指向 /results/ 后的结果入口小字链接。
 * 缩短 CTA↔promises 间距，tease 顶上去贴近操作区，移动端点得中。 */
.hero__cta { margin-bottom: 16px; }
.hero__results-tease { margin: 0 0 20px; font-size: 13px; }
.hero__results-tease a { color: var(--brand-pink); text-decoration: none; border-bottom: 1px dashed var(--brand-pink); }
.hero__results-tease a:hover { border-bottom-style: solid; }


/* 右栏视觉：附录 A — 金色虚线圈区域加浅粉→浅紫柔色块（浅、柔、不抢粉按钮） */
.hero__visual {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  background: var(--grad-hero-visual);
  border-radius: 16px;
  padding: 40px 32px;
}
/* 奖杯主视觉：替代原金色虚线圈，语义更贴合 champion vote */
.hero__trophy {
  width: 220px; min-height: 246px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px;
  color: var(--gold);
}
.hero__trophy-svg { width: 210px; height: 210px; overflow: visible; filter: drop-shadow(0 16px 24px rgba(180, 83, 9, 0.14)); }
.hero__trophy-cup,
.hero__trophy-stem,
.hero__trophy-base {
  fill: url(#heroTrophyGold);
  stroke: rgba(146, 64, 14, 0.55);
  stroke-width: 3;
  stroke-linejoin: round;
}
.hero__trophy-handle {
  fill: none;
  stroke: rgba(245, 158, 11, 0.62);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero__trophy-shine {
  fill: none;
  stroke: rgba(255,255,255,0.72);
  stroke-width: 6;
  stroke-linecap: round;
}
.hero__trophy-spark { fill: rgba(233, 30, 99, 0.30); }
.hero__trophy-spark--right { fill: rgba(245, 158, 11, 0.36); }
.hero__trophy-copy {
  margin: -6px 0 0;
  color: #B45309;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
@media (min-width: 768px) {
  .hero__trophy { width: 264px; min-height: 278px; }
  .hero__trophy-svg { width: 238px; height: 238px; }
  .hero__trophy-copy { font-size: 16px; }
}
/* 球队示意 chip：白底灰边；选中态粉底白字（截图交互灵魂，示意用不接逻辑） */
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 340px; }
.chip {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 18px; border-radius: var(--radius-pill);
  background: #FFFFFF; border: 1px solid var(--border-strong);
  color: var(--text-primary); font-size: 14px; font-weight: 600;
}
.chip.is-selected { background: var(--brand-pink); border-color: var(--brand-pink); color: #FFFFFF; }

/* ── 社会认证行（proof 移出 hero — t9 §2.2/§5.4：JS 保留，节点不在 DOM 时 initHeroProof 自然空转） ── */
.hero__proof {
  margin-top: 24px;
  text-align: center;
  position: relative;
}
.hero__proof-num {
  font-family: var(--font-num);
  font-size: 20px;                          /* t9 §3.3 — 结果区头 20px 深灰 */
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero__proof-text {
  display: inline-block;
  margin-left: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.hero__proof-aside {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
}
@media (max-width: 640px) {
  .hero__proof-num { font-size: 18px; }
  .hero__proof-text { display: block; margin: 4px 0 0; }
}
/* i18n：英文页只显示 en 文本，中文页只显示 zh 文本（避免 build.mjs / i18n.js 改动） */
html[lang="zh"] .hero__proof-en { display: none; }
html[lang="en"] .hero__proof-zh { display: none; }

/* ── 备用右栏旧节点（弃用，保留兜底防回归） ── */
.hero__side { display: none; }
.hero__badge { display: none; }
.hero__badge-star { display: none; }
.hero__team-chips { display: none; }
.hero__team-chip { display: none; }
.hero__counter { display: none; }

/* ── 倒计时 Banner（t9 §2.3 — 全页唯一大面积渐变；模糊时间案，无具体日期） ── */
.countdown {
  background: var(--grad-banner);
  color: #FFFFFF; text-align: center;
  padding: 10px 16px; font-size: 14px; font-weight: 600;
}

/* ── PoolsNav（t9 §2.4 — 白卡浅边 + 大号彩色 step 数字） ── */
.poolsnav {
  padding: 8px 0 40px;
  position: relative;
}
@media (min-width: 768px) {
  .poolsnav { padding: 48px 0 56px; }
}
.poolsnav .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 768px) {
  .poolsnav .wrap { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.poolsnav__card {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px;
  padding: 22px 20px 18px;
  border-radius: var(--radius-card);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  text-decoration: none;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 200ms ease;
}
.poolsnav__card:hover, .poolsnav__card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(233, 30, 99, 0.45);
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
}
/* 大号彩色 step 数字 01-04（t9 §2.4 — 卡区视觉锚点） */
.poolsnav__step {
  font-family: var(--font-num);
  font-size: 34px; font-weight: 800; line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.poolsnav__step--green  { color: var(--green); }       /* champion */
.poolsnav__step--pink   { color: var(--brand-pink); }  /* top4 */
.poolsnav__step--gold   { color: var(--gold); }        /* golden_boot */
.poolsnav__step--purple { color: var(--purple); }      /* playmaker */
/* icon chip 已删除（step 数字取代其视觉职能），类名保留兜底 */
.poolsnav__icon { display: none; }
.poolsnav__name {
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.01em;
}
.poolsnav__q {
  font-size: 13px; line-height: 1.55; color: var(--text-secondary);
  min-height: 2.9em;               /* 问答两行对齐，卡底 votes 行齐平 */
}
.poolsnav__votes {
  margin-top: auto;
  font-size: 12px; color: var(--text-tertiary);
  display: flex; align-items: baseline; gap: 5px;
  font-variant-numeric: tabular-nums;
}
.poolsnav__votes-num {
  font-family: var(--font-num);
  font-size: 16px; font-weight: 700; color: var(--green);   /* t9 §2.4 范本绿数字 */
}
.poolsnav__go {
  position: absolute; right: 14px; bottom: 12px;
  width: 16px; height: 16px; color: var(--text-tertiary);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}
.poolsnav__go svg { width: 16px; height: 16px; display: block; }
.poolsnav__card:hover .poolsnav__go {
  opacity: 1; transform: translateX(0); color: var(--brand-pink);
}

/* ── PoolChips（移动横滑 — 浅色胶囊） ── */
.poolchips {
  display: flex; gap: 8px; overflow-x: auto;
  max-width: 100%;
  padding: 12px 0 12px 0; margin: 0 0 24px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.poolchips::-webkit-scrollbar { display: none; }
.poolchips__chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: var(--radius-pill);
  background: #FFFFFF; border: 1px solid var(--border-subtle);
  color: var(--text-secondary); font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}
.poolchips__chip.is-active {
  background: var(--brand-pink-soft); color: var(--brand-pink); border-color: var(--brand-pink);
}
@media (min-width: 768px) { .poolchips { display: none; } }

/* ── Button（t9 §1.3 — 主 CTA 实心粉 + 次 CTA 白底粉边） ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--radius-btn); border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: all 180ms ease;
  text-decoration: none;
}
.btn--primary {
  background: var(--brand-pink);
  color: var(--on-brand-pink);
  border-color: var(--brand-pink);
  width: 100%;
  box-shadow: var(--shadow-btn-pink);
}
.btn--primary:hover {
  background: var(--brand-pink-strong);
  border-color: var(--brand-pink-strong);
  transform: translateY(-1px);
}
.btn--primary:disabled, .btn--primary[aria-disabled="true"] {
  background: var(--bg-raised); color: var(--text-tertiary); border-color: var(--border-subtle);
  cursor: not-allowed; box-shadow: none;
}
/* 次 CTA：白底 1.5px 粉边粉字（t9 §1.3） */
.btn--secondary, .btn--outline {
  background: #FFFFFF; color: var(--brand-pink);
  border: 1.5px solid var(--brand-pink); height: 48px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.btn--secondary:hover, .btn--outline:hover {
  background: var(--brand-pink-soft);
  text-decoration: none;
}
.btn--accent-soft {
  background: var(--brand-pink-soft); color: var(--brand-pink);
  border-color: rgba(233, 30, 99, 0.35); height: 40px; padding: 0 16px; font-size: 13px;
  transition: all 160ms ease;
}
.btn--accent-soft:hover {
  background: var(--brand-pink); color: var(--on-brand-pink);
  text-decoration: none;
}
.btn--link {
  background: transparent; color: var(--brand-pink); height: auto; padding: 8px 0;
  border: none; font-weight: 600; font-size: 14px;
}
.btn--link:hover { text-decoration: underline; background: transparent; }
@media (min-width: 768px) {
  .btn--primary { width: auto; min-width: 180px; }
  .btn--secondary, .btn--outline { width: auto; min-width: 140px; }
}

/* ── VoteCard（t9 §2.5 — 白卡浅边 + 选中态粉底白字） ── */
.vv { padding: 48px 0; }
@media (min-width: 768px) { .vv { padding: 64px 0; } }

.votecard, .votedcard {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card-lg);
  padding: 22px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.votecard:hover, .votedcard:hover {
  box-shadow: var(--shadow-card-hover);
}

.votecard__head, .votedcard__head {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px;
}
.votecard__title, .votedcard__title {
  font-size: 26px; font-weight: 700; margin: 0;
  color: var(--text-primary); flex: 1;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .votecard__title, .votedcard__title { font-size: 30px; }
}
.votecard__q, .votedcard__q {
  font-size: 14px; color: var(--text-secondary); margin: 0 0 4px;
  line-height: 1.5;
}
.votecard__icon, .votedcard__icon {
  width: 24px; height: 24px; flex-shrink: 0;
  color: var(--gold);                          /* 金色保留，无 drop-shadow glow */
}
.votecard__icon svg, .votedcard__icon svg { width: 24px; height: 24px; }
.votecard__head-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.votecard__counter {
  font-family: var(--font-num); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--bg-raised); color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.votecard__counter.is-full {
  background: var(--brand-pink-soft); color: var(--brand-pink); border-color: var(--brand-pink);
}

.votecard__sub, .votedcard__sub {
  font-size: 12px; color: var(--text-tertiary); margin: 0 0 16px;
}
/* 2026-09-03 实时数据时效标注（0009）：球员池副标题里的「26-27 至今」徽片 */
.votecard__sub-stat {
  display: inline-block; padding: 1px 7px; margin-left: 4px;
  border: 1px solid var(--border-subtle); border-radius: 999px;
  font-size: 10px; line-height: 1.5; color: var(--text-secondary);
  vertical-align: 1px; white-space: nowrap;
}

.votecard__list {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}
@media (min-width: 1024px) {
  .votecard__list--double { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
}

.votecard__row, .votedcard__row {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 14px 0 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background 140ms ease, border-color 140ms ease;
  min-width: 0;
}
.votecard__row:hover {
  background: #FAFBFC;
  border-color: rgba(233, 30, 99, 0.35);
}
/* 选中态：实心粉 #E91E63 + 白字白星（截图交互灵魂） */
.votecard__row--selected {
  background: var(--brand-pink);
  border: 1px solid var(--brand-pink);
  padding: 0 13px 0 0;
  color: #FFFFFF;
}
.votecard__row--selected .votecard__name-main,
.votecard__row--selected .votecard__name-sub { color: #FFFFFF; }
.votecard__row--selected .votecard__badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}
/* P0 修复：去掉 pointer-events:none —— 原实现第 5 支点击被 CSS 吞掉，
 * JS 层的「只能选择四支球队」提醒永远无法触发；保留视觉禁用态，
 * 点击放行到 home.js 由状态机拦截并 Toast 提醒。 */
.votecard__row--disabled { opacity: 0.4; cursor: not-allowed; }

/* 红线：俱乐部色仅 2px 侧条（选中态下沿内嵌保留，不改字色） */
.votecard__bar {
  width: 2px; align-self: stretch; border-radius: 2px;
  background: var(--border-subtle);
  flex-shrink: 0;
}
.votecard__row--team .votecard__bar { background: var(--clr, var(--border-subtle)); }

.votecard__badge {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-num); font-weight: 700; font-size: 12px;
  color: var(--text-primary); position: relative;
}
.votecard__row--team .votecard__badge { border-color: var(--clr, var(--border-subtle)); }
.votecard__badge-num { font-size: 16px; }
.votecard__badge-sub {
  position: absolute; right: 2px; bottom: 0;
  font-family: var(--font-num); font-size: 8px; color: var(--text-tertiary);
  font-weight: 700; letter-spacing: 0.02em;
}
.votecard__row--selected .votecard__badge-sub { color: rgba(255, 255, 255, 0.75); }

.votecard__name {
  flex: 1; min-width: 0; line-height: 1.3;
}
.votecard__name-main {
  font-size: 14px; font-weight: 500; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.votecard__name-sub {
  font-size: 12px; color: var(--text-tertiary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .votecard { overflow-x: hidden; }
  .votecard__body { min-width: 0; overflow: hidden; }
  .votecard__name { min-width: 0; overflow: hidden; }
  .votecard__name-sub { display: block; max-width: 100%; }
}

.votecard__stars {
  display: flex; gap: 2px; flex-shrink: 0;
  margin-left: auto;
  opacity: 0.4;
  transition: opacity 140ms ease;
}
.votecard__row--selected .votecard__stars { opacity: 1; }
.votecard__row--ready .votecard__stars { opacity: 1; }

.star {
  width: 20px; height: 20px; padding: 12px; /* 命中区扩到 44px */
  background: none; border: 0; cursor: pointer;
  margin: -12px -2px; /* 视觉 20px 保持不变 */
  color: var(--border-strong); fill: none; stroke: currentColor;
  transition: transform 120ms ease;
}
.star:hover { transform: scale(1.1); }
.star.is-on { color: var(--vote-star); fill: var(--vote-star); stroke: var(--vote-star); }
/* 选中态：星全白（空星半透明白描边，实星白填充） */
.votecard__row--selected .star { color: rgba(255, 255, 255, 0.55); transform: scale(1.1); width: 22px; height: 22px; margin: -13px -3px; }
.votecard__row--selected .star.is-on { color: #FFFFFF; fill: #FFFFFF; stroke: #FFFFFF; }

.votecard__submit {
  margin-top: 8px;
}
.votecard__submit-hint {
  font-size: 12px; color: var(--warning); margin: 8px 0 0; text-align: center;
}
.votecard__submit-row {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .votecard__submit-row { flex-direction: row; gap: 18px; }
}
.votecard__star-note {
  margin-top: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}
.votecard__star-note summary {
  font-size: 12px; color: var(--text-secondary); cursor: pointer;
  list-style: none; font-weight: 600;
}
.votecard__star-note summary::-webkit-details-marker { display: none; }
.votecard__star-note summary::after { content: " ⌄"; opacity: 0.6; }
.votecard__star-note[open] summary::after { content: " ⌃"; }
.votecard__star-note p {
  font-size: 12px; color: var(--text-tertiary); line-height: 1.6; margin: 8px 0 0;
}

/* 409/已投提示条：浅粉底 + 深灰字（t9 §2.5） — 由 home.js dup409 文案承载 */
.votecard__notice, .votecard__dup {
  background: var(--brand-pink-soft); color: var(--text-primary);
  border-radius: 8px; padding: 10px 14px; font-size: 13px;
  margin: 0 0 12px;
}

/* ── VotedCard（已投卡 — 浅色：金改浅金边+深灰字） ── */
.votedcard__row {
  background: #FFFFFF;
  border: 1.5px solid var(--gold);
  padding: 0 12px 0 0;
}
.votedcard__row .votecard__name-main { color: var(--gold-deep); font-weight: 600; }
.votedcard__row .votecard__stars { opacity: 1; }
.votedcard__line { font-size: 14px; color: var(--text-secondary); margin: 12px 0 0; line-height: 1.6; }
.votedcard__line strong { color: var(--text-primary); font-weight: 600; }

/* ── ResultBar / Results（t9 §2.6 — 粉主条 + 绿次条 + 浅灰轨道，零 glow） ── */
.results {
  margin-top: 32px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 220ms ease, transform 220ms ease;
}
@media (min-width: 768px) { .results { padding: 28px; } }
.results:hover { box-shadow: var(--shadow-card-hover); }
.results--dim { opacity: 0.6; }

.results__head { margin-bottom: 16px; }
.results__head-main { font-size: 22px; color: var(--text-primary); line-height: 1.6; margin: 0 0 4px; font-weight: 600; }
.results__head-main strong { color: var(--brand-pink); font-weight: 700; }   /* 浅色版主标题改粉（t9 §2.6 范本语言） */
.results__head-main .num { font-family: var(--font-num); font-weight: 700; color: var(--text-primary); margin: 0 2px; }
.results__head-disclaim { font-size: 13px; color: var(--text-tertiary); margin: 0; line-height: 1.5; }
/* 2026-09-03 榜单 v3：live 榜（第二 tab）标题行 */
.results__live-note { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 0 0 10px; }
.results__live-sub { font-weight: 400; color: var(--text-tertiary); }
.bar--live .bar__fill { display: block; height: 100%; border-radius: var(--radius-bar); background: var(--accent, #111); opacity: 0.85; }
/* 2026-09-03 榜单 v3：出局者结果条（§3 灰化，非警示） */
.bar--out { opacity: 0.62; }
.bar--out .bar__name { color: var(--text-secondary); }
.bar__out-note { font-size: 11px; color: var(--text-tertiary); margin-left: 8px; font-weight: 400; }

.sharestrip {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 16px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.sharestrip__text {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sharestrip__label { font-family: var(--font-num); font-weight: 700; color: var(--brand-pink); margin-right: 8px; }
.sharestrip__btn { flex-shrink: 0; }

/* viewtoggle：#F3F4F6 胶囊，选中白底+粉字+极轻阴影（t9 §2.6） */
.viewtoggle {
  display: inline-flex; gap: 2px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 16px;
  font-size: 12px;
}
.viewtoggle__btn {
  background: transparent; color: var(--text-secondary); border: 0;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: all 160ms ease;
}
.viewtoggle__btn.is-active {
  background: #FFFFFF; color: var(--brand-pink);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10);
}
.viewtoggle__btn:disabled { opacity: 0.4; cursor: not-allowed; }

.bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bar {
  display: grid; grid-template-columns: 24px 28px 1fr auto; align-items: center;
  gap: 8px; height: 40px;
  font-size: 13px;
  position: relative;
}
.bar__rank { font-size: 12px; color: var(--text-tertiary); font-family: var(--font-num); font-weight: 700; text-align: right; }
.bar__rank--1 { color: var(--brand-pink); }
.bar__rank--star::after { content: "★"; color: var(--gold); margin-left: 2px; font-size: 10px; }  /* rank1 星标保留金 */
.bar__badge {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--bg-inset); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 11px; color: var(--text-primary);
  flex-shrink: 0;
}
.bar__name {
  min-width: 0; font-size: 13px; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bar__name-mine { font-size: 11px; color: var(--brand-pink); margin-left: 6px; font-weight: 600; }  /* 「我的」金改粉 */
/* 2026-09-03 球员元数据：名字旁「#9 · Forward」小字标签（migration 0007）
 * nowrap+shrink:0 —— 不换行、不被进度条挤压；字号与 bar__conf/pct 同级 */
.bar__player-meta { font-size: 11px; color: var(--text-tertiary); margin-left: 6px; white-space: nowrap; flex-shrink: 0; font-family: var(--font-num); }
.bar__track {
  height: 10px; background: var(--bg-inset); border-radius: var(--radius-bar);
  overflow: hidden; flex-shrink: 0;
  grid-column: 1 / -1; margin-top: -4px; margin-left: 60px;
  display: none; /* 简化版：条放在行内 */
}
.bar__fill { height: 100%; background: var(--brand-pink); border-radius: var(--radius-bar); transition: width 240ms ease; min-width: 4px; }
/* t9 §2.6 — rank1 粉渐变，rank2/3 绿渐变，rank4 绿 45%，零 glow */
.bar__fill--rank1 { background: var(--grad-rank1); }
.bar__fill--rank2, .bar__fill--rank3 { background: var(--grad-green); }
.bar__fill--rank4 { background: var(--green); opacity: 0.45; }

.bar__num {
  font-family: var(--font-num); font-weight: 700; font-size: 14px; color: var(--text-primary);
  text-align: right; flex-shrink: 0;
}
.bar__pct { font-size: 11px; color: var(--text-secondary); margin-left: 4px; font-family: var(--font-num); }
.bar__conf { font-size: 10px; color: var(--text-tertiary); margin-left: 4px; }
.bar__mine-mark {
  position: absolute; left: -6px; top: 6px; bottom: 6px; width: 2px;
  background: var(--brand-pink); border-radius: 2px;               /* 「我的」侧标金改粉 */
}
/* 改版：bar 为单行结构（名次+徽章+名称+数据条+票数+%） */
.bars--inline .bar { display: grid; grid-template-columns: 24px 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.bars--inline .bar__body { grid-column: 3 / 4; display: flex; align-items: center; gap: 6px; min-width: 0; }
.bars--inline .bar__fillwrap { flex: 1; min-width: 0; height: 10px; background: #EEF0F3; border-radius: var(--radius-bar); overflow: hidden; position: relative; }
.bars--inline .bar__fill { position: absolute; left: 0; top: 0; bottom: 0; }
.bars--inline .bar__name { font-size: 12px; }
.bars--inline .bar__nums { font-family: var(--font-num); font-weight: 700; font-size: 13px; color: var(--text-primary); white-space: nowrap; }

.results__expand {
  display: block; margin: 16px auto 0; background: transparent; border: 0;
  color: var(--brand-pink); font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.results__expand:hover { text-decoration: underline; }

.results__empty {
  text-align: center; padding: 24px 16px;
  color: var(--text-secondary); font-size: 14px;
}
.results__empty a { color: var(--brand-pink); font-weight: 600; }

.results__skeleton { display: flex; flex-direction: column; gap: 8px; }
.skel {
  height: 8px; border-radius: var(--radius-bar);
  background: linear-gradient(90deg, var(--bg-inset) 0%, var(--bg-raised) 50%, var(--bg-inset) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
.skel--bar { height: 14px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Toast（浅色浮层） ── */
.toasts {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px;
  max-width: calc(100vw - 32px);
}
.toast {
  padding: 12px 16px; border-radius: var(--radius-btn);
  background: #FFFFFF; border: 1px solid var(--border-strong);
  color: var(--text-primary); font-size: 14px; line-height: 1.5;
  box-shadow: var(--shadow-float);
  animation: toastIn 200ms ease;
  max-width: 360px;
}
.toast--warning { border-color: var(--warning); color: var(--warning); }
.toast--danger { border-color: var(--danger); color: var(--danger); }
.toast--success { border-color: var(--brand-pink); color: var(--brand-pink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── FAQ（t9 §2.7 — 白卡浅边同 poolsnav 语言） ── */
.faq { padding: 48px 0; }
@media (min-width: 768px) { .faq { padding: 64px 0; } }
.faq__h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; color: var(--text-primary); }
.faq__h2--standalone { font-size: 28px; }
@media (min-width: 768px) { .faq__h2 { font-size: 28px; } .faq__h2--standalone { font-size: 38px; } }
.faq__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  min-height: 64px;
}
.faq__item summary {
  padding: 16px 20px;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "›"; color: var(--brand-pink); font-size: 20px; transition: transform 200ms ease; flex-shrink: 0; font-weight: 700;
}
.faq__item[open] summary::after { transform: rotate(90deg); }
.faq__item p { padding: 0 20px 16px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.faq__all {
  display: inline-block; margin-top: 16px; color: var(--brand-pink); font-weight: 600; font-size: 14px;
}

/* ── Footer（t9 §2.7 — 浅灰 #F8F8F8 底） ── */
.foot { background: #F8F8F8; border-top: 1px solid var(--border-subtle); padding: 40px 0 24px; text-align: center; }
.foot__line { font-size: 13px; color: var(--text-secondary); margin: 0 auto 16px; max-width: 680px; line-height: 1.6; padding: 0 16px; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: 12px; color: var(--text-tertiary); margin-bottom: 16px; padding: 0 16px; }
.foot__nav a { color: var(--text-secondary); transition: color 160ms ease; }
.foot__nav a:hover {
  color: var(--brand-pink); text-decoration: none;
}
.foot__by { font-size: 11px; color: var(--text-tertiary); margin: 0; }

/* ── CookieBar（浅色浮层 + 粉按钮） ── */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: #FFFFFF; border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 16px;
  font-size: 14px; line-height: 1.6; color: var(--text-secondary);
  box-shadow: var(--shadow-float);
  display: none;
}
.cookiebar.is-shown { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cookiebar__txt a { color: var(--brand-pink); }
@media (min-width: 768px) {
  .cookiebar { left: 50%; right: auto; transform: translateX(-50%); max-width: 640px; flex-direction: row; align-items: center; gap: 16px; }
  .cookiebar.is-shown { display: flex; }
  .cookiebar__txt { flex: 1; }
  .cookiebar__btn { flex-shrink: 0; }
}

/* ── LegalPage ── */
.legal { padding: 32px 0 64px; }
.legal__crumb { font-size: 12px; color: var(--text-tertiary); margin: 0 0 16px; }
.legal__crumb a { color: var(--text-tertiary); }
.legal__crumb a:hover { color: var(--text-primary); text-decoration: none; }
.legal__h1 { font-size: 28px; font-weight: 700; margin: 0 0 8px; line-height: 1.2; color: var(--text-primary); }
@media (min-width: 768px) { .legal__h1 { font-size: 38px; } }
.legal__updated { font-size: 12px; color: var(--text-tertiary); margin: 0 0 32px; }
.legal__body { max-width: 680px; margin: 0 auto; }
.legal__body h2 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 32px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin: 0 0 20px; }
.legal__body p.is-affil {
  border-left: 2px solid var(--info); padding-left: 12px;
  display: flex; gap: 8px; align-items: flex-start;
}
.legal__body p.is-affil::before { content: "ⓘ"; color: var(--info); flex-shrink: 0; font-size: 16px; line-height: 1.8; }
.legal__back { text-align: center; margin-top: 48px; }

/* ── NotFound（浅色） ── */
.nf {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 16px;
  min-height: calc(100vh - var(--topbar-h) - 200px);
}
.nf__art {
  width: 64px; height: 64px; margin-bottom: 16px; color: var(--brand-pink); position: relative;
  background: var(--grad-banner);
  -webkit-mask: radial-gradient(circle at 50% 50%, currentColor 60%, transparent 70%);
          mask: radial-gradient(circle at 50% 50%, currentColor 60%, transparent 70%);
  border-radius: 50%;
}
.nf__star {
  position: absolute; width: 12px; height: 12px; color: var(--gold);
  top: 4px; right: -8px; opacity: 0.8;
}
.nf__txt { font-size: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 420px; margin: 0 0 24px; }
.nf__cta { min-width: 200px; }

/* ── OracleCard（预言卡 — 浅色白卡 + 金点缀） ── */
.oracle {
  padding: 48px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
}
.oracle__h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; text-align: center; color: var(--text-primary); }
@media (min-width: 768px) { .oracle { padding: 64px 0; } .oracle__h2 { font-size: 28px; } }
.oracle__wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.oracle__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.prophecy {
  width: 100%; max-width: 343px; aspect-ratio: 370 / 430;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card-lg);
  padding: 24px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .prophecy { max-width: 370px; } }
.prophecy__top { display: flex; align-items: center; justify-content: space-between; height: 28px; }
.prophecy__brand { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-primary); }
.prophecy__brand svg { width: 16px; height: 16px; }
.prophecy__season {
  font-family: var(--font-num); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--brand-pink-soft); color: var(--brand-pink);
  border: 1px solid var(--brand-pink);
}
.prophecy__pool { font-size: 13px; color: var(--text-secondary); margin: 16px 0 8px; }
/* 2026-09-03 榜单 v3：出局者预言卡轻灰状态行（§3.3，非警示） */
.prophecy__out-note { font-size: 12px; color: var(--text-tertiary); margin: 6px 0 0; font-weight: 400; }
.prophecy__pick {
  background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-btn);
  padding: 14px; text-align: center;
}
.prophecy__pick-name { font-size: 22px; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin: 0 0 6px; }
.prophecy__pick-stars {
  font-size: 20px; color: var(--gold);
}
.prophecy__pick-stars .star-empty { color: var(--border-strong); }
.prophecy__ring { margin: 14px auto 0; width: 64px; height: 64px; position: relative; }
.prophecy__ring svg circle:first-of-type { stroke: var(--purple); }
.prophecy__ring svg { transform: rotate(-90deg); }
.prophecy__ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 700; font-size: 18px; color: var(--text-primary); }
.prophecy__bot { margin-top: auto; text-align: center; font-size: 10px; color: var(--text-tertiary); }
.prophecy__bot .url { font-family: var(--font-num); }
.prophecy__sticker1, .prophecy__sticker2 { position: absolute; opacity: 0.8; }
.prophecy__sticker1 { top: 8px; right: 8px; width: 12px; height: 12px; color: var(--gold); }
.prophecy__sticker2 {
  top: 28px; right: 24px; width: 8px; height: 8px; background: var(--brand-pink); border-radius: 50%;
}
.prophecy__guide { margin: auto; text-align: center; font-size: 14px; color: var(--text-secondary); }

/* ── VotedCard 内 OracleCard 入口 ── */
.votedcard__card-entry { margin-top: 12px; display: flex; justify-content: center; }
.votedcard__card-entry .btn { width: 100%; }
@media (min-width: 768px) { .votedcard__card-entry .btn { width: auto; min-width: 200px; } }

/* ── 工具类 ── */
.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;
}

/* ── 动效收敛（保留 hover 位移开关） ── */
@media (prefers-reduced-motion: reduce) {
  .poolsnav__card, .votecard, .votedcard, .results, .btn { transition: none; }
  .poolsnav__card:hover, .btn--primary:hover { transform: none; }
  .skel { animation: none; }
}
