#body .rounded{border-radius:.5rem !important;}
.scores-match-overlay { position: fixed; inset: 0; background: rgba(2, 6, 23, .52); z-index: 1190; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scores-match-overlay.is-open { opacity: 1; pointer-events: auto; }
.scores-match-body-lock { overflow: hidden; }
.scores-match-drawer { position: fixed; top: 0; right: 0; width: min(560px, 100vw); height: 100vh; z-index: 1200; background: #f8fafc; transform: translateX(100%); transition: transform .24s ease; box-shadow: -20px 0 52px rgba(15, 23, 42, .24); display: flex; flex-direction: column; }
.scores-match-drawer.is-open { transform: translateX(0); }
.scores-match-drawer__head { padding: 18px 18px 14px; background: linear-gradient(135deg, #0f172a, #1d4ed8); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scores-match-drawer__title { margin: 0; font-size: 20px; }
.scores-match-drawer__close { border: 0; background: rgba(255,255,255,.14); color: #fff; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 12px; }
.scores-match-drawer__body { flex: 1; overflow-y: auto; padding: 14px; }

.scores-match-shell {border-radius:0.5rem; overflow: hidden; box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.scores-match-shell[data-theme="dark"] { background: #0f172a; border-color: rgba(148,163,184,.16); box-shadow: 0 14px 30px rgba(2,6,23,.22); }
.scores-match-shell__head { padding: 12px 14px 10px; border-bottom: 1px solid #e5edf5; }
.scores-match-shell[data-theme="dark"] .scores-match-shell__head { background: #0f172a; border-bottom-color: rgba(148,163,184,.12); }
.scores-match-shell__tools { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.scores-match-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 0 2px; scrollbar-width: none; }
.scores-match-tabs::-webkit-scrollbar { display: none; }
.scores-match-tab { position: relative; border: 0; background: transparent; color: #475569; border-radius: 8px; padding: 9px 12px; font-size: 12px; font-weight: 900; white-space: nowrap; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.scores-match-tab::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 999px; background: transparent; transition: background-color .18s ease; }
.scores-match-tab:hover { background: #f1f5f9; color: #0f172a; }
.scores-match-tab.is-active { background: #0f172a; color: #fff; }
.scores-match-tab.is-active::after { background: #14b8a6; }
.scores-match-shell[data-theme="dark"] .scores-match-tab { background: transparent; color: #cbd5e1; border-color: transparent; }
.scores-match-shell[data-theme="dark"] .scores-match-tab:hover { background: rgba(255,255,255,.06); color: #fff; }
.scores-match-shell[data-theme="dark"] .scores-match-tab.is-active { background: #e2e8f0; color: #0f172a; border-color: transparent; }
.scores-match-subtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: 12px; }
.scores-match-subtabs::-webkit-scrollbar { display: none; }
.scores-match-subtab { border: 1px solid #d9e2ec; background: #fff; color: #334155; border-radius: 8px; padding: 7px 11px; font-size: 11px; font-weight: 900; white-space: nowrap; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.scores-match-subtab:hover { background: #f8fafc; border-color: #cbd5e1; }
.scores-match-subtab.is-active { background: #0f766e; color: #fff; border-color: #0f766e; }
.scores-match-shell[data-theme="dark"] .scores-match-subtab { background: rgba(255,255,255,.04); color: #cbd5e1; border-color: rgba(148,163,184,.14); }
.scores-match-shell[data-theme="dark"] .scores-match-subtab.is-active { background: #2dd4bf; color: #042f2e; border-color: #2dd4bf; }

.scores-match-shell__body { padding: 14px; }
.scores-match-panel { display: grid; gap: 12px; }
.scores-match-overview-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: 12px; align-items: start; }
.scores-match-overview-grid .scores-match-card { height: 100%; }
.scores-match-hero { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #0b1220, #111827); color: #fff; display: grid; gap: 12px; border: 1px solid rgba(148,163,184,.14); }
.scores-match-hero__top { display: flex; align-items: center; justify-content: center; gap: 12px; }
.scores-match-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.scores-match-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(148,163,184,.14); color: #e2e8f0; font-size: 11px; font-weight: 800; }
.scores-match-hero__board { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 14px; align-items: center; }
.scores-match-team { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; justify-items: start; text-align: left; }
.scores-match-team:last-child { grid-template-columns: minmax(0, 1fr) 46px; justify-items: end; text-align: right; }
.scores-match-team:last-child .scores-match-team__logo { order: 2; }
.scores-match-team__logo { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; object-fit: contain; padding: 7px; }
.scores-match-team__name { min-width: 0; font-size: 15px; font-weight: 900; line-height: 1.25; word-break: break-word; }
.scores-match-score { display: grid; gap: 6px; justify-items: center; min-width: 0; padding: 10px 12px; border-radius: 12px; background: rgba(2,6,23,.42); border: 1px solid rgba(255,255,255,.08); }
.scores-match-score__main { font-size: 34px; font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 900; line-height: 1; letter-spacing: 0; }
.scores-match-score__sub { font-size: 11px; color: rgba(255,255,255,.78); font-weight: 800; }

.scores-match-card { border: 1px solid #e5edf5; border-radius: 0.5rem; background: #fff; overflow: hidden; }
.scores-match-shell[data-theme="dark"] .scores-match-card { background: #111827; border-color: rgba(148,163,184,.14); }
.scores-match-card__head { padding: 11px 14px 9px; border-bottom: 1px solid #edf2f7; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fbfdff; }
.scores-match-shell[data-theme="dark"] .scores-match-card__head { border-bottom-color: rgba(148,163,184,.12); }
.scores-match-card__title { margin: 0; font-size: 12px; font-weight: 900; color: #0f172a; letter-spacing: .06em; text-transform: uppercase; }
.scores-match-shell[data-theme="dark"] .scores-match-card__title { color: #f8fafc; }
.scores-match-card__body { padding: 12px 14px 14px; }

.scores-match-grid { display: grid; gap: 12px; }
.scores-match-meta-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scores-match-meta-item { padding: 10px 11px; border-radius: 10px; background: #f8fafc; border-left: 3px solid #0f766e; }
.scores-match-shell[data-theme="dark"] .scores-match-meta-item { background: rgba(148,163,184,.08); }
.scores-match-meta-item__label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .08em; }
.scores-match-meta-item__value { margin-top: 4px; font-size: 14px; color: #0f172a; font-weight: 700; line-height: 1.35; }
.scores-match-shell[data-theme="dark"] .scores-match-meta-item__value { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-meta-item__label { color: #94a3b8; }

.scores-match-timeline { display: grid; gap: 10px; }
.scores-match-event { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; align-items: start; }
.scores-match-event__time { font-size: 12px; font-weight: 800; color: #2563eb; }
.scores-match-event__body { padding: 10px 12px; border-radius: 10px; background: #f8fafc; border-left: 3px solid #0ea5e9; }
.scores-match-shell[data-theme="dark"] .scores-match-event__body { background: rgba(148,163,184,.08); }
.scores-match-event__label { font-size: 13px; font-weight: 800; color: #0f172a; }
.scores-match-shell[data-theme="dark"] .scores-match-event__label { color: #f8fafc; }
.scores-match-event__sub { margin-top: 4px; font-size: 12px; color: #64748b; line-height: 1.4; }
.scores-match-shell[data-theme="dark"] .scores-match-event__sub { color: #94a3b8; }

.scores-match-lineup { display: grid; gap: 12px; }
.scores-match-data-shell { display: grid; gap: 12px; }
.scores-match-data-grid { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
.scores-match-data-grid > * { min-width: 0; }
.scores-match-lineup__two { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scores-match-lineup__side { padding: 14px; border-radius: 16px; background: #f8fafc; display: grid; gap: 12px; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup__side { background: rgba(148,163,184,.08); }
.scores-match-lineup__summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scores-match-lineup__name { font-size: 15px; color: #0f172a; font-weight: 800; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup__name { color: #f8fafc; }
.scores-match-lineup__formation { font-size: 12px; color: #2563eb; font-weight: 800; }
.scores-match-lineup__coach { font-size: 12px; color: #64748b; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup__coach { color: #94a3b8; }
.scores-match-lineup-board { position: relative; overflow: hidden; border-radius: 18px; padding: 12px; background: #f8fafc; border: 1px solid #dce8dd; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup-board { background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.14); }
.scores-match-lineup-board__pitch { position: relative; min-height: 442px; background: linear-gradient(180deg, #2a9148, #1f7a3d); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.scores-match-lineup-board__pitch::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(180deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 14.28%, transparent 14.28%, transparent 28.56%, rgba(255,255,255,.028) 28.56%, rgba(255,255,255,.028) 42.84%, transparent 42.84%, transparent 57.12%, rgba(255,255,255,.028) 57.12%, rgba(255,255,255,.028) 71.4%, transparent 71.4%, transparent 85.68%, rgba(255,255,255,.028) 85.68%, rgba(255,255,255,.028) 100%); }
.scores-match-lineup-board__outline { position: absolute; inset: 14px; border: 2px solid rgba(255,255,255,.18); border-radius: 14px; pointer-events: none; }
.scores-match-lineup-board__midline { position: absolute; left: 50%; top: 14%; bottom: 6%; width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.14); }
.scores-match-lineup-board__center-circle { position: absolute; left: 50%; top: 58%; width: 86px; height: 86px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255,255,255,.16); }
.scores-match-lineup-board__penalty { position: absolute; left: 50%; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.18); }
.scores-match-lineup-board__penalty.is-top { top: 30px; width: 32%; height: 15%; border-top: 0; border-radius: 0 0 14px 14px; }
.scores-match-lineup-board__penalty.is-bottom { bottom: 16px; width: 40%; height: 16%; border-bottom: 0; border-radius: 14px 14px 0 0; }
.scores-match-lineup-board__goalbox { position: absolute; left: 50%; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.16); }
.scores-match-lineup-board__goalbox.is-top { top: 30px; width: 16%; height: 7%; border-top: 0; border-radius: 0 0 10px 10px; }
.scores-match-lineup-board__goalbox.is-bottom { bottom: 16px; width: 18%; height: 8%; border-bottom: 0; border-radius: 10px 10px 0 0; }
.scores-match-lineup-board__arc { position: absolute; left: 50%; width: 94px; height: 46px; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.16); }
.scores-match-lineup-board__arc.is-top { top: 92px; border-top: 0; border-radius: 0 0 60px 60px; }
.scores-match-lineup-board__arc.is-bottom { bottom: 88px; border-bottom: 0; border-radius: 60px 60px 0 0; }
.scores-match-lineup-board__spot { position: absolute; left: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.25); }
.scores-match-lineup-board__spot.is-top { top: 80px; }
.scores-match-lineup-board__spot.is-bottom { bottom: 72px; transform: translate(-50%, 50%); }
.scores-match-lineup-board__side { position: relative; min-height: 442px; padding-top: 6px; }
.scores-match-lineup-board__team-meta { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; padding: 0 4px; }
.scores-match-lineup-board__team-name { font-size: 13px; font-weight: 800; }
.scores-match-lineup-board__team-note { font-size: 11px; color: rgba(255,255,255,.82); padding: 0 4px; }
.scores-match-lineup-board__team-meta .scores-match-lineup__formation { color: #f8fafc; background: rgba(15,23,42,.28); border: 1px solid rgba(255,255,255,.1); padding: 4px 8px; border-radius: 999px; font-size: 11px; }
.scores-match-lineup-board__players { position: relative; min-height: 352px; margin-top: 16px; }
.scores-match-lineup-piece { position: absolute; width: 76px; margin-left: -38px; margin-top: -36px; text-align: center; color: #fff; opacity: 0; transform: translate3d(0, 10px, 0) scale(.96); animation: scores-match-lineup-enter .24s ease forwards; }
.scores-match-lineup-piece--bench { position: relative; inset: auto; width: auto; margin: 0; opacity: 1; transform: none; animation: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; background: #fff; color: #0f172a; padding: 12px 14px; border-radius: 12px; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup-piece--bench { background: rgba(15,23,42,.42); color: #f8fafc; }
.scores-match-lineup-piece__top { position: relative; width: 50px; height: 50px; margin: 0 auto 5px; }
.scores-match-lineup-piece__avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.88); background: #fff; object-fit: cover; display: block; box-shadow: 0 6px 12px rgba(15,23,42,.18); }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__avatar { margin: 0; border-color: rgba(15,23,42,.08); background: #e2e8f0; flex: 0 0 auto; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup-piece--bench .scores-match-lineup-piece__avatar { border-color: rgba(148,163,184,.16); background: rgba(148,163,184,.12); }
.scores-match-lineup-piece__num { min-width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; padding: 0 6px; }
.scores-match-lineup-piece__badge { position: absolute; left: -6px; top: 26px; min-width: 22px; height: 18px; padding: 0 6px; border-radius: 999px; background: #f59e0b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; box-shadow: 0 4px 10px rgba(15,23,42,.18); }
.scores-match-lineup-piece--away .scores-match-lineup-piece__badge { background: #2563eb; }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__num { margin: 0; background: #dbeafe; color: #1d4ed8; flex: 0 0 auto; }
.scores-match-lineup-piece__name { font-size: 10px; font-weight: 800; line-height: 1.06; word-break: break-word; color: #fff; text-shadow: 0 1px 2px rgba(15,23,42,.22); }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__name { color: #0f172a; font-size: 14px; line-height: 1.28; text-shadow: none; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup-piece--bench .scores-match-lineup-piece__name { color: #f8fafc; }
.scores-match-lineup-piece__meta { margin-top: 2px; font-size: 8px; color: rgba(255,255,255,.82); line-height: 1.05; }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__meta { margin-top: 0; color: #475569; font-size: 12px; font-weight: 700; line-height: 1.25; }
.scores-match-shell[data-theme="dark"] .scores-match-lineup-piece--bench .scores-match-lineup-piece__meta { color: #cbd5e1; }
.scores-match-lineup-bench { display: grid; gap: 8px; }
.scores-match-lineup-bench__title { font-size: 12px; color: #2563eb; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scores-match-players { display: grid; gap: 8px; }
.scores-match-player { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.scores-match-shell[data-theme="dark"] .scores-match-player { background: rgba(15,23,42,.42); }
.scores-match-player__left { min-width: 0; display: flex; align-items: center; gap: 8px; }
.scores-match-player__avatar { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #dbe3ee; background: #f8fafc; object-fit: cover; flex: 0 0 auto; }
.scores-match-shell[data-theme="dark"] .scores-match-player__avatar { border-color: rgba(148,163,184,.16); background: rgba(148,163,184,.12); }
.scores-match-player__num { width: 26px; height: 26px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scores-match-player__name { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.scores-match-shell[data-theme="dark"] .scores-match-player__name { color: #f8fafc; }
.scores-match-player__meta { font-size: 11px; color: #64748b; text-align: right; }
.scores-match-shell[data-theme="dark"] .scores-match-player__meta { color: #94a3b8; }

.scores-match-stats { display: grid; gap: 10px; }
.scores-match-stat-group { display: grid; gap: 8px; }
.scores-match-stat-group__title { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #0f766e; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.scores-match-stat-group__title::before { content: ''; width: 5px; height: 14px; border-radius: 999px; background: #0f766e; }
.scores-match-stats-layout { display: grid; gap: 14px; }
.scores-match-stats-block { border: 1px solid #e5edf5; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: none; }
.scores-match-shell[data-theme="dark"] .scores-match-stats-block { background: #111827; border-color: rgba(148,163,184,.14); }
.scores-match-stats-block__head { padding: 12px 14px; border-bottom: 1px solid #edf2f7; font-size: 12px; font-weight: 900; color: #0f172a; letter-spacing: .08em; text-transform: uppercase; background: #fbfdff; }
.scores-match-shell[data-theme="dark"] .scores-match-stats-block__head { border-bottom-color: rgba(148,163,184,.12); color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-stats-block__head { background: rgba(255,255,255,.02); }
.scores-match-stats-block__body { padding: 14px; }
.scores-match-stat-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 12px; align-items: center; }
.scores-match-stat-row__value { font-size: 14px; font-weight: 800; color: #0f172a; }
.scores-match-shell[data-theme="dark"] .scores-match-stat-row__value { color: #f8fafc; }
.scores-match-stat-row__value.is-away { text-align: right; }
.scores-match-stat-row__label { font-size: 12px; color: #64748b; text-align: center; }
.scores-match-shell[data-theme="dark"] .scores-match-stat-row__label { color: #94a3b8; }
.scores-match-topstats { display: grid; gap: 0; }
.scores-match-topstats__row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid #eef2f7; }
.scores-match-topstats__row:first-child { padding-top: 0; border-top: 0; }
.scores-match-shell[data-theme="dark"] .scores-match-topstats__row { border-top-color: rgba(148,163,184,.1); }
.scores-match-topstats__value { font-size: 13px; font-weight: 900; color: #0f172a; line-height: 1; }
.scores-match-shell[data-theme="dark"] .scores-match-topstats__value { color: #f8fafc; }
.scores-match-topstats__value.is-away { text-align: right; }
.scores-match-topstats__label { font-size: 12px; font-weight: 700; color: #334155; text-align: center; line-height: 1.4; }
.scores-match-shell[data-theme="dark"] .scores-match-topstats__label { color: #cbd5e1; }
.scores-match-stat-compare { display: grid; gap: 0; }
.scores-match-stat-compare__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(92px, 124px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef2f7; }
.scores-match-stat-compare__row:first-child { border-top: 0; }
.scores-match-stat-compare__value { font-size: 13px; font-weight: 900; color: #0f172a; line-height: 1; }
.scores-match-shell[data-theme="dark"] .scores-match-stat-compare__value { color: #f8fafc; }
.scores-match-stat-compare__value.is-away { text-align: right; }
.scores-match-stat-compare__label { font-size: 11px; font-weight: 800; line-height: 1.25; color: #475569; text-align: center; }
.scores-match-shell[data-theme="dark"] .scores-match-stat-compare__label { color: #cbd5e1; }
.scores-match-stat-compare__track { position: relative; height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.scores-match-shell[data-theme="dark"] .scores-match-stat-compare__track { background: rgba(148,163,184,.14); }
.scores-match-stat-compare__fill { position: absolute; top: 0; bottom: 0; border-radius: inherit; }
.scores-match-stat-compare__fill.is-home { right: 0; background: linear-gradient(90deg, #38bdf8, #0369a1); }
.scores-match-stat-compare__fill.is-away { left: 0; background: linear-gradient(90deg, #f97316, #fb7185); }

.scores-match-stripes { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scores-match-stripe-panel { display: grid; gap: 14px; }
.scores-match-stripe-block { border: 1px solid #e5edf5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: none; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-block { background: #111827; border-color: rgba(148,163,184,.14); }
.scores-match-stripe-block__head { padding: 12px 14px; border-bottom: 1px solid #edf2f7; font-size: 12px; font-weight: 900; color: #0f172a; letter-spacing: .08em; text-transform: uppercase; background: #fbfdff; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-block__head { border-bottom-color: rgba(148,163,184,.12); color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-block__head { background: rgba(255,255,255,.02); }
.scores-match-stripe-list { display: grid; }
.scores-match-stripe-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-top: 1px solid #edf2f7; }
.scores-match-stripe-item:first-child { border-top: 0; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-item { border-top-color: rgba(148,163,184,.08); }
.scores-match-stripe-item__main { display: grid; gap: 10px; min-width: 0; }
.scores-match-stripe-item__team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.scores-match-stripe-item__logo { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; object-fit: contain; padding: 4px; flex: 0 0 auto; }
.scores-match-stripe-item__team-name { font-size: 13px; font-weight: 800; color: #0f172a; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-item__team-name { color: #f8fafc; }
.scores-match-stripe-item__text { font-size: 12px; color: #334155; line-height: 1.45; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-item__text { color: #cbd5e1; }
.scores-match-stripe-item__pill { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #f3f4f6; color: #475569; font-size: 12px; font-weight: 800; white-space: nowrap; }
.scores-match-shell[data-theme="dark"] .scores-match-stripe-item__pill { background: rgba(255,255,255,.06); color: #e2e8f0; }

.scores-match-h2h-summary { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scores-match-h2h-summary__item { padding: 13px; border-radius: 10px; background: #f8fafc; text-align: center; border-left: 3px solid #0f766e; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-summary__item { background: rgba(148,163,184,.08); }
.scores-match-h2h-summary__value { font-size: 22px; color: #0f172a; font-weight: 900; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-summary__value { color: #f8fafc; }
.scores-match-h2h-summary__label { margin-top: 4px; font-size: 12px; color: #64748b; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-summary__label { color: #94a3b8; }
.scores-match-h2h-list { display: grid; gap: 8px; }
.scores-match-h2h-item { padding: 12px; border-radius: 10px; background: #f8fafc; display: grid; gap: 8px; border-left: 3px solid #0ea5e9; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item { background: rgba(148,163,184,.08); }
.scores-match-h2h-item__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scores-match-h2h-item__comp { font-size: 12px; color: #64748b; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item__comp { color: #94a3b8; }
.scores-match-h2h-item__teams { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #0f172a; font-weight: 700; }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item__teams { color: #f8fafc; }
.scores-match-h2h-item__score { font-size: 16px; font-weight: 900; color: #1d4ed8; }

.scores-match-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scores-match-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 999px; border: 1px solid #dbe3ee; background: #fff; color: #0f172a; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.scores-match-button.is-primary { background: #0f172a; color: #fff; border-color: #0f172a; }
.scores-match-loading { display: grid; gap: 10px; }
.scores-match-loading__row { height: 84px; border-radius: 16px; background: linear-gradient(90deg, #e2e8f0, #f8fafc, #e2e8f0); background-size: 200% 100%; animation: scores-center-shimmer 1.4s linear infinite; }
.scores-match-empty { padding: 26px 14px; border-radius: 14px; text-align: center; background: #f8fafc; color: #64748b; }
.scores-match-shell[data-theme="dark"] .scores-match-empty { background: rgba(148,163,184,.08); color: #94a3b8; }
.scores-match-page-shell .scores-center-page-shell__hero { margin-bottom: 22px; }

@media (max-width: 767px) {
    .scores-match-drawer { width: 100vw; }
    .scores-match-shell__body { padding: 12px; }
    .scores-match-hero { padding: 14px; }
    .scores-match-hero__board { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .scores-match-team,
    .scores-match-team:last-child { grid-template-columns: 42px minmax(0, 1fr); justify-items: start; text-align: left; }
    .scores-match-team:last-child .scores-match-team__logo { order: 0; }
    .scores-match-team__logo { width: 42px; height: 42px; }
    .scores-match-score { order: -1; min-width: 0; width: 100%; }
    .scores-match-score__main { font-size: 32px; }
    .scores-match-overview-grid,
    .scores-match-data-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .scores-match-meta-grid,
    .scores-match-overview-grid,
    .scores-match-data-grid,
    .scores-match-lineup__two,
    .scores-match-stripes,
    .scores-match-h2h-summary { grid-template-columns: minmax(0, 1fr); }
    .scores-match-lineup-board__pitch,
    .scores-match-lineup-board__side { min-height: 392px; }
    .scores-match-lineup-board__players { min-height: 292px; }
    .scores-match-lineup-piece { width: 62px; margin-left: -31px; }
    .scores-match-lineup-piece__top { width: 44px; height: 44px; }
    .scores-match-lineup-piece__avatar { width: 44px; height: 44px; }
    .scores-match-lineup-board__center-circle { width: 72px; height: 72px; top: 56%; }
    .scores-match-stat-compare__row { grid-template-columns: 42px minmax(0, 1fr) 78px minmax(0, 1fr) 42px; gap: 8px; }
    .scores-match-stat-compare__label { font-size: 10px; }
    .scores-match-stat-compare__value { font-size: 12px; }
    .scores-match-stripe-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .scores-match-stripe-item__pill { justify-self: start; }
}

@keyframes scores-match-lineup-enter {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes scores-match-spin {
    to {
        transform: rotate(360deg);
    }
}
.scores-match-page-shell { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.scores-match-page-shell .scores-center-page-shell__hero { margin-bottom: 24px; }
.scores-match-page-shell .scores-match-shell { overflow: visible; border-radius: 0; border: 0; background: transparent; box-shadow: none; }
.scores-match-page-shell .scores-match-shell__head { position: sticky; top: 0; z-index: 2; padding: 0 0 12px; background: linear-gradient(180deg, rgba(248,250,252,.98), rgba(248,250,252,.92) 78%, rgba(248,250,252,0)); border-bottom: 0; backdrop-filter: blur(10px); }
.scores-match-page-shell .scores-match-shell__body { padding: 0 0 20px; background: transparent; }
.scores-match-page-shell .scores-match-tabs { gap: 4px; padding: 3px 0 4px; }
.scores-match-page-shell .scores-match-tab { padding: 10px 13px; border: 0; background: transparent; color: #475569; box-shadow: none; transition: background-color .18s ease, color .18s ease; }
.scores-match-page-shell .scores-match-tab:hover { transform: none; background: #eef2f7; border-color: transparent; color: #0f172a; }
.scores-match-page-shell .scores-match-tab.is-active { background: #0f172a; border-color: transparent; color: #fff; box-shadow: none; }
.scores-match-page-shell .scores-match-hero { position: relative; overflow: hidden; padding: 20px; border-radius: 14px; background: linear-gradient(135deg, #07111f, #111827); border-color: rgba(148,163,184,.2); box-shadow: 0 12px 30px rgba(2,6,23,.18); }
.scores-match-page-shell .scores-match-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #0f766e, #14b8a6, transparent); opacity: .9; pointer-events: none; }
.scores-match-page-shell .scores-match-hero > * { position: relative; z-index: 1; }
.scores-match-page-shell .scores-match-hero__board { grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); gap: 18px; }
.scores-match-page-shell .scores-match-chip { min-height: 26px; padding: 6px 10px; border-color: rgba(226,232,240,.16); background: rgba(15,23,42,.4); color: #e2e8f0; backdrop-filter: blur(10px); }
.scores-match-page-shell .scores-match-team { gap: 13px; grid-template-columns: 58px minmax(0, 1fr); }
.scores-match-page-shell .scores-match-team:last-child { grid-template-columns: minmax(0, 1fr) 58px; }
.scores-match-page-shell .scores-match-team__logo { width: 58px; height: 58px; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.95); box-shadow: 0 8px 18px rgba(2,6,23,.18); }
.scores-match-page-shell .scores-match-team__name { color: #f8fafc; font-size: 17px; font-weight: 900; text-shadow: 0 8px 22px rgba(0,0,0,.22); }
.scores-match-page-shell .scores-match-score { min-width: 0; padding: 14px 18px; border: 1px solid rgba(226,232,240,.14); border-radius: 14px; background: rgba(2,6,23,.48); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.scores-match-page-shell .scores-match-score__main { color: #fff; font-size: clamp(32px, 4vw, 48px); letter-spacing: 0; }
.scores-match-page-shell .scores-match-score__sub { display: inline-flex; justify-content: center; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(34,197,94,.14); color: #bbf7d0; }
.scores-match-page-shell .scores-match-grid { gap: 12px; }
.scores-match-page-shell .scores-match-card,
.scores-match-page-shell .scores-match-stats-block,
.scores-match-page-shell .scores-match-stripe-block { border-color: #e2e8f0; border-radius: 12px; box-shadow: none; }
.scores-match-page-shell .scores-match-card__head,
.scores-match-page-shell .scores-match-stats-block__head,
.scores-match-page-shell .scores-match-stripe-block__head { background: #fbfdff; color: #334155; letter-spacing: .1em; }
.scores-match-page-shell .scores-match-card__title { font-size: 13px; color: #334155; letter-spacing: .08em; text-transform: uppercase; }
.scores-match-page-shell .scores-match-card__body { padding: 14px; }
.scores-match-page-shell .scores-match-meta-grid { gap: 10px; }
.scores-match-page-shell .scores-match-meta-item { border: 1px solid #e2e8f0; border-left: 3px solid #0f766e; border-radius: 10px; background: #fff; box-shadow: none; }
.scores-match-page-shell .scores-match-event { border-radius: 10px; background: #f8fafc; }
.scores-match-page-shell .scores-match-event__time { background: #e0f2fe; color: #0369a1; }
.scores-match-page-shell .scores-match-subtabs { gap: 6px; margin-bottom: 12px; }
.scores-match-page-shell .scores-match-subtab { padding: 8px 12px; border-color: #dbe7f3; background: #fff; box-shadow: none; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.scores-match-page-shell .scores-match-subtab:hover { transform: none; border-color: #cbd5e1; background: #f8fafc; }
.scores-match-page-shell .scores-match-subtab.is-active { background: #0f766e; border-color: #0f766e; color: #fff; box-shadow: none; }
.scores-match-page-shell .scores-match-lineup-board { gap: 16px; }
.scores-match-page-shell .scores-match-lineup-board__pitch,
.scores-match-page-shell .scores-match-lineup-board__side { border-radius: 24px; box-shadow: 0 18px 36px rgba(15,23,42,.12); }
.scores-match-page-shell .scores-match-lineup-piece__top { box-shadow: 0 10px 22px rgba(2,6,23,.22); }
.scores-match-page-shell .scores-match-lineup-piece__name { background: rgba(15,23,42,.76); color: #fff; backdrop-filter: blur(8px); }
.scores-match-page-shell .scores-match-player { border-radius: 10px; background: #f8fafc; }
.scores-match-page-shell .scores-match-stat-compare__row { padding: 11px 0; }
.scores-match-page-shell .scores-match-stat-compare__track { height: 11px; background: #e8eef6; }
.scores-match-page-shell .scores-match-topstats__row { border-radius: 10px; background: #f8fafc; }
.scores-match-page-shell .scores-match-h2h-summary__item { border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; box-shadow: none; }
.scores-match-page-shell .scores-match-h2h-item { border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; }
.scores-match-page-shell .scores-match-stripe-item { transition: background-color .18s ease; }
.scores-match-page-shell .scores-match-stripe-item:hover { background: #f8fafc; }
.scores-match-page-shell .scores-match-stripe-item__pill { background: #eef2ff; color: #4338ca; }
.scores-match-page-shell .scores-match-empty { border: 1px dashed #cbd5e1; border-radius: 18px; background: #f8fafc; }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] { background: transparent; border-color: transparent; box-shadow: none; }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-shell__head { background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(15,23,42,.92) 78%, rgba(15,23,42,0)); border-bottom-color: transparent; }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-shell__body { background: transparent; }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-card,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-stats-block,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-stripe-block,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-meta-item,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-h2h-summary__item,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-h2h-item { background: linear-gradient(180deg, #111827, #0f172a); border-color: rgba(148,163,184,.16); box-shadow: 0 14px 34px rgba(2,6,23,.28); }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-card__head,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-stats-block__head,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-stripe-block__head { background: rgba(255,255,255,.03); }
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-event,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-player,
.scores-match-page-shell .scores-match-shell[data-theme="dark"] .scores-match-topstats__row { background: rgba(148,163,184,.08); }

@media (max-width: 767px) {
    .scores-match-page-shell { padding-left: 10px; padding-right: 10px; }
    .scores-match-page-shell .scores-match-shell { border-radius: 0; }
    .scores-match-page-shell .scores-match-shell__head { padding: 0 0 10px; }
    .scores-match-page-shell .scores-match-shell__body { padding: 0 0 16px; }
    .scores-match-page-shell .scores-match-hero { padding: 15px; border-radius: 12px; }
    .scores-match-page-shell .scores-match-hero__board { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .scores-match-page-shell .scores-match-team,
    .scores-match-page-shell .scores-match-team:last-child { grid-template-columns: 44px minmax(0, 1fr); }
    .scores-match-page-shell .scores-match-team:last-child .scores-match-team__logo { order: 0; }
    .scores-match-page-shell .scores-match-team__logo { width: 44px; height: 44px; }
    .scores-match-page-shell .scores-match-team__name { font-size: 16px; }
    .scores-match-page-shell .scores-match-score { min-width: 0; width: 100%; padding: 13px 16px; order: -1; }
    .scores-match-page-shell .scores-match-card__body { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .scores-match-tab,
    .scores-match-subtab,
    .scores-match-stripe-item,
    .scores-match-loading__row,
    .scores-match-lineup-piece { animation: none !important; transition: none !important; }
}

/* Match product UI: sports masthead + data panels, scoped to plugin. */
.scores-match-drawer,
.scores-match-shell,
.scores-match-page-shell { font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; }

.scores-match-drawer { background: #eef3f1; box-shadow: -10px 0 30px rgba(8,17,31,.2); }
.scores-match-drawer__head { padding: 15px 16px 13px; background: #08111f; border-bottom: 3px solid #16a34a; }
.scores-match-drawer__title { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.scores-match-drawer__close { border-radius: 6px; background: rgba(255,255,255,.1); }
.scores-match-drawer__body { padding: 10px; }

.scores-match-shell {box-shadow: 0 8px 18px rgba(8,17,31,.05); overflow: hidden; }
.scores-match-shell__head { padding: 0;}
.scores-match-masthead { display: grid; gap: 11px; padding:1rem; background: #08111f; color: #fff;border-radius: 0.5rem;}
.scores-match-masthead__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scores-match-masthead__meta { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 6px; min-width: 0; }
.scores-match-masthead__chip { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 5px; background: rgba(255,255,255,.08); color: #cbd5e1; font-size: 11px; font-weight: 800; }
.scores-match-masthead__board { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); gap: 14px; align-items: center; }
.scores-match-masthead__team { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; }
.scores-match-masthead__team.is-away { grid-template-columns: minmax(0, 1fr) 46px; text-align: right; }
.scores-match-masthead__logo { width: 46px; height: 46px; border-radius: 8px; background: #fff; object-fit: contain; padding: 6px; }
.scores-match-masthead__name { min-width: 0; font-size: 16px; line-height: 1.2; font-weight: 900; word-break: break-word; }
.scores-match-masthead__score { display: grid; gap: 4px; justify-items: center; padding: 8px 10px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.scores-match-masthead__score-main { font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.scores-match-masthead__score-sub { color: #86efac; font-size: 11px; font-weight: 900; }
.scores-match-tabs { gap: 0; padding: 0 30px 0 0; background: #fff; border-bottom: 1px solid #e6ecea; }
.scores-match-tab { min-height: 43px; border-radius: 0; padding: 0 14px; font-size: 12px; font-weight: 900; color: #334155; }
.scores-match-tab:hover { background: #eef6f1; color: #052e16; }
.scores-match-tab.is-active { background: #0b1f16; color: #fff; }
.scores-match-tab.is-active::after { left: 0; right: 0; bottom: 0; height: 3px; background: #22c55e; }
.scores-match-back { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #d4dfdb; background: #fff; color: #0f172a; font-size: 12px; font-weight: 900; cursor: pointer; }
.scores-match-back:hover { background: #eef6f1; border-color: #c8ddcf; color: #052e16; }
.scores-match-masthead .scores-match-back { flex: 0 0 auto; min-height: 28px; padding: 0 10px; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; }
.scores-match-masthead .scores-match-back:hover { background: rgba(34,197,94,.18); border-color: rgba(134,239,172,.36); color: #dcfce7; }
.scores-match-shell__tools { margin: 0; padding: 9px 10px; background: #f8faf9; border-bottom: 1px solid #e6ecea; }
.scores-match-button { border-radius: 6px; font-weight: 900; }
.scores-match-button.is-primary { background: #0b1f16; border-color: #0b1f16; }
.scores-match-shell__body { padding: 12px; }
.scores-match-panel { gap: 10px; }
.scores-match-hero { display: none; }

.scores-match-overview-grid,
.scores-match-data-grid { gap: 10px; }
.scores-match-card,
.scores-match-stats-block,
.scores-match-stripe-block {overflow: hidden; }
.scores-match-card__head,
.scores-match-stats-block__head,
.scores-match-stripe-block__head { min-height: 36px; padding: 10px 12px; background: #f7faf8; border-bottom: 1px solid #e2eae6; }
.scores-match-card__title,
.scores-match-stats-block__head,
.scores-match-stripe-block__head { font-weight: 900; letter-spacing: .06em; color: #0f172a; }
.scores-match-card__body,
.scores-match-stats-block__body { padding: 12px; }
.scores-match-meta-grid { gap: 8px; }
.scores-match-meta-item { border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid #16a34a; }
.scores-match-meta-item__label { color: #64748b; font-weight: 900; }
.scores-match-meta-item__value { font-weight: 900; }
.scores-match-event { grid-template-columns: 52px minmax(0, 1fr); }
.scores-match-event__time { padding-top: 8px; color: #166534; font-weight: 900; }
.scores-match-event__body { border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid #38bdf8; }
.scores-match-event__label { font-weight: 900; }

.scores-match-subtabs { gap: 0; padding-bottom: 0; margin-bottom: 10px; background: #fff; border: 1px solid #d4dfdb; overflow-x: auto; }
.scores-match-subtab { min-height: 38px; border: 0; border-right: 1px solid #e6ecea; border-radius: 0; background: #fff; font-weight: 900; }
.scores-match-subtab.is-active { background: #0b1f16; border-color: #0b1f16; color: #fff; }
.scores-match-lineup__side { border-radius: 10px; background: #fff; border: 1px solid #d4dfdb; }
.scores-match-lineup-board { border-radius: 10px; background: #f8faf9; }
.scores-match-lineup-board__pitch,
.scores-match-lineup-board__side { border-radius: 8px; }
.scores-match-lineup-board__team-name,
.scores-match-lineup__name { font-weight: 900; }
.scores-match-lineup-piece__name { font-weight: 900; }
.scores-match-lineup-piece--bench { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: 8px; border: 1px solid #e2e8f0; padding: 10px 12px; }
.scores-match-lineup-piece--bench .scores-match-player__left { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 9px; }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__avatar,
.scores-match-lineup-piece--bench .scores-match-lineup-piece__num { width: 38px; height: 38px; }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__name { min-width: 0; overflow-wrap: anywhere; background: transparent; color: #0f172a; text-shadow: none; backdrop-filter: none; }
.scores-match-lineup-piece--bench .scores-match-lineup-piece__meta { min-width: 0; max-width: 150px; overflow-wrap: anywhere; text-align: right; }
.scores-match-bench-player { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #0f172a; box-sizing: border-box; }
.scores-match-bench-player__media { width: 42px; height: 42px; min-width: 42px; display: flex; align-items: center; justify-content: center; }
.scores-match-bench-player__media .scores-match-lineup-piece__avatar,
.scores-match-bench-player__media .scores-match-lineup-piece__num { width: 38px; height: 38px; margin: 0; flex: 0 0 auto; }
.scores-match-bench-player__body { min-width: 0; display: grid; gap: 2px; }
.scores-match-bench-player__name { min-width: 0; color: #0f172a; font-size: 14px; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; word-break: break-word; }
.scores-match-bench-player__meta { min-width: 0; color: #475569; font-size: 12px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; word-break: break-word; }
.scores-match-shell[data-theme="dark"] .scores-match-bench-player { background: rgba(15,23,42,.42); border-color: rgba(148,163,184,.16); color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-bench-player__name { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-bench-player__meta { color: #cbd5e1; }
.scores-match-player { border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; }
.scores-match-stat-group__title { color: #166534; font-weight: 900; }
.scores-match-stat-compare__row { padding: 11px 0; border-top: 1px solid #edf2ef; }
.scores-match-stat-compare__track { height: 8px; background: #dfe7ef; }
.scores-match-stat-compare__fill.is-home { background: #16a34a; }
.scores-match-stat-compare__fill.is-away { background: #f59e0b; }
.scores-match-topstats__row { padding: 12px 0; border-top: 1px solid #edf2ef; }
.scores-match-topstats__label,
.scores-match-stat-compare__label { font-weight: 900; color: #334155; }
.scores-match-stripe-item { padding: 13px 12px; border-top: 1px solid #edf2ef; }
.scores-match-stripe-item__pill { border-radius: 5px; background: #dcfce7; color: #166534; }
.scores-match-h2h-summary__item { border-radius: 10px; background: #fff; border: 1px solid #d4dfdb; border-left: 3px solid #16a34a; }
.scores-match-h2h-summary__value { font-size: 24px; font-weight: 900; }
.scores-match-h2h-board { border: 1px solid #d4dfdb; border-radius: 10px; overflow: hidden; background: #fff; }
.scores-match-h2h-list { gap: 0; }
.scores-match-h2h-item { padding: 0; border-radius: 0; background: #fff; border: 0; border-top: 1px solid #edf2ef; display: grid; gap: 0; }
.scores-match-h2h-item:first-child { border-top: 0; }
.scores-match-h2h-item__top { min-height: 32px; padding: 7px 11px; background: #f7faf8; border-bottom: 1px solid #edf2ef; }
.scores-match-h2h-item__comp { font-size: 11px; font-weight: 800; }
.scores-match-h2h-item__teams { display: grid; grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 11px; font-size: 13px; font-weight: 800; }
.scores-match-h2h-item__team { min-width: 0; overflow-wrap: anywhere; }
.scores-match-h2h-item__team.is-away { text-align: right; }
.scores-match-h2h-item__score { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; border-radius: 6px; background: #eef6f1; color: #166534; font-size: 18px; font-weight: 900; }
.scores-match-kqt-grid { display: grid; gap: 10px; }
.scores-match-kqt-layout { display: grid; gap: 12px; }
.scores-match-kqt-layout__main,
.scores-match-kqt-layout__aside { display: grid; gap: 12px; min-width: 0; }
.scores-match-kqt-layout__aside { align-content: start; }
.scores-match-kqt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.scores-match-kqt-actions .scores-match-button { min-height: 34px; padding: 0 12px; }
.scores-match-kqt-side-empty { padding: 20px 14px; border-radius: 10px; border: 1px dashed #cbd5e1; background: #f8fafc; color: #64748b; font-size: 12px; text-align: center; }
.scores-match-kqt-media { display: grid; gap: 10px; }
.scores-match-kqt-media__viewport { position: relative; overflow: hidden; border-radius: 10px; background: #08111f; }
.scores-match-kqt-media__viewport.is-animation { position: relative; height: 240px; }
.scores-match-kqt-media__viewport.is-animation.is-narrow { height: 208px; }
.scores-match-kqt-media__frame { display: block; width: 100%; min-height: 320px; border: 0; background: #08111f; }
.scores-match-kqt-media__frame.is-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 0; background: transparent; transform-origin: top left; }
.scores-match-kqt-media__frame.is-video { min-height: 420px; background: #08111f; }
.scores-match-kqt-media__video { display: block; width: 100%; min-height: 420px; background: #08111f; }
.scores-match-kqt-media__loading { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(8,17,31,.86), rgba(8,17,31,.68)); color: #e2e8f0; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.scores-match-kqt-media__loading::before { content: ''; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: #86efac; animation: scores-match-spin .9s linear infinite; }
.scores-match-kqt-media__viewport.is-ready .scores-match-kqt-media__loading { display: none; }
.scores-match-kqt-media__viewport > .scores-match-empty { display: flex; align-items: center; justify-content: center; min-height: inherit; height: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; color: #cbd5e1; }
.scores-match-kqt-anchor-list { display: grid; gap: 8px; }
.scores-match-kqt-anchor { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #edf2ef; }
.scores-match-kqt-anchor:first-child { border-top: 0; padding-top: 0; }
.scores-match-kqt-anchor__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.scores-match-kqt-anchor__name { min-width: 0; color: #0f172a; font-size: 13px; font-weight: 900; overflow-wrap: anywhere; }
.scores-match-kqt-anchor__meta { margin-top: 2px; color: #64748b; font-size: 11px; font-weight: 800; }
.scores-match-kqt-source-tabs { margin-top: 10px; }
.scores-match-kqt-rows { display: grid; gap: 8px; }
.scores-match-kqt-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid #edf2ef; }
.scores-match-kqt-row:first-child { border-top: 0; padding-top: 0; }
.scores-match-kqt-row__label { color: #64748b; font-size: 11px; font-weight: 800; }
.scores-match-kqt-row__value { color: #0f172a; font-size: 13px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.scores-match-kqt-stats { display: grid; gap: 8px; }
.scores-match-kqt-stat { display: grid; grid-template-columns: 48px minmax(0, 1fr) 92px minmax(0, 1fr) 48px; gap: 10px; align-items: center; }
.scores-match-kqt-stat__value { font-size: 13px; font-weight: 900; color: #0f172a; }
.scores-match-kqt-stat__value.is-away { text-align: right; }
.scores-match-kqt-stat__label { font-size: 12px; font-weight: 800; color: #334155; text-align: center; line-height: 1.3; }
.scores-match-kqt-stat__track { position: relative; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.scores-match-kqt-stat__fill { position: absolute; top: 0; bottom: 0; border-radius: inherit; }
.scores-match-kqt-stat__fill.is-home { right: 0; background: linear-gradient(90deg, #22c55e, #15803d); }
.scores-match-kqt-stat__fill.is-away { left: 0; background: linear-gradient(90deg, #f59e0b, #ea580c); }
.scores-match-kqt-timeline { display: grid; gap: 0; }
.scores-match-kqt-event { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0 0 12px; }
.scores-match-kqt-event::before { content: ''; position: absolute; left: 28px; top: 30px; bottom: -2px; width: 1px; background: #d7e6dd; }
.scores-match-kqt-event:last-child::before { display: none; }
.scores-match-kqt-event__time { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 900; }
.scores-match-kqt-event__body { position: relative; padding: 10px 12px; border: 1px solid #e2e8f0; border-left: 3px solid #38bdf8; border-radius: 8px; background: #fff; }
.scores-match-kqt-event__body::before { content: ''; position: absolute; left: -20px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.scores-match-kqt-event__label { color: #0f172a; font-size: 13px; font-weight: 900; }
.scores-match-kqt-event__text { margin-top: 4px; color: #475569; font-size: 12px; line-height: 1.45; }
.scores-match-kqt-lineup-grid { display: grid; gap: 12px; }
.scores-match-kqt-lineup-note { color: #64748b; font-size: 12px; line-height: 1.45; }
.scores-match-kqt-lineup-note strong { color: #0f172a; }
.scores-match-kqt-lineup-card { display: grid; gap: 12px; }
.scores-match-kqt-lineup-injuries { display: grid; gap: 8px; }
.scores-match-kqt-lineup-injury { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.scores-match-kqt-lineup-injury__badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fee2e2; color: #b91c1c; font-size: 12px; font-weight: 900; }
.scores-match-kqt-lineup-injury__name { color: #0f172a; font-size: 13px; font-weight: 800; }
.scores-match-kqt-lineup-injury__meta { margin-top: 2px; color: #64748b; font-size: 11px; line-height: 1.4; }
.scores-match-kqt-player-list { display: grid; gap: 8px; }
.scores-match-kqt-player-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.scores-match-kqt-player-main { min-width: 0; display: flex; align-items: center; gap: 10px; }
.scores-match-kqt-player-avatar { width: 34px; height: 34px; border-radius: 50%; background: #f8fafc; border: 1px solid #dbe3ee; object-fit: cover; flex: 0 0 auto; }
.scores-match-kqt-player-no { width: 28px; height: 28px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scores-match-kqt-player-name { color: #0f172a; font-size: 13px; font-weight: 800; line-height: 1.3; }
.scores-match-kqt-player-meta { margin-top: 2px; color: #64748b; font-size: 11px; line-height: 1.35; }
.scores-match-kqt-player-aside { display: grid; gap: 2px; text-align: right; }
.scores-match-kqt-player-value { color: #0f172a; font-size: 15px; font-weight: 900; }
.scores-match-kqt-player-label { color: #64748b; font-size: 11px; font-weight: 700; }
.scores-match-kqt-trend { display: grid; gap: 8px; }
.scores-match-kqt-trend__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 48px; gap: 10px; align-items: center; }
.scores-match-kqt-trend__label { color: #64748b; font-size: 11px; font-weight: 800; }
.scores-match-kqt-trend__track { position: relative; height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.scores-match-kqt-trend__fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #15803d); }
.scores-match-kqt-trend__value { color: #0f172a; font-size: 12px; font-weight: 800; text-align: right; }
.scores-match-kqt-rank { display: grid; gap: 8px; }
.scores-match-kqt-rank-item { display: grid; grid-template-columns: 26px 30px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #edf2ef; }
.scores-match-kqt-rank-item:first-child { border-top: 0; padding-top: 0; }
.scores-match-kqt-rank-item__pos { color: #166534; font-size: 14px; font-weight: 900; text-align: center; }
.scores-match-kqt-rank-item__logo { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; box-shadow: 0 0 0 1px #dce6e1; }
.scores-match-kqt-rank-item__team { min-width: 0; color: #0f172a; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.scores-match-kqt-rank-item__meta { color: #64748b; font-size: 11px; font-weight: 800; }
.scores-match-kqt-rank-item__points { color: #0f172a; font-size: 13px; font-weight: 900; }
.scores-match-kqt-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scores-match-kqt-period { padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.scores-match-kqt-period__label { color: #64748b; font-size: 11px; font-weight: 800; }
.scores-match-kqt-period__value { margin-top: 4px; color: #0f172a; font-size: 14px; font-weight: 900; }

.scores-match-shell[data-theme="dark"] .scores-match-masthead { background: #08111f; border-bottom-color: #22c55e; }
.scores-match-shell[data-theme="dark"] .scores-match-tabs,
.scores-match-shell[data-theme="dark"] .scores-match-shell__head { background: #0f172a; border-color: rgba(148,163,184,.14); }
.scores-match-shell[data-theme="dark"] .scores-match-back { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.16); color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-back:hover { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.28); color: #bbf7d0; }
.scores-match-shell[data-theme="dark"] .scores-match-shell__tools { background: #111827; border-color: rgba(148,163,184,.14); }
.scores-match-shell[data-theme="dark"] .scores-match-shell__body { background: #0b1220; }
.scores-match-shell[data-theme="dark"] .scores-match-card,
.scores-match-shell[data-theme="dark"] .scores-match-stats-block,
.scores-match-shell[data-theme="dark"] .scores-match-stripe-block,
.scores-match-shell[data-theme="dark"] .scores-match-lineup__side,
.scores-match-shell[data-theme="dark"] .scores-match-h2h-summary__item,
.scores-match-shell[data-theme="dark"] .scores-match-h2h-board,
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-card__head,
.scores-match-shell[data-theme="dark"] .scores-match-stats-block__head,
.scores-match-shell[data-theme="dark"] .scores-match-stripe-block__head { background: rgba(255,255,255,.03); border-color: rgba(148,163,184,.12); }
.scores-match-shell[data-theme="dark"] .scores-match-subtabs { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-subtab { background: transparent; border-right-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item { border-top-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item__top { background: rgba(255,255,255,.03); border-bottom-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-h2h-item__score { background: rgba(34,197,94,.12); color: #86efac; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-row { border-top-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-anchor { border-top-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-anchor__name { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-anchor__meta { color: #cbd5e1; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-row__label { color: #94a3b8; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-row__value,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-stat__value,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event__label,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-rank-item__team,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-rank-item__points,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-period__value { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-stat__label,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event__text,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-rank-item__meta,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-period__label { color: #cbd5e1; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-stat__track { background: rgba(148,163,184,.14); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event__body,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-period { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event::before { background: rgba(148,163,184,.18); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event__time { background: rgba(34,197,94,.16); color: #bbf7d0; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-event__body::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.12); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-note { color: #cbd5e1; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-note strong { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-injury { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-injury__badge { background: rgba(239,68,68,.18); color: #fecaca; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-injury__name { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-lineup-injury__meta { color: #cbd5e1; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-row { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-avatar { background: rgba(148,163,184,.12); border-color: rgba(148,163,184,.16); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-name,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-value,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-trend__value { color: #f8fafc; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-meta,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-player-label,
.scores-match-shell[data-theme="dark"] .scores-match-kqt-trend__label { color: #cbd5e1; }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-trend__track { background: rgba(148,163,184,.14); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-rank-item { border-top-color: rgba(148,163,184,.1); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-rank-item__logo { box-shadow: 0 0 0 1px rgba(148,163,184,.2); }
.scores-match-shell[data-theme="dark"] .scores-match-kqt-side-empty { background: rgba(148,163,184,.06); border-color: rgba(148,163,184,.18); color: #cbd5e1; }

.scores-match-shell--kqt {box-shadow: none; overflow: hidden; }
.scores-match-shell--kqt .scores-match-shell__head { padding: 0; margin-bottom:1rem}
.scores-match-shell--kqt .scores-match-shell__body { padding:0;}
.scores-match-shell--kqt .scores-match-shell__tools { margin: 0; padding: 9px 10px; background: #f8faf9; border-bottom: 1px solid #e6ecea; }
.scores-match-shell--kqt .scores-match-tabs { gap: 0; padding: 0; background: #fff; border-bottom: 1px solid #e6ecea; }
.scores-match-shell--kqt .scores-match-tab { min-height: 43px; border-radius: 0; padding: 0 14px; font-size: 12px; font-weight: 900; color: #334155; }
.scores-match-shell--kqt .scores-match-tab:hover { background: #eef6f1; color: #052e16; }
.scores-match-shell--kqt .scores-match-tab.is-active { background: #0b1f16; color: #fff; }
.scores-match-shell--kqt .scores-match-tab.is-active::after { left: 0; right: 0; bottom: 0; height: 3px; background: #22c55e; }
.scores-match-shell--kqt .scores-match-subtabs { gap: 0; padding-bottom: 0; margin-bottom: 10px; background: #fff; border: 1px solid #d4dfdb; overflow-x: auto;border-radius: 0.5rem;}
.scores-match-shell--kqt .scores-match-subtab { min-height: 38px; border: 0; border-right: 1px solid #e6ecea; border-radius: 0; background: #fff; font-weight: 900; }
.scores-match-shell--kqt .scores-match-subtab.is-active { background: #0b1f16; border-color: #0b1f16; color: #fff; }
.scores-match-shell--kqt .scores-match-card,
.scores-match-shell--kqt .scores-match-stats-block,
.scores-match-shell--kqt .scores-match-stripe-block {box-shadow: none;}
.scores-match-shell--kqt .scores-match-card__head,
.scores-match-shell--kqt .scores-match-stats-block__head,
.scores-match-shell--kqt .scores-match-stripe-block__head { min-height: 36px; padding: 10px 12px; background: #f7faf8; border-bottom: 1px solid #e2eae6; }
.scores-match-shell--kqt .scores-match-card__title,
.scores-match-shell--kqt .scores-match-stats-block__head,
.scores-match-shell--kqt .scores-match-stripe-block__head { font-weight: 900; letter-spacing: .06em; color: #0f172a; }
.scores-match-shell--kqt .scores-match-card__body,
.scores-match-shell--kqt .scores-match-stats-block__body { padding: 12px; }
.scores-match-shell--kqt .scores-match-empty { border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; }
.scores-match-shell--kqt[data-theme="dark"] { background: #0f172a; border-color: rgba(148,163,184,.16); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-shell__head,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-shell__tools,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-shell__body { background: #0f172a; border-color: rgba(148,163,184,.14); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-tabs { background: #0f172a; border-color: rgba(148,163,184,.14); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-tab { color: #cbd5e1; }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-tab:hover { background: rgba(34,197,94,.1); color: #fff; }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-tab.is-active { background: #dcfce7; color: #052e16; }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-subtabs { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-subtab { background: transparent; color: #cbd5e1; border-right-color: rgba(148,163,184,.1); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-subtab.is-active { background: #dcfce7; color: #052e16; }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-card,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-stats-block,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-stripe-block,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-empty { background: #111827; border-color: rgba(148,163,184,.16); }
.scores-match-shell--kqt[data-theme="dark"] .scores-match-card__head,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-stats-block__head,
.scores-match-shell--kqt[data-theme="dark"] .scores-match-stripe-block__head { background: rgba(255,255,255,.03); border-bottom-color: rgba(148,163,184,.12); color: #f8fafc; }

.scores-match-page-shell { max-width: 1180px; }
.scores-match-page-shell .scores-center-page-shell__hero { border-radius: 0; background: #08111f; border: 0; border-bottom: 3px solid #16a34a; }
.scores-match-page-shell .scores-match-shell { border: 0; border-radius: 0; box-shadow: none; }
.scores-match-page-shell .scores-match-shell__head { position: sticky; top: 0; z-index: 2; padding: 0; background: #fff; border: 1px solid #d8e1df; border-bottom: 0; border-radius: 10px 10px 0 0; backdrop-filter: none; overflow: hidden; }
.scores-match-page-shell .scores-match-shell__body { padding: 8px 0 14px; }
.scores-match-page-shell .scores-match-masthead { padding: 16px; }
.scores-match-page-shell .scores-match-masthead__board { grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); }
.scores-match-page-shell .scores-match-masthead__logo { width: 56px; height: 56px; }
.scores-match-page-shell .scores-match-masthead__team { grid-template-columns: 56px minmax(0, 1fr); }
.scores-match-page-shell .scores-match-masthead__team.is-away { grid-template-columns: minmax(0, 1fr) 56px; }
.scores-match-page-shell .scores-match-masthead__name { font-size: 18px; }
.scores-match-page-shell .scores-match-masthead__score-main { font-size: 44px; }
.scores-match-page-shell .scores-match-card__body { padding-top: 10px; padding-bottom: 10px; }
.scores-match-page-shell .scores-match-kqt-layout { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: start; }
.scores-match-page-shell .scores-match-kqt-layout__main { gap: 12px; }
.scores-match-page-shell .scores-match-kqt-layout__aside { gap: 12px; }
.scores-match-page-shell [data-scores-kqt-panel="page"] { display: grid; gap: 12px; }
.scores-match-page-shell [data-scores-kqt-media="page"] .scores-match-card { min-height: 100%; }

@media (max-width: 767px) {
    body.scores-center-page-active .scores-center-page-shell.scores-center-match-page-shell,
    .scores-center-page-shell.scores-center-match-page-shell,
    .scores-match-page-shell {
        width: 100%;
        margin: 0 auto 24px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .scores-center-page-shell.scores-center-match-page-shell,
    .scores-match-page-shell,
    .scores-match-shell,
    .scores-match-shell__head,
    .scores-match-shell__body,
    .scores-match-panel,
    .scores-match-lineup,
    .scores-match-lineup__side,
    .scores-match-lineup-board,
    .scores-match-lineup-bench,
    .scores-match-card,
    .scores-match-stats-block,
    .scores-match-stripe-block {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .scores-center-page-shell.scores-center-match-page-shell,
    .scores-match-page-shell,
    .scores-match-shell {
        overflow-x: hidden;
    }
    .scores-match-drawer__body,
    .scores-match-shell__body {
        padding-left: 8px;
        padding-right: 8px;
    }
    .scores-match-masthead__board,
    .scores-match-page-shell .scores-match-masthead__board { grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr); gap: 8px; align-items: start; }
    .scores-match-masthead__score { order: 0; min-width: 0; padding: 8px 4px; align-self: center; }
    .scores-match-masthead__score-main { font-size: 24px; white-space: nowrap; }
    .scores-match-masthead__score-sub { max-width: 70px; font-size: 10px; line-height: 1.15; text-align: center; }
    .scores-match-masthead__team,
    .scores-match-masthead__team.is-away,
    .scores-match-page-shell .scores-match-masthead__team,
    .scores-match-page-shell .scores-match-masthead__team.is-away { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 6px; }
    .scores-match-masthead__team.is-away .scores-match-masthead__logo,
    .scores-match-page-shell .scores-match-masthead__team.is-away .scores-match-masthead__logo { order: -1; }
    .scores-match-masthead__logo,
    .scores-match-page-shell .scores-match-masthead__logo { width: 38px; height: 38px; padding: 5px; }
    .scores-match-masthead__name { width: 100%; font-size: 12px; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
    .scores-match-masthead__top { align-items: flex-start; gap: 8px; }
    .scores-match-masthead .scores-match-back { min-height: 26px; padding: 0 9px; font-size: 11px; }
    .scores-match-stat-compare__row { grid-template-columns: 38px minmax(0, 1fr) 72px minmax(0, 1fr) 38px; gap: 7px; }
    .scores-match-lineup-bench { width: 100%; gap: 7px; }
    .scores-match-bench-player { width: 100%; max-width: 100%; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 9px 10px; overflow: hidden; }
    .scores-match-bench-player__media { width: 38px; height: 38px; min-width: 38px; }
    .scores-match-bench-player__media .scores-match-lineup-piece__avatar,
    .scores-match-bench-player__media .scores-match-lineup-piece__num { width: 34px; height: 34px; }
    .scores-match-bench-player__name { font-size: 13px; line-height: 1.25; }
    .scores-match-bench-player__meta { font-size: 11px; line-height: 1.25; }
    .scores-match-lineup-piece--bench { width: 100%; max-width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 9px; row-gap: 2px; align-items: center; padding: 9px 10px; overflow: hidden; }
    .scores-match-lineup-piece--bench .scores-match-player__left { display: contents; }
    .scores-match-lineup-piece--bench .scores-match-lineup-piece__avatar,
    .scores-match-lineup-piece--bench .scores-match-lineup-piece__num { grid-column: 1; grid-row: 1 / span 2; width: 34px; height: 34px; align-self: center; justify-self: center; }
    .scores-match-lineup-piece--bench .scores-match-lineup-piece__name { grid-column: 2; grid-row: 1; min-width: 0; max-width: 100%; font-size: 13px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    .scores-match-lineup-piece--bench .scores-match-lineup-piece__meta { grid-column: 2; grid-row: 2; min-width: 0; max-width: 100%; padding-left: 0; text-align: left; font-size: 11px; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    .scores-match-h2h-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .scores-match-h2h-summary__item { padding: 10px 6px; }
    .scores-match-h2h-summary__value { font-size: 20px; }
    .scores-match-h2h-summary__label { font-size: 11px; }
    .scores-match-h2h-item__teams { grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); gap: 6px; padding: 9px 8px; font-size: 12px; }
    .scores-match-h2h-item__score { min-height: 28px; font-size: 16px; }
    .scores-match-kqt-row { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
    .scores-match-kqt-media__viewport.is-animation { height: 200px; }
    .scores-match-kqt-media__viewport.is-animation.is-narrow { height: 208px; }
    .scores-match-kqt-media__frame { min-height: 220px; }
    .scores-match-kqt-media__frame.is-video,
    .scores-match-kqt-media__video { min-height: 240px; }
    .scores-match-kqt-anchor { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
    .scores-match-kqt-anchor__avatar { width: 36px; height: 36px; }
    .scores-match-kqt-stat { grid-template-columns: 40px minmax(0, 1fr) 72px minmax(0, 1fr) 40px; gap: 7px; }
    .scores-match-kqt-event { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
    .scores-match-kqt-rank-item { grid-template-columns: 24px 28px minmax(0, 1fr) auto; gap: 8px; }
    .scores-match-kqt-rank-item__meta { display: none; }
    .scores-match-kqt-periods { grid-template-columns: minmax(0, 1fr); }
    .scores-match-page-shell .scores-match-kqt-layout { grid-template-columns: minmax(0, 1fr); }
}
