:root {
    --fs-orange: #f97316;
    --fs-orange-dark: #c2410c;
    --fs-ink: #0f172a;
    --fs-muted: #64748b;
    --fs-border: #dbe4ee;
    --fs-panel: #ffffff;
    --fs-page: #eef2f7;
}

body.watch-listen-page,
body.creator-hub-page,
body.creator-onboarding-page,
body.creator-public-page,
body.creator-video-page {
    margin: 0;
    color: var(--fs-ink);
    background: var(--fs-page);
    font-family: 'Inter', sans-serif;
}

.watch-top-nav {
    min-height: 68px;
    border-bottom: 1px solid var(--fs-border);
    box-shadow: 0 1px 10px rgba(15, 23, 42, .06);
}

.watch-shell,
.creator-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.watch-panel,
.creator-panel {
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: var(--fs-panel);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.watch-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #111827;
    isolation: isolate;
}

.watch-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 20%, rgba(249, 115, 22, .78), transparent 32%),
        radial-gradient(circle at 92% 12%, rgba(20, 184, 166, .42), transparent 35%),
        linear-gradient(135deg, #111827 4%, #1e293b 56%, #172554 100%);
}

.watch-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image: linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.28) 46.3% 46.8%, transparent 47.1% 100%);
    background-size: 240px 240px;
}

