/* hga2880 专属增强。所有规则仅由此模板加载，不修改原站共用样式。 */
.portal-group-ads{padding:14px 26px 0;display:grid;gap:6px}.portal-group-ads [data-group-ad]{min-width:0}.portal-ad-desktop,.portal-ad-mobile{display:grid;gap:6px}.portal-ad-item{min-width:0;overflow-wrap:anywhere}.portal-ad-item>a{display:block;text-decoration:none}.portal-ad-item img{display:block;max-width:100%;width:100%;height:auto}.portal-ad-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.portal-ad-text .portal-ad-item>a{padding:9px 12px;min-height:40px;background:#ffffffeb;border:1px solid #e1e8ef;border-radius:6px;color:#b13432;font-size:16px;line-height:1.5}.portal-ad-text .portal-ad-item>a:hover{border-color:#c2a158;color:#87611b}
@media(max-width:900px){.portal-group-ads{padding:12px 14px 0}.portal-ad-text{grid-template-columns:minmax(0,1fr)}.portal-ad-text .portal-ad-item>a{font-size:15px;padding:8px 10px}}
/* 首页首屏下载入口。二维码沿用现有下载页，不复制安装权限说明。 */
body.hga-portal .home-intro{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:center;padding-right:180px;min-height:170px}
.home-intro .intro-copy{min-width:0}.home-intro .intro-copy h1,.home-intro .intro-copy p{max-width:none}
.home-app-download{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 84px;column-gap:12px;align-items:center;padding:12px 14px;border:1px solid #e5d4ab;border-radius:12px;background:#fffffff2;box-shadow:0 5px 18px #6e572b0c}
.home-app-download h2{grid-column:1;margin:0;color:#18375c;font-size:17px;line-height:1.4;white-space:nowrap}
.home-intro .home-app-download .app-entry-version{grid-column:1;margin:4px 0 8px;font-size:12px;line-height:1.4;color:#6e8298;max-width:none}
.home-app-download .primary-button{grid-column:1;min-height:36px;padding:7px 10px;font-size:14px}
.home-app-download figure{grid-column:2;grid-row:1/4;margin:0;text-align:center}.home-app-download figure img{display:block;width:84px;height:84px}.home-app-download figcaption{margin-top:3px;color:#6e8298;font-size:11px}
@media(min-width:901px){
 body.hga-portal .header{height:84px;padding:0 26px;gap:24px}
 body.hga-portal .brand img{width:48px;height:48px}body.hga-portal .wordmark{font-size:26px}
 body.hga-portal .navigation a{font-size:16px;min-height:60px}
 body.hga-portal .navigation,body.hga-portal .navigation>span{gap:17px}
 body.hga-portal .home-intro{grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto 46px;column-gap:28px;row-gap:14px;min-height:0;padding:24px 180px 24px 28px;align-items:start}
 .home-intro .intro-copy{grid-column:1;grid-row:1;padding-right:0}
 body.hga-portal .home-app-download{grid-column:2;grid-row:1/3;align-self:center;width:340px;margin:0;padding:12px 16px;box-sizing:border-box}
 body.hga-portal .home-intro>.search{grid-column:1;grid-row:2;max-width:460px;width:100%;margin:0;align-self:end}
}
@media(max-width:900px){
 body.hga-portal .home-intro{display:block;min-height:0;padding-right:15px}.home-intro .intro-copy{padding-right:100px;margin-bottom:14px}
 body.hga-portal .home-app-download{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:12px 14px}
 .home-app-download h2{font-size:16px}.home-intro .home-app-download .app-entry-version{margin:3px 0 0}
 .home-app-download .primary-button{grid-column:2;grid-row:1/3;min-height:44px;padding:10px 18px;font-size:14px}.home-app-download figure{display:none}
 body.hga-portal .home-intro>.search{max-width:none;margin:16px 0 0}
 body.hga-portal .page-content .compact-url-list{grid-template-columns:minmax(0,1fr)}
 body.hga-portal .page-content .compact-url{min-height:46px;padding:10px 12px;font-size:16px;white-space:nowrap;overflow-wrap:normal;word-break:normal;overflow:hidden;text-overflow:ellipsis}
}
/* Mobile requirements: a separate single-line navigation row, compact previews. */
@media(max-width:900px){
 body.hga-portal .header{height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;padding:8px 10px 0}
 body.hga-portal .header .brand{justify-self:start;min-height:36px}
 body.hga-portal .header .brand img{width:38px;height:38px}
 body.hga-portal .navigation{display:contents;overflow:visible;mask-image:none}
 body.hga-portal .navigation .nav-primary{grid-column:2;grid-row:1;justify-content:flex-end;gap:14px;font-size:16px}
 body.hga-portal.is-app-webview .navigation .nav-primary{gap:24px}
 body.hga-portal.is-app-webview .navigation .nav-primary a{min-width:44px;justify-content:center;padding:0 3px}
 body.hga-portal .navigation .nav-secondary{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between;gap:0;font-size:15px}
 body.hga-portal .navigation a{font-size:inherit;min-height:46px;letter-spacing:0;flex-shrink:0;white-space:nowrap}
 body.hga-portal .home-url-sections{grid-template-columns:minmax(0,1fr);gap:20px}
 body.hga-portal .home-url-section .compact-url{min-height:44px;white-space:nowrap;font-size:clamp(14px,3.8vw,18px);padding:10px 12px}
 body.hga-portal .news-section .article-news-list .news-row{display:block;padding:0 12px;height:48px;line-height:48px}
 body.hga-portal .news-section .news-row h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:48px;font-size:15px;overflow-wrap:normal}
 body.hga-portal .news-section .news-row time,body.hga-portal .news-section .news-row>span{display:none}
}
.app{max-width:1060px;min-height:100dvh;border-radius:0;margin:0 auto;padding-bottom:0;border:0;box-shadow:0 12px 65px #2e4c7010}
/* 桌面比分框随统一页面宽度收缩，避免1050px最小宽度产生横向滚动。 */
@media(min-width:901px){.app-score .score-window iframe{min-width:0}}
/* 同球研网的手机比分：1080px 整表等比显示，按缩放比例补足 iframe 高度。 */
@media(max-width:900px){body.hga-portal .app-score .score-window{height:900px;min-height:0;overflow:hidden}body.hga-portal .app-score .score-window iframe{min-width:0;max-width:none;transform-origin:0 0}}
.header{height:64px;padding:0 22px;border-radius:0;gap:22px}.brand{gap:5px}.brand img{width:34px;height:34px}.wordmark{font-size:23px}.wordmark small{font-size:12px}
.navigation{flex:1;min-width:0;justify-content:flex-end;gap:17px;overflow:auto;scrollbar-width:none;overscroll-behavior-inline:contain}.navigation::-webkit-scrollbar{display:none}
.navigation>span{display:flex;align-items:center;gap:17px;flex-shrink:0}
@media(max-width:359px){body.hga-portal .navigation .nav-secondary{font-size:13px}}
.navigation a{position:relative;display:flex;align-items:center;flex-shrink:0;min-height:44px;white-space:nowrap;text-decoration:none;font-size:15px;font-weight:600;color:#647c95}
.navigation a[aria-current=page]{color:#aa7e27}.navigation a[aria-current=page]:after{content:'';position:absolute;bottom:2px;left:calc(50% - 10px);width:20px;height:2px;border-radius:2px;background:#b99546}
.auth-links{display:flex;gap:3px;align-items:center;white-space:nowrap;flex-shrink:0;color:#8fa2b6}.auth-links a{font-size:14px}
.auth-panel>.registration-prompt{color:#8b641c;font-weight:500;line-height:1.7;margin:18px 0 0}.auth-panel>.registration-prompt a{color:#916716;font-weight:700;text-decoration:underline;text-decoration-color:#bd9140;text-decoration-thickness:2px;text-underline-offset:3px}.auth-panel>.registration-prompt a:hover{color:#6b4811}
.skip-link{position:fixed;left:8px;top:-80px;z-index:100;background:white;padding:12px;color:#163a64}.skip-link:focus{top:4px}
.intro{padding:27px 28px 22px;min-height:114px}.intro h1{font-size:30px;letter-spacing:-.8px;color:#18375c;max-width:calc(100% - 130px);overflow-wrap:anywhere}.intro p{font-size:14px;max-width:calc(100% - 120px)}
.football-scene{right:40px;top:8px;transform:scale(1.15);transform-origin:top right}
.content{padding:0 26px}.search{height:46px;margin-bottom:20px;max-width:650px}.search input{font-size:15px}.search button{border:0;border-left:1px solid #dce5f0;padding:0 0 0 12px;background:none;color:#5c7d9a;min-height:32px;flex-shrink:0;font-size:14px}
.section-heading{margin-bottom:12px}.section-heading h2{font-size:20px}.more-link{font-size:13px;white-space:nowrap;text-decoration:none;color:#7c8ca0}
.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.site-card{min-height:158px;padding:16px}.site-identity{margin-bottom:10px;gap:10px}.site-mark{width:37px;height:40px;font-size:24px}.site-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.site-name{font-size:21px;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}.site-domain{font-size:12px;white-space:normal;overflow-wrap:anywhere}.site-description{font-size:15px;min-height:24px;overflow-wrap:anywhere;word-break:normal;margin-bottom:12px}.site-actions{justify-content:flex-end}.launch{flex:0 1 170px;height:40px;font-size:14px}
/* 纯装饰的神经网络、运算核心和数据流，不展示虚构的业务指标。 */
.card-ai-art{position:absolute;left:12px;bottom:7px;width:calc(100% - 210px);max-width:265px;height:70px;color:var(--accent);stroke:currentColor;stroke-width:1.2;fill:none;opacity:.94;pointer-events:none;filter:drop-shadow(0 3px 3px #719bb51a)}
.site-card .site-identity,.site-card .site-description,.site-card .site-actions{position:relative;z-index:1}
/* 桌面简介与按钮组成右侧一列，左侧保留品牌与立体智能图形。 */
@media(min-width:901px){.site-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:auto 1fr auto;column-gap:14px}.site-card .site-identity{grid-column:1;grid-row:1;align-self:start;margin-bottom:0}.site-card .site-description{grid-column:2;grid-row:1/3;align-self:start;margin:0 0 12px;min-height:0;font-size:14px;line-height:1.75}.site-card .site-actions{grid-column:2;grid-row:3;align-self:end;margin-top:0;justify-content:flex-end}.site-card .launch{flex:0 1 170px}.site-card .card-ai-art{width:calc((100% - 46px)/2.1 - 12px);max-width:265px}}
@media(max-width:900px){.site-card .site-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:0}}
@media(max-width:900px){.card-ai-art{left:auto;right:3px;top:5px;bottom:auto;width:100px;height:60px;opacity:.23}}
/* 新2网址、新2管理沿用原站的紧凑双列网址，不影响首页及专家卡片。 */
.compact-url-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:#f2f3f4;padding:4px}
.compact-url{display:flex;align-items:center;min-width:0;min-height:48px;padding:10px 14px;background:#fff;color:#626b73;text-decoration:none;font-size:22px;line-height:1.35;overflow-wrap:anywhere}
.compact-url:hover,.compact-url:focus-visible{color:#008000;background:#fff;box-shadow:inset 0 0 0 1px #9ed19e}
.compact-url-list>.empty-state{grid-column:1/-1;margin:0;padding:16px;background:#fff}
.home-url-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;margin-top:22px}
.home-url-section{min-width:0}.home-url-section .compact-url-list{grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.home-url-sections{gap:10px;margin-top:18px}.home-url-section .section-heading h2{font-size:18px}.home-url-section .empty-state{font-size:13px;padding:10px}}
@media(max-width:600px){.compact-url{min-height:44px;padding:10px 8px;font-size:clamp(13px,3.5vw,18px)}}
.color-blue{--accent:#366fc4;--edge:#d5e4f8;--tint:#eff6ff;--plinth:#deebf778}.color-rose{--accent:#ce656b;--edge:#efd9dc;--tint:#fff3f4;--plinth:#f0dfe175}.color-green{--accent:#3d967c;--edge:#d7e9e1;--tint:#f0faf6;--plinth:#d9ebe276}.color-gold{--accent:#b78337;--edge:#efdfcd;--tint:#fff7ee;--plinth:#ecdfcf72}
.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quick-links a{display:flex;align-items:center;gap:10px;min-height:57px;padding:9px 14px;background:linear-gradient(135deg,#fffffff5,#f0f6ff);border:1px solid #d8e4f0;border-radius:10px;font-size:16px;font-weight:700;text-decoration:none;box-shadow:0 3px 0 #e0e9f16b}.quick-links a:nth-child(even){background:linear-gradient(135deg,#fff,#fff8ec);border-color:#eadfc7}.quick-icon{color:#bd9750;font-size:23px}.quick-links a>span:last-child{margin-left:auto;font-size:14px;color:#8aa1b6}
.news-section{margin-top:24px}.news-list{border:1px solid #dce5ee;border-radius:11px;background:#ffffffed;overflow:hidden}.news-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid #e4ebf2;text-decoration:none;min-width:0}.news-row:last-child{border-bottom:0}.news-row>div,.news-row>a{min-width:0;overflow-wrap:anywhere}.news-row h2,.news-row h3{font-size:16px;line-height:1.6;margin:0;font-weight:650;overflow-wrap:anywhere}.news-row p{font-size:13px;color:#788ba0;margin:5px 0 0}.news-row time{font-size:12px;color:#7d92a6;white-space:nowrap;flex-shrink:0}.news-row>span{color:#9bb0c5;flex-shrink:0}
.article-news-list .news-row{display:grid;grid-template-columns:minmax(0,1fr) 92px 14px}.article-news-list .news-row>h3{min-width:0}.article-news-list .news-row>time{text-align:right;font-variant-numeric:tabular-nums;color:#617c96}
.app-download-panel{display:grid;grid-template-columns:minmax(0,1fr) 232px;gap:32px;align-items:center}.app-download-qr{margin:0;text-align:center;color:#647c95}.app-download-qr img{display:block;max-width:100%;height:auto}.app-download-qr figcaption{font-size:14px;margin-top:8px}
@media(max-width:600px){.app-download-panel{display:block}.app-download-qr{display:none}}
@media(max-width:600px){.article-news-list .news-row{grid-template-columns:minmax(0,1fr) 72px 12px}}
.portal-footer{padding:25px 20px;text-align:center;display:flex;justify-content:center;gap:20px}.portal-footer a{color:#788ca3;text-decoration:none;font-size:12px}
/* 只调整本站的客服入口，避免原126px竖条压住手机卡片。客服服务本身不变。 */
body.hga-portal .online-support-wrap{right:12px!important;bottom:14px!important}
body.hga-portal .online-support-launcher{width:108px!important;min-width:108px!important;height:44px!important;min-height:44px!important;flex-direction:row!important;gap:6px!important;padding:7px 10px!important;border-radius:24px!important;border:1px solid #b99546!important;background:linear-gradient(135deg,#d5b466,#ad8032)!important;box-shadow:0 4px 15px #6e572b30!important}
body.hga-portal .online-support-launcher:before{display:none!important}
body.hga-portal .online-support-launcher span{flex:0 0 23px!important;width:23px!important;height:23px!important;background:#fffaf0!important;color:#98732b!important;border-color:#f3dfad!important}
body.hga-portal .online-support-launcher b{writing-mode:horizontal-tb!important;font-size:13px!important;letter-spacing:0!important;white-space:nowrap!important}
body.hga-portal .online-support-frame{right:0!important;bottom:58px!important}
body.hga-portal .online-support-unread{top:-7px!important;right:-3px!important;font-size:11px!important}
body.hga-portal .portal-footer{padding-bottom:76px}
@media(max-width:900px){body.hga-portal .online-support-frame{position:fixed!important;top:12px!important;left:12px!important;right:12px!important;bottom:auto!important;width:calc(100vw - 24px)!important;height:calc(100dvh - 82px)!important;min-height:0!important;max-height:none!important}}
.page-content{padding-top:25px;min-height:calc(100dvh - 126px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.page-heading h1{font-size:25px;margin:0}.page-note{font-size:14px;color:#72869e;line-height:1.7}.breadcrumb{font-size:14px;color:#7e93aa;margin-bottom:15px}.breadcrumb a{color:#577b9d;text-decoration:none}
.article-panel,.form-panel{background:#fffffff2;border:1px solid #dbe5ef;border-radius:12px;padding:26px;margin-bottom:20px;min-width:0}.article-panel h1{font-size:28px;line-height:1.5;margin:0 0 14px;overflow-wrap:anywhere}.article-panel h2{font-size:21px}.article-panel>time{font-size:13px;color:#7b8fa6}.article-summary{background:#f0f5fa;border-left:3px solid #c0a15b;padding:14px;line-height:1.8;color:#506b84}.article-body{font-size:17px;line-height:1.95;overflow-wrap:anywhere;margin-top:20px;overflow:auto}.article-body img,.article-body video{max-width:100%;height:auto}.article-body iframe{max-width:100%;border:0}.article-body table{max-width:100%;border-collapse:collapse}.article-body td,.article-body th{border:1px solid #dce4ec;padding:8px}.article-faq{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:10px;line-height:1.8}.article-neighbours{display:grid;gap:10px;line-height:1.7}.article-neighbours a{color:#3e6d9e;overflow-wrap:anywhere}
.form-panel h1{font-size:25px;margin:0 0 22px}.form-panel h2{font-size:20px}.form-panel label{display:block;font-size:15px;color:#43607b;margin-bottom:15px}.form-panel input:not([type=hidden]),.form-panel textarea{display:block;width:100%;margin-top:7px;border:1px solid #cad9e8;border-radius:7px;background:#fff;padding:12px;font-size:16px;color:#1f3e60;font-family:inherit}.form-panel textarea{resize:vertical;line-height:1.7}.primary-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 22px;border:1px solid #ab8338;border-radius:8px;background:linear-gradient(135deg,#d7b566,#b68d3e);color:#fff;text-decoration:none;font-size:16px;font-weight:700;cursor:pointer}.primary-button:disabled{opacity:.6}.auth-panel{max-width:440px;margin:10px auto 30px}.auth-panel .primary-button{width:100%}.auth-panel>p{font-size:14px;color:#71879e}.form-message{font-size:14px;color:#ae4b39;overflow-wrap:anywhere}.form-message:empty{display:none}.form-message.success{color:#2d8b6c}.text-button{border:0;background:none;color:#4874a1;cursor:pointer;padding:8px;font-size:14px}.comment{padding:15px 0;border-bottom:1px solid #dce5ee;overflow-wrap:anywhere;line-height:1.8}
.news-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.news-tabs a{display:flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid #dce6f0;background:#fff;border-radius:7px;text-decoration:none;color:#71869e;font-size:14px}.news-tabs a[aria-current=page]{color:#a57b2c;border-color:#d7bf89;background:#fffaf0}.pagination{display:flex;gap:16px;align-items:center;justify-content:center;margin:22px 0;font-size:14px}.pagination a{padding:10px;color:#4075a8}.score-window{height:calc(100dvh - 170px);min-height:550px;overflow:auto;border:1px solid #dce4ed;border-radius:10px;background:#fff;-webkit-overflow-scrolling:touch}.score-window iframe{display:block;width:100%;min-width:1050px;height:100%;border:0}.support-button{position:fixed;right:12px;bottom:22px;z-index:20;border:1px solid #c7a45a;background:#fffaf0;border-radius:24px;padding:12px 16px;color:#77581e;text-decoration:none;box-shadow:0 5px 20px #294e6f20}
.world .field-platform{width:1000px;height:1050px;top:250px;left:-100px;opacity:.7}.world .orbit{right:-80px;top:55px;width:300px;height:280px}.world .neural-plane{right:20px;top:90px;width:250px;height:250px}.world .data-landscape{bottom:0;right:25px;opacity:.4}.track-one{width:1200px;top:250px}.track-two{width:1200px}
@media(max-width:900px){.header{gap:15px;padding:0 15px}.navigation{justify-content:flex-start;gap:16px;mask-image:linear-gradient(90deg,#000 94%,transparent)}.wordmark{font-size:20px}.brand img{width:30px;height:30px}.wordmark small{font-size:11px}.intro h1{font-size:27px}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.header{height:60px;padding:0 10px;gap:15px}.brand{gap:3px}.brand img{width:30px;height:30px}.wordmark{font-size:19px}.wordmark small{font-size:10px}.navigation{gap:13px}.navigation a{font-size:14px}.auth-links a{font-size:14px}.intro{padding:21px 15px 16px;min-height:100px}.intro h1{font-size:23px;max-width:calc(100% - 95px);line-height:1.4;letter-spacing:-.8px;margin-bottom:8px}.intro p{font-size:12px;max-width:calc(100% - 86px)}.football-scene{right:8px;top:5px;transform:scale(1)}.content{padding-left:14px;padding-right:14px}.search{height:43px;margin-bottom:17px}.search input{font-size:14px}.section-heading h2{font-size:18px}.more-link{font-size:12px}.cards{gap:12px}.site-card{padding:12px 10px 10px;min-height:149px}.site-identity{gap:7px;margin-bottom:10px}.site-mark{width:30px;height:34px;font-size:22px}.site-name{font-size:17px;letter-spacing:-.4px}.site-domain{font-size:10px}.site-description{font-size:13px;min-height:35px;margin-bottom:8px;line-height:1.55}.launch{flex:1;min-height:40px;font-size:13px}.links-section{margin-top:20px}.quick-links{gap:10px}.quick-links a{min-height:49px;font-size:15px;padding:8px 11px}.quick-icon{font-size:20px}.news-section{margin-top:22px}.news-row{padding:13px 12px;gap:9px}.news-row h2,.news-row h3{font-size:15px}.news-row time{font-size:11px}.page-content{padding-top:20px}.page-heading h1{font-size:23px}.article-panel,.form-panel{padding:18px 15px}.article-panel h1{font-size:23px}.article-body{font-size:16px}.world .field-platform{width:455px;height:750px;top:205px;left:-61px;opacity:.85}.world .orbit{top:45px;right:-83px;width:235px;height:223px}.world .neural-plane{right:-33px;top:85px;width:185px;height:185px}.world .data-landscape{bottom:20px;right:-8px;opacity:.55}.track-one{top:192px;width:540px}.score-window{min-height:550px;height:calc(100dvh - 175px)}.portal-footer{padding:20px 14px}}
@media(max-width:360px){.header{padding:0 8px;gap:12px}.brand img{width:27px;height:27px}.wordmark{font-size:17px}.wordmark small{font-size:9px}.intro h1{font-size:21px}.football-scene{right:4px;transform:scale(.88);transform-origin:right top}.site-card{padding:11px 8px 9px}.site-name{font-size:16px}.site-mark{width:25px;height:30px;font-size:19px}.site-identity{gap:5px}.site-description{font-size:12px}.cards{gap:10px}.site-domain{font-size:9px}.more-link{font-size:11px}}
