html, body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: #f4f6f8;
    overflow-x: clip;
    max-width: 100%;
}

h1, h2, h3 {
    color: #1a5490;
}

.dfl-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    margin-bottom: 1rem;
}

.dfl-banner {
    background: #e8f4f8;
    border-left: 4px solid #1a5490;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.dfl-banner.warn {
    background: #fff8e1;
    border-left-color: #f59e0b;
}

.dfl-table-wrap {
    overflow-x: auto;
}

table.dfl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

table.dfl-table th,
table.dfl-table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
}

table.dfl-table th {
    background: #eef4f9;
    color: #0f3d6b;
    font-weight: 600;
}

table.dfl-table tr:hover td {
    background: #f9fbfd;
}

.score-positive { color: #15803d; }
.score-negative { color: #b91c1c; }
.score-inactive { color: #9ca3af; }

.sync-ok { color: #15803d; font-size: 0.75rem; }
.sync-fail { color: #b91c1c; font-size: 0.75rem; }

.dfl-sport-nav {
    display: flex;
    gap: 0.35rem;
    padding: 0.65rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.dfl-sport-nav a {
    text-decoration: none;
    color: #0f3d6b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #d1d9e0;
    white-space: nowrap;
}

.dfl-sport-nav a:hover {
    background: #eef4f9;
}

.dfl-sport-nav a.active {
    background: var(--sport-accent, #1a5490);
    border-color: var(--sport-accent, #1a5490);
    color: var(--sport-tab-text, #fff);
}

.dfl-sport-nav a:not(.inactive):not(.active) {
    background: var(--sport-accent-soft, #eef4f9);
    border-color: transparent;
}

.dfl-sport-nav a.inactive {
    opacity: 0.45;
}

.dfl-ticker {
    overflow: hidden;
    background: linear-gradient(90deg, #0f3d6b, #1a5490);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dfl-ticker__track {
    display: flex;
    width: max-content;
    animation: dfl-ticker-scroll 28s linear infinite;
}

.dfl-ticker__text {
    padding: 0.45rem 2rem;
    white-space: nowrap;
}

@keyframes dfl-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.member-badge__avatar,
.member-badge__photo {
    width: var(--member-badge-size, 36px);
    height: var(--member-badge-size, 36px);
    border-radius: 999px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.member-badge__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--member-bg, #e5e7eb);
    color: var(--member-fg, #1f2937);
    font-size: calc(var(--member-badge-size, 36px) * 0.34);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.member-badge__photo {
    display: block;
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--member-bg, #e5e7eb);
    background: #fff;
    image-rendering: auto;
}

.member-badge__name {
    font-weight: 600;
}

.team-logo {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.team-name-cell {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sport-banner {
    border-left-color: var(--sport-accent, #1a5490);
    background: var(--sport-accent-soft, #e8f4f8);
}

.sport-banner__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sport-banner__text {
    min-width: 0;
}

.sport-panel__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sport-panel__title h1 {
    margin: 0;
    font-size: 1.1rem;
}

.sport-panel h1,
.sport-panel h2 {
    color: var(--sport-accent, #1a5490);
}

.sport-panel h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.dfl-card.sport-panel {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.65rem;
}

.dfl-banner.sport-banner--page {
    padding: 0.6rem 0.85rem;
    margin-bottom: 0.65rem;
}

.sport-panel__footnote {
    margin: 0.45rem 0 0;
}

.sport-panel .dfl-sheet-note {
    margin: 0 0 0.4rem;
}

.sport-panel table.dfl-table th,
.sport-panel table.dfl-table td {
    padding: 0.28rem 0.45rem;
    line-height: 1.2;
    vertical-align: middle;
}

.sport-panel table.dfl-table td.team-name-cell {
    display: table-cell;
    line-height: normal;
}

.sport-panel table.dfl-table td.team-name-cell .team-logo {
    vertical-align: middle;
    margin-right: 0.35rem;
}

.sport-panel table.dfl-table td.team-name-cell strong {
    vertical-align: middle;
}

.sport-panel table.dfl-table td.pick-list {
    line-height: normal;
}

.sport-panel table.dfl-table td:has(.member-badge),
.sport-panel table.dfl-table td:has(.member-pick-logos) {
    line-height: normal;
}

.sport-panel .member-badge {
    gap: 0.35rem;
    vertical-align: middle;
}

.sport-panel .member-pick-logos {
    display: inline-flex;
    gap: 0.2rem;
    vertical-align: middle;
    align-items: center;
}

.sport-panel table.dfl-table .team-logo,
.sport-panel table.dfl-table .member-badge__photo,
.sport-panel table.dfl-table .member-badge__avatar {
    vertical-align: middle;
}

.sport-panel .scoring-detail-table td.tier-breakdown-cell {
    vertical-align: top;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.sport-panel .tier-breakdown-list {
    padding-left: 0.95rem;
    line-height: 1.25;
}

.sport-panel .tier-breakdown-list li + li {
    margin-top: 0.1rem;
}

table.dfl-table tr.sport-head th,
.sport-panel table.dfl-table thead th {
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
}

.dfl-standings-table .section-overall,
.dfl-standings-table .section-money {
    text-align: center;
    background: #1a5490;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dfl-standings-table .section-sport {
    text-align: center;
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dfl-standings-table .section-sport.is-inactive {
    opacity: 0.55;
}

.section-sport__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.dfl-sport-leader-card__sport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.dfl-standings-table tr.subhead th {
    font-size: 0.78rem;
    background: #f8fafc;
}

.dfl-standings-table .score-cell strong {
    color: #0f3d6b;
}

.dfl-standings-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f3d6b 0%, #1a5490 45%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 61, 107, 0.25);
}

.dfl-standings-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
}

.dfl-standings-hero__title {
    margin: 0.2rem 0 0;
    font-size: 1.85rem;
    color: #fff;
}

.dfl-standings-hero__phase {
    margin: 0.35rem 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.dfl-podium {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
}

.dfl-podium__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 5.25rem;
}

/* The pedestal is now the tiered colored riser that contains the info inside the color */
.dfl-podium__pedestal {
    width: 100%;
    border-radius: 10px 10px 4px 4px;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* data lives near the top of the colored riser */
    padding: 0.4rem 0.3rem 0.3rem;
    gap: 0.12rem;
    text-align: center;
    box-sizing: border-box;
}

/* Tiered heights: 1st tallest/highest (gold), 2nd medium (silver), 3rd shortest/lowest (bronze).
   Content sits inside the colored areas (at the top). Gold and silver have extra riser height below the labels
   so they visibly rise higher than bronze (bronze is kept snug to fit its content without shrinking further). */
.dfl-podium__slot--1 .dfl-podium__pedestal {
    min-height: 12rem;
    background: rgba(255, 215, 0, 0.52);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.55);
}

.dfl-podium__slot--2 .dfl-podium__pedestal {
    min-height: 10rem;
    background: rgba(192, 192, 192, 0.50);
    box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.55);
}

.dfl-podium__slot--3 .dfl-podium__pedestal {
    min-height: 8rem;
    background: rgba(205, 127, 50, 0.50);
    box-shadow: inset 0 0 0 1px rgba(205, 127, 50, 0.55);
}

.dfl-podium__medal {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.dfl-podium__name {
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    max-width: 5.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.05;
}

.dfl-podium__score {
    font-size: 1.0rem;
    font-weight: 800;
    line-height: 1;
}

.dfl-podium__delta {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.dfl-standings-card__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.dfl-standings-card__header h2 {
    margin: 0;
}

.dfl-sheet-tag {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #e8f4f8;
    color: #0f3d6b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dfl-sheet-tag--live {
    background: #fef3c7;
    color: #92400e;
    animation: dfl-live-pulse 2s ease-in-out infinite;
}

@keyframes dfl-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.dfl-standings-card--proj {
    border-top: 4px solid #1a5490;
}

.dfl-standings-table--sheet .rank-cell {
    font-weight: 800;
    color: #0f3d6b;
}

.dfl-standings-table--sheet th,
.dfl-standings-table--sheet td {
    padding: 0.28rem 0.45rem;
    line-height: 1.2;
    vertical-align: middle;
}

/* Make data rows in overall standings match the compact sizing and row height 
   used on individual sport pages (e.g. MLB standings inside .sport-panel + dfl-table-compact).
   This keeps text the same size (0.82rem from compact) and tight row height. */
.dfl-standings-table--sheet tbody td {
    padding: 0.28rem 0.45rem;
    line-height: 1.2;
    vertical-align: middle;
    font-size: 0.82rem;
}

.dfl-standings-table--sheet td:has(.member-badge) {
    line-height: normal;
}

.standings-row-gold td {
    background: rgba(255, 215, 0, 0.2);
}

.standings-row-silver td {
    background: rgba(192, 192, 192, 0.24);
}

.standings-row-bronze td {
    background: rgba(205, 127, 50, 0.2);
}

.sport-score-hot {
    font-weight: 700;
    color: #0f3d6b;
}

.money-cell {
    font-weight: 700;
    color: #14532d;
}

.dfl-standings-footnote {
    margin-top: 0.75rem;
}

.dfl-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.dfl-form-grid--single {
    grid-template-columns: minmax(12rem, 20rem);
}

.dfl-profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.dfl-profile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dfl-profile-nav a {
    color: #1a5490;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.dfl-profile-nav a.active {
    color: #0f3d6b;
    text-decoration: underline;
}

.dfl-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f3d6b;
}

.dfl-input {
    padding: 0.4rem 0.55rem;
    border: 1px solid #d1d9e0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.dfl-input--narrow {
    max-width: 5.5rem;
}

.dfl-checkbox-label {
    flex-direction: row !important;
    align-items: center;
    gap: 0.45rem !important;
}

.dfl-file-input {
    font-size: 0.78rem;
    max-width: 10rem;
}

.member-inactive-row td {
    opacity: 0.55;
}

.commissioner-member-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dfl-sport-leaders {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.dfl-sport-leader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    background: #fff;
    border: 2px solid var(--sport-accent-soft, #e5e7eb);
    box-shadow: 0 2px 8px rgba(15, 61, 107, 0.06);
    text-align: center;
    min-height: 6.5rem;
}

.dfl-sport-leader-card.is-active {
    border-color: var(--sport-accent, #1a5490);
    background: linear-gradient(180deg, var(--sport-accent-soft, #eef4f9), #fff 55%);
}

.dfl-sport-leader-card.is-inactive {
    opacity: 0.65;
}



.dfl-sport-leader-card__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sport-accent, #0f3d6b);
}

.dfl-sport-leader-card__score {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f3d6b;
    line-height: 1;
}

.dfl-sport-leader-card__caption {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.dfl-sport-leader-card__pending {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

a.sport-link--pill {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--sport-accent, #1a5490);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
}

a.sport-link--pill:hover {
    filter: brightness(1.08);
    text-decoration: none;
}

a.sport-link {
    color: #1a5490;
    text-decoration: none;
}

a.sport-link:hover {
    text-decoration: underline;
}

.dfl-table-compact th,
.dfl-table-compact td {
    font-size: 0.82rem;
}

.dfl-pick-sheet-wrap {
    max-height: 70vh;
}

table.dfl-pick-sheet th.member-col,
table.dfl-pick-sheet td.pick-cell {
    text-align: center;
    min-width: 2.25rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

table.dfl-pick-sheet th.member-col {
    background: var(--member-bg, #eef4f9);
    color: var(--member-fg, #0f3d6b);
    font-weight: 800;
    font-size: 0.72rem;
}

table.dfl-pick-sheet th.member-col .member-badge {
    justify-content: center;
    margin: 0 auto;
}

table.dfl-pick-sheet td.pick-cell.picked {
    background: var(--member-bg, #dcfce7);
    color: var(--member-fg, #15803d);
    font-weight: 800;
}

table.dfl-pick-sheet .sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.04);
}

table.dfl-pick-sheet thead .sticky-col {
    background: #eef4f9;
}

.pick-list {
    white-space: normal;
    max-width: 8rem;
}

.member-pick-logos {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.member-pick-logos .team-logo {
    width: 2rem;
    height: 2rem;
}

.sport-pill {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--sport-accent, #1a5490);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
}

.seed-input {
    width: 4rem;
    padding: 0.2rem 0.35rem;
}

.winner-select {
    min-width: 12rem;
    max-width: 100%;
}

.tier-breakdown-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.78rem;
}

.tier-breakdown-cell {
    min-width: 16rem;
}

.scoring-detail-table td {
    vertical-align: top;
}

.scoring-math-formulas {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #374151;
}

.scoring-math-formulas p {
    margin: 0.25rem 0;
}

.scoring-math-table th {
    font-size: 0.72rem;
    white-space: nowrap;
}

.scoring-math-note-row td {
    font-size: 0.75rem;
    padding-top: 0;
    border-top: none;
}

.scoring-math-example {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: #374151;
}

.odds-source-details {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.member-score-breakdown-table .member-totals-cell {
    font-size: 0.85rem;
    vertical-align: top;
    min-width: 7rem;
}

.member-score-breakdown-table .member-totals-cell div {
    margin-bottom: 0.2rem;
}

.league-scoring-table th.section-sport {
    font-size: 0.75rem;
    text-align: center;
}

.league-scoring-table th.section-overall {
    text-align: center;
}

.league-scoring-table td {
    text-align: right;
    font-size: 0.85rem;
}

.league-scoring-table td:first-child {
    text-align: left;
}

.dfl-sheet-note {
    margin-top: 0;
    color: #6b7280;
    font-size: 0.85rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.rules-grid .dfl-card h3 {
    margin-top: 0;
}

#blazor-error-ui {
    background: #b32121;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #fff;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.dfl-playoff-nav {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.playoff-nav-item {
    text-decoration: none;
    color: #0f3d6b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #d1d9e0;
    background: var(--sport-accent-soft, #eef4f9);
}

.playoff-nav-item.active {
    background: var(--sport-accent, #1a5490);
    border-color: var(--sport-accent, #1a5490);
    color: #fff;
}

.playoff-nav-item.inactive {
    opacity: 0.45;
}

.playoff-panel h1 {
    margin-top: 0;
}

.bracket-tree {
    --bracket-line: #94a3b8;
    --bracket-game-base: 3.25rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.25rem 1.25rem;
    min-height: 18rem;
}

.bracket-tree__wing {
    display: flex;
    align-items: stretch;
}

.bracket-tree__wing--single {
    margin: 0 auto;
}

.bracket-col {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    max-width: 11rem;
    padding: 0 0.85rem;
}

.bracket-col__label {
    flex-shrink: 0;
    margin-bottom: 0.65rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6b7280;
    text-align: center;
    min-height: 1.5rem;
}

.bracket-col__games {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: calc(var(--bracket-game-base) * max(var(--match-count, 2), 2) * 1.45);
    gap: 0.35rem;
}

.bracket-col__games--center {
    justify-content: center;
    min-height: 100%;
}

.bracket-game {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: var(--bracket-game-base);
    padding: 0.35rem 0;
}

.bracket-tree--nfl {
    --bracket-game-base: 4rem;
    min-height: 22rem;
}

.bracket-tree--nfl .bracket-col__games {
    min-height: calc(var(--bracket-game-base) * var(--match-count, 3) * 2.15);
    gap: 0.85rem;
    padding: 0.25rem 0;
}

.bracket-tree--nfl .bracket-game {
    min-height: calc(var(--bracket-game-base) + 0.5rem);
    padding: 0.55rem 0;
}

.bracket-tree--nfl .bracket-col--left:not(:last-child) .bracket-col__games::before,
.bracket-tree--nfl .bracket-col--right:not(:first-child) .bracket-col__games::before {
    top: 8%;
    bottom: 8%;
}

/* NFL: no connector lines between Wild Card (first) and Divisional (second) rounds,
   since exact path for winners depends on results (even though structurally seeded). */
.bracket-tree--nfl .bracket-col--left:first-child .bracket-col__games::before,
.bracket-tree--nfl .bracket-col--right:last-child .bracket-col__games::before {
    content: none !important;
}

/* NFL Wild Card (3 games): ensure the 3 opening round games are equally spaced
   (no 2+1 bunching from pair structure). */
.bracket-tree--nfl .bracket-col--left:first-child .bracket-col__games,
.bracket-tree--nfl .bracket-col--right:last-child .bracket-col__games {
    justify-content: space-between;
}

.bracket-tree--nba,
.bracket-tree--nhl,
.bracket-tree--ncaab,
.bracket-tree--uefacl {
    --bracket-game-base: 4.25rem;
    min-height: 28rem;
}

.bracket-tree--nba .bracket-col__games,
.bracket-tree--nhl .bracket-col__games,
.bracket-tree--ncaab .bracket-col__games,
.bracket-tree--uefacl .bracket-col__games {
    min-height: calc(var(--bracket-game-base) * var(--match-count, 4) * 2.35);
    gap: 1rem;
    padding: 0.35rem 0;
}

.bracket-tree--nba .bracket-game,
.bracket-tree--nhl .bracket-game,
.bracket-tree--ncaab .bracket-game,
.bracket-tree--uefacl .bracket-game {
    min-height: calc(var(--bracket-game-base) + 0.65rem);
    padding: 0.6rem 0;
    flex-shrink: 0;
}

.bracket-tree--nba .bracket-pair,
.bracket-tree--nhl .bracket-pair,
.bracket-tree--ncaab .bracket-pair,
.bracket-tree--uefacl .bracket-pair {
    flex: 1 1 auto;
    min-height: calc(var(--bracket-game-base) * 2 + 1.25rem);
    gap: 0.75rem;
}

.bracket-tree--nba .bracket-col--left:not(:last-child) .bracket-col__games::before,
.bracket-tree--nba .bracket-col--right:not(:first-child) .bracket-col__games::before,
.bracket-tree--nhl .bracket-col--left:not(:last-child) .bracket-col__games::before,
.bracket-tree--nhl .bracket-col--right:not(:first-child) .bracket-col__games::before,
.bracket-tree--ncaab .bracket-col--left:not(:last-child) .bracket-col__games::before,
.bracket-tree--ncaab .bracket-col--right:not(:first-child) .bracket-col__games::before,
.bracket-tree--uefacl .bracket-col--left:not(:last-child) .bracket-col__games::before,
.bracket-tree--uefacl .bracket-col--right:not(:first-child) .bracket-col__games::before {
    top: 6%;
    bottom: 6%;
}

.bracket-game--final {
    flex: 1;
    min-height: 6rem;
}

.bracket-pair {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 0;
}

/* Connector lines — left wing: game → pair spine → next round */
.bracket-col--left:not(:last-child) .bracket-game::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 0.55rem;
    border-top: 2px solid var(--bracket-line);
    transform: translateY(-50%);
    pointer-events: none;
}

.bracket-col--left:not(:last-child) .bracket-pair:has(.bracket-game:nth-child(2))::before {
    content: "";
    position: absolute;
    top: 25%;
    bottom: 25%;
    right: 0.55rem;
    width: 2px;
    background: var(--bracket-line);
    pointer-events: none;
}

.bracket-col--left:not(:last-child) .bracket-pair::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.1rem;
    width: 1.1rem;
    border-top: 2px solid var(--bracket-line);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Connector lines — right wing */
.bracket-col--right:not(:first-child) .bracket-game::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.55rem;
    border-top: 2px solid var(--bracket-line);
    transform: translateY(-50%);
    pointer-events: none;
}

.bracket-col--right:not(:first-child) .bracket-pair:has(.bracket-game:nth-child(2))::before {
    content: "";
    position: absolute;
    top: 25%;
    bottom: 25%;
    left: 0.55rem;
    width: 2px;
    background: var(--bracket-line);
    pointer-events: none;
}

.bracket-col--right:not(:first-child) .bracket-pair::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -1.1rem;
    width: 1.1rem;
    border-top: 2px solid var(--bracket-line);
    transform: translateY(-50%);
    pointer-events: none;
}

.bracket-col--center {
    flex: 0 0 auto;
    min-width: 9.5rem;
    max-width: 11.5rem;
    padding: 0 1rem;
    z-index: 1;
}

.playoff-panel {
    overflow: visible;
}

.bracket-col--center .bracket-col__label {
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.72rem;
}

.bracket-col--center .bracket-game--final::before,
.bracket-col--center .bracket-game--final::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1.25rem;
    border-top: 2px solid var(--bracket-line);
    pointer-events: none;
}

.bracket-tree--dual .bracket-col--center .bracket-game--final::before {
    left: -1.25rem;
}

.bracket-tree--dual .bracket-col--center .bracket-game--final::after {
    right: -1.25rem;
}

.bracket-tree--single .bracket-col--center .bracket-game--final::before {
    left: -1.25rem;
}

.bracket-tree--quad .bracket-col--center .bracket-game--final::before {
    left: -1.25rem;
}

.bracket-tree--quad .bracket-col--center .bracket-game--final::after {
    right: -1.25rem;
}

.bracket-match {
    width: 100%;
    display: grid;
    gap: 0.2rem;
    background: #fff;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    padding: 0.3rem;
    box-shadow: 0 1px 3px rgba(15, 61, 107, 0.06);
}

.bracket-match--final {
    border-color: var(--sport-accent, #1a5490);
    box-shadow: 0 2px 8px rgba(15, 61, 107, 0.12);
    background: linear-gradient(180deg, var(--sport-accent-soft, #eef4f9), #fff 70%);
}

.bracket-team {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f9fbfd;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.35rem 0.45rem;
    min-height: 2.1rem;
}

.bracket-team .team-logo {
    width: 1.35rem;
    height: 1.35rem;
}

.bracket-team.is-winner {
    border-color: #15803d;
    background: #f0fdf4;
    box-shadow: inset 0 0 0 1px rgba(21, 128, 61, 0.15);
}

.bracket-team.is-tbd {
    color: #9ca3af;
    font-style: italic;
    background: #fafafa;
}

.bracket-team__seed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 4px;
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
}

.bracket-team__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}

.bracket-team__name {
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bracket-team__owner {
    font-size: 0.62rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .bracket-col {
        min-width: 9rem;
        padding: 0 0.75rem;
    }

    .bracket-tree {
        justify-content: flex-start;
    }
}

.draft-clock-card {
    position: sticky;
    top: 4.75rem; /* stick below the persistent site header (dfl-header) so it remains visible when scrolling the draft board */
    z-index: 30;
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 899px) {
    .draft-clock-card {
        top: 3.75rem; /* shorter mobile header */
    }
}

.draft-clock-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.draft-clock-card__who {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    flex: 1 1 16rem;
    min-width: 0;
}

.draft-clock-card__label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1a5490;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.draft-clock-card__member {
    font-weight: 700;
    font-size: 0.9rem;
}

.draft-clock-card__status {
    flex: 1 1 12rem;
    min-width: 0;
    font-size: 0.82rem;
}

.draft-your-turn {
    color: #15803d;
    font-weight: 700;
}

.draft-clock-card--yours {
    border: 2px solid #15803d;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.draft-clock-card__timers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.draft-clock-card__bank-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.draft-countdown {
    font-size: 1.65rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: #0f3d6b;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
}

.draft-countdown--urgent {
    color: #b45309;
    animation: dfl-countdown-pulse 1s ease-in-out infinite;
}

.draft-countdown--expired {
    color: #b91c1c;
}

@keyframes dfl-countdown-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.draft-auto-pick {
    color: #b91c1c;
    font-weight: 700;
}

.draft-live-tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dfl-draft-room {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dfl-draft-card__header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.dfl-draft-card__header h2 {
    margin: 0;
}

.draft-clock-card__pick {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f3d6b;
}

.draft-last-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.4rem;
    padding: 0.45rem 0.5rem;
    border-top: 1px solid #e5e7eb;
    border-left: 3px solid var(--sport-accent, #cbd5e1);
    border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, var(--sport-accent-soft, #fff) 0%, #fff 65%);
    font-size: 0.78rem;
}

.draft-last-pick .team-logo {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.draft-last-pick__label,
.draft-last-pick__member {
    color: #4b5563;
}

.draft-last-pick__pick,
.draft-last-pick__sport,
.draft-last-pick__team,
.draft-last-pick__proj {
    font-weight: 700;
    color: var(--sport-accent, #0f3d6b);
}

.dfl-draft-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem);
    gap: 1rem;
    align-items: start;
}

.dfl-draft-teams-wrap {
    overflow: visible;
}

.dfl-draft-roster-chart-card {
    margin-bottom: 1rem;
}

.draft-roster-chart {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) minmax(5.5rem, 7rem);
    gap: 0.75rem 1rem;
    align-items: stretch;
    margin-top: 1.1rem;
    padding-top: 0.65rem;
}

.draft-roster-chart__y-axis {
    position: relative;
    height: 15rem;
    margin-bottom: 2.35rem;
}

.draft-roster-chart__y-tick {
    position: absolute;
    right: 0;
    transform: translateY(50%);
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1;
}

.draft-roster-chart__plot {
    position: relative;
    min-width: 0;
}

.draft-roster-chart__grid {
    position: absolute;
    inset: 0 0 2.35rem;
    pointer-events: none;
}

.draft-roster-chart__grid-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e7eb;
}

.draft-roster-chart__bars {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    height: 15rem;
    margin-bottom: 2.35rem;
    padding: 0 0.25rem;
    border-left: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;
}

.draft-roster-chart__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    height: 100%;
}

.draft-roster-chart__bar-area {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.draft-roster-chart__total {
    position: absolute;
    top: -1.1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    font-weight: 800;
    color: #0f3d6b;
    white-space: nowrap;
}

.draft-roster-chart__stack {
    width: 72%;
    max-width: 3.25rem;
    min-width: 1.35rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 61, 107, 0.08);
}

.draft-roster-chart__segment {
    width: 100%;
    min-height: 1px;
}

.draft-roster-chart__member {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f3d6b;
    text-align: center;
    line-height: 1.15;
    word-break: break-word;
    max-width: 100%;
}

.draft-roster-chart__legend {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.draft-roster-chart__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.draft-roster-chart__legend-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.draft-roster-chart__legend-label {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (max-width: 900px) {
    .draft-roster-chart {
        grid-template-columns: 2.25rem minmax(0, 1fr);
    }

    .draft-roster-chart__legend {
        grid-column: 1 / -1;
        flex-flow: row wrap;
        gap: 0.5rem 0.85rem;
    }
}

table.dfl-draft-teams-sheet {
    table-layout: fixed;
    width: 100%;
}

table.dfl-draft-teams-sheet th.draft-sport-section {
    text-align: center;
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.82rem;
    font-weight: 800;
    border-bottom: 2px solid var(--sport-accent, #cbd5e1);
}

table.dfl-draft-teams-sheet .sticky-col,
table.dfl-draft-board .sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    box-shadow: 2px 0 4px rgba(15, 61, 107, 0.06);
}

table.dfl-draft-teams-sheet thead .sticky-col,
table.dfl-draft-board thead .sticky-col {
    background: #eef4f9;
    z-index: 3;
}

table.dfl-draft-teams-sheet .sticky-col {
    width: 6.5rem;
}

td.draft-teams-member-cell {
    vertical-align: middle;
    padding: 0.35rem 0.4rem;
    background: #eef4f9;
    color: #0f3d6b;
}

.draft-teams-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 5.5rem;
}

.draft-teams-member .member-badge {
    --member-badge-size: 32px;
}

.draft-teams-member__name {
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    color: #0f3d6b;
}

table.dfl-draft-teams-sheet th,
table.dfl-draft-teams-sheet td {
    padding: 0.35rem 0.4rem;
    white-space: normal;
}

/* More defined horizontal separators between member rows */
table.dfl-draft-teams-sheet tbody tr:not(:last-child) td {
    border-bottom: 2px solid #64748b;
}

/* Time bank column (after Member, before sports) */
table.dfl-draft-teams-sheet th.draft-time-bank {
    background: #eef4f9;
    color: #0f3d6b;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    width: 3.1rem;
    white-space: nowrap;
}

table.dfl-draft-teams-sheet td.draft-time-bank-cell {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e40af;
    width: 3.1rem;
    vertical-align: middle;
    white-space: nowrap;
    padding: 0.35rem 0.25rem;
}

table.dfl-draft-teams-sheet td.draft-time-bank-cell.low {
    color: #b45309;
}

table.dfl-draft-teams-sheet td.draft-time-bank-cell.expired {
    color: #b91c1c;
    font-weight: 800;
}

.draft-roster-sport {
    min-width: 0;
    font-size: 0.76rem;
    vertical-align: top;
    padding: 0.3rem 0.45rem;
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #1f2937);
}

.draft-roster-pick {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 1.55rem;
    line-height: 1.2;
    padding: 0.12rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--sport-accent, #cbd5e1) 18%, transparent);
}

.draft-roster-pick:last-child {
    border-bottom: none;
}

.draft-roster-pick.empty {
    min-height: 1.55rem;
}

.draft-roster-pick .team-logo {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.draft-roster-slot__name {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    color: var(--sport-accent, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.draft-roster-slot__proj {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sport-accent, #0f3d6b);
    opacity: 0.9;
}

.dfl-draft-board-wrap {
    overflow-x: auto;
}

table.dfl-draft-board thead .sticky-col,
table.dfl-draft-board .sticky-col.draft-board-round,
.draft-board-round {
    text-align: center;
    width: 1.5rem;
    min-width: 1.5rem;
    max-width: 1.5rem;
    padding: 0.25rem 0.15rem;
    font-size: 0.72rem;
    line-height: 1.1;
}

.draft-board-round__dir {
    display: block;
    font-size: 0.58rem;
    color: #6b7280;
    line-height: 1;
}

tr.draft-board-round--current .sticky-col {
    background: #fef3c7;
}

.draft-cell__pick {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6b7280;
    line-height: 1.15;
    text-align: left;
}

.draft-cell__proj {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--sport-accent, #0f3d6b);
    line-height: 1;
    opacity: 0.9;
}

td.draft-cell.draft-cell--next {
    box-shadow: inset 0 0 0 2px #d97706;
    background: #fffbeb;
}

.draft-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 65vh;
    overflow: auto;
}

.draft-recent-item {
    display: grid;
    grid-template-columns: 2.5rem 1.4rem minmax(0, 1fr) auto;
    gap: 0.2rem 0.45rem;
    align-items: start;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.8rem;
    border-left: 3px solid var(--sport-accent, #cbd5e1);
    background: linear-gradient(90deg, var(--sport-accent-soft, #fff) 0%, #fff 60%);
}

.draft-recent-item .team-logo {
    width: 1.4rem;
    height: 1.4rem;
    margin-top: 0.1rem;
}

.draft-recent-item__pick {
    font-weight: 900;
    font-size: 0.76rem;
    color: var(--sport-accent, #0f3d6b);
    line-height: 1.15;
    align-self: center;
}

.draft-recent-item__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.draft-recent-item__player {
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
}

.draft-recent-item__team {
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
}

.draft-recent-item__proj {
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--sport-accent, #0f3d6b);
    padding-left: 0.15rem;
    align-self: center;
}

table.dfl-draft-pool-table th {
    white-space: nowrap;
    font-size: 0.72rem;
}

table.dfl-draft-pool-table tr.draft-pool-row td {
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #0f3d6b);
    font-weight: 600;
}

table.dfl-draft-pool-table tr.draft-pool-row .team-name-cell strong {
    color: var(--sport-accent, #0f3d6b);
}

table.dfl-draft-pool-table tr.draft-pool-row:hover td {
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #0f3d6b);
    filter: brightness(0.96);
}

table.dfl-draft-board tr:hover td.draft-cell.filled {
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #1f2937);
}

table.dfl-draft-teams-sheet tr:hover td.draft-roster-sport {
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #1f2937);
}

@media (max-width: 1100px) {
    .dfl-draft-main-grid {
        grid-template-columns: 1fr;
    }

    .draft-recent-list {
        max-height: 16rem;
    }
}

table.dfl-draft-board {
    table-layout: fixed;
    width: 100%;
}

table.dfl-draft-board th,
table.dfl-draft-board td {
    padding: 0.35rem 0.4rem;
    white-space: normal;
}

table.dfl-draft-board th.member-col {
    text-align: center;
    min-width: 6.5rem;
    background: #eef4f9;
    color: #0f3d6b;
    vertical-align: bottom;
    padding: 0.4rem 0.35rem;
}

table.dfl-draft-board th.member-col .member-badge {
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
    margin: 0 auto;
}

table.dfl-draft-board th.member-col .member-badge {
    --member-badge-size: 34px;
}

table.dfl-draft-board th.member-col .member-badge__name {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    color: #0f3d6b;
}

table.dfl-draft-board th.member-col.on-clock,
table.dfl-draft-board td.draft-cell.on-clock {
    box-shadow: inset 0 0 0 2px #15803d;
}

table.dfl-draft-board td.draft-cell {
    min-width: 5.5rem;
    vertical-align: middle;
    text-align: left;
    font-size: 0.76rem;
    padding: 0.25rem 0.3rem;
    overflow: visible;
}

table.dfl-draft-board td.draft-cell.filled {
    background: var(--sport-accent-soft, #f9fbfd);
    color: var(--sport-accent, #1f2937);
}

.draft-cell__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
}

.draft-cell__team--compact {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    text-align: left;
    min-width: 0;
}

.draft-cell__logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
    flex-shrink: 0;
    width: 1.35rem;
}

.draft-cell__team--compact .team-logo {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    flex-shrink: 0;
}

.draft-cell__name {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    color: var(--sport-accent, #1f2937);
}

.draft-cell__sport {
    font-size: 0.62rem;
    color: var(--sport-accent, #6b7280);
    font-weight: 700;
}

.draft-sport-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 0 0.85rem;
}

.draft-sport-pill {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.draft-sport-pill.active {
    border-color: var(--sport-accent, #0f3d6b);
    box-shadow: 0 0 0 1px var(--sport-accent, #0f3d6b);
}

.draft-pick-btn,
.draft-link-btn {
    display: inline-block;
    border: none;
    border-radius: 6px;
    background: #1a5490;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    text-decoration: none;
}

.draft-pick-btn:hover,
.draft-link-btn:hover {
    filter: brightness(1.08);
}

.draft-pick-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.draft-pick-btn.warn {
    background: #9a3412;
}

.commissioner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.draft-pick-btn.small {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
}

.bonus-rank-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.bonus-rank-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #e8edf2;
}

.bonus-rank-num {
    font-weight: 700;
    color: #1a5490;
    min-width: 1.5rem;
}

.bonus-rank-team {
    flex: 1;
}

/* ── Summary sheet (points model) ── */

.summary-sheet {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f3d6b 0%, #1a5490 42%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(15, 61, 107, 0.28);
}

.summary-hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.88;
}

.summary-hero__title {
    margin: 0.2rem 0 0;
    font-size: 1.75rem;
    color: #fff;
    line-height: 1.15;
}

.summary-hero__season {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.summary-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 4.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
}

.summary-stat__value {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}

.summary-stat__label {
    margin-top: 0.15rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.85;
}

.summary-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.summary-card__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.summary-card__header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.summary-card__lead {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.summary-card--matrix {
    border-top: 4px solid #1a5490;
}

.summary-card--payouts {
    border-top: 4px solid #14532d;
}

.summary-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-height: none;
    width: 100%;
}

.summary-matrix {
    width: max-content;
    min-width: 100%;
    font-size: 0.85rem;
}

.summary-matrix__corner {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 9.5rem;
    background: #fff;
    border-right: 2px solid #e5e7eb;
}

.summary-matrix__logo-row th {
    padding: 0.65rem 0.35rem 0.25rem;
    vertical-align: bottom;
}

.summary-matrix__sport-head {
    text-align: center;
    vertical-align: middle;
    background: var(--sport-accent-soft, #eef4f9);
    color: var(--sport-accent, #0f3d6b);
    border-bottom: 3px solid var(--sport-accent, #1a5490);
    min-width: 7.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.summary-matrix__sport-head .sport-logo {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    max-height: 44px;
    width: auto;
}

.summary-matrix__label {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left;
    font-weight: 700;
    color: #0f3d6b;
    background: #f8fafc;
    border-right: 2px solid #e5e7eb;
    white-space: nowrap;
}

.summary-matrix__label.summary-matrix__sub {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.74rem;
    padding-left: 1.35rem;
}

.summary-matrix__tier-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.summary-tier-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    padding: 0.1rem 0.3rem;
    border-radius: 999px;
    background: #1a5490;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
}

.summary-matrix__value,
.summary-matrix__tier-name,
.summary-matrix__money,
.summary-matrix__pts {
    text-align: center;
    background: var(--sport-accent-soft, transparent);
}

table.dfl-table.summary-matrix th.summary-matrix__sport-head,
table.dfl-table.summary-matrix td.summary-matrix__value,
table.dfl-table.summary-matrix td.summary-matrix__tier-name,
table.dfl-table.summary-matrix td.summary-matrix__money,
table.dfl-table.summary-matrix td.summary-matrix__pts {
    text-align: center;
}

table.dfl-table.summary-matrix th.summary-matrix__label,
table.dfl-table.summary-matrix th.summary-matrix__corner {
    text-align: left;
}

.summary-matrix__tier-name {
    font-weight: 600;
    font-size: 0.74rem;
    color: var(--sport-accent, #0f3d6b);
    line-height: 1.25;
}

.summary-matrix__pts {
    font-weight: 800;
    color: var(--sport-accent, #0f3d6b);
}

.summary-matrix__money {
    font-weight: 700;
    color: #14532d;
}

.summary-section-row th {
    text-align: left;
    background: #1a5490;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.75rem;
}

.summary-tier-block--6 td,
.summary-tier-block--6 th.summary-matrix__label {
    border-top: 2px solid #e5e7eb;
}

.summary-tier-block--last td,
.summary-tier-block--last th {
    border-bottom: 1px solid #e8edf2;
}

.summary-matrix__max {
    font-weight: 800;
    font-size: 0.9rem;
}

.dfl-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 61, 107, 0.55);
    backdrop-filter: blur(3px);
}

.dfl-modal {
    width: min(28rem, 100%);
    padding: 1.25rem 1.35rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(15, 61, 107, 0.28);
}

.dfl-modal__title {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    color: #0f3d6b;
}

.dfl-modal__body {
    margin: 0 0 1rem;
    color: #4b5563;
    line-height: 1.45;
}

.dfl-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.summary-rank-table__rank {
    font-weight: 800;
    color: #0f3d6b;
}

.summary-rank-table__pro {
    background: #e8f0fa;
    color: #003e7e;
}

.summary-rank-table__college {
    background: #d8ede4;
    color: #1b4332;
}

.summary-rank-table tbody tr:nth-child(even) td {
    background: #fafbfc;
}

.summary-rank-table tbody tr:nth-child(even) td.summary-rank-table__rank {
    background: #f3f6f9;
}

.summary-footnote {
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.summary-payout-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.summary-payout-block h3 {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f3d6b;
}

.summary-payout-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.summary-payout-list li {
    list-style: none;
}

.summary-payout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    font-size: 0.82rem;
}

.summary-payout-row + .summary-payout-row {
    margin-top: 0.35rem;
}

.summary-payout-row span {
    color: #4b5563;
}

.summary-payout-row strong {
    min-width: 4.5rem;
    text-align: right;
    color: #14532d;
    font-weight: 800;
    font-size: 0.95rem;
}

.summary-payout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.45rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    background: #ecfdf5;
    font-size: 0.82rem;
    font-weight: 700;
}

.summary-payout-total strong {
    color: #14532d;
    font-size: 0.95rem;
}

.summary-payout-block--accent {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
}

.sport-logo {
    display: block;
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .summary-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .summary-hero__title {
        font-size: 1.35rem;
    }

    .summary-matrix {
        font-size: 0.8rem;
    }

    .summary-matrix__sport-head {
        min-width: 5.75rem;
    }
}

.dfl-chat {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.dfl-chat__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f3d6b, #1a5490);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 61, 107, 0.35);
}

.dfl-chat__toggle:hover {
    filter: brightness(1.06);
}

.dfl-chat__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.dfl-chat__unread-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    max-width: min(22rem, calc(100vw - 2rem));
}

.dfl-chat__unread-sender {
    position: relative;
    flex: 0 0 auto;
}

.dfl-chat__unread-sender-badge {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(15, 61, 107, 0.25);
}

.dfl-chat__panel {
    width: min(22rem, calc(100vw - 2rem));
    height: min(28rem, calc(100vh - 6rem));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7e0ea;
    box-shadow: 0 16px 40px rgba(15, 61, 107, 0.28);
}

.dfl-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(135deg, #0f3d6b, #1a5490);
    color: #fff;
}

.dfl-chat__online {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
}

.dfl-chat__header-actions {
    display: flex;
    gap: 0.35rem;
}

.dfl-chat__icon-btn {
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 6px;
    padding: 0.2rem 0.45rem;
    font-size: 0.72rem;
    cursor: pointer;
}

.dfl-chat__icon-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}

.dfl-chat__presence {
    display: flex;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    overflow-x: auto;
    border-bottom: 1px solid #e8edf3;
    background: #f8fafc;
}

.dfl-chat__presence-user {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    padding: 0.15rem 0.45rem 0.15rem 0.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.72rem;
}

.dfl-chat__presence-name {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dfl-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: #f4f6f8;
}

.dfl-chat__empty {
    margin: auto 0;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.dfl-chat__message {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.dfl-chat__message--mine {
    justify-content: flex-end;
}

.dfl-chat__message--mine .dfl-chat__bubble {
    background: #dbeafe;
    border-color: #bfdbfe;
}

.dfl-chat__bubble {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 80%;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.dfl-chat__author {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0f3d6b;
}

.dfl-chat__text {
    font-size: 0.86rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.dfl-chat__time {
    font-size: 0.62rem;
    color: #64748b;
    align-self: flex-end;
}

.dfl-chat__error {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: #b91c1c;
    background: #fef2f2;
}

.dfl-chat__composer {
    display: flex;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.dfl-chat__input {
    flex: 1;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    font: inherit;
}

.dfl-chat__send {
    flex-shrink: 0;
}