.match-detail-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #e2e7ef;border-radius:10px;background:#eef2f7}
.match-detail-tab{border:0;border-radius:7px;background:transparent;color:#65758b;padding:12px 8px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;min-width:0}
.match-detail-tab[aria-selected=true]{background:#fff;color:#b43e71;box-shadow:0 1px 4px #27385512}
.match-detail-tab:focus-visible{outline:2px solid #c3457c;outline-offset:1px}
.match-record-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.match-segments{display:flex;gap:6px;flex-wrap:wrap}
.match-record-controls .button{font-size:12px;padding:9px 12px}
.match-tab-panel{min-width:0}
.match-ai-placeholder h3{font-size:16px;line-height:1.6;margin:24px 0 10px;word-break:keep-all;overflow-wrap:anywhere}
.match-ai-placeholder>p{font-size:14px;line-height:1.8;margin-bottom:6px;word-break:keep-all;overflow-wrap:anywhere}
.match-timeline-controls{display:flex;gap:16px;flex-wrap:wrap;align-items:end}
.match-time-checkpoints{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}
.match-time-checkpoints .button{font-size:12px;padding:8px 12px}
.match-time-checkpoints [aria-pressed=true]{background:#fff0f6;border-color:#d05289;color:#a82e65}
#match-timeline-slider{width:100%;accent-color:#be427c;margin:4px 0 14px}
.match-timeline-teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.match-time-team{border:1px solid #e2e7ef;border-radius:9px;padding:14px}
.match-time-team h3{font-size:14px;margin:0 0 8px}
.match-time-team dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:0}
.match-time-team dt{color:#6c7b90;font-size:11px}
.match-time-team dd{margin:3px 0 0;font-size:14px;font-weight:600}
.match-time-player{display:flex;align-items:center;gap:7px;white-space:nowrap}
.match-timeline-panel{min-width:0}
.match-time-objective-counts{border-top:1px solid var(--border,#e5d8df);padding-top:12px;margin-top:12px}
.match-objective-soul{display:inline-flex;margin:10px 8px 0 0;border-radius:999px;padding:4px 10px;background:#f7e5ef;color:#943459;font-size:12px;font-weight:700}
.match-objective-records{margin-top:28px;min-width:0}
.match-objective-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.match-objective-later{font-size:11px;color:var(--muted,#77616d);border:1px solid var(--border,#e5d8df);border-radius:999px;padding:2px 7px;white-space:nowrap}
.match-objective-future{color:var(--muted,#77616d)}
.match-objective-acquired td:first-child .text-button{color:#ad3970;font-weight:700}
.match-objective-player-caption,.match-time-scroll-hint{display:none}
.match-objective-player{display:flex;align-items:center;gap:7px;min-width:0}
@media(max-width:600px){.match-time-team{padding:10px}.match-time-team dl{grid-template-columns:1fr}.match-detail-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
html[data-theme="studio"] .match-detail-view .match-detail-header{padding:18px 20px}
html[data-theme="studio"] .match-detail-view .match-detail-header>p{margin:10px 0;font-size:12px}
html[data-theme="studio"] .match-detail-view .match-meta{margin-top:10px}
html[data-theme="studio"] .match-detail-view .match-meta>summary{padding:10px 12px;font-size:12px}
html[data-theme="studio"] .match-detail-view .match-team-comparison{padding:18px 20px}
html[data-theme="studio"] .match-detail-view .match-scoreboard{padding-bottom:12px}
html[data-theme="studio"] .match-detail-view .match-score-side h3{font-size:15px;margin:0 0 6px}
html[data-theme="studio"] .match-detail-view .match-score-side .match-team-total strong{font-size:32px}
html[data-theme="studio"] .match-detail-view .match-team-total strong{font-size:19px}
html[data-theme="studio"] .match-detail-view .match-team-metric{padding:11px 0;gap:6px}
html[data-theme="studio"] .match-detail-view .match-teams-grid{grid-template-rows:none;align-items:start;gap:16px}
html[data-theme="studio"] .match-detail-view .match-team-panel{display:block;grid-row:auto}
html[data-theme="studio"] .match-detail-view .match-team-panel>.panel-heading{padding:12px 14px}
html[data-theme="studio"] .match-detail-view .match-team-panel>.panel-heading h2{font-size:16px}
html[data-theme="studio"] .match-detail-view .match-player-lineup{display:block;grid-row:auto}
html[data-theme="studio"] .match-detail-view .match-player-card{grid-template-columns:minmax(0,1fr) auto;padding:12px 14px;gap:9px}
html[data-theme="studio"] .match-detail-view .match-player-link{flex-direction:row;align-items:center;gap:9px}
html[data-theme="studio"] .match-detail-view .match-player-name strong{font-size:14px}
html[data-theme="studio"] .match-detail-view .match-player-identity{gap:3px}
html[data-theme="studio"] .match-detail-view .match-player-kda{flex-direction:column;align-items:flex-end;text-align:right;gap:3px}
html[data-theme="studio"] .match-detail-view .match-player-kda strong{font-size:14px}
html[data-theme="studio"] .match-detail-view .match-player-stats{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:7px;gap:6px}
html[data-theme="studio"] .match-detail-view .match-player-stats dt{margin-bottom:2px}
html[data-theme="studio"] .match-detail-view .match-player-stats dd{font-size:12px}
html[data-theme="studio"] .match-detail-view .match-teams-grid.is-table{grid-template-columns:minmax(0,1fr)}
.match-selected-player{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0 10px}
.match-build-panel .field{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:100%;font-size:12px}
.match-build-panel select{max-width:100%;width:min(100%,460px)}
.match-build-field{min-width:0;margin-top:20px}
.match-build-field h3{font-size:13px;margin:0 0 10px;color:#60748f}
.match-build-panel .loadout-slots-item{grid-template-columns:repeat(7,minmax(0,1fr));max-width:720px}
.match-build-panel .loadout-slots-spell{grid-template-columns:repeat(2,minmax(0,1fr));max-width:360px}
.match-build-panel .loadout-slot{padding:8px;align-items:center;text-align:center}
.match-build-panel .loadout-label{flex-direction:column;gap:6px}
.match-build-panel .loadout-name{font-size:12px}
.match-runes{margin-top:22px;max-width:860px;border-top:1px solid #e3e9f1}
.match-rune-row{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5}
.match-rune-heading{min-width:0}.match-rune-heading h3{margin:0;font-size:12px;color:#60748f;word-break:keep-all}
.match-rune-heading>.loadout-label{flex-direction:row;gap:5px;margin-top:7px}
.match-rune-heading .loadout-icon{width:20px;height:20px;flex-basis:20px}
.match-rune-heading .loadout-name{font-size:11px}
.match-rune-slots{display:grid;grid-template-columns:repeat(var(--rune-count),minmax(0,170px));align-items:center;gap:12px;list-style:none;padding:0;margin:0;min-width:0}
.match-rune-slot{display:flex;flex-direction:column;gap:4px;min-width:0}
.match-rune-slot>.loadout-label{flex-direction:row;gap:8px;text-align:left}
.match-rune-caption{font-size:10px;color:#7a8b9f}
.match-history-controls,.match-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.match-history-controls{margin-bottom:18px}
html[data-theme="studio"] .match-history-controls .match-list-search{margin:0}
.match-history-controls .field{display:flex;align-items:center;gap:8px;font-size:12px}
.match-history-controls select{font-size:12px;min-width:96px}
.match-pagination{margin-top:18px;font-size:12px;color:#64768f}
.match-pagination-actions{display:flex;align-items:center;gap:10px}
.match-pagination .button{font-size:12px;padding:9px 13px}
.match-pick-team{margin-top:18px}
.match-pick-team h3{font-size:13px;color:#64768f}
.match-picks{display:flex;flex-wrap:wrap;gap:10px}
.match-pick{display:flex;align-items:center;gap:7px;border:1px solid #e4e9f1;border-radius:7px;background:#fafbfd;padding:9px;font:inherit;font-size:12px;color:#425774;cursor:pointer}
.match-pick .position-label{font-size:10px}
@media(max-width:720px){
  .match-timeline-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .match-timeline-controls .field{display:grid;gap:6px;min-width:0}
  .match-timeline-controls select{width:100%;min-width:0;max-width:100%}
  #match-timeline-slider,.gold-gap-time-control input{min-height:44px}
  .match-time-scroll-hint{display:block;margin:0 0 8px}
  html[data-theme="studio"] .match-time-table :is(th,td):first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:2px 0 0 #e5eaf2}
  html[data-theme="studio"] .match-time-table th:first-child{background:#f6f8fc;z-index:2}
  .match-time-table:focus-visible{outline:2px solid #c3457c;outline-offset:3px}
  html[data-theme="studio"] .match-objective-table{overflow:visible}
  html[data-theme="studio"] .match-objective-table table{display:block;width:100%;min-width:0}
  .match-objective-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .match-objective-table tbody{display:grid;gap:10px}
  .match-objective-table tr{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:2px 8px;border:1px solid #e2e7ef;border-radius:10px;padding:8px 10px;background:#fff}
  html[data-theme="studio"] .match-objective-table td{display:flex;align-items:center;min-width:0;border:0;padding:0;font-size:13px;white-space:normal}
  .match-objective-table td:first-child{grid-column:1;grid-row:1 / 3;align-self:start;font-variant-numeric:tabular-nums}
  .match-objective-table td:nth-child(2){grid-column:2;grid-row:1}
  html[data-theme="studio"] .match-objective-table td:nth-child(3){grid-column:3;grid-row:1;font-size:12px;white-space:nowrap}
  .match-objective-table td:last-child{grid-column:2 / 4;grid-row:2;gap:7px}
  .match-objective-player-caption{display:inline;font-size:11px;color:#6c7b90;white-space:nowrap}
  .match-objective-table .match-time-player{min-width:0;white-space:normal;text-align:left;overflow-wrap:anywhere}
  .match-objective-table .match-time-player>.champion-image{flex-shrink:0}
  .match-objective-table .match-objective-label{gap:4px;font-weight:600;overflow-wrap:anywhere}
  .match-objective-table .match-objective-future{background:#fafbfd}
  .match-objective-table button[aria-pressed=true]{border-radius:6px;background:#f7e5ef;outline:2px solid #c3457c;outline-offset:2px}
  .match-detail-tab{font-size:12px;padding:11px 3px;white-space:nowrap}
  html[data-theme="studio"] .match-detail-view .match-detail-header{padding:14px}
  html[data-theme="studio"] .match-detail-view .match-detail-heading{gap:10px}
  html[data-theme="studio"] .match-detail-view .match-detail-heading h2{font-size:19px}
  html[data-theme="studio"] .match-detail-view .match-team-comparison{padding:14px}
  html[data-theme="studio"] .match-detail-view .match-teams-grid{grid-template-columns:minmax(0,1fr)}
  html[data-theme="studio"] .match-detail-view .match-player-card{padding:10px;gap:7px}
  html[data-theme="studio"] .match-detail-view .match-player-name strong{font-size:13px}
  html[data-theme="studio"] .match-detail-view .match-player-kda strong{font-size:13px}
  html[data-theme="studio"] .match-detail-view .match-player-name small{font-size:10px}
  html[data-theme="studio"] .match-detail-view .match-player-link>.champion-image{width:34px;height:34px;flex-basis:34px}
  .match-record-controls{gap:8px}
  .match-record-controls .button{padding:8px 11px;font-size:11px}
  .match-build-panel .loadout-slots-item{grid-template-columns:repeat(4,minmax(0,1fr))}
  .match-build-panel .loadout-slot{padding:7px 4px}
  .match-build-panel .loadout-name{font-size:11px}
  .match-build-panel .loadout-slot-caption{font-size:9px}
  .match-rune-row{grid-template-columns:60px minmax(0,1fr);gap:8px;padding:12px 0}
  .match-rune-heading>.loadout-label{gap:4px}
  .match-rune-heading .loadout-icon{width:17px;height:17px;flex-basis:17px}
  .match-rune-heading .loadout-name{font-size:10px}
  .match-rune-slots{gap:6px;align-items:start}
  .match-rune-slot{align-items:center;text-align:center}
  .match-rune-slot>.loadout-label{flex-direction:column;gap:5px;text-align:center}
  .match-rune-slot .loadout-name{font-size:10px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
  .match-rune-slot .loadout-icon{width:28px;height:28px;flex-basis:28px}
  .match-history-controls{gap:12px}
  .match-history-controls .field{margin-left:auto}
}
