.tournament-page .main-container { width: min(1220px, 100%); margin: 0 auto; padding: 1rem 0 2rem; box-sizing: border-box; }
.tournament-header { margin: .5rem 0 1.75rem; text-align: center; }
.tournament-header h1 { margin: 0 0 .4rem; }
.tournament-header p { color: #526173; margin: 0 auto .8rem; max-width: 46rem; }
.tournament-header a { color: #123b66; font-weight: 700; text-underline-offset: .2em; }
.tournament-page .predictor-section { background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 1.5rem; box-shadow: 0 3px 12px rgba(15,23,42,.04); }
.tournament-setup { margin-bottom: 1.25rem; }
.tournament-page h2 { margin: 0 0 .75rem; color: #123b66; font-size: 1.4rem; text-align: left; }
.tournament-setup p, .tournament-page .regional-outlook > p { color: #526173; font-size: .9rem; line-height: 1.6; max-width: 75ch; }
.tournament-matchups-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.tournament-matchup { min-width: 0; padding: 1rem; border: 1px solid #d8e0e9; border-radius: 6px; background: #f8fafc; }
.tournament-matchup h3 { margin: -1rem -1rem .75rem; padding: .7rem 1rem; border-bottom: 1px solid #d8e0e9; background: #edf2f7; color: #123b66; border-radius: 6px 6px 0 0; font-size: .95rem; text-align: left; }
.tournament-matchup label { display: block; margin: .6rem 0 .2rem; min-width: 0; color: #526173; font-size: .78rem; font-weight: 700; }
.tournament-matchup select { width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: .55rem .4rem; color: #17212f; border-color: #cbd5e1; background: #fff; font-size: .88rem; }
.tournament-page select:focus-visible, .tournament-page a:focus-visible, .tournament-page button:focus-visible { outline: 2px solid #d5a021; outline-offset: 3px; }
.tournament-matchup .vs-separator { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; color: #64748b; font-size: .75rem; }
.tournament-matchup .vs-separator::before, .tournament-matchup .vs-separator::after { content: ''; flex: 1; border-top: 1px solid #d8e0e9; }
.tournament-page .predictor-form button[type=submit] { padding: .7rem 1.25rem; }
.tournament-page .prediction-result { border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; }
.tournament-page .prediction-result h3 { text-align: left; color: #123b66; border-bottom: 1px solid #d8e0e9; padding-bottom: .5rem; }
.tournament-page .tournament-matchup-result { padding: .7rem 0; border-bottom: 1px solid #e2e8f0; }
.tournament-page .tournament-matchup-result em { color: #526173; font-size: .88rem; }
.tournament-page .regional-outlook { margin-top: 1.75rem; }
.tournament-page .regional-outlook nav { gap: .5rem; margin: 1.25rem 0; }
.tournament-page .regional-outlook nav a { padding: .4rem .9rem; border: 1px solid #cbd5e1; border-radius: 4px; background: #f1f5f9; color: #123b66; font-size: .9rem; font-weight: 700; text-decoration: none; }
.tournament-page .regional-outlook nav a:hover { background: #e2e8f0; }
.regional-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tournament-page .regional-probabilities { margin: 0; padding: 1rem; border: 1px solid #d8e0e9; border-radius: 6px; background: #fff; scroll-margin-top: 1rem; }
.regional-probabilities:target { outline: 2px solid #d5a021; outline-offset: 2px; }
.tournament-page .regional-probabilities h3 { margin: 0 0 .8rem; color: #123b66; font-size: .88rem; letter-spacing: .025em; }
.tournament-page .regional-probabilities ul { list-style: none; padding: 0; margin: 0; }
.tournament-page .regional-probabilities li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; padding: .5rem 0; font-size: .85rem; line-height: 1.4; }
.regional-team { display: flex; align-items: center; gap: .5rem; min-width: 0; overflow-wrap: anywhere; }
.regional-helmet { display: block; width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; }
.regional-probabilities li > strong { align-self: center; }
.regional-probabilities li strong { color: #123b66; font-variant-numeric: tabular-nums; }
.probability-track { grid-column: 1 / -1; height: 3px; background: #edf2f7; border-radius: 2px; overflow: hidden; }
.probability-track > span { display: block; height: 100%; background: #517ca5; }
@media (max-width: 1050px) { .tournament-matchups-container, .regional-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .tournament-page .predictor-section { padding: 1rem; }
    .tournament-matchups-container, .regional-grid { grid-template-columns: minmax(0, 1fr); }
    .tournament-page .predictor-form button[type=submit] { width: 100%; }
    .tournament-header h1 { font-size: 1.7rem; }
}

.regional-sections { color: #526173; font-size: .82rem; margin: -.35rem 0 .65rem; }
.regional-matchups, .regional-eliminated { margin-top: .8rem; font-size: .82rem; color: #526173; }
.regional-matchups summary, .regional-eliminated summary, .custom-bracket > summary { cursor: pointer; font-weight: 700; color: #123b66; }
.regional-matchups li { display: block !important; border-bottom: 1px solid #edf2f7; }
.custom-bracket { margin-top: 1.5rem; }
.regional-rules { color: #526173; font-size: .9rem; line-height: 1.6; max-width: 75ch; }
.regional-rules summary { cursor: pointer; color: #123b66; font-weight: 700; }