.watch-eyebrow,
.creator-eyebrow {
    color: #fdba74;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.watch-hero-title {
    max-width: 720px;
    margin: .7rem 0 0;
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.watch-hero-copy {
    max-width: 660px;
    margin-top: 1rem;
    color: #cbd5e1;
    font-size: 1.04rem;
    line-height: 1.7;
}

.watch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .7rem 1rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.watch-button:hover { transform: translateY(-1px); }
.watch-button-primary { color: #fff; background: var(--fs-orange); box-shadow: 0 8px 18px rgba(249, 115, 22, .25); }
.watch-button-primary:hover { background: #ea580c; }
.watch-button-secondary { color: #e2e8f0; border: 1px solid rgba(226, 232, 240, .32); background: rgba(15, 23, 42, .22); }
.watch-button-secondary:hover { background: rgba(15, 23, 42, .52); }
.watch-button-light { color: var(--fs-orange-dark); border: 1px solid #fed7aa; background: #fff7ed; }
.watch-button-light:hover { background: #ffedd5; }

.watch-feed-finish {
    display: grid;
    justify-items: center;
    gap: .3rem;
    padding: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    background: rgba(255,255,255,.72);
    text-align: center;
}
.watch-feed-finish strong { color: #0f172a; }

.watch-featured-stage {
    min-height: 280px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(15,23,42,.2), rgba(15,23,42,.78)),
        radial-gradient(circle at 72% 25%, #fb923c, transparent 25%),
        linear-gradient(135deg, #334155, #0f172a 68%);
}

.watch-play-button {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(249, 115, 22, .95);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .28);
}

.watch-tabs {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    scrollbar-width: thin;
}

.watch-tab {
    flex: 0 0 auto;
    padding: .58rem .9rem;
    border: 1px solid var(--fs-border);
    border-radius: 999px;
    color: #475569;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.watch-tab:hover,
.watch-tab.active {
    color: #fff;
    border-color: var(--fs-orange);
    background: var(--fs-orange);
}

.watch-content-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.watch-content-card:hover { transform: translateY(-2px); border-color: #fdba74; box-shadow: 0 10px 22px rgba(15,23,42,.08); }
.watch-content-card.is-filtered { display: none; }

.watch-published-section { border-top: 1px solid #e2e8f0; padding-top: 1.5rem; }
.watch-published-section[hidden] { display: none; }
.watch-published-section.is-filtered { display: none; }
.watch-published-card { min-width: 0; overflow: hidden; }
.watch-published-art { position: relative; display: grid; min-height: 142px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0f172a, #334155); }
.watch-published-thumb { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 142px; object-fit: cover; }
.watch-published-art[data-creator-media-shape="portrait"] .watch-published-thumb,
.watch-published-art[data-creator-media-shape="square"] .watch-published-thumb { width: auto; max-width: 100%; object-fit: contain; }
.watch-published-placeholder { display: grid; min-height: 142px; place-items: center; font-size: 2.25rem; color: #fb923c; }
.watch-published-play { position: absolute; right: .75rem; bottom: .75rem; display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 999px; color: #fff; background: rgba(15, 23, 42, .78); }

.creator-video-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr); gap: 1.25rem; align-items: start; }
.creator-video-player-wrap { overflow: hidden; background: #020617; --creator-media-aspect: 16 / 9; }
.creator-video-player-wrap mux-player { display: block; width: 100%; aspect-ratio: var(--creator-media-aspect); --media-object-fit: contain; --media-object-position: center; }
.creator-video-player-wrap[data-creator-media-shape="portrait"] { display:grid; width:min(calc(100% - 2rem),var(--creator-media-portrait-width,39.375vh),460px); place-items:center; margin:1.25rem auto; border:1px solid #334155; border-radius:18px; overflow:hidden; background:#020617 var(--creator-media-poster) center/contain no-repeat; box-shadow:0 18px 40px rgba(15,23,42,.22); }
.creator-video-player-wrap[data-creator-media-shape="portrait"] mux-player { width:100%; height:auto; aspect-ratio:var(--creator-media-aspect); border:0; border-radius:17px; overflow:hidden; }
.creator-video-player-wrap[data-creator-media-shape="square"] { width: min(calc(100% - 2rem), 680px); margin: 1.25rem auto; border: 1px solid #334155; border-radius: 18px; box-shadow: 0 18px 40px rgba(15,23,42,.18); }
.creator-video-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.creator-video-actions .watch-button { min-height: 38px; padding: .55rem .8rem; font-size: .82rem; }
.creator-video-creator-avatar { display: inline-grid; width: 3.2rem; height: 3.2rem; flex: 0 0 3.2rem; place-items: center; overflow: hidden; border: 2px solid #fdba74; border-radius: 999px; color: #c2410c; background: #fff7ed; font-weight: 900; }
.creator-video-creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-video-comment-form { border: 1px solid #fed7aa; border-radius: 14px; padding: 1rem; background: #fffaf5; }
.creator-video-comment-form textarea,
.creator-video-reply-form textarea { display: block; width: 100%; resize: vertical; border: 1px solid #cbd5e1; border-radius: 10px; padding: .75rem .85rem; color: #0f172a; background: #fff; outline: none; font: inherit; }
.creator-video-comment-form textarea:focus,
.creator-video-reply-form textarea:focus { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249,115,22,.14); }
.creator-video-comment-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .75rem; }
.creator-video-comment { padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
.creator-video-comment.is-reply { margin-left: 2.4rem; padding-left: 1rem; border-left: 2px solid #fed7aa; border-bottom: 0; }
.creator-video-comment-avatar { display: grid; width: 2.35rem; height: 2.35rem; flex: 0 0 2.35rem; place-items: center; overflow: hidden; border-radius: 999px; color: #c2410c; background: #ffedd5; font-size: .78rem; font-weight: 900; }
.creator-video-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-video-comment-reply { margin-top: .45rem; color: #c2410c; font-size: .8rem; font-weight: 800; }
.creator-video-comment-reply:hover { color: #9a3412; text-decoration: underline; }
.creator-video-reply-form { margin-top: .7rem; border-radius: 10px; padding: .7rem; background: #f8fafc; }
.creator-video-comments-empty { padding: 2rem; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; text-align: center; }
.creator-video-comments-empty i { margin-bottom: .6rem; color: #fb923c; font-size: 1.5rem; }

@media (max-width: 850px) {
    .creator-video-layout { grid-template-columns: 1fr; }
}

.watch-card-art {
    position: relative;
    display: flex;
    min-height: 142px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #334155);
}

.watch-card-art.orange { background: linear-gradient(135deg, #9a3412, #fb923c); }
.watch-card-art.teal { background: linear-gradient(135deg, #115e59, #2dd4bf); }
.watch-card-art.blue { background: linear-gradient(135deg, #1e3a8a, #60a5fa); }
.watch-card-art.purple { background: linear-gradient(135deg, #581c87, #c084fc); }
.watch-card-art::after { content: ''; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px); background-size: 18px 18px; }
.watch-card-art > * { position: relative; z-index: 1; }

.watch-format-badge,
.watch-live-badge {
    position: absolute;
    top: .7rem;
    left: .7rem;
    z-index: 2;
    padding: .28rem .5rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, .62);
    font-size: .7rem;
    font-weight: 800;
}

.watch-live-badge { right: .7rem; left: auto; color: #fee2e2; background: rgba(153, 27, 27, .82); }

.watch-role-card {
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.watch-role-card:hover { transform: translateY(-2px); border-color: #fdba74; background: #fffaf5; }

.watch-role-icon,
.creator-tab-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--fs-orange-dark);
    background: #fff7ed;
}

.watch-empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: var(--fs-muted);
    background: #f8fafc;
}

.creator-hero {
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(120deg, #111827, #1e293b 55%, #7c2d12);
}

.creator-command-bar {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(120deg, #111827, #1e293b 58%, #7c2d12);
    box-shadow: 0 12px 28px rgba(15,23,42,.12);
}
.creator-command-identity { display: flex; min-width: 0; align-items: center; gap: 1rem; }
.creator-command-mark { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 14px; color: #fff; background: #f97316; font-size: 1.1rem; }
.creator-command-identity h1 { margin: .15rem 0 0; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 900; line-height: 1; }
.creator-command-identity p { margin: .4rem 0 0; color: #cbd5e1; font-size: .92rem; }
.creator-command-actions { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.creator-command-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(226,232,240,.32); border-radius: 11px; color: #e2e8f0; background: rgba(15,23,42,.22); }
.creator-command-icon:hover { background: rgba(15,23,42,.52); }
.creator-create-menu { position: relative; }
.creator-create-menu > summary { list-style: none; cursor: pointer; }
.creator-create-menu > summary::-webkit-details-marker { display: none; }
.creator-create-tray { position: absolute; top: calc(100% + .65rem); right: 0; z-index: 40; display: grid; width: min(340px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid #fed7aa; border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(15,23,42,.22); }
.creator-create-tray button, .creator-create-tray a { display: flex; align-items: center; gap: .85rem; min-height: 62px; padding: .8rem 1rem; border: 0; border-bottom: 1px solid #e2e8f0; color: #1e293b; background: #fff; text-align: left; text-decoration: none; cursor: pointer; }
.creator-create-tray button:last-child, .creator-create-tray a:last-child { border-bottom: 0; }
.creator-create-tray button:hover, .creator-create-tray a:hover { background: #fff7ed; }
.creator-create-tray i { width: 1.4rem; color: #f97316; text-align: center; }
.creator-create-tray span { display: grid; gap: .15rem; }
.creator-create-tray strong { font-size: .88rem; }
.creator-create-tray small { color: #64748b; font-size: .73rem; line-height: 1.3; }

.creator-nav {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    gap: .35rem;
}

.creator-tab {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    padding: .7rem .75rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #475569;
    background: transparent;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}

.creator-tab:hover,
.creator-tab.active { color: var(--fs-orange-dark); border-color: #fed7aa; background: #fff7ed; }

.creator-tab.active .creator-tab-icon { background: #ffedd5; }

.creator-more-menu > summary { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: .7rem .75rem; border: 1px solid transparent; border-radius: 10px; color: #475569; font-weight: 800; list-style: none; cursor: pointer; }
.creator-more-menu > summary::-webkit-details-marker { display: none; }
.creator-more-menu > summary:hover, .creator-more-menu[open] > summary { color: var(--fs-orange-dark); border-color: #fed7aa; background: #fff7ed; }
.creator-more-menu > div { display: grid; gap: .25rem; margin-top: .25rem; padding-left: .35rem; }

.creator-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.creator-home-card { min-width: 0; border: 1px solid #dbe4ee; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.04); }
.creator-home-attention { border-top: 3px solid #f97316; }
.creator-home-card-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.05rem .8rem; }
.creator-home-card-heading h3 { margin: .18rem 0 0; color: #0f172a; font-size: 1.15rem; font-weight: 900; }
.creator-home-card-heading > span { display: grid; min-width: 30px; height: 30px; place-items: center; border-radius: 999px; color: #9a3412; background: #ffedd5; font-size: .8rem; font-weight: 900; }
.creator-home-card-heading > button { min-height: 40px; padding: .45rem .6rem; color: #c2410c; font-size: .76rem; font-weight: 900; }
.creator-home-list { border-top: 1px solid #e2e8f0; }
.creator-home-row { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 1.05rem; border: 0; border-bottom: 1px solid #edf2f7; color: #334155; background: transparent; text-align: left; cursor: pointer; }
.creator-home-row:last-child { border-bottom: 0; }
.creator-home-row:hover { background: #fff7ed; }
.creator-home-row span, .creator-home-clear span { display: grid; min-width: 0; gap: .15rem; }
.creator-home-row strong, .creator-home-clear strong { overflow: hidden; color: #1e293b; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.creator-home-row small, .creator-home-clear small { color: #64748b; font-size: .73rem; }
.creator-home-row i { color: #f97316; font-size: .72rem; }
.creator-home-empty { margin: 0; padding: 1.25rem 1.05rem; color: #64748b; font-size: .84rem; }
.creator-home-clear { display: flex; align-items: center; gap: .75rem; padding: 1.25rem 1.05rem; }
.creator-home-clear > i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 999px; color: #047857; background: #d1fae5; }
.creator-home-pulse { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: hidden; border: 1px solid #dbe4ee; border-radius: 14px; background: #f8fafc; }
.creator-home-pulse > div { padding: .9rem 1rem; border-right: 1px solid #dbe4ee; }
.creator-home-pulse > div:last-child { border-right: 0; }
.creator-home-pulse strong { display: block; color: #0f172a; font-size: 1.25rem; font-weight: 900; }
.creator-home-pulse span { display: block; margin-top: .2rem; color: #64748b; font-size: .7rem; }

.creator-workspace-panel[hidden] { display: none; }

@media (max-width: 1023px) {
    .creator-command-bar { align-items: flex-start; flex-direction: column; }
    .creator-command-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .creator-hub-page .creator-panel > .grid,
    .creator-hub-page .creator-panel aside {
        min-width: 0;
    }
    .creator-nav {
        flex-direction: row;
        gap: .5rem;
        padding-bottom: .35rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .creator-tab {
        flex: 0 0 auto;
        width: auto;
        min-height: 44px;
        padding: .55rem .8rem;
        white-space: nowrap;
        scroll-snap-align: start;
    }
    .creator-tab .creator-tab-icon {
        width: 34px;
        height: 34px;
    }
    .creator-more-menu { flex: 0 0 auto; }
    .creator-more-menu > summary { white-space: nowrap; }
    .creator-more-menu > div { position: absolute; z-index: 20; width: 200px; margin-top: .35rem; padding: .4rem; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; box-shadow: 0 12px 26px rgba(15,23,42,.15); }
}

@media (max-width: 640px) {
    .creator-command-bar { padding: 1rem; }
    .creator-command-mark { width: 42px; height: 42px; flex-basis: 42px; }
    .creator-command-actions .watch-button-secondary { display: none; }
    .creator-command-actions { display: grid; grid-template-columns: minmax(0,1fr) 44px 44px; }
    .creator-command-actions [data-creator-public-link]:not([hidden]) { display: inline-flex; width: 44px; min-width: 44px; padding: 0; font-size: 0; }
    .creator-command-actions [data-creator-public-link] i { font-size: .9rem; }
    .creator-create-menu, .creator-create-menu > summary { width: 100%; }
    .creator-create-tray { right: auto; left: 0; }
    .creator-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
        padding-bottom: 0;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .creator-tab {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: .55rem .6rem;
        white-space: normal;
        line-height: 1.2;
    }

    .creator-tab .creator-tab-icon {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }
    .creator-more-menu > summary { min-height: 50px; padding: .55rem .6rem; }
    .creator-more-menu > div { right: 0; width: min(230px, calc(100vw - 2rem)); }
    .creator-home-grid { grid-template-columns: 1fr; }
    .creator-home-pulse { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .creator-home-pulse > div:nth-child(2) { border-right: 0; }
    .creator-home-pulse > div:nth-child(-n+2) { border-bottom: 1px solid #dbe4ee; }
}

.creator-metric {
    padding: 1rem;
    border: 1px solid var(--fs-border);
    border-radius: 12px;
    background: #fff;
}

.creator-metric strong { display: block; color: var(--fs-ink); font-size: 1.5rem; line-height: 1; }
.creator-metric span { display: block; margin-top: .35rem; color: var(--fs-muted); font-size: .78rem; }

.creator-video-library-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem;
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    background: #fff;
}

.creator-video-library-thumb {
    display: grid;
    width: 112px;
    height: 68px;
    flex: 0 0 112px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    color: var(--fs-orange);
    background: #fff7ed;
}

.creator-video-library-thumb img { width: 100%; height: 100%; object-fit: cover; }
.creator-video-thumbnail-picker { padding: .85rem; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; }
.creator-video-thumbnail-picker img { display: block; max-height: 280px; object-fit: cover; background: #0f172a; }
.creator-clip-timeline {
    padding: .9rem;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
}
.creator-clip-timeline-track {
    position: relative;
    height: 42px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(90deg, #cbd5e1, #94a3b8);
}
.creator-clip-timeline-track::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 9.5%, rgba(255, 255, 255, .55) 9.5% 10%);
}
.creator-clip-timeline-selection {
    position: absolute;
    inset-block: 0;
    min-width: 2px;
    border-inline: 3px solid #f97316;
    background: rgba(255, 247, 237, .75);
    box-shadow: 0 0 0 1px rgba(234, 88, 12, .18);
    z-index: 1;
}
.creator-clip-timeline-range {
    position: relative;
    display: block;
    width: 100%;
    height: 18px;
    margin: -30px 0 12px;
    accent-color: #f97316;
    pointer-events: none;
    background: transparent;
    z-index: 2;
}
.creator-clip-timeline-range::-webkit-slider-runnable-track { height: 42px; background: transparent; }
.creator-clip-timeline-range::-moz-range-track { height: 42px; background: transparent; }
.creator-clip-timeline-range::-webkit-slider-thumb { width: 18px; height: 48px; margin-top: -3px; border: 2px solid #fff; border-radius: 8px; background: #f97316; box-shadow: 0 2px 5px rgba(15, 23, 42, .28); pointer-events: auto; cursor: ew-resize; -webkit-appearance: none; }
.creator-clip-timeline-range::-moz-range-thumb { width: 18px; height: 48px; border: 2px solid #fff; border-radius: 8px; background: #f97316; box-shadow: 0 2px 5px rgba(15, 23, 42, .28); pointer-events: auto; cursor: ew-resize; }
.creator-clip-timeline-end { margin-top: -30px; }
.watch-button:disabled { cursor: not-allowed; opacity: .5; }
.watch-button-danger { border-color: #fecaca; color: #b91c1c; background: #fff; }
.watch-button-danger:hover { border-color: #fca5a5; background: #fef2f2; }

@media (max-width: 720px) {
    .creator-video-library-card { align-items: flex-start; flex-wrap: wrap; }
    .creator-video-library-card > div:nth-child(2) { min-width: calc(100% - 128px); }
    .creator-video-library-card > div:last-child { width: 100%; margin-left: 128px; }
}

.creator-role-option {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid var(--fs-border);
    border-radius: 12px;
    cursor: pointer;
}

.creator-role-option:hover,
.creator-role-option.selected { border-color: #fb923c; background: #fff7ed; }

.creator-notice {
    border: 1px solid #fed7aa;
    border-radius: 12px;
    color: #9a3412;
    background: #fff7ed;
}

.creator-setup-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: linear-gradient(100deg, #fff7ed, #f0fdfa);
}

.creator-setup-banner[hidden] { display: none; }

.creator-onboarding-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(120deg, #111827, #1e293b 55%, #7c2d12);
}

.creator-onboarding-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background-image: radial-gradient(circle at 80% 18%, #fdba74 0 2px, transparent 2px), linear-gradient(125deg, transparent 0 48%, rgba(255,255,255,.22) 48.2% 48.7%, transparent 49% 100%);
    background-size: 34px 34px, 180px 180px;
}

.creator-onboarding-hero > * { position: relative; z-index: 1; }

.creator-onboarding-hero-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(15,23,42,.24);
    color: #cbd5e1;
    font-size: .78rem;
    line-height: 1.45;
}

.creator-onboarding-hero-card i { color: #fdba74; font-size: 1.1rem; }
.creator-onboarding-hero-card strong { color: #fff; font-size: .9rem; }

.creator-onboarding-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
    gap: 1.25rem;
    align-items: start;
}

.creator-onboarding-card {
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.creator-onboarding-main { padding: clamp(1.1rem, 3vw, 2rem); }
.creator-onboarding-preview { position: sticky; top: 92px; padding: 1.25rem; }

.creator-onboarding-progress {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #e2e8f0;
}

.creator-step {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: .45rem;
    color: #94a3b8;
    font-size: .72rem;
    line-height: 1.35;
}

.creator-step span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #64748b;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.creator-step strong { font-size: .72rem; font-weight: 800; }
.creator-step.active,
.creator-step.complete { color: var(--fs-orange-dark); }
.creator-step.active span,
.creator-step.complete span { border-color: var(--fs-orange); color: #fff; background: var(--fs-orange); }
.creator-step.complete span::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.creator-step.complete span { font-size: 0; }
.creator-step-line { flex: 0 1 72px; height: 1px; margin-top: 15px; background: #cbd5e1; }

.creator-section-kicker {
    color: var(--fs-orange-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.creator-onboarding-role {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: 1rem;
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    color: var(--fs-ink);
    background: #fff;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.creator-onboarding-role:hover,
.creator-onboarding-role.selected { transform: translateY(-2px); border-color: #fb923c; background: #fff7ed; box-shadow: 0 8px 18px rgba(249,115,22,.1); }
.creator-onboarding-role strong { font-size: 1rem; }
.creator-onboarding-role > span:last-child { color: #64748b; font-size: .82rem; line-height: 1.5; }
.creator-onboarding-role-icon,
.creator-first-action-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--fs-orange-dark); background: #fff7ed; }
.creator-onboarding-role.selected .creator-onboarding-role-icon { color: #fff; background: var(--fs-orange); }

.creator-form-field { display: flex; flex-direction: column; gap: .45rem; color: #334155; font-size: .86rem; font-weight: 800; }
.creator-form-field b { color: var(--fs-orange-dark); }
.creator-form-field em { color: #94a3b8; font-size: .72rem; font-style: normal; font-weight: 600; }
.creator-form-field input,
.creator-form-field textarea,
.creator-input-prefix { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; color: #0f172a; background: #fff; font: inherit; font-weight: 500; outline: none; }
.creator-form-field input,
.creator-form-field textarea { padding: .78rem .85rem; }
.creator-form-field textarea { min-height: 112px; resize: vertical; }
.creator-form-field input:focus,
.creator-form-field textarea:focus,
.creator-input-prefix:focus-within { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(251,146,60,.16); }
.creator-form-field small { color: #94a3b8; font-size: .74rem; font-weight: 500; }
.creator-input-prefix { display: flex; align-items: center; overflow: hidden; }
.creator-input-prefix span { padding-left: .85rem; color: #94a3b8; font-weight: 800; }
.creator-input-prefix input { min-width: 0; border: 0; box-shadow: none; }
.creator-input-prefix input:focus { box-shadow: none; }

.creator-upload-card {
    display: flex;
    min-height: 116px;
    flex-direction: column;
    justify-content: center;
    gap: .55rem;
    padding: 1rem;
    border: 1px dashed #fdba74;
    border-radius: 14px;
    color: #9a3412;
    background: #fffaf5;
    font-size: .85rem;
    font-weight: 800;
    cursor: pointer;
}

.creator-upload-card em { color: #94a3b8; font-size: .72rem; font-style: normal; font-weight: 600; }
.creator-upload-card input { width: 100%; color: #64748b; font-size: .78rem; font-weight: 500; }
.creator-upload-card small { color: #94a3b8; font-size: .74rem; font-weight: 500; line-height: 1.4; }

.creator-first-action {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--fs-border);
    border-radius: 14px;
    color: var(--fs-ink);
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.creator-first-action:hover,
.creator-first-action.selected { border-color: #fb923c; background: #fff7ed; }
.creator-first-action strong { display: block; font-size: .9rem; }
.creator-first-action small { display: block; margin-top: .3rem; color: #64748b; font-size: .76rem; font-weight: 500; line-height: 1.4; }
.creator-first-action.selected .creator-first-action-icon { color: #fff; background: var(--fs-orange); }
.creator-confirmation-card,
.creator-onboarding-tip { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem; border: 1px solid #fed7aa; border-radius: 12px; color: #9a3412; background: #fff7ed; }
.creator-confirmation-card i,
.creator-onboarding-tip i { margin-top: .15rem; color: var(--fs-orange); }
.creator-confirmation-card strong { color: #7c2d12; font-size: .9rem; }
.creator-confirmation-card p,
.creator-onboarding-tip span { color: #9a3412; line-height: 1.5; }
.creator-onboarding-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.creator-form-error { min-height: 1.2rem; color: #dc2626; font-size: .82rem; font-weight: 700; }

.creator-preview-badge,
.creator-preview-pill { display: inline-flex; align-items: center; border-radius: 999px; color: #9a3412; background: #ffedd5; font-size: .7rem; font-weight: 800; }
.creator-preview-badge { padding: .3rem .55rem; }
.creator-preview-pill { padding: .3rem .55rem; }
.creator-page-preview { overflow: hidden; border: 1px solid var(--fs-border); border-radius: 14px; background: #fff; }
.creator-page-preview-banner { position: relative; display: flex; min-height: 104px; align-items: center; justify-content: center; color: #94a3b8; background: linear-gradient(135deg, #fed7aa, #e2e8f0 50%, #ccfbf1); font-size: .75rem; font-weight: 800; }
.creator-page-preview-banner.has-image { background-position: center; background-size: cover; color: #fff; }
.creator-page-preview-banner.has-image::after { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.18); }
.creator-page-preview-banner span { position: relative; z-index: 1; }
.creator-page-preview-body { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; }
.creator-page-preview-avatar { width: 54px; height: 54px; display: inline-flex; flex: 0 0 54px; align-items: center; justify-content: center; margin-top: -2rem; border: 4px solid #fff; border-radius: 16px; color: var(--fs-orange-dark); background: #fff7ed; box-shadow: 0 4px 12px rgba(15,23,42,.1); overflow: hidden; }
.creator-page-preview-avatar.has-image { background-position: center; background-size: cover; color: transparent; }
.creator-preview-checklist { display: grid; gap: .65rem; color: #475569; font-size: .8rem; }
.creator-preview-checklist div { display: flex; align-items: center; gap: .6rem; }
.creator-preview-checklist i { color: #16a34a; }

.creator-public-card {
    overflow: hidden;
    border: 1px solid var(--fs-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.creator-public-map { position: sticky; top: 76px; z-index: 20; display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.7fr); gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid #fed7aa; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(15,23,42,.08); backdrop-filter: blur(14px); }
.creator-public-map-intro { min-width: 0; }
.creator-public-map-intro strong { display: block; color: var(--fs-ink); font-size: 1rem; }
.creator-public-map-intro > span { display: block; margin-top: .2rem; color: var(--fs-muted); font-size: .76rem; line-height: 1.4; }
.creator-public-map-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
.creator-public-map-links a { min-width: 0; min-height: 58px; display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; column-gap: .5rem; align-content: center; padding: .55rem .65rem; border: 1px solid var(--fs-border); border-radius: 11px; color: #475569; background: #f8fafc; text-decoration: none; transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.creator-public-map-links a[hidden] { display: none !important; }
.creator-public-map-links a:hover { border-color: #fb923c; color: #c2410c; background: #fff7ed; transform: translateY(-1px); }
.creator-public-map-links a i { grid-row: 1 / 3; align-self: center; color: var(--fs-orange); }
.creator-public-map-links a span { overflow: hidden; font-size: .78rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.creator-public-map-links a small { color: #94a3b8; font-size: .66rem; font-weight: 700; }
.creator-public-map-links .creator-public-map-feed { border-color: #fed7aa; color: #9a3412; background: #fff7ed; }
.creator-public-section { scroll-margin-top: 168px; }

.creator-public-banner {
    position: relative;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(249,115,22,.72), transparent 30%),
        radial-gradient(circle at 82% 26%, rgba(20,184,166,.45), transparent 32%),
        linear-gradient(135deg, #334155, #0f172a 68%);
    background-position: center;
    background-size: cover;
}

.creator-public-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.68), rgba(15,23,42,.28)), linear-gradient(135deg, rgba(249,115,22,.18), rgba(20,184,166,.12)); }
.creator-public-banner.has-image::after { background: linear-gradient(90deg, rgba(15,23,42,.72), rgba(15,23,42,.24)), linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.64)); }
.creator-public-banner > * { position: relative; z-index: 1; }
.creator-public-banner-label { position: absolute !important; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.creator-public-banner.has-image .creator-public-banner-label { color: transparent; }
.creator-public-banner-top { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.creator-public-hero-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .5rem; padding: .65rem .85rem; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: #fff; background: rgba(15,23,42,.32); font-size: .82rem; font-weight: 800; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.creator-public-hero-button[hidden],.creator-post-composer[hidden] { display: none!important; }
.creator-public-hero-button:hover { color: #fff; background: rgba(15,23,42,.62); transform: translateY(-1px); }
.creator-public-hero-button-primary { border-color: #f97316; background: #f97316; box-shadow: 0 8px 18px rgba(249,115,22,.24); }
.creator-public-hero-button-primary:hover { background: #ea580c; }
.creator-public-banner-identity { display: flex; width: 100%; align-items: flex-end; gap: 1.25rem; padding: 0 1.5rem 1.5rem; }
.creator-public-avatar { width: 104px; height: 104px; display: grid; flex: 0 0 104px; place-items: center; border: 5px solid rgba(255,255,255,.9); border-radius: 18px; color: var(--fs-orange-dark); background: #fff7ed; box-shadow: 0 6px 18px rgba(15,23,42,.24); font-size: 2.25rem; font-weight: 800; overflow: hidden; }
.creator-public-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-public-kicker { color: #fdba74; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.creator-public-role { display: inline-flex; align-items: center; padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(15,23,42,.38); font-size: .72rem; font-weight: 800; }
.creator-public-bio { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 1.5rem 1.5rem; padding: 1rem 1.1rem; border: 1px solid #fed7aa; border-radius: 12px; color: #7c2d12; background: linear-gradient(100deg, #fff7ed, #f0fdfa); line-height: 1.65; }
.creator-public-bio p { margin: 0; }
.creator-public-bio a { flex: 0 0 auto; color: var(--fs-orange-dark); font-size: .84rem; font-weight: 800; text-decoration: none; }
.creator-public-empty { display: grid; justify-items: center; gap: .6rem; min-height: 220px; place-content: center; padding: 2rem; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--fs-muted); background: #f8fafc; text-align: center; }
.creator-public-empty i { color: var(--fs-orange); font-size: 1.7rem; }
.creator-public-empty strong { color: var(--fs-ink); font-size: 1.05rem; }
.creator-public-empty span { max-width: 480px; font-size: .88rem; line-height: 1.6; }
.creator-public-empty.has-content { min-height: 0; grid-template-columns: auto minmax(0, 1fr); justify-items: start; place-content: initial; align-items: center; gap: .2rem .9rem; border-style: solid; border-color: #fed7aa; background: linear-gradient(100deg, #fff7ed, #f0fdfa); text-align: left; }
.creator-public-empty.has-content i { grid-row: 1 / 3; }
.creator-public-empty.has-content span { max-width: none; }
.creator-public-status { min-height: 140px; display: grid; place-items: center; }
.creator-public-status[hidden] { display: none; }
.creator-public-video-card { overflow: hidden; border: 1px solid var(--fs-border); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.05); }
[data-creator-public-videos][data-count="1"] { grid-template-columns:minmax(0,900px)!important; justify-content:center; }
[data-creator-public-videos][data-count="1"][data-single-shape="portrait"] { grid-template-columns:minmax(0,460px)!important; }
.creator-public-video-media { position: relative; display: grid; overflow: hidden; place-items: center; background: #020617; --creator-media-aspect: 16 / 9; }
.creator-public-video-media mux-player { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: var(--creator-media-aspect); background: #020617; --media-object-fit: contain; --media-object-position: center; }
.creator-public-video-media[data-creator-media-shape="portrait"] { min-height: min(61vw, 600px); padding: .9rem; }
.creator-public-video-media[data-creator-media-shape="portrait"] mux-player { width:min(100%,var(--creator-media-portrait-width,39.375vh),460px); height:auto; aspect-ratio:var(--creator-media-aspect); border-radius:14px; box-shadow:0 16px 34px rgba(2,6,23,.38); }
.creator-public-video-media[data-creator-media-shape="square"] { padding: .9rem; }
.creator-public-video-media[data-creator-media-shape="square"] mux-player { width: min(100%, 560px); border-radius: 14px; box-shadow: 0 16px 34px rgba(2,6,23,.3); }
.creator-public-video-media[data-creator-media-shape="portrait"]::before,
.creator-public-video-media[data-creator-media-shape="square"]::before,
.watch-published-art[data-creator-media-shape="portrait"]::before,
.watch-published-art[data-creator-media-shape="square"]::before,
.creator-video-library-thumb[data-creator-media-shape="portrait"]::before,
.creator-video-library-thumb[data-creator-media-shape="square"]::before { content:""; position:absolute; inset:-24px; background-image:linear-gradient(rgba(15,23,42,.38),rgba(15,23,42,.72)),var(--creator-media-poster); background-position:center; background-size:cover; filter:blur(18px); opacity:.68; transform:scale(1.08); }
.creator-episode-thumb { position:relative; display:grid; width:7rem; height:4rem; flex:0 0 7rem; place-items:center; overflow:hidden; border-radius:.5rem; background:#0f172a; }
.creator-episode-thumb img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; }
.creator-episode-thumb[data-creator-media-shape="portrait"] img,.creator-episode-thumb[data-creator-media-shape="square"] img { width:auto; max-width:100%; object-fit:contain; }

.creator-live-control { padding: 1rem; border: 1px solid #fed7aa; border-radius: 14px; background: linear-gradient(135deg, #fff7ed, #f8fafc); }
.creator-live-native { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.creator-live-native-preview-wrap { position: relative; overflow: hidden; min-height: 220px; border: 1px solid #cbd5e1; border-radius: 14px; background: #0f172a; }
.creator-live-native-preview { display: block; width: 100%; min-height: 220px; max-height: 420px; background: #0f172a; object-fit: contain; }
.creator-live-native-preview-empty { display: grid; min-height: 220px; place-items: center; align-content: center; gap: .6rem; padding: 2rem; color: #cbd5e1; text-align: center; }
.creator-live-native-preview-empty i { color: #fb923c; font-size: 1.8rem; }
.creator-live-native-preview-empty span { font-size: .88rem; }
.creator-live-native-status[data-status="success"] { color: #047857; }
.creator-live-native-status[data-status="error"] { color: #b91c1c; }
.creator-live-native-status[data-status="info"] { color: #475569; }
.creator-live-advanced summary { list-style-position: inside; }
.creator-live-advanced summary::marker { color: var(--fs-orange); }
.creator-live-status { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px; color: #9a3412; background: #ffedd5; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.creator-live-status[data-status="live"] { color: #047857; background: #d1fae5; }
.creator-live-status[data-status="ended"] { color: #475569; background: #e2e8f0; }
.creator-live-status[data-status="cancelled"] { color: #b91c1c; background: #fee2e2; }
.creator-live-library-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.creator-live-card-icon { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; color: #c2410c; background: #ffedd5; }
.creator-live-room-page { padding: 1.25rem; border: 1px solid var(--fs-border); border-radius: 18px; background: #f8fafc; }
.creator-live-room-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem; border: 1px solid #fed7aa; border-radius: 16px; background: linear-gradient(110deg, #fff7ed, #f0fdfa); }
.creator-live-player-shell { overflow: hidden; min-height: 300px; border-radius: 16px; background: #0f172a; }
.creator-live-player-shell .hidden { display: none !important; }
.creator-live-player-shell mux-player { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 300px; background: #0f172a; }
.creator-live-player-shell video.creator-live-webrtc-player { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 300px; background: #0f172a; object-fit: contain; }
.creator-live-player-placeholder { display: grid; min-height: 300px; place-items: center; align-content: center; gap: .6rem; padding: 2rem; color: #cbd5e1; text-align: center; }
.creator-live-player-placeholder i { color: #fb923c; font-size: 2rem; }
.creator-live-player-placeholder strong { color: #fff; font-size: 1.08rem; }
.creator-live-chat { display: grid; max-height: 360px; gap: .7rem; overflow-y: auto; padding: .2rem; }
.creator-live-chat-empty { padding: 2rem; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; background: #f8fafc; text-align: center; }
.creator-live-message { display: flex; align-items: flex-start; gap: .7rem; padding: .75rem; border-radius: 12px; background: #f8fafc; }
.creator-live-message-avatar { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: #c2410c; background: #ffedd5; background-position: center; background-size: cover; font-size: .8rem; }

body.creator-live-modal-open { overflow: hidden; }
.creator-live-dialog-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: clamp(.75rem, 2vw, 2rem); overflow: auto; background: rgba(15, 23, 42, .74); }
.creator-live-dialog-frame { width: min(1220px, 100%); max-height: calc(100vh - 1.5rem); }
.creator-live-dialog-frame > .watch-empty-state { border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(15, 23, 42, .28); }
.creator-live-room-dialog { max-height: calc(100vh - 1.5rem); overflow: auto; border: 0; box-shadow: 0 24px 80px rgba(15, 23, 42, .3); }
.creator-live-dialog-heading { position: sticky; top: 0; z-index: 2; }
.creator-live-dialog-close, .creator-live-control-close { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid #fed7aa; border-radius: 12px; color: #c2410c; background: #fff; cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease; }
.creator-live-dialog-close:hover, .creator-live-control-close:hover { color: #9a3412; background: #fff7ed; transform: translateY(-1px); }
.creator-live-control:not(.hidden) { position: fixed; inset: 1rem; z-index: 70; width: min(calc(100% - 2rem), 920px); max-height: calc(100vh - 2rem); margin: auto; overflow-y: auto; padding: 1.25rem; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(15, 23, 42, .32), 0 0 0 100vmax rgba(15, 23, 42, .74); }
.creator-live-control:not(.hidden) > :first-child { padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; }
.creator-live-control-close { flex: 0 0 auto; }
.creator-live-dialog-stage { align-items: start; }
.creator-live-dialog-stage .creator-live-player-shell { display: flex; height: clamp(300px, 58vh, 680px); min-height: 0; align-items: center; justify-content: center; }
.creator-live-dialog-stage .creator-live-player-shell .creator-live-player-placeholder { width: 100%; height: 100%; min-height: 0; }
.creator-live-dialog-stage .creator-live-player-shell mux-player,
.creator-live-dialog-stage .creator-live-player-shell video.creator-live-webrtc-player { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; margin: auto; object-fit: contain; }

@media (max-width: 640px) {
    .creator-live-dialog-backdrop { align-items: flex-start; padding: .5rem; }
    .creator-live-dialog-frame, .creator-live-room-dialog { max-height: calc(100vh - 1rem); }
    .creator-live-room-dialog { padding: .65rem; }
    .creator-live-control:not(.hidden) { inset: .5rem; width: calc(100% - 1rem); max-height: calc(100vh - 1rem); padding: .75rem; border-radius: 16px; }
    .creator-live-dialog-heading { position: static; }
    .creator-live-dialog-stage .creator-live-player-shell { height: min(62vh, 520px); }
}

@media (max-width: 640px) {
    .creator-live-room-page { padding: .65rem; }
    .creator-live-room-heading { align-items: flex-start; flex-direction: column; }
    .creator-live-library-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
    .creator-public-banner { min-height: 360px; }
    .creator-public-banner-top { align-items: stretch; flex-direction: column; }
    .creator-public-banner-top > .flex { justify-content: flex-start; }
    .creator-public-banner-identity { align-items: flex-start; flex-direction: column; padding: 0 1rem 1.25rem; }
    .creator-public-bio { align-items: flex-start; flex-direction: column; margin-right: 1rem; margin-left: 1rem; }
}

@media (max-width: 900px) {
    .creator-onboarding-layout { grid-template-columns: 1fr; }
    .creator-onboarding-preview { position: static; }
}

@media (max-width: 560px) {
    .creator-onboarding-progress { gap: .35rem; }
    .creator-step strong { font-size: .63rem; }
    .creator-step-line { flex-basis: 20px; }
    .creator-onboarding-page:not([data-creator-page-mode="edit"]) .creator-onboarding-actions { align-items: stretch; flex-direction: column; }
    .creator-onboarding-actions > div { justify-content: flex-end; }
}

@media (max-width: 800px) {
    .watch-shell, .creator-shell { width: min(100% - 20px, 680px); }
    .watch-hero-title { font-size: 2.45rem; }
    .watch-featured-stage { min-height: 220px; }
    .creator-public-map { position: static; grid-template-columns: 1fr; }
    .creator-public-map-links { grid-template-columns: repeat(5, minmax(92px, 1fr)); overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x proximity; }
    .creator-public-map-links a { scroll-snap-align: start; }
    .creator-public-section { scroll-margin-top: 76px; }
}

@media (max-width: 640px) {
    .watch-top-nav { min-height: 60px; }
    .watch-top-nav .watch-shell, .watch-top-nav .creator-shell { min-height: 60px; gap: .45rem; }
    .watch-top-nav .watch-shell > a:first-child, .watch-top-nav .creator-shell > a:first-child { font-size: 1.1rem; line-height: 1.25rem; }
    .watch-shell, .creator-shell { width: min(100% - 16px, 620px); }
    .watch-hero { border-radius: 14px; }
    .watch-hero-title { font-size: 2rem; line-height: 1.08; }
    .watch-hero-copy { font-size: .94rem; line-height: 1.6; }
    .watch-button { min-height: 44px; }
    .watch-tabs { width: calc(100% + 1rem); margin-right: -.5rem; margin-left: -.5rem; padding: .15rem .5rem .45rem; scroll-padding-inline: .5rem; scroll-snap-type: x proximity; }
    .watch-tab { min-height: 42px; scroll-snap-align: start; }
    .watch-published-art, .watch-published-thumb, .watch-published-placeholder { min-height: 176px; }

    .creator-video-layout { gap: .85rem; }
    .creator-video-layout > article, .creator-video-layout > aside, .creator-video-page [data-video-conversation] { border-radius: 14px; }
    .creator-video-layout > article > div:not(.creator-video-player-wrap), .creator-video-page [data-video-conversation] { padding-right: 1rem !important; padding-left: 1rem !important; }
    .creator-video-actions { width: 100%; }
    .creator-video-actions .watch-button { flex: 1 1 calc(50% - .3rem); min-height: 44px; }
    [data-video-reactions] { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-video-reactions] .watch-button { min-width: 0; padding-right: .65rem; padding-left: .65rem; }
    .creator-video-comment-form { padding: .8rem; }
    .creator-video-comment-footer { align-items: stretch; flex-direction: column; }
    .creator-video-comment-footer .watch-button { width: 100%; }
    .creator-video-comment.is-reply { margin-left: .7rem; padding-left: .75rem; }
    .creator-video-comment-avatar { width: 2.1rem; height: 2.1rem; flex-basis: 2.1rem; }
    .creator-video-comments-empty { padding: 1.4rem 1rem; }

    .creator-public-banner { min-height: 0; }
    .creator-public-banner-top { gap: .65rem; padding: .75rem; }
    .creator-public-banner-top > .flex { width: 100%; gap: .45rem; }
    .creator-public-banner-top > .flex .creator-public-hero-button { flex: 1 1 auto; padding-right: .65rem; padding-left: .65rem; }
    .creator-public-banner-identity { gap: .85rem; padding: .25rem .9rem 1rem; }
    .creator-public-avatar { width: 82px; height: 82px; flex-basis: 82px; border-width: 4px; border-radius: 16px; font-size: 1.8rem; }
    .creator-public-banner-identity h1 { font-size: 2rem !important; line-height: 1.08; overflow-wrap: anywhere; }
    .creator-public-bio { margin: 0 .75rem .75rem; padding: .85rem; }
    .creator-public-map { gap: .75rem; padding: .8rem; border-radius: 14px; }
    .creator-public-map-intro > span { font-size: .73rem; }
    .creator-public-map-links { width: calc(100% + .8rem); margin-right: -.4rem; margin-left: -.4rem; padding-right: .4rem; padding-left: .4rem; }
    .creator-public-page .watch-panel { border-radius: 14px; padding: 1rem !important; }
    .creator-public-empty { min-height: 170px; padding: 1.25rem; }
}

@media (max-width: 380px) {
    .creator-public-banner-top > .flex .creator-public-hero-button { flex-basis: calc(50% - .25rem); font-size: .75rem; }
    [data-video-reactions] { grid-template-columns: 1fr; }
    [data-video-reactions] .watch-button:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .watch-button, .watch-content-card, .creator-public-hero-button { transition: none; }
    .watch-button:hover, .watch-content-card:hover, .creator-public-hero-button:hover { transform: none; }
}
/* Creator identity photo posts */
.creator-post-composer { border: 1px solid #fed7aa; border-radius: 1.25rem; background: linear-gradient(145deg, #fff 0%, #fff7ed 100%); padding: 1.1rem; }
.creator-post-composer textarea { width: 100%; margin-top: .85rem; resize: vertical; border: 1px solid #cbd5e1; border-radius: 1rem; padding: .9rem 1rem; outline: 0; background: #fff; color: #1e293b; }
.creator-post-composer textarea:focus { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(251,146,60,.16); }
.creator-post-composer-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .85rem; }
.creator-post-composer-actions [data-creator-post-submit] { margin-left: auto; }
.creator-post-limit { font-size: .78rem; color: #64748b; font-weight: 700; }
.creator-post-status { margin-top: .75rem; color: #b45309; font-size: .85rem; font-weight: 700; }
.creator-post-previews { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; margin-top: .85rem; }
.creator-post-previews figure { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: .8rem; background: #e2e8f0; }
.creator-post-previews img { width: 100%; height: 100%; object-fit: cover; }
.creator-post-card { position: relative; overflow: visible; border: 1px solid #e2e8f0; border-top: 4px solid #fb923c; border-radius: 1.25rem; background: #fff; padding: 1rem; box-shadow: 0 12px 32px rgba(15,23,42,.07); }
.creator-post-card:has(.creator-reaction-menu[open]) { z-index: 100; }
.creator-post-card + .creator-post-card { margin-top: 1rem; }
.creator-post-card-head { display: flex; align-items: center; gap: .75rem; }
.creator-post-owner-controls { margin-left: auto; display: flex; gap: .4rem; }
.creator-post-owner-controls button, .creator-comment-controls button, .creator-inline-edit button { border: 1px solid #fed7aa; border-radius: .65rem; background: #fff7ed; color: #c2410c; padding: .4rem .65rem; font-size: .8rem; font-weight: 800; }
.creator-post-owner-controls button:last-child, .creator-comment-controls button:last-child { color: #b91c1c; background: #fff; border-color: #fecaca; }
.creator-post-owner-controls i { margin-right: .3rem; }
.creator-comment-controls { display: flex; flex-wrap: wrap; gap: .7rem; }
.creator-inline-edit { margin: .65rem 0; }
.creator-inline-edit textarea { width: 100%; min-height: 5rem; resize: vertical; border: 1px solid #fdba74; border-radius: .75rem; padding: .7rem; color: #1e293b; background: #fff; }
.creator-inline-edit > div { display: flex; gap: .5rem; margin-top: .4rem; }
.creator-post-card-head img, .creator-post-card-avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: #ffedd5; display: grid; place-items: center; color: #c2410c; font-weight: 800; }
.creator-post-card-copy { margin: .9rem 0; white-space: pre-wrap; color: #334155; line-height: 1.65; }
.creator-post-conversation { margin-top: 1rem; border-top: 1px solid #e2e8f0; padding-top: .8rem; }
.creator-post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.creator-post-actions button { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #dbe3ee; border-radius: 999px; background: #fff; padding: .55rem .8rem; color: #475569; font-weight: 800; }
.creator-post-actions button.is-active { border-color: #fb923c; background: #fff7ed; color: #c2410c; }
.creator-reaction-summary { display: inline-flex; align-items: center; gap: .22rem; margin-right: auto; color: #64748b; font-size: .78rem; }
.creator-reaction-summary span { margin-left: .2rem; }
.creator-reaction-icon--like { color: #3b82f6; }
.creator-reaction-icon--love { color: #ef4444; }
.creator-reaction-icon--laugh { color: #cf6f12; }
.creator-reaction-icon--cheers { color: #eab308; }
.creator-reaction-menu { position: relative; }
.creator-reaction-menu[open] { z-index: 90; }
.creator-reaction-menu > summary { display: inline-flex; min-height: 34px; align-items: center; gap: .4rem; padding: .5rem .8rem; border: 1px solid #dbe3ee; border-radius: 999px; background: #fff; color: #475569; font-size: .8rem; font-weight: 800; cursor: pointer; list-style: none; }
.creator-reaction-menu > summary::-webkit-details-marker { display: none; }
.creator-reaction-menu[open] > summary { border-color: #fb923c; background: #fff7ed; color: #c2410c; }
.creator-reaction-picker { position: absolute; right: 0; top: auto; bottom: calc(100% + .45rem); z-index: 80; display: flex; width: max-content; max-width: min(22rem, calc(100vw - 2rem)); gap: .4rem; padding: .5rem; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.16); }
.creator-post-actions .creator-thread-toggle { margin-left: auto; }
.creator-thread-body { margin-top: .85rem; border-radius: 1rem; background: #f8fafc; padding: .85rem; }
.creator-thread-comment { border-left: 3px solid #fed7aa; padding: .65rem .75rem; }
.creator-thread-comment.is-reply { margin: .65rem 0 0 1.25rem; border-left-color: #cbd5e1; }
.creator-thread-comment-head { display: flex; align-items: center; gap: .55rem; }
.creator-thread-comment-head img, .creator-thread-comment-head > span { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #ffedd5; color: #c2410c; font-weight: 900; }
.creator-thread-comment-head div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.creator-thread-comment-head em { border-radius: 999px; background: #dcfce7; padding: .15rem .45rem; color: #047857; font-size: .72rem; font-style: normal; }
.creator-thread-comment-head small { width: 100%; color: #64748b; }
.creator-thread-comment p { margin: .45rem 0; white-space: pre-wrap; color: #334155; }
.creator-thread-comment > button, .creator-replying button { color: #c2410c; font-size: .8rem; font-weight: 800; }
@media (max-width: 640px) { .creator-post-card-head { align-items: flex-start; flex-wrap: wrap; } .creator-post-owner-controls { width: 100%; margin-left: 3.5rem; } }
.creator-thread-empty { color: #64748b; font-style: italic; }
.creator-replying, .creator-reply-identity { margin-top: .7rem; border-radius: .7rem; background: #fff7ed; padding: .55rem .7rem; color: #9a3412; }
.creator-replying { display: flex; justify-content: space-between; gap: 1rem; }
.creator-comment-form { display: flex; gap: .55rem; margin-top: .6rem; }
.creator-comment-form textarea { min-height: 3.25rem; flex: 1; resize: vertical; border: 1px solid #cbd5e1; border-radius: .9rem; padding: .75rem; }
.creator-comment-form button { align-self: end; border-radius: .8rem; background: #f4510b; padding: .75rem 1rem; color: #fff; font-weight: 900; }
@media (max-width: 640px) { .creator-reaction-picker { grid-template-columns: repeat(2,minmax(0,1fr)); display: grid; width: min(17rem,calc(100vw - 2rem)); } .creator-reaction-picker button { justify-content: center; } .creator-post-actions .creator-thread-toggle { width: 100%; margin-left: 0; justify-content: center; } .creator-comment-form { flex-direction: column; } .creator-comment-form button { align-self: stretch; } }
.creator-feed-update { min-width: 0; }
.creator-feed-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .25rem; overflow: hidden; border-radius: 1rem; background: #0f172a; }
.creator-feed-photo-grid img { width: 100%; height: 12rem; object-fit: cover; }
.creator-feed-photo-grid[data-count="1"] { grid-template-columns: 1fr; }
.creator-feed-photo-grid[data-count="1"] img { height: min(28rem, 55vw); }
.creator-post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: minmax(150px, 260px); gap: .3rem; overflow: hidden; border-radius: 1rem; }
.creator-post-gallery button { position: relative; min-width: 0; overflow: hidden; background: #0f172a; }
.creator-post-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.creator-post-gallery button:hover img { transform: scale(1.02); }
.creator-post-gallery[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: minmax(250px, 520px); }
.creator-post-gallery[data-count="3"] button:first-child, .creator-post-gallery[data-count="5"] button:first-child { grid-row: span 2; }
.creator-post-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,23,42,.58); color: #fff; font-size: 1.65rem; font-weight: 800; }
.creator-photo-viewer { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(2,6,23,.94); padding: 4rem 5rem; }
.creator-photo-viewer[hidden] { display: none; }
.creator-photo-viewer img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; border-radius: .5rem; }
.creator-photo-viewer-close, .creator-photo-viewer-nav { position: fixed; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.94); color: #0f172a; width: 3rem; height: 3rem; box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.creator-photo-viewer-nav[hidden] { display: none !important; }
.creator-photo-viewer-close { top: 1rem; right: 1rem; }
.creator-photo-viewer-prev { left: 1rem; top: 50%; }
.creator-photo-viewer-next { right: 1rem; top: 50%; }
.creator-photo-viewer-count { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); border-radius: 999px; background: rgba(15,23,42,.8); color: #fff; padding: .45rem .85rem; font-weight: 800; }

@media (max-width: 640px) {
    .creator-posts-panel { padding: 1rem; }
    .creator-post-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .creator-post-composer-actions [data-creator-post-submit] { width: 100%; margin-left: 0; justify-content: center; }
    .creator-post-gallery { grid-auto-rows: minmax(105px, 180px); }
    .creator-post-gallery[data-count="1"] { grid-auto-rows: minmax(220px, 70vw); }
    .creator-feed-photo-grid img { height: 42vw; min-height: 9rem; }
    .creator-photo-viewer { padding: 4.5rem .5rem; }
    .creator-photo-viewer-nav { width: 2.65rem; height: 2.65rem; top: auto; bottom: 1rem; }
    .creator-photo-viewer-prev { left: 1rem; }
    .creator-photo-viewer-next { right: 1rem; }
}

@media (max-width: 640px) {
    .creator-public-video-media[data-creator-media-shape="portrait"] { min-height:min(132vw,620px); padding:.55rem; }
    .creator-public-video-media[data-creator-media-shape="portrait"] mux-player { width:min(100%,var(--creator-media-portrait-width,39.375vh)); height:auto; }
    .creator-video-player-wrap[data-creator-media-shape="portrait"] { max-width:calc(100% - 1rem); margin:.5rem auto; border-radius:14px; }
    .creator-video-player-wrap[data-creator-media-shape="portrait"] mux-player { width:100%; height:auto; border-radius:13px; }
    .creator-video-player-wrap[data-creator-media-shape="square"] { width:min(calc(100% - 1rem),430px); margin:.5rem auto; border-radius:14px; }
}

/* Premium creator publishing and watch experience */
body.creator-hub-page,
body.creator-video-page { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }

.creator-publishing-studio { overflow: hidden; padding: 0; border-color: #cbd5e1; background: #f8fafc; text-align: left; }
.creator-publishing-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.35rem; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(249,115,22,.36), transparent 30%), linear-gradient(135deg,#0f1c31,#1e293b 68%,#172554); }
.creator-publishing-title { display: flex; min-width: 0; align-items: center; gap: .9rem; }
.creator-publishing-title > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #fdba74; background: rgba(255,255,255,.08); font-size: 1.05rem; }
.creator-publishing-title h3 { margin: .2rem 0 0; font-size: 1.4rem; font-weight: 900; }
.creator-publishing-title p:last-child { margin-top: .22rem; color: #cbd5e1; font-size: .82rem; }
.creator-publishing-heading .watch-button-primary { flex: none; }
.creator-publishing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: .8rem 1.35rem; border-bottom: 1px solid #dbe4ee; background: #fff; list-style: none; }
.creator-publishing-steps li { position: relative; display: flex; min-width: 0; align-items: center; gap: .65rem; color: #64748b; }
.creator-publishing-steps li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: 1rem; left: 3.2rem; height: 1px; background: #dbe4ee; transform: translateY(-50%); }
.creator-publishing-steps li > span { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid #cbd5e1; border-radius: 999px; color: #64748b; background: #fff; font-size: .72rem; font-weight: 900; }
.creator-publishing-steps li > div { position: relative; z-index: 1; min-width: 0; padding-right: .65rem; background: #fff; }
.creator-publishing-steps strong,.creator-publishing-steps small { display: block; }
.creator-publishing-steps strong { color: #334155; font-size: .8rem; }
.creator-publishing-steps small { margin-top: .1rem; font-size: .68rem; }
.creator-publishing-steps li.is-active > span { border-color: #f97316; color: #fff; background: #f97316; box-shadow: 0 5px 12px rgba(249,115,22,.22); }

.creator-video-upload-card { max-width: none!important; display: grid; grid-template-columns: minmax(280px,.95fr) minmax(340px,1.05fr); gap: 1rem; margin: 1.25rem; border: 1px solid #dbe4ee; border-radius: 16px; padding: 1rem; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.08); }
.creator-video-upload-card.hidden { display: none; }
.creator-video-upload-status,.creator-video-upload-progress { grid-column: 1 / -1; }
.creator-video-upload-progress { margin-top: -.25rem; }
.creator-video-edit-preview { position:relative; min-width:0; align-self:start; overflow:hidden; border-radius:14px; padding:.75rem; background:#0f172a; }
.creator-video-edit-preview.hidden { display: none; }
.creator-video-edit-preview mux-player { position:relative; z-index:1; display:block; width:100%; max-height:360px; aspect-ratio:var(--creator-media-aspect,16 / 9); --media-object-fit:contain; }
.creator-video-edit-preview[data-creator-media-shape="portrait"] { display:grid; width:min(100%,480px); justify-self:center; justify-items:center; }
.creator-video-edit-preview[data-creator-media-shape="portrait"] mux-player { width:min(100%,290px); max-height:520px; }
.creator-video-edit-preview[data-creator-media-shape="portrait"]::before,.creator-video-edit-preview[data-creator-media-shape="square"]::before { content:""; position:absolute; inset:-28px; background-image:linear-gradient(rgba(15,23,42,.48),rgba(15,23,42,.76)),var(--creator-media-poster); background-position:center; background-size:cover; filter:blur(20px); opacity:.7; transform:scale(1.08); }
.creator-video-edit-preview p { position:relative; z-index:1; color:#cbd5e1; }
.creator-video-edit-fields { min-width: 0; align-content: start; margin: 0!important; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1rem; background: #f8fafc; }
.creator-video-thumbnail-frame { display:grid; max-height:260px; place-items:center; overflow:hidden; border-radius:.65rem; background:#0f172a; }
.creator-video-thumbnail-frame img { display:block; width:100%; max-height:260px; aspect-ratio:var(--creator-media-aspect,16 / 9); object-fit:contain; }
.creator-video-thumbnail-frame[data-creator-media-shape="portrait"] { width:min(100%,170px); max-height:none; margin-right:auto; margin-left:auto; }
.creator-video-thumbnail-frame[data-creator-media-shape="portrait"] img { max-height:none; }
.creator-video-publish-actions { position: sticky; bottom: calc(5.5rem + env(safe-area-inset-bottom)); display: flex; align-items: end; justify-content: space-between; gap: .75rem; margin: .25rem -.35rem -.35rem; border-top: 1px solid #dbe4ee; border-radius: 0 0 12px 12px; padding: .8rem .35rem .35rem; background: rgba(248,250,252,.96); backdrop-filter: blur(12px); }
.creator-library-shelf { margin-top: 1.25rem; border-top: 1px solid #dbe4ee; padding: 1.25rem; background: #fff; }
.creator-video-library-card { display: grid; grid-template-columns: 152px minmax(220px,1fr) auto; align-items: center; gap: 1rem; padding: .8rem; }
.creator-video-library-thumb { position:relative; display:grid; width:152px; height:88px; place-items:center; overflow:hidden; border-radius:10px; color:#fb923c; background:#0f172a; }
.creator-video-library-thumb img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; }
.creator-video-library-thumb[data-creator-media-shape="portrait"] img,.creator-video-library-thumb[data-creator-media-shape="square"] img { width:auto; max-width:100%; object-fit:contain; }
.creator-media-kind { position:absolute; z-index:2; right:.35rem; bottom:.35rem; border:1px solid rgba(255,255,255,.26); border-radius:999px; padding:.18rem .38rem; color:#fff; background:rgba(15,23,42,.78); font-size:.55rem; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.creator-video-library-copy { min-width: 0; }
.creator-video-library-copy h4 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-video-library-actions { display: flex; max-width: 340px; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.creator-video-library-actions .watch-button { min-height: 38px; padding: .5rem .68rem; font-size: .76rem; }
[data-creator-clip-player-wrap] mux-player { display:block; width:100%; aspect-ratio:var(--creator-media-aspect,16 / 9); --media-object-fit:contain; }
[data-creator-clip-player-wrap][data-creator-media-shape="portrait"] mux-player { width:min(100%,290px); margin-right:auto; margin-left:auto; }

.creator-video-main { background: #fff; }
.creator-video-masthead { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 12%,rgba(249,115,22,.36),transparent 26%),linear-gradient(135deg,#0f1c31,#1e293b 70%,#172554); }
.creator-video-masthead::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(120deg,transparent 0 46%,rgba(255,255,255,.26) 46.3% 46.8%,transparent 47.1% 100%); background-size: 220px 220px; }
.creator-video-masthead > div { position: relative; z-index: 1; }
.creator-video-masthead h1 { color: #fff!important; }
.creator-video-masthead p:not(.watch-eyebrow) { color: #cbd5e1!important; }
.creator-video-masthead .watch-button-light { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.08); }
.creator-video-masthead .watch-button-danger { border-color: rgba(254,202,202,.35); color: #fecaca; background: rgba(127,29,29,.18); }
.creator-video-story > [data-video-description]:empty { display: none; }

@media (max-width: 1180px) {
    .creator-video-upload-card { grid-template-columns: 1fr; }
    .creator-video-upload-status,.creator-video-upload-progress { grid-column: auto; }
    .creator-video-library-card { grid-template-columns: 128px minmax(0,1fr); }
    .creator-video-library-thumb { width: 128px; height: 76px; }
    .creator-video-library-actions { grid-column: 1 / -1; max-width: none; justify-content: flex-start; padding-left: 144px; }
}

@media (max-width: 640px) {
    body.creator-hub-page,body.creator-video-page { padding-bottom: calc(8.25rem + env(safe-area-inset-bottom)); }
    .creator-publishing-heading { align-items: stretch; flex-direction: column; padding: 1rem; }
    .creator-publishing-heading .watch-button-primary { width: 100%; }
    .creator-publishing-steps { padding: .7rem; }
    .creator-publishing-steps li { gap: .35rem; }
    .creator-publishing-steps li:not(:last-child)::after { right: .3rem; left: 2.3rem; }
    .creator-publishing-steps li > div { padding-right: .25rem; }
    .creator-publishing-steps small { display: none; }
    .creator-video-upload-card { margin: .8rem; padding: .75rem; }
    .creator-video-publish-actions { position: static; align-items: stretch; flex-direction: column; }
    .creator-video-publish-actions label,.creator-video-publish-actions select,.creator-video-publish-actions > div,.creator-video-publish-actions .watch-button { width: 100%; }
    .creator-library-shelf { padding: 1rem .8rem; }
    .creator-video-library-card { grid-template-columns: 96px minmax(0,1fr); align-items: start; }
    .creator-video-library-thumb { width: 96px; height: 62px; }
    .creator-video-library-card > div:nth-child(2) { min-width: 0; }
    .creator-video-library-actions { width: auto!important; margin-left: 0!important; padding-left: 0; }
    .creator-video-library-actions .watch-button { flex: 1 1 auto; }
    .creator-destructive-label { display: none; }
    .creator-video-masthead { padding: 1.1rem!important; }
    .creator-video-masthead h1 { font-size: 1.65rem; }
    .creator-video-actions { width: 100%; }
    .creator-video-actions .watch-button { flex: 1; }
}
