﻿.team-hero {
    position: relative;
    padding: 24px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(circle at top right, rgba(99,102,241,.16), transparent 28%), linear-gradient(180deg, rgba(17,25,43,.96), rgba(5,11,24,.98));
    box-shadow: 0 20px 48px rgba(0,0,0,.30);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.team-hero-identity {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.team-hero-logo-shell {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 32px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}

.team-hero-logo {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

.team-hero-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .04em;
    color: #f8fbff;
}

.team-hero-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.team-hero-eyebrow {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(168,191,255,.85);
    margin-bottom: 8px;
}

.team-hero-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px; /* was too tight */
    margin-bottom: 6px;
}

.team-hero-title {
    margin: 0;
    font-size: 2.1rem; /* sweet spot */
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.team-hero-subtitle {
    margin-top: 10px;
    max-width: 900px;
    font-size: 1.04rem;
    line-height: 1.55;
    color: rgba(228,236,255,.84);
}

.team-hero-meta {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-hero-chip,
.team-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #f4f7ff;
}

.team-hero-pill {
    height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 999px;
}

.team-hero-pill-positive {
    color: #8df3c1;
    background: rgba(22,131,83,.16);
    border-color: rgba(125,240,182,.20);
}

.team-hero-pill-warn {
    color: #ffd88f;
    background: rgba(173,124,28,.14);
    border-color: rgba(255,208,110,.22);
}

.team-hero-pill-danger {
    color: #ffaaaa;
    background: rgba(176,54,54,.16);
    border-color: rgba(255,122,122,.22);
}

.team-hero-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.team-hero-back {
    min-width: 112px;
    height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.78);
    background: rgba(255,255,255,.02);
    transition: all .18s ease;
}

    .team-hero-back:hover {
        color: #ffffff;
        background: rgba(255,255,255,.06);
        transform: translateY(-1px);
    }

.team-hero-state {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.team-hero-state-score {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 14px;
    border-right: 1px solid rgba(255,255,255,.06);
}

.team-hero-state-score-label {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(188,204,245,.60);
}

.team-hero-state-score-value {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.team-hero-state-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-hero-state-summary {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 800;
    color: #ffffff;
}

.team-hero-state-reads {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: .95rem;
    line-height: 1.5;
    color: rgba(226,234,255,.80);
}

.team-hero-bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.team-hero-reads {
    display: contents;
}

.team-hero-read-index {
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .10em;
    color: rgba(148,179,255,.85);
}

.team-hero-read-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #f4f7ff;
    font-weight: 600;
}

.team-hero-controls {
    margin: 0;
}

.team-hero-read-card,
.team-hero-controls-card {
    min-height: 110px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.team-hero-read-card {
    background: rgba(255,255,255,.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.team-hero-controls-card {
    background: rgba(255,255,255,.045); /* slightly brighter */
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 18px rgba(0,0,0,.25);
}

.team-hero-controls-label {
    font-size: .75rem;
    letter-spacing: .1em;
}

.team-hero-select {
    height: 40px;
    border-radius: 12px;
    font-size: .9rem;
}

.team-hero-apply {
    height: 40px;
    border-radius: 12px;
    font-size: .85rem;
}

.team-hero-controls-label {
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(188,204,245,.72);
}

.team-hero-controls-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.team-hero-select {
    flex: 1 1 auto;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(8,14,28,.94);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    outline: none;
}

    .team-hero-select:focus {
        border-color: rgba(123,167,255,.45);
        box-shadow: 0 0 0 0.2rem rgba(123,167,255,.10);
    }

.team-hero-apply {
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.78);
    background: rgba(255,255,255,.02);
    color: #ffffff;
    font-size: .96rem;
    font-weight: 800;
}

    .team-hero-apply:hover {
        background: rgba(255,255,255,.06);
    }

@media (max-width: 1100px) {
    .team-hero-bottom {
        grid-template-columns: 1fr;
    }

    .team-hero-reads {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .team-hero-top {
        flex-direction: column;
    }

    .team-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .team-hero-state {
        grid-template-columns: 1fr;
    }

    .team-hero-state-score {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.06);
        padding-right: 0;
        padding-bottom: 12px;
    }
}

@media (max-width: 700px) {
    .team-hero {
        padding: 18px;
    }

    .team-hero-identity {
        flex-direction: column;
    }

    .team-hero-title {
        font-size: 1.95rem;
    }

    .team-hero-controls-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.team-terminal {
    display: grid;
    gap: 1.15rem;
}

.team-grid {
    display: grid;
    gap: 1rem;
}

.team-grid-top {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.95fr);
}

.team-grid-middle {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
}

.team-panel {
    padding: 1.2rem 1.2rem 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at top right, rgba(98, 144, 255, 0.11), transparent 34%), linear-gradient(180deg, rgba(18,24,37,0.94), rgba(11,16,28,0.96));
    box-shadow: 0 18px 42px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
}

.team-panel-alert {
    border-color: rgba(255, 185, 87, 0.18);
    background: rgba(31, 24, 12, 0.92);
}

.team-alert-title {
    font-size: 1rem;
    font-weight: 900;
    color: #fff2c9;
}

.team-alert-text {
    margin-top: 0.4rem;
    color: rgba(255, 240, 212, 0.82);
}

.team-controls {
    margin: 0;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-controls-label {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.64);
    font-weight: 800;
}

.team-controls-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.team-window-select {
    min-width: 0;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,18,31,.92);
    color: #f4f7ff;
    box-shadow: none;
}

    .team-window-select:focus {
        border-color: rgba(123,167,255,.45);
        box-shadow: 0 0 0 0.2rem rgba(123,167,255,.12);
        background: rgba(12,18,31,.96);
        color: #ffffff;
    }

.team-controls-apply-btn {
    height: 42px;
    border-radius: 12px;
    white-space: nowrap;
}

.team-reading-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.team-intelligence-banner {
    margin-top: 2px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 22px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
}

.team-intelligence-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 14px;
    border-right: 1px solid rgba(255,255,255,.07);
}

.team-intelligence-score-label {
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.58);
    font-weight: 800;
}

