:root {
    color-scheme: dark;
    --bg: #161719;
    --surface: #202225;
    --border: #36383d;
    --text: #f2f2f3;
    --muted: #a7a9ad;
    --accent: #f2768c;
    --green: #8ad5b3
}

.video-player {
    display: block;
    width: 100%;
    max-height: 70vh;
    aspect-ratio: 16/9;
    background: #000;
    margin-bottom: 20px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.6 system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
    letter-spacing: 0
}

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

a:hover {
    color: var(--accent)
}

button,
input,
select {
    font: inherit
}

button,
a,
input,
select {
    outline-offset: 4px
}

button {
    cursor: pointer;
    color: var(--text);
    background: #303339;
    border: 1px solid #50535b;
    border-radius: 5px;
    padding: 9px 16px;
    min-height: 42px;
    white-space: normal;
    overflow-wrap: anywhere
}

button:hover {
    background: #3c4047
}

button.primary {
    background: #c63d57;
    border-color: #db506b;
    color: #fff
}

button.primary:hover {
    background: #db506b
}

button:disabled {
    opacity: .6;
    cursor: wait
}

[hidden] {
    display: none !important
}

.header {
    min-height: 80px;
    padding: 20px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 750;
    font-size: 24px
}

.brand small {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin: 6px 0 0 6px
}

.accent {
    color: var(--accent)
}

.header nav {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 14px;
    min-width: 0
}

#session-link {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.workspace {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    min-height: calc(100vh - 142px)
}

aside {
    border-right: 1px solid var(--border);
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.side-nav a {
    padding: 10px 16px;
    border-left: 2px solid transparent;
    color: var(--muted)
}

.side-nav a[aria-current="page"] {
    color: var(--text);
    background: #25282c;
    border-left-color: var(--accent)
}

.side-brand {
    font-size: 12px;
    color: var(--muted);
    padding: 0 16px
}

.side-brand span {
    display: block;
    font-size: 10px;
    color: #777b82
}

main {
    padding: 40px;
    max-width: 1260px;
    width: 100%;
    min-width: 0
}

.page-heading {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px
}

h1 {
    font-size: 26px;
    margin: 4px 0 0;
    line-height: 1.35
}

h2 {
    font-size: 18px;
    margin: 0 0 18px
}

p {
    margin: 0 0 16px
}

#eyebrow {
    font-size: 11px;
    color: var(--muted);
    margin: 0
}

#notice {
    margin-bottom: 24px;
    padding: 12px 16px;
    border-left: 3px solid var(--green);
    background: #202e28;
    overflow-wrap: anywhere
}

#notice.error {
    border-left-color: var(--accent);
    background: #302226
}

.account-section {
    margin-top: 36px;
    border-top: 1px solid var(--border);
    padding-top: 28px
}

.form-surface {
    max-width: 420px;
    padding-top: 8px
}

.field {
    margin-bottom: 20px
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px
}

input,
select {
    width: 100%;
    height: 44px;
    background: #202225;
    color: var(--text);
    border: 1px solid #4a4c52;
    border-radius: 5px;
    padding: 8px 12px
}

input:focus {
    border-color: var(--accent)
}

.actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px
}

.actions a {
    font-size: 13px;
    color: var(--muted)
}

.empty {
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding: 32px 0
}

.empty a {
    color: var(--accent)
}

.data-list {
    margin: 0
}

.data-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border)
}

dt {
    color: var(--muted)
}

dd {
    margin: 0;
    overflow-wrap: anywhere
}

.toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.toolbar input {
    flex: 1;
    min-width: 160px
}

.toolbar select {
    width: 170px
}

.items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.item {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: #1c1e21
}

.item-visual {
    aspect-ratio: 16/9;
    display: grid;
    place-items: center;
    background: #24282c;
    border-bottom: 1px solid var(--border);
    color: #b8bec6;
    font-size: 12px
}

.item-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.item-body {
    padding: 16px
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
    line-height: 1.5;
    margin: 0 0 12px
}

.item-meta {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 12px
}

.item .actions {
    margin-top: 16px
}

.item button {
    font-size: 12px;
    padding: 6px 10px;
    min-height: 34px
}

