.team-encounter-score-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #c6d7cc; border-radius: 5px; color: var(--ink-soft, #286153); background: #edf4e9; font: inherit; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: underline; text-decoration-color: #9caf9f; text-underline-offset: 4px; cursor: pointer; }
.team-encounter-score-link:hover { border-color: #286153; color: var(--ink-deep, #0d2d26); background: #e1edda; text-decoration: underline; }
.team-encounter-score-link:focus-visible { outline: 3px solid #238a69; outline-offset: 3px; }
.competition-public-page .team-fixture-score:has(> .team-encounter-score-link) { padding: 0; background: transparent; }
.team-fixture-score > .team-encounter-score-link { width: 100%; }
.playoff-bracket-set > .team-encounter-score-link { width: calc(100% + 6px); min-width: 28px; min-height: 40px; margin-inline: -3px; padding: 4px 0; }
[data-team-encounter-details][hidden] { display: none !important; }
html.team-encounter-dialog-open, html.team-encounter-dialog-open body { overflow: hidden !important; }
.team-encounter-dialog { width: min(1000px, calc(100% - 48px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #cad8cf; border-radius: 12px; color: var(--ink, #173f35); background: #fff; box-shadow: 0 24px 80px rgb(10 35 27 / 30%); font: 14px/1.5 var(--sans, Arial, sans-serif); }
.team-encounter-dialog[open] { display: flex; flex-direction: column; }
.team-encounter-dialog::backdrop { background: rgb(9 30 24 / 65%); }
.team-encounter-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; flex: none; gap: 20px; padding: 26px 28px 22px; border-bottom: 1px solid #dce5de; background: #f3f7ef; }
.team-encounter-dialog__heading { min-width: 0; }
.team-encounter-dialog__eyebrow { margin: 0 0 8px; color: var(--ink-soft, #286153); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-encounter-dialog__title { margin: 0; color: var(--ink, #173f35); font: 700 clamp(18px, 2.5vw, 25px)/1.3 var(--sans, Arial, sans-serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.team-encounter-dialog__meta { margin: 9px 0 0; color: #596b60; font-size: 12px; overflow-wrap: anywhere; }
.team-encounter-dialog__meta[hidden] { display: none; }
.team-encounter-dialog__close { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid #bfd0c3; border-radius: 5px; color: var(--ink, #173f35); background: #fff; font: 700 12px/1.2 var(--sans, Arial, sans-serif); cursor: pointer; }
.team-encounter-dialog__close > [aria-hidden] { font-size: 24px; font-weight: 400; line-height: 1; }
.team-encounter-dialog__close:hover { border-color: #286153; background: #eaf2e5; }
.team-encounter-dialog__close:focus-visible, .team-encounter-dialog .team-table-scroll:focus-visible { outline: 3px solid #238a69; outline-offset: 3px; }
.team-encounter-dialog__body { min-width: 0; min-height: 0; padding: 22px 28px 28px; overflow: auto; overscroll-behavior: contain; }
.team-encounter-dialog [data-team-encounter-content] { min-width: 0; }
.team-encounter-dialog .team-table-scroll { max-width: 100%; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #7b9c89 #e5ece6; }
.team-encounter-dialog .team-table { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--ink, #173f35); font-size: 13px; }
.team-encounter-dialog .team-table th, .team-encounter-dialog .team-table td { white-space: normal; overflow-wrap: anywhere; }
.team-encounter-dialog .team-table td:first-child { min-width: 96px; }
.team-encounter-dialog .team-table td[data-team-encounter-column="score"] { min-width: 110px; }
.team-encounter-dialog .team-table td[data-team-encounter-column="date"] { min-width: 100px; white-space: nowrap; }
.team-encounter-dialog__set { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
.team-encounter-dialog .team-table caption { padding: 0 0 14px; color: #596b60; font-size: 12px; text-align: left; }
.team-encounter-dialog .team-table th { padding: 13px 12px; background: #edf3ed; color: #43594c; font-size: 10px; font-weight: 700; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
.team-encounter-dialog .team-table td { padding: 15px 12px; vertical-align: top; border-bottom: 1px solid #e1e8e2; text-align: left; }
.team-encounter-dialog .team-table tbody tr:last-child td { border-bottom: 0; }
.team-encounter-dialog .team-table tbody tr:nth-child(even) { background: #f8faf7; }
.team-encounter-dialog .team-table td small { display: block; margin-top: 5px; color: #64776a; font-size: 11px; }
.team-encounter-dialog .team-table a { color: var(--ink-soft, #286153); text-decoration: underline; text-underline-offset: 3px; }
.team-encounter-dialog .team-table a:focus-visible { outline: 2px solid #238a69; outline-offset: 3px; }
@media (max-width: 760px) {
    .team-encounter-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 9px; }
    .team-encounter-dialog__header { gap: 12px; padding: 19px 16px 18px; }
    .team-encounter-dialog__eyebrow { font-size: 9px; letter-spacing: .08em; }
    .team-encounter-dialog__close { gap: 4px; padding-inline: 9px; }
    .team-encounter-dialog__body { padding: 16px 12px 20px; }
    .team-encounter-dialog .team-table { display: block; min-width: 0; font-size: 13px; }
    .team-encounter-dialog .team-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .team-encounter-dialog .team-table tbody { display: grid; gap: 14px; }
    .team-encounter-dialog .team-table tbody tr { display: block; min-width: 0; border: 1px solid #dce5de; border-radius: 6px; }
    .team-encounter-dialog .team-table td { display: block; min-width: 0; height: auto; }
    .team-encounter-dialog .team-table td[data-team-encounter-column] { min-width: 0; white-space: normal; }
    .team-encounter-dialog .team-table td::before { display: block; margin-bottom: 4px; color: #596b60; font-size: 10px; font-weight: 700; letter-spacing: .035em; content: attr(data-team-encounter-label); }
    .team-encounter-dialog .team-table td:first-child { min-width: 0; background: #edf3ed; border-radius: 5px 5px 0 0; font-weight: 700; }
    .team-encounter-dialog .team-table td:last-child { border-bottom: 0; }
    .team-encounter-dialog .team-table th, .team-encounter-dialog .team-table td { padding: 12px 10px; }
    .team-fixture-score > .team-encounter-score-link { padding-inline: 8px; }
}