.team-intelligence-score-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.team-intelligence-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-intelligence-summary {
    font-size: 1.04rem;
    font-weight: 800;
    color: #f4f7ff;
    line-height: 1.45;
}

.team-intelligence-reads {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(225,233,250,.78);
    font-size: .92rem;
    line-height: 1.5;
}

.team-reading-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin: 0;
}

.team-reading-card {
    min-height: 106px;
}

.team-controls {
    margin: 0;
}

.team-controls-card {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-controls-label {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.64);
    font-weight: 800;
}

.team-controls-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.team-window-select {
    min-width: 0;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,18,31,.92);
    color: #f4f7ff;
    box-shadow: none;
}

    .team-window-select:focus {
        border-color: rgba(123,167,255,.45);
        box-shadow: 0 0 0 0.2rem rgba(123,167,255,.12);
        background: rgba(12,18,31,.96);
        color: #ffffff;
    }

.team-controls-btn {
    height: 44px;
    border-radius: 14px;
    padding: 0 18px;
    white-space: nowrap;
}

.team-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.team-status-positive {
    color: #86f5bc;
    background: rgba(24,139,88,.16);
    border: 1px solid rgba(125,240,182,.22);
}

.team-status-negative {
    color: #ff9e9e;
    background: rgba(186,56,56,.16);
    border: 1px solid rgba(255,122,122,.22);
}

.team-status-warn {
    color: #ffd88f;
    background: rgba(173,124,28,.14);
    border: 1px solid rgba(255,208,110,.22);
}

@media (max-width: 1100px) {
    .team-reading-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {

    .team-intelligence-banner {
        grid-template-columns: 1fr;
    }

    .team-intelligence-score {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .team-controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .team-controls-btn {
        width: 100%;
    }
}

.team-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
    color: rgba(229, 234, 248, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.team-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.82rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.08);
}

.team-status-positive {
    color: #9ee7c2;
    background: rgba(60, 201, 124, 0.12);
}

.team-status-negative {
    color: #ffb8b8;
    background: rgba(255, 94, 94, 0.12);
}

.team-reading-strip {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.team-reading-card {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.team-reading-index {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: rgba(171, 188, 227, 0.72);
    margin-bottom: 0.3rem;
}

.team-reading-text {
    color: #eef3ff;
    line-height: 1.52;
}

.team-controls {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.team-controls-label {
    color: rgba(214, 222, 244, 0.74);
    font-size: 0.88rem;
    font-weight: 700;
}

.team-window-select {
    max-width: 160px;
}

.team-kpi-grid,
.rotation-structure-grid,
.impact-summary-strip {
    display: grid;
    gap: 0.85rem;
}

.team-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.9rem;
}

.rotation-structure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.9rem;
}

.impact-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-kpi-card,
.rotation-card,
.impact-summary-card {
    padding: 1rem 1rem 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.team-kpi-top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}

.team-kpi-label,
.rotation-card-label,
.impact-summary-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(171, 188, 227, 0.72);
}

.team-kpi-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.65rem;
    margin-top: 0.55rem;
}

