.tournament-bracket-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bracket-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f18;
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.bracket-hero-backdrop {
    position: absolute;
    inset: 0;
}

.bracket-hero-backdrop img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.bracket-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(112deg, rgba(6, 9, 15, 0.93) 0%, rgba(8, 12, 20, 0.88) 46%, rgba(8, 12, 20, 0.72) 100%),
        linear-gradient(180deg, rgba(5, 8, 13, 0.16), rgba(5, 8, 13, 0.72));
}

.bracket-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.78fr);
    gap: 20px;
    padding: 28px;
}

.bracket-hero-main,
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-topline,
.hero-actions,
.panel-header {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-kicker,
.status-pill,
.phase-pill,
.panel-kicker,
.match-status,
.detail-status-chip,
.team-seed-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-kicker,
.phase-pill,
.panel-kicker,
.team-seed-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d2daec;
}

.status-pill,
.match-status,
.detail-status-chip {
    color: #ffffff;
}

.status-draft,
.status-pending {
    background: linear-gradient(135deg, #f7a73a, #ffcf67);
}

.status-published,
.status-active,
.status-completed,
.status-live {
    background: linear-gradient(135deg, #2bc990, #68e1b7);
}

.status-ready,
.status-submitted {
    background: linear-gradient(135deg, #4a8dff, #6bb8ff);
}

.status-open,
.status-approved {
    background: linear-gradient(135deg, #2bc990, #68e1b7);
}

.status-disputed {
    background: linear-gradient(135deg, #ff7d61, #ffb15a);
}

.status-cancelled {
    background: linear-gradient(135deg, #e35b71, #ff8b7f);
}

.bracket-hero h1 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-copy,
.panel-header p,
.panel-caption,
.empty-state-card p,
.summary-card small,
.draft-empty-copy,
.detail-note-box p {
    color: #a4b0c5;
    line-height: 1.7;
}

.hero-copy {
    margin: 0;
    max-width: 760px;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d103b8, #5d7cff);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(93, 124, 255, 0.2);
}

.hero-action-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #edf2ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.hero-side-card,
.summary-card,
.bracket-panel,
.match-card,
.empty-state-card,
.detail-meta-card,
.detail-note-box,
.detail-map-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(16, 20, 31, 0.92), rgba(12, 15, 24, 0.96));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.hero-side-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 14px;
    border-radius: 16px;
}

.hero-side-card span,
.summary-card span,
.round-selector label,
.detail-meta-card span,
.detail-note-box span,
.detail-section-title,
.detail-map-topline,
.detail-map-status {
    color: #93a2ba;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-side-card strong,
.summary-card strong,
.detail-meta-card strong {
    color: #f7fbff;
    font-size: 0.94rem;
    line-height: 1.4;
}

.detail-meta-card strong {
    display: block;
    margin-top: 0.28rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.detail-meta-card span {
    display: block;
}

.detail-meta-card-stat {
    text-align: left;
}

.detail-meta-value-pop {
    font-size: 1.75rem !important;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    color: #ffffff;
}

.bracket-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.summary-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 16px;
    border-radius: 18px;
}

.summary-card.emphasis {
    background:
        linear-gradient(135deg, rgba(209, 3, 184, 0.16), rgba(93, 124, 255, 0.14)),
        linear-gradient(180deg, rgba(16, 20, 31, 0.96), rgba(12, 15, 24, 0.98));
}

.bracket-results-shell {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 60%),
        linear-gradient(180deg, rgba(16, 20, 31, 0.94), rgba(12, 15, 24, 0.98));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.bracket-results-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1px;
    width: calc(100% - 2px);
    height: 3px;
    background: linear-gradient(90deg, #ffcf59 0%, #d5d8ef 50%, #d47a45 100%);
}

.hero-side-card::before,
.summary-card::before,
.bracket-panel::before,
.match-card::before,
.detail-meta-card::before,
.detail-note-box::before,
.detail-map-card::before {
    display: none;
}

.bracket-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bracket-results-header h2 {
    margin: 0.35rem 0 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-style: italic;
}

.bracket-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.result-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 116px;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(20, 25, 38, 0.92), rgba(12, 16, 26, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.placement-gold {
    box-shadow: inset 0 3px 0 #d79b22;
}

.placement-silver {
    box-shadow: inset 0 3px 0 #aeb2cc;
}

.placement-bronze {
    box-shadow: inset 0 3px 0 #c06d3c;
}

.result-card-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 54px;
}

.result-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.14);
}

.placement-gold .result-rank-badge {
    background: linear-gradient(135deg, #ffdc5a, #d78a21);
}

.placement-silver .result-rank-badge {
    background: linear-gradient(135deg, #d9deef, #9699b3);
}

.placement-bronze .result-rank-badge {
    background: linear-gradient(135deg, #efae76, #b15b2d);
}

.result-rank-label {
    color: #dfe6f4;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.result-card-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.result-team-logo,
.results-team-logo {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.12);
}

.result-team-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.result-team-copy strong {
    color: #ffffff;
    font-size: 1.12rem;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-team-copy span {
    color: #d4d9e7;
    font-size: 1rem;
}

.bracket-results-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    cursor: pointer;
}

.bracket-results-expanded {
    margin-top: 16px;
}

.bracket-results-table-shell {
    overflow-x: auto;
}

.results-team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bracket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.round-robin-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: start;
}

.bracket-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
}

.panel-header {
    align-items: flex-start;
    justify-content: space-between;
}

.panel-header h2 {
    margin: 0.35rem 0 0;
    color: #f7fbff;
    font-size: 1.16rem;
}

.panel-header p,
.panel-caption {
    margin: 0;
    font-size: 0.88rem;
}

.standings-table-shell {
    overflow-x: auto;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    color: #edf2ff;
}

.standings-table th,
.standings-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.88rem;
}

.standings-table th {
    color: #9aa8be;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.left-align {
    text-align: left !important;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.team-cell .team-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-link-text {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

a.team-link-text:hover {
    color: #bcd6ff;
    text-decoration: underline;
}

.score-green {
    color: #78ebb6;
    font-weight: 700;
}

.score-red {
    color: #ff9b9b;
    font-weight: 700;
}

.round-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.round-selector select {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 19, 0.9);
    color: #f6f9ff;
}

.match-card-list,
.elimination-round-stack,
.matchup-details,
.detail-shell,
.detail-team-stack,
.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-card {
    appearance: none;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.match-card-modal {
    padding: 0;
    gap: 0;
    border-radius: 8px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.match-card-modal::before {
    display: none;
}

.match-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.match-card-modal:hover {
    background: transparent;
    transform: none;
}

.match-card.active {
    border-color: rgba(93, 124, 255, 0.5);
    background:
        linear-gradient(135deg, rgba(209, 3, 184, 0.12), rgba(93, 124, 255, 0.12)),
        linear-gradient(180deg, rgba(16, 20, 31, 0.96), rgba(12, 15, 24, 0.98));
}

.match-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9aa8be;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.match-card-modal .match-card-topline {
    margin-bottom: 2px;
    padding: 0 2px;
    font-size: 0.6rem;
    letter-spacing: 0;
    margin-top: 15px;
}

.match-card-body {
    position: relative;
    border-radius: 4px;
    overflow: visible;
    background: rgba(18, 24, 36, 0.96);
}

.match-card-team,
.detail-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #eef3ff;
    font-weight: 700;
}

.match-card-team-row {
    position: relative;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 36px;
    align-items: center;
    min-height: 26px;
    background: rgba(72, 84, 110, 0.46);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.match-card-team-row:last-of-type {
    border-bottom: 0;
}

.match-card-seed,
.match-card-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    font-weight: 700;
    font-size: 0.72rem;
}

.match-card-seed {
    color: #d0d0d0;
    background: rgba(255, 255, 255, 0.05);
}

.match-card-team-name {
    padding: 0 7px;
    color: #f0f3f8;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-card-score {
    color: #ffffff;
    background: rgba(93, 124, 255, 0.18);
}

.winner-name .match-card-team-name {
    color: #ffffff;
}

.winner-name .match-card-score {
    background: linear-gradient(135deg, #ff9a3c, #ff7b2c);
}

.match-detail-trigger {
    position: absolute;
    right: -16px;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.92);
    color: #f7fbff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translate(8px, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.match-card-modal:hover .match-detail-trigger,
.match-detail-trigger:focus-visible {
    opacity: 1;
    transform: translate(0, -50%);
}

.match-detail-trigger:hover {
    background: #111111;
}

.match-card-vs {
    color: #7d8ca5;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.winner-name,
.winner-row strong {
    color: #ffdf7a;
}

.elimination-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.elimination-surface {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 58%),
        linear-gradient(180deg, rgba(16, 20, 31, 0.94), rgba(12, 15, 24, 0.98));
}

.elimination-surface .panel-header {
    margin-bottom: 8px;
}

.elimination-surface .panel-header p {
    display: none;
}

.schedule-round-stack,
.section-stack {
    gap: 16px;
}

.rr-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rr-meta-chip {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 22, 0.7);
}

.rr-meta-chip span {
    color: #9babc2;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.rr-meta-chip strong {
    color: #eef3ff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.schedule-round-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-round-title {
    color: #f7fbff;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rr-match-body {
    border-radius: 8px;
    overflow: hidden;
}

.schedule-panel .match-card {
    border-radius: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(11, 16, 25, 0.92);
}

.schedule-panel .match-card-topline {
    padding: 8px 10px 6px;
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.03em;
}

.schedule-panel .match-card-team-row {
    min-height: 30px;
}

.schedule-panel .match-card-seed,
.schedule-panel .match-card-score {
    min-height: 30px;
    font-size: 0.74rem;
}

.schedule-panel .match-card-team-name {
    font-size: 0.82rem;
}

.schedule-panel .match-detail-trigger {
    width: 22px;
    height: 22px;
    right: -12px;
}

.finals-preview-panel {
    margin-top: 2px;
}

.elimination-board {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 300px;
    gap: 18px;
    overflow-x: auto;
    padding: 0 10px 8px 0;
}

.elimination-round-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-around;
    position: relative;
    padding-top: 32px;
}

.elimination-round-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: #f7fbff;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: none;
    text-align: center;
    padding: 0.35rem 0.45rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.elimination-board-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

.elimination-board-svg path {
    stroke: rgba(234, 234, 234, 0.82);
    stroke-width: 1.2;
    fill: none;
    stroke-linecap: square;
    stroke-linejoin: round;
}

.elimination-round-column,
.match-card-modal {
    z-index: 1;
}

.elimination-board::-webkit-scrollbar {
    height: 8px;
}

.elimination-board::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.full-width-details {
    width: 100%;
}

.detail-match-summary,
.detail-meta-grid,
.detail-map-grid {
    display: grid;
    gap: 12px;
}

.detail-summary-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #a6b2c6;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-meta-card,
.detail-note-box,
.detail-map-card {
    padding: 14px;
    border-radius: 16px;
}

.detail-team-row {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.detail-team-row small {
    display: block;
    margin-top: 0.24rem;
    color: #97a6bc;
    font-weight: 500;
}

.detail-score,
.detail-map-score {
    color: #f7fbff;
    font-size: 1rem;
    font-weight: 800;
}

.detail-map-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.detail-map-grid-editor {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.detail-map-card strong,
.detail-note-box p {
    color: #eef3ff;
}

.detail-map-card strong {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.detail-map-card small {
    color: #9aa8be;
}

.detail-map-card-editor select {
    margin-top: 8px;
    min-height: 36px;
    width: 100%;
    border: 1px solid rgba(126, 151, 255, 0.28);
    border-radius: 10px;
    background: rgba(7, 12, 30, 0.88);
    color: #f2f7ff;
    padding: 0 10px;
    font-size: 0.85rem;
}

.detail-map-card-editor.map-locked select[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

.detail-map-card.map-vetoed {
    opacity: 0.62;
    transform: scale(0.97);
    background: linear-gradient(180deg, rgba(40, 43, 52, 0.9), rgba(26, 29, 36, 0.95));
    border-color: rgba(170, 170, 170, 0.2);
}

.detail-map-card.map-selected {
    border-color: rgba(255, 155, 64, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 155, 64, 0.28);
}

.detail-map-selected {
    color: #ffb870;
}

.detail-map-flag {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    line-height: 1.25;
    text-transform: uppercase;
    color: #b6becf;
    white-space: normal;
    overflow-wrap: anywhere;
}

.match-report-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.match-report-grid,
.match-report-map-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.match-report-map-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-report-map-row {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.match-report-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.match-report-map-heading strong {
    color: #f4f7fc;
    font-size: 0.96rem;
}

.match-report-map-heading span,
.match-report-field span,
.match-report-feedback {
    color: #97a6bc;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.match-report-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-report-field-wide {
    grid-column: 1 / -1;
}

.match-report-field input,
.match-report-field select {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(11, 15, 24, 0.95);
    color: #f4f7fc;
    font-size: 0.9rem;
}

.match-report-field input:focus,
.match-report-field select:focus {
    outline: none;
    border-color: rgba(93, 124, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(93, 124, 255, 0.16);
}

.match-report-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.match-report-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.match-report-feedback {
    min-height: 18px;
}

.match-report-feedback.success {
    color: #78ebb6;
}

.match-report-feedback.error {
    color: #ff9b9b;
}

.match-report-save-btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.detail-map-topline,
.detail-map-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-empty-chip {
    padding: 14px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: #93a2ba;
}

.empty-state-card {
    padding: 18px;
    border-radius: 18px;
}

.empty-state-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #f7fbff;
    font-size: 1rem;
}

.empty-state-card.large {
    max-width: 760px;
}

.empty-row {
    color: #93a2ba;
}

.bracket-empty-shell,
.bracket-footer-action {
    display: flex;
    justify-content: center;
}

body.bracket-modal-open {
    overflow: hidden;
}

.bracket-modal[hidden] {
    display: none !important;
}

.bracket-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
}

.bracket-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.bracket-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 40px));
    max-height: calc(100vh - 60px);
    margin: 30px auto;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(20, 24, 36, 0.98), rgba(12, 15, 24, 1));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.44);
}

.bracket-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.bracket-modal-body {
    padding: 26px 28px 28px;
}

.bracket-modal-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bracket-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bracket-modal-header h2 {
    margin: 0.45rem 0 0;
    color: #f7fbff;
    font-size: 1.5rem;
}

.bracket-modal-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.modal-versus-copy {
    text-align: center;
    color: #bfc9d9;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.modal-team-card {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(12, 16, 26, 1));
}

.modal-team-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 18px;
    border-top: 3px solid #ff7b2c;
}

.modal-team-shell strong {
    color: #f4f7fc;
    font-size: 1.2rem;
}

.winner-card .modal-team-shell {
    background: linear-gradient(180deg, rgba(255, 123, 44, 0.08), rgba(42, 42, 42, 0.9));
}

.modal-team-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.modal-team-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-team-score {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
}

.bracket-modal-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1240px) {
    .bracket-hero-content,
    .bracket-summary,
    .bracket-results-grid,
    .round-robin-layout {
        grid-template-columns: 1fr 1fr;
    }

    .details-panel,
    .full-width-details {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .bracket-hero-content,
    .bracket-summary,
    .bracket-results-grid,
    .round-robin-layout,
    .rr-meta-row,
    .detail-meta-grid,
    .bracket-modal-meta-grid,
    .bracket-modal-versus {
        grid-template-columns: 1fr;
    }

    .panel-header,
    .match-card-topline,
    .round-selector,
    .detail-summary-topline,
    .detail-map-topline,
    .detail-map-score {
        flex-direction: column;
        align-items: flex-start;
    }

    .elimination-board {
        grid-auto-columns: 200px;
    }

    .match-detail-trigger {
        opacity: 1;
        transform: translate(0, -50%);
    }

    .match-report-grid,
    .match-report-map-fields {
        grid-template-columns: 1fr;
    }
}