.table-scroll {
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    text-align: left
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap
}

th {
    color: var(--muted);
    font-weight: 500
}

.price {
    font-size: 24px;
    color: var(--green);
    margin: 10px 0 20px
}

.pager {
    margin-top: 24px
}

.muted {
    color: var(--muted)
}

footer {
    border-top: 1px solid var(--border);
    padding: 18px 32px;
    font-size: 12px;
    color: var(--muted)
}

footer span {
    padding: 0 8px
}

@media(max-width:900px) {
    main {
        padding: 30px 24px
    }

    .items {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .workspace {
        grid-template-columns: 180px minmax(0, 1fr)
    }
}

@media(max-width:620px) {
    .header {
        padding: 16px;
        min-height: 70px
    }

    .brand {
        font-size: 21px
    }

    .brand small {
        display: none
    }

    .header nav {
        gap: 10px
    }

    #session-link {
        max-width: 92px
    }

    .header button {
        font-size: 12px;
        padding: 8px
    }

    .workspace {
        display: block
    }

    aside {
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        display: block
    }

    .side-nav {
        display: flex;
        flex-direction: row;
        overflow: auto;
        gap: 0
    }

    .side-nav a {
        white-space: nowrap;
        border-left: 0;
        border-bottom: 2px solid transparent;
        font-size: 13px;
        padding: 12px 14px
    }

    .side-nav a[aria-current="page"] {
        border-left: 0;
        border-bottom-color: var(--accent)
    }

    .side-brand {
        display: none
    }

    main {
        padding: 26px 16px;
        min-height: 70vh
    }

    .page-heading {
        margin-bottom: 22px
    }

    h1 {
        font-size: 24px
    }

    .data-list div {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 12px
    }

    .items {
        grid-template-columns: minmax(0, 1fr)
    }

    .form-surface {
        max-width: none
    }

    footer {
        padding: 16px
    }

    .toolbar select {
        width: 145px
    }

    .toolbar input {
        min-width: 100%
    }
}

/* Account security, watch page and paywall */
.watch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px
}

.watch-meta>span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 10px
}

.favorite-button {
    min-height: 34px;
    padding: 4px 14px;
    border-radius: 999px;
    background: transparent;
    border-color: var(--accent);
    color: var(--accent)
}

.favorite-button[aria-pressed=true] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.watch-description {
    color: var(--muted);
    margin: 14px 0;
    max-width: 80ch
}

.upsell-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    padding: 12px 16px;
    border: 1px solid #5a4a2a;
    background: #2b2618;
    border-radius: 8px;
    color: #f0d9a8;
    font-size: 14px
}

.upsell-link {
    color: #ffd166;
    font-weight: 700;
    white-space: nowrap
}

.paywall {
    max-width: 780px;
    margin: 14px 0 24px;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 12px;
    background: var(--surface)
}

.paywall-guest {
    border-top-color: #fe628e;
}

.paywall-vip {
    border-top-color: #ffd166;
}

.paywall-preview-wrap {
    margin: 0 0 20px;
}

.paywall-preview-label {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--muted);
}

.paywall-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
}

.paywall-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #3f444f;
    background: #23262d;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, filter .15s ease;
}

.paywall-actions a:hover {
    border-color: #656d7c;
    background: #2b2f38;
    color: #fff;
}

.paywall-actions a.primary {
    background: linear-gradient(135deg, #fe628e, #e54978);
    border-color: #fe628e;
    color: #fff;
    padding: 0 22px;
    box-shadow: 0 6px 20px rgba(254, 98, 142, .28);
}

.paywall-actions a.primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff;
}

.register-promo {
    max-width: 560px;
    margin: 0 0 16px;
}

.paywall-kicker {
    color: #ffd166;
    font-weight: 700;
    margin: 0 0 8px
}

.paywall-title {
    margin: 0 0 12px;
    font-size: 26px
}

.paywall-description {
    color: var(--muted);
    margin: 0 0 12px
}

.paywall-required {
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 16px
}

.paywall-benefits {
    margin: 0 0 18px;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.9
}

.paywall-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 18px
}

.check-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0;
    font-size: 14px;
    color: var(--muted)
}

.check-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent)
}