.team-kpi-value,
.rotation-card-value,
.impact-summary-value {
    font-size: 1.75rem;
    font-weight: 950;
    color: #f8fbff;
    line-height: 1;
}

.team-kpi-note,
.rotation-card-note,
.impact-summary-note,
.team-footnote,
.team-panel-footnote {
    margin-top: 0.35rem;
    color: rgba(201, 210, 234, 0.66);
    line-height: 1.5;
    font-size: 0.88rem;
}

.team-delta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.team-delta-positive {
    color: #9fe8c5;
    background: rgba(56, 201, 125, 0.11);
}

.team-delta-negative {
    color: #ffb0b0;
    background: rgba(255, 88, 88, 0.12);
}

.team-delta-neutral {
    color: rgba(228, 234, 248, 0.72);
    background: rgba(255,255,255,0.06);
}

.team-mini-reading {
    margin-top: 0.9rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
    color: rgba(237, 242, 255, 0.82);
    line-height: 1.5;
}

.team-divider {
    height: 1px;
    margin: 1rem 0;
    background: rgba(255,255,255,0.07);
}

.snapshot-delta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.snapshot-delta-title {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 237, 251, 0.84);
    margin-bottom: 0.55rem;
}

.snapshot-mover {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.62rem 0.75rem;
    border-radius: 14px;
    margin-bottom: 0.45rem;
    background: rgba(255,255,255,0.035);
}

.snapshot-mover-up .snapshot-mover-delta {
    color: #9fe8c5;
}

.snapshot-mover-down .snapshot-mover-delta {
    color: #ffb0b0;
}

.snapshot-mover-name,
.snapshot-mover-delta {
    font-weight: 800;
}

.snapshot-empty,
.team-empty-state {
    color: rgba(212, 220, 243, 0.70);
    line-height: 1.55;
}

.trend-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trend-tab {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    color: rgba(229, 234, 248, 0.82);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

    .trend-tab.is-active {
        background: rgba(98, 144, 255, 0.14);
        color: #cfe1ff;
        border-color: rgba(98, 144, 255, 0.18);
    }

.trend-summary-bar {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.trend-summary-item {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
}

.trend-summary-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(171, 188, 227, 0.72);
}

.trend-summary-value {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: #f8fbff;
}

.trend-chart-shell {
    margin-top: 0.95rem;
    height: 320px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
    padding: 0.9rem;
}

.delta-metric-list {
    display: grid;
    gap: 0.6rem;
}

.delta-metric-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
}

.delta-metric-name {
    font-weight: 800;
    color: #eef3ff;
}

.delta-metric-value {
    font-weight: 900;
}

.is-positive {
    color: #9fe8c5;
}

.is-negative {
    color: #ffb0b0;
}

.is-neutral {
    color: rgba(228, 234, 248, 0.72);
}

.snapshot-meta {
    display: grid;
    gap: 0.45rem;
    color: rgba(214, 222, 244, 0.78);
}

.team-impact-board {
    display: grid;
    gap: 1rem;
}

.impact-table-wrap {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(17,24,39,0.92), rgba(12,18,31,0.94));
}

.impact-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
}

    .impact-table thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        padding: 1rem 0.95rem;
        background: rgba(20, 28, 42, 0.97);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        color: #f4f7ff;
        font-size: 0.84rem;
        font-weight: 900;
        text-align: left;
        white-space: nowrap;
    }

    .impact-table tbody td {
        padding: 1rem 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: #eaf0ff;
        vertical-align: middle;
        white-space: nowrap;
    }

.impact-row {
    background: rgba(255,255,255,0.01);
}

    .impact-row:hover {
        background: rgba(255,255,255,0.035);
    }

.impact-row-top {
    background: linear-gradient(90deg, rgba(91, 141, 255, 0.10), transparent 24%), rgba(255,255,255,0.015);
}

.impact-col-player {
    min-width: 320px;
}

