/*
Theme Name: 好体育 - haotiyufifacenter.com
Theme URI: https://haotiyufifacenter.com/
Author: 好体育
Description: 国家队赛事主题。核心词：好体育国家队比赛。内置 API-Football v3 数据层、联赛白名单、DeepSeek 数据中文化、虚拟栏目路由、JSON-LD 与 IndexNow，全站北京时间（UTC+8）。
Version: 1.6.3
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haotiyufifacenter-com
Tags: sports, football, news, custom-menu, translation-ready
*/

*{box-sizing:border-box}
body{margin:0;background:#f6f5f2;color:#1d1d1f;font-family:"Noto Serif SC","Songti SC",serif;line-height:1.62}
a{color:inherit}
img{max-width:100%;height:auto}
.nt-shell{max-width:1120px;margin:0 auto;padding:0 18px}
.nt-top{background:#1d1d1f;border-bottom:1px solid #e0ded7}
.nt-top .nt-shell{display:flex;align-items:center;justify-content:space-between;min-height:60px}
.nt-mark{font-size:19px;font-weight:800;text-decoration:none;color:#ffffff;letter-spacing:.3px}
.nt-mark i{font-style:normal;color:#b8860b}
.nt-lead h1{font-size:clamp(23px,3.4vw,34px);margin:0 0 10px;letter-spacing:-.4px}
.nt-lead p{margin:0;color:#6e6b64;max-width:700px}
.nt-copy{max-width:780px;margin:0 auto 40px;padding:0 18px}
.nt-copy h2{font-size:19px;margin:26px 0 8px}
.nt-copy p{margin:0 0 10px;color:#6e6b64}
.nt-copy details{border-bottom:1px solid #e0ded7;padding:11px 0}
.nt-copy summary{cursor:pointer;font-weight:600;color:#1d1d1f}
.nt-stamp{font-size:13px;color:#6e6b64;border-top:1px solid #e0ded7;padding-top:10px;margin-top:18px}
.nt-chips{display:flex;flex-wrap:wrap;gap:8px;max-width:1120px;margin:0 auto 26px;padding:0 18px}
.nt-chips a{font-size:13px;padding:7px 13px;border:1px solid #e0ded7;border-radius:4px;text-decoration:none;background:#ffffff}
.nt-chips a:hover{border-color:#b8860b;color:#b8860b}
.nt-tb{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.nt-tb th{text-align:left;font-size:12px;color:#6e6b64;font-weight:500;padding:10px 8px;border-bottom:1px solid #e0ded7}
.nt-tb td{padding:11px 8px;border-bottom:1px solid #e0ded7}
.nt-hl{font-weight:700;color:#b8860b}
.nt-end{background:#1d1d1f;color:#6e6b64;font-size:13px;padding:24px 0;margin-top:36px;border-top:1px solid #e0ded7}
.nt-end a{color:#ffffff;opacity:.85}

.nt-lead{max-width:920px;margin:0 auto;padding:44px 18px 12px;text-align:center}
.nt-lead p{margin:0 auto}
.nt-tagline{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:920px;margin:16px auto 22px;padding:0 18px}
.nt-tagline a{font-size:13px;padding:6px 11px;border:1px solid #e0ded7;text-decoration:none;background:#ffffff}
.nt-tagline a:hover{border-color:#b8860b;color:#b8860b}
.nt-box{max-width:920px;margin:0 auto 28px;padding:0 18px;display:flex;flex-direction:column;gap:10px}
.nt-box h2{font-size:18px;margin:0 0 12px;border-bottom:2px solid #b8860b;display:inline-block;padding-bottom:4px}

.nt-r{display:grid;grid-template-columns:132px 1fr 100px;gap:14px;align-items:center;background:#ffffff;border:1px solid #e0ded7;border-radius:4px;padding:13px 17px}
.nt-t{font-size:13px;color:#6e6b64;font-variant-numeric:tabular-nums}
.nt-m{font-size:15px;font-weight:600}
.nt-m b{color:#b8860b;margin:0 8px}
.nt-l{font-size:12px;color:#4a6741;text-align:right}
@media(max-width:840px){.nt-r{grid-template-columns:1fr;gap:4px}.nt-l{text-align:left}}


/* ---------- 通用文章模块（列表 / 正文 / 搜索 / 404） ---------- */
.hfc-list,.hfc-single{max-width:820px;margin:0 auto;padding:26px 18px 40px}
.hfc-title{font-size:clamp(22px,3vw,30px);line-height:1.35;margin:0 0 14px}
.hfc-card{padding:16px 0;border-bottom:1px solid rgba(128,128,128,.25)}
.hfc-h2{font-size:19px;margin:0 0 6px;line-height:1.4}
.hfc-h2 a{color:inherit;text-decoration:none}
.hfc-h2 a:hover{text-decoration:underline}
.hfc-meta{font-size:13px;opacity:.7;margin:0 0 8px}
.hfc-sum{font-size:15px;opacity:.85;margin:0}
.hfc-crumb{font-size:12px;opacity:.7;margin-bottom:10px}
.hfc-crumb a{color:inherit}
.hfc-thumb{margin:0 0 18px}
.hfc-content{font-size:16px;line-height:1.8}
.hfc-content h2{font-size:21px;margin:26px 0 10px}
.hfc-content h3{font-size:18px;margin:20px 0 8px}
.hfc-content p{margin:0 0 12px}
.hfc-content table{width:100%;border-collapse:collapse;margin:14px 0}
.hfc-content th,.hfc-content td{border:1px solid rgba(128,128,128,.3);padding:8px 10px}
.hfc-content blockquote{margin:16px 0;padding-left:14px;border-left:3px solid rgba(128,128,128,.45);opacity:.9}
.hfc-tags{font-size:13px;opacity:.75;margin-top:20px}
.hfc-adj{display:flex;justify-content:space-between;gap:16px;font-size:14px;padding:18px 0;border-top:1px solid rgba(128,128,128,.25)}
.hfc-adj a{color:inherit;text-decoration:none}
.hfc-pager{margin-top:20px;font-size:14px}
.hfc-search{display:flex;gap:8px;margin:14px 0}
.hfc-search input{flex:1;padding:9px 12px;border:1px solid rgba(128,128,128,.4);border-radius:6px;background:transparent;color:inherit;font-size:14px}
.hfc-search button{padding:9px 18px;border:0;border-radius:6px;cursor:pointer;font-size:14px}
.hfc-comments{max-width:820px;margin:0 auto;padding:0 18px 40px}
.hfc-commentlist{list-style:none;padding:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
:focus-visible{outline:2px solid currentColor;outline-offset:2px}


/* ---------- 顶栏固定 ---------- */
.hfc-sticky{position:sticky;top:0;z-index:9000;background:#1d1d1f}

/* ---------- 主导航：桌面横排 / 手机汉堡 ---------- */
.hfc-navroot{position:relative;display:flex;align-items:center}
.hfc-menu{display:flex;align-items:center;gap:18px}
.hfc-menu-nav{display:flex;align-items:center;gap:18px;flex-wrap:nowrap}
.hfc-menu-nav a.hfc-menu-link{font-size:14px;line-height:1;text-decoration:none;color:#ffffff !important;white-space:nowrap;padding:6px 0}
.hfc-menu-nav a.hfc-menu-link:hover,.hfc-menu-nav a.hfc-menu-link[aria-current]{color:#b8860b !important}
.hfc-auth{display:flex;align-items:center;gap:8px;margin-left:14px}
/* 用 .auth a.btn 提高优先级，压过主题里 ".xxx a{color:...}" 这类 0-1-1 的规则 */
.hfc-auth a.hfc-btn{display:inline-block;font-size:13px;line-height:1;white-space:nowrap;padding:8px 14px;border-radius:4px;text-decoration:none;font-weight:500}
.hfc-auth a.hfc-btn-ghost{color:#ffffff !important;background:transparent;border:1px solid #e0ded7}
.hfc-auth a.hfc-btn-solid{color:#ffffff !important;background:#936b08;border:1px solid #936b08}
.hfc-auth a.hfc-btn:hover{opacity:.86}
.hfc-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:38px;padding:0 9px;border:1px solid #e0ded7;border-radius:8px;background:transparent;cursor:pointer}
.hfc-burger-bar{display:block;height:2px;width:100%;background:#ffffff;border-radius:2px}

@media (max-width:840px){
	/* logo 一行、汉堡在右；登录注册单独一行、居中，不进汉堡菜单 */
	.nt-top .nt-shell{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:10px}
	.hfc-navroot{order:2;margin-left:auto}
	.hfc-auth{order:3;flex-basis:100%;justify-content:center;margin:10px 0 2px;gap:12px}
	.hfc-auth a.hfc-btn{min-width:104px;text-align:center;padding:10px 0;font-size:14px}
	.hfc-burger{display:inline-flex}
	.hfc-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);z-index:9500;flex-direction:column;align-items:stretch;gap:0;min-width:min(80vw,260px);padding:6px 8px;border:1px solid #e0ded7;border-radius:12px;background:#ffffff;box-shadow:0 12px 30px rgba(0,0,0,.22)}
	.hfc-menu.is-open{display:flex}
	.hfc-menu.is-open .hfc-menu-nav{display:flex}
	.hfc-menu-nav{flex-direction:column;align-items:stretch;gap:0}
	.hfc-menu-nav a.hfc-menu-link{padding:12px;border-bottom:1px solid #e0ded7;font-size:15px}
	.hfc-menu-nav a.hfc-menu-link:last-child{border-bottom:0}
}


/* ---------- 栏目页 ---------- */
.hfc-rt{max-width:980px;margin:0 auto;padding:26px 18px 44px}
.hfc-rt-crumb{font-size:12px;opacity:.7;margin-bottom:10px}
.hfc-rt-crumb a{color:inherit}
.hfc-rt-h1{font-size:clamp(22px,3vw,30px);line-height:1.35;margin:0 0 10px}
.hfc-rt-h2{font-size:19px;margin:28px 0 10px}
.hfc-rt-lede{font-size:15px;opacity:.85;margin:0 0 18px;max-width:760px}
.hfc-rt-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;margin:0 0 18px}
.hfc-rt-table th,.hfc-rt-table td{padding:10px 8px;border-bottom:1px solid #e0ded7;text-align:left}
.hfc-rt-table thead th{font-size:12px;opacity:.7;font-weight:500}
.hfc-rt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hfc-rt-chips a{display:inline-block;font-size:13px;padding:7px 13px;border:1px solid #e0ded7;border-radius:8px;text-decoration:none;color:inherit}
.hfc-rt-chips a:hover{border-color:#b8860b;color:#b8860b}
.hfc-rt-item{padding:14px 0;border-bottom:1px solid #e0ded7}
.hfc-rt-item h2{font-size:18px;margin:0 0 6px}
.hfc-rt-item h2 a{color:inherit;text-decoration:none}
.hfc-rt-text{font-size:15px;line-height:1.85;max-width:760px}
.hfc-rt-meta{font-size:13px;opacity:.7;margin-top:18px}
@media (max-width:640px){.hfc-rt-table{font-size:13px}.hfc-rt-table th,.hfc-rt-table td{padding:8px 5px}}
