/* 老页面（/run/ 马拉松）复用的正式站页头样式
   数值与 mockups/a/style.css 桌面端规则逐条对齐；作用域限定 .site-head，避免影响老页面正文 */
.site-head,.site-head *{box-sizing:border-box}
.site-head{font-family:-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.6;color:#171614}
.site-head .wrap{width:auto !important;max-width:1216px !important;margin:0 auto !important;padding:0 32px !important}
.site-head header{
  position:fixed;left:0;right:0;top:0;z-index:9999;
  background:#FAF9F7;
  border-top:3px solid #C50F3C;
  border-bottom:1px solid #E4DFD6;
  transform:translateY(0);
  transition:transform .5s cubic-bezier(.2,.7,.2,1),background .35s ease,box-shadow .35s ease;
}
/* 首屏内向下滚动：收起来 */
.site-head header.hidden{transform:translateY(-100%)}
/* 滚过一屏：变成深色玻璃条（与二级页一致） */
.site-head header.dark{
  background:rgba(68,68,68,.62);
  border-top-color:transparent;
  border-bottom-color:transparent;
  backdrop-filter:saturate(170%) blur(16px);
  -webkit-backdrop-filter:saturate(170%) blur(16px);
  box-shadow:0 6px 20px rgba(0,0,0,.22);
}
.site-head header.dark nav a,
.site-head header.dark .srch,
.site-head header.dark .cta-red{color:rgba(255,255,255,.88);text-shadow:0 1px 2px rgba(0,0,0,.25)}
.site-head header.dark nav a.on{color:#fff;border-color:#C50F3C}
.site-head header.dark .srch{border-color:rgba(255,255,255,.28)}
.site-head header.dark .cta-red{border-color:#C50F3C;color:#fff}
.site-head header.dark .menu-btn{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
.site-head header.dark .logo .lc{display:none}
.site-head header.dark .logo .lw{display:block}

.site-head a{text-decoration:none}
.site-head .hd{display:flex;align-items:center;gap:36px;height:78px}
.site-head .logo img{width:auto;display:block}
.site-head .logo .lc,.site-head .logo .lw{height:44px;margin:0}
.site-head .logo .lc{display:block}
.site-head .logo .lw{display:none}
.site-head nav{display:flex;gap:30px;margin-left:8px}
.site-head nav a{
  font-size:14.5px;letter-spacing:.08em;color:#171614;
  padding:6px 0;border-bottom:2px solid transparent;
}
.site-head nav a:hover,.site-head nav a.on{border-color:#C50F3C;color:#C50F3C}
.site-head .hd-r{margin-left:auto;display:flex;align-items:center;gap:22px}
.site-head .srch{display:flex;align-items:center;gap:7px;font-size:13px;color:#6E6961;border-bottom:0;padding-bottom:0;transition:color .25s ease}
.site-head .srch:hover{color:#171614}
.site-head .srch svg{width:13px;height:13px}
.site-head .cta-red{font-size:13px;letter-spacing:.1em;border-bottom:2px solid #C50F3C;padding-bottom:3px;color:#171614}
.site-head .cta-red:hover{color:#C50F3C}
.site-head .menu-btn{display:none}

/* 隐藏老页面自己的页头（logo + 老导航 + 搜索框），只保留注入的正式站页头 */
#smv_tem_150_20, #smv_tem_92_11, #smv_tem_93_11{display:none !important}

/* ===== 手机端：与其它二级页一致（隐藏横排 nav，显示「菜单」并展开下拉） ===== */
@media (max-width:1023px){
  .site-head nav{display:none}
  .site-head .menu-btn{display:block;margin-left:auto;font-size:12.5px;letter-spacing:.14em;
    border:1px solid #E4DFD6;padding:7px 12px;color:#171614}
  .site-head nav.mnav-open{
    display:flex !important;flex-direction:column;gap:0;
    position:fixed;left:0;right:0;top:67px;z-index:70;
    background:#FAF9F7;border-bottom:1px solid #E4DFD6;
    padding:6px 22px 14px;margin:0;box-shadow:0 10px 24px rgba(0,0,0,.08);
    max-height:calc(100vh - 67px);overflow:auto;
  }
  .site-head nav.mnav-open a{
    padding:14px 0;border-bottom:1px solid #EFEBE4;
    font-size:15px;letter-spacing:.06em;color:#171614;
  }
  .site-head nav.mnav-open a:last-child{border-bottom:0}
  .site-head .menu-btn.on{border-color:#171614}
}
.mnav-mask{display:none;position:fixed;left:0;right:0;bottom:0;background:rgba(20,18,15,.32);z-index:55}
.mnav-mask.on{display:block}
body.mnav-lock{overflow:hidden}

/* 顶栏右侧：搜索纯图标、榜单红描边胶囊 */
.site-head .srch{font-size:0 !important;border:0 !important;padding:0 !important;gap:0 !important}
.site-head .srch svg{width:16px;height:16px;opacity:.8}
.site-head .srch:hover svg{opacity:1}
.site-head .cta-red{border:1px solid #C50F3C !important;border-radius:999px;padding:6px 15px !important;
  font-size:12.5px !important;letter-spacing:.12em;line-height:1;color:#C50F3C !important;
  transition:background .22s ease,color .22s ease}
.site-head .cta-red:hover{background:#C50F3C;color:#fff !important}

/* 榜单：左上角红色直角（与站内直角语言一致） */
.site-head .cta-red{position:relative;border:0 !important;border-radius:0 !important;background:none !important;
  padding:2px 0 2px 12px !important;font-size:12.5px !important;letter-spacing:.12em;line-height:1.25;color:#171614 !important}
.site-head .cta-red::before{content:"";position:absolute;left:3px;top:-2px;width:9px;height:9px;
  border-left:2px solid #C50F3C;border-top:2px solid #C50F3C}
.site-head .cta-red:hover{color:#C50F3C !important}