.impact-player {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.impact-rank {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 0.82rem;
    font-weight: 900;
    color: #f5f7ff;
}

.impact-headshot-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}

.impact-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.impact-player-name {
    font-size: 1rem;
    font-weight: 850;
    color: #f8faff;
    line-height: 1.15;
}

.impact-player-subline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.impact-player-id {
    color: rgba(199, 210, 236, 0.62);
    font-size: 0.83rem;
    font-weight: 700;
}

.impact-player-avail {
    color: rgba(226, 232, 249, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
}

.impact-status-pill,
.impact-tier,
.impact-risk-pill,
.impact-score-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.impact-status-pill {
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(255, 205, 87, 0.18);
    background: rgba(255, 205, 87, 0.10);
    color: #f6d676;
    font-size: 0.77rem;
}

.impact-tier {
    padding: 0.45rem 0.78rem;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: rgba(231, 237, 251, 0.82);
    font-size: 0.79rem;
}

.impact-tier-core {
    border-color: rgba(99, 161, 255, 0.20);
    background: rgba(99, 161, 255, 0.10);
    color: #b8d2ff;
}

.impact-tier-rotation {
    border-color: rgba(120, 180, 255, 0.18);
    background: rgba(120, 180, 255, 0.07);
    color: #c8dcff;
}

.impact-tier-bench {
    color: rgba(231, 237, 251, 0.72);
}

.impact-tier-fringe {
    color: rgba(231, 237, 251, 0.56);
}

.impact-score-stack {
    min-width: 145px;
}

.impact-score-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.impact-score-value {
    font-size: 1rem;
    font-weight: 900;
    color: #f8fbff;
}

.impact-score-label {
    padding: 0.28rem 0.58rem;
    font-size: 0.73rem;
}

.impact-score-label-elite {
    color: #b8d2ff;
    background: rgba(91, 141, 255, 0.14);
}

.impact-score-label-strong {
    color: #9ee5c2;
    background: rgba(50, 200, 120, 0.12);
}

.impact-score-label-active {
    color: #f5d67c;
    background: rgba(255, 205, 87, 0.11);
}

.impact-score-label-watch {
    color: #ffcb93;
    background: rgba(255, 148, 61, 0.12);
}

.impact-score-label-risk {
    color: #ffb0b0;
    background: rgba(255, 88, 88, 0.12);
}

.impact-score-bar {
    height: 8px;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}

.impact-score-fill {
    height: 100%;
    border-radius: 999px;
}

.impact-score-fill-elite {
    background: linear-gradient(90deg, rgba(122,177,255,0.92), rgba(147,121,255,0.96));
}

.impact-score-fill-strong {
    background: linear-gradient(90deg, rgba(80,210,140,0.92), rgba(113,226,184,0.96));
}

.impact-score-fill-active {
    background: linear-gradient(90deg, rgba(255,208,87,0.92), rgba(255,168,87,0.96));
}

.impact-score-fill-watch {
    background: linear-gradient(90deg, rgba(255,167,87,0.92), rgba(255,126,87,0.96));
}

.impact-score-fill-risk {
    background: linear-gradient(90deg, rgba(255,99,99,0.92), rgba(255,138,138,0.96));
}

.impact-risk-pill {
    padding: 0.36rem 0.66rem;
    font-size: 0.76rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.impact-risk-low {
    color: #9fe8c5;
    background: rgba(56, 201, 125, 0.11);
}

.impact-risk-medium {
    color: #f4d27a;
    background: rgba(255, 205, 87, 0.11);
}

.impact-risk-elevated {
    color: #ffbf86;
    background: rgba(255, 155, 61, 0.12);
}

.impact-risk-high {
    color: #ffb0b0;
    background: rgba(255, 88, 88, 0.12);
}

@media (max-width: 1200px) {
    .team-grid-top,
    .team-grid-middle {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .team-reading-strip,
    .impact-summary-strip,
    .trend-summary-bar,
    .team-kpi-grid,
    .rotation-structure-grid,
    .snapshot-delta-grid {
        grid-template-columns: 1fr;
    }

    .team-hero-main {
        flex-direction: column;
    }
}

#trendMetricDelta.is-positive {
    color: #9fe8c5;
}

#trendMetricDelta.is-negative {
    color: #ffb0b0;
}

.impact-player-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.impact-player-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateX(2px);
    opacity: 0.96;
}

    .impact-player-link:hover .impact-player-name {
        color: #cfe1ff;
    }

