/* Score presentation only. Shared site tokens and existing controls are retained. */
/* ── 색상 토큰 ────────────────────────────────────────────────────────────
   /score 는 바이올렛 테마 범위(.rt-header · .pd-explorer-v2 · .pd-md …)에 들어 있지 않아 identity.css 의 브랜드 주황이 새고 있었다.
   그래서 이 화면 안에서만 같은 토큰을 세우고(다크 전용), 표면·구분선·칩 값은 /market 의 실제 적용값(리그 카드·머리·행·종목 칩)을 따른다.
   색의 역할: 바이올렛 = 선택·이동(옅은 면과 밑줄), 빨강 = 실시간, 파랑 = 예정, 회색 = 종료.
   아래 --cs-* 는 다크에서만 정의된다. 라이트에서는 정의가 없어 각 규칙의 var(--cs-*, 대체값) 이 기존 라이트 값을 그대로 쓴다. */
html:root:not([data-theme="light"]) .pd-canonical-scores {
 --rt-brand:#956BFF; --rt-brand-rgb:149,107,255; --rt-brand-amber:#B49AFF;
 --rt-accent:var(--rt-brand); --rt-accent-hover:var(--rt-brand-amber); --rt-accent-text:var(--rt-brand-amber);
 --rt-on-brand:#101322; --rt-selected:rgba(149,107,255,.14); --rt-data-blue:#4DA3FF;
 --t3-green:var(--rt-accent); --t3-green-text:var(--rt-accent-text); --t3-accent:var(--rt-accent);
 --cs-card-bg:linear-gradient(rgba(13,19,46,.96),rgba(9,14,36,.98)); --cs-card-line:rgba(149,107,255,.28);
 --cs-head-bg:linear-gradient(rgba(149,107,255,.10),rgba(149,107,255,.035)); --cs-head-line:rgba(149,107,255,.16);
 --cs-cols-bg:rgba(8,10,26,.55); --cs-line:rgba(149,107,255,.14); --cs-hover:rgba(149,107,255,.08);
 --cs-chip-bg:rgba(149,107,255,.06); --cs-chip-line:rgba(149,107,255,.2); --cs-chip-text:#CFC6EE;
 --cs-chip-hover-bg:rgba(149,107,255,.16); --cs-chip-hover-line:rgba(149,107,255,.45);
 --cs-chip-on:linear-gradient(180deg,#9b79ff,#7549eb); --cs-chip-on-line:rgba(190,165,255,.5);
 --cs-count-bg:rgba(149,107,255,.18); --cs-count-line:rgba(167,123,255,.4); --cs-count-text:#D7C8FF;
 --cs-tab-on:rgba(149,107,255,.22);
 --cs-fin-bg:rgba(170,177,199,.12); --cs-fin-text:#AAB1C7;
 --cs-up-text:#7DB8FF;
 --cs-live-bg:rgba(239,71,111,.20); --cs-live-text:#FF8FA3; --cs-live:#EF476F; --cs-score-live:#fff;
}
.pd-canonical-scores [hidden] { display:none !important; }
.pd-cs-heading { display:flex; justify-content:flex-end; align-items:center; margin:0 0 6px; }   /* 제목은 화면에서 뺐다(h1 은 스크린리더용으로 남김) — 15초 갱신 안내만 오른쪽에 */
.pd-cs-refresh { font-size:11px; color:var(--t3-text-3); white-space:nowrap; }
.pd-cs-refresh[hidden] { display:none; }
.pd-cs-heading:has(.pd-cs-refresh[hidden]) { margin:0; }   /* 정상 갱신 문구를 감추면 자리도 남기지 않는다 */
.pd-cs-refresh:before { content:''; display:inline-block; width:6px; height:6px; background:#34d399; border-radius:50%; margin-right:7px; }
.pd-cs-note { font-size:10px; color:var(--t3-text-3); margin:8px 0; }

/* ── 상단 카드: /market 의 .pd-sports-toolbar 와 같은 바깥 카드(여백 12/14 · 반지름 16) 안에 종목 칩 → 구분선 → 상태·날짜 줄 ── */
.pd-cs-toolbar { margin:0 0 14px; padding:12px 14px; border:1px solid var(--cs-card-line,var(--t3-border)); border-radius:16px; background:var(--cs-card-bg,var(--t3-surface)); }
.pd-cs-toolbar .pd-cs-note { margin:8px 0 0; }
.pd-cs-toolbar .pd-sc-bar { margin:11px 0 0; padding:11px 0 0; border-top:1px solid var(--cs-chip-line,var(--t3-border-soft)); border-bottom:0; }

/* ── 종목 카테고리: /market 의 종목 칩과 같은 알약(아이콘 + 이름 + 선택적 경기 수) ── */
.pd-canonical-scores .pd-sc-sports { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0; }
.pd-canonical-scores .pd-sc-sport { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:5px; height:36px; padding:0 8px; border:1px solid var(--cs-chip-line,var(--t3-border)); border-radius:9px; background:var(--cs-chip-bg,var(--t3-surface)); color:var(--cs-chip-text,var(--t3-text-2)); font-size:13px; font-weight:600; line-height:1.25; white-space:nowrap; text-decoration:none; transition:background-color .18s ease,border-color .18s ease,color .18s ease; }
.pd-canonical-scores .pd-sc-sport:hover { border-color:var(--cs-chip-hover-line,var(--t3-text-3)); background:var(--cs-chip-hover-bg,var(--t3-surface-2)); color:var(--t3-text); }
.pd-canonical-scores .pd-sc-sport.is-active { border-color:var(--cs-chip-on-line,var(--t3-green)); background:var(--cs-chip-on,var(--t3-green)); color:var(--rt-on-brand,#fff); font-weight:700; }
html:root:not([data-theme="light"]) .pd-canonical-scores .pd-sc-sport.is-active { color:#fff; }
.pd-canonical-scores .pd-sc-sport:focus-visible { outline:2px solid var(--rt-accent-hover,var(--t3-green)); outline-offset:2px; }
.pd-canonical-scores .pd-sc-sport-icon { flex:none; width:20px; height:20px; font-size:17px; line-height:20px; text-align:center; }
.pd-cs-sport-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; box-sizing:border-box; padding:0 5px; border:1px solid var(--cs-count-line,var(--t3-border)); border-radius:999px; background:var(--cs-count-bg,var(--t3-surface-2)); color:var(--cs-count-text,var(--t3-text-2)); font-size:11px; font-weight:700; font-variant-numeric:tabular-nums; }
.pd-canonical-scores .pd-sc-sport.is-active .pd-cs-sport-count { border-color:rgba(255,255,255,.38); background:rgba(255,255,255,.22); color:#fff; }
.pd-canonical-scores[data-sport="mma"] .pd-sc-scores .pd-sc-num,
.pd-canonical-scores[data-sport="mma"] .pd-sc-scores .pd-cs-score-separator { display:none; }
.pd-cs-bout-state { font-size:12px; font-weight:500; white-space:nowrap; }

/* ── 상태 탭(전체·실시간·예정·종료) + 날짜 줄: /market 의 날짜·검색 줄 값(높이 36 · 반지름 9)과 맞춘다 ── */
.pd-canonical-scores .pd-sc-bar { gap:14px; }
.pd-canonical-scores .pd-sc-tabs { box-sizing:border-box; height:36px; align-items:center; gap:4px; padding:2px; border:1px solid var(--cs-card-line,var(--t3-border)); border-radius:9px; background:var(--cs-chip-bg,var(--t3-surface)); }
.pd-canonical-scores .pd-sc-tab { padding:0 12px; height:28px; border-radius:7px; }
.pd-canonical-scores .pd-sc-tab:hover { color:var(--t3-text); background:var(--cs-chip-hover-bg,var(--t3-surface-2)); }
.pd-canonical-scores .pd-sc-tab.is-active { background:var(--cs-tab-on,var(--t3-green)); color:var(--t3-text); }
.pd-canonical-scores .pd-sc-tab.is-active .pd-sc-tabnum { color:var(--rt-accent-hover,rgba(255,255,255,.85)); }
.pd-canonical-scores .pd-sc-tab[data-tab="live"]:not(.is-active) .pd-sc-tabnum { color:var(--cs-live-text,var(--t3-text-3)); }
.pd-canonical-scores .pd-sc-tab[data-tab="upcoming"]:not(.is-active) .pd-sc-tabnum { color:var(--cs-up-text,#1F6FD6); }
/* 날짜 이동: /market 의 날짜 줄과 같은 모양 — 분할 ‹ 오늘 › (154×36 · 반지름 9)과 날짜 선택(36 높이), 이동은 /market 의 검색 버튼과 같은 보라 채움 */
.pd-cs-dates,.pd-cs-dates form { display:flex; align-items:center; gap:10px; margin:0; }
.pd-cs-datenav { display:flex; height:36px; overflow:hidden; border:1px solid var(--cs-card-line,var(--t3-border)); border-radius:9px; background:var(--cs-chip-bg,var(--t3-surface)); }
.pd-cs-datenav a { display:flex; align-items:center; justify-content:center; box-sizing:border-box; height:34px; min-width:38px; color:var(--t3-text-2); font-size:20px; line-height:1; text-decoration:none; }
.pd-cs-datenav a:hover { background:var(--cs-chip-hover-bg,var(--t3-surface-2)); color:var(--t3-text); }
.pd-cs-datenav .pd-cs-today { min-width:76px; border-left:1px solid var(--cs-card-line,var(--t3-border)); border-right:1px solid var(--cs-card-line,var(--t3-border)); background:var(--cs-chip-bg,transparent); color:var(--t3-text); font-size:13px; font-weight:700; }
.pd-cs-date { box-sizing:border-box; height:36px; width:190px; padding:0 12px; color:var(--t3-text); background:var(--cs-chip-bg,var(--t3-surface-2)); border:1px solid var(--cs-card-line,var(--t3-border)); border-radius:9px; color-scheme:dark; font:inherit; font-size:14px; font-weight:700; }
.pd-cs-go { box-sizing:border-box; height:36px; min-width:68px; padding:0 18px; border:1px solid var(--cs-chip-on-line,var(--t3-green)); border-radius:9px; background:var(--cs-chip-on,var(--t3-green)); color:#fff; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
.pd-cs-go:hover { filter:brightness(1.08); }
html[data-theme="light"] .pd-cs-date { color-scheme:light; }

/* ── 표: /market 의 리그 카드와 같은 바탕·테두리, 머리·행 구분선은 같은 바이올렛 톤의 옅은 값 ── */
.pd-cs-table { --score-columns:156px minmax(0,1fr) 78px minmax(0,1fr); border:1px solid var(--cs-card-line,var(--t3-border)); border-radius:12px; overflow:hidden; background:var(--cs-card-bg,transparent); }
.pd-cs-columns,.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { display:grid; grid-template-columns:var(--score-columns); gap:0 10px; align-items:center; padding:0 12px; }
.pd-cs-columns { height:34px; background:var(--cs-cols-bg,var(--t3-surface-2)); border-bottom:1px solid var(--cs-head-line,transparent); font-size:11px; color:var(--t3-text-2); }
.pd-cs-columns span { text-align:center; }
.pd-cs-columns span:nth-child(2) { text-align:right; padding-right:14px; }
.pd-cs-columns span:nth-child(4) { text-align:left; padding-left:14px; }
@media(min-width:901px) { .pd-cs-columns { display:none; } }   /* PC 는 열 머리글 줄을 쓰지 않는다(모바일은 유지). 마크업은 그대로 둔다. */
.pd-canonical-scores.pd-scores .pd-sc-league { border:0; border-radius:0; margin:0; background:transparent; }
/* 리그 수백 개가 한 화면에 그려지므로 화면 밖 리그는 렌더링을 미룬다. 크기는 처음 그려진 뒤 브라우저가 기억한다(auto). .pd-cs-table 이 이미 overflow:hidden 이라 잘릴 내용은 없다. */
.pd-canonical-scores .pd-sc-league { content-visibility:auto; contain-intrinsic-size:auto 180px; }
.pd-canonical-scores .pd-league-head { padding:0; min-height:0; border:0; border-top:1px solid var(--cs-head-line,var(--t3-border)); border-bottom:1px solid var(--cs-head-line,var(--t3-border)); background:var(--cs-head-bg,var(--t3-surface-2)); }
.pd-canonical-scores .pd-sc-league:first-child .pd-league-head { border-top:0; }
.pd-cs-collapse { width:100%; min-width:0; display:flex; align-items:center; gap:10px; padding:8px 12px; color:var(--t3-text); text-align:left; cursor:default; }   /* 접기 기능 없음: 버튼·화살표 없이 리그 이름 줄만 */
.pd-canonical-scores .pd-league-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:700; }
.pd-cs-league-icon { width:22px; height:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; border-radius:2px; font-size:9px; background:var(--cs-count-bg,var(--t3-surface-3)); }
.pd-cs-league-icon img { width:100%; height:100%; object-fit:cover; }
.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { min-height:36px; cursor:default; border-top:1px solid var(--cs-line,var(--t3-border-soft)); background:var(--cs-card-bg,var(--t3-surface)); }
.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row:hover { background:var(--cs-hover,var(--t3-surface-2)); }
/* 경기시간 / 상태: 한 칸에 시간(왼쪽) + 상태 배지(오른쪽)를 가로로, 칸 전체는 가운데. 예정 경기는 시간만(배지를 숨기면 빈 자리도 없다). */
.pd-cs-timecell { display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; }
.pd-cs-kickoff { flex:none; font-size:12px; color:var(--t3-text-2); white-space:nowrap; text-align:center; font-variant-numeric:tabular-nums; }

/* 상태 배지: 종료 회색 · 예정 파랑 · 실시간 빨강(글자 대비 AA 이상). */
.pd-canonical-scores .pd-sc-list .pd-sc-state { flex:none; border:0; flex-direction:row; flex-wrap:wrap; gap:2px 4px; justify-content:center; white-space:normal; padding:3px 4px; border-radius:4px; background:var(--cs-fin-bg,var(--t3-surface-2)); color:var(--cs-fin-text,var(--t3-text-2)); font-size:10px; line-height:1.2; min-height:24px; }
.pd-canonical-scores .pd-sc-upcoming .pd-sc-state { display:none; }
/* 한 칸에는 하나만: 예정=시작 시간, 그 밖(실시간·종료·기타)=상태 배지. '실시간' 문구는 쓰지 않는다. 서버 행과 갱신 행이 같은 DOM 이라 CSS 로 한 번에 처리한다. */
.pd-canonical-scores .pd-sc-row:not(.pd-sc-upcoming) .pd-cs-kickoff,.pd-canonical-scores .pd-cs-live-label { display:none; }
.pd-canonical-scores .pd-sc-list .pd-sc-state { min-width:44px; align-items:center; box-sizing:border-box; }
.pd-canonical-scores .pd-sc-live .pd-sc-state { background:var(--cs-live-bg,rgba(185,47,47,.35)); color:var(--cs-live-text,#ffb4ac); font-weight:700; }
.pd-cs-live-label { font-size:8px; font-weight:700; }
.pd-cs-stale { color:#fbbf24; font-size:8px; }
/* 실시간 줄: 왼쪽 3px 붉은 선 + 아주 옅은 붉은 단색 바탕(그라데이션 없음). 호버에서도 붉은 기운을 잃지 않는다. */
.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row.pd-sc-live { box-shadow:inset 3px 0 var(--cs-live,#ff7417); background:linear-gradient(rgba(239,71,111,.07),rgba(239,71,111,.07)),var(--cs-card-bg,var(--t3-surface)); }
.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row.pd-sc-live:hover { background:linear-gradient(rgba(239,71,111,.11),rgba(239,71,111,.11)),var(--cs-hover,var(--t3-surface-2)); }

/* 팀: 양쪽이 가운데 스코어를 향한다 — 홈은 오른쪽 정렬, 원정은 왼쪽 정렬이고 로고는 스코어 쪽(홈은 이름 오른쪽, 원정은 이름 왼쪽)에 붙는다. 긴 팀명은 PC 한 줄 말줄임, 모바일 두 줄(아래). */
.pd-canonical-scores .pd-sc-row .pd-sc-team { height:auto; min-width:0; display:flex; align-items:center; justify-content:flex-start; gap:8px; font-size:13px; line-height:16px; overflow:hidden; }
.pd-canonical-scores .pd-sc-row .pd-cs-home { flex-direction:row-reverse; padding-right:14px; }   /* row-reverse: 시작 쪽이 오른쪽이라 로고+이름 묶음이 스코어 쪽으로 붙는다 */
.pd-canonical-scores .pd-sc-row .pd-cs-away { padding-left:14px; }
.pd-cs-team-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.pd-cs-home .pd-cs-team-name { text-align:right; }
.pd-cs-away .pd-cs-team-name { text-align:left; }
.pd-cs-logo-slot { display:inline-flex; position:relative; width:22px; height:22px; flex:0 0 22px; align-items:center; justify-content:center; }
.pd-cs-logo { position:absolute; inset:0; width:22px; height:22px; object-fit:contain; background:var(--t3-surface); }
.pd-cs-fallback.pd-md-badge { width:21px; height:21px; display:flex; align-items:center; justify-content:center; border:1px solid var(--t3-border); border-radius:5px 5px 9px 9px; background:var(--t3-surface-2); color:var(--t3-text-3); font-size:8px; font-weight:700; }

/* 스코어: 종료·실시간은 밝은 글자(실시간이 더 굵게), 예정은 흐리게. 가운데 정렬 유지. */
.pd-canonical-scores .pd-sc-row .pd-sc-scores { flex-direction:row; gap:6px; align-items:center; justify-content:center; font-variant-numeric:tabular-nums; }
.pd-canonical-scores .pd-sc-list .pd-sc-num { height:auto; font-size:14px; line-height:20px; color:var(--t3-text); font-weight:600; }
.pd-canonical-scores .pd-sc-list .pd-sc-live .pd-sc-num { color:var(--cs-score-live,var(--t3-text)); font-weight:800; }
.pd-cs-score-separator { font-size:12px; color:var(--t3-text-3); }
.pd-canonical-scores .pd-sc-upcoming .pd-sc-num { color:var(--t3-text-3); font-weight:400; }
.pd-canonical-scores .pd-sc-upcoming .pd-sc-num:last-child,.pd-canonical-scores .pd-sc-upcoming .pd-cs-score-separator { display:none; }
.pd-cs-ht { text-align:center; color:var(--t3-text-3); font-size:11px; }
.pd-canonical-scores[data-sport="soccer"] .pd-cs-ht { display:none; }   /* 축구의 '전반' 칸은 쓰지 않는다(갱신 스크립트가 서버 행 판별에 쓰는 자리표시 셀만 남는다) */
.pd-canonical-scores .pd-sc-row:not(.pd-sc-live) .pd-cs-live-label,.pd-canonical-scores .pd-sc-row[data-stale="0"] .pd-cs-stale { display:none; }
.pd-canonical-scores[data-tab="live"] .pd-sc-row:not(.pd-sc-live),.pd-canonical-scores[data-tab="upcoming"] .pd-sc-row:not(.pd-sc-upcoming),.pd-canonical-scores[data-tab="finished"] .pd-sc-row:not(.pd-sc-finished) { display:none; }
@media(max-width:900px) {
 .pd-cs-table { --score-columns:124px minmax(0,1fr) 60px minmax(0,1fr); }
 .pd-cs-columns,.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { gap:0 6px; padding:0 8px; }
}
@media(max-width:600px) {
 .pd-cs-heading { justify-content:flex-start; margin-bottom:8px; }
 .pd-cs-refresh { font-size:10px; }
 .pd-canonical-scores .pd-sc-tabs { width:100%; display:flex; }
 .pd-canonical-scores .pd-sc-tab { flex:1; justify-content:center; padding:0 4px; font-size:11px; }   /* 높이는 PC 와 같은 28px(막대 안에 들어가게) — 위아래 padding 이 막대를 넘쳐 활성 칸이 튀어나왔다 */
 .pd-canonical-scores .pd-sc-bar { gap:10px; }
 .pd-cs-dates { gap:5px; flex-wrap:wrap; }
 .pd-cs-dates form { gap:5px; }
 .pd-cs-columns { grid-template-columns:78px minmax(0,1fr) 45px minmax(0,1fr); height:29px; gap:0 5px; font-size:10px; }
 .pd-cs-columns span:nth-child(5) { display:none; }
 .pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { grid-template-columns:78px minmax(0,1fr) 45px minmax(0,1fr); grid-template-rows:auto; gap:0 5px; padding:4px 7px; min-height:42px; box-sizing:border-box; }
 .pd-cs-ht { display:none; }
 .pd-cs-timecell { grid-column:1; gap:4px; }
 .pd-cs-kickoff { font-size:10px; }
 .pd-canonical-scores .pd-sc-list .pd-sc-state { font-size:9px; min-height:18px; min-width:36px; padding:2px 4px; gap:1px; }
 .pd-cs-home { grid-column:2; grid-row:1; }
 .pd-cs-away { grid-column:4; grid-row:1; }
 .pd-canonical-scores .pd-sc-row .pd-sc-team { font-size:12px; line-height:14px; gap:4px; }
 .pd-canonical-scores .pd-sc-row .pd-cs-home { padding-right:6px; }
 .pd-canonical-scores .pd-sc-row .pd-cs-away { padding-left:6px; }
 .pd-cs-columns span:nth-child(2) { padding-right:6px; }
 .pd-cs-columns span:nth-child(4) { padding-left:6px; }
 .pd-cs-team-name { white-space:normal; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
 .pd-cs-logo-slot { flex-basis:18px; width:18px; height:20px; }
 .pd-cs-logo { width:18px; height:20px; }
 .pd-cs-fallback.pd-md-badge { width:17px; height:19px; font-size:7px; }
 .pd-canonical-scores .pd-sc-row .pd-sc-scores { grid-column:3; grid-row:1; gap:3px; }
 .pd-canonical-scores .pd-sc-list .pd-sc-num { font-size:12px; }
 .pd-cs-collapse { padding:6px 7px; gap:6px; }
 .pd-canonical-scores .pd-league-name { font-size:11px; }
 .pd-cs-league-icon { width:19px; height:14px; }
 .pd-cs-live-label { display:none; }
 .pd-canonical-scores .pd-sc-sports { gap:5px; }
 .pd-canonical-scores .pd-sc-sport { padding:0 7px; font-size:12px; }
}

.pd-cs-sport-pending { align-self:center; color:#8a99aa; font-size:12px; padding:10px; }
.pd-cs-match-link { position:absolute; inset:0; z-index:1; border-radius:3px; }
.pd-canonical-scores .pd-sc-row { position:relative; }
.pd-cs-match-link:focus-visible { outline:2px solid var(--rt-accent-hover,#ff7b31); outline-offset:-2px; }

/* 세부 점수(쿼터·피리어드·세트·이닝별)는 화면에 두지 않는다. 자료(detail·segments)와 갱신 스크립트가 쓰는 셀은 DOM 에 그대로 두고 보이지만 않게 해서,
   모든 종목이 시간/상태 | 홈 | 스코어 | 원정 4칸이 되고 남는 너비는 팀명 칸(1fr)이 쓴다. */
.pd-canonical-scores .pd-cs-ht, .pd-canonical-scores .pd-cs-columns span:nth-child(5) { display:none; }

/* Independent action above the existing match overlay; reserve a right-hand slot. */
.pd-canonical-scores .pd-cs-columns,
.pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { padding-right:38px; }
.pd-cs-analysis-link { position:absolute; right:6px; top:50%; transform:translateY(-50%); z-index:2; display:flex; align-items:center; justify-content:center; width:26px; height:28px; border:1px solid var(--cs-chip-line,var(--t3-border)); border-radius:4px; color:var(--rt-accent-hover,#ff852b); background:var(--cs-chip-bg,var(--t3-surface)); text-decoration:none; font-size:18px; line-height:1; }
.pd-cs-analysis-link:hover { background:var(--cs-chip-hover-bg,var(--t3-surface-2)); border-color:var(--cs-chip-hover-line,var(--t3-border)); }
.pd-cs-analysis-link:focus-visible { outline:2px solid var(--rt-accent-hover,#ff852b); outline-offset:2px; }
@media(max-width:600px) {
 .pd-canonical-scores .pd-cs-columns,
 .pd-canonical-scores.pd-scores .pd-sc-list .pd-sc-row { padding-right:34px; }
 .pd-cs-analysis-link { right:4px; width:25px; height:30px; }
}

/* PC(≥1024px) 본문 시작 위치 통일 — 레이아웃이 헤더 아래 16px 를 주므로 경기 결과 화면 안쪽 위 여백(16px)은 뺀다. */
@media (min-width: 1024px) { .pd-wrap.pd-canonical-scores { padding-top: 0; } }

/* 라이트: 라이트 파생 규칙(주황 갈색 스코어)보다 우선하도록 스코어 글자만 기본 글자색으로 맞춘다. 나머지는 위 var(--cs-*, 대체값)이 기존 라이트 값을 그대로 쓴다. */
html[data-theme="light"] .pd-canonical-scores .pd-sc-list .pd-sc-num,
html[data-theme="light"] .pd-canonical-scores .pd-sc-list .pd-sc-live .pd-sc-num { color:var(--t3-text); }
html[data-theme="light"] .pd-canonical-scores .pd-sc-list .pd-sc-upcoming .pd-sc-num { color:var(--t3-text-3); }
html[data-theme="light"] .pd-canonical-scores .pd-sc-sport.is-active { border-color:var(--rt-brand); color:var(--rt-on-brand); }   /* 라이트 파생 규칙의 주황 테두리·어두운 글자를 덮는다 */

/* 라이브스코어: 종목·상태 탭 옆 숫자는 표시하지 않는다 (JS가 요소를 참조하므로 DOM 은 유지) */
.pd-canonical-scores .pd-cs-sport-count,
.pd-canonical-scores .pd-sc-tab .pd-sc-tabnum { display:none !important; }
/* 상태 배지 짧은 표기(2Q 8′ · 3P 12′ · 2SET · MAP 2 · GAME 2)는 줄바꿈하지 않고 가운데 정렬한다. */
.pd-canonical-scores .pd-sc-state { justify-content:center; text-align:center; }
.pd-canonical-scores .pd-cs-clock { white-space:nowrap; }