.legal-note {
    font-size: 13px;
    color: var(--muted);
    margin: 12px 0 0
}

.legal-note a {
    color: var(--accent)
}

.session-box {
    margin-top: 10px
}

.session-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.session-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #1c1e21
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.session-info span {
    font-size: 12px;
    overflow-wrap: anywhere
}

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

button.pager {
    display: block;
    margin: 18px auto
}

.danger-zone {
    border-top: 1px solid #5a2b35;
    padding-top: 18px;
    margin-top: 24px
}

.danger-zone h2 {
    color: #ff8fa3
}

/* Membership plan panel */
.plan-page {
    max-width: 1100px
}

.plan-status {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(135deg, #23252a, #1b1d20)
}

.plan-status-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0
}

.plan-status-text strong {
    font-size: 16px
}

.plan-status-text span {
    font-size: 13px
}

.plan-status-link {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap
}

.plan-status-link:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.plan-banner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 1px dashed #5a4a2a;
    background: #2b2618;
    border-radius: 8px;
    color: #f0d9a8;
    font-size: 13px
}

.plan-banner strong {
    color: #ffd166
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 18px;
    align-items: stretch;
    justify-content: start
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, #202225, #1b1d20)
}

.plan-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 16px 40px #0004
}

.plan-card.current {
    border-color: var(--green)
}

.plan-head {
    padding-right: 58px
}

.plan-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.plan-name {
    margin: 6px 0 18px;
    font-size: 22px;
    line-height: 1.3
}

.plan-badge {
    position: absolute;
    right: 16px;
    top: 16px;
    border-radius: 999px;
    padding: 4px 9px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.plan-badge.current-badge {
    background: #204337;
    color: #b9f3d8
}

.plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap
}

.plan-price {
    font-size: 34px;
    line-height: 1;
    font-weight: 750;
    color: var(--text)
}

.plan-unit {
    color: var(--muted);
    font-size: 13px
}

.plan-perday {
    margin: 8px 0 18px;
    color: var(--green);
    font-size: 13px
}

.plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    color: var(--muted);
    font-size: 13px
}

.plan-benefits li {
    position: relative;
    padding-left: 20px
}

.plan-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700
}

.plan-channel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px
}

.plan-channel label {
    font-size: 12px;
    color: var(--muted)
}

.plan-channel select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    background: #16181a;
    color: var(--text);
    border: 1px solid #4b4e51;
    border-radius: 6px
}

.plan-cta {
    margin-top: auto;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px
}

.plan-cta:hover {
    background: #db506b
}

.plan-cta:disabled {
    background: #34363b;
    color: #9a9da3;
    cursor: not-allowed;
    opacity: 1
}

.plan-compare {
    margin: 34px 0 0
}

.plan-compare h2,
.plan-faq h2 {
    font-size: 20px;
    margin: 0 0 6px
}

.plan-compare p {
    margin: 0 0 14px;
    font-size: 13px
}

.plan-compare table caption {
    caption-side: top;
    text-align: left;
    color: var(--muted);
    font-size: 12px;
    padding: 0 0 8px
}

.plan-compare tbody th {
    font-weight: 500;
    color: var(--text)
}

.plan-yes {
    color: var(--green);
    font-weight: 700
}

.plan-no {
    color: #6f737a
}

.plan-faq {
    margin: 34px 0 0;
    max-width: 820px
}

.plan-faq details {
    border-top: 1px solid var(--border);
    padding: 12px 0
}

.plan-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text)
}

.plan-faq details p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.8
}

.plan-legal {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted)
}

.plan-legal a {
    color: var(--accent)
}

@media(max-width:620px) {
    .plan-grid {
        grid-template-columns: 1fr
    }

    .plan-status {
        align-items: flex-start
    }

    .plan-card {
        padding: 18px
    }
}

.preview-player {
    display: block;
    width: 100%;
    max-height: 420px;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 10px 0 18px
}

textarea {
    width: 100%;
    min-height: 110px;
    background: #202225;
    color: var(--text);
    border: 1px solid #4a4c52;
    border-radius: 5px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical
}

textarea:focus,
select:focus {
    border-color: var(--accent)
}

.password-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.password-row input {
    flex: 1;
    min-width: 0
}