.team-availability-panel {
    border: 1px solid rgba(255,255,255,.08);
    background: radial-gradient(circle at top right, rgba(130,70,255,.10), transparent 26%), linear-gradient(180deg, rgba(22,28,44,.94), rgba(10,16,29,.98));
    box-shadow: 0 16px 36px rgba(0,0,0,.24);
}

.team-availability-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 14px;
    margin-top: 18px;
}

.team-availability-kpi-card {
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    border-radius: 20px;
    padding: 16px 16px 14px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-availability-kpi-label {
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.60);
    font-weight: 800;
}

.team-availability-kpi-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.team-availability-kpi-note {
    margin-top: auto;
    font-size: .82rem;
    line-height: 1.45;
    color: rgba(225,233,250,.70);
}

.team-availability-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.team-availability-col {
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    border-radius: 22px;
    padding: 16px;
}

.team-availability-title {
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.70);
    margin-bottom: 12px;
}

.team-availability-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-availability-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,.03);
}

    .team-availability-card.is-absence {
        background: linear-gradient(180deg, rgba(120,28,28,.18), rgba(255,255,255,.02));
        border-color: rgba(255,110,110,.18);
    }

    .team-availability-card.is-watch {
        background: linear-gradient(180deg, rgba(140,100,24,.14), rgba(255,255,255,.02));
        border-color: rgba(255,210,120,.16);
    }

.team-availability-player {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-availability-headshot {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255,255,255,.04);
    flex: 0 0 48px;
}

.team-availability-player-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.team-availability-player-name {
    font-size: 1rem;
    font-weight: 800;
    color: #f4f7ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-availability-player-subline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.team-availability-impact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 0 auto;
}

.team-availability-impact-label {
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.56);
    font-weight: 800;
}

.team-availability-impact-value {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
}

.team-chip-watch {
    color: #ffd88f;
    background: rgba(173,124,28,.14);
    border: 1px solid rgba(255,208,110,.22);
}

@media (max-width: 1200px) {
    .team-availability-kpi-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    .team-availability-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .team-availability-kpi-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .team-availability-kpi-grid {
        grid-template-columns: 1fr;
    }

    .team-availability-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-availability-impact {
        align-items: flex-start;
    }
}

.team-availability-impact-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
    margin-top: 10px;
}

.team-availability-impact-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffb347, #ff5c5c);
    box-shadow: 0 0 12px rgba(255,120,120,.5);
}

.team-chip-success {
    color: #7dffb3;
    background: rgba(40,160,90,.15);
    border: 1px solid rgba(120,255,180,.25);
}

.team-availability-kpi-card:first-child {
    border-color: rgba(255,90,90,.25);
    background: linear-gradient(180deg, rgba(120,20,20,.18), rgba(255,255,255,.02));
}

.team-availability-summary {
    margin-top: 10px;
    font-size: .9rem;
    color: rgba(220,230,255,.75);
}

.team-availability-impact-bar.small {
    height: 4px;
    margin-top: 8px;
}

.text-danger {
    color: #ff7a7a;
}

.text-warn {
    color: #ffcc66;
}

.team-status-warn {
    color: #ffd88f;
    background: rgba(173,124,28,.14);
    border: 1px solid rgba(255,208,110,.22);
}

.team-intelligence-banner {
    margin-top: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    border-radius: 20px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
}

.team-intelligence-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 12px;
    border-right: 1px solid rgba(255,255,255,.06);
}

.team-intelligence-score-label {
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(225,233,250,.58);
    font-weight: 800;
}

.team-intelligence-score-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.team-intelligence-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-intelligence-summary {
    font-size: 1rem;
    font-weight: 700;
    color: #f4f7ff;
    line-height: 1.45;
}

.team-intelligence-reads {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(225,233,250,.78);
    font-size: .92rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .team-intelligence-banner {
        grid-template-columns: 1fr;
    }

    .team-intelligence-score {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
        padding-bottom: 12px;
    }
}

.team-games-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-game-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px 110px 70px 70px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: linear-gradient( 180deg, rgba(255,255,255,.03), rgba(255,255,255,.015) );
}

.team-game-date {
    font-size: .85rem;
    color: var(--poc-muted);
}

