@charset "utf-8";
/* ============================================================================
   chrome-hot.css —— 全站报头 + 页脚（「品牌词·白橙」浅色外壳）
   ----------------------------------------------------------------------------
   一份标记、一套样式，首页和内页都用它：
     · 首页：views/public/layout_hot_top.php / layout_hot_bottom.php
     · 内页：views/public/layout_top.php / layout_bottom.php
   两边的具体标记在 views/public/chrome_hot.php 的 hot_chrome_header() /
   hot_chrome_footer() 里，改结构只改那一个文件。

   为什么用 hc- 前缀、不沿用首页的 .site-header / .nav：
   内页还加载着 app.css（Tailwind 预置 + .site-header / .to-top）和 a5.css
   （.site-header nav .ui-pill …），同名类会被那两套规则掺进来（底色、间距、
   字体全都不是这里的值）。前缀 + 后加载，两边互不打扰，删掉这里也不会影响内页。

   色值两套来源，按「后台主题」走：
     · 这里的 :root 是兜底（没 data-skin 时也能看，恒浅色）；
     · theme-hot.css 的 body[data-skin] 会把 --hc-* 重算成当前主题的色，
       所以后台换主题（白橙 / 云蓝 / 曜石黑 / 赛博紫 … 9 套）报头页脚会一起变，
       报头尺寸、毛玻璃、动效这些版式参数一个字都不用改。
   ============================================================================ */

:root{
  --hc-bg:rgba(255,255,255,.8);
  --hc-bg-solid:rgba(255,255,255,.96);
  --hc-card:#ffffff;
  --hc-line:rgba(17,24,39,.09);
  --hc-line-strong:rgba(17,24,39,.17);
  --hc-txt:#151a23;
  --hc-txt-2:#525d70;
  --hc-txt-3:#8b94a7;
  --hc-orange:#ff5b2e;
  --hc-orange-2:#f4772a;
  --hc-grad:linear-gradient(100deg,#ff5b2e 0%,#f4772a 55%,#ffd24a 100%);
  --hc-max:1280px;
  --hc-sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --hc-cond:"Barlow Condensed","Noto Sans SC",system-ui,sans-serif;
}

/* ============================== 报头 ============================== */
.hc-header{
  position:sticky;top:0;z-index:60;
  background:var(--hc-bg);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  border-bottom:1px solid var(--hc-line);
  color:var(--hc-txt);font-family:var(--hc-sans);
  transition:background .3s,border-color .3s;
}
.hc-header.scrolled{background:var(--hc-bg-solid);border-bottom-color:var(--hc-line-strong)}
.hc-inner{width:100%;max-width:1080px;margin:0 auto;padding:0 20px}
/* 首页版式是 1280（设计稿的 --max），内页正文是 1080（.max-w-site）：
   报头 / 页脚跟各自的内容同宽，logo 才不会比正文多出一截 */
.hc-wide .hc-inner{max-width:1280px}
@media(min-width:1600px){.hc-wide .hc-inner{max-width:1360px}}

/* 版式：站标贴左，菜单整体推到最右（2026-11-23 去掉搜索框和「直播中」按钮）
   .hc-nav 不留 gap：右侧还有个空的 .hc-right（汉堡容器），留 gap 会让菜单右侧白出一截 */
.hc-nav{display:flex;align-items:center;height:72px}

.hc-logo{display:flex;align-items:center;gap:10px;flex:0 0 auto;text-decoration:none;color:inherit}
/* logo 去掉背景色块（2026-11-23 用户要求）：报头 / 页脚同一类，直接露 logo 本体 */
.hc-logo-mark{width:38px;height:38px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;position:relative;overflow:hidden}
.hc-logo-mark svg{width:20px;height:20px}
.hc-logo-mark img{width:100%;height:100%;object-fit:contain;padding:3px}
.hc-logo-txt{line-height:1;min-width:0}
.hc-logo-txt b{display:block;font-size:19px;font-weight:900;letter-spacing:.06em;color:var(--hc-txt);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:9em}

.hc-links{display:flex;align-items:center;gap:4px;margin-left:auto;padding-left:16px;min-width:0;overflow-x:auto;scrollbar-width:none}
.hc-links::-webkit-scrollbar{display:none}
.hc-links a{padding:10px 15px;border-radius:10px;font-size:14.5px;font-weight:500;color:var(--hc-txt-2);
  text-decoration:none;white-space:nowrap;flex:0 0 auto;position:relative;transition:color .2s,background .2s}
.hc-links a:hover{color:var(--hc-txt);background:color-mix(in srgb, var(--txt) 6%, transparent)}
.hc-links a.on{color:var(--hc-txt);font-weight:700}
.hc-links a.on::after{content:"";position:absolute;left:15px;right:15px;bottom:2px;height:2px;border-radius:2px;background:var(--hc-grad)}

/* 汉堡容器：宽屏里它是空的（按钮 display:none），所以不占位、也不要 auto 外边距 ——
   否则它会和 .hc-links 的 margin-left:auto 对半分空白，菜单会停在中间偏右 */
.hc-right{display:flex;align-items:center;gap:10px;flex:0 0 auto}

.hc-burger{display:none;position:relative;width:40px;height:38px;border-radius:11px;flex:0 0 auto;cursor:pointer;
  border:1px solid var(--hc-line);background:color-mix(in srgb, var(--txt) 4%, transparent);padding:0}
.hc-burger span{position:absolute;left:50%;top:50%;display:block;width:16px;height:1.6px;margin:0;
  background:var(--hc-txt);border-radius:2px;transition:transform .25s,opacity .25s;transform:translate(-50%,-50%)}
.hc-burger span:nth-child(1){transform:translate(-50%,calc(-50% - 5px))}
.hc-burger span:nth-child(3){transform:translate(-50%,calc(-50% + 5px))}
.hc-burger.on span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg)}
.hc-burger.on span:nth-child(2){opacity:0}
.hc-burger.on span:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg)}