.password-row button {
    flex: none;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px
}

.watch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    background: #1b1d20
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.chip.creator {
    color: #d8dee9
}

.resume-watch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 13px;
    color: var(--muted)
}

.resume-watch-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.related-section {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--border)
}

.related-section h2 {
    margin: 0 0 16px;
    font-size: 18px
}

.status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted)
}

.status-pill.good {
    border-color: #2b634b;
    color: var(--green);
    background: #1a2b24
}

.status-pill.bad {
    border-color: #6b313e;
    color: #ff9aa9;
    background: #2d1d22
}

.status-pill.warn {
    border-color: #6a5628;
    color: #f3cf83;
    background: #2a2417
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start
}

.report-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    background: var(--surface)
}

.report-token-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #5a4a2a;
    border-radius: 8px;
    background: #2b2618;
    font-size: 13px
}

.report-token-box code {
    display: block;
    margin: 6px 0 10px;
    padding: 8px 10px;
    border-radius: 5px;
    background: #141518;
    color: #ffd166;
    word-break: break-all;
    font-size: 12px
}

.report-result {
    margin-top: 16px
}

.item-visual-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative
}

.item-visual {
    position: relative
}

.item-badge-dur,
.item-badge-lock {
    position: absolute;
    z-index: 2;
    border-radius: 4px;
    background: rgba(18, 20, 24, .82);
    color: #e5e9f0;
    font-size: 11px;
    line-height: 1.35;
    padding: 2px 6px;
    white-space: nowrap
}

.item-badge-dur {
    right: 6px;
    bottom: 6px
}

.item-badge-lock {
    left: 6px;
    top: 6px;
    color: #ffd166;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 8px
}

.item-badge-purchased,
.item-badge-price {
    position: absolute;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 8px;
    white-space: nowrap
}

.item-badge-purchased {
    left: 6px;
    top: 6px;
    background: rgba(20, 56, 42, .9);
    color: #86d7b5;
    border: 1px solid rgba(134, 215, 181, .35)
}

.item-badge-price {
    right: 6px;
    top: 6px;
    background: rgba(34, 20, 27, .92);
    color: #f2768c;
    border: 1px solid rgba(242, 118, 140, .45)
}

.purchased-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #1b342a;
    color: var(--green);
    border: 1px solid #2d5c49
}

.download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #1d3c2f;
    border: 1px solid #35755a;
    color: #a9ebd0;
    font-size: 13px;
    font-weight: 600
}

.download-cta:hover {
    background: #244b3b;
    color: #fff
}

.ppv-box {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(242, 118, 140, .42);
    border-radius: 9px;
    background: linear-gradient(135deg, #271f24, #1e2024);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.ppv-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.ppv-head strong {
    font-size: 16px;
    color: #fff
}

.ppv-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent)
}

.ppv-desc {
    margin: 0;
    font-size: 13px;
    color: var(--muted)
}

.ppv-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.ppv-controls select {
    width: auto;
    min-width: 130px;
    min-height: 38px;
    padding: 6px 10px
}

.about-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 920px
}

.about-founder {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    background: linear-gradient(135deg, #242126, #1d1f23)
}

.about-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: none;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #c63d57, #6d2842);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .04em;
    border: 2px solid rgba(255, 255, 255, .18)
}

.about-founder-info h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #fff
}

.about-founder-role {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600
}

.about-founder-quote {
    margin: 0;
    font-size: 13px;
    color: var(--muted)
}

.about-story {
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    font-size: 15px;
    line-height: 1.85;
    color: #e2e5ea
}

.about-story p {
    margin: 0 0 14px
}

.about-story p:last-child {
    margin-bottom: 0
}

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

.about-pillar {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface)
}

.about-pillar h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #fff
}

.about-pillar p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted)
}

@media(max-width:860px) {
    .report-grid,
    .about-pillars {
        grid-template-columns: 1fr
    }
    .about-founder {
        flex-direction: column;
        align-items: flex-start
    }
}

/* Growth Funnel UI: header CTA, player end-card overlay, profile quota card, plan status actions */
.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fe628e, #e54978);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(254, 98, 142, .25);
    transition: filter .15s ease, transform .15s ease;
}

