/* VH MATCH UI v1 - tidier match page on phones and desktop. Pure presentation: every text, heading,
 * table and JSON-LD stays in the HTML (crawlers and AI readers see it all); sections are only collapsed. */

/* ---------- hero: score pill is the toggle, follow buttons under each team ---------- */
.match-hero .vh-match-score-toggle{display:none!important}
.match-hero .versus-score{cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;user-select:none}
.match-hero .versus-score:focus-visible{outline:2px solid #ff7468;outline-offset:4px;border-radius:14px}
.vh-score-hint{font-size:11px;font-weight:600;color:#8fa6bd;white-space:nowrap}
.match-hero .club .vh-follow{margin-top:8px}
.match-hero .club{display:flex;flex-direction:column;align-items:center}
.match-hero .club-right{align-items:center}
.vh-match-follow:empty{display:none!important}

/* ---------- now playing bar under the player ---------- */
.vh-now{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:10px 14px;border:1px solid #243246;border-top:0;border-radius:0 0 14px 14px;background:#101924;font-size:13px;color:#d5ddea}
.vh-now-dot{width:8px;height:8px;border-radius:50%;background:#8fa6bd;flex:none}
.vh-now[data-av="expected"] .vh-now-dot{background:#3ecf8e}.vh-now[data-av="restricted"] .vh-now-dot{background:#ff8a7f}
.vh-now-main{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vh-now-main strong{color:#fff}
.vh-now-av{font-size:12px;font-weight:700;white-space:nowrap;color:#8fa6bd}
.vh-now[data-av="expected"] .vh-now-av{color:#3ecf8e}.vh-now[data-av="restricted"] .vh-now-av{color:#ff8a7f}
#player:has(+ .vh-now),.player:has(+ .vh-now){border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}

/* ---------- format chips: all visible, wrap instead of scrolling sideways ---------- */
.vh-video-categories{display:flex!important;flex-wrap:wrap!important;gap:6px!important;overflow:visible!important}
.vh-video-categories a{white-space:nowrap}
@media (max-width:760px){
  .vh-video-categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}
  .vh-video-categories a{display:flex!important;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin:0!important}
}

/* ---------- source rows: number · publisher · length · status, no repeated country column ---------- */
.vh-source-tabs.vh-source-list{gap:6px!important}
.vh-source-tabs.vh-source-list .vh-source-item{min-height:52px!important;padding:9px 12px!important;gap:3px!important}
.vh-source-tabs.vh-source-list .vh-source-region-preview{display:none!important}
.vh-source-main{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px!important}
.vh-source-number{font-size:12px!important;padding:3px 8px;border-radius:8px;background:#0f1722;border:1px solid #2c4058;color:#c3d2e2!important;white-space:nowrap}
.vh-source-publisher{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;font-weight:700}
.vh-source-duration{font-size:12px;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.08);white-space:nowrap}
.vh-source-country-toggle{min-width:0!important;padding:8px 12px!important;gap:2px!important}
.vh-source-country-toggle .vh-source-detail-hint{font-size:10.5px!important;opacity:.75}
.vh-source-row.vh-av-restricted{opacity:.9}
.vh-source-row.vh-av-restricted .vh-source-availability{color:#ff8a7f}
.vh-source-row.vh-av-unknown .vh-source-availability{color:#c3d2e2}
.vh-src-group{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 0;padding:8px 12px;border-radius:10px;font-size:12px;font-weight:750;letter-spacing:.2px}
.vh-src-group.ok{color:#3ecf8e;background:rgba(62,207,142,.07)}
.vh-src-group.no{color:#ff8a7f;background:rgba(255,138,127,.07)}
.vh-src-group[hidden]{display:none!important}

/* ---------- collapsible info sections (content stays in the page) ---------- */
.vh-mui-head{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;cursor:pointer}
.vh-mui-head h2{margin:0!important}
.vh-mui-head:focus-visible{outline:2px solid #ff7468;outline-offset:4px;border-radius:8px}
.vh-mui-chev{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#c3d2e2;font-size:12px;transition:transform .2s}
.vh-mui.is-open .vh-mui-chev{transform:rotate(180deg)}
.vh-mui.is-collapsed>:not(.vh-mui-head){display:none!important}
.vh-mui.is-collapsed{padding-top:14px!important;padding-bottom:14px!important}

/* ---------- related matches: first ones + "show more" ---------- */
.vh-rel-hidden{display:none!important}
.vh-rel-more{display:block;margin:12px auto 0;height:42px;padding:0 20px;border-radius:999px;border:1px solid #34475f;background:#182637;color:#e9f0f8;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.vh-rel-more:hover{border-color:#e77b75}

/* ---------- phones ---------- */
@media (max-width:760px){
  .match-hero{padding:14px!important;gap:10px}
  .match-hero .match-hero-top{font-size:12px}
  .match-hero .versus-row{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr)!important;gap:6px!important;margin:6px 0 2px!important}
  .match-hero .team-badge.large{width:52px!important;height:52px!important}
  .match-hero .club-name{font-size:14px!important}
  .match-hero .versus-score .vh-spoiler-score{font-size:20px}
  .match-hero .club .vh-follow{height:28px!important;line-height:26px!important;padding:0 10px!important;font-size:12px!important;max-width:100%;display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .match-hero .match-meta-line{justify-content:center;text-align:center;font-size:12px!important;gap:6px 10px!important;flex-wrap:wrap}
  .match-hero>p.muted.small{display:none}
  .vh-match-watch-heading{margin:16px 0 8px!important}
  .vh-match-watch-heading .eyebrow,.vh-match-watch-heading>.muted{display:none}
  .vh-match-watch-heading h2{font-size:19px!important;margin:0!important}
  .twocol>section>.player,.twocol>section>#player{margin-left:-14px!important;margin-right:-14px!important;border-radius:0!important;border-left:0!important;border-right:0!important}
  .vh-now{margin-left:-14px;margin-right:-14px;border-radius:0;border-left:0;border-right:0;padding:9px 14px}
  .vh-source-heading{display:none!important}
  .vh-source-tabs.vh-source-list .vh-source-row{grid-template-columns:minmax(0,1fr) 44px!important}
  .vh-source-country-toggle{padding:0!important;align-items:center!important;justify-content:center!important}
  .vh-source-country-toggle>*{display:none!important}
  .vh-source-country-toggle::after{content:"ⓘ";font-size:16px;color:#8fa6bd}
  .vh-source-country-panel{grid-column:1/-1}
  .vh-mui{border-radius:14px!important}
  .vh-mui.is-collapsed{padding:12px 14px!important}
  .vh-mui-head h2{font-size:16px!important}
}
