* {
    box-sizing: border-box;
}

:root {
    --bg: #101114;
    --panel: #181b20;
    --panel-soft: #22262d;
    --text: #f6f2ea;
    --muted: #a9a9a9;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #e8503f;
    --accent-2: #18b7a6;
    --gold: #f2b84b;
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 17, 20, 0.86);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #1b1111;
    font-size: 18px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #d7d1c5;
    font-size: 14px;
}

.site-nav a:hover,
.site-nav .active {
    color: #fff;
}

.mobile-nav-head,
.mobile-nav-section,
.mobile-nav-status,
.mobile-site-nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-menu {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: #151515;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-ghost {
    border-color: var(--line);
    background: transparent;
    color: var(--text);
}

.btn-small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(16, 17, 20, 0.94) 0%, rgba(16, 17, 20, 0.55) 48%, rgba(16, 17, 20, 0.22) 100%),
        linear-gradient(0deg, rgba(16, 17, 20, 1) 0%, rgba(16, 17, 20, 0) 38%);
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 86px;
}

.eyebrow {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 14px;
    max-width: 620px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero p {
    max-width: 560px;
    margin: 0 0 26px;
    color: #e6dfd2;
    font-size: 18px;
}

.hero-meta,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #d9d0c0;
    font-size: 13px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #f2efe8;
    background: rgba(255, 255, 255, 0.08);
}

.paid-pill {
    border-color: rgba(232, 80, 63, 0.72);
    background: rgba(232, 80, 63, 0.18);
    color: #ffd4ce;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.section {
    padding: 44px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 24px;
}

.section-note {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--muted);
}

.category-band {
    padding-bottom: 22px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.category-card {
    display: flex;
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--panel);
}

.category-card:hover {
    border-color: rgba(232, 80, 63, 0.7);
    background: rgba(232, 80, 63, 0.12);
}

.category-card strong {
    font-size: 15px;
}

.category-card span {
    color: var(--muted);
    font-size: 12px;
}

.category-page-heading {
    align-items: flex-end;
}

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

.category-card-large {
    min-height: 104px;
    padding: 18px;
}

.category-card-large strong {
    font-size: 18px;
}

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 210px);
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 16px;
    scrollbar-color: #444 transparent;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 22px;
}

.series-card {
    min-width: 0;
}

.poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.series-card:hover .poster img {
    transform: scale(1.04);
}

.badge-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    display: inline-flex;
    width: max-content;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(16, 17, 20, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.badge.member {
    background: rgba(232, 80, 63, 0.92);
}

.badge.free {
    background: rgba(242, 184, 75, 0.92);
    color: #1b1111;
}

.badge.new {
    background: rgba(24, 183, 166, 0.92);
}

.card-title {
    margin: 10px 0 4px;
    font-size: 15px;
    line-height: 1.3;
}

.card-meta {
    color: var(--muted);
    font-size: 13px;
}

.browse-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0 60px;
}

.filter-panel {
    position: sticky;
    top: 84px;
    align-self: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--panel);
}

.filter-panel h3 {
    margin: 0 0 14px;
    font-size: 15px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #d9d5cd;
}

.filter-list small {
    color: var(--muted);
}

.filter-list a.active,
.filter-list a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 14px;
}

.category-strip a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
    color: #d9d5cd;
}

.category-strip a.active,
.category-strip a:hover {
    border-color: rgba(242, 184, 75, 0.6);
    color: #fff;
    background: rgba(242, 184, 75, 0.12);
}

.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 96px;
    gap: 10px;
    margin-bottom: 22px;
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #15171b;
    color: var(--text);
    padding: 0 12px;
}

.textarea {
    min-height: 120px;
    padding: 12px;
    resize: vertical;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 34px;
    padding: 42px 0 30px;
}

.detail-page {
    position: relative;
}

.detail-back {
    position: absolute;
    top: 22px;
    left: 0;
    z-index: 4;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(15, 17, 22, 0.76);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(14px);
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--panel-soft);
}

.detail-poster img {
    display: block;
    width: 100%;
}

.detail-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.detail-copy .hook {
    color: var(--gold);
    font-size: 19px;
    font-weight: 700;
}

.detail-copy p {
    color: #d7d1c5;
    max-width: 760px;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}

.episode-link {
    min-height: 62px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: var(--panel);
}

.episode-link:hover,
.episode-link.active {
    border-color: rgba(232, 80, 63, 0.9);
    background: rgba(232, 80, 63, 0.14);
}