.team-game-opponent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-game-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.team-game-opponent-info {
    display: flex;
    gap: 6px;
    align-items: center;
}

.team-game-venue {
    font-size: .8rem;
    color: rgba(180,190,210,.6);
    font-weight: 700;
}

.team-game-name {
    font-weight: 800;
    color: #f4f7ff;
}

.team-game-result {
    display: flex;
    align-items: center;
    justify-content: center; /* THIS fixes it */

    height: 26px;
    width: 42px; /* fixed width = perfect alignment */

    font-size: .75rem;
    font-weight: 900;
    border-radius: 999px;
}

    .team-game-result.win {
        background: rgba(16,185,129,.18);
        color: #6ee7b7;
    }

    .team-game-result.loss {
        background: rgba(239,68,68,.18);
        color: #fca5a5;
    }

.team-game-score {
    font-weight: 900;
    text-align: center;
    letter-spacing: .5px;
}

.team-game-margin {
    text-align: center;
    font-weight: 800;
}

    .team-game-margin.pos {
        color: #6ee7b7;
    }

    .team-game-margin.neg {
        color: #fca5a5;
    }

.team-game-total {
    text-align: right;
    padding-right: 6px;
}

.team-game-row {
    transition: all .18s ease;
}

    .team-game-row:hover {
        background: rgba(255,255,255,.045);
        transform: translateY(-1px);
        border-color: rgba(255,255,255,.12);
    }

.team-games-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.team-games-record {
    font-weight: 900;
    font-size: 1rem;
    color: #ffffff;
}

.team-games-label {
    font-size: .85rem;
    color: var(--poc-muted);
}

.team-games-trend-bar {
    display: flex;
    gap: 4px;
}

.team-games-trend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

    .team-games-trend-dot.win {
        background: #34d399;
    }

    .team-games-trend-dot.loss {
        background: #f87171;
    }

.team-games {
    margin-top: 20px;
    padding: 18px 18px 14px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(20,28,48,.92), rgba(8,14,28,.96));
}

.team-games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.team-games-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f4f7ff;
}

.team-games-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-games-record {
    font-weight: 900;
    font-size: .95rem;
    color: #ffffff;
}

.team-games-meta-label {
    font-size: .8rem;
    color: rgba(180,190,210,.7);
}

.team-games-trend {
    display: flex;
    gap: 3px;
}

.team-games-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

    .team-games-dot.win {
        background: #34d399;
    }

    .team-games-dot.loss {
        background: #f87171;
    }

.team-game-row-market {
    display: grid;
    grid-template-columns: 72px /* date */
    1.2fr /* opponent */
    54px /* W/L */
    88px /* score */
    64px /* margin */
    64px /* spread */
    88px /* ATS */
    68px /* ATS margin */
    64px /* total */
    72px /* O/U */
    72px; /* total margin */
    align-items: center;
    gap: 10px;
}

.team-game-row-head {
    display: grid;
    grid-template-columns: 72px 1.2fr 54px 88px 64px 64px 88px 68px 64px 72px 72px;
    gap: 10px;
    align-items: center;
    padding: 0 14px 8px;
    margin-bottom: 4px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(180,190,210,.62);
}

.team-game-market-line,
.team-game-market-margin,
.team-game-score,
.team-game-margin {
    text-align: right;
    font-weight: 800;
}

.team-game-market-result {
    text-align: center;
    font-size: .75rem;
    font-weight: 900;
    border-radius: 999px;
    padding: 4px 8px;
}

    .team-game-market-result.win {
        background: rgba(16,185,129,.18);
        color: #6ee7b7;
    }

    .team-game-market-result.loss {
        background: rgba(239,68,68,.18);
        color: #fca5a5;
    }

    .team-game-market-result.push {
        background: rgba(255,255,255,.08);
        color: rgba(220,230,245,.82);
    }

.team-games-read {
    margin-bottom: 12px;
    font-size: .9rem;
    line-height: 1.5;
    color: rgba(225,233,250,.78);
    font-weight: 600;
}

.team-playoff-outlook-panel {
    overflow: hidden;
}

.team-playoff-outlook-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.team-chip-playoff-status {
    color: #9fd0ff;
    background: rgba(61, 113, 212, 0.16);
    border: 1px solid rgba(125, 175, 255, 0.24);
}

.team-playoff-outlook-summary {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    color: rgba(236,241,255,.88);
    font-size: .98rem;
    line-height: 1.6;
    font-weight: 600;
}