/* 抽屉菜单（窄屏） */
.hc-drawer{display:block;position:fixed;left:0;right:0;top:0;z-index:55;padding:72px 16px 20px;
  background:color-mix(in srgb, var(--bg) 98%, transparent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--hc-line-strong);
  transform:translateY(-102%);transition:transform .36s cubic-bezier(.5,0,.2,1);
  min-height:100vh;max-height:100vh;overflow:auto;font-family:var(--hc-sans)}
.hc-drawer.open{transform:none}
.hc-drawer a{display:flex;align-items:center;justify-content:space-between;padding:14px 6px;font-size:15px;
  font-weight:600;color:var(--hc-txt-2);border-bottom:1px solid color-mix(in srgb, var(--txt) 6%, transparent);text-decoration:none}
.hc-drawer a.on{color:var(--hc-orange-2)}
.hc-drawer a::after{content:"›";color:var(--hc-txt-3);font-size:17px}
html.hc-drawer-open body{overflow:hidden}

/* ============================== 页脚 ============================== */
.hc-footer{
  margin-top:56px;border-top:1px solid var(--hc-line);background:var(--hc-card);padding:40px 0 28px;
  color:var(--hc-txt-2);font-family:var(--hc-sans);
}
/* 页脚三栏：品牌介绍 + 赛事 + 内容（2026-11-23 去掉了「更多」那一列，
   教练与球队提到报头导航里，站内搜索 / 站点地图留在底部那一行）。
   品牌那一列给得宽一点（1.9fr），站点介绍要整段排开、不截断。 */
.hc-foot-grid{display:grid;grid-template-columns:1.9fr repeat(2,1fr);gap:32px}
.hc-foot-brand .hc-logo{margin-bottom:14px}
.hc-foot-brand p{margin:0;font-size:12.5px;color:var(--hc-txt-3);line-height:1.75;max-width:44em}
.hc-foot-col h5{margin:0 0 14px;font-size:12px;letter-spacing:.14em;color:var(--hc-txt-2);font-weight:800}
.hc-foot-col a{display:block;font-size:12.5px;color:var(--hc-txt-3);padding:5px 0;text-decoration:none;transition:.2s}
.hc-foot-col a:hover{color:var(--hc-orange-2)}
.hc-foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px;padding-top:18px;
  border-top:1px solid var(--hc-line);font-size:12px;color:var(--hc-txt-3)}
.hc-foot-links .lb{color:var(--hc-txt-2);font-weight:700}
.hc-foot-links a{padding:3px 10px;border-radius:999px;border:1px solid var(--hc-line);color:var(--hc-txt-3);
  text-decoration:none;transition:.2s}
.hc-foot-links a:hover{color:var(--hc-orange-2);border-color:color-mix(in srgb, var(--volt) 45%, transparent)}
.hc-foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px;padding-top:20px;
  border-top:1px solid var(--hc-line);font-size:12px;color:var(--hc-txt-3);flex-wrap:wrap}
.hc-foot-bottom .links{display:flex;gap:16px;flex-wrap:wrap}
.hc-foot-bottom a{color:var(--hc-txt-3);text-decoration:none;transition:.2s}
.hc-foot-bottom a:hover{color:var(--hc-orange-2)}
.hc-foot-bottom .hc-copy a{color:inherit;text-decoration:none}

/* 回到顶部 */
.hc-to-top{position:fixed;right:16px;bottom:20px;z-index:57;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;cursor:pointer;padding:0;
  background:var(--hc-grad);color:var(--on-accent);border:0;
  box-shadow:0 12px 28px -12px color-mix(in srgb, var(--volt) 90%, transparent),0 0 0 1px color-mix(in srgb, var(--txt) 14%, transparent);
  opacity:0;transform:translateY(8px);pointer-events:none;
  transition:opacity .2s,transform .2s,filter .2s}
.hc-to-top.show{opacity:1;transform:none;pointer-events:auto}
.hc-to-top:hover{filter:brightness(1.06)}
.hc-to-top svg{width:20px;height:20px}
@media(min-width:640px){.hc-to-top{right:24px;bottom:24px}}

/* ============================== 响应式 ============================== */
/* 菜单项多（首页 + 后台那些栏目），1280 以下缩字号，1179 以下切汉堡 */
@media(max-width:1279px){
  .hc-nav{gap:14px}
  .hc-links a{padding:7px 7px;font-size:12.8px}
}
@media(max-width:1179px){
  .hc-links{display:none}
  .hc-burger{display:block}
  /* 菜单收起来后，汉堡自己顶到最右 */
  .hc-right{margin-left:auto}
}
/* 宽屏不渲染抽屉：收起时它只是屏幕外的一条，键盘 Tab 还是会走进去 */
@media(min-width:1180px){
  .hc-drawer{display:none}
}
@media(max-width:900px){
  .hc-inner{padding:0 16px}
  /* 移动端头部：站标贴左，右侧只剩菜单按钮 */
  .hc-nav{height:60px}
  .hc-logo-mark{width:34px;height:34px}
  .hc-logo-txt b{font-size:17px}
  .hc-drawer{padding:68px 16px 20px}
  .hc-footer{padding:28px 0 22px;margin-top:32px}
  .hc-foot-grid{grid-template-columns:1fr 1fr;gap:20px}
  .hc-foot-brand{grid-column:1/-1}
  .hc-foot-bottom{flex-direction:column;align-items:flex-start;gap:12px}
}
