#fight-report{position:relative;overflow-x:clip;min-height:100svh;touch-action:pan-y}
#fight-report #mode-content{position:relative;background:var(--color-bg);transition:transform var(--dur-screen) ease,opacity var(--dur-screen) ease}
#fight-report .brand-icon{object-fit:contain}
#fight-report .mode-header{justify-content:flex-start;gap:var(--space-related);padding-bottom:var(--space-related);border:0;flex-wrap:nowrap}
#fight-report .mode-header .brand{font-size:var(--text-small);letter-spacing:var(--tracking-mode)}
#fight-report #brand-mode{color:var(--color-muted);font-weight:var(--weight-medium)}
#fight-report .mode-icon svg{width:var(--size-24px);height:var(--size-24px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fight-report .app-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-field);min-height:var(--size-180px);padding:var(--space-group) var(--space-field);box-sizing:border-box;text-align:center;color:var(--color-muted);font-size:var(--text-body)}
#fight-report .app-empty-icon{width:var(--size-42px);height:var(--size-42px);fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.55}



#fight-report .notification-row{display:flex;align-items:center;gap:var(--space-related);border:0;background:transparent;padding:var(--space-control) 0;text-align:left;font-size:var(--text-compact);color:var(--color-muted)}
#fight-report .notification-row[aria-pressed=true]{color:var(--color-text);background:transparent}
#fight-report #team-notification-status:empty{display:none}
#fight-report :is(#team-mats,.mat-filter){margin:var(--space-field) 0}
#fight-report .team-athlete-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-field)}
#fight-report .team-athlete-heading strong{overflow-wrap:anywhere;font-size:var(--text-subheading);font-weight:var(--weight-semibold)}
#fight-report .athlete-bell{display:grid;place-items:center;min-width:var(--tap-min);min-height:var(--tap-min);border:0;background:transparent;padding:var(--space-related);flex-shrink:0}
#fight-report .pill--tag{border-radius:var(--radius-tag);background:var(--surface-muted);padding:var(--space-fine) var(--space-compact);font-size:var(--text-tag);color:var(--color-muted)}

#fight-report .team-fight.missed-fight,#fight-report .team-fight-result{font-weight:var(--weight-regular)}
#fight-report .team-fight-result{color:var(--color-muted)}
#fight-report .completed-fight{color:var(--color-muted);background:none;text-decoration:line-through}
#fight-report .team-fight-result[data-outcome="lost"]{color:var(--color-muted)}
#fight-report .team-both{background:linear-gradient(90deg,var(--color-chong) 50%,var(--color-hong) 50%);background-clip:text;color:transparent}
@keyframes team-bell-ring{0%,100%{transform:rotate(0)}25%{transform:rotate(-15deg)}75%{transform:rotate(15deg)}}
#fight-report .team-fight{display:inline-flex;flex-direction:column;align-items:center;vertical-align:top}


#fight-report #team-status:empty{display:none}

#fight-report .notification-row .picker-notifications svg{transform-origin:50% 20%;transform-box:fill-box}




#fight-report .notification-row{touch-action:pan-y}

