
#fight-report{--bg:light-dark(#f4f6f9,#10151e);--paper:light-dark(#fff,#19212d);--ink:light-dark(#172333,#edf2fa);--sub:light-dark(#526174,#adbbcd);--line:light-dark(#dce3ed,#354154);--b:light-dark(#185cce,#81b0ff);--r:light-dark(#b52d44,#ff91a1);font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg);border-radius:16px;padding:28px;font-size:14px;line-height:1.5}#fight-report *{box-sizing:border-box}#fight-report header,#fight-report .search,#fight-report .tabs{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#fight-report header{justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px}#fight-report .brand{font-weight:700;letter-spacing:2px}#fight-report .muted{color:var(--sub)}#fight-report .small{font-size:12px}#fight-report h2{font-size:22px;margin:0 0 4px}#fight-report h3{font-size:15px;margin:0 0 18px}#fight-report button,#fight-report input{font:inherit;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:10px 14px;min-height:44px}#fight-report input{width:100px}#fight-report .primary{background:var(--ink);color:var(--paper);border-color:var(--ink)}#fight-report .intro{margin:24px 0 18px}#fight-report .panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:22px}#fight-report .scoreboard{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center}#fight-report .blue{color:var(--b)}#fight-report .red{color:var(--r)}#fight-report .right{text-align:right}#fight-report .name{font-size:22px;font-weight:650}#fight-report .score{font-size:44px;font-weight:700;letter-spacing:4px;text-align:center;line-height:1.2}#fight-report .roundscores{display:flex;justify-content:center;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);flex-wrap:wrap}#fight-report .tabs{margin:22px 0 14px}#fight-report button[aria-pressed=true]{background:var(--ink);color:var(--paper)}#fight-report .columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}#fight-report .stat{display:grid;grid-template-columns:36px 1fr 36px;gap:10px;align-items:center;margin:14px 0;text-align:center}#fight-report .bar{display:flex;height:7px;gap:4px;margin-top:6px}#fight-report .bar span:first-child{background:var(--b);border-radius:3px}#fight-report .bar span:last-child{background:var(--r);border-radius:3px}#fight-report .event{display:grid;grid-template-columns:52px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}#fight-report .event:last-child{border:0}#fight-report .tag{font-size:12px;display:inline-block;padding:3px 8px;background:var(--bg);border-radius:5px}#fight-report .error{color:var(--r);margin:10px 0}#fight-report [hidden]{display:none!important}@media(max-width:600px){#fight-report{padding:16px}#fight-report .columns{grid-template-columns:1fr}#fight-report .panel{padding:16px}#fight-report .scoreboard{gap:8px}#fight-report .name{font-size:16px}#fight-report .score{font-size:32px}#fight-report .small{font-size:12px}#fight-report .search{width:100%}}
#fight-report .efficiency{margin:0 0 16px}#fight-report .eff-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}#fight-report .eff-value{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums}#fight-report .eff-track{height:8px;border-radius:4px;background:var(--bg);margin:8px 0}#fight-report .eff-fill{height:100%;border-radius:4px}#fight-report .eff-detail{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px}@media(max-width:430px){#fight-report .eff-grid{grid-template-columns:1fr}}
#fight-report .eff-target{margin-top:18px}#fight-report .eff-target + .eff-target{padding-top:14px;border-top:1px solid var(--line)}#fight-report .eff-detail{align-items:center}
#fight-report .round-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#fight-report .round-picker button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:20px;padding:12px 8px;min-width:0;font-variant-numeric:tabular-nums}#fight-report .round-picker strong{font-size:22px;font-weight:650}#fight-report .round-caption{font-size:11px;opacity:.8}#fight-report .round-picker button[aria-pressed=true]{box-shadow:0 3px 8px color-mix(in srgb,var(--ink) 15%,transparent)}@media(max-width:430px){#fight-report .round-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
#fight-report .round-picker{grid-auto-rows:1fr}#fight-report .round-picker button{height:100%;min-height:100px}
#fight-report #fight-efficiency{display:block;margin-top:16px}#fight-report .eff-compare-header,#fight-report .eff-compare-row{display:grid;grid-template-columns:55px minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:center}#fight-report .eff-compare-header{font-size:12px;text-align:center;padding-bottom:4px}#fight-report .eff-compare-row{padding:12px 0;border-bottom:1px solid var(--line)}#fight-report .eff-compare-row>div{text-align:center;min-width:0}#fight-report .eff-compare-row .eff-value{font-size:24px}#fight-report .eff-key{margin-top:10px;text-align:right}
#fight-report .win-reason{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:10px;font-size:11px;color:var(--sub)}#fight-report .win-reason strong{display:inline-block;padding:2px 9px;border-radius:20px;background:var(--bg);color:var(--ink);font-size:12px;font-weight:650}
#fight-report .match-picker{margin-top:16px;border-bottom:1px solid var(--line);padding-bottom:14px}#fight-report .match-picker summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px;list-style:none}#fight-report .picker-context{font-weight:500}#fight-report .picker-change{font-size:12px;color:var(--b)}#fight-report .match-picker[open] .picker-change{display:none}#fight-report .picker-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}#fight-report select{font:inherit;font-size:16px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:10px;min-height:44px;width:100%;min-width:0}#fight-report .picker-fields label,#fight-report .match-browser label{display:flex;flex-direction:column;gap:6px;min-width:0}#fight-report .picker-hint{margin-top:10px}#fight-report .match-browser{display:flex;align-items:end;gap:10px;margin-top:16px}#fight-report .match-browser label{flex:1}@media(max-width:430px){#fight-report .picker-fields{grid-template-columns:1fr}#fight-report .match-browser{flex-direction:column;align-items:stretch}}