.episode-link.locked {
    border-color: rgba(232, 80, 63, 0.34);
    background: linear-gradient(135deg, rgba(232, 80, 63, 0.16), rgba(255, 255, 255, 0.04));
}

.episode-title {
    display: block;
    font-weight: 800;
}

.episode-state {
    color: var(--muted);
    font-size: 12px;
}

.episode-state.paid {
    color: #ffb8ae;
    font-weight: 800;
}

.episode-state.free {
    color: #f6dfaa;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 28px 0 54px;
}

.player-panel {
    min-width: 0;
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: #050506;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050506;
}

.video-empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--muted);
    text-align: center;
    padding: 24px;
}

.player-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
}

.player-meta h1 {
    margin: 0;
    font-size: 24px;
}

.player-access {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.paywall-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.paywall-inline span {
    color: #f6dfaa;
}

.sidebar-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 14px;
}

.sidebar-panel h3 {
    margin: 0 0 12px;
}

.episode-list {
    display: grid;
    gap: 8px;
    max-height: 540px;
    overflow: auto;
}

.watch-page-body {
    overflow: hidden;
    background: #000;
}

.watch-page-body .site-header,
.watch-page-body .footer,
.watch-page-body .mobile-site-nav {
    display: none;
}

.watch-page-body .flash {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 70;
    width: min(520px, calc(100% - 32px));
    transform: translateX(-50%);
}

