/*
Theme Name: 好体育挪超 HTY Pulse
Theme URI: https://haotiyupulse.com/
Author: 好体育
Description: 挪超数据站，覆盖赛程、比分、积分榜与射手榜。 核心词：好体育挪超。内置 API-Football v3 数据层、自适应 TTL 缓存、JSON-LD 结构化数据与 IndexNow 推送，全站北京时间（UTC+8）。
Version: 1.5.2
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: haotiyupulse-com
Tags: sports, football, news, custom-menu, translation-ready
*/

*{box-sizing:border-box}
body{margin:0;background:#ffffff;color:#12203a;font-family:"PingFang SC","Hiragino Sans GB",sans-serif;line-height:1.6}
a{color:inherit}
.nor-wrap{max-width:1120px;margin:0 auto;padding:0 18px}
.nor-bar{background:#12203a;border-bottom:1px solid #dbe4f0}
.nor-bar .nor-wrap{display:flex;align-items:center;justify-content:space-between;min-height:62px}
.nor-logo{font-size:19px;font-weight:800;text-decoration:none;color:#ffffff;letter-spacing:.5px}
.nor-logo i{font-style:normal;color:#ef476f}
.nor-nav{display:flex;gap:20px}
.nor-nav a{font-size:14px;text-decoration:none;color:#ffffff;opacity:.85}
.nor-nav a:hover{opacity:1;color:#ef476f}
.nor-hero h1{font-size:clamp(24px,3.6vw,36px);margin:0 0 10px;letter-spacing:-.5px}
.nor-hero p{margin:0;color:#61728c;max-width:680px}
.nor-prose{max-width:780px;margin:0 auto 40px;padding:0 18px}
.nor-prose h2{font-size:20px;margin:26px 0 8px}
.nor-prose p{margin:0 0 10px;color:#61728c}
.nor-prose details{border-bottom:1px solid #dbe4f0;padding:11px 0}
.nor-prose summary{cursor:pointer;font-weight:600;color:#12203a}
.nor-sign{font-size:13px;color:#61728c;border-top:1px solid #dbe4f0;padding-top:10px;margin-top:18px}
.nor-links{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.nor-links a{font-size:13px;padding:7px 13px;border:1px solid #dbe4f0;border-radius:999px;text-decoration:none;background:#f6f9fd}
.nor-links a:hover{border-color:#ef476f;color:#ef476f}
.nor-tb{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.nor-tb th{text-align:left;font-size:12px;color:#61728c;font-weight:500;padding:10px 8px;border-bottom:1px solid #dbe4f0}
.nor-tb td{padding:11px 8px;border-bottom:1px solid #dbe4f0}
.nor-sc,.nor-pt{font-weight:700;color:#ef476f}
.nor-foot{background:#12203a;color:#61728c;font-size:13px;padding:24px 0;margin-top:36px;border-top:1px solid #dbe4f0}
.nor-foot a{color:#ffffff;opacity:.85}

.nor-hero{max-width:900px;margin:0 auto;padding:38px 18px 14px}
.nor-time-list{max-width:900px;margin:0 auto 30px;padding:0 18px 0 34px;position:relative}
.nor-time-list::before{content:"";position:absolute;left:16px;top:8px;bottom:8px;width:2px;background:#dbe4f0}
.nor-item{position:relative;display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;background:#f6f9fd;border:1px solid #dbe4f0;border-radius:999px;padding:13px 18px;margin-bottom:10px}
.nor-item::before{content:"";position:absolute;left:-26px;width:10px;height:10px;border-radius:50%;background:#ef476f}
.nor-time{font-size:13px;color:#61728c;font-variant-numeric:tabular-nums}
.nor-vs{font-weight:600}
.nor-vs b{color:#ef476f;margin:0 6px}
.nor-lg{font-size:12px;color:#118ab2}
.nor-links{max-width:900px;margin:0 auto 24px;padding:0 18px}

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


/* ---------- 顶栏固定 ---------- */
.hpl-sticky{position:sticky;top:0;z-index:9000;background:#12203a}

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

@media (max-width:820px){
	/* logo 一行、汉堡在右；登录注册单独一行、居中，不进汉堡菜单 */
	.nor-bar .nor-wrap{flex-wrap:wrap;height:auto;row-gap:0;padding-top:10px;padding-bottom:10px}
	.hpl-navroot{order:2;margin-left:auto}
	.hpl-auth{order:3;flex-basis:100%;justify-content:center;margin:10px 0 2px;gap:12px}
	.hpl-auth .hpl-btn{min-width:120px;text-align:center;padding:11px 0;font-size:15px}
	.hpl-burger{display:inline-flex}
	.hpl-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 #dbe4f0;border-radius:12px;background:#f6f9fd;box-shadow:0 12px 30px rgba(0,0,0,.22)}
	.hpl-menu.is-open{display:flex}
	.hpl-menu.is-open .hpl-menu-nav{display:flex}
	.hpl-menu-nav{flex-direction:column;align-items:stretch;gap:0}
	.hpl-menu-link{padding:12px;border-bottom:1px solid #dbe4f0;font-size:15px}
	.hpl-menu-nav .hpl-menu-link:last-child{border-bottom:0}
}


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