html, body {
    margin: 0;
    background: #10140f;
    color: #f4f7f2;
    font-family: "Segoe UI", sans-serif;
}

.pbp-page {
    padding: calc(var(--mud-appbar-height, 64px) + 24px) 24px 48px;
}

.watch-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    gap: 12px;
    align-items: start;
}

.side-panel {
    background: #101814;
    border: 1px solid #243028;
    border-radius: 12px;
    padding: 12px;
    min-height: 240px;
}

.side-panel h2 {
    margin: 0 0 8px;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.side-panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.side-panel th,
.side-panel td {
    padding: 4px 2px;
    text-align: right;
}

.side-panel th:first-child,
.side-panel td:first-child,
.side-panel thead th:first-child {
    text-align: left;
}

.side-panel thead th {
    color: #9aab9e;
    font-weight: 600;
}

@media (max-width: 900px) {
    .watch-row {
        grid-template-columns: 1fr;
    }
}

.broadcast-stage {
    position: relative;
    background: #07140c;
    border-radius: 12px;
    overflow: hidden;
}

.broadcast-stage canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    background: #0b3d1e;
}

.broadcast-stage canvas.overlay {
    background: transparent;
}

.broadcast-stage video.plate {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.processed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.processed-copy {
    min-width: 0;
}

.processed-actions {
    flex: none;
    margin-left: auto;
}

@media (max-width: 800px) {
    .processed-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .processed-actions {
        margin-left: 0;
    }
}

.generate-progress {
    margin: 0.75rem 0 0.25rem;
}

.progress-label {
    margin: 0.45rem 0 0;
    color: #c5d0c2;
}

.video-pop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 12, 9, 0.84);
}

.video-pop-panel {
    width: min(1100px, 100%);
    overflow: hidden;
    background: #10140f;
    border: 1px solid #243028;
    border-radius: 12px;
}

.video-pop-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 4px 16px;
}

.video-pop-panel video {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}

.caption {
    min-height: 3rem;
    font-size: 1.25rem;
    margin: 0.75rem 0;
}

.stats {
    color: #c5d0c2;
}

.site-shell {
    --site-column: min(1180px, calc(100% - 48px));
}

.site-shell .mud-appbar.site-bar {
    background: rgba(16, 20, 15, 0.92);
    border-bottom: 1px solid #243028;
    backdrop-filter: blur(10px);
}

.site-shell .site-bar .mud-toolbar {
    padding-left: 0;
    padding-right: 0;
}

.site-bar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.site-shell .site-bar-inner {
    width: var(--site-column);
    margin-inline: auto;
}

.mud-button-root.site-mark {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-nav {
    color: #c5d0c2;
}

a.mud-button-root.site-mark,
a.mud-button-root.site-nav {
    transition: none;
}

a.mud-button-root.site-nav-current,
a.mud-button-root.site-nav-current:hover {
    color: #7CDA6E;
    font-weight: 700;
    background-color: rgba(124, 218, 110, 0.14);
}

.site-shell {
    min-height: 100vh;
}

.pbp-public {
    padding: calc(var(--mud-appbar-height, 64px)) 0 48px;
}

.site-footer {
    width: var(--site-column);
    margin: 0 auto;
    padding: 28px 0 36px;
    border-top: 1px solid #243028;
    color: #9aab9e;
    font-size: 0.85rem;
    line-height: 1.5;
}

.site-footer-brand {
    display: inline-block;
    margin-bottom: 12px;
}

.site-footer-brand img {
    display: block;
    height: 28px;
    width: auto;
}

.site-footer p { margin: 0; }

.sell-hero,
.sell-points,
.sell-sports {
    width: var(--site-column);
    margin: 0 auto;
}

.sell-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.35fr);
    gap: 56px;
    align-items: center;
    padding: 24px 0;
}

.sell-hero.is-film {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}

.sell-hero.is-film video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.sell-hero.is-film::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(16, 20, 15, 0.88) 0%, rgba(16, 20, 15, 0.62) 46%, rgba(16, 20, 15, 0.28) 100%);
}

.sell-hero.is-film .sell-copy {
    position: relative;
    z-index: 2;
    width: var(--site-column);
    margin: 0 auto;
    padding: 40px 0 36px;
}

.sell-hero.is-film .sell-copy h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.sell-kicker {
    margin: 0 0 12px;
    color: #7CDA6E;
    font-size: 0.85rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sell-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 650;
}

.sell-lead {
    margin: 20px 0 0;
    max-width: 38rem;
    color: #c5d0c2;
    font-size: 1.15rem;
    line-height: 1.5;
}

.sell-cta {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #7CDA6E;
    color: #10210e;
    font-weight: 700;
    text-decoration: none;
}

.sell-cta:hover {
    background: #9ae88e;
}

.air-field {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #062814 0 8%, transparent 8% 92%, #062814 92% 100%),
        repeating-linear-gradient(90deg, transparent 0 9.2%, rgba(255, 255, 255, 0.28) 9.2% 9.45%),
        #0b3d1e;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.air-end {
    position: absolute;
    top: 42%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.air-end.left { left: 1.6%; }
.air-end.right { right: 1.6%; }

.air-los,
.air-first {
    position: absolute;
    top: 0;
    bottom: 72px;
    width: 2px;
}

.air-los { left: 46%; background: #4682ff; }
.air-first { left: 62%; background: #ffd640; }

.air-ball {
    position: absolute;
    left: 48%;
    top: 46%;
    width: 14px;
    height: 9px;
    border-radius: 50%;
    background: #f4f7f2;
    box-shadow: 0 0 0 6px rgba(61, 220, 106, 0.35);
}

.air-bug {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(10, 14, 20, 0.82);
    color: white;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.air-bug strong { font-size: 1.7rem; letter-spacing: -0.03em; }

.air-clock {
    min-width: 4.5rem;
    text-align: center;
    font-weight: 700;
}

.air-clock small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.air-caption {
    margin: 14px 2px 0;
    color: #f4f7f2;
    font-size: 1.2rem;
    font-weight: 650;
}

.air-note {
    margin: 10px 2px 0;
    color: #9aab9e;
    font-size: 0.85rem;
}

.sell-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 0 8px;
}

.sell-points article {
    padding-top: 18px;
    border-top: 1px solid #243028;
}

.sell-points h2,
.sell-sports h2,
.sport-card strong {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.sell-points p,
.sport-card p {
    margin: 10px 0 0;
    color: #c5d0c2;
    line-height: 1.5;
}

.sell-sports { padding-top: 28px; }

.sell-sports h2 {
    margin-bottom: 16px;
}

.sport-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.sport-card {
    display: block;
    padding: 22px;
    border: 1px solid #243028;
    border-radius: 16px;
    background: #161d15;
    color: inherit;
    text-decoration: none;
}

.sport-card:hover { border-color: #7CDA6E; }

.sport-card span {
    display: block;
    margin-bottom: 8px;
    color: #7CDA6E;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .sell-hero,
    .sell-points {
        grid-template-columns: 1fr;
    }

    .sell-hero {
        padding: 28px 0 8px;
        gap: 28px;
    }

    .sell-hero.is-film {
        width: 100%;
        padding: 0;
    }

    .site-shell {
        --site-column: min(1120px, calc(100% - 32px));
    }
}
