
/* ============================================================
   视觉与 SEO 增强层（2026-11-22）
   ------------------------------------------------------------
   1) FAQ 区块样式（结构化数据需与可见内容对应）
   2) PC 端焦点区视觉层次与留白优化
   3) 移动端底部安全区适配
   ============================================================ */

/* ==================== FAQ 区块 ==================== */
.faq-panel{margin-bottom:18px}
.faq-list{padding:2px 18px 14px}
.faq-item{
  border-bottom:1px solid var(--line-2);
}
.faq-item:last-child{border-bottom:0}
.faq-q{
  display:flex;align-items:flex-start;gap:9px;
  padding:13px 0;
  font-size:14.5px;font-weight:600;color:var(--t1);
  cursor:pointer;list-style:none;
  line-height:1.55;
  transition:color .16s;
}
.faq-q::-webkit-details-marker{display:none}
.faq-q::before{
  content:'';flex:0 0 auto;width:7px;height:7px;margin-top:7px;
  border-radius:2px;background:var(--brand);
  transform:rotate(45deg);
  transition:transform .2s;
}
.faq-q:hover{color:var(--brand)}
.faq-item[open] .faq-q::before{transform:rotate(225deg)}
.faq-a{
  padding:0 0 14px 16px;
  font-size:13.5px;color:var(--t2);line-height:1.85;
  max-width:760px;
}

/* ==================== PC 端焦点区视觉层次 ==================== */
@media(min-width:901px){
  /* 焦点大卡：改为 position:relative + flex 流式布局
     原因：原 .hero__body 是 position:absolute;bottom:0，配合 flex 会溢出裁切 */
  .hero{
    position:relative;
    min-height:286px;
    padding:24px 30px 26px 34px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    transition:box-shadow .22s,transform .22s;
  }
  .hero:hover{
    box-shadow:0 8px 26px rgba(0,82,155,.13);
    transform:translateY(-2px);
  }
  /* body 改为流式块级，脱离绝对定位 */
  .hero__body{
    position:static;
    left:auto;right:auto;bottom:auto;
    padding:0;
    max-width:78%;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
  }
  .hero__desc,.hero__tags{width:100%}
  /* 徽章改流式：原 absolute 会压住标题 */
  .hero__badge{
    position:static;top:auto;left:auto;
    display:inline-block;align-self:flex-start;
    margin:0 0 11px;
  }
  .hero__title{
    font-size:26px !important;
    line-height:1.28;
    letter-spacing:-.4px;
    margin-bottom:11px;
  }
  .hero__desc{font-size:13.5px !important;line-height:1.7}
  .hero__tags{margin-top:14px;gap:8px}
  .hero__badge{
    font-size:12.5px;
    padding:6px 13px;
    border-radius:999px;
    margin-bottom:13px;
  }
  .hero__play{
    position:absolute;
    top:22px;right:26px;
    transform:none;
    width:52px !important;height:52px !important;
    transition:transform .22s,box-shadow .22s;
  }
  .hero:hover .hero__play{transform:scale(1.07)}

  /* 焦点侧栏卡片：与左侧大卡视觉对齐 */
  .flash{padding:14px 16px}
  .flash__league{font-size:11.5px}
  .flash__text{font-size:14.5px}

  /* 赛程日历：PC 端日期块更饱满 */
  .cal-day{padding:11px 12px}
  .cal-day b{font-size:15px}
  .cal-day em{font-size:12px}
  .cal-day__n{font-size:12.5px}

  /* 面板圆角与阴影统一 */
  .panel{
    border-radius:12px;
    box-shadow:0 1px 3px rgba(0,0,0,.035);
    transition:box-shadow .2s;
  }
  .panel:hover{box-shadow:0 3px 12px rgba(0,0,0,.055)}

  /* 焦点大卡内标题字号随窗口略收，避免超长队名破版 */
  @media(max-width:1200px){
    .hero__title{font-size:22px !important}
  }
}

/* ==================== 平板：单栏焦点卡，内容居中不贴边 ==================== */
@media(min-width:721px) and (max-width:900px){
  .focus{grid-template-columns:minmax(0,1fr)}
  .hero{
    min-height:212px;
    padding:26px 28px;
    display:flex;flex-direction:column;justify-content:center;
  }
  .hero__body{
    position:static;left:auto;right:auto;bottom:auto;
    padding:0;display:flex;flex-direction:column;align-items:flex-start;
  }
  .hero__desc,.hero__tags{width:100%}
  .hero__badge{
    position:static;top:auto;left:auto;
    display:inline-block;align-self:flex-start;
    margin:0 0 12px;
    font-size:12.5px;padding:6px 13px;
  }
  .hero__title{
    font-size:23px !important;
    line-height:1.28;letter-spacing:-.3px;
    margin-bottom:11px;
    padding-right:70px;
  }
  .hero__desc{font-size:13.5px !important;line-height:1.7}
  .hero__tags{margin-top:13px;gap:8px;flex-wrap:wrap}
  .hero__play{
    position:absolute;top:24px;right:26px;transform:none !important;
    width:52px !important;height:52px !important;z-index:2;
  }
  .hero:hover .hero__play{transform:none !important}
}

/* ==================== 移动端：底部安全区 & FAQ ==================== */
@media(max-width:720px){
  /* iPhone 底部横条安全区 */
  .layout{padding-bottom:calc(34px + env(safe-area-inset-bottom,0px))}

  .faq-list{padding:2px 14px 12px}
  .faq-q{font-size:14.5px;padding:12px 0;gap:8px}
  .faq-a{font-size:13.5px;line-height:1.8;padding-left:15px;padding-bottom:13px}

  /* 移动端：返回顶部按钮上移，避开 iPhone 底部横条 */
  .to-top{
    right:14px;
    bottom:calc(16px + env(safe-area-inset-bottom,0px));
    width:44px;height:44px;border-radius:12px;
  }
}

/* ==================== 桌面端返回顶部 ==================== */
@media(min-width:721px){
  .to-top{right:26px;bottom:44px}
}

/* ==================== 焦点区移动端 hero 标题为 h1 后的复位 ==================== */
/* h1 默认带 margin，需归零避免与 desc 间距失衡 */
.hero__body h1.hero__title{
  margin:0 0 7px;
  font-weight:800;
  letter-spacing:-.2px;
}
@media(min-width:901px){
  .hero__body h1.hero__title{margin-bottom:10px}
}

/* ==================== 打印样式（百度快照页友好） ==================== */
@media print{
  .site-header,.league-bar,.col-side,.filter-bar,.to-top{display:none !important}
  .layout{grid-template-columns:1fr;padding:0}
  .panel{box-shadow:none;border:1px solid #ddd;page-break-inside:avoid}
  a{color:#000;text-decoration:none}
}
