/* Tiyufun CSS source: match. Rules migrated from the active stylesheet set; no compatibility override layer. */
.match-page { max-width:1180px; margin-inline:auto; }
.match-head { text-align:center; padding:26px 30px 18px; margin-bottom:20px; }
.match-meta, .period-scores { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; color:var(--muted); font-size:12px; }
.match-status { color:var(--green); margin:16px 0 8px; font-weight:650; font-size:13px; }
.match-head h1 { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:24px; font-size:clamp(20px,2.5vw,30px); margin:0 0 16px; }
.match-head h1>span { display:flex; align-items:center; justify-content:center; gap:18px; }
.match-head h1 img { object-fit:contain; flex:none; }
.match-head h1 strong { color:var(--blue); font-size:clamp(32px,4vw,46px); white-space:nowrap; }
.match-venue { color:var(--muted); font-size:12px; margin:10px 0 0; }
.match-content { padding:0; overflow:hidden; }
.tabs { overflow-x:auto; border-bottom:1px solid var(--line); scrollbar-width:thin; }
.tabs:not(:where([hidden])) { display:flex; }
.tabs a { flex:1 0 96px; min-height:58px; display:flex; justify-content:center; align-items:center; padding:12px; border-bottom:3px solid transparent; font-size:14px; font-weight:650; }
.tabs a[aria-selected=true] { color:var(--green); border-color:var(--green); background:#0a2918; }
.match-panel { padding:26px; min-height:220px; }
.match-panel>h2 { font-size:23px; margin-bottom:24px; }
.match-panel .section { margin-block:26px; }
.panel-filters { display:flex; gap:24px; overflow-x:auto; border-bottom:1px solid var(--line); margin-bottom:20px; }
.panel-filters a { display:block; white-space:nowrap; padding:8px 2px 12px; border-bottom:2px solid transparent; font-size:14px; }
.panel-filters a[aria-current=page] { color:var(--green); border-color:var(--green); }
.match-timeline { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; padding:18px; margin-bottom:20px; }
.timeline-labels { display:flex; flex-direction:column; justify-content:space-around; font-size:12px; }
.timeline-chart { min-width:0; overflow-x:auto; scrollbar-width:thin; }
.timeline-chart>svg { width:100%; min-width:640px; display:block; overflow:visible; }
.match-timeline text { font-family:inherit; font-size:11px; fill:var(--muted); }
.match-timeline .goal-number { fill:var(--bg); font-weight:750; }
.timeline-icon { overflow:visible; }
.event-list { list-style:none; padding:0; margin:0; }
.event-list li { display:grid; grid-template-columns:70px 90px minmax(0,1fr); gap:20px; padding:20px 0; border-bottom:1px solid var(--line); }
.event-list li:last-child { border-bottom:0; }
.event-list time { color:var(--gold); font-size:13px; }
.event-kind { color:var(--green); font-size:13px; }
.event-list h3 { font-size:15px; margin:0 0 5px; }
.event-list p { font-size:13px; margin:3px 0; }
.lineup-team { min-width:0; }
.lineup-team .section-heading h3 { font-size:17px; }
.lineup-team .section-heading p { color:var(--gold); font-size:13px; }
.formation-pitch { display:block; width:100%; max-width:420px; margin:0 auto 26px; }
.pitch-number { fill:#102019; font-size:12px; font-weight:750; }
.pitch-name { fill:#fff; font-family:inherit; font-size:11px; }
.player-list, .injury-list { list-style:none; margin:0 0 24px; padding:0; }
.player-list li { display:flex; gap:16px; align-items:center; padding:9px 0; border-bottom:1px solid var(--line); font-size:14px; }
.player-list li span { width:28px; color:var(--blue); }
.injury-list li { display:flex; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid var(--line); font-size:14px; }
.injury-list span { color:var(--muted); }
.prediction-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:var(--secondary); border-block:1px solid var(--line); padding:20px; margin-bottom:24px; text-align:center; }
.prediction-grid h3 { color:var(--muted); font-size:13px; font-weight:500; margin-bottom:10px; }
.prediction-grid strong { color:var(--blue); font-size:26px; }
.odds-scroll { max-width:100%; overflow-x:auto; }
.odds-table { min-width:760px; }
.odds-table small { color:var(--muted); font-size:10px; display:block; }
.odds-table button { color:var(--green); background:transparent; font-size:12px; padding:6px 10px; }
.odds-table [data-history-for]>td { padding:20px 0; text-align:left; }
.odds-table [data-history-for] h3 { margin:0 0 14px; }
@media (max-width:768px) {
  .match-head { padding:20px 12px; }
  .match-head h1 { gap:12px; font-size:22px; }
  .match-head h1>span { flex-direction:column; gap:10px; }
  .match-head h1 img { width:48px; height:48px; }
  .match-content { padding:0; }
  .match-panel { padding:20px 16px; }
  .match-timeline { grid-template-columns:76px minmax(0,1fr); padding:12px; gap:8px; }
  .tabs a { min-height:50px; flex-basis:92px; }
}
@media (max-width:520px) {
  .event-list li { grid-template-columns:46px 54px minmax(0,1fr); gap:10px; }
  .event-kind { font-size:12px; }
  .match-head h1 { font-size:18px; gap:8px; }
  .match-head h1 strong { font-size:30px; }
  .match-meta { gap:6px 12px; }
  .match-meta time { flex-basis:100%; }
  .match-timeline { grid-template-columns:64px minmax(0,1fr); }
  .timeline-labels { font-size:11px; }
}
.r8-match-reading .match-page .tabs button[aria-selected=true] { background:#e9f4e8; color:#176443; }
.r8-match-reading .match-page .match-content, .r8-match-reading .match-head { background:#fff; border:1px solid var(--line); }
.r8-match-reading .match-page .match-timeline, .r8-match-reading .match-page .table-scroll { background:#f8faf7; }
.match-page [hidden] { display:none; }
.match-page:not([data-tabs-ready]) .panel-filters, .match-page:not([data-tabs-ready]) [data-retry], .match-page:not([data-tabs-ready]) [data-odds-company] { display:none; }
.match-page:not([data-tabs-ready]) .match-panel + .match-panel { border-top:1px solid var(--line); }
.match-overview { margin:0 0 24px; }
.match-overview h2 { font-size:19px; margin:0 0 10px; }
.match-overview p { color:var(--muted); font-size:14px; line-height:1.8; margin:6px 0; }
.match-noscript { padding:12px 16px; border-left:3px solid var(--green); font-size:14px; color:var(--muted); }
.match-page .tabs button { flex:1 0 96px; min-height:58px; display:flex; justify-content:center;
  align-items:center; padding:12px; border:0; border-radius:0;
  border-bottom:3px solid transparent; background:transparent; color:inherit;
  font-family:inherit; font-size:14px; font-weight:650; cursor:pointer; }
.match-page .tabs button[aria-selected="true"] { color:var(--green); border-bottom-color:var(--green); background:#0a2918; }
.match-page .panel-filters button { display:block; white-space:nowrap; padding:8px 2px 12px;
  border:0; border-radius:0; border-bottom:2px solid transparent;
  background:transparent; color:inherit; font:inherit; font-size:14px; cursor:pointer; }
.match-page .panel-filters button[aria-pressed="true"] { color:var(--green); border-bottom-color:var(--green); }
.match-page .tabs button:focus-visible, .match-page .panel-filters button:focus-visible { outline:2px solid var(--green); outline-offset:-4px; }
.match-page .match-panel:focus-visible { outline:2px solid var(--green); outline-offset:-3px; }
@media (max-width:768px) {
  .match-page .tabs button { min-height:50px; flex-basis:92px; }
}