.watch-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.watch-player-shell {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    touch-action: none;
    transform: translate3d(0, var(--watch-drag-y, 0px), 0);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.watch-fullscreen.watch-dragging .watch-player-shell {
    transition: none;
}

.watch-fullscreen.watch-transitioning .watch-player-shell {
    transition: transform 210ms cubic-bezier(0.2, 0.86, 0.26, 1);
}

.watch-video-frame {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
    place-items: center;
    background: #000;
}

.watch-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.watch-vignette {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.watch-vignette-top {
    top: 0;
    height: 32%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.watch-vignette-bottom {
    bottom: 0;
    height: 56%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}

.watch-overlay {
    position: absolute;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.watch-fullscreen.watch-ui-visible .watch-vignette,
.watch-fullscreen.watch-ui-visible .watch-overlay,
.watch-fullscreen.watch-ui-visible .watch-episode-dots {
    opacity: 1;
    visibility: visible;
}

.watch-overlay a,
.watch-overlay button,
.watch-overlay details,
.watch-overlay summary {
    pointer-events: auto;
}

.watch-overlay-top {
    top: max(22px, env(safe-area-inset-top));
    right: 28px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.watch-back {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(7, 8, 10, 0.58);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(14px);
}

.watch-top-title {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.watch-top-title span,
.watch-top-title small {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.watch-top-title strong {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.watch-overlay-bottom {
    right: 120px;
    bottom: max(28px, env(safe-area-inset-bottom));
    left: 34px;
}

.watch-copy {
    width: min(720px, 100%);
}

.watch-copy h1 {
    max-width: 18ch;
    margin: 6px 0 8px;
    color: #fff;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.98;
}

.watch-copy p {
    display: -webkit-box;
    max-width: 640px;
    margin: 0 0 14px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.watch-copy .player-access {
    margin-top: 0;
}

.watch-paywall {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border: 1px solid rgba(232, 80, 63, 0.42);
    border-radius: 999px;
    padding: 8px 8px 8px 16px;
    background: rgba(8, 9, 12, 0.66);
    backdrop-filter: blur(16px);
}

.watch-paywall strong {
    color: #fff;
    font-size: 13px;
}

.watch-episode-picker {
    position: relative;
    width: min(360px, 100%);
    margin-top: 16px;
}

.watch-episode-picker summary {
    display: flex;
    min-height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(9, 10, 13, 0.64);
    color: #fff;
    list-style: none;
    backdrop-filter: blur(16px);
}

.watch-episode-picker summary::-webkit-details-marker {
    display: none;
}

.watch-episode-picker summary span {
    color: rgba(255, 255, 255, 0.72);
}

.watch-mini-list {
    position: absolute;
    bottom: 50px;
    left: 0;
    display: grid;
    width: min(420px, calc(100vw - 64px));
    max-height: 280px;
    gap: 8px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 10px;
    background: rgba(9, 10, 13, 0.86);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
}

.watch-mini-list .episode-link {
    min-height: 48px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.watch-episode-dots {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 4;
    display: grid;
    gap: 7px;
    opacity: 0;
    transform: translateY(-50%);
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.watch-episode-dots span {
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.watch-episode-dots span.active {
    height: 32px;
    background: #e8503f;
}

.watch-route-empty .watch-player-shell::after {
    position: absolute;
    inset: 0;
    z-index: 8;
    content: "";
    border: 4px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
    animation: watchRoutePulse 260ms ease;
}

@keyframes watchRoutePulse {
    from {
        opacity: 0.6;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.98);
    }
}

.subscribe-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}

.subscribe-modal.show {
    display: flex;
}

.modal-box {
    width: min(440px, 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #17191f;
    padding: 24px;
}

.modal-box h2 {
    margin: 0 0 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 30px 0 60px;
}

.checkout-heading {
    align-items: flex-end;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
    padding: 20px 0 60px;
}

.checkout-section {
    min-width: 0;
}

.checkout-summary {
    position: sticky;
    top: 86px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--panel);
}

.checkout-section-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-section-title h2 {
    margin: 0;
    font-size: 20px;
}

.checkout-section-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.step-badge {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.pricing-grid.selectable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
}

.plan-choice,
.payment-choice {
    display: block;
    cursor: pointer;
}

.choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: var(--panel);
}

.plan-choice .plan-card {
    min-height: 100%;
    padding-top: 42px;
}

.plan-card.recommended {
    border-color: rgba(242, 184, 75, 0.9);
    box-shadow: 0 0 0 1px rgba(242, 184, 75, 0.22);
}

.choice-input:checked + .plan-card,
.choice-input:checked + .payment-card {
    border-color: rgba(232, 80, 63, 0.95);
    box-shadow: 0 0 0 2px rgba(232, 80, 63, 0.22);
}

.choice-dot {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
}

.choice-input:checked + .plan-card .choice-dot,
.choice-input:checked + .payment-card .choice-dot {
    border-color: var(--accent);
    background: radial-gradient(circle at center, var(--accent) 0 42%, transparent 46%);
}

.plan-label {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(242, 184, 75, 0.16);
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.price {
    display: block;
    margin: 16px 0 4px;
    font-size: 32px;
    font-weight: 900;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
}

.benefits {
    display: block;
    margin: 18px 0;
    padding: 0;
    list-style: none;
    color: #d8d3ca;
}

.benefits li,
.benefits span {
    display: block;
    margin: 8px 0;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-card {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 44px 14px 14px;
    background: #15171b;
}

.payment-card strong,
.payment-card small {
    display: block;
}

.payment-card small {
    margin-top: 4px;
    color: var(--muted);
}

.checkout-lock {
    margin: 16px 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.checkout-button {
    width: 100%;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.payment-panel,
.payment-summary {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    padding: 20px;
}

.payment-panel h2,
.payment-summary h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.payment-panel h2:not(:first-child) {
    margin-top: 22px;
}

.summary-row,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.summary-row span,
.summary-total span {
    color: var(--muted);
}

.summary-total {
    border-bottom: 0;
    font-size: 18px;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

.field label,
.auth-panel label {
    display: block;
    margin: 10px 0 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

button:disabled,
.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.account-grid,
.auth-panel {
    width: min(920px, calc(100% - 40px));
    margin: 36px auto 70px;
}

.auth-panel {
    width: min(420px, calc(100% - 40px));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--panel);
}

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

.form-stack {
    display: grid;
    gap: 14px;
}

.notice {
    border: 1px solid rgba(242, 184, 75, 0.4);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: rgba(242, 184, 75, 0.1);
    color: #f6dfaa;
}

.flash {
    width: min(1180px, calc(100% - 40px));
    margin: 16px auto 0;
    border-radius: var(--radius);
    padding: 12px 14px;
    background: rgba(24, 183, 166, 0.14);
    color: #aef7ed;
}

.flash.error {
    background: rgba(232, 80, 63, 0.16);
    color: #ffd1cb;
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 28px 36px;
}

@media (max-width: 860px) {
    .site-header {
        padding: 0 16px;
    }

    .icon-menu {
        display: inline-grid;
        place-items: center;
    }

    .site-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 70px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 10px;
        background: #15171b;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 10px;
    }

    .hero {
        min-height: 82vh;
    }

    .hero-content {
        padding-bottom: 56px;
    }

    .browse-layout,
    .detail-hero,
    .watch-layout,
    .checkout-grid,
    .payment-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .pricing-grid.selectable {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .filter-list {
        flex-direction: row;
        overflow-x: auto;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .player-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