#fight-report .notification-row{position:relative;overflow:hidden;border-radius:var(--radius-control)}
#fight-report .notification-row>span:not(.notification-curtain){position:relative;z-index:1;transform:translateX(var(--swipe-offset,0px));transition:transform var(--dur-base) ease}
#fight-report .notification-row .notification-curtain{position:absolute;inset:0;pointer-events:none;background:var(--surface-muted);color:var(--color-chong);clip-path:inset(0 calc(100% - var(--swipe-distance,0px)) 0 0);transition:clip-path var(--dur-base) ease}
#fight-report .notification-row[data-swipe-action=disable] .notification-curtain{clip-path:inset(0 calc(100% - var(--swipe-distance,0px)) 0 0);color:var(--color-muted);background:var(--surface-muted)}
#fight-report .curtain-bell{position:absolute;left:var(--size-14px);top:50%;display:flex;align-items:center;gap:var(--space-compact);transform:translateY(-50%)}
#fight-report .curtain-bell svg{width:var(--size-18px);height:var(--size-18px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fight-report [data-swipe-action=enable] .curtain-bell .picker-bell-body{fill:currentColor}
#fight-report .curtain-bell::after{content:'On';font-size:var(--text-meta)}
#fight-report [data-swipe-action=disable] .curtain-bell{left:var(--size-14px);right:auto}
#fight-report [data-swipe-action=disable] .curtain-bell::after{content:'Off'}
#fight-report .notification-row.swipe-dragging>span{transition:none}
#fight-report .notification-row.swipe-dragging .curtain-bell svg{animation:team-bell-ring var(--dur-base) ease infinite}
@media(prefers-reduced-motion:reduce){#fight-report .notification-row>span{transition:none}#fight-report .notification-row .curtain-bell svg{animation:none}}



/* Shared two-line tournament/day picker. */
#fight-report .tournament-picker{position:relative;min-width:0;flex:1;width:100%}
#fight-report .tournament-picker .tournament-native{position:absolute;inset:0;opacity:0;pointer-events:none;width:100%;height:100%}
#fight-report .tournament-current,#fight-report .tournament-options button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:var(--space-compact);width:100%;min-width:0;text-align:left;white-space:normal;padding:var(--space-field)}
#fight-report .tournament-title{overflow-wrap:anywhere;line-height:1.35}
#fight-report .tournament-date{display:flex;flex-wrap:wrap;gap:var(--space-related);align-items:center;font-size:var(--text-tournament-date);color:var(--color-muted)}
#fight-report .pill--day{display:inline-block;border:var(--size-1px) solid currentColor;border-radius:var(--radius-metadata);padding:var(--size-1px) var(--size-5px);font-size:var(--text-tournament-day)}
#fight-report .tournament-options{position:absolute;top:calc(100% + var(--size-4px));left:0;right:0;z-index:50;max-height:50vh;overflow:auto;background:var(--color-surface);border:var(--size-1px) solid var(--color-border);border-radius: var(--radius-card);padding:var(--space-small);box-shadow:var(--shadow-popover)}
#fight-report .tournament-options[hidden]{display:none}
#fight-report .tournament-options button{border:0;border-radius:var(--radius-control);background:transparent}
#fight-report .tournament-options [aria-selected=true]{background:var(--surface-muted)}
#fight-report .tournament-options button:focus-visible{outline:var(--focus-width) solid var(--color-chong);outline-offset:calc(-1 * var(--focus-width))}

#team-content.showing-protocol > :not(#report){display:none}
#fight-report .team-fight-label{display:inline-flex;align-items:center;gap:var(--size-3px)}

#fight-report .team-protocol-open:active{opacity:var(--opacity-pressed)}
#fight-report .team-protocol-open .match-open-chevron{position:static;display:inline-block;margin:0;opacity:1;transform:rotate(-45deg);border-color:currentColor}

/* A tournament button always advertises that it opens a selection. */
#fight-report .tournament-current{position:relative;padding-right:var(--size-42px)}
#fight-report .tournament-current::after{content:"";position:absolute;right:var(--size-20px);top:50%;transform:translateY(-70%) rotate(45deg);}
#fight-report .tournament-current[aria-expanded=true]::after{transform:translateY(-30%) rotate(225deg)}

/* Group each mat's real current match and scheduled queue in one shared surface. */
#fight-report .next-mat{padding:0;margin:0 0 var(--space-group);border:0;background:transparent}
#fight-report .next-mat-heading{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-related);border:0;padding:0;margin:var(--space-group) 0 var(--space-related)}
#fight-report .next-mat-heading h2{font-size:var(--text-subheading);font-weight:var(--weight-bold);margin:0}
#fight-report .next-mat-heading p{font-size:var(--text-meta);margin:0;text-align:right}
#fight-report .next-matches-list{overflow:hidden;border:var(--size-1px) solid var(--card-border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow)}
#fight-report .next-match{position:relative;display:flex;flex-direction:column;gap:var(--space-related);padding:var(--surface-padding);background:var(--surface)}
#fight-report .next-match:not(:last-child)::after{content:'';position:absolute;left:var(--space-group);right:0;bottom:0;height:var(--size-1px);background:var(--hairline)}
#fight-report .next-match-header{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-related);min-width:0}
#fight-report .next-match-number{padding:0;background:transparent;color:var(--text-1);font-size:var(--text-subheading);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;line-height:1.3;white-space:nowrap}
#fight-report .next-match-number::before{content:'#'}
#fight-report .next-match.is-first .next-match-number{font-size:var(--text-score-small)}
#fight-report .next-round{display:inline-flex;align-items:center;justify-content:center;flex:none;padding:var(--space-fine) var(--space-related);border-radius:var(--radius-pill);background:var(--round-badge-bg);color:var(--round-badge-text);font-size:var(--text-outcome);font-weight:var(--weight-bold);line-height:1.3}
#fight-report .next-match-heading{flex:1;min-width:0;font-size:var(--text-meta);color:var(--text-2);overflow-wrap:anywhere}
#fight-report .next-match-content{display:flex;flex-direction:column;gap:var(--space-compact);min-width:0;padding:0}
#fight-report .next-last-known{align-self:flex-start;color:var(--text-2);font-size:var(--text-meta);font-weight:var(--weight-medium)}
#fight-report .next-competitor{display:flex;align-items:center;gap:var(--space-control);min-width:0;padding:var(--space-compact) var(--space-related);border-radius:var(--radius-control);background:var(--surface-muted);color:var(--text-1);font-size:var(--text-subheading);font-weight:var(--weight-semibold);line-height:1.3;overflow-wrap:anywhere}
#fight-report .next-competitor-details{display:flex;flex:1;flex-direction:row;align-items:baseline;justify-content:space-between;gap:var(--space-related);min-width:0}
#fight-report .next-competitor-details>span:first-child{min-width:0;overflow-wrap:anywhere}
#fight-report .next-match.is-first .next-competitor{font-size:var(--text-queue)}
#fight-report .next-color{display:block;width:var(--space-small);height:var(--space-content);border-radius:var(--radius-pill);flex-shrink:0}
#fight-report .next-competitor.blue .next-color{background:var(--corner-blue-stripe)}
#fight-report .next-competitor.red .next-color{background:var(--corner-red-stripe)}
#fight-report .next-competitor .match-option-club{flex:0 1 40%;text-align:right;margin:0;font-size:var(--text-meta);line-height:1.3;color:var(--text-2);font-weight:var(--weight-regular)}
#fight-report .next-competitor.is-selected-team{background:var(--surface-muted);box-shadow:none}
#fight-report #next-club-status:empty{display:none}

#fight-report .team-athlete-heading-start{justify-content:flex-start}
#fight-report .mode-header button.brand{border:0;background:transparent;padding:0;min-height:var(--tap-min);text-align:left}
#fight-report .app-context{margin-bottom:var(--space-group)}
#fight-report .app-context .picker-context-row{min-width:0;flex:1;overflow:hidden}
#fight-report .app-context [data-picker-context]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#fight-report .app-context .picker-chevron{flex-shrink:0}
#fight-report .app-context label{display:block;margin-bottom:var(--space-related)}
#fight-report .app-context select{min-height:var(--size-48px);padding:var(--space-field)}
#fight-report #team-context-status:empty{display:none}

/* Persistent destinations share a single responsive contract in App and Admin. */
#fight-report.has-bottom-navigation{padding-bottom:calc(var(--navigation-height) + var(--space-content) + env(safe-area-inset-bottom,0px));max-width:var(--content-max);margin-inline:auto;box-sizing:border-box}



#fight-report .bottom-navigation svg{width:var(--navigation-icon);height:var(--navigation-icon);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fight-report.has-bottom-navigation .toast{bottom:calc(var(--navigation-height) + var(--space-group) + env(safe-area-inset-bottom,0px))}
#fight-report .tournament-toolbar{margin-bottom:var(--space-group)}
#fight-report .tournament-toolbar .tournament-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
#fight-report .notification-switch{width:100%;justify-content:space-between;min-height:var(--tap-min);color:var(--color-text)}



#fight-report .notification-switch[aria-checked=true] .switch-track::after{left:calc(var(--switch-width) - var(--switch-thumb) - var(--size-2px))}
#fight-report .picker-clear{margin-top:var(--space-related);background:transparent;color:var(--color-chong);border:0}

#fight-report .bottom-navigation[hidden]{display:none}

#fight-report #screen-title{position:absolute;width:var(--size-1px);height:var(--size-1px);padding:0;margin:var(--size-n1px);overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#fight-report .notification-team-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:var(--space-related);margin-bottom:var(--space-group)}
#fight-report #notification-team-title{position:static;margin:0;font-size:var(--text-subheading);font-weight:var(--weight-semibold);line-height:1.3}
#fight-report .notification-team-heading>span{font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--text-2)}
#fight-report .notification-switch-group{overflow:hidden;padding:0}
#fight-report .notification-switch-group .notification-switch{border-radius:0;min-height:var(--tap-min);padding:var(--space-group) 0;gap:var(--space-field);align-items:center}
#fight-report .notification-switch-group .notification-switch:first-child{padding-top:0}
#fight-report .notification-switch-group .notification-switch:last-child{padding-bottom:0}
#fight-report .notification-switch-group .notification-switch + .notification-switch{border-top:var(--size-1px) solid var(--hairline)}
#fight-report .notification-switch-copy{flex:1;min-width:0;text-align:left}
#fight-report .notification-switch-copy strong{display:block;font-size:var(--text-label);font-weight:var(--weight-semibold);line-height:1.4;color:var(--text-1)}
#fight-report .notification-switch-copy>span{display:block;font-size:var(--text-meta);font-weight:var(--weight-regular);line-height:1.4;color:var(--text-2)}
#fight-report .notification-switch-group .switch-track{flex-basis:var(--notification-switch-width);width:var(--notification-switch-width);height:var(--notification-switch-height)}
#fight-report .notification-switch-group .switch-track::after{left:var(--size-2px);width:var(--notification-switch-thumb);height:var(--notification-switch-thumb)}
#fight-report .notification-switch-group .notification-switch[aria-checked=true] .switch-track::after{left:calc(var(--notification-switch-width) - var(--notification-switch-thumb) - var(--size-2px))}
#fight-report .notification-switch-group .notification-switch:active{opacity:var(--opacity-pressed)}

#fight-report #notification-team-context{display:none;margin:0;overflow-wrap:anywhere}
#fight-report .refresh-status{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-related);font-size:var(--text-small);color:var(--color-muted);font-variant-numeric:tabular-nums}
#fight-report .refresh-status[hidden]{display:none}
#fight-report .refresh-status button{min-height:var(--tap-min);padding:var(--space-small) var(--space-field);border:0;border-radius:var(--radius-control);background:transparent;color:var(--color-chong);font-size:var(--text-control)}
#fight-report .refresh-status button:active{opacity:var(--opacity-pressed)}

#fight-report .picker-notifications.is-enabled{color:var(--brand-icon)}

/* Non-report screens expose the same team control directly, without disclosure. */

#fight-report #team-direct .picker-clear{display:block;min-height:var(--tap-min);margin:0;padding:var(--space-small) 0;font-size:var(--text-small);text-align:left}
#fight-report #team-direct label{margin:0}

/* Athlete cards retain stable identities and tap-only bell subscriptions. */

#fight-report .team-athlete-content{display:contents}
#fight-report .team-athlete-heading{grid-column:1;grid-row:1;align-self:start}
#fight-report .team-category-labels{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:var(--space-fine);margin:0}
#fight-report .team-category-labels:empty{display:none}
#fight-report .team-category-label{font-size:var(--text-compact);color:var(--color-muted);overflow-wrap:anywhere}
#fight-report .team-athlete>.athlete-bell{grid-column:2;grid-row:1 / 3;align-self:start;display:grid;place-items:center;width:var(--tap-min);min-height:var(--tap-min);padding:0;border-radius:var(--radius-score);background:var(--color-control)}
#fight-report .team-athlete>.athlete-bell .picker-notifications svg{width:var(--navigation-icon);height:var(--navigation-icon)}
#fight-report .team-athlete>.athlete-bell[aria-pressed=true]{color:var(--brand-icon)}


#fight-report .team-fights>[data-fight].nearest-blue{background:var(--color-nearest-blue)}
#fight-report .team-fights>[data-fight].nearest-red{background:var(--color-nearest-red)}
#fight-report .team-fight-result{font-size:var(--text-small)}
#fight-report .team-fight-result[data-outcome="won"]{color:var(--color-success)}
#fight-report .team-fight-result[data-outcome="lost"]{color:var(--color-loss)}

/* Shared subscription list: two text lines and one trailing removal action. */
#fight-report #watched-athletes{margin-top:var(--space-group)}
#fight-report .watched-subscriptions-heading{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-related);margin-bottom:var(--space-related);padding-inline:var(--space-small)}
#fight-report #watched-athletes-title{position:static;margin:0;font-size:var(--text-label);font-weight:var(--weight-semibold);line-height:1.4}
#fight-report #watched-subscription-count{flex:none;padding:var(--space-fine) var(--space-related);background:var(--pill-bg);border-radius:var(--radius-pill);font-size:var(--text-meta);font-weight:var(--weight-medium);color:var(--text-2)}
#fight-report #watched-athletes-list{list-style:none;padding:0;margin:0;background:var(--surface);border:var(--size-1px) solid var(--card-border);border-radius:var(--radius-card);box-shadow:var(--shadow);overflow:hidden}
#fight-report .watched-athlete{position:relative;display:grid;grid-template-columns:var(--size-36px) minmax(0,1fr) var(--size-36px);align-items:center;gap:var(--space-field);min-height:var(--tap-min);padding:var(--space-line)}
#fight-report .watched-athlete:not(:last-child)::after{content:'';position:absolute;left:calc(var(--space-line) + var(--size-36px) + var(--space-compact));right:0;bottom:0;height:var(--size-1px);background:var(--hairline)}
#fight-report .watched-subscription-icon{display:grid;place-items:center;width:var(--size-36px);height:var(--size-36px);border-radius:var(--radius-control);background:var(--surface-muted);color:var(--icon-muted)}
#fight-report .watched-subscription-icon--athlete{background:var(--pill-bg);color:var(--brand-icon)}
#fight-report .watched-subscription-icon svg{width:var(--size-20px);height:var(--size-20px);fill:currentColor;stroke:none}
#fight-report .watched-subscription-copy{min-width:0}
#fight-report .watched-subscription-copy>strong,#fight-report .watched-subscription-copy>span{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#fight-report .watched-subscription-copy>strong{font-size:var(--text-label);font-weight:var(--weight-semibold);line-height:1.4}
#fight-report .watched-subscription-copy>span{font-size:var(--text-meta);margin-top:0;line-height:1.4}
#fight-report .watched-athlete-remove{margin:calc(-1 * var(--space-small));display:grid;place-items:center;width:var(--tap-min);min-height:var(--tap-min);padding:0;background:transparent;color:var(--icon-muted);border:0;border-radius:var(--radius-pill);touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none}
#fight-report .watched-athlete-remove svg{width:var(--navigation-icon);height:var(--navigation-icon);fill:currentColor;stroke:none}
#fight-report .watched-athlete-remove:active{opacity:.7}
#fight-report .notification-info-card{display:flex;align-items:flex-start;gap:var(--space-field);padding:var(--surface-padding);margin-top:var(--space-group);border:var(--size-1px) solid var(--card-border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow)}
#fight-report .notification-info-card>svg{flex:none;width:var(--size-20px);height:var(--size-20px);fill:var(--icon-muted);stroke:none}
#fight-report .notification-info-card>p{margin:0;font-size:var(--text-meta);line-height:1.6;color:var(--text-2)}

/* One contextual notification setup sheet, shared by the App entry points. */
#fight-report #notification-help{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,var(--size-480px));max-width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - var(--space-group));overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:0;border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;padding:0 0 env(safe-area-inset-bottom);background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-dialog)}
#fight-report #notification-help::backdrop{background:var(--color-overlay);backdrop-filter:blur(var(--overlay-blur))}
#fight-report #notification-help header{position:sticky;top:0;display:grid;grid-template-columns:1fr auto 1fr;gap:var(--space-related);padding:var(--space-small) var(--space-field);background:var(--color-surface);font-size:var(--text-small);font-weight:var(--weight-semibold);touch-action:pan-x}
#fight-report #notification-help header::after{content:''}
#fight-report #notification-help-close{justify-self:start;padding:var(--space-control) var(--space-related);border:0;background:transparent;color:var(--color-chong);font-weight:var(--weight-regular);touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none}
#fight-report #notification-help-close:active{opacity:.7}
#fight-report .notification-help-content{padding:var(--space-content)}
#fight-report .notification-help-content h2{margin-bottom:var(--space-group);font-size:var(--text-heading)}
#fight-report .notification-help-content p{margin:0 0 var(--space-group)}
#fight-report .notification-help-icon{display:block;margin-bottom:var(--space-group);color:var(--color-chong)}
#fight-report .notification-help-icon svg{width:var(--space-menu);height:var(--space-menu);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#fight-report #notification-help-steps{padding-left:var(--space-content);margin:var(--space-content) 0}
#fight-report #notification-help-steps li{padding-left:var(--space-small);margin-bottom:var(--space-group)}


/* Shared compact selector geometry from the approved snapshot. */
#fight-report #mode-content>.mode-header{display:none}

#fight-report .tournament-toolbar{margin:0;min-width:0}
#fight-report .tournament-toolbar label{display:block;margin:0}

#fight-report .tournament-current::after{right:var(--size-12px)}
#fight-report .tournament-date{font-size:var(--text-meta);line-height:var(--size-1rem);gap:var(--size-4px)}

#fight-report #team-field{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--size-44px)}
#fight-report #team-field:has(#clear-team[hidden]){grid-template-columns:minmax(0,1fr)}
#fight-report #team-field label{display:block;margin:0}

#fight-report #team-direct #clear-team{position:static;width:var(--size-44px);height:var(--size-44px);min-height:var(--size-44px);margin:0;padding:0;font-size:0;background:var(--color-surface);color:var(--color-muted)}
#fight-report #team-direct #clear-team::before{content:'×';font-size:var(--size-20px)}
#fight-report .app-context{margin:0 0 var(--size-12px)}
#fight-report .app-context:has(#team-picker[hidden]){margin:0}
#fight-report #team-picker{margin:0;padding:0;border:0;border-radius:0;background:transparent}
#fight-report #team-picker>summary{display:none}
#fight-report #team-picker .picker-fields{display:flex;align-items:center;gap:var(--chip-gap);padding:0;background:transparent;overflow-x:auto;scrollbar-width:none}
#fight-report #team-picker .picker-fields label{flex:0 0 auto;margin:0;min-width:0;max-width:100%}
#fight-report #team-picker .picker-fields label+label{border:0}
#fight-report #team-picker select{width:auto;max-width:100%;height:var(--tap-min);min-height:var(--tap-min);border:var(--size-1px) solid var(--chip-border);border-radius:var(--radius-pill);padding:var(--space-small) var(--space-menu) var(--space-small) var(--space-group);font-size:var(--text-input);font-weight:var(--weight-semibold);line-height:1.25;background-color:var(--chip-bg);color:var(--chip-text);box-shadow:var(--shadow)}


#fight-report .team-athlete-heading strong{font-size:var(--text-subheading);line-height:var(--size-1p375rem)}
#fight-report .team-category-label{font-size:var(--text-meta);line-height:var(--size-1rem)}
#fight-report .team-athlete>.athlete-bell{background:transparent;color:var(--color-muted)}



#fight-report .team-fights>.has-protocol{color:var(--color-text)}
#fight-report .team-fight{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}
#fight-report .team-fight-label{display:flex;justify-content:center;white-space:nowrap;font-size:var(--text-team-matches);line-height:var(--size-2p125rem);font-weight:var(--weight-bold)}
#fight-report .completed-fight{color:var(--color-text);text-decoration:none;font-weight:var(--weight-bold)}


#fight-report .team-protocol-open:has(.team-fight-result) .team-protocol-strip{font-size:0}
#fight-report .team-fight-result{position:absolute;bottom:var(--size-4px);left:var(--size-8px);font-size:var(--text-outcome);line-height:var(--size-p875rem);font-weight:var(--weight-bold)}


#fight-report .team-fights>.nearest-fight .team-fight-label>span{color:var(--color-on-action)}


#fight-report .missed-fight .team-fight-label{font-weight:var(--weight-regular)}

#fight-report .team-report-icon{width:var(--size-12px);height:var(--size-12px);fill:none;stroke:currentColor;stroke-width:1.5}
#fight-report .team-protocol-open:has(.team-fight-result) .team-report-label{display:none}


/* Outcome strips are independent of competitor corner colors. */




#fight-report .mode-icon{position:relative;display:inline-flex}
#fight-report .report-nav-arrow{position:absolute;right:calc(100% - var(--size-8px));top:var(--size-n4px);font-size:var(--size-16px);line-height:var(--size-20px);font-weight:var(--weight-bold);color:var(--brand-icon)}

#fight-report .report-nav-arrow--back{right:calc(100% - var(--size-3px));transform:translateX(33.333%)}

/* Sharing belongs to the view selector, independently of either selection. */



/* Apple strict 7.5: shared geometry, semantic colors only. */
#fight-report .app-selectors{position:sticky;top:env(safe-area-inset-top,0px);z-index:var(--layer-sticky);display:grid;grid-template-columns:var(--size-64px) minmax(0,1fr) var(--tap-min);align-items:center;gap:var(--space-related);min-height:var(--header-height);margin:calc(-1 * var(--space-group)) calc(-1 * var(--space-group)) var(--space-field);padding:var(--space-small) max(var(--space-group),env(safe-area-inset-left,0px)) var(--space-small) max(var(--space-group),env(safe-area-inset-right,0px));border:0;border-bottom:var(--size-1px) solid var(--header-border);border-radius:0;background:var(--header-bg);backdrop-filter:blur(var(--navigation-blur));-webkit-backdrop-filter:blur(var(--navigation-blur))}
#fight-report .tournament-toolbar .tournament-current{position:relative;min-height:var(--tap-min);height:auto;width:100%;padding:var(--space-related);padding-right:var(--space-content);border:0;border-radius:var(--radius-pill);background:var(--pill-bg);color:var(--text-1)}
#fight-report .tournament-toolbar .tournament-current .tournament-title,#fight-report .tournament-toolbar .tournament-current .tournament-date{position:absolute;width:var(--size-1px);height:var(--size-1px);padding:0;margin:var(--size-n1px);overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#fight-report .tournament-trophy{display:none}
#fight-report .tournament-toolbar .tournament-trophy{display:block;position:absolute;z-index:1;left:var(--space-field);top:50%;transform:translateY(-50%);width:var(--size-20px);height:var(--size-20px);pointer-events:none;fill:none;stroke:var(--text-1);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fight-report .tournament-toolbar .tournament-options{min-width:min(var(--size-320px),calc(100vw - var(--size-32px)));max-width:calc(100vw - var(--size-32px))}
#fight-report #team-direct{position:relative;min-width:0;border:0;padding-left:var(--space-content)}
#fight-report .team-shield{position:absolute;left:0;top:50%;transform:translateY(-50%);width:var(--size-20px);height:var(--size-20px);fill:none;stroke:var(--brand-icon);stroke-width:1.8;stroke-linejoin:round}
#fight-report #team-direct select{height:var(--tap-min);min-height:var(--tap-min);padding:0 var(--space-content) 0 var(--space-fine);font-size:var(--text-subheading);font-weight:var(--weight-bold);border:0;border-radius:0;background:transparent;color:var(--text-1);text-overflow:ellipsis}
#fight-report .view-share{width:var(--tap-min);min-height:var(--tap-min);padding:var(--space-control);border:0;border-radius:0;background:transparent;color:var(--brand-icon)}
#fight-report .view-share svg{display:block;width:var(--size-22px);height:var(--size-22px);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#fight-report .has-report-detail>.app-selectors,#fight-report .has-report-detail>.app-context{display:none}
#fight-report #team-athletes{overflow:hidden;border:var(--size-1px) solid var(--card-border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow)}
#fight-report #team-athletes:empty{display:none}
#fight-report .team-athlete{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--tap-min);gap:var(--space-small) var(--space-related);margin:0;padding:var(--card-padding);border:0;border-radius:0;background:transparent;min-width:0}
#fight-report .team-athlete:not(:last-child)::after{content:"";position:absolute;left:var(--card-padding);bottom:0;right:0;height:var(--size-1px);background:var(--hairline)}
#fight-report .team-fights{display:flex;grid-column:1 / -1;gap:var(--tile-gap);overflow-x:auto;padding:var(--space-field) 0 0;font-size:var(--text-team-matches);font-weight:var(--weight-semibold);line-height:1.2;font-variant-numeric:tabular-nums;scrollbar-width:none;touch-action:pan-x pan-y}
#fight-report .team-athlete .team-fights{gap:var(--tile-gap);padding-top:var(--space-field)}
#fight-report .team-fights:has(.team-match-origin){padding-top:var(--space-field)}
#fight-report .team-fights>[data-fight]{position:relative;flex:0 0 calc((100% - 2 * var(--tile-gap)) / 3);min-width:max(var(--tap-min),calc(var(--match-digits,3)*1ch + var(--size-16px)));height:var(--tile-height);min-height:var(--tile-height);padding:0;border:0;border-radius:var(--radius-selector);background:var(--surface-muted);display:flex;flex-direction:column;justify-content:center;gap:0}
#fight-report .team-fights:has(>[data-fight]:nth-child(4))>[data-fight]{flex-basis:calc((100% - 3 * var(--tile-gap)) / 3.25);min-width:max(var(--tap-min),calc(var(--match-digits,3)*1ch + var(--size-8px)))}
#fight-report .team-protocol-open{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;gap:0;padding:0 0 var(--size-24px);background:transparent;color:var(--text-1);border:0;border-radius:var(--radius-selector);overflow:hidden}
#fight-report .team-match-origin{position:absolute;top:var(--space-related);left:var(--space-small);right:var(--space-small);bottom:auto;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:var(--size-1rem);font-size:var(--text-outcome);color:var(--text-2);margin:0}
#fight-report .team-fights>.nearest-fight .team-match-origin{color:var(--on-brand)}
#fight-report .team-fight:has(.team-match-origin) .team-fight-label{padding-top:var(--space-line)}
#fight-report .team-fights>.has-protocol:has(.team-match-origin){
  --move-label-space:calc(var(--size-4px) + var(--size-1rem));
  min-height:calc(var(--move-label-space) + 1.2 * var(--text-team-matches) + var(--size-24px));
}
#fight-report .has-protocol .team-match-origin{top:var(--size-4px)}
#fight-report .has-protocol:has(.team-match-origin) .team-protocol-open{padding-top:var(--move-label-space)}
#fight-report .team-protocol-strip{position:absolute;bottom:0;left:0;right:0;height:var(--size-24px);padding:0 var(--space-field);display:flex;justify-content:space-between;align-items:center;font-size:var(--text-outcome);line-height:1;color:var(--loss-text);background:var(--loss-bg)}
#fight-report .team-protocol-open .team-fight-result{bottom:var(--space-compact);left:var(--space-content);font-size:var(--text-outcome);line-height:1;font-weight:var(--weight-semibold)}
#fight-report .team-protocol-open:has([data-outcome="won"]) .team-protocol-strip{color:var(--win-text);background:var(--win-bg)}
#fight-report #team-mats,#fight-report .mat-filter{display:flex;flex-wrap:nowrap;overflow-x:auto;align-items:center;gap:var(--chip-gap);padding:0 0 var(--space-small);margin:0 0 var(--space-field);border:0;border-radius:0;background:transparent;scrollbar-width:none}
#fight-report #team-mats button,#fight-report .mat-filter button{flex:0 0 auto;min-width:var(--size-70px);min-height:var(--tap-min);height:auto;padding:var(--space-related) var(--space-group);border:var(--size-1px) solid var(--chip-border);border-radius:var(--radius-pill);background:var(--chip-bg);color:var(--chip-text);font-size:var(--text-selector);font-weight:var(--weight-semibold);box-shadow:var(--shadow)}
#fight-report #team-mats button[aria-pressed=true],#fight-report .mat-filter button[aria-pressed=true]{background:var(--brand-fill);border-color:var(--brand-fill);color:var(--on-brand)}
#fight-report .bottom-navigation{position:fixed;z-index:100;bottom:0;left:0;right:0;display:flex;justify-content:center;min-height:var(--navigation-height);padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:var(--tab-bg);backdrop-filter:blur(var(--navigation-blur));-webkit-backdrop-filter:blur(var(--navigation-blur));border-top:var(--size-1px) solid var(--tab-border)}
#fight-report .bottom-navigation button{display:flex;flex:1;max-width:none;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-fine);min-width:0;min-height:var(--navigation-height);border:0;border-radius:0;background:transparent;color:var(--icon-muted);font-size:var(--text-nav);line-height:1.2;padding:var(--space-small)}
#fight-report .bottom-navigation button[aria-current=page]{color:var(--brand-icon);background:transparent;font-weight:var(--weight-semibold)}
#fight-report .bottom-navigation button strong{font-weight:var(--weight-medium)}
#fight-report .notification-team-section{margin:var(--space-field) 0 var(--space-group);padding:var(--surface-padding);overflow:hidden;border:var(--size-1px) solid var(--card-border);background:var(--surface);box-shadow:var(--shadow)}
#fight-report .notification-switch .switch-track{position:relative;flex:0 0 var(--switch-width);width:var(--switch-width);height:var(--switch-height);border-radius:var(--radius-pill);background:var(--switch-track-off)}
#fight-report .notification-switch[aria-checked=true] .switch-track{background:var(--switch-track-on)}
#fight-report .switch-track::after{content:"";position:absolute;left:var(--size-2px);top:50%;transform:translateY(-50%);width:var(--switch-thumb);height:var(--switch-thumb);border-radius:var(--radius-pill);background:var(--on-brand)}

#fight-report .team-protocol-open .completed-fight{font-size:var(--text-team-matches);line-height:1.2}



/* Google Material Symbols Rounded, embedded SVG paths (Apache-2.0). */
#fight-report .bottom-navigation svg,#fight-report .view-share svg,#fight-report .team-shield,#fight-report .tournament-toolbar .tournament-trophy{fill:currentColor;stroke:none}
#fight-report .team-shield{color:var(--brand-icon)}
#fight-report .tournament-toolbar .tournament-trophy{color:var(--text-1)}

#fight-report .next-match.is-first .next-competitor-details{flex-direction:column;align-items:flex-start;gap:var(--space-fine)}
#fight-report .next-match.is-first .match-option-club{flex:none;text-align:left}
#fight-report .next-team-mark{display:none;width:var(--size-16px);height:var(--size-16px);margin-left:var(--space-compact);vertical-align:middle;fill:currentColor;stroke:none;color:var(--brand-icon)}
#fight-report .is-selected-team .next-team-mark{display:inline-block}
#fight-report .team-category-label{font-weight:var(--weight-medium)}

#fight-report .team-report-icon{fill:currentColor;stroke:none}
#fight-report .team-athlete>.athlete-bell[aria-pressed=true]{color:var(--brand-icon)}