.header-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff;
}

.header-cta.is-quota {
    background: rgba(255, 209, 102, .14);
    border: 1px solid rgba(255, 209, 102, .42);
    color: #ffd166;
    box-shadow: none;
}

.header-cta.is-quota:hover {
    background: rgba(255, 209, 102, .22);
    color: #ffe08a;
}

.header-cta.is-quota.exhausted {
    background: linear-gradient(135deg, #f59e0b, #fe628e);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(254, 98, 142, .28);
}

.plan-status-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-status-link.primary {
    background: linear-gradient(135deg, #fe628e, #e54978);
    border-color: #fe628e;
    color: #fff;
    font-weight: 600;
}

.plan-status-link.primary:hover {
    filter: brightness(1.08);
    color: #fff;
}

.return-video-bar {
    margin: 0 0 16px;
    border-color: rgba(254, 98, 142, .42);
    background: linear-gradient(135deg, rgba(254, 98, 142, .13), #23252a);
}

.player-endcard-host {
    position: relative;
}

.player-endcard {
    position: absolute;
    inset: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(11, 13, 17, .86);
    backdrop-filter: blur(6px);
}

.player-endcard-card {
    position: relative;
    width: min(460px, 100%);
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid #3f4450;
    border-top: 3px solid #fe628e;
    background: #1c1f25;
    box-shadow: 0 20px 54px rgba(0, 0, 0, .62);
    text-align: left;
}

.player-endcard.is-vip .player-endcard-card {
    border-top-color: #ffd166;
}

.player-endcard-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid #3e434e;
    background: #252830;
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 17px;
    line-height: 1;
}

.player-endcard-close:hover {
    color: #fff;
    border-color: #fe628e;
}

.player-endcard-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(254, 98, 142, .16);
    color: #ff8fb0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.player-endcard.is-vip .player-endcard-badge {
    background: rgba(255, 209, 102, .16);
    color: #ffd166;
}

.player-endcard-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.35;
    color: #fff;
    padding-right: 26px;
}

.player-endcard-desc {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #c8ceda;
}

.player-endcard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.player-endcard-actions a,
.player-endcard-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid #444954;
    background: #262932;
    color: #eceff4;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.player-endcard-actions a:hover,
.player-endcard-actions button:hover {
    border-color: #6b7382;
    color: #fff;
}

.player-endcard-actions a.primary {
    background: linear-gradient(135deg, #fe628e, #e54978);
    border-color: #fe628e;
    color: #fff;
    box-shadow: 0 6px 18px rgba(254, 98, 142, .3);
}

.player-endcard-actions a.primary:hover {
    filter: brightness(1.08);
    color: #fff;
}

.player-endcard-actions button.ghost {
    background: transparent;
    border-color: transparent;
    color: var(--muted);
}

.player-endcard-actions button.ghost:hover {
    color: #fff;
}

.profile-growth-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0 0 22px;
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 209, 102, .32);
    border-left: 4px solid #ffd166;
    background: linear-gradient(135deg, rgba(255, 209, 102, .1), #1f2228);
}

.profile-growth-card.exhausted {
    border-color: rgba(254, 98, 142, .45);
    border-left-color: #fe628e;
    background: linear-gradient(135deg, rgba(254, 98, 142, .14), #221f24);
}

.profile-growth-main {
    flex: 1;
    min-width: 240px;
}

.profile-growth-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #ffd166;
    margin-bottom: 6px;
}

.profile-growth-card.exhausted .profile-growth-kicker {
    color: #ff8fb0;
}

.profile-growth-main h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    color: #fff;
}

.quota-meter-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 420px;
}

.quota-meter-label {
    font-size: 13px;
    color: #d0d5e0;
}

.quota-meter {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
}

.quota-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd166, #fe628e);
}

.profile-growth-card .paywall-actions {
    margin: 0;
}

@media(max-width:639px) {
    .player-endcard {
        padding: 10px;
        align-items: flex-end;
    }
    .player-endcard-card {
        padding: 14px 16px;
    }
    .player-endcard-title {
        font-size: 16px;
    }
    .player-endcard-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .player-endcard-actions a,
    .player-endcard-actions button {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }
}