.team-playoff-kpi-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.team-playoff-kpi-card {
    padding: 16px 16px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-playoff-kpi-label {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(188,204,245,.66);
}

.team-playoff-kpi-value {
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.team-playoff-kpi-note {
    font-size: .88rem;
    color: rgba(224,232,255,.72);
    font-weight: 700;
}

.team-playoff-kpi-bar,
.team-playoff-signal-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.team-playoff-kpi-bar-fill,
.team-playoff-signal-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(92,145,255,.95), rgba(130,228,196,.95));
}

.team-playoff-detail-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.6fr);
    gap: 14px;
}

.team-playoff-seed-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-playoff-block-label {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(188,204,245,.66);
}

.team-playoff-seed-main {
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 900;
    color: #ffffff;
}

.team-playoff-seed-sub {
    font-size: .92rem;
    color: rgba(226,234,255,.76);
    line-height: 1.5;
    font-weight: 600;
}

.team-playoff-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.team-playoff-signal-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-playoff-signal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.team-playoff-signal-label {
    font-size: .88rem;
    font-weight: 900;
    color: #ffffff;
}

.team-playoff-signal-pill {
    min-width: 62px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.08);
}

.team-outlook-tone-high {
    color: #91f0bd;
    background: rgba(22,131,83,.16);
    border-color: rgba(125,240,182,.20);
}

.team-outlook-tone-medium {
    color: #ffd88f;
    background: rgba(173,124,28,.14);
    border-color: rgba(255,208,110,.22);
}

.team-outlook-tone-low {
    color: #b9c8ee;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.10);
}

.team-playoff-signal-copy {
    font-size: .9rem;
    line-height: 1.5;
    color: rgba(224,232,255,.74);
    font-weight: 600;
}

.team-playoff-footer {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-playoff-footer-chip {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 800;
    color: #f4f7ff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 1100px) {
    .team-playoff-kpi-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .team-playoff-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .team-playoff-kpi-grid,
    .team-playoff-signal-grid {
        grid-template-columns: 1fr;
    }

    .team-playoff-outlook-actions {
        justify-content: flex-start;
    }
}

/* ---------------------------------------------------------
   PLAYOFF OUTLOOK POLISH
   --------------------------------------------------------- */

.team-playoff-outlook-summary {
    margin-top: 14px;
    padding: 13px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    color: rgba(236,241,255,.88);
    font-size: .96rem;
    line-height: 1.55;
    font-weight: 600;
}

.team-playoff-kpi-value {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.team-playoff-detail-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(240px, .78fr) minmax(0, 1.72fr);
    gap: 14px;
}

.team-playoff-seed-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.team-playoff-seed-main {
    font-size: 1.12rem;
    line-height: 1.35;
    font-weight: 900;
    color: #ffffff;
}

.team-playoff-seed-sub {
    font-size: .9rem;
    color: rgba(226,234,255,.76);
    line-height: 1.45;
    font-weight: 600;
}

.team-playoff-signal-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-playoff-signal-pill {
    min-width: 64px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.team-playoff-signal-bar {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.team-playoff-signal-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(92,145,255,.95), rgba(130,228,196,.95));
}

/* tone-based bar colors */
.team-playoff-signal-card:has(.team-outlook-tone-high) .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, #34d399, #86efac);
}

.team-playoff-signal-card:has(.team-outlook-tone-medium) .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, #fbbf24, #fde68a);
}

.team-playoff-signal-card:has(.team-outlook-tone-low) .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, rgba(92,145,255,.9), rgba(130,160,220,.7));
}

.team-chip-playoff-status,
.team-status-pill.team-status-positive,
.team-status-pill.team-status-negative,
.team-status-pill.team-status-warn {
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.team-playoff-action-read {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
    color: rgba(229,236,255,.82);
    font-size: .92rem;
    line-height: 1.55;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .team-playoff-detail-grid {
        grid-template-columns: 1fr;
    }
}

.team-playoff-signal-card.tone-high .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, #34d399, #86efac);
}

.team-playoff-signal-card.tone-medium .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, #fbbf24, #fde68a);
}

.team-playoff-signal-card.tone-low .team-playoff-signal-bar-fill {
    background: linear-gradient(90deg, rgba(92,145,255,.9), rgba(130,160,220,.7));
}