body {
    margin: 0;
    background: #0c0c0c;
    color: #f5f5f5;
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root {
    --cs-accent: #ff8a3d;
    --cs-accent-strong: #ff8a3d;
    --cs-panel: #151515;
    --cs-panel-border: rgba(255, 255, 255, 0.1);
    --cs-page-bg: #0c0c0c;
    --cs-text-muted: rgba(255, 255, 255, 0.72);
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(12, 12, 12, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row,
.footer-row,
.filters-row,
.checkout-row,
.site-nav {
    display: flex;
    align-items: center;
}

.header-row,
.filters-row,
.checkout-row {
    justify-content: space-between;
    gap: 16px;
}

.header-row,
.footer-row {
    min-height: 72px;
}

.site-logo {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-nav {
    gap: 20px;
    color: rgba(255, 255, 255, 0.72);
}

.hero {
    padding: 72px 0 40px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--cs-accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.hero h1,
.single-page h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1;
}

.hero-copy {
    margin: 0;
    max-width: 520px;
    color: var(--cs-text-muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-status {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
}

.section-head {
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.section-head p {
    margin: 0;
    color: var(--cs-text-muted);
}

.tier-grid,
.drama-grid,
.single-layout {
    display: grid;
    gap: 16px;
}

.tier-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tier-card,
.drama-card,
.locked-box,
.player-box {
    border: 1px solid var(--cs-panel-border);
    background: var(--cs-panel);
    border-radius: 18px;
}

.tier-card {
    padding: 20px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tier-card.is-active {
    border-color: var(--cs-accent-strong);
    box-shadow: 0 0 0 1px var(--cs-accent-strong) inset;
}

.tier-name,
.tier-price,
.tier-desc,
.tier-meta {
    display: block;
}

.tier-name {
    font-size: 14px;
    color: var(--cs-text-muted);
    line-height: 1.4;
    min-height: calc(1.4em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tier-price {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.tier-desc {
    color: var(--cs-text-muted);
    font-weight: 600;
}

.tier-meta {
    color: var(--cs-accent);
    font-size: 13px;
}

.filters {
    position: sticky;
    top: 72px;
    z-index: 20;
    padding: 14px 0;
    background: rgba(12, 12, 12, 0.94);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.term-pill,
.search-input,
.select-drama,
.checkout-button,
.button-link {
    border-radius: 999px;
}

.term-pill,
.select-drama,
.checkout-button,
.button-link {
    border: 0;
    cursor: pointer;
}

.term-pill {
    padding: 10px 16px;
    background: #1b1b1b;
    color: rgba(255, 255, 255, 0.75);
}

.term-pill.is-active {
    background: #fff;
    color: #000;
}

.search-input {
    width: min(280px, 100%);
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #171717;
    color: #fff;
}

.catalog {
    padding: 28px 0 140px;
}

.catalog-pagination {
    margin-top: 28px;
}

.catalog-pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.catalog-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-pagination .page-numbers a,
.catalog-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.catalog-pagination .page-numbers .current {
    background: var(--cs-accent-strong);
    color: #111;
    font-weight: 700;
}

.catalog-page-shortcut,
.catalog-page-jump button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
}

.catalog-page-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    color: var(--cs-text-muted);
}

.catalog-page-jump input {
    width: 88px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: #171717;
    color: #fff;
    font: inherit;
    text-align: center;
}

.drama-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.drama-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.drama-card.is-hidden {
    display: none;
}

.drama-card.is-selected {
    box-shadow: 0 0 0 2px var(--cs-accent-strong) inset;
}

.drama-thumb img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.drama-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-height: 188px;
}

.drama-topline,
.single-meta {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.drama-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.drama-rating {
    color: var(--cs-accent);
    font-weight: 700;
}

.drama-body h3 {
    margin: 8px 0 6px;
    font-size: 16px;
    line-height: 1.3;
    height: calc(1.3em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.drama-body p {
    margin: 0 0 8px;
    color: var(--cs-text-muted);
    font-size: 13px;
    line-height: 1.5;
    flex: 1 1 auto;
}

.drama-meta {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
}

.select-drama,
.checkout-button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--cs-accent-strong);
    color: #111;
    font-weight: 700;
}

.checkout-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 14px 0;
    background: rgba(12, 12, 12, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-plan {
    font-size: 18px;
    font-weight: 700;
}

.checkout-count {
    color: rgba(255, 255, 255, 0.68);
}

.checkout-button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.checkout-coupon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    margin: 0 0 22px;
    border: 1px solid var(--cs-panel-border);
    border-radius: 20px;
    background: var(--cs-panel);
}

.checkout-coupon-eyebrow {
    margin: 0 0 6px;
    color: var(--cs-accent);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.checkout-coupon-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.1;
}

.checkout-coupon-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.checkout-coupon-code code {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.coupon-copy-button {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.checkout-coupon-note {
    margin: 10px 0 0;
    color: var(--cs-text-muted);
    font-size: 14px;
}

.checkout-coupon-apply {
    flex: 0 0 auto;
}

.single-page {
    padding: 40px 0 100px;
}

.single-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: start;
}

.single-thumb img {
    border-radius: 18px;
}

.single-content {
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.8);
}

.page-home-anime {
    --cs-accent: #8ef6ff;
    --cs-accent-strong: linear-gradient(135deg, #74f8ff 0%, #ff7bcf 100%);
    --cs-panel: rgba(18, 21, 40, 0.78);
    --cs-panel-border: rgba(142, 246, 255, 0.22);
    --cs-page-bg: #080a16;
    --cs-text-muted: rgba(228, 236, 255, 0.78);
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(116, 248, 255, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 123, 207, 0.18), transparent 28%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 12%),
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.05), transparent 10%),
        linear-gradient(180deg, #0a0e1d 0%, #090913 100%);
}

.page-home-anime::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 2px,
            transparent 18px
        );
    opacity: 0.55;
}

.page-home-anime::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 12%, rgba(116, 248, 255, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 16%, rgba(255, 123, 207, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 24% 58%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
        radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px);
}

.page-home-anime .hero {
    padding-top: 88px;
}

.page-home-anime .hero h1 {
    text-shadow:
        0 0 24px rgba(116, 248, 255, 0.18),
        0 0 48px rgba(255, 123, 207, 0.1);
}

.page-home-anime .site-header,
.page-home-anime .filters,
.page-home-anime .checkout-bar {
    background: rgba(9, 11, 24, 0.88);
}

.page-home-anime .tier-card,
.page-home-anime .drama-card {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.page-home-anime .drama-card {
    position: relative;
}

.page-home-anime .drama-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.page-home-anime .tier-card.is-active,
.page-home-anime .drama-card.is-selected {
    box-shadow:
        0 0 0 1px rgba(142, 246, 255, 0.35) inset,
        0 18px 50px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(116, 248, 255, 0.14);
}

.page-home-anime .term-pill {
    background: rgba(255, 255, 255, 0.05);
}

.page-home-anime .term-pill.is-active {
    background: linear-gradient(135deg, #74f8ff 0%, #ff7bcf 100%);
    color: #111;
}

.page-home-anime .select-drama,
.page-home-anime .checkout-button,
.page-home-anime .button-link {
    background: linear-gradient(135deg, #74f8ff 0%, #ff7bcf 100%);
}

.page-home-anime .hero-status,
.page-home-anime .tier-meta,
.page-home-anime .drama-rating {
    color: #9af8ff;
}

.page-home-drama {
    --cs-accent: #ff8a3d;
    --cs-accent-strong: #ff8a3d;
    --cs-panel: #151515;
    --cs-panel-border: rgba(255, 255, 255, 0.1);
    --cs-page-bg: #0c0c0c;
    --cs-text-muted: rgba(255, 255, 255, 0.72);
}

.locked-box,
.player-box {
    padding: 20px;
}

@media (max-width: 800px) {
    .site-nav {
        display: none;
    }

    .filters {
        top: 0;
    }

    .filters-row,
    .checkout-row,
    .single-layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .search-input {
        width: 100%;
    }

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

    .checkout-coupon-card {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (min-width: 801px) and (max-width: 1100px) {
    .drama-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1101px) and (max-width: 1440px) {
    .drama-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.auth-page {
    min-height: calc(100vh - 72px);
    padding: 56px 0 96px;
}

.auth-shell {
    display: grid;
    gap: 28px;
}

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

.auth-card {
    padding: 28px;
    border: 1px solid var(--cs-panel-border);
    background: var(--cs-panel);
    border-radius: 22px;
}

.auth-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.auth-card p {
    margin: 0 0 18px;
    color: var(--cs-text-muted);
}

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

.auth-form label {
    display: grid;
    gap: 8px;
}

.auth-form span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.auth-form input {
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
}

.auth-submit {
    min-height: 50px;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--cs-accent-strong);
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 138, 61, 0.12);
    border: 1px solid rgba(255, 138, 61, 0.32);
    color: #ffd2b6;
    font-size: 14px;
}

.page-template-page-login .site-header,
.page-template-page-login .checkout-bar {
    position: static;
}

.page-home-anime .auth-card {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

@media (max-width: 800px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
}

.portal-page {
    min-height: calc(100vh - 72px);
    background:
        radial-gradient(circle at top left, rgba(116, 248, 255, 0.14), transparent 26%),
        radial-gradient(circle at top right, rgba(255, 138, 61, 0.14), transparent 26%),
        linear-gradient(180deg, #0a0b11 0%, #0d0d14 100%);
}

.portal-hero {
    padding: 72px 0 96px;
}

.portal-shell {
    display: grid;
    gap: 28px;
}

.portal-copy {
    max-width: 720px;
}

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

.portal-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.portal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 45%);
}

.portal-card h2 {
    margin: 16px 0 12px;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.05;
}

.portal-card p {
    max-width: 28rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.portal-badge,
.portal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
}

.portal-badge {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.portal-link {
    position: absolute;
    left: 28px;
    bottom: 28px;
    font-weight: 700;
    color: #111;
}

.portal-card-anime {
    background:
        radial-gradient(circle at top left, rgba(116, 248, 255, 0.18), transparent 30%),
        radial-gradient(circle at right center, rgba(255, 123, 207, 0.14), transparent 36%),
        rgba(14, 18, 34, 0.82);
}

.portal-card-anime .portal-link {
    background: linear-gradient(135deg, #74f8ff 0%, #ff7bcf 100%);
}

.portal-card-drama {
    background:
        radial-gradient(circle at top right, rgba(255, 138, 61, 0.2), transparent 30%),
        radial-gradient(circle at left center, rgba(255, 200, 130, 0.1), transparent 36%),
        rgba(24, 16, 11, 0.84);
}

.portal-card-drama .portal-link {
    background: #ff8a3d;
}

@media (max-width: 800px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        min-height: 260px;
    }
}

.auth-single {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card-single {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.auth-switch {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.auth-switch-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
}

.auth-switch-link.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.auth-divider {
    position: relative;
    margin: 20px 0 16px;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    position: relative;
    padding: 0 12px;
    background: var(--cs-panel);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.auth-social {
    display: grid;
    gap: 10px;
}

.auth-social p,
.auth-footnote {
    margin: 0;
    color: var(--cs-text-muted);
    font-size: 14px;
}

.auth-google {
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    font-weight: 600;
}

.auth-social-live .nsl-container,
.auth-social-live .nsl-container-buttons,
.auth-social-live .nsl-button {
    width: 100%;
}

.single-facts,
.purchase-grid,
.purchase-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.single-fact,
.purchase-tag,
.purchase-note,
.drama-access-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
}

.purchase-note.is-owned {
    background: rgba(255, 138, 61, 0.18);
    color: #ffd6bc;
}

.catalog-without-checkout {
    padding-bottom: 80px;
}

.drama-card-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.drama-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.drama-access-badge {
    min-height: 28px;
    padding: 0 10px;
    background: rgba(255, 138, 61, 0.18);
    color: #ffd6bc;
    font-size: 12px;
}

.drama-access-badge.is-preview {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.76);
}

.card-action-link {
    width: 100%;
    white-space: nowrap;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 12px 12px;
}

.card-bundle-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.card-bundle-toggle.is-selected {
    border-color: transparent;
    background: rgba(255, 138, 61, 0.18);
    color: #ffd6bc;
}

.bundle-selection-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin: 0 0 20px;
    border: 1px solid var(--cs-panel-border);
    border-radius: 18px;
    background: var(--cs-panel);
}

.bundle-selection-title {
    font-size: 18px;
    font-weight: 700;
}

.bundle-selection-copy {
    color: var(--cs-text-muted);
    font-size: 14px;
}

.bundle-selection-actions {
    display: flex;
    gap: 12px;
}

.single-media-column,
.single-copy-column,
.purchase-shell {
    display: grid;
    gap: 18px;
}

.single-facts {
    gap: 10px;
}

.single-fact.is-owned {
    background: rgba(255, 138, 61, 0.18);
    color: #ffd6bc;
}

.player-box-head h2,
.purchase-card h3 {
    margin: 0;
}

.player-box-head p,
.purchase-card p,
.purchase-login-card p {
    margin: 0;
    color: var(--cs-text-muted);
}

.player-box-preview video,
.player-box-full video {
    margin-top: 18px;
    border-radius: 14px;
    background: #000;
}

.purchase-shell {
    margin-top: 8px;
}

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

.purchase-card,
.purchase-login-card {
    padding: 20px;
    border: 1px solid var(--cs-panel-border);
    border-radius: 18px;
    background: var(--cs-panel);
}

.purchase-card {
    display: grid;
    gap: 12px;
    align-content: start;
    grid-template-rows: auto auto auto 1fr auto;
}

.purchase-price {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.purchase-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--cs-accent-strong);
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
}

.button-link-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.return-to-content-prompt {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: min(560px, calc(100vw - 32px));
    padding: 18px 20px;
    border: 1px solid var(--cs-panel-border);
    border-radius: 18px;
    background: rgba(12, 12, 12, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.return-to-content-copy {
    display: grid;
    gap: 6px;
}

.return-to-content-copy span {
    color: var(--cs-text-muted);
    font-size: 14px;
}

.account-library {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.account-section-list,
.account-library-links {
    display: grid;
    gap: 16px;
}

.account-section-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.account-section-card,
.account-library-card {
    border: 1px solid var(--cs-panel-border);
    border-radius: 18px;
    background: var(--cs-panel);
    overflow: hidden;
}

.account-section-card {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.account-section-card span {
    color: var(--cs-text-muted);
}

.account-section-tag,
.account-library-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 138, 61, 0.18);
    color: #ffd6bc;
    font-size: 12px;
}

.account-library-links {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.account-library-link {
    display: grid;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid var(--cs-panel-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.account-library-link-title {
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .purchase-grid {
        grid-template-columns: 1fr;
    }

    .account-library-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .card-actions,
    .bundle-selection-bar,
    .bundle-selection-actions,
    .return-to-content-prompt {
        flex-direction: column;
        align-items: stretch;
    }

    .card-bundle-toggle {
        width: 100%;
    }

    .account-library-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.auth-social-live .nsl-button {
    min-height: 50px;
    border-radius: 999px !important;
}

.auth-social-live .nsl-button-default div.nsl-button-label-container,
.auth-social-live .nsl-button-google[data-skin="light"] .nsl-button-label-container,
.auth-social-live .nsl-button-google[data-skin="dark"] .nsl-button-label-container {
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: initial;
    font-size: 14px;
    padding-right: 18px;
}
