/* 球球TV public interface — shared by the CMS and the design review. */
:root {
  --qt-ink: #142f50; --qt-muted: #52677f; --qt-navy: #123c70; --qt-link: #135ca9;
  --qt-paper: #f0f5fb; --qt-surface: #fff; --qt-edge: #d4e0ed; --qt-gold: #eaa83a;
  --qt-width: min(1440px, calc(100% - clamp(24px, 6vw, 80px)));
  --qt-gap: clamp(14px, 1.8vw, 24px); --qt-pad: clamp(16px, 2vw, 26px);
  --qt-radius: 7px; --qt-font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
* {box-sizing:border-box}
body {margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--qt-paper); color:var(--qt-ink); font:15px/1.6 var(--qt-font)}
body > main {flex:1 0 auto}
.qtg-wrap, .qtv-wrap, .qtv-shell {width:var(--qt-width); margin-inline:auto}
a {color:var(--qt-link); text-decoration:none}
a:hover {text-decoration:underline}
button,input,select {font:inherit}
:focus-visible {outline:3px solid #a65a00; outline-offset:3px}
.qtv-skip {position:fixed; top:8px; left:12px; background:#fff; color:var(--qt-navy); padding:9px 16px; z-index:50}
.qtv-skip:not(:focus) {clip-path:inset(50%); width:1px; height:1px; padding:0; overflow:hidden; white-space:nowrap}
.qtv-cap {border-bottom:1px solid var(--qt-edge); background:var(--qt-surface); position:relative; z-index:5}
.qtv-caprow {min-height:74px; display:flex; align-items:center; gap:18px; position:relative}
.qtv-wordmark {display:inline-flex; align-items:center; flex:none; min-height:44px}
.qtv-wordmark img {display:block; width:148px; height:auto}
.qtv-capnav {margin-left:auto; display:flex; align-items:center; gap:clamp(10px,1.4vw,26px)}
.qtv-capnav a {display:flex; align-items:center; min-height:46px; color:var(--qt-ink); font-size:14px; font-weight:700; white-space:nowrap; border-bottom:3px solid transparent; padding-top:3px}
.qtv-capnav a[aria-current] {color:var(--qt-link); border-color:var(--qt-link)}
.qtv-capnav a:hover {color:var(--qt-link)}
.qtv-captools {display:flex; gap:7px; align-items:center}
.qtv-tool {width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--qt-edge); background:#f4f7fb; border-radius:50%; color:var(--qt-navy); cursor:pointer}
.qtv-tool svg {width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round}
.qtv-toggle {display:none}
.qtv-base {margin-top:auto; color:white; background:#102d50}
.qtv-baserow {display:flex; gap:24px; align-items:center; justify-content:space-between; min-height:80px; padding-block:16px}
.qtv-base .qtv-wordmark img {width:120px}
.qtv-baselinks {display:flex; gap:6px 18px; flex-wrap:wrap}
.qtv-baselinks a {display:inline-flex; align-items:center; color:white; min-height:44px; font-size:14px}
.qtv-base a:focus-visible {outline-color:#ffc765}
.qtv-layout {margin-block:20px 32px; min-width:0}
.qtv-trail {display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin:0 0 14px; color:var(--qt-muted); font-size:13px}
.qtv-trail a {padding-block:4px}
.qtv-heading, .qtg-title {border-radius:var(--qt-radius); border:1px solid var(--qt-edge); border-bottom:3px solid var(--qt-navy); background:white; padding:var(--qt-pad)}
.qtv-heading h1,.qtg-title h1 {margin:0; font:800 clamp(25px,3vw,42px)/1.27 var(--qt-font); letter-spacing:-.04em; overflow-wrap:anywhere}
.qtv-heading p,.qtg-title p {margin:6px 0 0; color:var(--qt-muted)}
.qtv-grid, .qtg-main {display:grid; grid-template-columns:minmax(0,2.6fr) minmax(225px,1fr); align-items:start; gap:var(--qt-gap); margin-block:var(--qt-gap)}
.qtv-stack {display:grid; gap:16px; min-width:0}
.qtv-sheet,.qtg-panel,.qtg-side {padding:var(--qt-pad); border-radius:var(--qt-radius); border:1px solid var(--qt-edge); background:white; min-width:0}
.qtv-sheet h2,.qtg-panel h2,.qtg-side h2 {margin:0 0 12px; font-size:clamp(18px,1.65vw,23px); line-height:1.4; color:var(--qt-ink)}
.qtv-sheet h3 {margin:18px 0 6px; font-size:17px}
.qtv-sheet p {margin:8px 0; overflow-wrap:anywhere}
.qtv-line {display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; min-height:46px; border-top:1px solid var(--qt-edge); color:var(--qt-ink); overflow-wrap:anywhere}
.qtv-line small,.qtv-meta {color:var(--qt-muted); font-size:13px}
.qtv-line time {font-variant-numeric:tabular-nums}
.qtv-filter, .qtv-pager {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-block:12px}
.qtv-filter :is(a,button,input,select),.qtv-pager a,.qtg-chips a {display:inline-flex; align-items:center; min-height:42px; max-width:100%; border:1px solid var(--qt-edge); border-radius:5px; background:#f5f8fc; color:var(--qt-navy); padding:6px 12px}
.qtv-filter [aria-current],.qtv-filter button {background:var(--qt-navy); color:white; cursor:pointer}
.qtv-filter label {display:grid; font-size:13px; color:var(--qt-muted); gap:2px}
.qtv-filter input,.qtv-filter select {background:white; min-width:0}
.qtv-pager {justify-content:space-between}
.qtv-copy {max-width:76ch; line-height:1.9; overflow-wrap:anywhere}
.qtv-match-analysis {margin-block-start:24px; padding-block-start:18px; border-block-start:1px solid var(--qt-edge)}
.qtv-match-analysis h2 {margin-block-end:4px}
.qtv-match-sources {margin:6px 0 0; padding-inline-start:1.3em}
.qtv-match-sources a {text-decoration:underline; text-underline-offset:0.2em}
.qtv-copy img,.qtv-sheet img {max-width:100%; height:auto}
.qtv-copy iframe,.qtv-sheet iframe {max-width:100%}
.qtv-notes {margin-block:var(--qt-gap)}
.qtv-notes summary {padding:12px 0;cursor:pointer;font-weight:700}
.qtv-notes details + details {border-top:1px solid var(--qt-edge)}
.qtv-sheet table {max-width:100%;display:block;overflow:auto;border-collapse:collapse}
.qtv-sheet th,.qtv-sheet td {text-align:left;padding:6px 10px}
.qtv-find-team {width:auto;height:auto;border:1px solid var(--qt-edge);border-radius:5px;padding:6px 12px;min-height:42px;color:var(--qt-navy);background:white}
.qtv-scoreframe {display:block;width:100%;border:0}
.qtv-scorecard {margin-bottom:0;background:#103d70;color:white}
.qtv-scorecard h2,.qtv-scorecard a {color:white}
.qtv-scorecard a {text-decoration:underline;text-underline-offset:3px}
.qtv-scorepair {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-block:12px}
.qtv-scorepair strong {font-size:24px;color:#ffd381}
.qtv-expand>summary {padding:12px;text-align:center;color:var(--qt-link);cursor:pointer;border-top:1px solid var(--qt-edge)}
.qtv-helpblock {margin:0}
.qtv-refine summary {min-height:40px;align-content:center;cursor:pointer;color:var(--qt-link)}
.qtv-byline {display:flex;flex-wrap:wrap;gap:2px 12px;color:var(--qt-muted);font-size:13px;margin-block:6px 16px}
.qtv-reference {overflow-wrap:anywhere;margin-block:10px}
.qtv-reference summary {cursor:pointer}
.qtv-reference span {user-select:all}
@media(max-width:600px){.qtv-tally {gap:6px 14px}.qtv-tally span {font-size:13px}.qtv-tally strong {font-size:20px}}
.qtv-unavailable {padding:18px; color:var(--qt-muted); background:#f3f7fb; border-radius:5px}
.qtv-widead {margin:14px auto}
.qtv-widead img {display:block; width:auto; max-width:100%; max-height:190px; margin:auto; object-fit:contain}
.qtv-textline {display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:12px 0; padding:7px 12px; background:#f7f4ec; overflow-wrap:anywhere}
.qtv-textline small {color:#73511b}
.qtv-masthead {padding:clamp(22px,3.2vw,40px); border-radius:var(--qt-radius); color:white; background:#12395f linear-gradient(90deg,#0e2e50 0%,rgba(13,46,78,.9) 35%,rgba(13,46,78,.12) 85%); background-image:linear-gradient(90deg,#0e2e50 0%,rgba(13,46,78,.93) 35%,rgba(13,46,78,.1) 86%),url(stands.webp); background-position:center,center 55%; background-size:cover}
.qtv-masthead h1 {font-size:clamp(28px,3.4vw,50px); line-height:1.26; margin:9px 0}
.qtv-masthead p {margin:0}
.qtv-masthead time {font-weight:700; font-variant-numeric:tabular-nums; border-left:3px solid var(--qt-gold); padding-left:9px}
.qtv-tally {display:flex; gap:22px; flex-wrap:wrap; margin-top:14px}
.qtv-tally strong {font-size:23px; margin-right:5px}
.qtv-fixture {display:grid; align-items:center; grid-template-columns:60px minmax(65px,.5fr) minmax(100px,2fr) minmax(48px,auto); gap:10px; border-top:1px solid var(--qt-edge); padding:12px 0; color:var(--qt-ink)}
.qtv-fixture time {font:700 21px/1.25 Bahnschrift,var(--qt-font); color:var(--qt-navy); font-variant-numeric:tabular-nums}
.qtv-fixture small {display:block; color:var(--qt-muted)}
.qtv-contest {display:flex; align-items:center; justify-content:center; gap:9px; min-width:0; overflow-wrap:anywhere}
.qtv-teamunit {display:flex; align-items:center; gap:6px; flex:1 1 0; min-width:0; font-weight:700; line-height:1.45}
.qtv-teamunit:first-child {flex-direction:row-reverse; text-align:right}
.qtv-badge {width:25px; height:25px; display:inline-grid; place-items:center; flex:none; border-radius:50%; background:#e7eff8; color:var(--qt-navy); font-size:12px; position:relative}
.qtv-badge img {position:absolute; inset:0; width:100%; height:100%; background:#fff; object-fit:contain}
.qtv-mark {width:25px;height:25px;background:#fff url(crests.webp) no-repeat;background-size:400px auto}
.qtv-contest em {font:700 12px/1 var(--qt-font); color:var(--qt-muted)}
.qtv-stations {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr)); gap:9px}
.qtv-stations a {display:flex; gap:9px; align-items:center; padding:10px; color:var(--qt-ink); background:#f3f7fc; border-radius:5px; min-height:54px; overflow-wrap:anywhere}
.qtv-stations img {width:40px; height:32px; object-fit:contain}
.qtv-archivegrid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:22px}
.qtv-library {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr)); gap:12px}
.qtv-library .qtv-line {background:#f4f7fb; border:0; padding:14px; display:grid}
.qtv-chronicle .qtv-line {flex-direction:row-reverse; justify-content:flex-end}
.qtv-chronicle small {flex:0 0 82px}
.qtv-panelhead {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; margin-bottom:12px}
.qtv-panelhead h2 {margin:0}
.qtv-panelhead > a {display:inline-flex; align-items:center; min-height:32px; font-size:13px}
.qtv-quickbar {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; padding-block:8px; border-block:1px solid var(--qt-edge)}
.qtv-quickbar .qtv-filter {margin:0; gap:4px}
.qtv-quickbar .qtv-filter a {padding-inline:clamp(6px,1vw,12px); font-size:14px}
.qtv-homechannels .qtv-stations {grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px}
.qtv-homechannels .qtv-stations a {gap:6px; padding:6px 8px; font-size:14px; font-weight:700}
.qtv-homechannels .qtv-stations img {width:30px; height:26px; flex:none}
.qtv-leagueboard {list-style:none; margin:0; padding:0}
.qtv-leagueboard a,.qtv-leagueboard button {display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:44px; padding:7px 0; border:0; border-top:1px solid var(--qt-edge); background:transparent; color:var(--qt-ink); text-align:left; cursor:pointer}
.qtv-leagueboard :is(a,button):is(:hover,[aria-current=true]) strong {color:var(--qt-link); text-decoration:underline}
.qtv-leagueboard strong {overflow-wrap:anywhere}
.qtv-leagueboard span {flex:none; color:var(--qt-muted); font-size:13px; font-variant-numeric:tabular-nums}
.qtv-leagueboard i {margin-left:4px; color:var(--qt-link); font-style:normal}
.qtv-newsdesk {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(20px,3vw,44px)}
.qtv-newsentry {display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:baseline; padding:12px 0; border-top:1px solid var(--qt-edge); color:var(--qt-ink); overflow-wrap:anywhere}
.qtv-newsentry time {font-size:13px; color:var(--qt-muted); font-variant-numeric:tabular-nums}
.qtv-reviewnews {padding-inline:var(--qt-pad)}
.qtv-reviewnews article {margin-inline:0; flex-wrap:wrap; gap:4px 10px}
.qtv-reviewquick {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; padding:6px var(--qt-pad); border-block:1px solid var(--qt-edge)}
.qtv-reviewquick .qtv-days,.qtv-reviewquick .qtv-filters {flex-wrap:wrap; padding:0; border:none}
.qtv-reviewquick .qtv-filters {max-width:100%}
.qtv-reviewquick #qtv-searchbox {flex-basis:100%}
@media (min-width:781px) and (max-width:1120px) {
  .qtv-homechannels .qtv-stations a {flex-direction:column; justify-content:center; gap:2px; text-align:center}
}
@media (max-width:650px) {
  .qtv-newsdesk {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:360px) {
  .qtv-quickbar .qtv-filter a {font-size:13px; padding-inline:5px}
}
.qtv-bill,.qtg-media {background:var(--qt-navy); color:white; padding:var(--qt-pad); border-radius:var(--qt-radius); margin-bottom:16px}
.qtv-bill a {color:white}.qtv-bill h2 {margin:6px 0;color:white}
.qtv-v-football {background:#164d58}.qtv-v-sports {background:#334a70}
@media(max-width:1050px) {
  .qtv-caprow {min-height:62px; flex-wrap:wrap; gap:0}
  .qtv-wordmark img {width:126px}.qtv-captools {margin-left:auto}
  .qtv-capnav {order:3; flex-basis:100%; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:2px 10px}
  .qtv-capnav a {justify-content:center; min-height:44px}
  .qtv-toggle {display:grid}
  [data-qt-menu-ready] .qtv-capnav:not([data-qt-open]) {display:none}
  [data-qt-menu-ready] .qtv-capnav[data-qt-open] {position:absolute; top:100%; left:0; right:0; background:white; padding:10px; border:1px solid var(--qt-edge); border-radius:0 0 7px 7px; box-shadow:0 8px 20px #102d5016}
}
@media(max-width:780px) {
  .qtv-grid,.qtg-main {grid-template-columns:minmax(0,1fr)}
  .qtv-baserow {align-items:flex-start; flex-direction:column; gap:3px}
  .qtv-layout {margin-block:14px 24px}
}
@media(max-width:600px) {
  .qtv-capnav {grid-template-columns:repeat(2,1fr)}
  .qtv-fixture {grid-template-columns:50px minmax(0,1fr) auto; gap:4px 8px}
  .qtv-fixture time {font-size:17px}
  .qtv-fixture .qtv-comp {grid-column:1; grid-row:2; font-size:12px; overflow-wrap:anywhere}
  .qtv-fixture .qtv-contest {grid-column:2; grid-row:1/3; align-items:flex-start; flex-direction:column; gap:4px}
  .qtv-fixture .qtv-teamunit:first-child {flex-direction:row; text-align:left}
  .qtv-fixture .qtv-contest em {position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden}
  .qtv-fixture .qtv-status {grid-column:3; grid-row:1/3}
  .qtv-archivegrid {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {html:focus-within {scroll-behavior:auto}}

.qtv-comp,.qtv-markline {display:inline-flex; align-items:center; gap:7px; min-width:0}
.qtv-meetmark {display:inline-grid; place-items:center; position:relative; width:24px; height:24px; flex:0 0 24px; background:#f0f4f9; color:#173a64; border-radius:5px; line-height:1}
.qtv-meetmark > span {font:16px/1 "Segoe UI Emoji","Apple Color Emoji",sans-serif}
.qtv-meetmark > .qtv-meetseal {display:grid; place-items:center; width:100%; height:100%; border-radius:inherit; border-top:3px solid hsl(var(--qt-competition-tone) 48% 39%); background:hsl(var(--qt-competition-tone) 45% 92%); color:hsl(var(--qt-competition-tone) 52% 23%); font:700 9px/1 var(--qt-font); white-space:nowrap}
.qtv-meetmark img {position:absolute; inset:0; width:100%; height:100%; background:#fff; object-fit:contain; border-radius:inherit}
.qtv-meetmark img[hidden],.qtv-badge img[hidden] {display:none}
.qtv-badge {background:transparent}
.qtv-badge .qtv-mark {position:absolute; inset:0}
.qtv-clubstamp {display:grid; place-items:center; width:100%; height:100%; padding-bottom:2px; box-sizing:border-box; clip-path:polygon(6% 4%,94% 4%,90% 68%,75% 85%,50% 100%,25% 85%,10% 68%); background:hsl(var(--qt-club-tone) 35% 89%); color:hsl(var(--qt-club-tone) 55% 25%); font:700 10px/1 var(--qt-font); white-space:nowrap}
.qtv-leagueboard strong {flex:1; min-width:0}
.qtv-markline,.qtv-teamunit {overflow-wrap:anywhere}
.qtv-duel {padding:14px 0; border-block:1px solid var(--qt-edge)}
.qtv-line.qtv-meetlink {justify-content:flex-start; align-items:center; gap:8px}
.qtv-meetlink .qtv-contest {flex:1; min-width:0}
.qtv-bill .qtv-markline,.qtv-scorecard .qtv-markline {display:inline-flex}
@media(max-width:600px) {
  .qtv-fixture {grid-template-columns:minmax(62px,.55fr) minmax(0,1.5fr) auto}
  .qtv-fixture .qtv-comp {align-items:flex-start; gap:4px}
  .qtv-fixture .qtv-meetmark {width:18px; height:18px; flex-basis:18px}
  .qtv-fixture .qtv-meetmark > span {font-size:14px}
  .qtv-fixture .qtv-meetmark > .qtv-meetseal {font-size:8px; border-top-width:2px}
}