:root{color-scheme:light dark}body{margin:0;background:light-dark(#f4f6f9,#10151e)}#fight-report{max-width:1100px;margin:auto;border-radius:0}#fight-report .status{padding:16px 0}#fight-report .unavailable{color:var(--sub);padding:12px 0}#fight-report .event{font-variant-numeric:tabular-nums}#fight-report .event span{overflow-wrap:anywhere}#fight-report .round-picker{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}#fight-report button:disabled{opacity:.5}#fight-report select,#fight-report button{font-size:16px}
#fight-report .status:empty{display:none}

/* Keep the approved card proportions and avoid stretching Summary to the event log. */
#fight-report .columns{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#fight-report .panel{min-width:0}
#fight-report .scoreboard{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
#fight-report .name,#fight-report .scoreboard .small{overflow-wrap:anywhere}
#fight-report .event{grid-template-columns:66px minmax(0,1fr) auto;gap:10px}
#fight-report .event-clock{white-space:nowrap;overflow-wrap:normal}
#fight-report .round-picker{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:600px){#fight-report .columns{grid-template-columns:1fr}}
@media(max-width:430px){#fight-report .round-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}

#fight-report .summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}#fight-report .summary-heading h3{margin:0}#fight-report .summary-tabs{display:flex;gap:4px}#fight-report .summary-tabs button{padding:6px 12px;border-radius:20px;font-size:14px;min-height:36px}@media(pointer:coarse){#fight-report .summary-tabs button{min-height:44px}}

#fight-report .summary-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}#fight-report .summary-tabs button{display:flex;align-items:center;justify-content:center;border-radius:20px;padding:12px 8px;min-height:100px;height:100%;font-size:16px}#fight-report .summary-tabs button[aria-pressed=true]{box-shadow:0 3px 8px color-mix(in srgb,var(--ink) 15%,transparent)}

/* Native buttons retain keyboard focus and expose generous touch targets. */
#fight-report button,#fight-report select,#fight-report .match-picker summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#fight-report button{user-select:none;-webkit-user-select:none}
#fight-report button:active:not(:disabled){filter:brightness(.92)}
#fight-report button:focus-visible,#fight-report select:focus-visible,#fight-report summary:focus-visible{outline:3px solid var(--b);outline-offset:3px}
@media(pointer:coarse){
 #fight-report button,#fight-report select,#fight-report .match-picker summary{min-height:48px}
 #fight-report .round-picker,#fight-report .summary-tabs{gap:12px}
 #fight-report .round-picker button,#fight-report .summary-tabs button{min-height:100px}
}

/* Match selectors use the same rounded surfaces as the round controls. */
#fight-report .match-picker{border:0;padding:0;margin-top:18px}
#fight-report .match-picker summary{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:16px 18px;min-height:64px;list-style:none;user-select:none;-webkit-user-select:none}
#fight-report .match-picker summary::-webkit-details-marker{display:none}
#fight-report .match-picker summary:active{background:var(--bg)}
#fight-report #picker-context{min-width:0;overflow-wrap:anywhere}
#fight-report .picker-change{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:14px}
#fight-report .picker-change::after{content:'⌄';font-size:20px}
#fight-report .match-picker[open] .picker-change{display:flex}
#fight-report .match-picker[open] .picker-change::after{content:'⌃'}
#fight-report .picker-fields{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px;margin-top:10px;gap:16px}
#fight-report .picker-fields label,#fight-report .match-browser label{gap:8px;color:var(--sub);font-size:13px}
#fight-report select{border-radius:20px;min-height:60px;padding:16px;color:var(--ink);font-size:16px;box-shadow:0 2px 5px color-mix(in srgb,var(--ink) 4%,transparent);touch-action:manipulation}
#fight-report select:disabled{opacity:.6}
#fight-report .match-browser{margin-top:18px}
#fight-report .match-browser label{width:100%}
@media(max-width:600px){#fight-report .picker-fields{grid-template-columns:1fr;padding:16px}#fight-report .match-picker summary{padding:16px;gap:10px}}

/* Divide the entire row among the rounds that actually exist. */
#fight-report .round-picker{display:flex;flex-wrap:wrap;align-items:stretch}
#fight-report .round-picker button{flex:1 1 110px;height:auto}
@media(max-width:430px){#fight-report .round-picker button{flex-basis:calc(50% - 12px)}}
#fight-report .point-bar{height:32px;align-items:center;margin-top:0;gap:4px}
#fight-report .point-bar .point-segment{min-height:32px;padding:0;border:0;background:transparent;display:flex;align-items:center;border-radius:0;gap:0;overflow:visible;color:var(--b)}
#fight-report .point-bar .point-segment.red{color:var(--r)}
#fight-report .point-bar .point-segment>span{height:7px;background:currentColor;border-radius:3px;flex-shrink:0}
#fight-report .point-bar .point-segment>.point-bonus{background:repeating-linear-gradient(135deg,currentColor 0 3px,var(--paper) 3px 5px);border-radius:0 3px 3px 0}
#fight-report .point-detail:empty{display:none}
#fight-report .bonus-swatch{display:inline-block;width:20px;height:7px;background:repeating-linear-gradient(135deg,var(--sub) 0 3px,var(--paper) 3px 5px)}
@media(pointer:coarse){#fight-report .point-bar{height:44px}#fight-report .point-bar .point-segment{min-height:44px}}

/* One quiet disclosure surface; its content unfolds beneath the context row. */
#fight-report .match-picker{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-top:22px}
#fight-report .match-picker summary{border:0;border-radius:0;background:transparent;min-height:64px;padding:18px 22px;gap:18px}
#fight-report .match-picker summary:active{background:color-mix(in srgb,var(--bg) 60%,var(--paper))}
#fight-report .picker-chevron{width:10px;height:10px;border-right:2px solid var(--sub);border-bottom:2px solid var(--sub);transform:rotate(45deg);transition:transform 220ms ease;flex-shrink:0;margin:0 4px 5px 0}
#fight-report .match-picker[open] .picker-chevron{transform:rotate(225deg);margin-bottom:0}
#fight-report .picker-fields{border:0;border-radius:0;box-shadow:none;margin:0;padding:4px 22px 22px;gap:20px;background:transparent}
#fight-report .match-picker[open] .picker-fields{animation:picker-unfold 220ms ease-out}
#fight-report select{appearance:none;-webkit-appearance:none;border-radius:14px;min-height:58px;padding:16px 48px 16px 18px;box-shadow:none;background-color:var(--paper);background-image:linear-gradient(45deg,transparent 50%,var(--sub) 50%),linear-gradient(135deg,var(--sub) 50%,transparent 50%);background-position:calc(100% - 23px) 50%,calc(100% - 18px) 50%;background-size:5px 5px;background-repeat:no-repeat}
#fight-report .picker-fields select{background-color:var(--bg)}
#fight-report .match-browser{margin-top:24px}
#fight-report .intro{margin-top:30px}
@keyframes picker-unfold{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@supports(interpolate-size:allow-keywords){
 #fight-report .match-picker{interpolate-size:allow-keywords}
 #fight-report .match-picker::details-content{height:0;overflow:clip;transition:height 240ms ease,content-visibility 240ms allow-discrete}
 #fight-report .match-picker[open]::details-content{height:auto}
}
@media(max-width:600px){#fight-report .match-picker summary{padding:18px}#fight-report .picker-fields{padding:4px 18px 18px;gap:18px}}
@media(prefers-reduced-motion:reduce){#fight-report .picker-chevron,#fight-report .match-picker::details-content{transition:none}#fight-report .match-picker[open] .picker-fields{animation:none}}
#fight-report .screen-reader-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#fight-report .match-browser select{font-size:20px;font-weight:600;min-height:72px;letter-spacing:-.2px}
#fight-report .intro{margin:12px 0 20px}
@media(max-width:430px){#fight-report .match-browser select{font-size:16px;min-height:64px}}

/* The result card itself is the match selector. */
#fight-report .match-card-picker{margin-top:24px}
#fight-report .match-card-picker>summary{position:relative;list-style:none;touch-action:manipulation;min-height:64px}
#fight-report .match-card-picker>summary::-webkit-details-marker{display:none}
#fight-report .match-card-surface{display:block;padding-top:36px}
#fight-report .match-card-surface .scoreboard{display:grid}
#fight-report .match-card-surface .scoreboard>span>span{display:block}
#fight-report .match-card-surface .score>span{display:block}
#fight-report #match-placeholder{display:block;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:22px}
#fight-report .match-card-chevron{position:absolute;top:16px;right:20px;width:9px;height:9px;border-right:2px solid var(--sub);border-bottom:2px solid var(--sub);transform:rotate(45deg);transition:transform 200ms}
#fight-report .match-card-picker[open] .match-card-chevron{transform:rotate(225deg)}
#fight-report .match-options{padding-top:12px}
#fight-report .match-options label{display:block;width:100%}
#fight-report .intro{margin:14px 0 18px}
#fight-report .match-card-picker>summary:active .match-card-surface{background:color-mix(in srgb,var(--paper) 90%,var(--bg))}
@media(prefers-reduced-motion:reduce){#fight-report .match-card-chevron{transition:none}}

#fight-report .match-card-surface{padding-top:54px;transition:border-color 180ms ease,box-shadow 180ms ease,background-color 180ms ease}
#fight-report .match-card-action{position:absolute;top:16px;right:20px;display:flex;align-items:center;gap:10px;color:var(--sub);font-size:12px;font-weight:400;pointer-events:none}
#fight-report .match-card-action .match-card-chevron{position:static;display:block;width:8px;height:8px;margin-top:-4px;border-color:currentColor}
#fight-report .match-card-picker[open] .match-card-action{color:var(--b)}
#fight-report .match-card-picker>summary:focus-visible{outline:3px solid var(--b);outline-offset:4px;border-radius:14px}
@media(hover:hover){#fight-report .match-card-picker>summary{cursor:pointer}#fight-report .match-card-picker>summary:hover .match-card-surface{border-color:color-mix(in srgb,var(--b) 35%,var(--line));box-shadow:0 4px 16px color-mix(in srgb,var(--ink) 5%,transparent)}#fight-report .match-card-picker>summary:hover .match-card-action{color:var(--b)}}
#fight-report .match-card-picker>summary:active .match-card-surface{border-color:var(--b);background:color-mix(in srgb,var(--paper) 95%,var(--b))}
@media(prefers-reduced-motion:reduce){#fight-report .match-card-surface{transition:none}}

#fight-report .match-card-surface{padding-top:22px;padding-bottom:58px}
#fight-report .match-card-action{top:auto;bottom:0;left:0;right:0;width:100%;height:36px;justify-content:center;border-top:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:0 0 12px 12px;background:color-mix(in srgb,var(--bg) 30%,var(--paper));color:var(--sub)}
#fight-report .match-card-action .match-card-chevron{margin-top:-4px}
#fight-report .match-card-picker[open] .match-card-action .match-card-chevron{margin-top:4px}

#fight-report .match-options{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:16px 4px 12px;scroll-padding-inline:4px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#fight-report .match-option-card{flex:0 0 clamp(220px,65vw,280px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;text-align:left;min-height:144px;padding:18px;border-radius:16px;scroll-snap-align:start;white-space:normal;box-shadow:none}
#fight-report .match-option-card[aria-pressed=true]{background:var(--paper);color:var(--ink);border-color:var(--b);box-shadow:inset 0 0 0 1px var(--b)}
#fight-report .match-option-blue{color:var(--b);font-weight:600;overflow-wrap:anywhere}
#fight-report .match-option-red{color:var(--r);font-weight:600;overflow-wrap:anywhere}
@media(hover:hover){#fight-report .match-option-card:hover{border-color:var(--b)}}

#fight-report .match-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
#fight-report .match-carousel .match-options{min-width:0;touch-action:pan-x pan-y;scrollbar-width:thin}
#fight-report .carousel-arrow{display:flex;align-items:center;justify-content:center;width:44px;min-height:48px;padding:0;border-radius:14px;font-size:28px;background:var(--paper);color:var(--sub)}
#fight-report .carousel-arrow:disabled{opacity:.25}
#fight-report .match-card-picker>summary{touch-action:pan-y;user-select:none;-webkit-user-select:none}
@media(hover:hover){#fight-report .carousel-arrow:not(:disabled):hover{color:var(--b);border-color:var(--b)}}

#fight-report .match-card-surface{padding:22px}

/* Swap result and carousel in one slot, with shared narrow side rails. */
#fight-report .match-card-picker{position:relative;min-height:200px;margin-top:24px}
#fight-report .match-card-trigger{display:block;width:100%;padding:0;border:0;border-radius:12px;background:transparent;text-align:inherit;color:var(--ink);touch-action:pan-y;user-select:none;-webkit-user-select:none}
#fight-report .match-card-trigger .match-card-surface{min-height:200px;padding:24px 48px;display:flex;align-items:center;justify-content:center}
#fight-report .match-card-trigger .scoreboard{width:100%;min-width:0}
#fight-report .match-card-picker .match-carousel{display:block;min-height:200px;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:0 42px}
#fight-report .match-card-picker .match-options{min-height:198px;align-items:center;padding:12px 4px}
#fight-report .match-card-picker>.carousel-arrow{position:absolute;top:1px;bottom:1px;width:36px;height:auto;z-index:2;border:0;border-radius:0;padding:0;background:transparent;color:var(--sub);font-size:26px}
#fight-report #matches-prev{left:1px;border-radius:11px 0 0 11px}
#fight-report #matches-next{right:1px;border-radius:0 11px 11px 0}
#fight-report .match-card-picker>.carousel-arrow::before{content:'';position:absolute;inset:0;background:color-mix(in srgb,var(--bg) 60%,transparent);z-index:-1}
#fight-report .match-card-trigger:focus-visible{outline:3px solid var(--b);outline-offset:3px}
@media(hover:hover){#fight-report .match-card-trigger{cursor:pointer}#fight-report .match-card-trigger:hover .match-card-surface{border-color:color-mix(in srgb,var(--b) 35%,var(--line))}}
@media(pointer:coarse){#fight-report .match-card-picker>.carousel-arrow{width:44px}#fight-report .match-card-picker>.carousel-arrow::before{inset:0 6px}}
@media(max-width:430px){#fight-report .match-card-trigger .match-card-surface{padding:20px 44px}#fight-report .match-card-picker .match-option-card{flex-basis:100%;min-width:0}}

#fight-report .match-card-trigger .match-card-surface{border:1px solid var(--line);border-radius:16px;min-height:190px;padding:28px 48px}
#fight-report .match-card-surface .scoreboard{grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);align-items:center;gap:20px}
#fight-report .match-card-surface .scoreboard>span:nth-child(2){align-self:center;text-align:center}
#fight-report #result{display:flex;justify-content:center;align-items:center;gap:10px;letter-spacing:0;font-variant-numeric:tabular-nums}
#fight-report #result>span{display:inline}
#fight-report .score-colon{color:var(--sub);font-weight:400}
#fight-report .winning-score{color:var(--winner-color)}
#fight-report #match-card[data-winner=blue]{--winner-color:var(--b);background:linear-gradient(90deg,color-mix(in srgb,var(--b) 4%,var(--paper)),var(--paper) 45%)}
#fight-report #match-card[data-winner=red]{--winner-color:var(--r);background:linear-gradient(270deg,color-mix(in srgb,var(--r) 4%,var(--paper)),var(--paper) 45%)}
#fight-report #match-card[data-winner=blue] #blue-name,#fight-report #match-card[data-winner=red] #red-name{color:var(--winner-color)}
#fight-report .match-card-surface .win-reason{margin-top:12px}
#fight-report .match-option-top{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-bottom:6px}
#fight-report .match-option-score{font-size:20px;font-variant-numeric:tabular-nums;color:var(--ink)}
@media(max-width:600px){#fight-report .match-card-surface .scoreboard{grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:10px}#fight-report #result{gap:6px}#fight-report .match-card-trigger .match-card-surface{padding:24px 44px}}

#fight-report .match-option-number{margin-bottom:8px}
#fight-report .match-option-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:16px;width:100%}
#fight-report .match-option-row>span{min-width:0;overflow-wrap:anywhere}
#fight-report .match-option-row .match-option-score{text-align:center;color:inherit;font-size:24px;font-weight:500}
#fight-report .match-option-row .mini-winning-score{font-weight:700;background:color-mix(in srgb,currentColor 8%,var(--paper));border-radius:8px;padding:2px 0}

/* Keep both athletes balanced; the small badge carries winner emphasis. */
#fight-report #match-card[data-winner=blue],#fight-report #match-card[data-winner=red]{background:var(--paper)}
#fight-report #match-card[data-winner=blue] #blue-name,#fight-report #match-card[data-winner=red] #red-name,#fight-report .winning-score{color:var(--ink)}
#fight-report .match-card-surface #blue-label,#fight-report .match-card-surface #red-label{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:20px;margin-bottom:4px;font-size:12px;font-weight:500;letter-spacing:.2px}
#fight-report #blue-label.winner-badge{background:color-mix(in srgb,var(--b) 9%,var(--paper));color:var(--b)}
#fight-report #red-label.winner-badge{background:color-mix(in srgb,var(--r) 9%,var(--paper));color:var(--r)}

/* Original compact, neutral result card with balanced athlete columns. */
#fight-report .match-card-picker{min-height:160px}
#fight-report .match-card-trigger .match-card-surface{min-height:160px;padding:24px 48px;background:var(--paper);box-shadow:none}
#fight-report .match-card-surface .scoreboard{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);gap:18px;align-items:center}
#fight-report .match-card-surface .name{font-size:22px;font-weight:650;color:var(--ink)}
#fight-report #result{font-size:44px;font-weight:700;color:var(--ink)}
#fight-report .match-card-surface .win-reason{margin-top:10px}
#fight-report .match-card-picker .match-carousel{min-height:160px}
#fight-report .match-card-picker .match-options{min-height:158px}
@media(max-width:600px){#fight-report .match-card-trigger .match-card-surface{padding:20px 44px}#fight-report .match-card-surface .scoreboard{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:8px}#fight-report .match-card-surface .name{font-size:16px}#fight-report #result{font-size:32px}#fight-report .match-card-surface #blue-label,#fight-report .match-card-surface #red-label{font-size:11px;padding:4px 7px;letter-spacing:0}}

#fight-report .match-card-trigger .match-card-surface{flex-direction:column;align-items:stretch;gap:16px}
#fight-report .match-card-meta{display:block;text-align:left;letter-spacing:.2px;overflow-wrap:anywhere}

#fight-report .match-card-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;letter-spacing:0}
#fight-report .match-number{font-size:22px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums}
#fight-report .match-context{font-size:13px;color:var(--sub)}
#fight-report .match-card-trigger .match-card-surface{gap:18px;padding-top:22px;padding-bottom:22px}
#fight-report #result{font-size:40px}
#fight-report .match-card-surface .name{font-size:20px}
@media(max-width:600px){#fight-report .match-number{font-size:19px}#fight-report .match-context{font-size:12px}#fight-report .match-card-meta{gap:8px 12px}#fight-report #result{font-size:30px}#fight-report .match-card-surface .name{font-size:16px}}

#fight-report .athlete-country{display:inline-block;margin-inline-start:7px;color:var(--sub);font-size:11px;font-weight:400;letter-spacing:.3px;white-space:nowrap;vertical-align:baseline}
#fight-report .event-level{display:inline-flex;align-items:center;gap:4px;margin:6px 8px 0 0;padding:2px 6px;border-radius:5px;background:var(--bg);color:var(--sub);font-size:12px;white-space:nowrap}
#fight-report .event-level:first-of-type{clear:both}
#fight-report .event-level strong{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums}

#fight-report .setup-disclosure{margin:0 0 16px;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}
#fight-report .setup-disclosure summary{display:flex;align-items:center;gap:18px;min-height:64px;padding:16px 20px;list-style:none;touch-action:manipulation}
#fight-report .setup-disclosure summary::-webkit-details-marker{display:none}
#fight-report .setup-heading{font-weight:500;white-space:nowrap}
#fight-report .setup-preview{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--sub);font-size:13px;flex:1}
#fight-report .setup-preview strong{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums;margin-left:4px}
#fight-report .setup-chevron{flex-shrink:0;width:8px;height:8px;border-right:2px solid var(--sub);border-bottom:2px solid var(--sub);transform:rotate(45deg);transition:transform 180ms}
#fight-report .setup-disclosure[open] .setup-chevron{transform:rotate(225deg)}
#fight-report .setup-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px 24px;margin:0;padding:4px 20px 20px}
#fight-report .setup-fields dt{color:var(--sub);font-size:12px;margin-bottom:4px}
#fight-report .setup-fields dd{margin:0;font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:430px){#fight-report .setup-disclosure summary{padding:16px;gap:12px;flex-wrap:wrap}#fight-report .setup-preview{order:3;flex-basis:100%;gap:16px}#fight-report .setup-chevron{margin-left:auto}#fight-report .setup-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 16px 18px}}
@media(prefers-reduced-motion:reduce){#fight-report .setup-chevron{transition:none}}

/* Cascading tournament, age and weight filters. */
#fight-report .picker-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){#fight-report .picker-fields{grid-template-columns:1fr}}

/* A full-width, vertically scrolling list replaces the horizontal carousel. */
#fight-report #match-list{margin-top:24px}
#fight-report #match-options{display:flex;flex-direction:column;overflow:visible;scroll-snap-type:none;padding:0;gap:12px;touch-action:pan-y}
#fight-report #match-options .match-option-card{flex:none;width:100%;min-width:0;min-height:0;padding:20px;gap:6px;border-radius:16px}
#fight-report .match-option-row>span{overflow-wrap:break-word;font-size:17px;line-height:1.4}
#fight-report .match-option-number{line-height:1.5}
#fight-report .back-to-matches{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;max-width:100%;min-height:58px;margin:16px 0;padding:14px 18px;border-radius:16px;font-weight:600;cursor:pointer}
#fight-report .back-to-matches svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fight-report .match-detail-card .match-card-surface{display:flex;flex-direction:column;gap:18px;padding:22px;width:100%}
#fight-report #report{outline:none;touch-action:pan-y}
@media(max-width:600px){
 #fight-report .match-detail-card .scoreboard{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:10px}
 #fight-report .match-detail-card .match-card-surface{padding:18px 16px}
 #fight-report .match-detail-card .name,#fight-report .match-detail-card .small{overflow-wrap:break-word}
 #fight-report #match-options .match-option-card{padding:18px}
}

#fight-report .match-option-club{display:block;margin-top:3px;color:var(--sub);font-size:12px;font-weight:400;line-height:1.4;overflow-wrap:break-word}

#fight-report .brand{display:flex;align-items:center;gap:12px}#fight-report .brand-icon{display:block;flex-shrink:0;border-radius:9px}

.tournament-with-notifications{display:flex;gap:8px;align-items:center}.tournament-with-notifications select{flex:1;min-width:0}.tournament-with-notifications button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.tournament-with-notifications button:disabled{opacity:.45;cursor:default}.tournament-with-notifications .notifications-enabled{color:#60d5a0;background:#60d5a020}.notification-status:empty{display:none}

#fight-report .notification-change{display:block;font-weight:600;color:var(--b);margin-bottom:6px}
