/* Generated by scripts/bundle-css.php; edit the source modules. */

/* 00-foundation.css */
/* File: assets/css/modules/00-foundation.css */

/* ==========================================================================
   01. Tokens and global reset
   02. Legacy shared layout and homepage foundation
   03. Auth pages
   04. Profile pages
   05. Wallet and transactions pages
   06. Marketplace, upload, library, and content pages
   07. Media viewer pages
   08. Creator and notifications
   09. Public page refresh
   ========================================================================== */

:root {
    --bg: #0f1117;
    --bg-soft: #171a22;
    --card: rgba(255, 255, 255, 0.06);
    --card-solid: #181c25;
    --text: #f3f4f6;
    --muted: #b8bfd0;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ff4fa3;
    --accent-2: #7b61ff;
    --white: #ffffff;
    --success: #2ecc71;
    --error: #ff5c5c;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    --radius: 20px;
    --radius-sm: 12px;
    --max-width: 1200px;
    --gradient: linear-gradient(135deg, #ff4fa3 0%, #7b61ff 100%);
}

/* ==========================================================================
   View Collection (Gallery) - Design Review Overrides
   ========================================================================== */

/* 1. Make the main stage feel like a premium, floating display frame */
.owned-collection-stage-image-shell {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    background: linear-gradient(180deg, #0b0d14 0%, #06070a 100%) !important;
}

/* 2. Dim inactive thumbnails to bring focus to the active one */
.owned-collection-thumb-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
    filter: brightness(0.6);
}

/* 3. Brighten thumbnails on hover and give the active one a glowing border */
.owned-collection-thumb-btn:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1);
}

.owned-collection-thumb-btn.is-active {
    filter: brightness(1);
    box-shadow: 0 0 0 2px #ff4fa3, 0 8px 16px rgba(255, 79, 163, 0.3) !important;
    border-color: transparent !important;
}

/* 4. Make the sidebar stat cards tactile */
.owned-collection-stat-card {
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.owned-collection-stat-card:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.owned-collection-stat-card:hover strong {
    color: #f7c9de !important;
}

/* 5. Add an interactive hover state to the creator profile badge */
.owned-collection-creator {
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease !important;
}

.owned-collection-creator:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 79, 163, 0.18), transparent 25%),
        radial-gradient(circle at top right, rgba(123, 97, 255, 0.20), transparent 25%),
        linear-gradient(180deg, #0e1015 0%, #121622 100%);
    color: var(--text);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(255, 151, 198, 0.94);
    outline-offset: 3px;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(10, 11, 16, 0.7);
    border-bottom: 1px solid var(--line);
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 260;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(9, 12, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    top: 12px;
    left: 16px;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.site-main:focus {
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-small {
    min-height: 40px;
    padding: 0 18px;
}

.tx-credit {
    color: #8ff0b8;
}

.tx-debit {
    color: #ffb0b0;
}

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

.hero-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 79, 163, 0.18), transparent 30%),
        radial-gradient(circle at 80% 40%, rgba(123, 97, 255, 0.18), transparent 30%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    color: #f7c9de;
    font-size: 13px;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -1.6px;
}

.hero p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-art {
    min-height: 420px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.section {
    padding: 32px 0 12px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0;
    font-size: 32px;
    letter-spacing: -0.8px;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.content-card,
.creator-card,
.step-card,
.cta-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.thumb {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(255,79,163,0.35), rgba(123,97,255,0.35));
}

.content-card-body,
.creator-card-body,
.step-card-body,
.cta-card-body {
    padding: 18px;
}

.content-title,
.creator-name {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -0.4px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

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

.step-icon {
    font-size: 44px;
    margin-bottom: 14px;
}

.cta {
    padding: 48px 0 80px;
}

.cta-card {
    text-align: center;
}

.cta-card-body {
    padding: 40px 24px;
}

.cta-card h2 {
    margin: 0 0 10px;
    font-size: 40px;
    letter-spacing: -1px;
}

.cta-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 18px;
}

.flash-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
}

.site-flash-layer {
    --site-flash-top: 96px;
    position: fixed;
    inset: var(--site-flash-top) 0 auto;
    z-index: 140;
    display: flex;
    justify-content: center;
    padding: 0 18px;
    pointer-events: none;
}

.site-flash-layer[hidden] {
    display: none;
}

.site-flash-shell {
    width: min(100%, 520px);
}

.site-flash-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 14px 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-flash-layer.is-hiding .site-flash-toast {
    opacity: 0;
    transform: translateY(-8px);
}

.site-flash-toast.flash-success {
    background: rgba(14, 48, 35, 0.94);
    border-color: rgba(46, 204, 113, 0.28);
    color: #8ff0b8;
}

.site-flash-toast.flash-error {
    background: rgba(60, 24, 28, 0.95);
    border-color: rgba(255, 92, 92, 0.3);
    color: #ffb0b0;
}

.site-flash-toast-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.site-flash-close {
    flex: 0 0 auto;
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-flash-close:hover,
.site-flash-close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.site-flash-close span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 720px) {
    .site-flash-layer {
        padding-inline: 12px;
    }

    .site-flash-shell {
        width: 100%;
    }

    .site-flash-toast {
        font-size: 13px;
        padding: 11px 12px 11px 14px;
    }
}

.flash-success {
    background: rgba(46, 204, 113, 0.12);
    color: #8ff0b8;
    border: 1px solid rgba(46, 204, 113, 0.25);
}

.flash-error {
    background: rgba(255, 92, 92, 0.12);
    color: #ffb0b0;
    border: 1px solid rgba(255, 92, 92, 0.25);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
}

.footer-wrap {
    padding: 34px 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.footer-brand img {
    display: block;
    width: clamp(132px, 11vw, 156px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1024px) {
    .hero-card,
    .card-grid,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-card {
        padding: 34px;
    }

    .hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .footer-wrap,
    .card-grid,
    .steps-grid,
    .hero-card {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-art {
        margin-top: 20px;
        min-height: 300px;
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-brand img {
        width: min(152px, 48vw);
    }

    .content-card,
    .creator-card,
    .step-card {
        margin-bottom: 18px;
    }
}


/* 01-auth.css */
/* ==========================================================================
   03. Auth pages
   ========================================================================== */

.auth-page {
    padding: 52px 20px 90px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

.auth-aside,
.auth-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.auth-aside {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.auth-aside h1,
.auth-card h1,
.auth-card-head h2 {
    margin: 0 0 8px;
    font-size: 36px;
    letter-spacing: -0.8px;
}

.auth-card-head {
    margin-bottom: 22px;
}

.auth-card-intro {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.auth-kicker {
    width: fit-content;
    margin-bottom: 0;
}

.auth-subtext {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
}

.auth-subtext-wide {
    max-width: 620px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.auth-feature-list {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.auth-feature-item {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.auth-feature-item strong {
    font-size: 16px;
    line-height: 1.2;
}

.auth-feature-item span {
    color: var(--muted);
    line-height: 1.65;
}

.auth-card-elevated {
    align-self: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.form-group label {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.4;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select {
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(243, 244, 246, 0.9) 50%),
        linear-gradient(135deg, rgba(243, 244, 246, 0.9) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group select option,
.form-group select optgroup {
    background: #161a23;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 79, 163, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.12);
}

.auth-btn {
    width: 100%;
    margin: 8px 0 0;
}

.auth-form input[type="file"] {
    min-height: 0;
    padding: 10px 12px;
    cursor: pointer;
    color: #a3adc2;
    background: rgba(0, 0, 0, 0.18);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.auth-form input[type="file"]:hover {
    border-color: rgba(255, 79, 163, 0.4);
    background: rgba(0, 0, 0, 0.28);
}

.auth-form input[type="file"]::file-selector-button {
    margin-right: 16px;
    padding: 8px 16px;
    color: #ff9bd2;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.15), rgba(123, 97, 255, 0.15));
    border: 1px solid rgba(255, 79, 163, 0.3);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.auth-form input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.3), rgba(123, 97, 255, 0.3));
    color: #fff;
}

.auth-alt-link {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.auth-alt-link a {
    color: var(--white);
    text-decoration: underline;
}

.auth-verification-panel {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(240, 90, 148, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
}

.auth-verification-panel p,
.auth-verification-help {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.auth-verification-panel strong {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.auth-verification-kicker {
    margin: 0;
    color: #f1c6dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-form-secondary {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-errors {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 92, 92, 0.12);
    border: 1px solid rgba(255, 92, 92, 0.25);
}

.form-errors p {
    margin: 0 0 8px;
    color: #ffb0b0;
}

.form-errors p:last-child {
    margin-bottom: 0;
}

.auth-form .profile-v3-action-list {
    width: 100%;
    grid-template-columns: 1fr;
}

.auth-form .profile-v3-toggle-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    cursor: pointer;
}

.auth-form .profile-v3-toggle-copy {
    min-width: 0;
}

.auth-form .profile-v3-toggle-copy strong {
    display: block;
}

.auth-form .profile-v3-toggle-copy a {
    color: var(--white);
    text-decoration: underline;
}

.auth-form .profile-v3-toggle-switch {
    display: inline-block;
    width: 64px;
    height: 36px;
    justify-self: end;
    align-self: center;
}

.auth-form .profile-v3-toggle-slider {
    display: block;
}

.auth-form .profile-v3-toggle-switch input:focus-visible + .profile-v3-toggle-slider {
    outline: 3px solid rgba(255, 151, 198, 0.94);
    outline-offset: 3px;
}

.profile-edit-preview-shell {
    display: grid;
    gap: 16px;
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
}

.profile-edit-preview-banner {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.profile-edit-preview-banner img {
    display: block;
    width: 100%;
    height: 152px;
    object-fit: cover;
}

.profile-edit-preview-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.profile-edit-preview-avatar {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    border: 3px solid rgba(10, 12, 18, 0.92);
    background: rgba(11, 13, 19, 0.76);
    object-fit: cover;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.profile-edit-preview-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.profile-edit-preview-kicker {
    color: #f1c6dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-edit-preview-copy strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.profile-edit-preview-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

    .auth-aside,
    .auth-card {
        padding: 28px;
    }
}

.dashboard-page {
    padding: 34px 20px 90px;
}

.dashboard-hero {
    margin-bottom: 24px;
}

.dashboard-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 25%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.dashboard-hero-copy {
    display: grid;
    align-content: center;
}

.dashboard-hero-copy h1 {
    margin: 0 0 14px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

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

.dashboard-hero-aside {
    display: grid;
    gap: 14px;
}

.dashboard-highlight-card,
.dashboard-highlight-mini {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.38);
}

.dashboard-highlight-card {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.dashboard-highlight-card-balance {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.12), rgba(123, 97, 255, 0.12));
    border: 1px solid rgba(255, 79, 163, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(255, 79, 163, 0.1);
}

.dashboard-highlight-card span,
.dashboard-highlight-mini span,
.dashboard-stat-label,
.dashboard-mini-card span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-highlight-card strong {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.dashboard-highlight-card-balance strong {
    color: #fff;
    text-shadow: 0 2px 10px rgba(255, 79, 163, 0.3);
}

.dashboard-highlight-card em {
    color: #f3c7dc;
    font-style: normal;
    font-size: 14px;
}

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

.dashboard-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.dashboard-highlight-mini strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
}

.dashboard-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.dashboard-kicker {
    margin: 0 0 10px;
    color: #f7c9de;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-panel h1,
.dashboard-panel h2 {
    margin-top: 0;
}

.dashboard-section-head {
    margin-bottom: 18px;
}

.dashboard-section-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.dashboard-text {
    color: var(--muted);
    line-height: 1.7;
}

.dashboard-stat-card {
    display: grid;
    gap: 6px;
    align-content: start;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-balance {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 79, 163, 0.25);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.dashboard-stat-card:hover .dashboard-balance {
    color: #f7c9de;
    transition: color 0.2s ease;
}

.dashboard-mini-grid,
.dashboard-action-grid {
    display: grid;
    gap: 14px;
}

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

.dashboard-mini-card,
.dashboard-action-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-mini-card {
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-mini-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.dashboard-mini-card strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

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

.dashboard-action-card {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.dashboard-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 97, 255, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 8px 16px rgba(123, 97, 255, 0.15);
}

.dashboard-action-card strong {
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: break-word;
}

.dashboard-action-card:hover strong {
    color: #fff;
}

.dashboard-action-card span {
    color: var(--muted);
    line-height: 1.65;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .dashboard-hero-card,
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

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

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

    .dashboard-mini-grid,
    .dashboard-action-grid,
    .dashboard-highlight-grid {
        grid-template-columns: 1fr;
    }

    .auth-card,
    .dashboard-panel {
        padding: 22px;
    }

    .auth-form .profile-v3-toggle-card {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .auth-form .profile-v3-toggle-switch {
        justify-self: start;
    }

    .auth-card h1 {
        font-size: 30px;
    }

    .dashboard-hero-card {
        padding: 24px;
    }

    .dashboard-hero-copy h1 {
        font-size: 38px;
    }

}


/* 02-profile.css */
/* ==========================================================================
   04. Profile pages
   ========================================================================== */

.profile-v2-page {
    padding-bottom: 90px;
}

.profile-v2-hero {
    position: relative;
    margin-bottom: 34px;
}

.profile-v2-banner-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.profile-v2-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-v2-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(8, 9, 13, 0.12), rgba(8, 9, 13, 0.62)),
        linear-gradient(to top, rgba(8, 9, 13, 0.75), rgba(8, 9, 13, 0.05));
}

.profile-v2-topcard {
    position: relative;
    margin-top: -95px;
    z-index: 2;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(12, 14, 19, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.profile-v2-avatar-col {
    display: flex;
    justify-content: center;
}

.profile-v2-avatar-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.profile-v2-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-v2-main-col h1 {
    margin: 0 0 12px;
    font-size: 46px;
    line-height: 1.02;
    letter-spacing: -1.4px;
}

.profile-v2-username {
    margin: 0 0 10px;
    color: #f7c9de;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-v2-bio {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 760px;
    font-size: 16px;
}

.profile-v2-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-v2-meta-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}

.profile-v2-meta-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.profile-v2-meta-value {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.profile-v2-action-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.profile-v2-content {
    position: relative;
}

.profile-v2-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-v2-sidebar,
.profile-v2-main {
    display: grid;
    gap: 24px;
}

.profile-v2-panel {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.profile-v2-panel-head {
    margin-bottom: 18px;
}

.profile-v2-panel-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -0.6px;
}

.profile-v2-panel-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.profile-v2-wallet-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 30%),
        rgba(255, 255, 255, 0.06);
}

.profile-v2-balance-box {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    margin-bottom: 16px;
}

.profile-v2-balance-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.profile-v2-balance-value {
    display: block;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -1.2px;
    margin-bottom: 8px;
}

.profile-v2-balance-note {
    display: block;
    color: #f3c7dc;
    font-size: 14px;
}

.profile-v2-mini-stats {
    display: grid;
    gap: 12px;
}

.profile-v2-mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.profile-v2-mini-stat span {
    color: var(--muted);
    font-size: 14px;
}

.profile-v2-mini-stat strong {
    font-size: 16px;
}

.profile-v2-action-list {
    display: grid;
    gap: 12px;
}

.profile-v2-action-item {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: 0.2s ease;
}

.profile-v2-action-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.profile-v2-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-v2-detail-card,
.profile-v2-presence-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.profile-v2-detail-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.profile-v2-detail-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.profile-v2-about-box {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    line-height: 1.8;
    min-height: 120px;
}

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

.profile-v2-presence-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-v2-presence-card strong {
    font-size: 28px;
    letter-spacing: -0.8px;
}

.profile-v2-presence-card span {
    color: var(--muted);
    line-height: 1.5;
}

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

    .profile-v2-sidebar {
        order: 2;
    }

    .profile-v2-main {
        order: 1;
    }

    .profile-v2-topcard {
        grid-template-columns: 140px 1fr;
    }

    .profile-v2-action-col {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .profile-v2-avatar-wrap {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .profile-v2-banner-wrap {
        height: 300px;
    }

    .profile-v2-topcard {
        margin-top: -60px;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 22px;
    }

    .profile-v2-avatar-wrap {
        width: 130px;
        height: 130px;
    }

    .profile-v2-main-col h1 {
        font-size: 34px;
    }

    .profile-v2-meta-row {
        justify-content: center;
    }

    .profile-v2-action-col {
        justify-content: center;
    }

    .profile-v2-details-grid,
    .profile-v2-presence-grid {
        grid-template-columns: 1fr;
    }

    .profile-v2-balance-value {
        font-size: 34px;
    }
}

.profile-v3-page {
    padding: 34px 20px 90px;
}

.profile-v3-hero {
    margin-bottom: 24px;
}

.profile-v3-shell {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(13, 15, 22, 0.72));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.profile-v3-cover {
    position: relative;
    height: 300px;
}

.profile-v3-cover-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-v3-cover-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(8, 9, 13, 0.18), rgba(8, 9, 13, 0.56)),
        linear-gradient(to top, rgba(8, 9, 13, 0.85), rgba(8, 9, 13, 0.08));
}

.profile-v3-hero-card {
    position: relative;
    margin-top: -84px;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 24px;
    align-items: stretch;
    padding: 0 32px 32px;
}

.profile-v3-identity {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(12, 15, 22, 0.92), rgba(12, 15, 22, 0.74));
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.profile-v3-avatar-shell {
    width: 160px;
    height: 160px;
    border-radius: 34px;
    overflow: hidden;
    border: 4px solid rgba(10, 12, 18, 0.9);
    background: rgba(10, 12, 18, 0.82);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.profile-v3-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-v3-copy {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.profile-v3-kicker,
.profile-v3-section-kicker {
    margin: 0;
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.profile-v3-copy h1 {
    margin: 0;
    font-size: 52px;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.profile-v3-bio {
    margin: 4px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.profile-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.profile-v3-highlight-column {
    display: grid;
    gap: 14px;
    align-content: stretch;
}

.profile-v3-highlight-card,
.profile-v3-highlight-mini {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(13, 16, 24, 0.9), rgba(13, 16, 24, 0.76));
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
}

.profile-v3-highlight-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    align-content: start;
    min-height: 100%;
}

.profile-v3-highlight-card span,
.profile-v3-highlight-mini span,
.profile-v3-stat-card span,
.profile-v3-detail-card span {
    color: #d7dfed;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.profile-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.profile-v3-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.profile-v3-highlight-mini strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.profile-v3-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 24px;
    align-items: start;
}

.profile-v3-main-column {
    display: grid;
    gap: 24px;
}

.profile-v3-side-column {
    display: grid;
    gap: 24px;
}

.profile-v3-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(14, 17, 25, 0.92), rgba(11, 14, 21, 0.84));
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
}

.profile-v3-panel-head,
.profile-v3-panel-head-spread {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-v3-panel-head h2,
.profile-v3-panel-head-spread h2 {
    margin: 6px 0 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.profile-v3-panel-note {
    margin: 0;
    max-width: 320px;
    color: var(--muted);
    line-height: 1.6;
    text-align: right;
}

.profile-v3-panel-copy {
    margin: 10px 0 0;
    max-width: 56ch;
    color: #d1d7e4;
    line-height: 1.7;
}

.profile-v3-stat-grid,
.profile-v3-detail-grid {
    display: grid;
    gap: 14px;
}

.profile-v3-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.profile-v3-stat-card,
.profile-v3-detail-card,
.profile-v3-toggle-card,
.profile-v3-action-item {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-v3-stat-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    min-height: 112px;
    align-content: end;
}

.profile-v3-stat-card strong {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.05em;
    word-break: break-word;
}

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

.profile-v3-detail-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    min-height: 108px;
    align-content: end;
}

.profile-v3-detail-card strong {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.profile-v3-detail-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.profile-v3-controls-panel {
    display: grid;
    gap: 18px;
}

.profile-v3-visibility-form {
    display: grid;
    gap: 14px;
}

.profile-v3-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
}

.profile-v3-toggle-copy {
    display: grid;
    gap: 6px;
}

.profile-v3-toggle-copy strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.profile-v3-toggle-switch {
    position: relative;
    width: 64px;
    height: 36px;
    flex: 0 0 auto;
}

.profile-v3-toggle-switch input {
    position: absolute;
    inset: 0;
    z-index: 2;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.profile-v3-toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.profile-v3-toggle-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease;
}

.profile-v3-toggle-switch input:checked + .profile-v3-toggle-slider {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.9), rgba(123, 97, 255, 0.9));
    border-color: transparent;
}

.profile-v3-toggle-switch input:checked + .profile-v3-toggle-slider::before {
    transform: translateX(28px);
}

.profile-v3-action-list {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.profile-v3-follow-list {
    display: grid;
    gap: 14px;
}

.profile-v3-follow-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.profile-v3-follow-avatar-link {
    display: inline-flex;
}

.profile-v3-follow-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-v3-follow-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.profile-v3-follow-copy strong,
.profile-v3-follow-copy strong a {
    color: #fff;
}

.profile-v3-follow-copy span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.profile-v3-action-item {
    display: grid;
    gap: 0;
    padding: 20px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    min-width: 0;
    min-height: 0;
    align-content: start;
    align-items: center;
}

.profile-v3-action-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.profile-v3-action-item strong {
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: break-word;
}

.data-export-v1-page {
    display: grid;
    gap: 24px;
}

.data-export-v1-hero .profile-v3-stat-grid {
    margin-bottom: 0;
}

.data-export-v1-download-form {
    display: grid;
    gap: 12px;
}

.data-export-v1-history-list {
    grid-template-columns: 1fr;
}

.data-export-v1-history-item {
    gap: 8px;
    align-items: start;
}

.data-export-v1-history-item span,
.data-export-v1-history-item em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.data-export-v1-history-item p {
    margin: 0;
    color: #d1d7e4;
    line-height: 1.7;
}

.profile-v3-requests {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .profile-v3-hero-card,
    .profile-v3-grid {
        grid-template-columns: 1fr;
    }

    .profile-v3-highlight-column {
        max-width: 520px;
    }

    .profile-v3-stat-grid,
    .profile-v3-action-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .data-export-v1-history-list {
        grid-template-columns: 1fr;
    }

    .profile-v3-follow-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .profile-v3-follow-item .btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .profile-v3-page {
        padding: 24px 12px 80px;
    }

    .profile-v3-cover {
        height: 220px;
    }

    .profile-v3-hero-card {
        margin-top: -52px;
        padding: 0 18px 18px;
        gap: 18px;
    }

    .profile-v3-identity {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .profile-v3-avatar-shell {
        width: 124px;
        height: 124px;
        border-radius: 28px;
    }

    .profile-v3-copy {
        padding-top: 0;
    }

    .profile-v3-copy h1 {
        font-size: 38px;
    }

    .profile-v3-highlight-grid,
    .profile-v3-stat-grid,
    .profile-v3-detail-grid,
    .profile-v3-action-list {
        grid-template-columns: 1fr;
    }

    .profile-v3-panel,
    .profile-v3-highlight-card,
    .profile-v3-highlight-mini {
        padding-left: 20px;
        padding-right: 20px;
    }

    .profile-v3-panel {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .profile-v3-panel-head,
    .profile-v3-panel-head-spread {
        align-items: start;
        flex-direction: column;
    }

    .profile-v3-panel-note {
        max-width: none;
        text-align: left;
    }

    .profile-v3-toggle-card {
        align-items: start;
        flex-direction: column;
    }

    .profile-v3-action-item {
        min-height: 0;
    }
}


/* 03-wallet.css */
/* ==========================================================================
   05. Wallet and transactions pages
   ========================================================================== */

.wallet-v2-page,
.buyxs-v2-page,
.transactions-v2-page {
    padding-bottom: 90px;
}

.wallet-v2-hero,
.buyxs-v2-hero,
.transactions-v2-hero {
    padding: 34px 0 0;
    margin-bottom: 28px;
}

.wallet-v2-hero-card,
.buyxs-v2-hero-card,
.transactions-v2-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 25%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.wallet-v2-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: stretch;
    padding: 30px;
}

.buyxs-v2-hero-card,
.transactions-v2-hero-card {
    padding: 34px 30px;
}

.wallet-v2-kicker {
    display: inline-block;
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-v2-hero-copy h1,
.buyxs-v2-hero-card h1,
.transactions-v2-hero-copy h1,
.transactions-v2-hero-card h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -1.4px;
    max-width: 820px;
}

.wallet-v2-subtext {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    max-width: 760px;
    font-size: 16px;
}

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

.wallet-v2-balance-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(9, 11, 16, 0.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.wallet-v2-balance-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wallet-v2-balance-value {
    display: block;
    margin-bottom: 10px;
    font-size: 46px;
    line-height: 1;
    letter-spacing: -1.3px;
}

.wallet-v2-balance-note {
    display: block;
    color: #f3c7dc;
    font-size: 14px;
    margin-bottom: 20px;
}

.wallet-v2-balance-mini {
    display: grid;
    gap: 12px;
}

.wallet-v2-balance-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.wallet-v2-balance-mini-item span {
    color: var(--muted);
    font-size: 14px;
}

.wallet-v2-balance-mini-item strong {
    font-size: 15px;
}

.wallet-v2-content,
.buyxs-v2-content,
.transactions-v2-content {
    position: relative;
}

.wallet-v2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.wallet-v2-stat-card,
.wallet-v2-panel {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.wallet-v2-stat-card {
    padding: 24px;
}

.wallet-v2-stat-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wallet-v2-stat-value {
    display: block;
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.wallet-v2-stat-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.wallet-v2-grid,
.buyxs-v2-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.wallet-v2-main,
.wallet-v2-side,
.buyxs-v2-side {
    display: grid;
    gap: 24px;
}

.wallet-v2-panel {
    padding: 24px;
}

.wallet-v2-panel-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.wallet-v2-panel-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -0.6px;
}

.wallet-v2-panel-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.wallet-v2-activity-list {
    display: grid;
    gap: 14px;
}

.wallet-v2-activity-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.wallet-v2-activity-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.wallet-v2-activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex: 0 0 42px;
}

.wallet-v2-activity-icon.is-credit {
    background: rgba(46, 204, 113, 0.12);
    color: #8ff0b8;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.wallet-v2-activity-icon.is-debit {
    background: rgba(255, 92, 92, 0.12);
    color: #ffb0b0;
    border: 1px solid rgba(255, 92, 92, 0.2);
}

.wallet-v2-activity-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wallet-v2-activity-copy strong {
    font-size: 16px;
}

.wallet-v2-activity-copy span,
.wallet-v2-activity-right span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.wallet-v2-activity-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.wallet-v2-links {
    display: grid;
    gap: 12px;
}

.wallet-v2-link-card {
    display: block;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: 0.2s ease;
}

.wallet-v2-link-card:hover,
.buyxs-v2-package-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.wallet-v2-info-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.10), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.10), transparent 30%),
        rgba(255,255,255,0.055);
}

.wallet-v2-rule-list {
    display: grid;
    gap: 12px;
    color: var(--muted);
    line-height: 1.75;
}

.wallet-v2-rule-list p {
    margin: 0;
}

.wallet-v2-empty {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.wallet-v2-empty p {
    margin: 0 0 14px;
    color: var(--muted);
}

.buyxs-v2-form {
    display: grid;
    gap: 22px;
}

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

.buyxs-v2-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: 0.2s ease;
    overflow: hidden;
}

.buyxs-v2-package-card input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
}

.buyxs-v2-package-tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.buyxs-v2-package-amount {
    font-size: 30px;
    letter-spacing: -0.8px;
}

.buyxs-v2-package-price {
    color: #f7c9de;
    font-size: 18px;
}

.buyxs-v2-package-note {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.transactions-v2-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
}

.transactions-v2-table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-v2-table th,
.transactions-v2-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.transactions-v2-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(255,255,255,0.03);
}

.transactions-v2-table td {
    font-size: 15px;
    line-height: 1.55;
}

.transactions-v2-table tbody tr:hover {
    background: rgba(255,255,255,0.035);
}

@media (max-width: 1100px) {
    .wallet-v2-hero-card,
    .wallet-v2-grid,
    .buyxs-v2-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .wallet-v2-hero-card,
    .buyxs-v2-hero-card,
    .transactions-v2-hero-card {
        padding: 22px;
    }

    .wallet-v2-hero-copy h1,
    .buyxs-v2-hero-card h1,
    .transactions-v2-hero-copy h1,
    .transactions-v2-hero-card h1 {
        font-size: 34px;
    }

    .wallet-v2-stats-grid,
    .buyxs-v2-package-grid {
        grid-template-columns: 1fr;
    }

    .wallet-v2-activity-item {
        flex-direction: column;
    }

    .wallet-v2-activity-right {
        align-items: flex-start;
        text-align: left;
    }

    .wallet-v2-panel-head {
        display: block;
    }

    .wallet-v2-panel-head .btn {
        margin-top: 12px;
    }
}

.wallet-v3-page {
    padding: 34px 20px 90px;
}

.wallet-v3-hero {
    margin-bottom: 24px;
}

.wallet-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 26%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.wallet-v3-kicker,
.wallet-v3-section-kicker {
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.wallet-v3-hero-copy h1 {
    margin: 0 0 14px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 840px;
}

.wallet-v3-subtext {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.wallet-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.wallet-v3-balance-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-v3-balance-label,
.wallet-v3-stat-card span,
.wallet-v3-summary-card span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wallet-v3-balance-value {
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.wallet-v3-balance-note {
    margin: 0;
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
    line-height: 1.7;
}

.wallet-v3-balance-grid,
.wallet-v3-summary-grid,
.wallet-v3-stats {
    display: grid;
    gap: 16px;
}

.wallet-v3-cashout-breakdown {
    margin: 18px 0 0;
}

.wallet-v3-balance-grid,
.wallet-v3-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wallet-v3-balance-mini,
.wallet-v3-summary-card,
.wallet-v3-stat-card,
.wallet-v3-link-card,
.wallet-v3-activity-item {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.wallet-v3-balance-mini,
.wallet-v3-summary-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.wallet-v3-balance-mini strong,
.wallet-v3-summary-card strong {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.wallet-v3-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.wallet-v3-stat-card {
    display: grid;
    gap: 10px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.wallet-v3-stat-card strong {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.wallet-v3-stat-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.wallet-v3-stat-primary {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.055);
}

.wallet-v3-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.wallet-v3-main-column,
.wallet-v3-side-column {
    display: grid;
    gap: 24px;
}

.wallet-v3-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.wallet-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.wallet-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.wallet-v3-panel-note {
    margin: 0;
    max-width: 260px;
    color: var(--muted);
    line-height: 1.6;
    text-align: right;
}

.wallet-v3-activity-list,
.wallet-v3-link-list,
.wallet-v3-rule-list {
    display: grid;
    gap: 14px;
}

.wallet-v3-activity-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
}

.wallet-v3-activity-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.wallet-v3-activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex: 0 0 auto;
}

.wallet-v3-activity-icon.is-credit {
    background: rgba(46, 204, 113, 0.12);
    color: #8ff0b8;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.wallet-v3-activity-icon.is-debit {
    background: rgba(255, 92, 92, 0.12);
    color: #ffb0b0;
    border: 1px solid rgba(255, 92, 92, 0.2);
}

.wallet-v3-activity-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.wallet-v3-activity-copy strong {
    font-size: 16px;
}

.wallet-v3-activity-copy span,
.wallet-v3-activity-right span,
.wallet-v3-link-card span,
.wallet-v3-rule-list p {
    color: var(--muted);
    line-height: 1.65;
}

.wallet-v3-activity-right {
    display: grid;
    gap: 6px;
    justify-items: end;
    text-align: right;
}

.wallet-v3-activity-right .tx-credit {
    color: #8ff0b8;
}

.wallet-v3-activity-right .tx-debit {
    color: #ffb0b0;
}

.wallet-v3-link-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    min-width: 0;
    min-height: 82px;
    align-content: start;
}

.wallet-v3-link-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.wallet-v3-link-card strong {
    font-size: 17px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: break-word;
}

.wallet-v3-info-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.1), transparent 30%),
        rgba(255, 255, 255, 0.055);
}

.wallet-v3-rule-list p {
    margin: 0;
}

.wallet-v3-empty {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.wallet-v3-empty p {
    margin: 0 0 14px;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .wallet-v3-shell,
    .wallet-v3-main-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .wallet-v3-page {
        padding: 24px 12px 80px;
    }

    .wallet-v3-shell,
    .wallet-v3-panel {
        padding: 22px;
    }

    .wallet-v3-hero-copy h1 {
        font-size: 36px;
    }

    .wallet-v3-stats,
    .wallet-v3-balance-grid,
    .wallet-v3-summary-grid {
        grid-template-columns: 1fr;
    }

    .wallet-v3-panel-head {
        flex-direction: column;
        align-items: start;
    }

    .wallet-v3-panel-note {
        max-width: none;
        text-align: left;
    }

    .wallet-v3-activity-item {
        flex-direction: column;
    }

    .wallet-v3-activity-right {
        justify-items: start;
        text-align: left;
    }
}

.transactions-v3-page {
    padding: 34px 20px 90px;
}

.transactions-v3-hero {
    margin-bottom: 24px;
}

.transactions-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 26%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.transactions-v3-kicker,
.transactions-v3-section-kicker {
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.transactions-v3-hero-copy h1 {
    margin: 0 0 14px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 820px;
}

.transactions-v3-subtext {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.transactions-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.transactions-v3-balance-card,
.transactions-v3-summary-card,
.transactions-v3-item {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.transactions-v3-balance-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 24px;
}

.transactions-v3-balance-card span,
.transactions-v3-summary-card span,
.transactions-v3-meta span {
    color: var(--muted);
}

.transactions-v3-balance-card span,
.transactions-v3-summary-card span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.transactions-v3-balance-card strong {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.transactions-v3-balance-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

.transactions-v3-balance-card p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.transactions-v3-balance-card .transactions-v3-meta {
    margin-top: 6px;
}

.transactions-v3-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.transactions-v3-summary-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.transactions-v3-summary-card strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.transactions-v3-summary-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.transactions-v3-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.transactions-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.transactions-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.transactions-v3-panel-note {
    margin: 0;
    max-width: 320px;
    color: var(--muted);
    line-height: 1.6;
    text-align: right;
}

.transactions-v3-list {
    display: grid;
    gap: 14px;
}

.transactions-v3-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.transactions-v3-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.transactions-v3-item-icon.is-credit {
    background: rgba(46, 204, 113, 0.12);
    color: #8ff0b8;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.transactions-v3-item-icon.is-debit {
    background: rgba(255, 92, 92, 0.12);
    color: #ffb0b0;
    border: 1px solid rgba(255, 92, 92, 0.2);
}

.transactions-v3-item-main {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.transactions-v3-item-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.transactions-v3-item-title,
.transactions-v3-item-amount {
    display: grid;
    gap: 6px;
}

.transactions-v3-item-title {
    min-width: 0;
}

.transactions-v3-item-title strong {
    font-size: 17px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-break: break-word;
}

.transactions-v3-item-title span {
    color: var(--muted);
    line-height: 1.65;
    word-break: break-word;
}

.transactions-v3-item-amount {
    justify-items: end;
    text-align: right;
    flex: 0 0 auto;
}

.transactions-v3-item-amount strong {
    font-size: 18px;
    word-break: break-word;
}

.transactions-v3-item-amount span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.transactions-v3-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.transactions-v3-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    line-height: 1.35;
}

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

    .transactions-v3-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .transactions-v3-page {
        padding: 24px 12px 80px;
    }

    .transactions-v3-shell,
    .transactions-v3-panel {
        padding: 22px;
    }

    .transactions-v3-hero-copy h1 {
        font-size: 36px;
    }

    .transactions-v3-panel-head,
    .transactions-v3-item-head {
        flex-direction: column;
        align-items: start;
    }

    .transactions-v3-panel-note,
    .transactions-v3-item-amount {
        max-width: none;
        text-align: left;
        justify-items: start;
    }

    .transactions-v3-item {
        grid-template-columns: 1fr;
    }
}

.buyxs-v3-page {
    padding: 34px 20px 90px;
}

.buyxs-v3-hero {
    margin-bottom: 24px;
}

.buyxs-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 26%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.buyxs-v3-kicker,
.buyxs-v3-section-kicker {
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.buyxs-v3-hero-copy h1 {
    margin: 0 0 14px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 840px;
}

.buyxs-v3-subtext {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.buyxs-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.buyxs-v3-summary-card,
.buyxs-v3-package-card,
.buyxs-v3-checkout-bar,
.buyxs-v3-step-item {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.buyxs-v3-summary-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 24px;
}

.buyxs-v3-summary-card span,
.buyxs-v3-package-price,
.buyxs-v3-package-note,
.buyxs-v3-checkout-copy span,
.buyxs-v3-rule-list p,
.buyxs-v3-step-item span,
.buyxs-v3-panel-note {
    color: var(--muted);
}

.buyxs-v3-summary-card span,
.buyxs-v3-checkout-copy span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.buyxs-v3-summary-card strong {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.buyxs-v3-summary-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

.buyxs-v3-summary-card p {
    margin: 0;
    line-height: 1.7;
}

.buyxs-v3-summary-mini {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.buyxs-v3-summary-mini strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.buyxs-v3-summary-mini p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.buyxs-v3-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.buyxs-v3-main-column,
.buyxs-v3-side-column {
    display: grid;
    gap: 24px;
}

.buyxs-v3-panel {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.buyxs-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.buyxs-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.buyxs-v3-panel-note {
    margin: 0;
    max-width: 320px;
    line-height: 1.6;
    text-align: right;
}

.buyxs-v3-form {
    display: grid;
    gap: 22px;
}

.buyxs-v3-manual-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    gap: 18px;
    align-items: stretch;
}

.buyxs-v3-manual-entry .form-group {
    margin: 0;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.buyxs-v3-manual-entry .form-group input {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.buyxs-v3-manual-note {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 36%),
        rgba(10, 12, 18, 0.42);
}

.buyxs-v3-manual-note strong {
    font-size: 18px;
}

.buyxs-v3-manual-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.buyxs-v3-suggestion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.buyxs-v3-suggestion {
    min-width: 96px;
    justify-content: center;
}

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

.buyxs-v3-package-card {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 22px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.buyxs-v3-package-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.buyxs-v3-package-card.is-featured {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.09), transparent 35%),
        rgba(255, 255, 255, 0.05);
}

.buyxs-v3-package-card.is-selected {
    border-color: rgba(255, 79, 163, 0.55);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 79, 163, 0.18) inset;
}

.buyxs-v3-package-card input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 18px;
    height: 18px;
}

.buyxs-v3-package-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 28px;
}

.buyxs-v3-package-tag,
.buyxs-v3-package-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.buyxs-v3-package-tag {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f5d7e5;
}

.buyxs-v3-package-badge {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.9), rgba(123, 97, 255, 0.9));
    color: #fff;
}

.buyxs-v3-package-amount {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.buyxs-v3-package-price {
    font-size: 18px;
}

.buyxs-v3-package-label {
    color: #f7c9de;
    font-size: 14px;
    font-weight: 700;
}

.buyxs-v3-package-note {
    margin: 0;
    line-height: 1.65;
}

.buyxs-v3-checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.buyxs-v3-checkout-copy {
    display: grid;
    gap: 8px;
}

.buyxs-v3-checkout-copy strong {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.buyxs-v3-info-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.1), transparent 30%),
        rgba(255, 255, 255, 0.055);
}

.buyxs-v3-rule-list,
.buyxs-v3-step-list {
    display: grid;
    gap: 14px;
}

.buyxs-v3-rule-list p {
    margin: 0;
    line-height: 1.75;
}

.buyxs-v3-step-item {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.buyxs-v3-step-item strong {
    font-size: 17px;
    letter-spacing: -0.02em;
}

.buyxs-v3-step-item span {
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .buyxs-v3-shell,
    .buyxs-v3-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .buyxs-v3-page {
        padding: 24px 12px 80px;
    }

    .buyxs-v3-shell,
    .buyxs-v3-panel {
        padding: 22px;
    }

    .buyxs-v3-hero-copy h1 {
        font-size: 36px;
    }

    .buyxs-v3-manual-entry {
        grid-template-columns: 1fr;
    }

    .buyxs-v3-package-grid {
        grid-template-columns: 1fr;
    }

    .buyxs-v3-panel-head,
    .buyxs-v3-checkout-bar {
        flex-direction: column;
        align-items: start;
    }

    .buyxs-v3-panel-note {
        max-width: none;
        text-align: left;
    }
}


/* 04-marketplace-content.css */
/* ==========================================================================
   06. Marketplace, upload, library, and content pages
   ========================================================================== */

.marketplace-page,
.mycontent-page,
.upload-page,
.content-page {
    padding-bottom: 90px;
}

.marketplace-hero,
.upload-section,
.content-section {
    padding: 34px 0 0;
    margin-bottom: 28px;
}

.marketplace-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 25%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    padding: 36px 32px;
}

.marketplace-kicker {
    display: inline-block;
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marketplace-hero-card h1,
.upload-head h1,
.content-info-panel h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -1.4px;
}

.marketplace-filter-panel,
.upload-main-card,
.upload-side-card,
.content-info-panel,
.content-media-panel {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.marketplace-filter-panel,
.upload-main-card,
.upload-side-card,
.content-info-panel {
    padding: 24px;
}

.marketplace-filter-form {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.marketplace-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.marketplace-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.07);
}

.marketplace-card-media-link {
    display: block;
}

.marketplace-card-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.marketplace-card-body {
    padding: 18px;
}

.marketplace-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.marketplace-type-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.marketplace-price {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.marketplace-card-title {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.marketplace-card-title a {
    color: inherit;
}

.marketplace-card-meta {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
}

.marketplace-empty {
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--muted);
}

.mycontent-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.upload-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.upload-head {
    margin-bottom: 22px;
}

.upload-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 420px;
    gap: 24px;
    align-items: start;
}

.content-media-panel {
    overflow: hidden;
    padding: 0;
}

.content-preview-image {
    width: 100%;
    height: 780px;
    object-fit: cover;
    display: block;
}

.content-price {
    margin: 10px 0 18px;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.content-description {
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 20px;
}

.content-creator-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 20px;
}

.content-creator-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.content-creator-box strong,
.content-creator-box span {
    display: block;
}

.content-creator-box span {
    color: var(--muted);
    margin-top: 4px;
}

.content-detail-list {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.content-detail-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.content-detail-list span {
    color: var(--muted);
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    .marketplace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .upload-layout,
    .content-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .marketplace-grid,
    .upload-two-col,
    .marketplace-filter-form {
        grid-template-columns: 1fr;
    }

    .marketplace-hero-card h1,
    .upload-head h1,
    .content-info-panel h1 {
        font-size: 34px;
    }

    .content-preview-image {
        height: 420px;
    }

    .mycontent-topbar {
        justify-content: flex-start;
    }
}


/* 05-media-viewer.css */
/* ==========================================================================
   07. Media viewer pages
   ========================================================================== */

.purchase-form {
    margin: 0;
}

.library-page,
.viewer-page {
    padding-bottom: 90px;
}

.content-video-player {
    width: 100%;
    height: 760px;
    object-fit: contain;
    display: block;
    background: #000;
}

@media (max-width: 768px) {
    .content-video-player {
        height: 320px;
    }
}

/* Variant helpers used by library/upload surfaces */

.upload-main-card-v2,
.upload-side-card-v2 {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.08), transparent 30%),
        rgba(255, 255, 255, 0.055);
}

.upload-side-card-v2 h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 28px;
    letter-spacing: -0.6px;
}.marketplace-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.content-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
}

.content-stat-pill {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 92px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}

.content-stat-pill span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.content-stat-pill strong {
    font-size: 18px;
}

.viewer-page-v2 {
    padding-bottom: 90px;
}

.viewer-section {
    padding: 34px 0 0;
}

.viewer-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 28%),
        rgba(255,255,255,0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.viewer-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.collection-viewer-layout,
.clip-viewer-shell {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    padding: 24px;
}

.collection-main-view {
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--line);
}

.collection-main-image {
    width: 100%;
    max-height: 820px;
    object-fit: contain;
    display: block;
    background: #0b0d12;
}

.collection-thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.collection-thumb-button {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.collection-thumb-button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}

.collection-thumb-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.collection-zoom-bar {
    display: flex;
    justify-content: flex-end;
}

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

@media (max-width: 768px) {
    .viewer-hero-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }

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

    .collection-thumb-image {
        height: 120px;
    }

    .content-stat-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}.marketplace-filter-form-v2 {
    grid-template-columns: 1.5fr 1fr auto;
}

.marketplace-card-v2 {
    border-radius: 26px;
}

.content-info-panel-v2 {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.08), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.08), transparent 30%),
        rgba(255,255,255,0.055);
}

.collection-current-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.owned-collection-page {
    padding: 34px 20px 90px;
}

.owned-collection-hero {
    margin-bottom: 24px;
}

.owned-collection-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.16), transparent 26%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.owned-collection-kicker,
.owned-collection-section-kicker {
    margin: 0 0 12px;
    color: #f7c9de;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.owned-collection-hero-copy h1 {
    margin: 0 0 14px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.owned-collection-subtext {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.owned-collection-hero-meta {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.owned-collection-creator {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.owned-collection-creator-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
}

.owned-collection-creator-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.owned-collection-creator-copy span,
.owned-collection-highlight-card span,
.owned-collection-highlight-mini span,
.owned-collection-stat-card span,
.owned-collection-thumb-meta span {
    color: var(--muted);
}

.owned-collection-creator-copy span,
.owned-collection-highlight-card span,
.owned-collection-highlight-mini span,
.owned-collection-stat-card span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.owned-collection-creator-copy strong {
    font-size: 16px;
    line-height: 1.2;
    word-break: break-word;
}

.owned-collection-creator-copy em {
    color: #f5d7e5;
    font-style: normal;
    font-size: 13px;
}

.owned-collection-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.owned-collection-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.owned-collection-highlight-card,
.owned-collection-highlight-mini,
.owned-collection-stage-panel,
.owned-collection-side-card,
.owned-collection-thumb-card,
.owned-collection-stat-card,
.owned-collection-stage-pill {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.owned-collection-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.owned-collection-highlight-card strong {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.owned-collection-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.owned-collection-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.owned-collection-highlight-mini strong {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.owned-collection-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.owned-collection-stage-panel,
.owned-collection-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.owned-collection-side-panel {
    display: grid;
    gap: 18px;
}

.owned-collection-rating-summary {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.owned-collection-rating-summary strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.owned-collection-rating-summary span,
.owned-collection-note {
    color: rgba(255, 255, 255, 0.7);
}

.owned-collection-inline-form {
    display: grid;
    gap: 14px;
}

.owned-collection-stage-head,
.owned-collection-side-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.owned-collection-side-head--compact {
    display: grid;
    gap: 6px;
    align-items: start;
    justify-content: start;
    margin-bottom: 14px;
}

.owned-collection-stage-head h2,
.owned-collection-side-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.owned-collection-side-head--compact h2 {
    font-size: 24px;
    line-height: 1.08;
}

.owned-collection-stage-actions,
.owned-collection-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.owned-collection-side-actions--details {
    margin-top: 10px;
}

.owned-collection-side-primary-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.owned-collection-side-primary-actions > * {
    min-width: 0;
}

.owned-collection-side-primary-actions form {
    margin: 0;
}

.owned-collection-stage-image-shell {
    --owned-collection-origin-x: 50%;
    --owned-collection-origin-y: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
    cursor: zoom-in;
}

.owned-collection-stage-image-shell.is-zoomed {
    cursor: zoom-in;
}

.owned-collection-stage-image {
    width: 100%;
    height: min(72vh, 860px);
    display: block;
    object-fit: contain;
    background: #08090d;
    transform-origin: var(--owned-collection-origin-x) var(--owned-collection-origin-y);
    transition: transform 0.24s ease, transform-origin 0.14s ease;
    will-change: transform;
    cursor: inherit;
}

.owned-collection-stage-overlay {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.owned-collection-stage-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    backdrop-filter: blur(12px);
    color: var(--white);
}

.owned-collection-stage-pill strong {
    color: #f5d7e5;
}

.owned-collection-zoom-controls {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.owned-collection-zoom-controls .btn {
    min-width: 54px;
    justify-content: center;
}

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

.owned-collection-thumb-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    min-width: 0;
}

.owned-collection-thumb-btn {
    appearance: none;
    border: 0;
    padding: 0;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #08090d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.owned-collection-thumb-btn:hover,
.owned-collection-thumb-btn.is-active {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px rgba(255, 79, 163, 0.38);
}

.owned-collection-thumb-btn img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
}

.owned-collection-thumb-meta {
    display: grid;
    gap: 4px;
}

.owned-collection-thumb-meta span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.owned-collection-thumb-meta strong {
    font-size: 15px;
    line-height: 1.25;
    word-break: break-word;
}

.owned-collection-wall-form {
    margin: 0;
}

.owned-collection-wall-form .btn {
    width: 100%;
}

.owned-collection-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.owned-collection-stat-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.owned-collection-stat-card strong {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.owned-collection-description {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    color: #d1d7e4;
    font-size: 14px;
    line-height: 1.72;
}

.owned-collection-details-card,
.owned-collection-description-card {
    padding: 22px;
}

.owned-collection-detail-list {
    display: grid;
    gap: 10px;
    margin: 0 0 4px;
}

.owned-collection-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.028);
}

.owned-collection-detail-row dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.owned-collection-detail-row dd {
    margin: 0;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
    word-break: break-word;
}

.owned-collection-side-actions .btn {
    width: 100%;
    justify-content: center;
}

.owned-collection-zoom-note {
    color: var(--muted);
    line-height: 1.7;
    max-width: 28ch;
}

.owned-collection-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 24px;
}

.owned-collection-modal[hidden] {
    display: none;
}

.owned-collection-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.84);
    backdrop-filter: blur(10px);
}

.owned-collection-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 17, 0.96);
    box-shadow: var(--shadow);
}

.owned-collection-modal-media-shell {
    overflow: hidden;
    border-radius: 22px;
    background: #07090e;
}

.owned-collection-modal-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.owned-collection-modal-copy {
    display: grid;
    gap: 8px;
    padding: 0 4px 4px;
}

.owned-collection-modal-copy h3,
.owned-collection-modal-copy p {
    margin: 0;
}

.owned-collection-modal-copy h3 {
    font-size: clamp(24px, 3.8vw, 34px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.owned-collection-modal-copy p {
    color: #d0d6e3;
    line-height: 1.65;
}

.owned-collection-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 16, 0.78);
    color: var(--white);
    font: inherit;
    cursor: pointer;
}

.owned-collection-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .owned-collection-shell,
    .owned-collection-main-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .owned-collection-page {
        padding: 24px 12px 80px;
    }

    .owned-collection-shell,
    .owned-collection-stage-panel,
    .owned-collection-side-card {
        padding: 22px;
    }

    .owned-collection-hero-copy h1 {
        font-size: 36px;
    }

    .owned-collection-stage-head,
    .owned-collection-side-head {
        flex-direction: column;
        align-items: start;
    }

    .owned-collection-side-head--compact {
        margin-bottom: 12px;
    }

    .owned-collection-stage-actions,
    .owned-collection-zoom-controls {
        width: 100%;
    }

    .owned-collection-side-primary-actions {
        grid-template-columns: 1fr;
    }

    .owned-collection-highlight-grid,
    .owned-collection-stat-grid,
    .owned-collection-thumb-grid {
        grid-template-columns: 1fr;
    }

    .owned-collection-stage-image {
        height: min(58vh, 560px);
    }

    .owned-collection-stage-overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: flex-start;
    }

    .owned-collection-modal {
        padding: 12px;
    }

    .owned-collection-modal-dialog {
        max-height: calc(100vh - 24px);
        padding: 14px;
    }

    .owned-collection-modal-image {
        max-height: 62vh;
    }

    .owned-collection-details-card,
    .owned-collection-description-card {
        padding: 20px;
    }

    .owned-collection-detail-row {
        padding: 12px 13px;
    }
}

.image-view-page {
    padding-bottom: 90px;
}

.image-view-shell {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    padding: 18px;
    margin-bottom: 18px;
}

.image-view-full {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    background: #0b0d12;
    border-radius: 20px;
}

.image-view-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .marketplace-filter-form-v2 {
        grid-template-columns: 1fr;
    }

    .collection-current-stats,
    .image-view-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.image-focus-page {
    padding: 32px 16px 90px;
}

.image-focus-hero {
    margin-bottom: 24px;
}

.image-focus-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.image-focus-kicker,
.image-focus-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.image-focus-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.image-focus-subtext {
    max-width: 62ch;
    margin: 16px 0 0;
    color: #d1d7e4;
    font-size: 17px;
    line-height: 1.7;
}

.image-focus-meta {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.image-focus-creator {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
}

.image-focus-creator-avatar {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.image-focus-creator-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.image-focus-creator-copy span,
.image-focus-highlight-card span,
.image-focus-highlight-mini span,
.image-focus-stat-card span,
.image-focus-thumb-link span,
.image-focus-nav-placeholder {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.image-focus-creator-copy strong {
    font-size: 17px;
    line-height: 1.2;
    word-break: break-word;
}

.image-focus-creator-copy em {
    color: #f5d7e5;
    font-style: normal;
    font-size: 13px;
}

.image-focus-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-focus-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.image-focus-highlight-card,
.image-focus-highlight-mini,
.image-focus-stage-panel,
.image-focus-side-card,
.image-focus-stat-card,
.image-focus-stage-pill,
.image-focus-thumb-link {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.image-focus-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.image-focus-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.image-focus-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.image-focus-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.image-focus-highlight-mini strong,
.image-focus-stat-card strong {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.image-focus-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.image-focus-stage-panel,
.image-focus-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.image-focus-side-panel {
    display: grid;
    gap: 24px;
}

.image-focus-stage-head,
.image-focus-side-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.image-focus-stage-head h2,
.image-focus-side-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.image-focus-stage-actions,
.image-focus-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.image-focus-side-actions form {
    margin: 0;
}

.image-focus-stage-image-shell {
    --image-focus-origin-x: 50%;
    --image-focus-origin-y: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
    cursor: default;
}

.image-focus-stage-image-shell.is-zoomed {
    cursor: zoom-in;
}

.image-focus-stage-image {
    width: 100%;
    height: min(76vh, 900px);
    display: block;
    object-fit: contain;
    background: #08090d;
    transform-origin: var(--image-focus-origin-x) var(--image-focus-origin-y);
    transition: transform 0.24s ease, transform-origin 0.14s ease;
    will-change: transform;
}

.image-focus-stage-overlay {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.image-focus-stage-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    backdrop-filter: blur(12px);
    color: var(--white);
}

.image-focus-stage-pill strong {
    color: #f5d7e5;
}

.image-focus-zoom-controls {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.image-focus-zoom-controls .btn {
    min-width: 54px;
    justify-content: center;
}

.image-focus-nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.image-focus-nav-placeholder {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
}

.image-focus-thumb-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.image-focus-thumb-link {
    display: grid;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.image-focus-thumb-link:hover,
.image-focus-thumb-link.is-active {
    transform: translateY(-2px);
    border-color: rgba(255, 79, 163, 0.38);
}

.image-focus-thumb-link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    background: #08090d;
}

.image-focus-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.image-focus-stat-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.image-focus-description,
.image-focus-zoom-note {
    color: var(--muted);
    line-height: 1.75;
}

.image-focus-zoom-note {
    max-width: 28ch;
}

@media (max-width: 1100px) {
    .image-focus-shell,
    .image-focus-main-grid {
        grid-template-columns: 1fr;
    }

    .image-focus-thumb-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .image-focus-page {
        padding: 24px 12px 80px;
    }

    .image-focus-shell,
    .image-focus-stage-panel,
    .image-focus-side-card {
        padding: 22px;
    }

    .image-focus-copy h1 {
        font-size: 36px;
    }

    .image-focus-stage-head,
    .image-focus-side-head {
        flex-direction: column;
        align-items: start;
    }

    .image-focus-stage-actions,
    .image-focus-zoom-controls {
        width: 100%;
    }

    .image-focus-highlight-grid,
    .image-focus-stat-grid,
    .image-focus-thumb-strip {
        grid-template-columns: 1fr;
    }

    .image-focus-stage-image {
        height: min(58vh, 560px);
    }

    .image-focus-stage-overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: flex-start;
    }
}

.library-v3-page {
    padding: 32px 16px 90px;
}

.library-v3-hero {
    margin-bottom: 24px;
}

.library-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.library-v3-kicker,
.library-v3-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.library-v3-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.library-v3-subtext {
    max-width: 62ch;
    margin: 16px 0 0;
    color: #d1d7e4;
    font-size: 17px;
    line-height: 1.7;
}

.library-v3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.library-v3-badge,
.library-v3-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.library-v3-highlight-card,
.library-v3-highlight-mini,
.library-v3-list-panel,
.library-v3-side-card,
.library-v3-card,
.library-v3-stat-card,
.library-v3-summary-card,
.library-v3-link-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.library-v3-highlight-card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 20px;
}

.library-v3-highlight-card span,
.library-v3-highlight-mini span,
.library-v3-stat-card span,
.library-v3-summary-card span,
.library-v3-link-card span,
.library-v3-card-date {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.library-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.library-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

.library-v3-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.library-v3-highlight-mini,
.library-v3-stat-card,
.library-v3-summary-card {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.library-v3-highlight-mini strong,
.library-v3-stat-card strong,
.library-v3-summary-card strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.library-v3-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

.library-v3-list-panel,
.library-v3-side-card {
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.library-v3-sidebar {
    display: grid;
    gap: 24px;
}

.library-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.library-v3-panel-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.library-v3-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.library-v3-grid,
.library-v3-links {
    display: grid;
    gap: 16px;
}

.library-v3-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.collections-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-v3-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(14, 17, 25, 0.88), rgba(12, 15, 22, 0.78));
    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.library-v3-card:hover,
.library-v3-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(16, 20, 29, 0.92), rgba(13, 17, 25, 0.82));
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.library-v3-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #08090d;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.library-v3-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.library-v3-card:hover .library-v3-card-image {
    transform: scale(1.03);
}

.library-v3-card-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.library-v3-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.library-v3-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.library-v3-card-title a,
.library-v3-card-meta a {
    color: inherit;
    text-decoration: none;
}

.library-v3-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.library-v3-card-meta span {
    color: #f5d7e5;
}

.library-v3-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    padding-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.library-v3-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.library-v3-card-stat strong {
    color: #f7c9de;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.library-v3-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.library-v3-card-actions .btn {
    min-width: 0;
}

.library-v3-inline-action {
    margin: 0;
}

.library-v3-inline-action .btn {
    min-width: 0;
}

.library-v3-card-link {
    color: #f5d7e5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.library-v3-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.library-v3-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 79, 163, 0.3);
}

.library-v3-link-card strong {
    font-size: 18px;
    line-height: 1.2;
    word-break: break-word;
}

.library-v3-empty {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 46px 32px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.library-v3-empty p {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.library-v3-empty span {
    max-width: 56ch;
    color: var(--muted);
    line-height: 1.75;
}

.library-v3-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.analytics-v3-page {
    padding: 32px 16px 90px;
}

.analytics-v3-hero {
    margin-bottom: 24px;
}

.analytics-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: stretch;
}

.analytics-v3-copy,
.analytics-v3-panel,
.analytics-v3-hero-card {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(14, 17, 25, 0.92), rgba(11, 14, 21, 0.84));
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
}

.analytics-v3-copy {
    padding: 30px;
}

.analytics-v3-kicker,
.analytics-v3-section-kicker {
    margin: 0;
    color: #ffb9da;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.analytics-v3-copy h1,
.analytics-v3-panel-head h2 {
    margin: 8px 0 0;
    letter-spacing: -0.04em;
}

.analytics-v3-copy h1 {
    font-size: clamp(34px, 4vw, 52px);
    max-width: 12ch;
}

.analytics-v3-subcopy,
.analytics-v3-panel-note,
.analytics-v3-metric-card p,
.analytics-v3-status-card p,
.analytics-v3-collection-cell span,
.analytics-v3-hero-card em {
    color: var(--muted);
    line-height: 1.7;
}

.analytics-v3-subcopy {
    margin: 16px 0 0;
    max-width: 60ch;
}

.analytics-v3-badges,
.analytics-v3-actions,
.analytics-v3-hero-grid,
.analytics-v3-metric-grid,
.analytics-v3-mini-grid,
.analytics-v3-status-grid {
    display: grid;
    gap: 14px;
}

.analytics-v3-badges {
    margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(170px, max-content));
}

.analytics-v3-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f7d4e5;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.analytics-v3-rating-badge {
    justify-content: center;
}

.analytics-v3-rating-badge .creator-rating-stars,
.analytics-v3-rating-copy .creator-rating-stars {
    margin: 0;
}

.analytics-v3-rating-copy {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
}

.analytics-v3-actions {
    margin-top: 24px;
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
}

.analytics-v3-hero-side {
    display: grid;
}

.analytics-v3-hero-card {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.analytics-v3-hero-card > span,
.analytics-v3-hero-metric span,
.analytics-v3-metric-card span,
.analytics-v3-mini-card span,
.analytics-v3-collection-cell span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.analytics-v3-hero-card > strong {
    font-size: clamp(30px, 3.3vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.analytics-v3-hero-grid,
.analytics-v3-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-v3-hero-metric,
.analytics-v3-mini-card,
.analytics-v3-metric-card,
.analytics-v3-status-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.analytics-v3-hero-metric strong,
.analytics-v3-mini-card strong,
.analytics-v3-metric-card strong,
.analytics-v3-status-card strong {
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.analytics-v3-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

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

.analytics-v3-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-v3-panel {
    padding: 26px;
}

.analytics-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.analytics-v3-panel-note {
    margin: 0;
    max-width: 280px;
    text-align: right;
}

.analytics-v3-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-v3-metric-card strong {
    font-size: 28px;
}

.analytics-v3-metric-card p,
.analytics-v3-status-card p {
    margin: 0;
}

.analytics-v3-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-v3-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.analytics-v3-status-card[data-tone="pending"] {
    background: rgba(255, 184, 77, 0.08);
}

.analytics-v3-status-card[data-tone="accepted"],
.analytics-v3-status-card[data-tone="active"] {
    background: rgba(105, 214, 255, 0.08);
}

.analytics-v3-status-card[data-tone="review"] {
    background: rgba(170, 140, 255, 0.08);
}

.analytics-v3-status-card[data-tone="completed"] {
    background: rgba(46, 204, 113, 0.08);
}

.analytics-v3-status-card[data-tone="closed"] {
    background: rgba(255, 102, 146, 0.08);
}

.analytics-v3-table-wrap {
    margin-top: 8px;
}

.analytics-v3-table td,
.analytics-v3-table th {
    white-space: nowrap;
}

.analytics-v3-collection-cell {
    display: grid;
    gap: 4px;
    min-width: 220px;
}

.analytics-v3-collection-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.analytics-v3-collection-link:hover {
    color: #f7c9de;
}

@media (max-width: 1200px) {
    .analytics-v3-shell,
    .analytics-v3-grid--two,
    .analytics-v3-grid--three,
    .analytics-v3-metric-grid,
    .analytics-v3-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .analytics-v3-page {
        padding: 24px 12px 80px;
    }

    .analytics-v3-copy,
    .analytics-v3-panel,
    .analytics-v3-hero-card {
        padding: 22px;
        border-radius: 24px;
    }

    .analytics-v3-panel-head {
        flex-direction: column;
        align-items: start;
    }

    .analytics-v3-panel-note {
        max-width: none;
        text-align: left;
    }

    .analytics-v3-badges,
    .analytics-v3-actions,
    .analytics-v3-hero-grid,
    .analytics-v3-mini-grid {
        grid-template-columns: 1fr;
    }

    .analytics-v3-table td,
    .analytics-v3-table th {
        white-space: normal;
    }
}

@media (max-width: 1100px) {
    .library-v3-shell,
    .library-v3-main-grid {
        grid-template-columns: 1fr;
    }

    .library-v3-summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .market-creators-page .collections-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .market-creators-page .collections-market-grid .collection-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .library-v3-page {
        padding: 24px 12px 80px;
    }

    .library-v3-shell,
    .library-v3-list-panel,
    .library-v3-side-card {
        padding: 22px;
    }

    .library-v3-copy h1 {
        font-size: 36px;
    }

    .library-v3-panel-head,
    .library-v3-card-top {
        flex-direction: column;
        align-items: start;
    }

    .library-v3-summary-strip,
    .library-v3-grid,
    .library-v3-highlight-grid,
    .library-v3-stat-grid,
    .library-v3-summary-grid {
        grid-template-columns: 1fr;
    }

    .market-creators-page .collections-market-grid {
        grid-template-columns: 1fr;
    }

    .library-v3-card-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.wall-v3-page {
    padding: 32px 16px 90px;
}

.wall-v3-hero {
    margin-bottom: 24px;
}

.wall-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.wall-v3-kicker,
.wall-v3-section-kicker,
.wall-v3-card-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.wall-v3-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.wall-v3-subtext {
    max-width: 62ch;
    margin: 16px 0 0;
    color: #d1d7e4;
    font-size: 17px;
    line-height: 1.7;
}

.wall-v3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.wall-v3-badge,
.wall-v3-card-media-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.wall-v3-highlight-card,
.wall-v3-highlight-mini,
.wall-v3-list-panel,
.wall-v3-side-card,
.wall-v3-card,
.wall-v3-person-card,
.wall-v3-summary-card,
.wall-v3-link-card,
.wall-v3-stat-pill {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.wall-v3-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.wall-v3-highlight-card span,
.wall-v3-highlight-mini span,
.wall-v3-person-card span,
.wall-v3-summary-card span,
.wall-v3-link-card span,
.wall-v3-card-time,
.wall-v3-card-note {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wall-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.wall-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.wall-v3-highlight-mini,
.wall-v3-summary-card,
.wall-v3-person-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.wall-v3-highlight-mini strong,
.wall-v3-summary-card strong,
.wall-v3-person-card strong,
.wall-v3-stat-pill strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.wall-v3-person-card em {
    color: #f5d7e5;
    font-style: normal;
    font-size: 13px;
}

.wall-v3-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.wall-v3-list-panel,
.wall-v3-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.wall-v3-sidebar {
    display: grid;
    gap: 24px;
}

.wall-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.wall-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.wall-v3-grid,
.wall-v3-links {
    display: grid;
    gap: 18px;
}

.wall-v3-grid {
    grid-template-columns: 1fr;
}

.wall-v3-card {
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, 0.86fr);
    align-items: stretch;
}

.wall-v3-card-media {
    position: relative;
    min-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    background: #08090d;
}

.wall-v3-card-media-button {
    width: 100%;
    background: none;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    text-align: left;
    color: inherit;
    font: inherit;
}

.wall-v3-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.wall-v3-card:hover .wall-v3-card-media img {
    transform: scale(1.03);
}

.wall-v3-card-media-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 14, 0.12) 0%, rgba(7, 9, 14, 0.2) 32%, rgba(7, 9, 14, 0.74) 100%),
        linear-gradient(0deg, rgba(7, 9, 14, 0.72) 0%, rgba(7, 9, 14, 0) 42%);
    pointer-events: none;
}

.wall-v3-card-media-top {
    position: absolute;
    inset: 16px 16px auto 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.wall-v3-card-media-badge {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 16, 0.62);
    color: #fff3f8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.wall-v3-card-media-bottom {
    position: absolute;
    inset: auto 18px 18px 18px;
    display: grid;
    gap: 8px;
    align-content: end;
}

.wall-v3-card-media-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 225, 237, 0.82);
}

.wall-v3-card-media-bottom h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--white);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.wall-v3-card-body {
    display: grid;
    gap: 18px;
    padding: 24px 24px 24px;
    background:
        linear-gradient(180deg, rgba(12, 14, 20, 0.92), rgba(10, 12, 18, 0.96));
}

.wall-v3-card-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 10, 16, 0.72);
    color: #fff3f8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    margin-left: auto;
    max-width: 100%;
    backdrop-filter: blur(14px);
}

.wall-v3-card-timer.is-ending {
    border-color: rgba(255, 123, 192, 0.32);
    background: rgba(255, 123, 192, 0.14);
    color: #ffd7e8;
}

.wall-v3-card-people {
    display: grid;
    gap: 10px;
}

.wall-v3-card-person-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.wall-v3-card-person-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wall-v3-card-person-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.wall-v3-card-person-copy strong {
    font-size: 16px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wall-v3-card-person-copy em {
    font-style: normal;
    color: #f3c5db;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.wall-v3-stat-row,
.wall-v3-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wall-v3-card-actions {
    align-items: center;
    justify-content: flex-start;
    padding-top: 4px;
}

.wall-v3-stat-pill {
    display: grid;
    gap: 4px;
    flex: 1 1 140px;
    min-height: 72px;
    padding: 14px 16px;
    align-content: center;
}

.wall-v3-stat-pill span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wall-v3-stat-pill strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.wall-v3-comments {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.wall-v3-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wall-v3-comments-head h4 {
    margin: 4px 0 0;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.wall-v3-comments-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    font-weight: 700;
    color: #fff3f8;
}

.wall-v3-comment-list {
    display: grid;
    gap: 10px;
}

.wall-v3-comment-item,
.wall-v3-comment-empty {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(12, 15, 23, 0.72);
}

.wall-v3-comment-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
}

.wall-v3-comment-meta strong {
    font-size: 15px;
    line-height: 1.1;
    color: var(--white);
}

.wall-v3-comment-meta span,
.wall-v3-comment-form-footer span,
.wall-v3-comment-feedback {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.wall-v3-comment-item p,
.wall-v3-comment-empty {
    margin: 0;
    color: #e7ebf3;
    line-height: 1.65;
    white-space: pre-line;
}

.wall-v3-comment-form {
    display: grid;
    gap: 10px;
}

.wall-v3-comment-input {
    width: 100%;
    min-height: 110px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 9, 14, 0.84);
    color: var(--white);
    font: inherit;
    line-height: 1.6;
    resize: vertical;
}

.wall-v3-comment-input:focus {
    outline: none;
    border-color: rgba(255, 79, 163, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.12);
}

.wall-v3-comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.wall-v3-comment-feedback {
    padding: 0 2px;
}

.wall-v3-comment-feedback.is-error {
    color: #ffb8c8;
}

.wall-v3-comment-feedback.is-success {
    color: #a6f0c1;
}

.wall-v3-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 24px;
}

.wall-v3-modal[hidden] {
    display: none;
}

.wall-v3-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.82);
    backdrop-filter: blur(10px);
}

.wall-v3-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 11, 17, 0.96);
    box-shadow: var(--shadow);
}

.wall-v3-modal-media-shell {
    overflow: hidden;
    border-radius: 22px;
    background: #07090e;
}

.wall-v3-modal-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
}

.wall-v3-modal-copy {
    display: grid;
    gap: 8px;
    padding: 0 4px 4px;
}

.wall-v3-modal-copy h3,
.wall-v3-modal-copy p {
    margin: 0;
}

.wall-v3-modal-copy h3 {
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.wall-v3-modal-copy p {
    color: #d0d6e3;
    line-height: 1.65;
}

.wall-v3-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 16, 0.78);
    color: var(--white);
    font: inherit;
    cursor: pointer;
}

.wall-modal-open {
    overflow: hidden;
}

.wall-v3-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.wall-v3-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 79, 163, 0.3);
}

.wall-v3-link-card strong {
    font-size: 18px;
    line-height: 1.2;
    word-break: break-word;
}

.wall-v3-empty {
    display: grid;
    gap: 12px;
    padding: 32px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.wall-v3-empty p {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.wall-v3-empty span,
.wall-v3-loader {
    color: var(--muted);
    line-height: 1.75;
}

.wall-v3-loader {
    display: none;
    padding: 18px 4px 0;
    text-align: center;
}

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

    .wall-v3-card {
        grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.94fr);
    }
}

@media (max-width: 768px) {
    .wall-v3-page {
        padding: 24px 12px 80px;
    }

    .wall-v3-shell,
    .wall-v3-list-panel,
    .wall-v3-side-card {
        padding: 22px;
    }

    .wall-v3-copy h1 {
        font-size: 36px;
    }

    .wall-v3-panel-head {
        flex-direction: column;
        align-items: start;
    }

    .wall-v3-card {
        grid-template-columns: 1fr;
    }

    .wall-v3-card-media {
        min-height: 0;
        aspect-ratio: 1 / 1.05;
    }

    .wall-v3-card-media-top,
    .wall-v3-card-actions {
        width: 100%;
    }

    .wall-v3-card-media-top {
        inset: 14px 14px auto 14px;
        gap: 8px;
    }

    .wall-v3-card-media-badge,
    .wall-v3-card-timer {
        min-height: 32px;
        padding: 0 10px;
        font-size: 10px;
    }

    .wall-v3-card-timer {
        margin-left: 0;
    }

    .wall-v3-card-person-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .wall-v3-comments-head,
    .wall-v3-comment-form-footer {
        align-items: flex-start;
    }

    .wall-v3-modal {
        padding: 12px;
    }

    .wall-v3-modal-dialog {
        max-height: calc(100vh - 24px);
        padding: 14px;
    }

    .wall-v3-modal-image {
        max-height: 62vh;
    }

    .wall-v3-grid,
    .wall-v3-highlight-grid,
    .wall-v3-person-grid,
    .wall-v3-summary-grid {
        grid-template-columns: 1fr;
    }
}

.upload-v3-page {
    padding: 32px 16px 90px;
}

.upload-v3-hero {
    margin-bottom: 24px;
}

.upload-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.upload-v3-kicker,
.upload-v3-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.upload-v3-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.upload-v3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.upload-v3-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.upload-v3-highlight-card,
.upload-v3-highlight-mini,
.upload-v3-form-panel,
.upload-v3-side-card,
.upload-v3-section-card,
.upload-v3-summary-card,
.upload-v3-check-item,
.upload-v3-static-field,
.upload-v3-request-note {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.upload-v3-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.upload-v3-highlight-card span,
.upload-v3-highlight-mini span,
.upload-v3-summary-card span,
.upload-v3-check-item span,
.upload-v3-static-field span,
.upload-v3-request-note span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.upload-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.upload-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.upload-v3-highlight-mini,
.upload-v3-summary-card,
.upload-v3-static-field {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.upload-v3-highlight-mini strong,
.upload-v3-summary-card strong,
.upload-v3-static-field strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.upload-v3-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.upload-v3-form-panel,
.upload-v3-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.upload-v3-sidebar {
    display: grid;
    gap: 24px;
}

.upload-v3-panel-head,
.upload-v3-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.upload-v3-panel-head {
    margin-bottom: 20px;
}

.upload-v3-panel-head h2,
.upload-v3-section-head h3 {
    margin: 0;
    letter-spacing: -0.04em;
}

.upload-v3-panel-head h2 {
    font-size: 30px;
}

.upload-v3-section-head h3 {
    font-size: 24px;
}

.upload-v3-form {
    display: grid;
    gap: 20px;
}

.upload-v3-form input[type="text"],
.upload-v3-form input[type="number"],
.upload-v3-form textarea,
.upload-v3-form select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.upload-v3-form input[type="text"]:focus,
.upload-v3-form input[type="number"]:focus,
.upload-v3-form textarea:focus,
.upload-v3-form select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #ff4fa3;
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.15);
}

.upload-v3-section-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-left: 3px solid rgba(123, 97, 255, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.upload-v3-section-card:focus-within {
    border-left-color: #ff4fa3;
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.upload-v3-section-card input[type="file"] {
    width: 100%;
    cursor: pointer;
    padding: 10px 12px;
    color: #a3adc2;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-v3-section-card input[type="file"]:hover {
    border-color: rgba(255, 79, 163, 0.4);
    background: rgba(0, 0, 0, 0.3);
}

.upload-v3-section-card input[type="file"]::file-selector-button {
    margin-right: 16px;
    padding: 8px 16px;
    color: #ff9bd2;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.15), rgba(123, 97, 255, 0.15));
    border: 1px solid rgba(255, 79, 163, 0.3);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.upload-v3-section-card input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.3), rgba(123, 97, 255, 0.3));
    color: #fff;
}

.upload-v3-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upload-v3-errors {
    margin-bottom: 18px;
}

.upload-v3-checklist {
    display: grid;
    gap: 14px;
}

.upload-v3-check-item,
.upload-v3-request-note {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.upload-v3-check-item strong,
.upload-v3-request-note strong {
    font-size: 18px;
    line-height: 1.25;
}

.upload-v3-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.upload-v3-static-field {
    min-height: 78px;
    align-content: center;
}

@media (min-width: 769px) {
    .upload-v3-sidebar {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

@media (max-width: 1100px) {
    .upload-v3-shell,
    .upload-v3-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .upload-v3-page {
        padding: 24px 12px 80px;
    }

    .upload-v3-shell,
    .upload-v3-form-panel,
    .upload-v3-side-card,
    .upload-v3-section-card {
        padding: 22px;
    }

    .upload-v3-copy h1 {
        font-size: 36px;
    }

    .upload-v3-panel-head,
    .upload-v3-section-head {
        flex-direction: column;
        align-items: start;
    }

    .upload-v3-highlight-grid,
    .upload-v3-summary-grid,
    .upload-v3-two-col {
        grid-template-columns: 1fr;
    }
}

.mycontent-v3-page {
    padding: 32px 16px 90px;
}

.mycontent-v3-hero {
    margin-bottom: 24px;
}

.mycontent-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.mycontent-v3-kicker,
.mycontent-v3-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.mycontent-v3-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.mycontent-v3-badges,
.mycontent-v3-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mycontent-v3-badges {
    margin-top: 22px;
}

.mycontent-v3-badge,
.mycontent-v3-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mycontent-v3-highlight-card,
.mycontent-v3-highlight-mini,
.mycontent-v3-list-panel,
.mycontent-v3-side-card,
.mycontent-v3-card,
.mycontent-v3-stat-card,
.mycontent-v3-summary-card,
.mycontent-v3-link-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.mycontent-v3-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.mycontent-v3-highlight-card span,
.mycontent-v3-highlight-mini span,
.mycontent-v3-stat-card span,
.mycontent-v3-summary-card span,
.mycontent-v3-link-card span,
.mycontent-v3-card-meta,
.mycontent-v3-card-price {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.mycontent-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.mycontent-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

.mycontent-v3-highlight-grid,
.mycontent-v3-summary-grid,
.mycontent-v3-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mycontent-v3-highlight-mini,
.mycontent-v3-stat-card,
.mycontent-v3-summary-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.mycontent-v3-highlight-mini strong,
.mycontent-v3-stat-card strong,
.mycontent-v3-summary-card strong,
.mycontent-v3-card-price {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.mycontent-v3-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.mycontent-v3-list-panel,
.mycontent-v3-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.mycontent-v3-sidebar {
    display: grid;
    gap: 24px;
}

.mycontent-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.mycontent-v3-panel-copy {
    margin: 8px 0 0;
    color: #d1d7e4;
    line-height: 1.7;
}

.mycontent-v3-panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.mycontent-v3-results-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mycontent-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.mycontent-v3-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.mycontent-v3-filter-bar input[type="text"],
.mycontent-v3-filter-bar select,
.mycontent-v3-bulk-bar select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.mycontent-v3-filter-bar input[type="text"]:focus,
.mycontent-v3-filter-bar select:focus,
.mycontent-v3-bulk-bar select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #ff4fa3;
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.15);
    outline: none;
}

.mycontent-v3-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mycontent-v3-bulk-bar {
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(0, 1.1fr) minmax(220px, 280px) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 123, 192, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.02);
    border-left: 4px solid #ff4fa3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mycontent-v3-bulk-select-all,
.mycontent-v3-card-select {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #f2f4fa;
}

.mycontent-v3-bulk-select-all span,
.mycontent-v3-card-select span {
    color: inherit;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mycontent-v3-bulk-copy {
    display: grid;
    gap: 4px;
}

.mycontent-v3-bulk-copy strong {
    font-size: 20px;
    line-height: 1.2;
}

.mycontent-v3-bulk-copy span {
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.mycontent-v3-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.mycontent-v3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

.mycontent-v3-links {
    display: grid;
    gap: 18px;
}

.mycontent-v3-card {
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mycontent-v3-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mycontent-v3-card-media {
    display: block;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: #08090d;
}

.mycontent-v3-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.mycontent-v3-card:hover .mycontent-v3-card-image {
    transform: scale(1.03);
}

.mycontent-v3-card-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.mycontent-v3-card-select {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.mycontent-v3-card-select:hover {
    background: rgba(123, 97, 255, 0.15);
    border-color: rgba(123, 97, 255, 0.4);
}

.mycontent-v3-card-checkbox {
    margin: 0;
}

.mycontent-v3-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mycontent-v3-card-title {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.mycontent-v3-card-title a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mycontent-v3-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    text-transform: uppercase;
}

.mycontent-v3-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mycontent-v3-inline-form {
    display: inline-flex;
}

.mycontent-v3-inline-form .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.mycontent-v3-card-note {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.mycontent-v3-card-price {
    font-size: 18px;
}

.mycontent-v3-card-badge {
    padding: 6px 10px;
    font-size: 11px;
}

.mycontent-v3-card-select span {
    font-size: 11px;
}

.mycontent-v3-stat-grid {
    gap: 10px;
}

.mycontent-v3-stat-card {
    gap: 6px;
    padding: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mycontent-v3-stat-card strong {
    font-size: 18px;
}

.mycontent-v3-card:hover .mycontent-v3-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.mycontent-v3-card:hover .mycontent-v3-stat-card strong {
    color: #f7c9de;
}

.mycontent-v3-card:has(.mycontent-v3-card-checkbox:checked) {
    border-color: #7b61ff;
    background: linear-gradient(180deg, rgba(123, 97, 255, 0.08), rgba(12, 15, 22, 0.78));
    box-shadow: 0 0 0 1px #7b61ff, 0 16px 32px rgba(123, 97, 255, 0.15);
}

.mycontent-v3-card-actions .btn,
.mycontent-v3-inline-form .btn {
    min-height: 38px;
}

.mycontent-v3-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mycontent-v3-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 79, 163, 0.3);
}

.mycontent-v3-link-card strong {
    font-size: 18px;
    line-height: 1.2;
    word-break: break-word;
}

.mycontent-v3-empty {
    display: grid;
    gap: 12px;
    padding: 32px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.mycontent-v3-empty p {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.mycontent-v3-empty span {
    color: var(--muted);
    line-height: 1.75;
}

.mycontent-v3-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .mycontent-v3-shell,
    .mycontent-v3-main-grid {
        grid-template-columns: 1fr;
    }

    .mycontent-v3-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mycontent-v3-bulk-bar {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .mycontent-v3-bulk-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .mycontent-v3-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mycontent-v3-page {
        padding: 24px 12px 80px;
    }

    .mycontent-v3-shell,
    .mycontent-v3-list-panel,
    .mycontent-v3-side-card {
        padding: 22px;
    }

    .mycontent-v3-copy h1 {
        font-size: 36px;
    }

    .mycontent-v3-panel-head,
    .mycontent-v3-card-top {
        flex-direction: column;
        align-items: start;
    }

    .mycontent-v3-panel-actions {
        justify-content: flex-start;
    }

    .mycontent-v3-results-pill {
        width: 100%;
        justify-content: center;
    }

    .mycontent-v3-highlight-grid,
    .mycontent-v3-summary-grid,
    .mycontent-v3-stat-grid {
        grid-template-columns: 1fr;
    }

    .mycontent-v3-filter-bar {
        grid-template-columns: 1fr;
    }

    .mycontent-v3-bulk-actions .btn,
    .mycontent-v3-filter-actions .btn {
        width: 100%;
    }
}

.edit-content-v3-page .upload-v3-highlight-card strong {
    font-size: clamp(28px, 4vw, 36px);
}

.edit-content-v3-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.edit-content-v3-current-preview {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    aspect-ratio: 16 / 9;
}

.edit-content-v3-current-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.edit-content-v3-toggle {
    display: flex;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.edit-content-v3-toggle input {
    margin-top: 4px;
}

.edit-content-v3-toggle span {
    display: grid;
    gap: 6px;
}

.edit-content-v3-toggle strong,
.edit-content-v3-lock-card strong,
.edit-content-v3-gallery-copy strong {
    font-size: 18px;
    line-height: 1.25;
}

.edit-content-v3-toggle small,
.edit-content-v3-lock-card span,
.edit-content-v3-gallery-copy span {
    color: var(--muted);
    line-height: 1.7;
}

.edit-content-v3-lock-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 123, 192, 0.18);
    background: linear-gradient(135deg, rgba(255, 123, 192, 0.12), rgba(255, 255, 255, 0.03));
}

.edit-content-v3-lock-card-subtle {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

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

.edit-content-v3-gallery-card {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.edit-content-v3-gallery-thumb {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #08090d;
}

.edit-content-v3-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.edit-content-v3-gallery-copy {
    display: grid;
    gap: 6px;
    padding: 14px;
}

@media (max-width: 768px) {
    .edit-content-v3-head-actions {
        width: 100%;
    }

    .edit-content-v3-head-actions .btn {
        width: 100%;
    }

    .edit-content-v3-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* 06-admin.css */
/* ==========================================================================
   11. Admin moderation
   ========================================================================== */

.admin-v3-body {
    min-height: 100vh;
}

.admin-v3-page {
    padding: 24px 14px 76px;
}

.admin-v3-container {
    display: grid;
    gap: 18px;
}

.admin-v3-hero,
.admin-v3-panel,
.admin-v3-stat-card,
.admin-v3-admin-card,
.admin-v3-side-card,
.admin-v3-report-card,
.admin-v3-audit-card,
.admin-v3-empty {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.admin-v3-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    padding: 24px;
}

.admin-v3-hero--page {
    align-items: end;
}

.admin-v3-kicker,
.admin-v3-section-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.admin-v3-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.admin-v3-subtext,
.admin-v3-panel-copy,
.admin-v3-report-body,
.admin-v3-meta-line,
.admin-v3-empty span,
.admin-v3-admin-card em {
    color: #d1d7e4;
    line-height: 1.7;
}

.admin-v3-subtext {
    max-width: 70ch;
    margin: 12px 0 0;
}

.admin-v3-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-v3-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-v3-breadcrumb-item + .admin-v3-breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.28);
}

.admin-v3-breadcrumb-item a {
    color: inherit;
    text-decoration: none;
}

.admin-v3-breadcrumb-item strong {
    color: #fff;
}

.admin-v3-subnav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.admin-v3-subnav-link {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #f8dce8;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-v3-subnav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.admin-v3-subnav-link.is-active {
    border-color: rgba(255, 79, 163, 0.35);
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.12), rgba(123, 97, 255, 0.12));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.admin-v3-subnav-link span {
    font-weight: 700;
}

.admin-v3-subnav-link small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.admin-v3-hero-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.admin-v3-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-v3-admin-card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 18px 20px;
}

.admin-v3-admin-card span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-v3-admin-card strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-v3-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.admin-v3-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 380px);
    gap: 18px;
    align-items: start;
}

.admin-v3-dashboard-stack {
    display: grid;
    gap: 18px;
}

.admin-v3-stats--insights {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.admin-v3-stat-card {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-v3-stat-card span,
.admin-v3-chip,
.admin-v3-timestamp,
.admin-v3-inline-note {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-v3-stat-card-title {
    display: inline-block;
}

.admin-v3-stat-card-title.is-featured {
    color: #ff7bc0;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #ff7bc0 0%, #7b61ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(255, 123, 192, 0.18);
}

.admin-v3-stat-card strong {
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.admin-v3-dashboard-grid .admin-v3-stat-card strong {
    font-size: clamp(17px, 2.1vw, 21px);
}

.admin-v3-stat-card small {
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(123, 97, 255, 0.3);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.admin-v3-stat-card:hover strong {
    color: #d5efff;
}

.admin-v3-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 380px);
    gap: 18px;
    align-items: start;
}

.admin-v3-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.admin-v3-main,
.admin-v3-side {
    display: grid;
    gap: 18px;
}

.admin-v3-panel {
    padding: 20px;
}

.admin-v3-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 16px;
}

.admin-v3-panel-head h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.admin-v3-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.admin-v3-filter-form input,
.admin-v3-filter-form select,
.admin-v3-inline-form-stack input[type="text"],
.admin-v3-inline-form-stack input[type="password"],
.admin-v3-inline-form-stack select,
.admin-v3-inline-form-stack textarea {
    width: 100%;
    padding: 10px 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    resize: vertical;
}

.admin-v3-filter-form input:focus,
.admin-v3-filter-form select:focus,
.admin-v3-inline-form-stack input[type="text"]:focus,
.admin-v3-inline-form-stack input[type="password"]:focus,
.admin-v3-inline-form-stack select:focus,
.admin-v3-inline-form-stack textarea:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: #ff4fa3;
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.15);
    outline: none;
}

.admin-v3-filter-form .form-group {
    min-width: 220px;
}

.admin-v3-users-toolbar {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-v3-users-toolbar-copy {
    display: grid;
    gap: 6px;
}

.admin-v3-filter-form--users .form-group {
    flex: 1 1 180px;
    min-width: min(220px, 100%);
}

.admin-v3-user-card-list {
    display: grid;
    gap: 14px;
}

.admin-v3-user-card {
    gap: 16px;
}

.admin-v3-user-card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-v3-user-card-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-v3-user-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-v3-user-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.admin-v3-user-metric {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-v3-user-metric span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-v3-user-metric strong {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.admin-v3-user-metric small {
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-table-wrap {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-v3-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
}

.admin-v3-table thead th {
    padding: 14px 16px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-v3-table tbody td {
    padding: 16px;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-v3-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-v3-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.admin-v3-user-primary {
    min-width: 320px;
}

.admin-v3-user-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.admin-v3-user-copy strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.admin-v3-user-handle {
    color: var(--muted);
    font-size: 12px;
}

.admin-v3-user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 10px;
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-user-flag,
.admin-v3-user-number {
    display: grid;
    gap: 6px;
}

.admin-v3-user-flag strong,
.admin-v3-user-number strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.admin-v3-user-flag small,
.admin-v3-user-number small {
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-user-note-list {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.admin-v3-user-note {
    margin: 0;
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-user-note strong {
    color: #fff;
}

.admin-v3-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.admin-v3-report-list,
.admin-v3-side-list {
    display: grid;
    gap: 14px;
}

.admin-v3-section-stack {
    display: grid;
    gap: 22px;
}

.admin-v3-subsection {
    display: grid;
    gap: 14px;
}

.admin-v3-subsection-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
}

.admin-v3-subsection-copy {
    margin: 8px 0 0;
}

.admin-v3-maintenance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.admin-v3-maintenance-card,
.admin-v3-maintenance-run {
    display: grid;
    gap: 10px;
}

.admin-v3-side-card--wall-clear {
    border-color: rgba(255, 102, 146, 0.22);
    background: linear-gradient(135deg, rgba(255, 102, 146, 0.1), rgba(255, 255, 255, 0.03));
}

.admin-v3-side-card--private-room-access {
    border-color: rgba(222, 193, 87, 0.24);
    background: linear-gradient(135deg, rgba(222, 193, 87, 0.09), rgba(255, 255, 255, 0.03));
}

.admin-v3-maintenance-list {
    margin-top: 6px;
}

.admin-v3-dashboard-note {
    margin-top: 16px;
}

.admin-v3-dispute-list {
    margin-top: 6px;
}

.admin-v3-code {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8d8e6;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}

.admin-v3-country-list {
    display: grid;
    gap: 10px;
}

.admin-v3-country-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-v3-country-row:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.admin-v3-country-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f6f8fb;
    font-size: 14px;
    font-weight: 700;
}

.admin-v3-country-copy {
    min-width: 0;
}

.admin-v3-country-copy h3,
.admin-v3-country-total strong {
    margin: 0;
    letter-spacing: -0.04em;
}

.admin-v3-country-copy h3 {
    font-size: 17px;
}

.admin-v3-country-copy p {
    margin: 4px 0 0;
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.5;
}

.admin-v3-country-total {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

.admin-v3-country-total strong {
    font-size: 24px;
    line-height: 1;
}

.admin-v3-country-total span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-v3-report-card,
.admin-v3-side-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-left: 3px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.admin-v3-hub-card {
    align-content: start;
}

.admin-v3-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.admin-v3-side-card--dispute {
    border-left-color: rgba(255, 79, 163, 0.35);
}

.admin-v3-report-card:hover,
.admin-v3-side-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.admin-v3-report-card:focus-within,
.admin-v3-side-card:focus-within {
    transform: translateX(6px);
    border-color: rgba(255, 79, 163, 0.3);
    border-left-color: #ff4fa3;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.06), rgba(10, 12, 18, 0.8));
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.admin-v3-report-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.admin-v3-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-v3-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-v3-chip-link {
    color: #f4d68a;
    text-decoration: none;
}

.admin-v3-chip-link:hover {
    color: #fff;
    border-color: rgba(244, 214, 138, 0.35);
}

.admin-v3-chip.is-dispute {
    color: #ffc7dc;
    border-color: rgba(255, 79, 163, 0.28);
    background: rgba(255, 79, 163, 0.12);
}

.admin-v3-chip.is-critical {
    color: #ffd7db;
    border-color: rgba(255, 95, 109, 0.35);
    background: rgba(255, 95, 109, 0.16);
}

.admin-v3-chip.is-high {
    color: #ffe4bf;
    border-color: rgba(255, 176, 77, 0.35);
    background: rgba(255, 176, 77, 0.16);
}

.admin-v3-chip.is-warning {
    color: #f9e8b8;
    border-color: rgba(222, 193, 87, 0.3);
    background: rgba(222, 193, 87, 0.14);
}

.admin-v3-chip.is-muted {
    color: #d7dbe8;
    border-color: rgba(185, 193, 214, 0.2);
    background: rgba(185, 193, 214, 0.08);
}

.admin-v3-chip.is-success {
    color: #d1ffe3;
    border-color: rgba(63, 201, 140, 0.28);
    background: rgba(63, 201, 140, 0.14);
}

.admin-v3-report-card h3,
.admin-v3-side-card h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.admin-v3-meta-line,
.admin-v3-report-body {
    margin: 0;
}

.admin-v3-inline-note {
    display: inline-flex;
    margin-left: 8px;
}

.admin-v3-inline-form-stack {
    display: grid;
    gap: 10px;
}

.admin-v3-report-evidence {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.admin-v3-report-evidence summary {
    color: #f3c7dc;
    font-weight: 700;
    cursor: pointer;
}

.admin-v3-report-evidence ol {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 20px;
}

.admin-v3-report-evidence li {
    overflow-wrap: anywhere;
    color: #d8d0d8;
    line-height: 1.5;
}

.admin-v3-report-evidence small {
    display: block;
    color: #9e94a0;
}

.admin-v3-private-room-access-form .form-group {
    margin: 0;
}

.admin-v3-inline-form-compact {
    gap: 8px;
}

.admin-v3-inline-form-stack .btn {
    width: 100%;
    color: #f7c9de;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: all 0.2s ease;
}

.admin-v3-inline-form-stack .btn:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.9), rgba(123, 97, 255, 0.9));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 79, 163, 0.3);
}

.admin-v3-side-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-v3-link {
    color: #f3c7dc;
    text-decoration: none;
}

.admin-v3-link:hover {
    color: #fff;
}

.admin-v3-ticket-thread {
    display: grid;
    gap: 10px;
}

.admin-v3-ticket-message {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-v3-ticket-message-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-v3-ticket-message p {
    margin: 0;
    color: #f4d9e5;
    line-height: 1.7;
}

.admin-v3-empty {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.admin-v3-empty p {
    margin: 0;
    font-size: 21px;
    letter-spacing: -0.03em;
}

.admin-v3-panel--audit {
    padding: 18px;
}

.admin-v3-audit-list {
    display: grid;
    gap: 10px;
}

.admin-v3-audit-card {
    display: grid;
    gap: 10px;
    padding: 14px 15px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-v3-audit-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
}

.admin-v3-audit-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.admin-v3-audit-heading {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-v3-audit-card h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.admin-v3-audit-summary {
    line-height: 1.55;
}

.admin-v3-audit-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-v3-audit-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #d1d7e4;
    font-size: 12px;
    line-height: 1.4;
}

.admin-v3-audit-fact strong {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-v3-audit-detail-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #d1d7e4;
    line-height: 1.6;
}

.admin-v3-audit-detail-list li {
    margin: 0;
}

.admin-v3-audit-details {
    display: grid;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-v3-audit-details summary {
    cursor: pointer;
    color: #f3c7dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    list-style: none;
}

.admin-v3-audit-details summary::-webkit-details-marker {
    display: none;
}

.admin-v3-audit-details[open] summary {
    color: #fff;
}

@media (max-width: 1180px) {
    .admin-v3-hero,
    .admin-v3-grid,
    .admin-v3-dashboard-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-v3-maintenance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-v3-page {
        padding: 20px 12px 72px;
    }

    .admin-v3-hero,
    .admin-v3-panel,
    .admin-v3-stat-card,
    .admin-v3-admin-card,
    .admin-v3-report-card,
    .admin-v3-side-card,
    .admin-v3-audit-card,
    .admin-v3-empty {
        padding: 18px;
    }

    .admin-v3-stats {
        grid-template-columns: 1fr;
    }

    .admin-v3-country-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-v3-country-total {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
        padding-left: 50px;
    }

    .admin-v3-panel-head,
    .admin-v3-report-top,
    .admin-v3-subsection-head {
        flex-direction: column;
        align-items: start;
    }

    .admin-v3-filter-form,
    .admin-v3-hero-actions,
    .admin-v3-hero-focus,
    .admin-v3-side-links {
        width: 100%;
    }

    .admin-v3-subnav {
        grid-template-columns: 1fr;
    }

    .admin-v3-hub-actions {
        width: 100%;
    }

    .admin-v3-hub-actions .btn {
        width: 100%;
    }

    .admin-v3-filter-form .form-group {
        min-width: 0;
        width: 100%;
    }

    .admin-v3-filter-form .btn,
    .admin-v3-hero-actions .btn {
        width: 100%;
    }

    .admin-v3-user-card-actions {
        width: 100%;
    }

    .admin-v3-user-card-actions .btn {
        width: 100%;
    }

    .admin-v3-user-card-grid {
        grid-template-columns: 1fr;
    }

    .admin-v3-audit-top {
        flex-direction: column;
        align-items: start;
    }

    .admin-v3-panel--audit {
        padding: 16px;
    }
}


/* 07-creator-notifications.css */
/* ==========================================================================
   08. Creator and Notifications
   ========================================================================== */

.creator-public-page {
    padding-bottom: 70px;
}

.creator-hero {
    padding: 38px 0 28px;
}

.creator-hero-card,
.creator-panel,
.notification-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.creator-body {
    padding: 8px 0 26px;
}

.creator-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.notification-card h3,
.creator-panel h2 {
    margin: 0;
}

.notification-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

.creator-hero-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.creator-banner-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.creator-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,11,16,0.08), rgba(10,11,16,0.72));
}

.creator-hero-card {
    margin-top: -84px;
    position: relative;
    z-index: 2;
    padding: 28px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.creator-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.creator-hero-avatar {
    width: 104px;
    height: 104px;
}

.creator-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
}

.creator-main,
.creator-sidebar,
.notification-list {
    display: grid;
    gap: 22px;
}

.creator-panel {
    padding: 24px;
}

.input-hint {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-size: 13px;
}

.notification-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.notification-card {
    padding: 22px;
}

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

.notifications-v3-page {
    padding: 32px 16px 90px;
}

.notifications-v3-hero {
    margin-bottom: 24px;
}

.notifications-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(166, 67, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.16), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.notifications-v3-kicker,
.notifications-v3-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7bc0;
}

.notifications-v3-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.notifications-v3-subtext {
    max-width: 62ch;
    margin: 16px 0 0;
    color: #d1d7e4;
    font-size: 17px;
    line-height: 1.7;
}

.notifications-v3-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.notifications-v3-badge,
.notifications-v3-card-category {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notifications-v3-highlight-card,
.notifications-v3-highlight-mini,
.notifications-v3-list-panel,
.notifications-v3-side-card,
.notifications-v3-card,
.notifications-v3-summary-card,
.notifications-v3-link-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.notifications-v3-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.notifications-v3-highlight-card span,
.notifications-v3-highlight-mini span,
.notifications-v3-summary-card span,
.notifications-v3-link-card span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notifications-v3-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
    word-break: break-word;
}

.notifications-v3-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.notifications-v3-highlight-mini,
.notifications-v3-summary-card {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.notifications-v3-highlight-mini strong,
.notifications-v3-summary-card strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.notifications-v3-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.notifications-v3-list-panel,
.notifications-v3-side-card {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.notifications-v3-sidebar {
    display: grid;
    gap: 24px;
}

.notifications-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.notifications-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.notifications-v3-list,
.notifications-v3-links {
    display: grid;
    gap: 18px;
}

.notifications-v3-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.notifications-v3-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.notifications-v3-card-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.notifications-v3-card-labels {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.notifications-v3-card h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.notifications-v3-card-time {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.notifications-v3-card-message {
    margin: 0;
    color: #d1d7e4;
    line-height: 1.75;
    word-break: break-word;
}

.notifications-v3-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.notifications-v3-card--requests {
    border-color: rgba(255, 79, 163, 0.24);
}

.notifications-v3-card--sales {
    border-color: rgba(85, 211, 154, 0.26);
}

.notifications-v3-card--messages {
    border-color: rgba(114, 173, 255, 0.28);
}

.notifications-v3-card--likes {
    border-color: rgba(255, 130, 181, 0.24);
}

.notifications-v3-card--social {
    border-color: rgba(255, 130, 181, 0.24);
}

.notifications-v3-card--reviews {
    border-color: rgba(255, 209, 102, 0.28);
}

.notifications-v3-card--wallet {
    border-color: rgba(100, 198, 255, 0.24);
}

.notifications-v3-card--updates {
    border-color: rgba(255, 255, 255, 0.12);
}

.notifications-v3-card--drops {
    border-color: rgba(255, 173, 84, 0.28);
}

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

.notifications-v3-preferences-form {
    display: grid;
    gap: 16px;
}

.notifications-v3-toggle-list {
    display: grid;
    gap: 12px;
}

.notifications-v3-toggle-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.notifications-v3-toggle-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.notifications-v3-toggle-copy strong {
    font-size: 16px;
    line-height: 1.2;
}

.notifications-v3-toggle-copy em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.6;
}

.notifications-v3-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #ff4fa3;
}

.notifications-v3-side-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.notifications-v3-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.notifications-v3-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 79, 163, 0.3);
}

.notifications-v3-link-card strong {
    font-size: 18px;
    line-height: 1.2;
    word-break: break-word;
}

.notifications-v3-empty {
    display: grid;
    gap: 10px;
    padding: 30px;
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.notifications-v3-empty p {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.notifications-v3-empty span {
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 980px) {
    .creator-hero-card,
    .creator-layout {
        grid-template-columns: 1fr;
    }

    .notifications-v3-shell,
    .notifications-v3-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .notifications-v3-page {
        padding: 24px 12px 80px;
    }

    .notifications-v3-shell,
    .notifications-v3-list-panel,
    .notifications-v3-side-card {
        padding: 22px;
    }

    .notifications-v3-copy h1 {
        font-size: 36px;
    }

    .notifications-v3-panel-head,
    .notifications-v3-card-head {
        flex-direction: column;
        align-items: start;
    }

    .notifications-v3-highlight-grid,
    .notifications-v3-summary-grid {
        grid-template-columns: 1fr;
    }

    .notifications-v3-toggle-row {
        flex-direction: column;
    }

    .notifications-v3-card-time {
        white-space: normal;
    }
}


/* 08-header.css */
/* ==========================================================================
   09. Shared responsive header
   ========================================================================== */

header.site-header.xs-header {
    display: block;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 180;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    border-bottom: 0;
    backdrop-filter: none;
    box-shadow: none;
}

header.site-header.xs-header .xs-header-shell {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(12, 14, 20, 0.94), rgba(12, 14, 20, 0.84));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    overflow: visible;
}

header.site-header.xs-header .xs-header-bar {
    min-height: 90px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

header.site-header.xs-header .xs-header-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

header.site-header.xs-header .xs-header-brand-cluster {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

header.site-header.xs-header .xs-header-brand-mark {
    width: clamp(208px, 20vw, 264px);
    aspect-ratio: 997 / 326;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    overflow: visible;
    background: transparent;
}

header.site-header.xs-header .xs-header-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

header.site-header.xs-header .xs-header-bar-right,
header.site-header.xs-header .xs-header-summary {
    display: flex;
    align-items: center;
    min-width: 0;
}

header.site-header.xs-header .xs-header-bar-right {
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

header.site-header.xs-header .xs-header-wall-cta {
    min-height: 42px;
    padding-inline: 16px;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(255, 79, 163, 0.2);
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex: 0 0 auto;
}

header.site-header.xs-header .xs-header-home-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

header.site-header.xs-header .xs-header-wall-cta.is-active {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(255, 79, 163, 0.22);
}

header.site-header.xs-header .xs-header-summary {
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

header.site-header.xs-header .xs-header-pill,
header.site-header.xs-header .xs-header-account {
    min-height: 38px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

header.site-header.xs-header .xs-header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    white-space: nowrap;
}

header.site-header.xs-header .xs-header-pill:hover,
header.site-header.xs-header .xs-header-account:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

header.site-header.xs-header .xs-header-pill.is-active,
header.site-header.xs-header .xs-header-account.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

header.site-header.xs-header .xs-header-pill-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

header.site-header.xs-header .xs-header-pill strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--gradient);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

header.site-header.xs-header .xs-header-balance strong {
    background: rgba(255, 255, 255, 0.12);
    min-width: auto;
    font-size: 13px;
}

header.site-header.xs-header .xs-header-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 240px;
    padding: 5px 10px 5px 7px;
    background: rgba(255, 255, 255, 0.04);
}

header.site-header.xs-header .xs-header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.1);
}

header.site-header.xs-header .xs-header-account-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

header.site-header.xs-header .xs-header-account-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

header.site-header.xs-header .xs-header-account strong {
    display: block;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header.site-header.xs-header .xs-header-guest-status {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

header.site-header.xs-header .xs-language-switcher {
    position: relative;
    margin: 0;
    flex: 0 0 auto;
}

header.site-header.xs-header .xs-language-switcher > summary {
    list-style: none;
}

header.site-header.xs-header .xs-language-switcher > summary::-webkit-details-marker {
    display: none;
}

header.site-header.xs-header .xs-language-switcher-shell {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    min-width: 74px;
    padding: 0 12px 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

header.site-header.xs-header .xs-language-switcher-shell:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    transform: translateY(-1px);
}

header.site-header.xs-header .xs-language-switcher[open] .xs-language-switcher-shell,
header.site-header.xs-header .xs-language-switcher-shell:focus-within {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

header.site-header.xs-header .xs-language-switcher-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

header.site-header.xs-header .xs-language-switcher-chevron {
    align-self: center;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.56);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.56);
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform .18s ease, border-color .18s ease;
}

header.site-header.xs-header .xs-language-switcher[open] .xs-language-switcher-chevron {
    transform: rotate(-135deg);
}

header.site-header.xs-header .xs-language-menu-form {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 24;
    width: max-content;
}

header.site-header.xs-header .xs-language-menu-panel {
    display: grid;
    gap: 8px;
    min-width: 220px;
    padding: 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(11, 14, 22, 0.96), rgba(9, 11, 18, 0.94));
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.34);
}

header.site-header.xs-header .xs-language-menu-item {
    width: 100%;
    min-height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

header.site-header.xs-header .xs-language-menu-item:hover,
header.site-header.xs-header .xs-language-menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    outline: none;
}

header.site-header.xs-header .xs-language-menu-item.is-active {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}

header.site-header.xs-header .xs-language-menu-item-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 9px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

header.site-header.xs-header .xs-language-menu-item.is-active .xs-language-menu-item-code {
    background: rgba(255, 255, 255, 0.12);
}

header.site-header.xs-header .xs-language-menu-item-label {
    min-width: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header.site-header.xs-header .xs-header-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex: 0 0 auto;
}

header.site-header.xs-header .xs-header-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
    transition: transform .18s ease, opacity .18s ease;
}

header.site-header.xs-header .xs-header-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

header.site-header.xs-header .xs-header-toggle span:nth-child(3) {
    transform: translateY(7px);
}

header.site-header.xs-header.is-menu-open .xs-header-toggle span:nth-child(1) {
    transform: rotate(45deg);
}

header.site-header.xs-header.is-menu-open .xs-header-toggle span:nth-child(2) {
    opacity: 0;
}

header.site-header.xs-header.is-menu-open .xs-header-toggle span:nth-child(3) {
    transform: rotate(-45deg);
}

body.xs-menu-locked {
    overflow: hidden;
}

header.site-header.xs-header .xs-mobile-layer[hidden] {
    display: none !important;
}

header.site-header.xs-header .xs-mobile-layer {
    position: fixed;
    inset: 0;
    z-index: 170;
    pointer-events: none;
}

header.site-header.xs-header .xs-mobile-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(7, 9, 15, 0.62);
    backdrop-filter: blur(12px);
    cursor: pointer;
    pointer-events: auto;
}

header.site-header.xs-header .xs-mobile-menu {
    position: absolute;
    top: 82px;
    right: max(18px, env(safe-area-inset-right));
    width: min(294px, calc(100vw - 28px));
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(11, 14, 22, 0.96), rgba(9, 11, 18, 0.94));
    box-shadow: 0 34px 60px rgba(0, 0, 0, 0.34);
}

header.site-header.xs-header .xs-mobile-menu::-webkit-scrollbar {
    width: 8px;
}

header.site-header.xs-header .xs-mobile-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

header.site-header.xs-header .xs-mobile-nav {
    display: grid;
    gap: 14px;
}

header.site-header.xs-header .xs-mobile-profile-card,
header.site-header.xs-header .xs-mobile-section {
    display: grid;
    gap: 8px;
}

header.site-header.xs-header .xs-mobile-section--account {
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

header.site-header.xs-header .xs-mobile-label {
    font-size: 11px;
    line-height: 1.2;
    color: #f4bfd8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0 4px;
}

header.site-header.xs-header .xs-mobile-subsection {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

header.site-header.xs-header .xs-mobile-subsection-label {
    font-size: 11px;
    line-height: 1.2;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 2px;
}

header.site-header.xs-header .xs-mobile-profile-card {
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

header.site-header.xs-header .xs-mobile-profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

header.site-header.xs-header .xs-mobile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

header.site-header.xs-header .xs-mobile-profile-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

header.site-header.xs-header .xs-mobile-profile-copy strong {
    font-size: 16px;
    color: var(--white);
}

header.site-header.xs-header .xs-mobile-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

header.site-header.xs-header .xs-mobile-metric {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
}

header.site-header.xs-header .xs-mobile-metric span {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

header.site-header.xs-header .xs-mobile-metric strong {
    font-size: 15px;
}

header.site-header.xs-header .xs-mobile-metric.is-active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

header.site-header.xs-header .xs-mobile-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

header.site-header.xs-header .xs-mobile-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

header.site-header.xs-header .xs-mobile-link.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

header.site-header.xs-header .xs-mobile-link-logout {
    color: #ffd6e7;
}

header.site-header.xs-header .xs-mobile-logout-form {
    margin: 0;
}

header.site-header.xs-header .xs-mobile-logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

header.site-header.xs-header .xs-mobile-language-section {
    display: none;
}

header.site-header.xs-header .xs-mobile-language-switcher {
    margin: 0;
    display: grid;
    position: relative;
}

header.site-header.xs-header .xs-mobile-language-switcher > summary {
    list-style: none;
}

header.site-header.xs-header .xs-mobile-language-switcher > summary::-webkit-details-marker {
    display: none;
}

header.site-header.xs-header .xs-mobile-language-shell {
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    min-width: 74px;
    padding: 0 12px 0 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

header.site-header.xs-header .xs-mobile-language-shell:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
}

header.site-header.xs-header .xs-mobile-language-switcher[open] .xs-mobile-language-shell,
header.site-header.xs-header .xs-mobile-language-shell:focus-within {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

header.site-header.xs-header .xs-mobile-language-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

header.site-header.xs-header .xs-mobile-language-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.56);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.56);
    transform: rotate(45deg);
    pointer-events: none;
    transition: transform .18s ease, border-color .18s ease;
}

header.site-header.xs-header .xs-mobile-language-switcher[open] .xs-mobile-language-chevron {
    transform: rotate(-135deg);
}

header.site-header.xs-header .xs-mobile-language-switcher .xs-language-menu-form {
    position: static;
    width: 100%;
    margin-top: 10px;
}

header.site-header.xs-header .xs-mobile-language-switcher .xs-language-menu-panel {
    min-width: 0;
    width: 100%;
    padding: 8px;
    border-radius: 18px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
    header.site-header.xs-header {
        padding-top: 10px;
    }

    header.site-header.xs-header .xs-header-bar {
        min-height: 78px;
        padding: 12px;
        gap: 12px;
    }

    header.site-header.xs-header .xs-header-brand-mark {
        width: min(170px, 40vw);
    }

    header.site-header.xs-header .xs-header-summary {
        gap: 8px;
        max-width: calc(100vw - 270px);
        overflow-x: auto;
        scrollbar-width: none;
    }

    header.site-header.xs-header .xs-header-summary::-webkit-scrollbar {
        display: none;
    }

    header.site-header.xs-header .xs-header-pill {
        padding: 0 10px;
    }

    header.site-header.xs-header .xs-header-wall-cta {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 11px;
    }

    header.site-header.xs-header .xs-header-pill-label {
        display: none;
    }

    header.site-header.xs-header .xs-header-account {
        padding-right: 10px;
    }

    header.site-header.xs-header .xs-header-account-copy {
        display: none;
    }

    header.site-header.xs-header .xs-language-switcher {
        display: none;
    }

    header.site-header.xs-header .xs-mobile-language-section {
        display: grid;
    }

    header.site-header.xs-header .xs-mobile-metrics {
        grid-template-columns: 1fr;
    }

    header.site-header.xs-header .xs-mobile-menu {
        top: 84px;
        right: 12px;
        width: min(266px, calc(100vw - 20px));
        max-height: calc(100dvh - 96px);
        padding: 12px;
    }

}

@media (max-width: 480px) {
    header.site-header.xs-header .xs-header-bar {
        grid-template-columns: minmax(0, 1fr);
    }

    header.site-header.xs-header .xs-header-bar-right {
        justify-content: flex-end;
    }

    body:not(.public-wall-page) header.site-header.xs-header .xs-header-brand-cluster {
        padding-right: 52px;
    }

    body:not(.public-wall-page) header.site-header.xs-header .xs-header-bar-right {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 8px;
    }

    body:not(.public-wall-page) header.site-header.xs-header .xs-header-toggle {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    body:not(.public-wall-page) header.site-header.xs-header .xs-header-wall-cta,
    body:not(.public-wall-page) header.site-header.xs-header .header-guest-access > .btn,
    body:not(.public-wall-page) header.site-header.xs-header .header-login-widget > summary {
        min-width: 0;
        white-space: normal;
        text-align: center;
        padding-inline: 8px;
    }

    body:not(.public-wall-page) header.site-header.xs-header .header-guest-access > * {
        flex: 1 1 0;
        min-width: 0;
    }

    header.site-header.xs-header .xs-header-summary {
        max-width: calc(100vw - 110px);
        overflow-x: auto;
        scrollbar-width: none;
    }

    header.site-header.xs-header .xs-header-summary::-webkit-scrollbar {
        display: none;
    }

    header.site-header.xs-header .xs-mobile-menu {
        right: 10px;
        width: calc(100vw - 20px);
        top: 82px;
        max-height: calc(100dvh - 92px);
        border-radius: 24px;
    }

}


/* 09-public-pages.css */
/* ==========================================================================
   09. Public page refresh
   ========================================================================== */

.home-v3-hero {
    padding-top: 34px;
}

.home-v3-hero-card {
    min-height: 620px;
    align-items: stretch;
}

.home-v3-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-v3-mode-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 26px;
}

.home-v3-mode-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #f3c7dc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-v3-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 540px;
}

.home-v3-hero-actions .btn {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.home-v3-flow-card,
.market-v3-hero-stat {
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.market-v3-hero-stat span,
.content-v3-price-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.market-v3-hero-stat strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.home-v3-cta-copy {
    color: var(--muted);
    line-height: 1.75;
}

.home-v3-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-v3-cta-title {
    margin: 10px 0 14px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.home-v3-cta-copy {
    margin: 0;
    max-width: 58ch;
}

.home-v3-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
}

.home-v3-art {
    position: relative;
    width: min(100%, 410px);
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #08090d;
    box-shadow: 0 18px 40px rgba(7, 10, 18, 0.26);
}

.home-v3-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(7, 9, 14, 0.08));
    pointer-events: none;
}

.home-v3-art-image {
    display: block;
    width: 100%;
    height: auto;
}

.market-v3-link,
.creator-v3-link {
    color: #f3c7dc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-v3-section {
    padding-top: 42px;
}

.home-v3-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-v3-flow-card {
    padding: 24px;
}

.home-v3-flow-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.home-v3-flow-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.home-v3-flow-card .btn,
.home-v3-flow-card .market-v3-link {
    margin-top: 18px;
}

.home-v3-step-card .step-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    background: var(--gradient);
}

.home-v3-cta-card {
    padding: 12px;
}

.market-v3-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: end;
    padding: 42px 36px;
}

.market-v3-hero-aside {
    display: grid;
    gap: 14px;
}

.market-v3-hero-stat {
    padding: 18px;
}

.market-v3-hero-note {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 10, 16, 0.4);
    color: #f2d2e2;
    font-size: 14px;
    line-height: 1.6;
    max-width: 520px;
}

.market-v3-hero-stat strong {
    font-size: 28px;
    line-height: 1.2;
}

.market-v3-hero-stat-soft strong {
    font-size: 19px;
}

.market-v3-filter-shell {
    margin-bottom: 24px;
}

.market-v3-filter-panel {
    padding: 28px;
}

.market-v3-filter-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.market-v3-filter-copy h2,
.market-v3-results-head h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.market-v3-filter-copy p:last-child,
.market-v3-results-head p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.75;
}

.market-v3-filter-status {
    display: grid;
    gap: 8px;
    min-width: 132px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
}

.market-v3-filter-status span {
    color: var(--muted);
    font-size: 13px;
}

.market-v3-filter-status span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.market-v3-filter-status strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.market-v3-filter-form {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
}

.market-v3-results-head {
    margin-bottom: 22px;
}

.market-v3-discovery-stack {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
}

.market-v3-discovery-section {
    display: grid;
    gap: 18px;
}

.market-v3-grid,
.creator-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.market-v3-card,
.creator-market-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.market-v3-card:hover,
.creator-market-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.32);
}

.creator-market-banner-link {
    display: block;
}

.creator-market-banner {
    position: relative;
    overflow: hidden;
}

.creator-market-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.02) 0%, rgba(5, 6, 8, 0.34) 100%);
    pointer-events: none;
}

.market-v3-banner img,
.creator-market-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.market-v3-body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0 18px 16px;
}

.market-v3-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
}

.market-v3-avatar-shell {
    flex: 0 0 auto;
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.96), rgba(10, 12, 18, 0.82));
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
    margin-bottom: -18px;
}

.market-v3-avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    border: 0;
    background: rgba(11, 13, 19, 0.72);
}

.market-v3-identity {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    padding-top: 8px;
}

.market-v3-public-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #f1c6dc;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    max-width: 100%;
}

.market-v3-public-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a91, #9d40ff);
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12);
}

.market-v3-follow-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 194, 115, 0.14);
    color: #ffd8a2;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.market-v3-identity h3 {
    margin: 0 0 4px;
    font-size: 21px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.creator-market-title a {
    display: block;
    transition: color 0.18s ease;
}

.creator-market-title a:hover {
    color: #ffd7ea;
}

.creator-market-handle {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

.market-v3-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.market-v3-stat {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 10px 9px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.market-v3-stat strong {
    color: var(--white);
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.market-v3-stat span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.market-v3-bio {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
    min-height: 70px;
    overflow-wrap: anywhere;
}

.market-v3-actions,
.creator-v3-collection-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.market-v3-actions {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.market-v3-actions .btn {
    min-width: 0;
}

.market-v3-link {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.market-v3-link::after {
    content: "->";
    font-size: 11px;
}

.market-v3-empty {
    text-align: center;
    padding: 34px 28px;
}

.market-v3-empty p {
    margin: 0;
    line-height: 1.7;
}

/* Marketplace directory refinements */

.market-creators-page .marketplace-content .container {
    display: grid;
    gap: 20px;
}

.market-creators-page .market-v3-filter-shell {
    margin-bottom: 0;
}

.market-creators-page .market-v3-filter-panel {
    padding: 22px;
    border-radius: 24px;
}

.market-creators-page .market-v3-filter-head {
    margin-bottom: 18px;
    gap: 16px;
}

.market-creators-page .market-v3-filter-copy h2,
.market-creators-page .market-v3-results-head h2 {
    margin-bottom: 6px;
    font-size: 30px;
}

.market-creators-page .market-v3-filter-status {
    min-width: 156px;
    padding: 14px 16px;
    border-radius: 18px;
}

.market-creators-page .market-v3-filter-status strong {
    font-size: 26px;
}

.market-creators-page .market-v3-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr) auto auto;
    gap: 12px;
}

.market-creators-page .market-v3-filter-form .form-group {
    margin: 0;
}

.market-v3-filter-form input[type="text"],
.market-v3-filter-form select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.market-v3-filter-form input[type="text"]:focus,
.market-v3-filter-form select:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #ff4fa3;
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.15);
    outline: none;
}

.market-creators-page .market-v3-filter-form input,
.market-creators-page .market-v3-filter-form select {
    min-height: 46px;
}

.market-creators-page .market-v3-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2px;
}

.market-creators-page .market-v3-grid,
.market-creators-page .creator-market-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 290px));
    justify-content: start;
    gap: 16px;
}

.market-creators-page .market-v3-card,
.market-creators-page .creator-market-card {
    width: 100%;
    max-width: 290px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.042);
}

.market-v3-rating-value {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.5;
}

.market-creators-page .creator-market-banner img,
.market-creators-page .market-v3-banner img {
    height: 148px;
}

.market-creators-page .market-v3-body {
    padding: 0 14px 14px;
}

.market-creators-page .market-v3-top {
    gap: 10px;
    margin-bottom: 10px;
}

.market-creators-page .market-v3-avatar-shell {
    padding: 3px;
    border-radius: 20px;
    transform: translateY(-24px);
    margin-bottom: -14px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.market-creators-page .creator-market-card:hover .market-v3-avatar-shell {
    transform: translateY(-28px) scale(1.08);
    box-shadow: 0 12px 24px rgba(255, 79, 163, 0.25);
    border-color: rgba(10, 12, 18, 1);
}

.market-creators-page .market-v3-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.market-creators-page .market-v3-identity {
    padding-top: 6px;
}

.market-creators-page .market-v3-public-label {
    margin-bottom: 6px;
    font-size: 10px;
}

.market-creators-page .market-v3-identity h3 {
    margin-bottom: 3px;
    font-size: 18px;
}

.market-creators-page .creator-market-handle {
    font-size: 12px;
}

.market-creators-page .creator-market-presence {
    margin-top: 6px;
}

.market-creators-page .market-v3-stats {
    gap: 7px;
    margin-bottom: 12px;
}

.market-creators-page .market-v3-stat {
    padding: 9px 8px;
    border-radius: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.market-creators-page .creator-market-card:hover .market-v3-stat {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.market-creators-page .market-v3-stat strong {
    color: #f7c9de;
    font-size: 15px;
}

.market-creators-page .market-v3-stat span {
    font-size: 10px;
}

.market-creators-page .market-v3-bio {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.market-creators-page .market-v3-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
}

.market-creators-page .market-v3-actions .btn {
    justify-content: center;
}

.market-creators-page .market-v3-actions .market-v3-link {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 2px;
}

.market-v3-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 0 0;
}

.market-v3-page-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.market-v3-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    color: var(--text);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.market-v3-page-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.market-v3-page-link:not(.is-active):not(.is-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #f7c9de;
}

.market-v3-page-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.22), rgba(123, 97, 255, 0.2));
    border-color: rgba(255, 79, 163, 0.42);
    box-shadow: 0 10px 22px rgba(255, 79, 163, 0.16);
}

.market-v3-page-link.is-disabled {
    opacity: 0.48;
    pointer-events: none;
}

@media (max-width: 980px) {
    .market-creators-page .market-v3-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .market-creators-page .market-v3-filter-form .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .market-creators-page .market-v3-filter-panel {
        padding: 18px;
    }

    .market-creators-page .market-v3-filter-copy h2,
    .market-creators-page .market-v3-results-head h2 {
        font-size: 26px;
    }

    .market-creators-page .market-v3-results-head {
        flex-direction: column;
        align-items: start;
    }

    .market-creators-page .market-v3-grid,
    .market-creators-page .creator-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .market-creators-page .market-v3-filter-form,
    .market-creators-page .market-v3-grid,
    .market-creators-page .creator-market-grid {
        grid-template-columns: 1fr;
    }

    .market-creators-page .market-v3-filter-status {
        width: 100%;
    }

    .market-creators-page .market-v3-actions {
        grid-template-columns: 1fr;
    }

    .market-creators-page .market-v3-actions .market-v3-link {
        grid-column: auto;
    }
}

.content-v3-layout {
    align-items: stretch;
}

.content-v3-media-panel,
.content-v3-info-panel,
.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card {
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.content-v3-media-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.content-v3-preview-image {
    height: 100%;
    min-height: 760px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-v3-media-panel:hover .content-v3-preview-image {
    transform: scale(1.03);
}

.content-v3-teaser-rail {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(8, 9, 13, 0), rgba(8, 9, 13, 0.42));
}

.content-v3-teaser-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.content-v3-teaser-head strong {
    font-size: 15px;
    letter-spacing: -0.02em;
}

.content-v3-teaser-head span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-v3-teaser-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.content-v3-teaser-item {
    display: grid;
    gap: 6px;
}

.content-v3-teaser-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #08090d;
    filter: brightness(0.48) saturate(0.8);
    opacity: 0.86;
}

.content-v3-teaser-item span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.content-v3-heading {
    margin-bottom: 20px;
}

.content-v3-flag,
.content-v3-creator-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1c7dd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.content-v3-flag::before,
.content-v3-creator-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a91, #9d40ff);
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12);
}

.content-v3-heading .marketplace-type-badge {
    margin-top: 14px;
}

.content-v3-heading h1 {
    margin: 14px 0 16px;
    font-size: 50px;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.content-v3-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.content-v3-price-label {
    margin-bottom: 10px;
}

.content-v3-stat-row {
    margin-bottom: 20px;
}

.content-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.content-stat-pill {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.content-stat-pill:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 79, 163, 0.25);
}

.content-stat-pill span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.content-stat-pill strong {
    font-size: 20px;
}

.content-stat-pill:hover strong {
    color: #f7c9de;
    transition: color 0.2s ease;
}

.content-v3-creator-box {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.content-v3-creator-box:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 97, 255, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: 0 8px 16px rgba(123, 97, 255, 0.15);
}

.content-v3-creator-box strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.2;
}

.content-v3-creator-rating-value {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.5;
}

.content-v3-creator-stars {
    margin-top: 6px;
}

.content-v3-creator-box span:last-child {
    display: block;
    margin-top: 4px;
}

.content-v3-actions {
    align-items: center;
}

.content-v3-actions .purchase-form .btn:not(.btn-outline) {
    box-shadow: 0 8px 20px rgba(255, 79, 163, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-v3-actions .purchase-form .btn:not(.btn-outline):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 79, 163, 0.6);
}

.content-v3-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f1c7dd;
    font-weight: 700;
}

.content-v3-back-link::before {
    content: "<-";
    font-size: 11px;
}

.content-v3-section-kicker {
    margin: 0;
    color: #f1c6dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.content-v3-inline-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.content-v3-inline-link:hover {
    color: #ffd7ea;
    border-color: rgba(255, 215, 234, 0.45);
}

.content-v3-related-section {
    padding-top: 0;
}

.content-v3-related-stack {
    display: grid;
    gap: 28px;
}

.content-v3-related-block {
    display: grid;
    gap: 18px;
}

.creator-v3-page {
    padding: 34px 0 90px;
}

.creator-v4-profile-grid,
.creator-v4-action-grid {
    display: grid;
    gap: 28px;
}

.creator-v4-profile-grid {
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    margin-bottom: 24px;
    align-items: start;
}

.creator-v4-action-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: start;
}

.creator-v4-image-card,
.creator-v4-details-card,
.creator-v4-action-card {
    border-radius: 26px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.creator-v4-image-card {
    align-self: start;
}

.creator-v4-image-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.creator-v4-image-card .creator-v3-banner-shell img {
    height: 320px;
}

.creator-v4-avatar-shell {
    position: relative;
    z-index: 1;
    margin-top: -68px;
    padding: 0 24px 24px;
    filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.32));
}

.creator-v4-avatar {
    width: 128px;
    height: 128px;
    border-radius: 30px;
    border: 4px solid rgba(10, 12, 18, 0.94);
    background: rgba(11, 13, 19, 0.76);
    box-shadow:
        0 28px 46px rgba(0, 0, 0, 0.38),
        0 12px 22px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.creator-v4-details-card,
.creator-v4-action-card {
    display: grid;
    gap: 22px;
    padding: 24px;
}

.creator-v4-image-body {
    display: grid;
    gap: 16px;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

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

.creator-v4-image-stat {
    display: grid;
    gap: 8px;
    padding: 15px 16px;
    min-height: 88px;
    align-content: end;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.creator-v4-image-stat span {
    color: #d3dced;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.creator-v4-image-stat strong {
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.creator-v4-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 2px;
}

.creator-v4-jump-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #f5d7e5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.creator-v4-section-head {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-v4-section-head .creator-title {
    margin: 0;
    font-size: 46px;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.creator-v4-bio {
    color: var(--muted);
    line-height: 1.85;
    font-size: 16px;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.creator-v4-bio-empty {
    color: #c6ccda;
}

.creator-v4-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 20px;
    align-items: start;
}

.creator-v4-story {
    display: grid;
    align-content: start;
}

.creator-v4-details-actions {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}

.creator-tip-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(12, 12, 18, 0.92)),
        radial-gradient(circle at top right, rgba(255, 82, 176, 0.18), transparent 54%);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.creator-tip-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.creator-tip-card-head h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.creator-tip-card-head p {
    margin: 0;
    color: rgba(240, 238, 245, 0.72);
}

.creator-tip-balance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    white-space: nowrap;
}

.creator-tip-form {
    display: grid;
    gap: 16px;
}

.creator-tip-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

.creator-tip-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.creator-tip-preset {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f6f2fb;
    font: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.creator-tip-preset:hover,
.creator-tip-preset:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 117, 196, 0.55);
    background: rgba(255, 117, 196, 0.12);
}

.creator-tip-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.creator-tip-footer p {
    margin: 0;
    color: rgba(240, 238, 245, 0.68);
}

.creator-v4-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.creator-v4-inline-form {
    display: inline-flex;
    width: 100%;
}

.creator-v4-primary-actions .btn {
    min-width: 156px;
    justify-content: center;
}

.creator-v4-utility-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.creator-v4-follow-note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.creator-v4-section-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.creator-v4-card-head {
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-v4-card-head h2 {
    margin: 0;
}

.creator-v4-card-head p {
    margin: 0;
}

.creator-v3-hero-card {
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 24px;
}

.creator-v3-banner-shell img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.creator-v3-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 360px;
    gap: 24px;
    padding: 24px;
}

.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card {
    padding: 24px;
}

.creator-v3-top {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.creator-v3-avatar {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    object-fit: cover;
}

.creator-v3-copy .creator-title {
    margin-top: 6px;
}

.creator-v3-public-label,
.creator-v3-side-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f1c7dd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.creator-v3-public-label::before,
.creator-v3-side-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a91, #9d40ff);
    box-shadow: 0 0 0 4px rgba(255, 79, 163, 0.12);
}

.creator-v3-copy {
    min-width: 0;
}

.creator-v3-copy .creator-handle {
    display: block;
    margin-top: 12px;
    color: #f5d7e5;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.creator-v3-copy .creator-title {
    margin: 8px 0 12px;
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.creator-v3-copy .creator-copy {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

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

.creator-v3-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.creator-v4-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.creator-v3-meta-card {
    display: grid;
    gap: 8px;
    padding: 15px 16px;
    min-height: 88px;
    align-content: end;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.creator-v3-meta-card span {
    color: #d3dced;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.creator-v3-meta-card strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.creator-v3-side-card {
    display: grid;
    align-content: start;
    gap: 18px;
}

.creator-v3-collections-card {
    margin-bottom: 24px;
}

.creator-v3-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.callout-box {
    padding: 16px 18px 16px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid rgba(247, 201, 222, 0.92);
    background:
        linear-gradient(90deg, rgba(247, 201, 222, 0.14), rgba(247, 201, 222, 0.03) 20%, rgba(255, 255, 255, 0.04) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.callout-box p {
    margin: 0;
    color: #d7dfeb;
    line-height: 1.7;
}

.callout-box strong {
    color: var(--white);
}

.creator-v3-subhead h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.creator-v3-section-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.request-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.request-card:hover,
.request-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.request-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.request-card-top h3 {
    margin: 0 0 6px;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.request-card-top p,
.request-private-meta,
.request-card-footer span {
    margin: 0;
    color: var(--muted);
}

.request-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.request-status-chip.status-pending {
    border-color: rgba(255, 214, 153, 0.2);
    background: rgba(255, 214, 153, 0.1);
    color: #ffe0ad;
}

.request-status-chip.status-accepted,
.request-status-chip.status-in_progress {
    border-color: rgba(157, 222, 191, 0.22);
    background: rgba(157, 222, 191, 0.1);
    color: #d7f7e5;
}

.request-status-chip.status-delivered {
    border-color: rgba(153, 210, 255, 0.22);
    background: rgba(153, 210, 255, 0.1);
    color: #d8efff;
}

.request-status-chip.status-completed {
    border-color: rgba(187, 255, 196, 0.2);
    background: rgba(187, 255, 196, 0.1);
    color: #ddffe2;
}

.request-status-chip.status-disputed {
    border-color: rgba(255, 179, 141, 0.22);
    background: rgba(255, 179, 141, 0.12);
    color: #ffd8c2;
}

.request-status-chip.status-declined,
.request-status-chip.status-cancelled {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
}

.request-card-copy {
    margin: 0;
    color: var(--text);
    line-height: 1.75;
}

.request-card-state-note {
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    color: #f4d8e6;
}

.request-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.request-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.empty-block {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    line-height: 1.7;
}

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

.creator-collection-card {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.creator-collection-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
}

.creator-collection-thumb {
    display: block;
    overflow: hidden;
}

.creator-collection-thumb img {
    width: 100%;
    height: 236px;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.creator-collection-card:hover .creator-collection-thumb img {
    transform: scale(1.03);
}

.creator-collection-body {
    display: grid;
    gap: 16px;
    padding: 20px;
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
}

.creator-collection-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.creator-collection-meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.creator-v3-collection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.creator-v4-section-note {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.creator-v3-meta-row {
    margin-top: 20px;
}

.creator-v3-stat-grid {
    margin-bottom: 18px;
}

.creator-v3-callout {
    margin-bottom: 16px;
}

.creator-v4-action-card#creatorRequests .request-form-grid {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.creator-v4-action-card#creatorRequests .request-form-grid .form-group label {
    color: #e6ebf4;
}

.creator-v4-action-card#creatorRequests .request-form-grid input,
.creator-v4-action-card#creatorRequests .request-form-grid textarea,
.creator-v4-action-card#creatorRequests .request-form-grid select {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.94), rgba(12, 15, 22, 0.84));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.creator-v4-action-card#creatorRequests .request-form-grid input::placeholder,
.creator-v4-action-card#creatorRequests .request-form-grid textarea::placeholder {
    color: #8d98ab;
}

.creator-v4-action-card#creatorRequests .request-form-grid input:focus,
.creator-v4-action-card#creatorRequests .request-form-grid textarea:focus,
.creator-v4-action-card#creatorRequests .request-form-grid select:focus {
    border-color: rgba(255, 123, 192, 0.88);
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.98), rgba(15, 18, 27, 0.9));
    box-shadow:
        0 0 0 3px rgba(255, 79, 163, 0.14),
        0 0 26px rgba(255, 79, 163, 0.12),
        0 0 42px rgba(123, 97, 255, 0.08);
}

.creator-v3-link {
    font-weight: 700;
}

@media (max-width: 1100px) {
    .home-v3-flow-grid,
    .content-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-v3-hero-card,
    .content-v3-price-row,
    .creator-v3-hero-inner {
        grid-template-columns: 1fr;
    }

    .market-v3-filter-head {
        align-items: start;
        flex-direction: column;
    }

    .creator-v3-meta-grid,
    .creator-collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-card-grid {
        grid-template-columns: 1fr;
    }

    .creator-v4-image-card {
        grid-template-rows: auto auto auto;
    }
}

@media (max-width: 768px) {
    .home-v3-flow-grid,
    .market-v3-grid,
    .creator-market-grid,
    .content-stat-row {
        grid-template-columns: 1fr;
    }

    .home-v3-hero-card,
    .market-v3-hero-card,
    .creator-v3-top {
        grid-template-columns: 1fr;
    }

    .market-v3-hero-card,
    .market-v3-filter-panel {
        padding: 24px;
    }

    .home-v3-cta-title,
    .market-v3-filter-copy h2,
    .market-v3-results-head h2 {
        font-size: 28px;
    }

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

    .home-v3-cta-actions .btn {
        flex: 1 1 180px;
        justify-content: center;
    }

    .home-v3-visual {
        min-height: 0;
        justify-content: center;
    }

    .home-v3-art {
        width: min(100%, 360px);
    }

    .content-v3-preview-image {
        min-height: 420px;
    }

    .content-v3-related-stack {
        gap: 22px;
    }

    .creator-v3-hero-inner,
    .creator-v3-main-card,
    .creator-v3-side-card,
    .creator-v3-request-card,
    .creator-v3-collections-card {
        padding: 20px;
    }

    .creator-v3-copy .creator-title {
        font-size: 34px;
    }

    .creator-v4-details-card,
    .creator-v4-action-card {
        padding: 20px;
    }

    .creator-v4-image-body {
        padding: 16px 20px 20px;
    }

    .creator-v4-avatar {
        width: 116px;
        height: 116px;
        border-radius: 28px;
    }

    .creator-v4-section-head .creator-title {
        font-size: 38px;
    }

    .creator-v3-meta-grid,
    .creator-v3-stat-grid,
    .request-form-grid,
    .creator-collections-grid,
    .creator-v4-image-stat-grid,
    .creator-v4-meta-grid {
        grid-template-columns: 1fr;
    }

    .creator-v3-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .creator-v4-primary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .creator-v4-primary-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .creator-v4-utility-row {
        justify-content: flex-start;
    }

    .creator-v4-safety-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .creator-v4-jump-links {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .market-v3-grid,
    .creator-market-grid {
        grid-template-columns: 1fr;
    }
}

.wallet-v3-panel-copy {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.wallet-v3-callout {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 18px;
}

.wallet-v3-callout strong {
    font-size: 15px;
}

.wallet-v3-callout span {
    color: var(--muted);
    line-height: 1.7;
}

.wallet-v3-cashout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.wallet-v3-cashout-card,
.wallet-v3-request-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.wallet-v3-cashout-card span,
.wallet-v3-request-card em {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-style: normal;
}

.wallet-v3-cashout-card strong,
.wallet-v3-request-card strong {
    font-size: 24px;
    letter-spacing: -0.03em;
}

.wallet-v3-cashout-card p,
.wallet-v3-request-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.wallet-v3-cashout-form {
    display: grid;
    gap: 18px;
}

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

.wallet-v3-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.wallet-v3-form-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 720px;
}

.wallet-v3-request-list {
    display: grid;
    gap: 14px;
}

.wallet-v3-request-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.wallet-v3-request-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wallet-v3-request-chip.is-paid {
    border-color: rgba(91, 231, 176, 0.28);
    background: rgba(91, 231, 176, 0.14);
}

.wallet-v3-request-chip.is-in_transit,
.wallet-v3-request-chip.is-pending {
    border-color: rgba(255, 214, 102, 0.28);
    background: rgba(255, 214, 102, 0.12);
}

.wallet-v3-request-chip.is-failed,
.wallet-v3-request-chip.is-canceled {
    border-color: rgba(255, 120, 120, 0.3);
    background: rgba(255, 120, 120, 0.12);
}

@media (max-width: 768px) {
    .wallet-v3-cashout-grid,
    .wallet-v3-form-grid {
        grid-template-columns: 1fr;
    }

    .wallet-v3-form-footer {
        align-items: stretch;
    }

    .wallet-v3-form-footer .btn {
        width: 100%;
    }

.wallet-v3-request-top {
    align-items: flex-start;
    flex-direction: column;
}
}

@media (max-width: 900px) {
    .creator-tip-form-grid {
        grid-template-columns: 1fr;
    }

    .creator-tip-card-head,
    .creator-tip-footer {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .creator-tip-card {
        padding: 20px;
    }

    .creator-tip-balance {
        width: 100%;
        justify-content: flex-start;
    }

    .creator-tip-presets {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.agegate-v1-body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 74, 159, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 180, 92, 0.16), transparent 28%),
        linear-gradient(180deg, #090a0f 0%, #131722 100%);
}

.agegate-v1-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.agegate-v1-shell {
    width: 100%;
    max-width: 760px;
}

.agegate-v1-card {
    padding: 40px 38px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(11, 14, 22, 0.96), rgba(16, 19, 28, 0.9));
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.agegate-v1-copy {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.agegate-v1-kicker {
    margin: 0;
    color: #f7c9de;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.agegate-v1-copy h1 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.agegate-v1-lead {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.agegate-v1-note {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.agegate-v1-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    justify-content: center;
}

@media (max-width: 640px) {
    .agegate-v1-card {
        padding: 28px 20px;
        border-radius: 26px;
    }

    .agegate-v1-actions {
        flex-direction: column;
    }

    .agegate-v1-actions .btn {
        width: 100%;
    }
}


/* 10-docs.css */
/* ==========================================================================
   11. Documentation pages
   ========================================================================== */

.docs-v3-page {
    padding-bottom: 90px;
}

.docs-v3-hero {
    padding: 34px 0 18px;
}

.docs-v3-hero-compact .hero-card {
    min-height: auto;
}

.docs-v3-hero-card {
    align-items: stretch;
}

.docs-v3-hero-card-single {
    grid-template-columns: 1fr;
}

.docs-v3-hero-card::before {
    background:
        radial-gradient(circle at top left, rgba(255, 79, 163, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(123, 97, 255, 0.2), transparent 34%);
}

.docs-v3-hero-card-warning::before {
    background:
        radial-gradient(circle at top left, rgba(255, 104, 104, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 79, 163, 0.16), transparent 34%);
}

.docs-v3-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.docs-v3-hero-copy h1 {
    max-width: 780px;
}

.docs-v3-hero-stack,
.docs-v3-stat-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.docs-v3-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
}

.docs-v3-hero-note,
.docs-v3-stat-card,
.docs-v3-highlight-card,
.docs-v3-card,
.docs-v3-panel,
.docs-v3-link-card,
.docs-v3-step-card {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    min-width: 0;
}

.docs-v3-hero-note,
.docs-v3-highlight-card,
.docs-v3-card,
.docs-v3-step-card {
    padding: 18px;
}

.docs-v3-hero-note span,
.docs-v3-stat-card span,
.docs-v3-highlight-card span,
.docs-v3-kicker,
.docs-v3-step-card span {
    color: #f3c7dc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.docs-v3-hero-note strong,
.docs-v3-highlight-card strong,
.docs-v3-card h3,
.docs-v3-stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.docs-v3-hero-note p,
.docs-v3-highlight-card p,
.docs-v3-card p,
.docs-v3-stat-card {
    color: var(--muted);
}

.docs-v3-hero-note p,
.docs-v3-highlight-card p,
.docs-v3-card p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.docs-v3-stat-card {
    display: grid;
    gap: 6px;
    padding: 16px 14px;
}

.docs-v3-stat-card strong {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
}

.docs-v3-section {
    padding-top: 22px;
}

.docs-v3-section-brand {
    padding-top: 18px;
}

.docs-v3-section-head h2 {
    font-size: 34px;
}

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

.docs-v3-text-link {
    display: inline-flex;
    margin-top: 16px;
    color: #f3c7dc;
    font-weight: 700;
}

.docs-v3-card {
    display: grid;
    gap: 12px;
    align-content: start;
}

.docs-v3-card h3 {
    margin: 0;
}

.docs-v3-card p {
    margin: 0;
}

.docs-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.docs-v3-main,
.docs-v3-side {
    display: grid;
    gap: 24px;
}

.docs-v3-panel {
    padding: 26px;
}

.docs-v3-brand-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
}

.docs-v3-brand-note-label {
    margin: 0 0 6px;
    color: #f3c7dc;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.docs-v3-brand-note > p:last-child {
    margin: 0;
    color: rgba(226, 229, 236, 0.72);
    font-size: 12px;
    line-height: 1.65;
}

.docs-v3-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.docs-v3-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.docs-v3-kicker {
    display: block;
    margin: 0 0 10px;
}

.docs-v3-list,
.docs-v3-link-list,
.docs-v3-step-list {
    display: grid;
    gap: 14px;
}

.docs-v3-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.docs-v3-link-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.docs-v3-link-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.docs-v3-link-card strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.docs-v3-link-card span {
    color: var(--muted);
    line-height: 1.65;
}

.docs-v3-step-card {
    display: grid;
    gap: 10px;
}

.docs-v3-step-card strong {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.02em;
}

.docs-v3-step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.docs-v3-info-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.1), transparent 30%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.1), transparent 30%),
        rgba(255, 255, 255, 0.055);
}

.docs-v3-warning-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 104, 104, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.05);
}

@media (max-width: 1100px) {
    .docs-v3-highlight-grid,
    .docs-v3-card-grid,
    .docs-v3-shell {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .docs-v3-page {
        padding-bottom: 80px;
    }

    .docs-v3-hero {
        padding: 24px 0 10px;
    }

    .docs-v3-hero-card,
    .docs-v3-panel {
        padding: 22px;
    }

    .docs-v3-brand-note {
        padding: 13px 15px;
    }

    .docs-v3-brand-note > p:last-child {
        font-size: 11px;
        line-height: 1.6;
    }

    .docs-v3-hero-copy h1 {
        font-size: 38px;
    }

    .docs-v3-highlight-grid,
    .docs-v3-card-grid,
    .docs-v3-stat-grid {
        grid-template-columns: 1fr;
    }

    .docs-v3-panel-head {
        flex-direction: column;
        align-items: start;
    }
}

.support-ticket-page {
    padding: 32px 16px 90px;
}

.support-ticket-hero {
    margin-bottom: 24px;
}

.support-ticket-shell,
.support-ticket-grid {
    display: grid;
    gap: 24px;
}

.support-ticket-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.support-ticket-grid {
    grid-template-columns: 360px minmax(0, 1fr);
}

.support-ticket-panel,
.support-ticket-highlight,
.support-ticket-list-card,
.support-ticket-message {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.44);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.support-ticket-panel,
.support-ticket-highlight {
    padding: 26px;
}

.support-ticket-copy,
.support-ticket-sidebar,
.support-ticket-main,
.support-ticket-form,
.support-ticket-thread-panel,
.support-ticket-thread,
.support-ticket-list {
    display: grid;
    gap: 18px;
}

.support-ticket-form,
.support-ticket-reply-form {
    align-content: start;
}

.support-ticket-kicker,
.support-ticket-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #89d8ff;
}

.support-ticket-copy h1,
.support-ticket-panel-head h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.support-ticket-copy h1 {
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
}

.support-ticket-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.support-ticket-panel-head h2 {
    font-size: 30px;
}

.support-ticket-copy p,
.support-ticket-highlight em,
.support-ticket-thread-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-style: normal;
}

.support-ticket-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.support-ticket-badge,
.support-ticket-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f4d9e5;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.support-ticket-status-chip--reply {
    border-color: rgba(137, 216, 255, 0.28);
    background: rgba(137, 216, 255, 0.12);
    color: #d7f1ff;
}

.support-ticket-list-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.support-ticket-list-card:hover,
.support-ticket-list-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(137, 216, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.support-ticket-list-top,
.support-ticket-message-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.support-ticket-list-card strong {
    font-size: 18px;
    letter-spacing: -0.03em;
}

.support-ticket-list-card span,
.support-ticket-message-head span {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-ticket-list-card p,
.support-ticket-message p {
    margin: 0;
    color: #f4d9e5;
    line-height: 1.7;
}

.support-ticket-thread {
    gap: 14px;
}

.support-ticket-message {
    padding: 18px;
}

.support-ticket-form textarea,
.support-ticket-reply-form textarea {
    min-height: 156px;
    resize: vertical;
}

.support-ticket-form-actions,
.support-ticket-reply-actions {
    display: flex;
    width: 100%;
    padding-top: 12px;
}

.support-ticket-form-actions .btn,
.support-ticket-reply-actions .btn {
    width: 100%;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(255, 79, 163, 0.16);
}

.support-ticket-message--admin {
    border-color: rgba(137, 216, 255, 0.18);
    background: rgba(137, 216, 255, 0.08);
}

.support-ticket-reply-form {
    display: grid;
    gap: 14px;
}

@media (max-width: 1180px) {
    .support-ticket-shell,
    .support-ticket-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-ticket-page {
        padding: 24px 12px 80px;
    }

    .support-ticket-panel,
    .support-ticket-highlight {
        padding: 22px;
    }

    .support-ticket-panel-head {
        flex-direction: column;
        align-items: start;
    }
}


/* 11-messaging.css */
/* ==========================================================================
   11. Presence and direct messages
   ========================================================================== */

.user-presence-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.user-presence-chip--compact {
    padding: 6px 10px;
    gap: 8px;
    font-size: 11px;
}

.user-presence-chip[data-state="online"] {
    border-color: rgba(85, 211, 154, 0.28);
    background: rgba(85, 211, 154, 0.12);
    color: #d9ffef;
}

.user-presence-chip[data-state="offline"] {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f2d7e4;
}

.user-presence-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.user-presence-chip[data-state="online"] .user-presence-dot {
    background: #55d39a;
    box-shadow: 0 0 0 4px rgba(85, 211, 154, 0.18);
}

.btn-danger-soft {
    background: rgba(255, 102, 146, 0.12);
    border: 1px solid rgba(255, 102, 146, 0.24);
    color: #ffd7e5;
    box-shadow: none;
}

.btn-danger-soft:hover {
    background: rgba(255, 102, 146, 0.18);
    border-color: rgba(255, 102, 146, 0.34);
}

.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.creator-market-presence {
    margin-top: 4px;
}

.creator-v4-meta-strip,
.profile-v3-presence-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.creator-v4-meta-note,
.profile-v3-presence-note,
.messages-v1-conversation-detail {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.content-v3-creator-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.creator-v4-safety-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 18px;
    margin-top: 6px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.creator-v4-safety-note {
    color: var(--muted);
    line-height: 1.7;
    max-width: 60ch;
}

.creator-v4-safety-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.creator-v4-safety-form,
.messages-v1-inline-form {
    display: inline-flex;
    margin: 0;
}

.profile-v3-safety-panel {
    display: grid;
    gap: 18px;
}

.profile-v3-detail-grid--safety {
    margin-bottom: 0;
}

.messages-v1-page {
    padding: 32px 16px 90px;
}

.messages-v1-hero {
    margin-bottom: 24px;
}

.messages-v1-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(100, 198, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.15), transparent 30%),
        rgba(10, 12, 18, 0.78);
    box-shadow: var(--shadow);
}

.messages-v1-kicker,
.messages-v1-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #89d8ff;
}

.messages-v1-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.messages-v1-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.messages-v1-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.messages-v1-highlight-card,
.messages-v1-highlight-mini,
.messages-v1-panel,
.messages-v1-thread-card,
.messages-v1-message-bubble {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
}

.messages-v1-highlight-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 24px;
}

.messages-v1-highlight-card span,
.messages-v1-highlight-mini span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.messages-v1-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.messages-v1-highlight-card em {
    color: #f3c7dc;
    font-size: 14px;
    font-style: normal;
}

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

.messages-v1-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.messages-v1-highlight-mini strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.messages-v1-main-grid {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.messages-v1-panel {
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.messages-v1-thread-panel {
    display: grid;
    gap: 18px;
}

.messages-v1-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.messages-v1-panel-head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.messages-v1-thread-list {
    display: grid;
    gap: 14px;
}

.messages-v1-thread-card {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.messages-v1-thread-card-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 18px 60px 18px 18px;
    color: inherit;
    text-decoration: none;
}

.messages-v1-thread-card:hover,
.messages-v1-thread-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(137, 216, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.messages-v1-thread-delete-form,
.notifications-v3-inline-form {
    display: inline-flex;
    margin: 0;
}

.messages-v1-thread-delete-form {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.messages-v1-thread-delete-btn,
.notifications-v3-delete-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 102, 146, 0.12);
    color: #ffd7e5;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.messages-v1-thread-delete-btn:hover,
.notifications-v3-delete-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 102, 146, 0.34);
    background: rgba(255, 102, 146, 0.2);
}

.messages-v1-thread-avatar-shell {
    position: relative;
    width: 56px;
    height: 56px;
}

.messages-v1-thread-avatar,
.messages-v1-conversation-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.messages-v1-thread-avatar-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid rgba(10, 12, 18, 0.96);
    background: rgba(255, 255, 255, 0.32);
}

.messages-v1-thread-avatar-dot.is-online {
    background: #55d39a;
}

.messages-v1-thread-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.messages-v1-thread-topline,
.messages-v1-thread-meta,
.messages-v1-conversation-meta,
.messages-v1-compose-actions,
.messages-v1-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.messages-v1-thread-topline {
    justify-content: space-between;
}

.messages-v1-thread-topline strong,
.messages-v1-conversation-copy h2 {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.messages-v1-thread-time,
.messages-v1-thread-preview {
    color: var(--muted);
    font-size: 13px;
}

.messages-v1-thread-meta span:first-child {
    color: #d1d7e4;
    font-size: 13px;
}

.messages-v1-thread-state {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f5d7e5;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.messages-v1-thread-state.is-muted {
    border-color: rgba(100, 198, 255, 0.24);
    background: rgba(100, 198, 255, 0.1);
    color: #d5efff;
}

.messages-v1-thread-state.is-blocked,
.messages-v1-thread-state.is-restricted {
    border-color: rgba(255, 102, 146, 0.24);
    background: rgba(255, 102, 146, 0.1);
    color: #ffd8e5;
}

.messages-v1-thread-preview {
    margin: 0;
    line-height: 1.65;
    word-break: break-word;
}

.messages-v1-thread-unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.95), rgba(100, 198, 255, 0.9));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.messages-v1-conversation-panel {
    display: grid;
    gap: 22px;
}

.messages-v1-panel-head--conversation {
    align-items: start;
}

.messages-v1-conversation-head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.messages-v1-conversation-avatar {
    width: 72px;
    height: 72px;
}

.messages-v1-conversation-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.messages-v1-conversation-copy h2 {
    margin: 0;
}

.messages-v1-status-callout {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.messages-v1-status-callout strong {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.messages-v1-status-callout p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.messages-v1-status-callout.is-muted {
    border-color: rgba(100, 198, 255, 0.24);
    background: rgba(100, 198, 255, 0.08);
}

.messages-v1-status-callout.is-blocked,
.messages-v1-status-callout.is-restricted {
    border-color: rgba(255, 102, 146, 0.24);
    background: rgba(255, 102, 146, 0.08);
}

.messages-v1-message-list {
    display: grid;
    gap: 14px;
    max-height: 720px;
    overflow-y: auto;
    padding-right: 6px;
}

.messages-v1-message {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.messages-v1-message.is-own {
    justify-items: end;
}

.messages-v1-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    color: var(--muted);
    font-size: 12px;
}

.messages-v1-message-bubble {
    max-width: min(720px, 100%);
    padding: 16px 18px;
    color: #edf3ff;
    line-height: 1.8;
    word-break: break-word;
}

.messages-v1-message.is-own .messages-v1-message-bubble {
    border-color: rgba(137, 216, 255, 0.22);
    background: linear-gradient(135deg, rgba(100, 198, 255, 0.16), rgba(255, 79, 163, 0.12));
}

.messages-v1-compose {
    display: grid;
    gap: 14px;
}

.messages-v1-compose label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #89d8ff;
}

.messages-v1-compose textarea {
    width: 100%;
    min-height: 140px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    resize: vertical;
}

.messages-v1-compose textarea:focus {
    outline: none;
    border-color: rgba(137, 216, 255, 0.32);
    box-shadow: 0 0 0 4px rgba(137, 216, 255, 0.12);
}

.messages-v1-compose textarea:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.messages-v1-compose-actions {
    justify-content: flex-end;
}

.messages-v1-compose-actions span,
.messages-v1-empty-copy,
.messages-v1-empty-state p {
    color: var(--muted);
    line-height: 1.7;
}

.messages-v1-empty-state,
.messages-v1-empty-panel {
    min-height: 260px;
    align-content: center;
}

.messages-v1-empty-state--conversation {
    min-height: 420px;
}

.request-thread-page {
    padding-bottom: 84px;
}

.request-thread-hero-copy {
    margin: 14px 0 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.7;
}

.request-thread-main-grid {
    align-items: start;
}

.request-thread-summary-panel {
    display: grid;
    gap: 22px;
}

.request-thread-summary-stack {
    display: grid;
    gap: 18px;
}

.request-thread-person-card,
.request-thread-detail-card,
.request-thread-actions-card,
.request-thread-metric-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.request-thread-person-card,
.request-thread-detail-card,
.request-thread-actions-card {
    display: grid;
    gap: 16px;
    padding: 20px;
}

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

.request-thread-metric-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.request-thread-metric-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.request-thread-metric-card strong {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.request-thread-detail-card h3,
.request-thread-actions-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.request-thread-detail-card p,
.request-thread-inline-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.request-thread-action-stack,
.request-thread-action-group,
.request-thread-counter-form {
    display: grid;
    gap: 14px;
}

.request-thread-counter-form .form-group {
    margin-bottom: 0;
}

.request-thread-counter-form label {
    display: block;
    margin-bottom: 8px;
    color: #f4bfd8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.request-thread-counter-form input,
.request-thread-counter-form textarea {
    width: 100%;
}

.request-thread-counter-form textarea {
    min-height: 120px;
}

.request-thread-conversation-actions {
    justify-content: flex-end;
}

.request-thread-message-empty {
    min-height: 240px;
    align-content: center;
}

.request-thread-topup-box {
    display: grid;
    gap: 12px;
}

@media (max-width: 1080px) {
    .messages-v1-shell,
    .messages-v1-main-grid {
        grid-template-columns: 1fr;
    }

    .request-thread-metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .messages-v1-page {
        padding: 24px 12px 80px;
    }

    .messages-v1-shell,
    .messages-v1-panel {
        padding: 22px;
    }

    .messages-v1-highlight-grid {
        grid-template-columns: 1fr;
    }

    .messages-v1-panel-head,
    .messages-v1-panel-head--conversation {
        align-items: start;
        flex-direction: column;
    }

    .messages-v1-thread-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .messages-v1-thread-unread {
        grid-column: 2;
        justify-self: start;
    }

    .messages-v1-conversation-head,
    .creator-v4-meta-strip,
    .profile-v3-presence-row,
    .messages-v1-compose-actions,
    .creator-v4-safety-actions {
        align-items: start;
        flex-direction: column;
    }

    .request-thread-person-card,
    .request-thread-detail-card,
    .request-thread-actions-card {
        padding: 18px;
    }

    .request-thread-conversation-actions {
        justify-content: flex-start;
    }
}

@media (min-width: 1100px) {
    :root {
        --max-width: 1120px;
        --shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
    }

    .btn {
        min-height: 44px;
        padding: 0 22px;
    }

    .btn-small {
        min-height: 38px;
        padding: 0 16px;
    }

    .hero {
        padding: 68px 0 34px;
    }

    .hero-card {
        gap: 22px;
        padding: 42px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 17px;
        max-width: 58ch;
    }

    .dashboard-page,
    .profile-v3-page,
    .wallet-v3-page,
    .transactions-v3-page,
    .buyxs-v3-page,
    .owned-collection-page,
    .image-focus-page,
    .library-v3-page,
    .wall-v3-page,
    .upload-v3-page,
    .mycontent-v3-page,
    .admin-v3-page,
    .notifications-v3-page,
    .messages-v1-page,
    .docs-v3-page {
        padding-top: 28px;
        padding-bottom: 84px;
    }

    .profile-v3-cover {
        height: 280px;
    }

    .profile-v3-hero-card {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
        padding: 0 28px 28px;
        margin-top: -72px;
    }

    .profile-v3-identity {
        grid-template-columns: 144px minmax(0, 1fr);
        gap: 20px;
    }

    .profile-v3-avatar-shell {
        width: 144px;
        height: 144px;
        border-radius: 30px;
    }

    .profile-v3-copy h1 {
        font-size: 46px;
    }

    .profile-v3-panel,
    .profile-v3-highlight-card,
    .profile-v3-highlight-mini {
        border-radius: 24px;
    }

    .profile-v3-panel,
    .notifications-v3-list-panel,
    .notifications-v3-side-card,
    .messages-v1-panel,
    .messages-v1-highlight-card {
        padding: 22px;
    }

    .profile-v3-panel {
        padding: 24px;
    }

    .notifications-v3-shell,
    .messages-v1-shell {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
        padding: 26px;
    }

    .notifications-v3-copy h1,
    .messages-v1-copy h1 {
        font-size: clamp(36px, 4.4vw, 50px);
    }

    .notifications-v3-main-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .messages-v1-main-grid {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 22px;
    }

    .messages-v1-thread-card {
        padding: 16px;
        gap: 12px;
    }

    .messages-v1-thread-avatar-shell {
        width: 52px;
        height: 52px;
    }

    .messages-v1-conversation-avatar {
        width: 64px;
        height: 64px;
    }

    .messages-v1-message-bubble {
        max-width: min(680px, 100%);
        padding: 15px 17px;
    }

    .creator-v4-section-head .creator-title {
        font-size: 44px;
    }

    .creator-v4-details-card,
    .creator-v4-image-card,
    .creator-v3-main-card,
    .creator-v3-side-card,
    .creator-v3-request-card,
    .creator-v3-collections-card {
        border-radius: 24px;
    }

    .creator-v3-main-card,
    .creator-v3-side-card,
    .creator-v3-request-card,
    .creator-v3-collections-card {
        padding: 22px;
    }

    .content-v3-preview-image {
        min-height: 700px;
    }

    .marketplace-hero-card,
    .marketplace-filter-panel,
    .market-v3-card,
    .creator-market-card {
        border-radius: 24px;
    }
}


/* 12-refinements.css */
/* ==========================================================================
   12. Shared design rebalance
   ========================================================================== */

:root {
    --max-width: 1260px;
}

.container {
    padding: 0 18px;
}

.hero {
    padding: 60px 0 24px;
}

.hero-card {
    gap: 20px;
    padding: 40px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    max-width: 56ch;
}

.hero-art {
    min-height: 360px;
}

.section {
    padding: 24px 0 10px;
}

.section-head {
    gap: 14px;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 28px;
    letter-spacing: -0.05em;
}

.dashboard-page,
.profile-v3-page,
.wallet-v3-page,
.transactions-v3-page,
.buyxs-v3-page,
.owned-collection-page,
.image-focus-page,
.library-v3-page,
.wall-v3-page,
.upload-v3-page,
.mycontent-v3-page,
.admin-v3-page,
.notifications-v3-page,
.messages-v1-page,
.docs-v3-page,
.creator-v3-page {
    padding: 28px 0 72px;
}

.dashboard-hero-card,
.wallet-v3-shell,
.transactions-v3-shell,
.buyxs-v3-shell,
.library-v3-shell,
.notifications-v3-shell,
.messages-v1-shell,
.upload-v3-shell,
.mycontent-v3-shell,
.wall-v3-shell {
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
}

.profile-v3-hero-card {
    gap: 20px;
    padding: 0 24px 24px;
    margin-top: -68px;
}

.profile-v3-identity {
    gap: 20px;
    padding: 22px;
}

.dashboard-main-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
}

.notifications-v3-main-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
}

.messages-v1-main-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
}

.profile-v3-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
    gap: 20px;
}

.creator-v4-profile-grid,
.creator-v4-action-grid {
    gap: 24px;
}

.creator-v4-profile-grid {
    grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
}

.creator-v4-action-grid {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-hero-copy h1,
.wallet-v3-hero-copy h1,
.transactions-v3-hero-copy h1,
.buyxs-v3-hero-copy h1,
.library-v3-copy h1,
.wall-v3-copy h1,
.notifications-v3-copy h1,
.messages-v1-copy h1,
.upload-v3-copy h1,
.mycontent-v3-copy h1 {
    font-size: clamp(34px, 4.6vw, 44px);
}

.profile-v3-copy h1,
.creator-v4-section-head .creator-title {
    font-size: clamp(36px, 4.8vw, 46px);
}

.dashboard-highlight-card strong,
.buyxs-v3-summary-card strong,
.wallet-v3-balance-value,
.transactions-v3-balance-card strong,
.notifications-v3-highlight-card strong,
.messages-v1-highlight-card strong,
.library-v3-highlight-card strong {
    font-size: clamp(28px, 3.4vw, 36px);
}

.dashboard-highlight-mini strong,
.profile-v3-highlight-mini strong,
.wallet-v3-balance-mini strong,
.notifications-v3-highlight-mini strong,
.messages-v1-highlight-mini strong,
.library-v3-highlight-mini strong {
    font-size: clamp(18px, 2.2vw, 22px);
}

.profile-v3-panel-copy,
.creator-v4-section-note,
.creator-v4-meta-note,
.creator-v4-safety-note,
.profile-v3-presence-note,
.wallet-v3-panel-note,
.wallet-v3-link-card span,
.mycontent-v3-card-note,
.wall-v3-subtext,
.docs-v3-section-head p,
.docs-v3-hero-note p,
.docs-v3-highlight-card p,
.docs-v3-card p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 56ch;
}

.wallet-v3-link-card span,
.mycontent-v3-card-note {
    line-height: 1.5;
}

.wallet-v3-link-card,
.docs-v3-card,
.docs-v3-highlight-card,
.docs-v3-hero-note,
.creator-collection-body {
    gap: 12px;
}

.messages-v1-thread-card,
.notifications-v3-card,
.library-v3-card-body {
    padding: 18px;
}

.content-v3-preview-image {
    min-height: 620px;
}

@media (min-width: 1100px) {
    :root {
        --max-width: 1280px;
        --shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
    }

    .hero {
        padding: 52px 0 22px;
    }

    .hero-card {
        gap: 18px;
        padding: 36px;
    }

    .hero h1 {
        font-size: clamp(40px, 4.6vw, 50px);
    }

    .dashboard-page,
    .profile-v3-page,
    .wallet-v3-page,
    .transactions-v3-page,
    .buyxs-v3-page,
    .owned-collection-page,
    .image-focus-page,
    .library-v3-page,
    .wall-v3-page,
    .upload-v3-page,
    .mycontent-v3-page,
    .admin-v3-page,
    .notifications-v3-page,
    .messages-v1-page,
    .docs-v3-page,
    .creator-v3-page {
        padding-top: 24px;
        padding-bottom: 68px;
    }
}

/* ==========================================================================
   Wallet V3 - Design Review Overrides
   ========================================================================== */

/* 1. Make the main balance card feel like a premium physical credit card */
.wallet-v3-balance-card {
    background: linear-gradient(135deg, rgba(14, 17, 25, 0.95), rgba(9, 11, 16, 0.85)) !important;
    border: 1px solid rgba(255, 79, 163, 0.25) !important;
    box-shadow: 0 16px 36px rgba(255, 79, 163, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* 2. Upgrade the Cash-Out input to look like a proper financial tool */
#cashout_amount_xs {
    font-size: 32px !important;
    font-weight: 800 !important;
    padding: 16px 20px !important;
    color: #f7c9de !important;
    letter-spacing: -0.02em !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 16px !important;
}

/* 3. Make transaction rows tactile (slide right on hover) */
.wallet-v3-activity-item {
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

.wallet-v3-activity-item:hover {
    transform: translateX(6px) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* 4. Enhance the Status Callout boxes to grab attention */
.wallet-v3-callout {
    border-left: 3px solid #7b61ff !important;
    background: linear-gradient(90deg, rgba(123, 97, 255, 0.1), transparent) !important;
}

.wallet-v3-callout strong {
    color: #e6ebf4 !important;
    font-size: 16px !important;
}

/* 5. Make the "Payout History" chips slightly bolder */
.wallet-v3-request-chip {
    border-width: 2px !important;
}

/* ==========================================================================
   The Wall V3 - Design Review Overrides
   ========================================================================== */

/* 1. Add a pulsing glow to timers that are about to expire to create FOMO */
@keyframes pulseTimer {
    0% { box-shadow: 0 0 0 0 rgba(255, 123, 192, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(255, 123, 192, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 123, 192, 0); }
}

.wall-v3-card-timer.is-ending {
    animation: pulseTimer 2s infinite !important;
    border-color: rgba(255, 123, 192, 0.7) !important;
    background: rgba(255, 123, 192, 0.2) !important;
    color: #fff !important;
}

/* 2. Enhance the main Wall cards with a stronger 3D hover lift */
.wall-v3-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.wall-v3-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* 3. Make the image zoom smoother and slightly deeper on hover */
.wall-v3-card-media img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.wall-v3-card:hover .wall-v3-card-media img {
    transform: scale(1.06) !important;
}

/* 4. Upgrade the modal lightbox to match our premium gallery feel */
.wall-v3-modal-media-shell {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    background: linear-gradient(180deg, #0b0d14 0%, #040508 100%) !important;
}

/* 5. Make the comment input highly inviting when focused */
.wall-v3-comment-input {
    background: rgba(0, 0, 0, 0.25) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.wall-v3-comment-input:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: #ff4fa3 !important;
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.15) !important;
}

/* ==========================================================================
   Wall V4 - Complete Redesign (Masonry / Gallery Look)
   ========================================================================== */

.wall-v4-page {
    padding: 40px 20px 100px;
}

/* --- Cinematic Hero --- */
.wall-v4-hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 79, 163, 0.08), rgba(10, 12, 18, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wall-v4-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wall-v4-kicker {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 79, 163, 0.15);
    color: #ff9bd2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 79, 163, 0.3);
}

.wall-v4-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
    background: linear-gradient(to right, #ffffff, #f7c9de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wall-v4-hero p {
    font-size: 18px;
    color: #b8bfd0;
    line-height: 1.6;
    margin: 0 0 40px;
}

.wall-v4-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.wall-v4-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.wall-v4-stat-pill strong {
    font-size: 24px;
    color: #fff;
}

.wall-v4-stat-pill span {
    font-size: 13px;
    color: #a3adc2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Feed Header & Layout --- */
.wall-v4-feed-section {
    display: grid;
    gap: 0;
}

.wall-v4-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wall-v4-feed-header h2 {
    margin: 0;
    font-size: 32px;
}

/* --- THE NEW GALLERY GRID --- */
.wall-v4-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

/* --- RESHAPING THE OLD HORIZONTAL CARD TO VERTICAL --- */
.wall-v4-page .wall-v3-card {
    display: flex !important;
    flex-direction: column !important;
    align-self: start;
    background: #0f1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.wall-v4-page .wall-v3-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.wall-v4-page .wall-v3-card-media {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    background: #000 !important;
}

.wall-v4-page .wall-v3-card-media-top {
    inset: 16px 16px auto auto !important;
}

.wall-v4-page .wall-v3-card-body {
    padding: 24px !important;
    background: transparent !important;
    gap: 16px !important;
}

.wall-v4-page .wall-v3-card-person-row {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    grid-template-columns: auto 1fr !important;
}

.wall-v4-page .wall-v3-comments {
    display: none !important;
}

/* --- Empty & Loader States --- */
.wall-v4-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.wall-v4-empty-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
}

.wall-v4-empty h3 {
    margin: 0 0 12px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.wall-v4-empty p {
    margin: 0;
    color: #a3adc2;
    line-height: 1.7;
}

.wall-v4-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
    color: #a3adc2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wall-v4-loader .spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: #ff9bd2;
    animation: wallLoaderSpin 0.7s linear infinite;
}

@keyframes wallLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .wall-v4-page {
        padding: 24px 12px 80px;
    }

    .wall-v4-hero {
        padding: 42px 18px;
        margin-bottom: 28px;
    }

    .wall-v4-hero p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .wall-v4-feed-header {
        flex-direction: column;
        align-items: start;
        margin-bottom: 22px;
    }

    .wall-v4-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wall-v4-page .wall-v3-card-body {
        padding: 20px !important;
    }
}

/* ==========================================================================
   Wall V4 Feed Rebalance
   ========================================================================== */

.wall-v4-feed-section {
    max-width: 1180px;
    margin: 0 auto;
}

.wall-v4-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
}

.wall-v4-page .wall-v3-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr) !important;
    border-radius: 22px !important;
}

.wall-v4-page .wall-v3-card-media {
    aspect-ratio: auto !important;
    min-height: 100% !important;
}

.wall-v4-page .wall-v3-card-media-top {
    inset: 14px 14px auto auto !important;
    width: auto !important;
    justify-content: flex-end !important;
    gap: 0 !important;
}

.wall-v4-page .wall-v3-card-media-bottom {
    inset: auto 16px 16px 16px !important;
    gap: 6px !important;
}

.wall-v4-page .wall-v3-card-media-bottom h3 {
    font-size: clamp(24px, 2.6vw, 34px) !important;
}

.wall-v4-page .wall-v3-card-body {
    padding: 18px !important;
    gap: 12px !important;
}

.wall-v4-page .wall-v3-card-timer {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(8, 10, 16, 0.82) !important;
    color: #fff7fb !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22) !important;
}

.wall-v4-page .wall-v3-card-people {
    gap: 8px !important;
}

.wall-v4-page .wall-v3-card-person-row {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.022) !important;
}

.wall-v4-page .wall-v3-card-person-copy strong {
    font-size: 15px !important;
}

.wall-v4-page .wall-v3-card-person-copy em {
    font-size: 12px !important;
}

.wall-v4-page .wall-v3-stat-row {
    gap: 8px !important;
}

.wall-v4-page .wall-v3-stat-pill {
    padding: 10px 12px !important;
}

.wall-v4-page .wall-v3-comments {
    display: grid !important;
    gap: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.wall-v4-page .wall-v3-comments-head {
    align-items: center !important;
}

.wall-v4-page .wall-v3-comments-head h4 {
    font-size: 16px !important;
}

.wall-v4-page .wall-v3-comment-list {
    gap: 8px !important;
}

.wall-v4-page .wall-v3-comment-item,
.wall-v4-page .wall-v3-comment-empty {
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

.wall-v4-page .wall-v3-comment-input {
    min-height: 88px !important;
    border-radius: 14px !important;
}

.wall-v4-page .wall-v3-comment-form {
    gap: 8px !important;
}

.wall-v4-page .wall-v3-card-actions {
    padding-top: 4px !important;
    align-items: center !important;
}

.wall-v4-page .wall-v3-card-note {
    font-size: 11px !important;
}

@media (max-width: 768px) {
    .wall-v4-grid {
        gap: 16px !important;
    }

    .wall-v4-page .wall-v3-card {
        grid-template-columns: 1fr !important;
    }

    .wall-v4-page .wall-v3-card-media {
        aspect-ratio: 1 / 1.04 !important;
        min-height: 0 !important;
    }

    .wall-v4-page .wall-v3-card-body {
        padding: 16px !important;
        gap: 10px !important;
    }

    .wall-v4-page .wall-v3-card-person-row {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .wall-v4-page .wall-v3-comments-head,
    .wall-v4-page .wall-v3-comment-form-footer {
        align-items: flex-start !important;
    }
}

/* ==========================================================================
   Wall V4 Feed - Instagram Post Layout
   ========================================================================== */

.wall-v4-feed-section {
    max-width: 760px !important;
    margin: 0 auto !important;
}

.wall-v4-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

.wall-v4-page .wall-v3-card.wall-v5-post {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 22px !important;
    background: #0f1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28) !important;
    overflow: hidden;
}

.wall-v5-post-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(9, 11, 16, 0.76);
}

.wall-v5-post-identity {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.wall-v5-post-creator {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.wall-v5-post-creator:hover {
    color: #ffd6e8;
}

.wall-v5-post-owner {
    color: #a8b2c6;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.wall-v4-page .wall-v3-card-timer {
    min-height: 40px !important;
    padding: 0 14px !important;
    margin-left: 0 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(8, 10, 16, 0.88) !important;
    color: #fff7fb !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24) !important;
}

.wall-v4-page .wall-v3-card-media {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    background: #050608 !important;
}

.wall-v4-page .wall-v3-card-media-top,
.wall-v4-page .wall-v3-card-media-bottom,
.wall-v4-page .wall-v3-card-people,
.wall-v4-page .wall-v3-card-note {
    display: none !important;
}

.wall-v4-page .wall-v3-card-media-gradient {
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.05), rgba(7, 9, 14, 0.18)) !important;
}

.wall-v4-page .wall-v3-card-body {
    padding: 14px 16px 16px !important;
    gap: 12px !important;
    background: transparent !important;
}

.wall-v5-post-copy {
    display: grid;
    gap: 4px;
}

.wall-v5-post-copy h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--white);
}

.wall-v5-post-copy p {
    margin: 0;
    color: #a8b2c6;
    font-size: 13px;
    line-height: 1.5;
}

.wall-v5-post-copy span {
    color: #f3c7dc;
}

.wall-v5-post-copy-separator {
    color: rgba(255, 255, 255, 0.22) !important;
    margin: 0 6px;
}

.wall-v4-page .wall-v3-stat-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
}

.wall-v4-page .wall-v3-stat-pill {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.wall-v4-page .wall-v3-stat-pill span {
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
}

.wall-v4-page .wall-v3-stat-pill strong {
    font-size: 15px !important;
}

.wall-v5-comments-details {
    display: grid;
    gap: 10px;
    padding-top: 2px;
}

.wall-v5-comments-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.wall-v5-comments-summary::-webkit-details-marker {
    display: none;
}

.wall-v5-comments-summary::after {
    content: "+";
    color: #f3c7dc;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.wall-v5-comments-details[open] .wall-v5-comments-summary::after {
    content: "\2212";
}

.wall-v5-comments-summary-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.wall-v5-comments-summary-copy strong {
    color: var(--white);
    font-size: 14px;
    line-height: 1.3;
}

.wall-v5-comments-summary-copy em {
    color: #a8b2c6;
    font-size: 12px;
    font-style: normal;
    line-height: 1.4;
}

.wall-v4-page .wall-v3-comments-badge {
    min-width: 32px;
    justify-content: center;
}

.wall-v5-comments-panel {
    display: grid !important;
    gap: 8px !important;
    padding-top: 2px !important;
    border-top: 0 !important;
}

.wall-v4-page .wall-v3-comment-list {
    display: grid;
    gap: 8px !important;
    max-height: 208px;
    overflow: auto;
    padding-right: 4px;
}

.wall-v4-page .wall-v3-comment-item,
.wall-v4-page .wall-v3-comment-empty,
.wall-v5-comments-unavailable {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.026) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.wall-v5-comments-unavailable {
    color: #a8b2c6;
    font-size: 13px;
    line-height: 1.6;
}

.wall-v4-page .wall-v3-comment-meta strong {
    font-size: 13px !important;
}

.wall-v4-page .wall-v3-comment-meta span,
.wall-v4-page .wall-v3-comment-form-footer span,
.wall-v4-page .wall-v3-comment-feedback {
    font-size: 11px !important;
}

.wall-v4-page .wall-v3-comment-item p,
.wall-v4-page .wall-v3-comment-empty {
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.wall-v4-page .wall-v3-comment-input {
    min-height: 84px !important;
    border-radius: 14px !important;
}

.wall-v4-page .wall-v3-comment-form-footer {
    align-items: center !important;
}

.wall-v5-post-actions {
    padding-top: 2px !important;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .wall-v4-feed-section {
        max-width: none !important;
    }

    .wall-v4-page .wall-v3-card.wall-v5-post {
        max-width: none;
    }

    .wall-v5-post-head {
        padding: 12px 14px 10px;
        align-items: flex-start;
    }

    .wall-v4-page .wall-v3-card-body {
        padding: 12px 14px 14px !important;
        gap: 10px !important;
    }

    .wall-v4-page .wall-v3-stat-pill {
        padding: 9px 10px !important;
    }

    .wall-v4-page .wall-v3-comment-form-footer {
        align-items: flex-start !important;
    }
}

/* ==========================================================================
   Final compact UI refinement
   ========================================================================== */

:root {
    --max-width: 1240px;
}

.hero {
    padding: 42px 0 14px;
}

.hero-card {
    gap: 16px;
    padding: 28px;
    border-radius: 24px;
}

.hero h1 {
    font-size: clamp(34px, 4.2vw, 46px);
}

.hero p {
    margin-bottom: 18px;
    line-height: 1.58;
}

.hero-art {
    min-height: 300px;
}

.btn {
    min-height: 42px;
    padding: 0 18px;
}

.btn-small {
    min-height: 36px;
    padding: 0 14px;
}

.form-group {
    gap: 8px;
}

.form-group label {
    font-size: 13px;
}

.form-group input,
.form-group textarea,
.form-group select {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
}

.form-group textarea,
.messages-v1-compose textarea,
.request-thread-counter-form textarea {
    min-height: 112px;
}

.empty-block {
    padding: 18px;
    border-radius: 18px;
}

.section {
    padding: 18px 0 8px;
}

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

.section-head h2 {
    font-size: 24px;
}

.dashboard-page,
.profile-v3-page,
.wallet-v3-page,
.transactions-v3-page,
.buyxs-v3-page,
.owned-collection-page,
.image-focus-page,
.library-v3-page,
.wall-v3-page,
.upload-v3-page,
.mycontent-v3-page,
.admin-v3-page,
.notifications-v3-page,
.messages-v1-page,
.docs-v3-page,
.creator-v3-page {
    padding: 20px 0 56px;
}

.dashboard-hero-card,
.wallet-v3-shell,
.transactions-v3-shell,
.buyxs-v3-shell,
.library-v3-shell,
.notifications-v3-shell,
.messages-v1-shell,
.upload-v3-shell,
.mycontent-v3-shell,
.wall-v3-shell,
.profile-v3-panel,
.notifications-v3-list-panel,
.notifications-v3-side-card,
.messages-v1-panel,
.messages-v1-highlight-card,
.creator-v4-details-card,
.creator-v4-image-card,
.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card,
.content-v3-media-panel,
.content-v3-info-panel,
.marketplace-hero-card,
.marketplace-filter-panel,
.market-v3-card,
.creator-market-card,
.docs-v3-panel,
.docs-v3-card,
.docs-v3-highlight-card,
.docs-v3-hero-note,
.wallet-v3-link-card {
    border-radius: 22px !important;
}

.dashboard-hero-card,
.wallet-v3-shell,
.transactions-v3-shell,
.buyxs-v3-shell,
.library-v3-shell,
.notifications-v3-shell,
.messages-v1-shell,
.upload-v3-shell,
.mycontent-v3-shell,
.wall-v3-shell {
    gap: 16px;
    padding: 20px;
}

.profile-v3-hero-card {
    gap: 18px;
    padding: 0 20px 20px;
    margin-top: -58px;
}

.profile-v3-identity {
    gap: 18px;
    padding: 18px;
}

.profile-v3-cover {
    height: 240px;
}

.profile-v3-avatar-shell {
    width: 128px;
    height: 128px;
    border-radius: 26px;
}

.profile-v3-copy h1,
.creator-v4-section-head .creator-title {
    font-size: clamp(32px, 4vw, 40px);
}

.dashboard-hero-copy h1,
.wallet-v3-hero-copy h1,
.transactions-v3-hero-copy h1,
.buyxs-v3-hero-copy h1,
.library-v3-copy h1,
.wall-v3-copy h1,
.notifications-v3-copy h1,
.messages-v1-copy h1,
.upload-v3-copy h1,
.mycontent-v3-copy h1,
.docs-v3-hero-card h1 {
    font-size: clamp(30px, 4vw, 40px);
}

.dashboard-main-grid,
.notifications-v3-main-grid,
.messages-v1-main-grid,
.profile-v3-grid,
.creator-v4-profile-grid,
.creator-v4-action-grid,
.content-v3-layout,
.wallet-v3-main-grid {
    gap: 18px;
}

.dashboard-main-grid {
    grid-template-columns: 320px minmax(0, 1fr);
}

.dashboard-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-panel,
.dashboard-highlight-card,
.dashboard-highlight-mini,
.dashboard-action-card,
.dashboard-mini-card,
.library-v3-list-panel,
.library-v3-side-card,
.wallet-v3-panel,
.wallet-v3-balance-card,
.wallet-v3-summary-card,
.notifications-v3-card,
.profile-v3-highlight-card,
.profile-v3-highlight-mini,
.profile-v3-stat-card,
.profile-v3-detail-card,
.messages-v1-thread-card,
.messages-v1-message-bubble,
.request-thread-person-card,
.request-thread-detail-card,
.request-thread-actions-card {
    border-radius: 18px !important;
}

.dashboard-panel,
.wallet-v3-panel,
.notifications-v3-list-panel,
.notifications-v3-side-card,
.messages-v1-panel,
.library-v3-list-panel,
.library-v3-side-card,
.profile-v3-panel,
.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card,
.docs-v3-panel {
    padding: 18px !important;
}

.dashboard-highlight-card strong,
.buyxs-v3-summary-card strong,
.wallet-v3-balance-value,
.transactions-v3-balance-card strong,
.notifications-v3-highlight-card strong,
.messages-v1-highlight-card strong,
.library-v3-highlight-card strong {
    font-size: clamp(24px, 3vw, 32px);
}

.dashboard-action-card,
.dashboard-mini-card,
.profile-v3-highlight-mini,
.profile-v3-stat-card,
.profile-v3-detail-card,
.wallet-v3-summary-card,
.library-v3-summary-card,
.notifications-v3-card,
.messages-v1-thread-card,
.library-v3-card-body,
.market-v3-card-body,
.creator-collection-body {
    padding: 16px;
}

.dashboard-action-card span,
.profile-v3-panel-note,
.docs-v3-section-head p,
.docs-v3-card p,
.docs-v3-highlight-card p,
.wallet-v3-panel-note,
.wallet-v3-link-card span,
.library-v3-copy p,
.notifications-v3-copy p,
.messages-v1-copy p,
.request-thread-empty-note {
    font-size: 13px;
    line-height: 1.55;
}

.library-v3-main-grid,
.wallet-v3-main-grid,
.notifications-v3-main-grid,
.messages-v1-main-grid,
.profile-v3-grid {
    gap: 18px;
}

.library-v3-grid,
.creator-collections-grid,
.market-v3-grid,
.creator-market-grid,
.docs-v3-card-grid,
.docs-v3-highlight-grid,
.request-card-grid {
    gap: 14px;
}

.market-v3-filter-shell,
.marketplace-filter-panel {
    margin-bottom: 16px;
}

.market-v3-filter-panel,
.marketplace-filter-panel,
.market-v3-result-head,
.docs-v3-hero-card,
.notifications-v3-card,
.messages-v1-thread-card,
.wallet-v3-link-card {
    padding: 16px !important;
}

.market-v3-grid,
.creator-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-v3-card-copy,
.creator-market-body,
.creator-collection-body {
    gap: 10px;
}

.creator-v4-profile-grid {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.creator-v4-image-body,
.creator-v4-section-head,
.creator-v4-overview-grid,
.creator-v4-details-actions,
.creator-v4-safety-row {
    gap: 16px;
}

.creator-v4-image-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.creator-v4-image-summary strong {
    color: var(--white);
    font-size: 14px;
}

.creator-v4-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.content-v3-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
}

.content-v3-preview-image {
    min-height: 560px;
}

.content-v3-teaser-strip {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.content-v3-heading,
.content-v3-price-row,
.content-v3-stat-row,
.content-v3-actions,
.content-v3-meta-row {
    gap: 12px;
}

.content-v3-meta-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px;
}

.content-v3-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
}

.content-stat-pill {
    min-height: 0;
    padding: 12px 14px;
}

.content-v3-actions .btn,
.content-v3-actions .purchase-form {
    width: 100%;
}

.profile-v3-highlight-grid,
.profile-v3-stat-grid,
.profile-v3-detail-grid {
    gap: 12px;
}

.profile-v3-panel-head,
.library-v3-panel-head,
.notifications-v3-panel-head,
.messages-v1-panel-head,
.docs-v3-section-head,
.wallet-v3-panel-head {
    margin-bottom: 14px;
}

.request-thread-shell,
.request-thread-overview-grid,
.request-thread-people-grid,
.request-thread-conversation-grid {
    gap: 16px;
}

.wall-v4-grid,
.wall-v5-rail,
.wall-v5-stats,
.wall-v5-comment-grid {
    gap: 14px !important;
}

.footer-brand img {
    width: clamp(132px, 11vw, 156px);
    height: auto;
    max-width: 100%;
}

.footer-links a {
    font-size: 13px;
}

@media (max-width: 1100px) {
    .dashboard-main-grid,
    .notifications-v3-main-grid,
    .messages-v1-main-grid,
    .profile-v3-grid,
    .creator-v4-profile-grid,
    .creator-v4-action-grid,
    .content-v3-layout,
    .wallet-v3-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-mini-grid,
    .dashboard-action-grid,
    .creator-v4-meta-grid,
    .market-v3-grid,
    .creator-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 28px;
    }

    .hero-card,
    .dashboard-hero-card,
    .wallet-v3-shell,
    .transactions-v3-shell,
    .buyxs-v3-shell,
    .library-v3-shell,
    .notifications-v3-shell,
    .messages-v1-shell,
    .upload-v3-shell,
    .mycontent-v3-shell,
    .wall-v3-shell,
    .profile-v3-panel,
    .content-v3-media-panel,
    .content-v3-info-panel,
    .creator-v4-details-card,
    .creator-v4-image-card {
        padding: 16px !important;
    }

    .profile-v3-cover {
        height: 200px;
    }

    .profile-v3-hero-card {
        margin-top: -42px;
        padding: 0 16px 16px;
    }

    .dashboard-mini-grid,
    .dashboard-action-grid,
    .profile-v3-highlight-grid,
    .profile-v3-stat-grid,
    .profile-v3-detail-grid,
    .market-v3-grid,
    .creator-market-grid,
    .creator-v4-meta-grid {
        grid-template-columns: 1fr;
    }

    .content-v3-preview-image {
        min-height: 340px;
    }
}

/* ==========================================================================
   Text flow and density cleanup
   ========================================================================== */

.dashboard-panel,
.dashboard-action-card,
.dashboard-mini-card,
.library-v3-card,
.library-v3-card-body,
.library-v3-list-panel,
.market-v3-card,
.creator-market-card,
.market-v3-body,
.creator-collection-card,
.creator-collection-body,
.creator-v4-details-card,
.creator-v4-image-card,
.content-v3-layout,
.content-v3-info-panel,
.content-v3-media-panel,
.owned-collection-side-card,
.owned-collection-highlight-card,
.owned-collection-thumb-card,
.request-card,
.docs-v3-panel,
.docs-v3-card,
.docs-v3-step-card,
.docs-v3-hero-note,
.analytics-v3-panel,
.notifications-v3-card,
.messages-v1-thread-card,
.wallet-v3-panel,
.profile-v3-panel {
    min-width: 0;
    min-height: 0;
}

.dashboard-action-card,
.dashboard-mini-card,
.library-v3-card-title,
.library-v3-card-meta,
.library-v3-card-stat,
.creator-collection-title,
.creator-collection-meta,
.market-v3-identity h3,
.market-v3-bio,
.market-v3-rating-value,
.content-v3-heading h1,
.content-description,
.content-v3-creator-meta,
.content-v3-creator-rating-value,
.content-v3-meta-chip,
.owned-collection-description,
.owned-collection-note,
.owned-collection-detail-row dd,
.creator-v4-bio,
.creator-v4-image-summary,
.profile-v3-bio,
.profile-v3-detail-card strong,
.profile-v3-highlight-mini strong,
.request-card-top h3,
.request-card-copy,
.docs-v3-step-card strong,
.docs-v3-hero-note p,
.docs-v3-card p,
.docs-v3-highlight-card p,
.analytics-v3-metric-card p,
.notifications-v3-card p,
.messages-v1-thread-preview {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.library-v3-card-title,
.creator-collection-title,
.market-v3-identity h3,
.content-v3-heading h1 {
    line-height: 1.08;
    text-wrap: balance;
}

.market-v3-bio,
.content-description,
.owned-collection-description,
.creator-v4-bio,
.profile-v3-bio,
.docs-v3-hero-note p,
.docs-v3-card p,
.docs-v3-highlight-card p {
    max-width: none;
    margin-bottom: 0;
}

.market-v3-bio {
    min-height: 0;
}

.library-v3-card-body,
.creator-collection-body,
.market-v3-body,
.content-v3-info-panel,
.owned-collection-side-panel,
.docs-v3-step-list,
.analytics-v3-metric-grid {
    align-content: start;
}

.owned-collection-side-card,
.request-card,
.docs-v3-step-card,
.docs-v3-hero-note,
.analytics-v3-metric-card {
    padding: 18px !important;
}

.owned-collection-detail-row {
    align-items: start;
}

.owned-collection-detail-row dd {
    max-width: 62%;
    text-align: right;
}

.market-v3-actions,
.library-v3-card-actions,
.creator-v3-collection-actions,
.content-v3-actions,
.dashboard-hero-actions,
.profile-v3-actions {
    gap: 10px;
}

@media (max-width: 768px) {
    .owned-collection-detail-row dd {
        max-width: none;
        text-align: left;
    }
}

/* ==========================================================================
   Premium dark polish system
   ========================================================================== */

:root {
    --bg: #0d1016;
    --bg-soft: #151a23;
    --card: rgba(255, 255, 255, 0.055);
    --card-solid: #171d27;
    --text: #f4f6fb;
    --muted: #a9b2c4;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ff4fa3;
    --accent-2: #7b61ff;
    --shadow: 0 14px 34px rgba(7, 10, 18, 0.26);
    --radius: 14px;
    --radius-sm: 10px;
    --gradient: linear-gradient(135deg, #ff4fa3 0%, #7b61ff 100%);
}

html {
    font-size: 16px;
}

body {
    font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 151, 198, 0.12), transparent 24%),
        radial-gradient(circle at top right, rgba(156, 174, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #0b0e14 0%, #10141b 42%, #141922 100%);
    color: var(--text);
    line-height: 1.65;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    display: block;
    flex: 1 0 auto;
    width: 100%;
}

a,
button,
input,
textarea,
select,
.btn,
.btn-outline,
.btn-small,
.dashboard-panel,
.market-v3-card,
.creator-market-card,
.library-v3-card,
.creator-collection-card,
.request-card,
.owned-collection-side-card,
.docs-v3-card,
.docs-v3-step-card,
.docs-v3-hero-note {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

p,
li,
dd,
dt,
label,
input,
textarea,
select,
button {
    font-family: inherit;
}

p,
li,
dd,
.content-description,
.creator-v4-bio,
.profile-v3-bio,
.market-v3-bio,
.owned-collection-description {
    color: var(--muted);
    line-height: 1.7;
    font-weight: 400;
}

.hero {
    padding: 3.5rem 0 1.5rem;
}

.section {
    padding: 1.5rem 0 0.75rem;
}

.section-head {
    gap: 1rem;
    margin-bottom: 1.125rem;
}

.hero-card,
.dashboard-hero-card,
.wallet-v3-shell,
.transactions-v3-shell,
.buyxs-v3-shell,
.library-v3-shell,
.notifications-v3-shell,
.messages-v1-shell,
.upload-v3-shell,
.mycontent-v3-shell,
.wall-v3-shell {
    padding: clamp(1.5rem, 2.6vw, 2.25rem) !important;
    gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.profile-v3-panel,
.notifications-v3-list-panel,
.notifications-v3-side-card,
.messages-v1-panel,
.creator-v4-details-card,
.creator-v4-image-card,
.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card,
.content-v3-info-panel,
.content-v3-media-panel,
.market-v3-card,
.creator-market-card,
.docs-v3-panel,
.docs-v3-card,
.docs-v3-highlight-card,
.docs-v3-hero-note,
.wallet-v3-link-card,
.owned-collection-side-card,
.owned-collection-highlight-card,
.owned-collection-thumb-card,
.request-thread-person-card,
.request-thread-detail-card,
.request-thread-actions-card,
.analytics-v3-panel,
.analytics-v3-metric-card,
.analytics-v3-table-shell,
.admin-v3-panel,
.admin-v3-card,
.dashboard-panel,
.request-card {
    border-radius: 14px;
    background: #1b1d25;
    border: 1px solid rgba(255, 255, 255, 0.075);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.profile-v3-panel,
.notifications-v3-list-panel,
.notifications-v3-side-card,
.messages-v1-panel,
.creator-v4-details-card,
.creator-v4-image-card,
.creator-v3-main-card,
.creator-v3-side-card,
.creator-v3-request-card,
.creator-v3-collections-card,
.content-v3-info-panel,
.content-v3-media-panel,
.market-v3-card,
.creator-market-card,
.docs-v3-panel,
.analytics-v3-panel,
.request-card,
.owned-collection-side-card,
.wallet-v3-link-card {
    padding: clamp(1.125rem, 2vw, 1.5rem) !important;
}

.market-v3-card:hover,
.creator-market-card:hover,
.library-v3-card:hover,
.creator-collection-card:hover,
.request-card:hover,
.dashboard-panel:hover,
.docs-v3-card:hover,
.docs-v3-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(7, 10, 18, 0.28) !important;
}

.hero-kicker,
.content-v3-flag,
.content-v3-meta-chip,
.marketplace-type-badge,
.library-v3-card-badge,
.owned-collection-badge,
.request-status-chip,
.market-v3-follow-label {
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    color: #f3d7e6 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

.btn,
.btn-small {
    min-height: 44px;
    border-radius: 12px !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn {
    background: var(--gradient);
    box-shadow: 0 12px 28px rgba(255, 79, 163, 0.22);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    opacity: 1;
    box-shadow: 0 18px 34px rgba(123, 97, 255, 0.24);
}

.btn-outline,
.btn.btn-outline,
.btn-small.btn-outline {
    background: rgba(255, 255, 255, 0.075) !important;
    border: 1px solid #595959 !important;
    box-shadow: none !important;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: #595959 !important;
}

.form-group input,
.form-group textarea,
.form-group select,
.request-form-grid input,
.request-form-grid textarea,
.market-v3-filter-form input[type="text"],
.market-v3-filter-form select,
.upload-v3-form input[type="text"],
.upload-v3-form input[type="number"],
.upload-v3-form textarea,
.upload-v3-form select,
.messages-v1-compose textarea,
.admin-v3-filter-form select,
.admin-v3-inline-form-stack input[type="text"],
.admin-v3-inline-form-stack input[type="password"],
.admin-v3-inline-form-stack select,
.admin-v3-inline-form-stack textarea {
    background: rgba(255, 255, 255, 0.045) !important;
    color: var(--text) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.request-form-grid input:focus,
.request-form-grid textarea:focus,
.market-v3-filter-form input[type="text"]:focus,
.market-v3-filter-form select:focus,
.upload-v3-form input[type="text"]:focus,
.upload-v3-form input[type="number"]:focus,
.upload-v3-form textarea:focus,
.upload-v3-form select:focus,
.messages-v1-compose textarea:focus,
.admin-v3-filter-form select:focus,
.admin-v3-inline-form-stack input[type="text"]:focus,
.admin-v3-inline-form-stack input[type="password"]:focus,
.admin-v3-inline-form-stack select:focus,
.admin-v3-inline-form-stack textarea:focus {
    border-color: rgba(255, 151, 198, 0.34) !important;
    box-shadow: 0 0 0 4px rgba(255, 151, 198, 0.1) !important;
}

header.site-header.xs-header .xs-header-shell {
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.94), rgba(14, 18, 26, 0.88)) !important;
    box-shadow: 0 16px 36px rgba(7, 10, 18, 0.28) !important;
}

header.site-header.xs-header .xs-header-brand-mark {
    box-shadow: none !important;
    background: transparent !important;
}

header.site-header.xs-header .xs-header-brand:hover .xs-header-brand-mark {
    transform: none !important;
}

header.site-header.xs-header .xs-header-pill,
header.site-header.xs-header .xs-header-account,
header.site-header.xs-header .xs-header-toggle {
    border-color: rgba(255, 255, 255, 0.075) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: none !important;
}

header.site-header.xs-header .xs-header-pill:hover,
header.site-header.xs-header .xs-header-account:hover,
header.site-header.xs-header .xs-header-toggle:hover {
    transform: translateY(-1px) !important;
    background: rgba(255, 255, 255, 0.065) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

header.site-header.xs-header .xs-header-pill strong {
    box-shadow: none !important;
}

header.site-header.xs-header .xs-mobile-menu {
    border-radius: 20px !important;
    box-shadow: 0 24px 48px rgba(7, 10, 18, 0.32) !important;
}

.site-footer {
    background: rgba(9, 12, 18, 0.34);
    margin-top: auto;
}

.footer-wrap {
    padding: 1.75rem 1.125rem 1.5rem;
    gap: 1rem;
}

.footer-links {
    gap: 0.875rem;
}

.footer-links a {
    color: var(--muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding-top: 2rem;
    }

    .section {
        padding-top: 1.25rem;
    }

    .hero-card,
    .dashboard-hero-card,
    .wallet-v3-shell,
    .transactions-v3-shell,
    .buyxs-v3-shell,
    .library-v3-shell,
    .notifications-v3-shell,
    .messages-v1-shell,
    .upload-v3-shell,
    .mycontent-v3-shell,
    .wall-v3-shell,
    .profile-v3-panel,
    .content-v3-info-panel,
    .content-v3-media-panel,
    .creator-v4-details-card,
    .creator-v4-image-card,
    .creator-v3-request-card,
    .creator-v3-collections-card,
    .docs-v3-panel,
    .analytics-v3-panel,
    .owned-collection-side-card,
    .request-card {
        padding: 1rem !important;
        gap: 0.875rem !important;
    }

    .hero h1,
    .dashboard-hero-copy h1,
    .profile-v3-copy h1,
    .creator-v4-section-head .creator-title,
    .content-v3-heading h1 {
        font-size: clamp(2rem, 8vw, 2.5rem) !important;
    }

.btn,
.btn-small,
header.site-header.xs-header .xs-header-pill,
header.site-header.xs-header .xs-header-account,
header.site-header.xs-header .xs-header-toggle {
    min-height: 44px !important;
}
}

/* ==========================================================================
   Collection and creator UI cleanup
   ========================================================================== */

.auth-shell-single {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

.collection-card .library-v3-card-body {
    gap: 10px;
}

.library-v3-card-description {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-card .library-v3-card-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.collection-card .library-v3-card-stat {
    min-width: 0;
}

.collection-card .library-v3-card-actions {
    padding-top: 10px;
}

.collection-card .library-v3-card-actions .btn {
    width: 100%;
}

.mycontent-v3-page .library-v3-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 380px));
    justify-content: start;
    align-items: start;
}

.market-creators-page .collections-market-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    justify-content: start;
    gap: 16px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-media {
    aspect-ratio: 20 / 21;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-body {
    gap: 8px;
    padding: 12px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-title {
    font-size: 17px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-meta,
.market-creators-page .collections-market-grid .collection-card .library-v3-card-description {
    font-size: 12px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-stats {
    gap: 5px 8px;
    font-size: 11px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-stat strong {
    font-size: 12px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-actions {
    padding-top: 8px;
}

.market-creators-page .collections-market-grid .collection-card .library-v3-card-actions .btn {
    min-height: 36px;
}

.content-v3-media-panel {
    display: grid;
    align-content: start;
    overflow: hidden;
}

.content-v3-preview-image {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 760px;
    object-fit: cover;
}

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

.creator-rating-widget-shell {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.creator-rating-widget-shell--card {
    margin-top: 2px;
}

.creator-rating-form {
    display: grid;
    gap: 8px;
}

.creator-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.creator-rating-stars.is-static {
    gap: 4px;
}

.creator-rating-star {
    color: rgba(255, 255, 255, 0.24);
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s ease;
}

.creator-rating-star.is-filled,
.creator-rating-stars.is-static .creator-rating-star.is-filled {
    color: #ff7fb8;
}

.creator-rating-select-label {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.creator-rating-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
    align-items: center;
}

.creator-rating-picker-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.creator-rating-picker-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
}

.creator-rating-picker-star:hover,
.creator-rating-picker-star:hover ~ .creator-rating-picker-star,
.creator-rating-picker-input:focus-visible + .creator-rating-picker-star,
.creator-rating-picker-input:focus-visible + .creator-rating-picker-star ~ .creator-rating-picker-star,
.creator-rating-picker-input:checked + .creator-rating-picker-star,
.creator-rating-picker-input:checked + .creator-rating-picker-star ~ .creator-rating-picker-star {
    color: #ff7fb8;
    transform: translateY(-1px);
}

.creator-rating-noscript {
    margin-top: 6px;
}

.upload-v3-dropzone {
    position: relative;
    display: grid;
    gap: 14px;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at top right, rgba(255, 121, 184, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(8, 10, 16, 0.24));
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.upload-v3-dropzone:hover,
.upload-v3-dropzone:focus-visible,
.upload-v3-dropzone.is-dragover {
    border-color: rgba(255, 121, 184, 0.42);
    background:
        radial-gradient(circle at top right, rgba(255, 121, 184, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(8, 10, 16, 0.36));
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.upload-v3-dropzone-copy {
    display: grid;
    gap: 6px;
}

.upload-v3-dropzone-copy strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

.upload-v3-dropzone-copy span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.upload-v3-dropzone-button {
    justify-self: start;
}

.upload-v3-dropzone-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.upload-v3-file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.upload-v3-file-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .collection-card .library-v3-card-stats,
    .creator-market-stats {
        grid-template-columns: 1fr;
    }

    .creator-rating-noscript .btn,
    .upload-v3-dropzone-button {
        width: 100%;
    }

    .owned-collection-stage-image {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .owned-collection-thumb-grid {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .owned-collection-thumb-card {
        width: min(70%, 220px);
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-brand img {
        display: block;
        width: min(152px, 48vw);
    }
}

/* ==========================================================================
   13. Final refinement pass
   ========================================================================== */

.home-v3-intro {
    max-width: 58ch;
}

.home-v3-section-flow .home-v3-flow-card {
    position: relative;
    overflow: hidden;
}

.home-v3-section-flow .home-v3-flow-card::after {
    content: "";
    position: absolute;
    inset: auto 24px 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 79, 163, 0), rgba(255, 79, 163, 0.5), rgba(123, 97, 255, 0));
}

.home-v3-cta-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
}

.home-v3-cta-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.8vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.home-v3-cta-copy {
    margin: 0;
    max-width: 52ch;
}

.home-v3-cta-actions {
    display: grid;
    gap: 12px;
    justify-items: stretch;
}

.home-v3-cta-actions .btn {
    justify-content: center;
}

.profile-v3-signal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 24px;
}

.profile-v3-signal-card {
    position: relative;
    overflow: hidden;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.14), transparent 36%),
        radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(14, 17, 25, 0.88), rgba(12, 15, 23, 0.82));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.profile-v3-signal-card span {
    display: block;
    margin-bottom: 10px;
    color: #d7dfed;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-v3-signal-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.profile-v3-signal-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.profile-v3-follow-item {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.profile-v3-follow-copy span:last-child {
    color: #f3c7dc;
}

.support-v4-section-top {
    padding-top: 0;
}

.support-v4-route-grid,
.support-v4-escalation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.support-v4-route-card,
.support-v4-escalation-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(255, 79, 163, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(16, 19, 28, 0.9), rgba(12, 15, 22, 0.82));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.support-v4-route-card span,
.support-v4-escalation-card span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    color: #f3c7dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
}

.support-v4-route-card h2,
.support-v4-escalation-card strong {
    margin: 0 0 10px;
    display: block;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.support-v4-route-card p,
.support-v4-escalation-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.support-v4-route-card .btn {
    margin-top: 18px;
}

.support-v4-escalation-panel .docs-v3-panel-head {
    margin-bottom: 20px;
}

@media (max-width: 980px) {
    .home-v3-cta-shell,
    .profile-v3-signal-strip,
    .support-v4-route-grid,
    .support-v4-escalation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-v3-cta-title {
        margin-bottom: 0;
    }

    .home-v3-cta-copy {
        display: none;
    }

    .home-v3-cta-actions {
        margin-top: 18px;
        grid-template-columns: 1fr;
    }

    .profile-v3-signal-card,
    .support-v4-route-card,
    .support-v4-escalation-card {
        padding: 18px;
    }

    .profile-v3-signal-card strong {
        font-size: 26px;
    }

    .support-v4-route-card h2,
    .support-v4-escalation-card strong {
        font-size: 22px;
    }
}

/* ==========================================================================
   Mobile UX fixes
   ========================================================================== */

.messages-v1-mobile-back {
    display: none;
}

@media (max-width: 768px) {
    .messages-v1-main-grid {
        gap: 14px;
    }

    .messages-v1-main-grid:not(.is-thread-focus) .messages-v1-conversation-panel {
        display: none;
    }

    .messages-v1-main-grid.is-thread-focus .messages-v1-thread-panel {
        display: none;
    }

    .messages-v1-main-grid.is-thread-focus .messages-v1-conversation-panel {
        display: grid;
    }

    .messages-v1-mobile-back {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        gap: 6px;
        color: #f3c7dc;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-decoration: none;
    }

    .messages-v1-mobile-back::before {
        content: "<-";
        font-size: 11px;
    }

    .messages-v1-conversation-panel {
        gap: 16px;
    }

    .messages-v1-message-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .messages-v1-message-bubble {
        max-width: 100%;
    }

    .messages-v1-compose {
        gap: 12px;
    }

    .messages-v1-compose textarea {
        min-height: 96px;
    }

    .collection-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        align-items: stretch;
    }

    .collection-card .library-v3-card-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 100%;
        box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
    }

    .collection-card .library-v3-card-image {
        height: 100%;
    }

    .collection-card .library-v3-card-body {
        gap: 8px;
        padding: 14px 14px 13px;
    }

    .collection-card .library-v3-card-title {
        font-size: 18px;
    }

    .collection-card .library-v3-card-meta {
        gap: 4px 6px;
        font-size: 12px;
    }

    .collection-card .library-v3-card-description {
        display: -webkit-box;
        overflow: hidden;
        color: #c6d0df;
        font-size: 12px;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .collection-card .library-v3-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
        padding-top: 0;
        font-size: 11px;
    }

    .collection-card .library-v3-card-stat {
        display: grid;
        gap: 2px;
        align-items: start;
    }

    .collection-card .library-v3-card-stat strong {
        font-size: 12px;
        line-height: 1.05;
    }

    .collection-card .library-v3-card-actions {
        padding-top: 8px;
        border-top: 0;
    }

    .collection-card .library-v3-card-actions .btn {
        min-height: 38px;
    }

    .analytics-v3-badges,
    .analytics-v3-hero-grid,
    .analytics-v3-mini-grid,
    .analytics-v3-metric-grid,
    .analytics-v3-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .analytics-v3-actions {
        grid-template-columns: 1fr;
    }

    .analytics-v3-panel,
    .analytics-v3-hero-card {
        gap: 14px;
    }

    .analytics-v3-panel-head {
        margin-bottom: 14px;
    }

    .analytics-v3-hero-metric,
    .analytics-v3-mini-card,
    .analytics-v3-metric-card,
    .analytics-v3-status-card {
        padding: 14px;
    }

    .analytics-v3-hero-metric strong,
    .analytics-v3-mini-card strong,
    .analytics-v3-metric-card strong,
    .analytics-v3-status-card strong {
        font-size: 20px;
    }

    .analytics-v3-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .analytics-v3-table,
    .analytics-v3-table thead,
    .analytics-v3-table tbody,
    .analytics-v3-table tr,
    .analytics-v3-table td {
        display: block;
        width: 100%;
    }

    .analytics-v3-table thead {
        display: none;
    }

    .analytics-v3-table tbody {
        display: grid;
        gap: 12px;
    }

    .analytics-v3-table tbody tr {
        display: grid;
        gap: 10px;
        padding: 16px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.04);
    }

    .analytics-v3-table td {
        display: grid;
        grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 0;
        border-bottom: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    .analytics-v3-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        line-height: 1.3;
    }

    .analytics-v3-table td[data-label="Collection"] {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-bottom: 8px;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .analytics-v3-table td[data-label="Collection"]::before {
        display: none;
    }

    .analytics-v3-collection-cell {
        min-width: 0;
        gap: 3px;
    }

    .content-v3-layout {
        display: flex;
        flex-direction: column;
    }

    .content-v3-info-panel {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .content-v3-media-panel {
        order: 2;
    }

    .content-v3-heading {
        order: 1;
        margin-bottom: 0;
    }

    .content-v3-price-row {
        order: 2;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 0;
    }

    .content-v3-actions {
        order: 3;
        gap: 8px;
    }

    .content-v3-stat-row {
        order: 4;
        margin-bottom: 0;
    }

    .content-v3-creator-box {
        order: 5;
        margin-bottom: 0;
    }

    .content-v3-meta-row {
        order: 6;
    }

    .content-v3-preview-image {
        min-height: 240px;
        max-height: 320px;
    }

    .content-v3-teaser-rail {
        gap: 12px;
        padding: 14px;
    }

    .content-v3-teaser-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-v3-teaser-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

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

    .content-v3-heading h1 {
        margin: 10px 0 12px;
        font-size: 34px;
    }

    .content-description {
        margin-bottom: 0;
        line-height: 1.6;
    }

    .content-v3-creator-box {
        padding: 14px;
    }

    .market-creators-page .creator-market-banner img,
    .market-creators-page .market-v3-banner img {
        height: 112px;
    }

    .market-creators-page .market-v3-body {
        padding: 0 12px 12px;
        gap: 8px;
    }

    .market-creators-page .market-v3-top {
        gap: 8px;
        margin-bottom: 8px;
    }

    .market-creators-page .market-v3-avatar-shell {
        transform: translateY(-18px);
        margin-bottom: -8px;
    }

    .market-creators-page .market-v3-avatar {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .market-creators-page .market-v3-identity h3 {
        font-size: 17px;
    }

    .market-creators-page .creator-market-handle {
        font-size: 11px;
    }

    .market-creators-page .creator-market-presence {
        margin-top: 4px;
    }

    .market-creators-page .market-v3-stats,
    .creator-market-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 10px;
    }

    .market-creators-page .market-v3-stat {
        padding: 8px 7px;
    }

    .market-creators-page .market-v3-stat strong {
        font-size: 14px;
    }

    .market-creators-page .market-v3-bio {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    .market-creators-page .market-v3-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 8px;
    }

    .market-creators-page .market-v3-actions .btn {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .market-creators-page .market-v3-actions .market-v3-link {
        grid-column: 1 / -1;
        justify-content: flex-start;
        font-size: 12px;
    }

    .dashboard-highlight-grid,
    .dashboard-mini-grid,
    .dashboard-action-grid,
    .profile-v3-highlight-grid,
    .profile-v3-stat-grid,
    .profile-v3-detail-grid,
    .profile-v3-action-list,
    .profile-v3-signal-strip,
    .wallet-v3-balance-grid,
    .wallet-v3-summary-grid,
    .wallet-v3-stats,
    .wallet-v3-cashout-grid,
    .upload-v3-highlight-grid,
    .upload-v3-summary-grid,
    .upload-v3-slot-grid,
    .notifications-v3-highlight-grid,
    .notifications-v3-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-highlight-mini,
    .dashboard-mini-card,
    .dashboard-action-card {
        padding: 14px;
    }

    .dashboard-mini-card strong,
    .dashboard-highlight-mini strong {
        font-size: 24px;
    }

    .dashboard-action-card {
        gap: 6px;
        min-height: 74px;
        align-content: start;
    }

    .dashboard-action-card strong {
        font-size: 16px;
        line-height: 1.2;
    }

    .dashboard-action-card span {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .profile-v3-signal-strip {
        gap: 12px;
    }

    .profile-v3-signal-card,
    .profile-v3-stat-card,
    .profile-v3-detail-card,
    .profile-v3-action-item {
        padding: 16px;
    }

    .profile-v3-stat-card,
    .profile-v3-detail-card {
        min-height: 0;
    }

    .profile-v3-signal-card strong {
        font-size: 22px;
    }

    .profile-v3-action-item strong {
        font-size: 15px;
        line-height: 1.25;
    }

    .wallet-v3-balance-mini,
    .wallet-v3-summary-card,
    .wallet-v3-stat-card,
    .wallet-v3-cashout-card {
        padding: 14px;
    }

    .wallet-v3-balance-mini strong,
    .wallet-v3-summary-card strong,
    .wallet-v3-cashout-card strong {
        font-size: 20px;
    }

    .wallet-v3-stat-card strong {
        font-size: 24px;
    }

    .wallet-v3-activity-item {
        gap: 12px;
        padding: 14px;
    }

    .wallet-v3-activity-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .wallet-v3-activity-copy strong {
        font-size: 15px;
    }

    .wallet-v3-link-card {
        padding: 14px;
        min-height: 0;
    }

    .upload-v3-highlight-mini,
    .upload-v3-summary-card,
    .upload-v3-slot-card {
        padding: 12px;
    }

    .upload-v3-highlight-mini strong,
    .upload-v3-summary-card strong {
        font-size: 18px;
    }

    .upload-v3-section-card input[type="file"] {
        padding: 8px 10px;
        font-size: 12px;
    }

    .upload-v3-section-card input[type="file"]::file-selector-button {
        margin-right: 8px;
        padding: 7px 10px;
        font-size: 11px;
    }

    .notifications-v3-highlight-mini,
    .notifications-v3-summary-card {
        padding: 14px;
    }

    .messages-v1-main-grid.request-thread-main-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .messages-v1-main-grid.request-thread-main-grid .messages-v1-conversation-panel {
        display: grid;
        order: 1;
        gap: 16px;
    }

    .messages-v1-main-grid.request-thread-main-grid .request-thread-summary-panel {
        order: 2;
        gap: 16px;
    }

    .request-thread-highlight-card .messages-v1-highlight-grid,
    .request-thread-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-thread-summary-stack {
        gap: 14px;
    }

    .request-thread-person-card,
    .request-thread-detail-card,
    .request-thread-actions-card,
    .request-thread-metric-card {
        padding: 16px;
    }

    .request-thread-main-grid .request-action-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .request-thread-main-grid .request-action-row form {
        margin: 0;
        width: 100%;
    }

    .request-thread-main-grid .request-action-row .btn,
    .request-thread-main-grid .request-action-row form .btn {
        width: 100%;
    }

    .request-thread-counter-form textarea {
        min-height: 96px;
    }

    .request-card {
        gap: 12px;
        padding: 16px;
    }

    .request-card-top {
        flex-direction: column;
        gap: 10px;
    }

    .request-card-top h3 {
        font-size: 18px;
    }

    .request-card-copy {
        line-height: 1.6;
    }

    .request-card-footer {
        gap: 10px;
    }

    .request-card-footer .request-action-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .request-card-footer .request-action-row form {
        margin: 0;
        width: 100%;
    }

    .request-card-footer .request-action-row .btn,
    .request-card-footer .request-action-row form .btn {
        width: 100%;
    }

    .creator-v4-bio {
        padding: 16px 18px;
        line-height: 1.72;
        font-size: 15px;
    }

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

    .creator-v4-meta-grid .creator-v3-meta-card:first-child {
        grid-column: 1 / -1;
    }

    .creator-v4-primary-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .creator-v4-primary-actions > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .creator-v4-inline-form .btn,
    .creator-v4-inline-form button {
        width: 100%;
    }

    .creator-v4-safety-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
    }

    .creator-v4-safety-form,
    .creator-v4-safety-form .btn {
        width: 100%;
    }

    .creator-v4-action-card#creatorRequests .request-action-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .creator-v4-action-card#creatorRequests .request-action-row form,
    .creator-v4-action-card#creatorRequests .request-action-row .btn,
    .creator-v4-action-card#creatorRequests .request-action-row form .btn {
        width: 100%;
    }

    .mycontent-v3-page .library-v3-card-media {
        aspect-ratio: 16 / 6.6;
    }

    .mycontent-v3-page .library-v3-card-body {
        gap: 10px;
    }

    .mycontent-v3-page .library-v3-card-top {
        flex-direction: row;
        align-items: center;
    }

    .mycontent-v3-page .library-v3-card-title {
        font-size: 18px;
    }

    .mycontent-v3-page .library-v3-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }

    .mycontent-v3-page .library-v3-card-stat {
        min-width: 0;
    }

    .mycontent-v3-page .library-v3-card-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .mycontent-v3-page .library-v3-card-actions > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .mycontent-v3-page .library-v3-inline-action,
    .mycontent-v3-page .library-v3-inline-action .btn,
    .mycontent-v3-page .library-v3-card-actions .btn {
        width: 100%;
    }

    .mycontent-v3-page .library-v3-card-actions .library-v3-card-link {
        grid-column: 1 / -1;
        text-align: center;
        padding-top: 2px;
    }

    .mycontent-v3-page .collection-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        align-items: stretch;
    }

    .mycontent-v3-page .collection-card .library-v3-card-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 100%;
        box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
    }

    .mycontent-v3-page .collection-card .library-v3-card-image {
        height: 100%;
    }

    .mycontent-v3-page .collection-card .library-v3-card-body {
        gap: 8px;
        padding: 14px 14px 13px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-title {
        font-size: 18px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-meta {
        gap: 4px 6px;
        font-size: 12px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-description {
        display: -webkit-box;
        overflow: hidden;
        color: #c6d0df;
        font-size: 12px;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .mycontent-v3-page .collection-card .library-v3-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
        padding-top: 0;
        font-size: 11px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-stat {
        display: grid;
        gap: 2px;
        align-items: start;
    }

    .mycontent-v3-page .collection-card .library-v3-card-stat strong {
        font-size: 12px;
        line-height: 1.05;
    }

    .mycontent-v3-page .collection-card .library-v3-card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        padding-top: 8px;
        border-top: 0;
    }

    .mycontent-v3-page .collection-card .library-v3-inline-action,
    .mycontent-v3-page .collection-card .library-v3-inline-action .btn,
    .mycontent-v3-page .collection-card .library-v3-card-actions .btn {
        width: auto;
    }

    .mycontent-v3-page .collection-card .library-v3-card-actions .library-v3-card-link {
        grid-column: auto;
        text-align: left;
        padding-top: 0;
    }

    .transactions-v3-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .transactions-v3-actions .btn {
        width: 100%;
    }

    .transactions-v3-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .transactions-v3-summary-card {
        padding: 18px;
    }

    .transactions-v3-summary-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .transactions-v3-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .transactions-v3-item-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .transactions-v3-item-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;
    }

    .transactions-v3-item-title strong {
        font-size: 16px;
    }

    .transactions-v3-item-amount {
        text-align: right;
        justify-items: end;
    }

    .transactions-v3-meta {
        gap: 8px;
    }

    .transactions-v3-meta span {
        padding: 7px 9px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .collection-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .profile-edit-preview-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .market-creators-page .market-v3-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-creators-page .market-v3-actions .market-v3-link {
        grid-column: 1 / -1;
    }
}

@media (max-width: 360px) {
    .analytics-v3-badges,
    .analytics-v3-hero-grid,
    .analytics-v3-mini-grid,
    .analytics-v3-metric-grid,
    .analytics-v3-status-grid,
    .dashboard-highlight-grid,
    .dashboard-mini-grid,
    .dashboard-action-grid,
    .profile-v3-highlight-grid,
    .profile-v3-stat-grid,
    .profile-v3-detail-grid,
    .profile-v3-action-list,
    .profile-v3-signal-strip,
    .wallet-v3-balance-grid,
    .wallet-v3-summary-grid,
    .wallet-v3-stats,
    .wallet-v3-cashout-grid,
    .upload-v3-highlight-grid,
    .upload-v3-summary-grid,
    .upload-v3-slot-grid,
    .notifications-v3-highlight-grid,
    .notifications-v3-summary-grid {
        grid-template-columns: 1fr;
    }

    .request-thread-highlight-card .messages-v1-highlight-grid,
    .request-thread-metric-grid {
        grid-template-columns: 1fr;
    }

    .creator-v4-primary-actions,
    .creator-v4-safety-actions,
    .creator-v4-meta-grid,
    .mycontent-v3-page .library-v3-card-stats,
    .mycontent-v3-page .library-v3-card-actions,
    .transactions-v3-actions,
    .transactions-v3-summary-grid {
        grid-template-columns: 1fr;
    }

    .creator-v4-meta-grid .creator-v3-meta-card:first-child,
    .creator-v4-primary-actions > :last-child:nth-child(odd) {
        grid-column: auto;
    }

    .transactions-v3-summary-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .mycontent-v3-page .library-v3-card-top {
        flex-direction: column;
        align-items: start;
    }

    .mycontent-v3-page .collection-card {
        display: block;
    }

    .mycontent-v3-page .collection-card .library-v3-card-media {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    }

    .mycontent-v3-page .collection-card .library-v3-card-body {
        padding: 12px;
        gap: 8px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .mycontent-v3-page .collection-card .library-v3-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .mycontent-v3-page .collection-card .library-v3-inline-action,
    .mycontent-v3-page .collection-card .library-v3-inline-action .btn,
    .mycontent-v3-page .collection-card .library-v3-card-actions .btn {
        width: 100%;
    }

    .mycontent-v3-page .collection-card .library-v3-card-actions .library-v3-card-link {
        text-align: center;
        padding-top: 2px;
    }

    .transactions-v3-item,
    .transactions-v3-item-head {
        grid-template-columns: 1fr;
    }

    .transactions-v3-item-amount {
        text-align: left;
        justify-items: start;
    }

    .analytics-v3-table td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ==========================================================================
   16. March 20 responsive consolidation
   ========================================================================== */

.dashboard-main-grid {
    grid-template-columns: 1fr !important;
}

.creator-v4-overview-grid {
    grid-template-columns: 1fr !important;
}

.support-ticket-grid--single {
    grid-template-columns: minmax(0, 720px);
    justify-content: start;
}

.image-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    white-space: nowrap;
}

.image-like-btn-icon {
    font-size: 16px;
    line-height: 1;
}

.image-like-btn-label {
    line-height: 1.1;
}

.image-like-btn.is-liked {
    color: var(--white);
    border-color: rgba(255, 79, 163, 0.55) !important;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.22), rgba(123, 97, 255, 0.18)) !important;
    box-shadow: 0 12px 22px rgba(255, 79, 163, 0.16);
}

.owned-collection-thumb-actions,
.owned-collection-modal-actions,
.wall-v3-modal-like-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.owned-collection-thumb-actions > * {
    flex: 1 1 0;
}

.owned-collection-thumb-actions .btn,
.owned-collection-side-actions .btn,
.owned-collection-modal-actions .btn,
.wall-v5-post-actions .btn,
.wall-v3-modal-like-row .btn {
    width: 100%;
    justify-content: center;
}

.owned-collection-modal-like-pill,
.wall-v3-modal-like-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.owned-collection-modal-like-pill strong,
.wall-v3-modal-like-pill strong {
    color: var(--white);
}

.wall-v5-post-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wall-v5-post-actions > * {
    min-width: 0;
}

.protected-media-image {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.wall-v6-page {
    display: grid;
    gap: 18px;
}

.wall-v6-hero {
    margin-bottom: 0;
}

.wall-v6-hero .wall-v4-hero-content {
    display: grid;
    gap: 14px;
}

.wall-v6-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.wall-v6-verify-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(247, 200, 111, 0.22);
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.wall-v6-verify-banner strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.wall-v6-verify-banner p {
    margin: 0;
}

.wall-v6-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 468px);
    gap: 20px;
    align-items: start;
}

.wall-v6-chat-column {
    display: grid;
    grid-column: 2;
    gap: 10px;
    min-width: 0;
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 104px);
}

.wall-v6-feed-section {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 18px;
}

.wall-v6-feed-section .wall-v4-feed-header {
    margin-bottom: 0;
}

.wall-v6-side-card,
.wall-v6-chat-card,
.wall-v6-upload-card {
    box-shadow: var(--shadow);
}

.wall-v6-chat-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: min(820px, calc(100vh - 104px));
    max-height: calc(100vh - 104px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(15, 17, 24, 0.98) 0%, rgba(10, 11, 16, 0.98) 100%);
}

.wall-v6-chat-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.wall-v6-chat-head-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.wall-v6-chat-head-copy h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.wall-v6-chat-counter {
    display: grid;
    gap: 2px;
    justify-items: end;
    flex: 0 0 auto;
    min-width: 88px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.wall-v6-chat-counter strong {
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.wall-v6-chat-counter span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wall-v6-chat-feed {
    display: grid;
    flex: 1 1 auto;
    grid-auto-rows: max-content;
    gap: 10px;
    justify-items: stretch;
    align-content: start;
    min-height: 0;
    max-height: none;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0) 100%);
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.wall-v6-chat-feed::-webkit-scrollbar {
    width: 8px;
}

.wall-v6-chat-feed::-webkit-scrollbar-track {
    background: transparent;
}

.wall-v6-chat-feed::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.wall-v6-chat-feed .public-chat-v1-entry {
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.wall-v6-chat-feed .public-chat-v1-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 16px;
    border-color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: none;
    box-shadow: none;
}

.wall-v6-chat-feed .public-chat-v1-card-head {
    align-items: flex-start;
}

.wall-v6-chat-feed .public-chat-v1-author-row {
    align-items: flex-start;
}

.wall-v6-chat-feed .public-chat-v1-entry--system .public-chat-v1-card {
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(247, 200, 111, 0.18);
}

.wall-v6-chat-feed .public-chat-v1-entry.is-deleted .public-chat-v1-card {
    opacity: 0.72;
}

.wall-v6-chat-feed .public-chat-v1-time {
    padding-top: 2px;
}

.wall-v6-chat-feed .public-chat-v1-actions {
    opacity: 0.9;
}

.wall-v6-chat-feed .public-chat-v1-empty {
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.wall-v6-chat-feed .public-chat-v1-empty p:last-child {
    margin-bottom: 0;
}

.wall-v6-chat-composer {
    flex: 0 0 auto;
    position: static;
    padding: 12px 14px 14px;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(11, 12, 18, 0.98) 0%, rgba(8, 9, 14, 0.98) 100%);
    box-shadow: none;
    border-radius: 0;
}

.wall-v6-chat-composer .form-group label {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wall-v6-chat-composer input[type="text"],
.wall-v6-chat-composer .public-chat-v1-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f7e8ef;
    padding: 12px 14px;
}

.wall-v6-chat-composer input[type="text"] {
    height: 44px;
}

.wall-v6-chat-composer input[type="text"]:focus-visible,
.wall-v6-chat-composer .public-chat-v1-input:focus-visible {
    outline: none;
    border-color: rgba(247, 200, 111, 0.36);
    box-shadow: 0 0 0 3px rgba(247, 200, 111, 0.08);
}

.wall-v6-upload-card {
    padding: 16px;
}

.wall-v6-upload-card--feed {
    display: grid;
    gap: 12px;
}

.wall-v6-upload-form {
    display: grid;
    gap: 12px;
    margin-top: 0;
}

.wall-v6-guest-nickname-group {
    margin-bottom: 0;
}

.wall-v6-feed-section {
    padding-top: 0;
}

.wall-v6-inline-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.wall-v6-upload-guest-actions {
    justify-content: center;
}

.wall-v6-file-picker {
    display: grid;
    gap: 10px;
}

.wall-v6-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.wall-v6-file-trigger {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wall-v6-file-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(247, 200, 111, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.wall-v6-file-input:focus + .wall-v6-file-trigger {
    outline: none;
    border-color: rgba(247, 200, 111, 0.36);
    box-shadow: 0 0 0 3px rgba(247, 200, 111, 0.08);
}

.wall-v6-file-trigger-copy {
    font-size: 15px;
    font-weight: 700;
    color: #f7e8ef;
}

.wall-v6-file-trigger-meta,
.wall-v6-file-name {
    color: var(--muted);
    font-size: 13px;
}

.wall-v6-file-name {
    min-height: 18px;
    padding: 0 2px;
}

.wall-v6-chat-composer .public-chat-v1-input {
    min-height: 76px;
    max-height: 112px;
    resize: vertical;
}

.wall-v6-upload-actions,
.wall-v6-chat-composer .public-chat-v1-composer-footer {
    justify-content: flex-end;
}

.wall-v6-chat-composer .btn {
    min-width: 92px;
    border-radius: 14px;
}

.wall-v5-post--upload .wall-v5-post-creator {
    text-decoration: none;
    cursor: default;
}

.wall-v5-post--upload .wall-v5-post-creator:hover {
    color: #f6ebf1;
}

.wall-v5-post--upload .wall-v3-stat-pill strong {
    font-size: 16px;
}

#wallModalReportLink[hidden] {
    display: none !important;
}

@media (min-width: 901px) {
    .creator-v4-profile-grid {
        grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr) !important;
    }

    .creator-v4-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .creator-v4-primary-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .creator-v4-inline-form .btn,
    .creator-v4-primary-actions > .btn {
        width: 100%;
        min-width: 0 !important;
    }

    .creator-v4-utility-row {
        justify-content: space-between;
        align-items: flex-start;
    }

    .creator-v4-follow-note {
        max-width: 42ch;
    }

    .creator-v4-safety-row {
        grid-template-columns: 1fr !important;
    }

    .creator-v4-safety-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .market-creators-page .market-v3-grid,
    .market-creators-page .creator-market-grid,
    .market-creators-page .collections-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .market-creators-page .market-v3-card,
    .market-creators-page .creator-market-card,
    .market-creators-page .collections-market-grid .collection-card {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 980px) {
    .creator-v4-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .creator-v4-profile-grid,
    .creator-v4-action-grid {
        grid-template-columns: 1fr !important;
    }

    .creator-v4-details-card,
    .creator-v4-image-card,
    .creator-v3-collections-card,
    .creator-v4-action-card {
        min-width: 0;
        width: 100%;
    }

    .creator-v4-primary-actions,
    .creator-v4-safety-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .creator-v4-inline-form,
    .creator-v4-inline-form .btn,
    .creator-v4-primary-actions > .btn,
    .creator-v4-safety-form,
    .creator-v4-safety-form .btn {
        width: 100%;
    }

    .creator-v4-utility-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .creator-v4-follow-note {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .creator-v4-primary-actions {
        grid-template-columns: 1fr !important;
    }

    .market-creators-page .market-v3-grid,
    .market-creators-page .creator-market-grid,
    .market-creators-page .collections-market-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 14px;
    }

    .market-creators-page .collections-market-grid .collection-card {
        display: block;
    }

    .market-creators-page .collections-market-grid .collection-card .library-v3-card-media {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    }

    .market-creators-page .collections-market-grid .collection-card .library-v3-card-image {
        height: 100%;
    }

    .market-creators-page .collections-market-grid .collection-card .library-v3-card-body {
        padding: 12px;
        gap: 8px;
    }

    .market-creators-page .collections-market-grid .collection-card .library-v3-card-title {
        font-size: 18px;
    }

    .market-creators-page .collections-market-grid .collection-card .library-v3-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .owned-collection-thumb-actions,
    .owned-collection-modal-actions,
    .wall-v3-modal-like-row {
        flex-direction: column;
        align-items: stretch;
    }

    .owned-collection-thumb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: stretch;
        gap: 12px;
    }

    .owned-collection-thumb-card {
        width: 100%;
    }

    .wall-v5-post-actions {
        grid-template-columns: 1fr;
    }

    .wall-v6-verify-banner,
    .wall-v6-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .wall-v6-chat-column,
    .wall-v6-feed-section {
        grid-column: auto;
        grid-row: auto;
    }

    .wall-v6-chat-column {
        position: static;
        max-height: none;
    }

    .wall-v6-chat-head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .wall-v6-chat-counter {
        justify-items: start;
    }

    .wall-v6-chat-card {
        height: auto;
        max-height: none;
    }

    .wall-v6-chat-composer .public-chat-v1-input {
        max-height: none;
    }
}

@media (max-width: 560px) {
    .creator-v4-meta-grid,
    .creator-v4-safety-actions {
        grid-template-columns: 1fr !important;
    }
}

.xs-welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 1280;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.xs-welcome-modal[hidden] {
    display: none;
}

.xs-welcome-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.xs-welcome-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(191, 148, 84, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(121, 14, 36, 0.22), transparent 38%),
        rgba(5, 7, 12, 0.76);
    backdrop-filter: blur(16px);
    cursor: pointer;
}

.xs-welcome-modal-shell {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(18, 20, 30, 0.98), rgba(7, 8, 12, 0.96));
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.xs-welcome-modal-shell::before,
.xs-welcome-modal-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.xs-welcome-modal-shell::before {
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(191, 148, 84, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(121, 14, 36, 0.2), transparent 30%);
}

.xs-welcome-modal-shell::after {
    top: 0;
    right: 0;
    width: min(280px, 44%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(222, 183, 117, 0.85), transparent);
}

.xs-welcome-modal-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    min-height: min(680px, 86vh);
}

.xs-welcome-modal-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(34px, 5vw, 56px);
}

.xs-welcome-modal-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.xs-welcome-modal-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.xs-welcome-modal-mark img {
    width: 100%;
    height: auto;
    display: block;
}

.xs-welcome-modal-chip,
.xs-welcome-modal-kicker,
.xs-welcome-modal-actions-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.xs-welcome-modal-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(222, 183, 117, 0.12);
    color: rgba(245, 232, 206, 0.92);
}

.xs-welcome-modal-kicker,
.xs-welcome-modal-actions-kicker {
    margin: 0;
    color: rgba(222, 183, 117, 0.78);
}

.xs-welcome-modal-copy h2 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 0.94;
    letter-spacing: -0.06em;
    color: #f6f2eb;
}

.xs-welcome-modal-body {
    margin: 0;
    max-width: 60ch;
    color: rgba(240, 238, 235, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.08rem);
    line-height: 1.72;
}

.xs-welcome-modal-actions-card {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 20px;
    padding: clamp(30px, 4vw, 42px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(6, 7, 10, 0.5);
}

.xs-welcome-modal-actions {
    display: grid;
    gap: 12px;
}

.xs-welcome-modal-action {
    width: 100%;
    justify-content: center;
    min-height: 52px;
}

.xs-welcome-modal-action-primary {
    box-shadow: 0 20px 36px rgba(191, 148, 84, 0.18);
}

.xs-welcome-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(8, 10, 16, 0.78);
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.xs-welcome-modal-close:hover,
.xs-welcome-modal-close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(222, 183, 117, 0.48);
    background: rgba(12, 14, 20, 0.94);
}

.xs-welcome-modal-open {
    overflow: hidden;
}
/* Compliance surfaces */
.cookie-consent-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    width: min(520px, calc(100vw - 32px));
}

.cookie-consent-shell {
    display: grid;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(10, 12, 22, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
}

.cookie-consent-copy {
    display: grid;
    gap: 8px;
}

.cookie-consent-copy strong {
    font-size: 1rem;
}

.cookie-consent-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .cookie-consent-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .xs-welcome-modal-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .xs-welcome-modal-actions-card {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .xs-welcome-modal-copy h2 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding-bottom: max(172px, calc(172px + env(safe-area-inset-bottom)));
    }

    .xs-welcome-modal {
        padding: 14px;
        align-items: end;
    }

    .xs-welcome-modal-shell {
        border-radius: 26px;
    }

    .xs-welcome-modal-copy,
    .xs-welcome-modal-actions-card {
        padding: 24px 20px;
    }

    .xs-welcome-modal-brand {
        gap: 12px;
    }

    .xs-welcome-modal-mark {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .xs-welcome-modal-close {
        top: 14px;
        right: 14px;
    }

    .cookie-consent-banner {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }

    .cookie-consent-shell {
        gap: 12px;
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
        border-radius: 20px;
        max-height: calc(100dvh - 16px);
    }

    .cookie-consent-copy p {
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .cookie-consent-actions .btn {
        min-height: 44px;
    }
}

/* ==========================================================================
   Public Exposure wall layout
   ========================================================================== */

.wall-v7-page {
    display: grid;
    gap: 24px;
    color-scheme: dark;
}

.wall-v7-hero {
    padding-top: 8px;
}

.wall-v7-hero h1 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    text-wrap: balance;
}

.wall-v7-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.wall-v7-main,
.wall-v7-sidebar {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.wall-v7-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.wall-v7-verify-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(247, 200, 111, 0.22);
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.wall-v7-verify-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.wall-v7-verify-note p,
.wall-v7-upload-locked p,
.wall-v7-account-card p,
.wall-v7-online-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.wall-v7-room {
    min-width: 0;
}

.wall-v7-room-shell {
    display: grid;
    grid-template-rows: auto minmax(280px, 1fr) auto;
    min-height: min(640px, calc(100vh - 190px));
    max-height: 680px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at top left, rgba(255, 71, 166, 0.1), transparent 30%),
        radial-gradient(circle at top right, rgba(107, 74, 255, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(13, 15, 22, 0.98), rgba(8, 9, 14, 0.98));
    box-shadow: var(--shadow);
}

.wall-v7-room-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.wall-v7-room-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.wall-v7-room-copy h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.wall-v7-room-counter,
.wall-v7-online-counter {
    display: grid;
    gap: 2px;
    justify-items: end;
    min-width: 88px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.wall-v7-room-counter strong,
.wall-v7-online-counter strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.wall-v7-room-counter span,
.wall-v7-online-counter span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wall-v7-chat-feed {
    padding: 14px 18px 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0) 100%);
}

.wall-v7-compose-cluster {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 0;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(10, 11, 17, 0.96) 0%, rgba(8, 9, 14, 1) 100%);
}

.wall-v7-compose-panel {
    display: grid;
    gap: 12px;
    min-width: 0;
    align-content: start;
}

.wall-v7-compose-upload {
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    align-content: center;
}

.wall-v7-compose-chat {
    padding-left: 18px;
}

.wall-v7-compose-label {
    display: grid;
    gap: 6px;
}

.wall-v7-compose-label h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.wall-v7-upload-form {
    display: grid;
    gap: 10px;
}

.wall-v7-upload-form .wall-v6-file-picker {
    gap: 8px;
}

.wall-v7-upload-form .wall-v6-file-trigger {
    min-height: 96px;
    align-content: center;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.wall-v7-upload-form .wall-v6-upload-actions {
    justify-content: flex-start;
}

.wall-v7-upload-locked {
    padding: 2px 0;
}

.wall-v7-chat-composer {
    position: static;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.wall-v7-chat-composer .wall-v6-guest-nickname-group {
    display: grid;
    gap: 6px;
    margin: 0;
}

.wall-v7-chat-composer input[type="text"] {
    height: 48px;
}

.wall-v7-chat-composer .public-chat-v1-input {
    min-height: 104px;
    max-height: 152px;
    resize: vertical;
}

.wall-v7-chat-composer .public-chat-v1-composer-footer {
    justify-content: flex-end;
}

.wall-v7-chat-composer .btn,
.wall-v7-upload-form .btn {
    min-width: 112px;
}

.wall-v7-side-card,
.wall-v7-account-card,
.wall-v7-online-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 14, 20, 0.78);
    box-shadow: var(--shadow);
}

.wall-v7-side-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.wall-v7-side-head h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.wall-v7-account-card {
    gap: 12px;
}

.wall-v7-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wall-v7-account-actions .btn {
    flex: 1 1 132px;
}

.wall-v7-feed-section {
    display: grid;
    gap: 12px;
}

.wall-v7-feed-header {
    margin-bottom: 0;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wall-v7-feed-header h2 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 24px);
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.wall-v7-online-head {
    align-items: flex-start;
}

.wall-v7-page .wall-v4-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.wall-v7-online-list {
    display: grid;
    gap: 10px;
    max-height: min(62vh, 760px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.wall-v7-online-list::-webkit-scrollbar {
    width: 8px;
}

.wall-v7-online-list::-webkit-scrollbar-track {
    background: transparent;
}

.wall-v7-online-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.wall-v7-online-entry {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wall-v7-online-entry:hover {
    transform: translateY(-1px);
    border-color: rgba(247, 200, 111, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.wall-v7-online-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.wall-v7-online-copy {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wall-v7-online-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wall-v7-online-empty {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.wall-v7-online-empty strong {
    font-size: 15px;
    letter-spacing: -0.02em;
}

@media (max-width: 1240px) {
    .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .wall-v7-room-shell {
        min-height: min(620px, calc(100vh - 180px));
    }
}

@media (max-width: 1080px) {
    .wall-v7-compose-cluster {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .wall-v7-compose-upload {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .wall-v7-compose-chat {
        padding-left: 0;
    }
}

@media (max-width: 900px) {
    .wall-v7-layout,
    .wall-v7-verify-note,
    .wall-v7-room-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .wall-v7-sidebar {
        position: static;
    }

    .wall-v7-room-shell {
        min-height: 0;
        max-height: none;
    }

    .wall-v7-chat-feed {
        max-height: 420px;
    }
}

@media (max-width: 640px) {
    .wall-v7-page {
        gap: 16px;
    }

    .wall-v7-layout,
    .wall-v7-main,
    .wall-v7-sidebar {
        gap: 16px;
    }

    .wall-v7-hero h1 {
        font-size: clamp(42px, 18vw, 64px);
    }

    .wall-v7-verify-note {
        gap: 12px;
        padding: 16px;
    }

    .wall-v7-room-head,
    .wall-v7-side-card,
    .wall-v7-compose-cluster {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wall-v7-chat-feed {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wall-v7-account-actions,
    .wall-v7-online-head {
        align-items: stretch;
    }

    .wall-v7-account-actions .btn {
        width: 100%;
    }

    .wall-v7-online-counter {
        justify-items: start;
    }

    .wall-v7-room-counter {
        justify-items: start;
    }

    .wall-v7-chat-composer .public-chat-v1-composer-footer,
    .wall-v7-upload-form .wall-v6-upload-actions {
        justify-content: stretch;
    }

    .wall-v7-chat-composer .btn,
    .wall-v7-upload-form .btn {
        width: 100%;
    }

    .wall-v7-online-entry {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .wall-v7-online-avatar {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Public Exposure compact follow-up
   ========================================================================== */

:root {
    --max-width: clamp(1240px, 94vw, 1560px);
}

.container {
    max-width: min(var(--max-width), calc(100vw - 20px));
    padding-inline: clamp(14px, 1.6vw, 24px);
}

.wall-v7-page {
    gap: 18px;
}

.wall-v7-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 14px;
}

.wall-v7-main,
.wall-v7-sidebar {
    gap: 12px;
}

.wall-v7-hero h1 {
    max-width: none;
    font-size: clamp(46px, 6.1vw, 80px);
}

.wall-v7-room-shell {
    grid-template-rows: auto auto auto;
    min-height: 0;
    max-height: none;
    border-radius: 26px;
}

.wall-v7-room-head {
    padding: 14px 18px 12px;
    align-items: center;
}

.wall-v7-room-copy h2 {
    font-size: 17px;
    letter-spacing: -0.03em;
}

.wall-v7-room-stream {
    display: grid;
    gap: 12px;
    padding: 12px 14px 0;
}

.wall-v7-room-stream--chat {
    padding-bottom: 0;
}

.wall-v7-room-stream--feed {
    padding-top: 0;
    padding-bottom: 16px;
}

.wall-v7-chat-feed {
    max-height: min(34vh, 340px);
    padding: 0;
    gap: 8px;
    background: none;
}

.wall-v7-chat-feed .public-chat-v1-card {
    border-radius: 14px;
    padding: 12px 14px;
}

.wall-v7-chat-feed .public-chat-v1-card-head {
    gap: 8px;
}

.wall-v7-chat-feed .public-chat-v1-message-body,
.wall-v7-chat-feed .public-chat-v1-system-body,
.wall-v7-chat-feed .public-chat-v1-system-detail,
.wall-v7-chat-feed .public-chat-v1-deleted {
    font-size: 13px;
}

.wall-v7-chat-feed .public-chat-v1-actions {
    gap: 6px;
}

.wall-v7-room-stream .wall-v4-grid {
    gap: 12px;
}

.wall-v7-feed-grid {
    padding-top: 0;
    border-top: 0;
}

.wall-v7-feed-grid.is-empty,
.wall-v7-feed-grid[hidden],
.wall-v7-feed-loader[hidden] {
    display: none !important;
}

.wall-v7-room-stream .wall-v3-card {
    border-radius: 18px;
    overflow: hidden;
}

.wall-v7-room-stream .wall-v3-card-body {
    gap: 14px;
}

.wall-v7-room-stream .wall-v3-stat-row {
    gap: 10px;
}

.wall-v7-room-stream .wall-v3-stat-pill {
    min-width: 0;
}

.wall-v7-feed-loader {
    justify-content: center;
    padding: 6px 0 0;
}

.wall-v7-room-compose {
    display: grid;
    grid-template-columns: minmax(240px, auto) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
    padding: 14px 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(10, 11, 17, 0.94) 0%, rgba(8, 9, 14, 1) 100%);
}

.wall-v7-compose-upload,
.wall-v7-compose-chat {
    min-width: 0;
}

.wall-v7-compose-upload {
    display: grid;
    align-content: end;
}

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

.wall-v7-upload-inline .wall-v6-file-trigger {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.wall-v7-upload-inline .wall-v6-file-trigger-copy {
    font-size: 14px;
}

.wall-v7-upload-inline .wall-v6-file-trigger-meta,
.wall-v7-upload-inline .wall-v6-file-name {
    font-size: 12px;
}

.wall-v7-upload-inline .btn {
    min-height: 48px;
    min-width: 128px;
    padding-inline: 18px;
    box-shadow: none;
}

.wall-v7-upload-inline .wall-v6-file-name,
.wall-v7-upload-inline .public-chat-v1-feedback {
    flex-basis: 100%;
}

.wall-v7-upload-inline .wall-v6-file-name {
    min-height: 0;
    padding: 0;
}

.wall-v7-upload-locked {
    padding: 0;
}

.wall-v7-upload-locked p {
    font-size: 13px;
}

.wall-v7-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: end;
}

.wall-v7-chat-nickname,
.wall-v7-chat-composer .public-chat-v1-feedback {
    grid-column: 1 / -1;
}

.wall-v7-chat-nickname {
    margin: 0;
}

.wall-v7-chat-composer input[type="text"],
.wall-v7-chat-composer .public-chat-v1-input {
    border-radius: 14px;
}

.wall-v7-chat-composer .public-chat-v1-input {
    min-height: 72px;
    max-height: 112px;
    padding: 12px 14px;
    resize: vertical;
}

.wall-v7-chat-composer .public-chat-v1-composer-footer {
    align-self: end;
    justify-content: flex-end;
}

.wall-v7-chat-composer .btn {
    min-width: 96px;
    min-height: 48px;
    padding-inline: 18px;
}

.wall-v7-side-card {
    padding: 16px;
    border-radius: 22px;
}

.wall-v7-side-head h2 {
    font-size: 16px;
}

.wall-v7-account-card p,
.wall-v7-online-empty p,
.wall-v7-online-status {
    font-size: 13px;
}

.wall-v7-online-list {
    max-height: min(52vh, 620px);
}

@media (max-width: 1120px) {
    .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .wall-v7-room-compose {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .wall-v7-chat-feed {
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .container {
        max-width: calc(100vw - 12px);
        padding-inline: 12px;
    }

    .wall-v7-page {
        gap: 16px;
    }

    .wall-v7-hero h1 {
        font-size: clamp(40px, 16vw, 58px);
    }

    .wall-v7-room-head,
    .wall-v7-room-stream,
    .wall-v7-room-compose,
    .wall-v7-side-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .wall-v7-chat-composer {
        grid-template-columns: minmax(0, 1fr);
    }

    .wall-v7-chat-composer .public-chat-v1-composer-footer,
    .wall-v7-upload-inline {
        justify-content: stretch;
    }

    .wall-v7-upload-inline .wall-v6-file-trigger,
    .wall-v7-upload-inline .btn,
    .wall-v7-chat-composer .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Public Exposure timeline UX pass
   ========================================================================== */

.wall-v7-page {
    padding: 12px 20px 24px !important;
    gap: 0;
}

.wall-v7-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "main hero"
        "main sidebar";
    align-items: start;
    gap: 10px 16px;
    min-height: calc(100dvh - 132px);
}

.wall-v7-main {
    grid-area: main;
    align-self: stretch;
    min-height: 0;
}

.wall-v8-sidebar-title {
    grid-area: hero;
    padding: 0 4px 0 0;
    align-self: start;
}

.wall-v7-sidebar {
    grid-area: sidebar;
    position: static;
    top: auto;
    gap: 12px;
}

.wall-v7-hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.wall-v8-room-shell {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    height: clamp(560px, calc(100dvh - 150px), 760px);
    min-height: 560px;
    overflow: hidden;
}

.wall-v8-timeline-shell {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 8px 0 12px;
    scroll-padding-top: 14px;
    scroll-padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(236, 84, 183, 0.65) rgba(255, 255, 255, 0.04);
    scrollbar-gutter: stable;
}

.wall-v8-timeline-shell::before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    height: 36px;
    margin-bottom: -36px;
    background: linear-gradient(180deg, rgba(11, 12, 18, 0.98), rgba(11, 12, 18, 0));
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}

.wall-v8-timeline-shell.has-hidden-history::before {
    opacity: 1;
}

.wall-v8-timeline-shell::-webkit-scrollbar {
    width: 8px;
}

.wall-v8-timeline-shell::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

.wall-v8-timeline-shell::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(236, 84, 183, 0.88), rgba(127, 96, 255, 0.88));
    border-radius: 999px;
}

.wall-v8-timeline-shell > .public-chat-v1-feed.wall-v6-chat-feed.wall-v7-chat-feed.wall-v8-timeline-feed {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 8px;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: none !important;
    min-height: 100%;
}

.wall-v8-timeline-feed.is-empty {
    min-height: 100%;
}

.wall-v8-timeline-feed .public-chat-v1-card {
    border-radius: 16px;
    padding: 11px 13px;
}

.wall-v8-timeline-feed .public-chat-v1-card-head {
    gap: 8px;
    align-items: center;
}

.wall-v8-timeline-feed .public-chat-v1-author-row {
    min-width: 0;
}

.wall-v8-timeline-feed .public-chat-v1-author-row strong,
.wall-v8-timeline-feed .public-chat-v1-time {
    font-size: 13px;
}

.wall-v8-timeline-feed .public-chat-v1-message-body,
.wall-v8-timeline-feed .public-chat-v1-system-body,
.wall-v8-timeline-feed .public-chat-v1-system-detail,
.wall-v8-timeline-feed .public-chat-v1-deleted {
    font-size: 13px;
    line-height: 1.5;
}

.wall-v8-timeline-feed .public-chat-v1-actions {
    gap: 8px;
    margin-top: 8px;
}

.wall-v8-timeline-entry--media .public-chat-v1-card {
    display: grid;
    gap: 8px;
    justify-items: start;
    width: fit-content;
    max-width: min(332px, 100%);
}

.wall-v8-timeline-preview {
    width: min(300px, 100%);
    max-width: 100%;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 42px rgba(4, 6, 12, 0.38);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.wall-v8-timeline-preview:hover,
.wall-v8-timeline-preview:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(4, 6, 12, 0.44);
}

.wall-v8-timeline-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.wall-v8-room-compose {
    display: grid;
    gap: 6px;
    padding: 8px 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(10, 11, 17, 0.94) 0%, rgba(8, 9, 14, 1) 100%);
}

.wall-v8-chat-composer {
    display: grid;
    position: static;
    bottom: auto;
    gap: 6px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.wall-v8-chat-composer .wall-v7-chat-nickname,
.wall-v8-chat-composer .public-chat-v1-feedback {
    margin: 0;
}

.wall-v8-chat-composer input[type="text"] {
    min-height: 42px;
    padding: 9px 11px;
}

.wall-v8-chat-composer input[type="text"],
.wall-v8-chat-composer .public-chat-v1-input {
    width: 100%;
    border-radius: 14px;
}

.wall-v8-message-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: end;
}

.wall-v8-chat-composer .public-chat-v1-input {
    min-height: 50px;
    max-height: 78px;
    padding: 9px 11px;
    line-height: 1.4;
    resize: vertical;
}

.wall-v8-chat-composer .public-chat-v1-feedback,
.wall-v8-upload-inline .public-chat-v1-feedback {
    padding: 6px 9px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
}

.wall-v8-room-compose.is-text-only .wall-v8-message-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.wall-v8-room-compose.is-text-only .wall-v8-chat-composer .public-chat-v1-input {
    min-height: 50px;
}

.wall-v8-compose-footer {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.wall-v8-compose-upload {
    flex: 1 1 auto;
    min-width: 0;
}

.wall-v8-upload-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wall-v8-upload-inline .wall-v6-file-trigger {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
}

.wall-v8-upload-inline .wall-v6-file-trigger-copy,
.wall-v8-upload-inline .btn,
.wall-v8-send-button {
    font-size: 12px;
}

.wall-v8-upload-inline .wall-v6-file-trigger-meta,
.wall-v8-upload-inline .wall-v6-file-name,
.wall-v8-upload-inline .public-chat-v1-feedback {
    font-size: 12px;
}

.wall-v8-upload-inline .btn {
    min-height: 36px;
    min-width: 0;
    padding-inline: 11px;
    box-shadow: none;
    white-space: nowrap;
}

.wall-v8-upload-inline .wall-v6-file-name,
.wall-v8-upload-inline .public-chat-v1-feedback {
    flex-basis: 100%;
}

.wall-v8-compose-actions {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    flex: 0 0 auto;
}

.wall-v8-compose-actions--inline {
    align-self: stretch;
    margin-left: 0;
}

.wall-v8-compose-actions--inline .wall-v8-send-button {
    height: 100%;
    min-height: 50px;
}

.wall-v8-send-button {
    min-width: 78px;
    min-height: 36px;
    padding-inline: 12px;
}

.wall-v7-feed-loader {
    flex: 0 0 auto;
    min-height: 1px;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 140ms ease;
}

.wall-v7-feed-loader.is-loading {
    min-height: 28px;
    padding: 0 0 10px;
    opacity: 1;
}

.wall-v7-side-card {
    padding: 12px;
}

.wall-v7-side-head h2 {
    font-size: 14px;
}

.wall-v7-account-card p,
.wall-v7-online-empty p,
.wall-v7-online-status {
    font-size: 12px;
    line-height: 1.55;
}

.wall-v7-account-actions {
    gap: 6px;
}

.wall-v7-account-actions .btn {
    font-size: 11px;
    min-width: 0;
    min-height: 36px;
    padding-inline: 9px;
    white-space: nowrap;
}

.wall-v8-modal-details {
    margin-top: 14px;
}

.wall-v3-modal-dialog {
    gap: 12px;
    padding: 16px;
    overflow: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(236, 84, 183, 0.62) rgba(255, 255, 255, 0.05);
}

.wall-v3-modal-image {
    max-height: none;
    display: block;
}

.wall-v11-modal-media-shell {
    position: relative;
    min-height: clamp(320px, 58vh, 660px);
    height: min(70vh, 660px);
    padding: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: zoom-in;
    touch-action: none;
}

.wall-v11-modal-media-shell.is-zoomed {
    cursor: grab;
}

.wall-v11-modal-media-shell.is-dragging {
    cursor: grabbing;
}

.wall-v11-modal-media-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

.wall-v11-modal-media-stage .wall-v3-modal-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 180ms ease;
    transform-origin: center center;
    will-change: transform;
    user-select: none;
    pointer-events: none;
}

.wall-v11-modal-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wall-v11-modal-like-form {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.wall-v11-modal-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(224, 228, 238, 0.82);
}

.wall-v11-modal-stat-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(224, 228, 238, 0.72);
}

.wall-v11-modal-stat strong {
    color: var(--white);
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wall-v11-modal-like-button {
    width: auto;
    min-width: 0;
    justify-content: center;
    box-shadow: none;
    white-space: nowrap;
}

.wall-v11-modal-like-button.is-liked {
    color: var(--white);
    border-color: rgba(255, 79, 163, 0.55) !important;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.22), rgba(123, 97, 255, 0.18)) !important;
}

.wall-v11-modal-like-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.18);
}

.wall-v11-modal-like-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wall-v11-modal-like-copy .image-like-btn-icon {
    font-size: 15px;
}

.wall-v11-modal-like-copy .image-like-btn-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.wall-v11-modal-like-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.wall-v11-modal-view-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.wall-v11-modal-view-count strong {
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

@media (max-width: 1120px) {
    .wall-v7-page {
        padding-bottom: 28px !important;
    }

    .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hero"
            "main"
            "sidebar";
        min-height: 0;
    }

    .wall-v8-sidebar-title {
        padding-right: 0;
    }

    .wall-v7-hero h1 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .wall-v8-room-shell {
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .wall-v8-timeline-shell {
        max-height: 68vh;
    }
}

@media (min-width: 901px) {
    body.wall-v8-page-lock {
        overflow: hidden;
    }

    body.wall-v8-page-lock .site-footer {
        display: none;
    }
}

@media (max-width: 900px) {
    .wall-v8-timeline-shell {
        max-height: none;
        overflow: visible;
        padding-bottom: 0;
    }

    .wall-v8-room-shell {
        height: auto;
    }

    .wall-v8-compose-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .wall-v8-room-compose.is-text-only .wall-v8-message-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .wall-v8-compose-actions {
        width: 100%;
    }

    .wall-v8-compose-actions--inline .wall-v8-send-button {
        min-height: 44px;
    }

    .wall-v8-send-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .wall-v7-page {
        padding: 10px 12px 20px !important;
        gap: 14px;
    }

    .wall-v7-hero h1 {
        font-size: clamp(22px, 10vw, 30px);
    }

    .wall-v8-timeline-shell,
    .wall-v8-room-compose,
    .wall-v7-side-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .wall-v8-timeline-preview {
        width: 100%;
    }

    .wall-v8-upload-inline .wall-v6-file-trigger,
    .wall-v8-upload-inline .btn {
        width: 100%;
    }

    .wall-v3-modal-image {
        max-height: 46vh;
    }

    .wall-v11-modal-media-shell {
        min-height: min(54vh, 460px);
        height: min(54vh, 460px);
        padding: 10px;
    }

    .wall-v11-modal-stats-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .wall-v11-modal-like-form {
        width: 100%;
        justify-content: space-between;
    }

    .wall-v11-modal-view-count {
        width: 100%;
        justify-content: space-between;
    }

}

/* ==========================================================================
   Public Exposure chat-surface rebuild
   ========================================================================== */

.wall-v8-sidebar-title {
    padding: 8px 6px 0 0;
}

.wall-v8-sidebar-title h1 {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

#wallCommunityChat .wall-v8-room-shell {
    height: clamp(520px, calc(100dvh - 160px), 760px);
    min-height: 520px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(19, 21, 32, 0.98), rgba(9, 11, 18, 0.99)),
        linear-gradient(90deg, rgba(255, 74, 164, 0.05), rgba(108, 84, 255, 0.04));
}

.wall-v10-timeline-region {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    z-index: 1;
}

#wallCommunityChat .wall-v8-timeline-shell {
    height: 100%;
    padding: 8px 20px 0 12px;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#wallCommunityChat .wall-v8-timeline-shell::-webkit-scrollbar {
    width: 0;
    height: 0;
}

#wallCommunityChat .wall-v8-timeline-shell::before {
    display: none;
}

.wall-v10-scrollbar {
    position: absolute;
    top: 12px;
    right: 6px;
    bottom: 12px;
    width: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: auto;
}

.wall-v10-scrollbar[hidden] {
    display: none;
}

.wall-v10-scrollbar-thumb {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(10, 12, 18, 0.96);
    background: linear-gradient(180deg, rgba(236, 84, 183, 0.92), rgba(127, 96, 255, 0.94));
    box-shadow: 0 10px 22px rgba(236, 84, 183, 0.22);
    cursor: grab;
    touch-action: none;
}

.wall-v10-scrollbar-thumb.is-static {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
    box-shadow: none;
    cursor: default;
}

.wall-v10-scrollbar-thumb.is-dragging {
    cursor: grabbing;
}

#wallCommunityChat .wall-v8-timeline-shell > .public-chat-v1-feed.wall-v6-chat-feed.wall-v7-chat-feed.wall-v8-timeline-feed {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0 !important;
    min-height: max-content;
    flex: 0 0 auto;
    padding: 0 6px 0 0 !important;
}

.wall-v9-stream-entry {
    position: relative;
    width: 100%;
    padding-left: 35px;
}

.wall-v9-stream-entry + .wall-v9-stream-entry {
    margin-top: 2px;
}

.wall-v9-stream-avatar-shell {
    position: absolute;
    top: 14px;
    left: 4px;
    z-index: 2;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wall-v9-stream-avatar {
    flex: 0 0 25px;
    width: 25px !important;
    height: 25px !important;
    aspect-ratio: 1 / 1;
    border-radius: 7px !important;
    object-fit: cover;
    object-position: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(41, 197, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(10, 12, 18, 0.96);
}

.wall-v9-stream-avatar-shell--system {
    top: 14px;
}

.wall-v9-stream-system-mark {
    width: 25px !important;
    height: 25px !important;
    border-radius: 7px !important;
    display: grid;
    place-items: center;
    border: 1px solid rgba(247, 200, 111, 0.46);
    background: linear-gradient(180deg, rgba(247, 200, 111, 0.18), rgba(255, 255, 255, 0.04));
    box-shadow: 0 0 0 1px rgba(10, 12, 18, 0.96);
    font-size: 8px;
    letter-spacing: 0.08em;
}

.wall-v9-stream-card {
    gap: 6px;
    min-height: 0;
    width: 100%;
    padding: 12px 16px 12px 16px !important;
    border-radius: 0 16px 16px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.018)) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.wall-v9-stream-card--system {
    background: linear-gradient(90deg, rgba(247, 200, 111, 0.08), rgba(255, 255, 255, 0.02)) !important;
}

.wall-v9-stream-card .public-chat-v1-card-head {
    gap: 12px;
    align-items: flex-start;
}

.wall-v9-stream-card .public-chat-v1-author-row {
    gap: 6px 8px;
}

.wall-v9-stream-card .public-chat-v1-author-row strong {
    font-size: 16px;
    line-height: 1.2;
}

.wall-v9-stream-card .public-chat-v1-time {
    padding-top: 2px;
    font-size: 12px;
    color: rgba(226, 230, 242, 0.66);
}

.wall-v9-stream-card .public-chat-v1-message-body,
.wall-v9-stream-card .public-chat-v1-system-body,
.wall-v9-stream-card .public-chat-v1-deleted {
    font-size: 14px;
    line-height: 1.5;
}

.wall-v9-stream-card .public-chat-v1-badge {
    padding: 3px 7px;
    font-size: 10px;
}

.wall-v9-stream-card .public-chat-v1-actions {
    gap: 12px;
    margin-top: 2px;
}

.wall-v9-stream-card .public-chat-v1-action-btn {
    font-size: 11px;
    letter-spacing: 0.08em;
}

.wall-v9-stream-entry--media .wall-v9-stream-card {
    width: 100% !important;
    max-width: none !important;
    gap: 7px;
}

.wall-v9-stream-entry--media .wall-v8-timeline-preview {
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
}

.wall-v9-stream-entry--media .wall-v8-timeline-preview img {
    width: auto;
    height: auto;
    max-width: min(320px, 100%);
    max-height: min(360px, 42vh);
    object-fit: contain;
    border-radius: inherit;
}

#wallCommunityChat .wall-v8-room-compose {
    position: relative;
    z-index: 3;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.96), rgba(8, 10, 15, 1));
}

#wallCommunityChat .wall-v8-chat-composer {
    gap: 8px;
}

#wallCommunityChat .wall-v8-room-compose.has-upload {
    gap: 10px;
}

#wallCommunityChat .wall-v8-compose-inline-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

#wallCommunityChat .wall-v8-chat-composer--member {
    display: block;
    min-width: 0;
}

#wallCommunityChat .wall-v8-chat-composer input[type="text"] {
    min-height: 42px;
    padding-inline: 14px;
    border-radius: 14px;
}

#wallCommunityChat .wall-v8-message-row {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 8px;
}

#wallCommunityChat .wall-v8-message-row--guest {
    grid-template-columns: minmax(148px, 176px) minmax(0, 1fr) 58px;
    align-items: center;
}

#wallCommunityChat .wall-v8-message-row--guest-upload {
    grid-template-columns: minmax(148px, 176px) minmax(0, 1fr);
}

#wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname {
    margin: 0;
    min-width: 0;
    width: auto;
    grid-column: auto;
}

#wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname input[type="text"] {
    min-height: 52px;
    height: 52px;
    padding-inline: 16px;
    border-radius: 999px;
}

#wallCommunityChat .wall-v8-room-compose.is-text-only .wall-v8-message-row {
    grid-template-columns: minmax(0, 1fr) 58px;
}

#wallCommunityChat .wall-v8-room-compose.is-text-only .wall-v8-message-row--guest {
    grid-template-columns: minmax(148px, 176px) minmax(0, 1fr) 58px;
}

#wallCommunityChat .wall-v8-chat-composer .public-chat-v1-input {
    min-height: 52px;
    max-height: 52px;
    height: 52px;
    padding: 14px 17px;
    border-radius: 999px;
    line-height: 1.25;
    resize: none;
    overflow-y: auto;
}

#wallCommunityChat .wall-v8-chat-composer--member .public-chat-v1-input {
    width: 100%;
}

#wallCommunityChat .wall-v8-compose-footer {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#wallCommunityChat .wall-v8-compose-control-rail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-upload {
    flex: 0 1 auto;
    min-width: 0;
}

#wallCommunityChat #wallUploadPanel[hidden] {
    display: none !important;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-actions {
    margin-left: 0;
}

#wallCommunityChat .wall-v8-send-button {
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    height: 54px;
    padding: 0;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    box-shadow: 0 16px 28px rgba(255, 79, 163, 0.24);
}

#wallCommunityChat .wall-v8-send-button::before {
    content: "\2197";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-indent: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
}

#wallCommunityChat .wall-v8-upload-inline {
    flex-wrap: nowrap;
    gap: 8px;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline {
    align-items: center;
    min-width: 0;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline .wall-v6-file-trigger,
#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline .btn {
    flex: 0 0 auto;
}

#wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, 0.92);
}

#wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Cpath d='m21 16-5-5L5 21'/%3E%3Cpath d='M12 3v7'/%3E%3Cpath d='m8 7 4-4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='10.5' r='1.5'/%3E%3Cpath d='m21 16-5-5L5 21'/%3E%3Cpath d='M12 3v7'/%3E%3Cpath d='m8 7 4-4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

#wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

#wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger-meta {
    display: none;
}

#wallCommunityChat .wall-v8-upload-inline .btn {
    min-height: 42px;
    border-radius: 999px;
    padding-inline: 14px;
    font-size: 11px;
    white-space: nowrap;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline .btn {
    padding-inline: 12px;
}

#wallCommunityChat .wall-v8-upload-inline .wall-v6-file-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline .wall-v6-file-name {
    flex: 0 1 clamp(72px, 8vw, 112px);
    min-width: 72px;
    max-width: 112px;
}

#wallCommunityChat .wall-v8-room-compose.is-guest-upload-locked .wall-v8-compose-inline-layout {
    grid-template-columns: minmax(0, 1fr) auto;
}

#wallCommunityChat .wall-v8-room-compose.is-guest-upload-locked .wall-v8-compose-control-rail {
    width: auto;
}

#wallCommunityChat .wall-v8-upload-inline .public-chat-v1-feedback {
    flex-basis: 100%;
}

#wallCommunityChat .wall-v8-compose-feedback-row {
    display: grid;
    gap: 8px;
}

#wallCommunityChat .wall-v8-compose-feedback-row .public-chat-v1-feedback {
    margin: 0;
}

@media (max-width: 900px) {
    .wall-v8-sidebar-title {
        padding: 0;
    }

    .wall-v8-sidebar-title h1 {
        font-size: clamp(30px, 11vw, 42px);
    }

    #wallCommunityChat .wall-v8-room-shell {
        height: auto;
        min-height: 0;
    }

    .wall-v10-scrollbar {
        display: none;
    }

    .wall-v9-stream-entry {
        padding-left: 35px;
    }

    #wallCommunityChat .wall-v8-message-row,
    #wallCommunityChat .wall-v8-room-compose.is-text-only .wall-v8-message-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #wallCommunityChat .wall-v8-message-row--guest {
        grid-template-columns: minmax(0, 1fr);
    }

    #wallCommunityChat .wall-v8-message-row--guest-upload {
        grid-template-columns: minmax(0, 1fr);
    }

    #wallCommunityChat .wall-v8-compose-inline-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    #wallCommunityChat .wall-v8-compose-control-rail {
        width: 100%;
        justify-content: space-between;
    }

    #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-upload {
        flex: 1 1 calc(100% - 62px);
        min-width: calc(100% - 62px);
    }

    #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline {
        width: 100%;
        flex-wrap: nowrap;
    }

    #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline .wall-v6-file-name {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    #wallCommunityChat .wall-v8-send-button {
        width: 100%;
        min-width: 0;
        border-radius: 999px;
        text-indent: 0;
    }

    #wallCommunityChat .wall-v8-send-button::before {
        content: none;
    }

    #wallCommunityChat .wall-v8-upload-inline {
        flex-wrap: wrap;
    }

    #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-send-button {
        width: 54px;
        min-width: 54px;
        text-indent: -9999px;
    }

    #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-send-button::before {
        content: "\2197";
    }
}

.wall-v12-limit-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 18px;
}

.wall-v12-limit-modal[hidden] {
    display: none;
}

.wall-v12-limit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 10, 0.74);
    backdrop-filter: blur(14px);
}

.wall-v12-limit-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 20, 28, 0.98), rgba(10, 12, 18, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.wall-v12-limit-modal-kicker {
    margin: 0;
    color: rgba(255, 180, 220, 0.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wall-v12-limit-modal-dialog h2,
.wall-v12-limit-modal-dialog p {
    margin: 0;
}

.wall-v12-limit-modal-dialog h2 {
    color: #fff;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: 0;
}

.wall-v12-limit-modal-dialog p {
    color: rgba(255, 238, 246, 0.76);
    font-size: 14px;
    line-height: 1.55;
}

.wall-v12-limit-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 4px;
}

.wall-v12-limit-modal-actions .btn {
    min-height: 42px;
}

.wall-v12-limit-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
}

.wall-v12-limit-modal-close:hover,
.wall-v12-limit-modal-close:focus-visible {
    border-color: rgba(255, 108, 184, 0.44);
    background: rgba(255, 108, 184, 0.16);
    outline: none;
}

body.wall-guest-limit-modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .wall-v12-limit-modal-dialog {
        padding: 20px 16px 16px;
        border-radius: 16px;
    }

    .wall-v12-limit-modal-dialog h2 {
        font-size: 21px;
    }

    .wall-v12-limit-modal-actions {
        display: grid;
    }
}

/* ==========================================================================
   Public Wall lean viewport pass
   ========================================================================== */

body.public-wall-page header.site-header.xs-header {
    padding-top: 2px;
}

body.public-wall-page header.site-header.xs-header > .container {
    width: 100%;
    max-width: none;
    padding-inline: 6px;
}

body.public-wall-page header.site-header.xs-header .xs-header-shell {
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body.public-wall-page header.site-header.xs-header .xs-header-bar {
    min-height: 46px;
    padding: 4px 8px;
    gap: 6px;
}

body.public-wall-page header.site-header.xs-header .xs-header-brand-cluster {
    gap: 0;
    max-width: 100%;
}

body.public-wall-page header.site-header.xs-header .xs-header-page-title {
    min-width: 0;
    margin: 0;
    padding-left: 0;
    border-left: 0;
    color: #fff;
    font-size: clamp(16px, 1.45vw, 20px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.public-wall-page header.site-header.xs-header .xs-header-bar-right,
body.public-wall-page header.site-header.xs-header .xs-header-summary {
    gap: 8px;
}

body.public-wall-page header.site-header.xs-header .xs-header-guest-status {
    display: none;
}

body.public-wall-page header.site-header.xs-header .xs-header-pill,
body.public-wall-page header.site-header.xs-header .xs-header-account,
body.public-wall-page header.site-header.xs-header .xs-header-wall-cta,
body.public-wall-page header.site-header.xs-header .xs-header-home-cta,
body.public-wall-page header.site-header.xs-header .xs-language-switcher-shell,
body.public-wall-page header.site-header.xs-header .xs-header-toggle {
    min-height: 34px;
    border-radius: 11px;
}

body.public-wall-page header.site-header.xs-header .xs-header-pill {
    padding-inline: 10px;
}

body.public-wall-page header.site-header.xs-header .xs-header-wall-cta {
    padding-inline: 12px;
    font-size: 10px;
}

body.public-wall-page header.site-header.xs-header .xs-header-home-cta {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 10px;
    white-space: nowrap;
}

body.public-wall-page header.site-header.xs-header .xs-header-pill-label,
body.public-wall-page header.site-header.xs-header .xs-header-account-label {
    font-size: 9px;
}

body.public-wall-page header.site-header.xs-header .xs-header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 9px;
}

body.public-wall-page header.site-header.xs-header .xs-language-switcher-shell {
    min-width: 62px;
    padding-inline: 10px 9px;
}

body.public-wall-page header.site-header.xs-header .xs-header-toggle {
    width: 34px;
    height: 34px;
}

body.public-wall-page .wall-v7-page {
    width: 100%;
    max-width: none;
    padding: 4px 8px 6px !important;
}

body.public-wall-page .wall-v7-layout {
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "main room-picker"
        "main sidebar";
    gap: 8px;
    min-height: calc(100dvh - 64px);
}

body.public-wall-page .wall-v9-stream-entry--media .wall-v8-timeline-preview img {
    max-width: min(160px, 100%);
    max-height: min(180px, 32vh);
}

body.public-wall-page .wall-v7-sidebar {
    gap: 6px;
    top: 58px;
    height: auto;
    min-height: 0;
    align-self: start;
}

body.public-wall-page .wall-v15-room-picker {
    grid-area: room-picker;
    align-self: start;
    gap: 6px;
}

body.public-wall-page .wall-v15-room-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.public-wall-page .wall-v15-room-picker h2 {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.15;
}

body.public-wall-page .wall-v15-room-form {
    display: block;
}

body.public-wall-page .wall-v15-room-form select {
    width: 100%;
    min-height: 36px;
    padding: 0 28px 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background-color: rgba(6, 8, 13, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

body.public-wall-page .wall-v15-room-form select:focus-visible {
    outline: 2px solid rgba(255, 79, 163, 0.72);
    outline-offset: 2px;
}

body.public-wall-page #wallCommunityChat .wall-v8-room-shell {
    grid-template-rows: minmax(0, 1fr) auto auto;
    height: clamp(420px, calc(100dvh - 64px), 920px);
    min-height: 420px;
    border-radius: 16px;
}

body.public-wall-page #wallCommunityChat .wall-v14-room-rules {
    margin: 0;
    padding: 2px 10px 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    background: rgba(7, 9, 14, 0.98);
    color: rgba(208, 214, 229, 0.58);
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
}

body.public-wall-page #wallCommunityChat .wall-v8-timeline-shell {
    padding: 4px 14px 0 8px;
}

body.public-wall-page #wallCommunityChat .wall-v8-room-compose {
    gap: 4px;
    padding: 4px 8px;
}

body.public-wall-page #wallCommunityChat .wall-v8-room-compose.has-upload {
    gap: 4px;
}

body.public-wall-page #wallCommunityChat .wall-v8-compose-inline-layout {
    gap: 8px;
}

body.public-wall-page #wallCommunityChat .wall-v8-compose-control-rail {
    gap: 6px;
}

body.public-wall-page #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-upload {
    padding: 0;
    border: 0;
    align-content: center;
}

body.public-wall-page #wallCommunityChat .wall-v8-chat-composer .public-chat-v1-input,
body.public-wall-page #wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname input[type="text"] {
    min-height: 36px;
    height: 36px;
    max-height: 36px;
    padding-block: 7px;
}

body.public-wall-page #wallCommunityChat .wall-v8-send-button {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    height: 36px;
}

body.public-wall-page #wallCommunityChat .wall-v8-send-button::before {
    font-size: 20px;
}

body.public-wall-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    height: 36px;
}

body.public-wall-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger::before {
    width: 18px;
    height: 18px;
}

body.public-wall-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-name {
    display: flex;
    align-items: center;
    min-height: 36px;
    line-height: 1.15;
    font-size: 10px;
}

body.public-wall-page .wall-v7-side-card {
    gap: 7px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
}

body.public-wall-page .wall-v7-online-head {
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

body.public-wall-page .wall-v7-online-card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

body.public-wall-page .wall-v7-online-head h2 {
    display: none;
}

body.public-wall-page .wall-v7-online-counter {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 10px;
}

body.public-wall-page .wall-v7-online-counter strong {
    font-size: 18px;
    line-height: 1;
}

body.public-wall-page .wall-v7-online-counter span {
    font-size: 9px;
    line-height: 1;
}

body.public-wall-page .wall-v7-online-list {
    flex: 0 1 auto;
    min-height: 0;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 6px;
    max-height: min(50dvh, 360px);
    padding-right: 1px;
    overflow-y: auto;
}

body.public-wall-page .wall-v7-online-entry {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
    min-height: 32px;
    padding: 3px 5px;
    border-radius: 9px;
}

body.public-wall-page .wall-v7-online-avatar {
    width: 24px;
    height: 24px;
    border-radius: 7px;
}

body.public-wall-page .wall-v7-online-name {
    font-size: 11px;
    letter-spacing: 0;
}

body.public-wall-page .site-footer {
    display: none;
}

@media (max-width: 900px) {
    body.public-wall-page .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "room-picker"
            "main"
            "sidebar";
        gap: 8px;
        min-height: 0;
    }

    body.public-wall-page .wall-v7-sidebar {
        height: auto;
    }

    body.public-wall-page .wall-v15-room-picker {
        width: 100%;
    }

    body.public-wall-page .wall-v15-room-form {
        display: block;
    }

    body.public-wall-page #wallCommunityChat .wall-v8-send-button,
    body.public-wall-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        height: 44px;
    }

    body.public-wall-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-name {
        min-height: 44px;
    }

    body.public-wall-page .wall-v7-online-card {
        flex: 0 0 auto;
    }

    body.public-wall-page .wall-v7-online-list {
        max-height: 300px;
    }
}

@media (max-width: 900px) {
    body.public-wall-page #wallCommunityChat .wall-v8-room-shell {
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 640px) {
    body.public-wall-page header.site-header.xs-header {
        padding-top: 2px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 48px;
        padding: 4px 6px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-brand-cluster {
        gap: 8px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-page-title {
        padding-left: 6px;
        font-size: clamp(14px, 4vw, 16px);
    }

    body.public-wall-page header.site-header.xs-header .xs-mobile-menu {
        top: 54px;
        max-height: calc(100dvh - 62px);
    }

    body.public-wall-page .wall-v7-page {
        padding: 4px 8px 8px !important;
    }
}

.private-room-clear-card {
    display: grid;
    gap: 12px;
}

.private-room-clear-card h2 {
    margin: 0;
    color: #fff;
    font-size: 17px;
}

.private-room-clear-card p {
    margin: 0;
    color: rgba(255, 238, 246, 0.74);
    font-size: 13px;
    line-height: 1.55;
}

.private-room-clear-card .admin-v3-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.private-room-clear-form {
    display: grid;
    gap: 10px;
}

.private-room-clear-form .form-group {
    margin: 0;
}

.private-room-clear-form label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 238, 246, 0.82);
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   Private Room full-height page pass
   ========================================================================== */

.private-room-page {
    position: relative;
    width: min(100%, 1680px);
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    padding: 8px 14px 12px !important;
}

.private-room-page--gate {
    display: grid;
    place-items: center;
    width: min(100%, 960px);
    padding: 24px 16px !important;
}

.private-room-access-shell {
    width: min(100%, 520px);
}

.private-room-access-card {
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(15, 18, 28, 0.96), rgba(8, 10, 17, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.private-room-access-card h1,
.private-room-access-card p {
    margin: 0;
}

.private-room-access-card h1 {
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: 0;
}

.private-room-access-card p {
    color: rgba(255, 238, 246, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.private-room-access-form {
    display: grid;
    gap: 14px;
}

.private-room-access-form .form-group {
    margin: 0;
}

.private-room-access-form input[type="password"] {
    min-height: 48px;
    font-size: 15px;
}

.private-room-access-submit {
    width: 100%;
    min-height: 46px;
}

.private-room-access-alert,
.private-room-access-locked {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.private-room-access-alert {
    color: #ffd6de;
    border: 1px solid rgba(255, 102, 146, 0.28);
    background: rgba(255, 102, 146, 0.1);
}

.private-room-access-locked {
    color: #f9e8b8;
    border: 1px solid rgba(222, 193, 87, 0.3);
    background: rgba(222, 193, 87, 0.12);
}

.private-room-admin-clear {
    position: static;
    z-index: 1;
    display: grid;
    justify-items: end;
    width: 100%;
}

.private-room-admin-clear-trigger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 125, 162, 0.32);
    background: rgba(16, 18, 28, 0.92);
    color: #ffd0dc;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(3, 5, 10, 0.34);
}

.private-room-page .wall-v7-layout {
    grid-template-columns: minmax(0, 1fr) clamp(182px, 15vw, 238px);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "main sidebar";
    gap: 12px;
    min-height: calc(100vh - 20px);
    min-height: calc(100svh - 20px);
    align-items: stretch;
}

.private-room-page .wall-v7-main,
.private-room-page .wall-v7-sidebar {
    min-height: 0;
}

.private-room-page .wall-v7-sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    align-self: stretch;
    height: calc(100vh - 20px);
    height: calc(100svh - 20px);
    max-height: calc(100vh - 20px);
    max-height: calc(100svh - 20px);
    overflow: hidden;
}

.private-room-page .wall-v7-sidebar > .wall-v7-online-card:first-child {
    grid-row: 1 / -1;
}

.private-room-page .wall-v7-online-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
    overflow: hidden;
}

.private-room-page .wall-v7-online-list {
    align-content: start;
    grid-auto-rows: max-content;
    gap: 6px;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.private-room-page .wall-v7-online-head {
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.private-room-page .wall-v7-online-head .public-chat-v1-section-kicker {
    font-size: 10px;
    line-height: 1.1;
}

.private-room-page .wall-v7-side-head h2 {
    font-size: 13px;
    line-height: 1.2;
}

.private-room-page .wall-v7-online-counter {
    min-width: 74px;
    padding: 8px 10px;
    border-radius: 14px;
}

.private-room-page .wall-v7-online-counter strong {
    font-size: 18px;
}

.private-room-page .wall-v7-online-counter span {
    font-size: 9px;
}

.private-room-page .wall-v7-online-entry {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    min-height: 46px;
    padding: 6px 7px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
}

.private-room-page .wall-v7-online-entry:hover {
    transform: none;
}

.private-room-page .wall-v7-online-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.private-room-page .wall-v7-online-name {
    font-size: 13px;
    line-height: 1.2;
}

.private-room-page .wall-v9-stream-entry--media .wall-v8-timeline-preview img {
    max-width: min(160px, 100%);
    max-height: min(180px, 32vh);
}

.private-room-page #wallCommunityChat .wall-v8-room-shell {
    height: calc(100vh - 20px);
    height: calc(100svh - 20px);
    min-height: 0;
    max-height: calc(100vh - 20px);
    max-height: calc(100svh - 20px);
}

.private-room-page #wallCommunityChat .wall-v8-room-compose {
    gap: 6px;
    padding: 6px 10px 7px;
}

.private-room-page #wallCommunityChat .wall-v8-room-compose.has-upload {
    gap: 6px;
}

.private-room-page #wallCommunityChat .wall-v8-compose-inline-layout {
    gap: 8px;
}

.private-room-page #wallCommunityChat .wall-v8-compose-control-rail {
    gap: 6px;
}

.private-room-page #wallCommunityChat .wall-v8-chat-composer .public-chat-v1-input,
.private-room-page #wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname input[type="text"] {
    min-height: 42px;
    height: 42px;
    max-height: 42px;
    padding-block: 10px;
}

.private-room-page #wallCommunityChat .wall-v8-send-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
}

.private-room-page #wallCommunityChat .wall-v8-send-button::before {
    font-size: 20px;
}

.private-room-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    height: 42px;
}

.private-room-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger::before {
    width: 18px;
    height: 18px;
}

.private-room-page #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-name {
    font-size: 10px;
}

body.wall-protection-page,
body.private-room-protection-page,
body.wall-protection-page .wall-v4-page,
body.private-room-protection-page .private-room-page,
body.wall-protection-page .wall-v3-modal,
body.private-room-protection-page .wall-v3-modal {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body.wall-protection-page input,
body.wall-protection-page textarea,
body.wall-protection-page select,
body.wall-protection-page [contenteditable="true"],
body.wall-protection-page [contenteditable=""],
body.private-room-protection-page input,
body.private-room-protection-page textarea,
body.private-room-protection-page select,
body.private-room-protection-page [contenteditable="true"],
body.private-room-protection-page [contenteditable=""] {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
}

body.wall-protection-page img,
body.wall-protection-page a,
body.wall-protection-page button,
body.private-room-protection-page img,
body.private-room-protection-page a,
body.private-room-protection-page button {
    -webkit-user-drag: none;
}

body.wall-protection-page [data-wall-protected-media],
body.private-room-protection-page [data-wall-protected-media] {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.private-room-protection-shield {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(196, 82, 255, 0.14), transparent 34%),
        rgba(3, 5, 12, 0.96);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
    backdrop-filter: blur(18px);
}

.private-room-protection-shield[hidden] {
    display: none !important;
}

.private-room-protection-shield.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.private-room-protection-card {
    display: grid;
    gap: 9px;
    width: min(100%, 440px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 11, 18, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.private-room-protection-title {
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.private-room-protection-body {
    color: rgba(255, 238, 246, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

@media print {
    body.wall-protection-page,
    body.private-room-protection-page {
        background: #05060b !important;
    }

    body.wall-protection-page *:not(.private-room-protection-shield):not(.private-room-protection-shield *),
    body.private-room-protection-page *:not(.private-room-protection-shield):not(.private-room-protection-shield *) {
        visibility: hidden !important;
    }

    body.wall-protection-page .private-room-protection-shield,
    body.wall-protection-page .private-room-protection-shield *,
    body.private-room-protection-page .private-room-protection-shield,
    body.private-room-protection-page .private-room-protection-shield * {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: none !important;
    }

    body.wall-protection-page .private-room-protection-shield,
    body.private-room-protection-page .private-room-protection-shield {
        background: #05060b !important;
    }
}

@media (max-width: 1120px) {
    .private-room-page .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "sidebar";
        min-height: 0;
    }

    .private-room-page .wall-v7-sidebar {
        max-height: min(48dvh, 520px);
    }
}

@media (max-width: 900px) {
    .private-room-page {
        padding: 8px 10px 14px !important;
    }

    .private-room-page--gate {
        padding: 16px 12px !important;
    }

    .private-room-access-card {
        padding: 20px;
        border-radius: 16px;
    }

    .private-room-access-card h1 {
        font-size: 24px;
    }

    .private-room-page #wallCommunityChat .wall-v8-room-shell {
        height: auto;
        min-height: 0;
    }
}

@media (max-height: 420px) and (min-width: 700px) {
    .private-room-page--gate {
        align-items: start;
        justify-items: start;
        padding: 8px 14px !important;
        overflow-y: auto;
    }

    .private-room-access-card {
        gap: 9px;
        padding: 16px 18px;
        border-radius: 14px;
    }

    .private-room-access-card h1 {
        font-size: 22px;
        line-height: 1.05;
    }

    .private-room-access-card p {
        font-size: 13px;
        line-height: 1.42;
    }

    .private-room-access-form {
        gap: 9px;
    }

    .private-room-access-form .form-group label {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .private-room-access-form input[type="password"],
    .private-room-access-submit {
        min-height: 38px;
    }
}


/* 13-auctions.css */
/* ==========================================================================
   13. Exposure auctions
   ========================================================================== */

.auction-v4-page {
    padding: 28px 0 72px;
}

.auction-v4-hero,
.auction-v4-section,
.auction-v4-rule-grid {
    margin-bottom: 24px;
}

.auction-v4-hero-shell,
.auction-v4-highlight-card,
.auction-v4-rule-card,
.auction-v4-list-card,
.auction-v4-metric-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(24, 28, 37, 0.96), rgba(14, 17, 24, 0.92));
    box-shadow: var(--shadow);
}

.auction-v4-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
}

.auction-v4-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.8vw, 46px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.auction-v4-kicker {
    margin: 0 0 10px;
    color: #f5aacd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.auction-v4-hero-note,
.auction-v4-card-note,
.auction-v4-inline-callout p,
.auction-v4-rule-card p,
.auction-v4-metric-card p,
.auction-v4-maintenance-lines p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.auction-v4-highlight-card {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px;
    border-radius: 24px;
}

.auction-v4-highlight-card span,
.auction-v4-rule-card span,
.auction-v4-metric-card span {
    color: #f3c7db;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auction-v4-highlight-card strong,
.auction-v4-rule-card strong,
.auction-v4-metric-card strong {
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.08;
}

.auction-v4-highlight-card em {
    color: var(--muted);
    font-style: normal;
}

.auction-v4-badge-row,
.auction-v4-chip-row,
.auction-v4-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.auction-v4-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 79, 163, 0.12);
    border: 1px solid rgba(255, 79, 163, 0.28);
    color: #ffd8ea;
    font-size: 13px;
    font-weight: 700;
}

.auction-v4-rule-grid,
.auction-v4-metric-grid,
.auction-v4-list-grid {
    display: grid;
    gap: 16px;
}

.auction-v4-rule-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auction-v4-rule-card,
.auction-v4-metric-card,
.auction-v4-list-card {
    padding: 20px;
    border-radius: 22px;
}

.auction-v4-rule-card,
.auction-v4-metric-card {
    display: grid;
    gap: 10px;
}

.auction-v4-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.auction-v4-list-card {
    display: grid;
    gap: 16px;
}

.auction-v4-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.auction-v4-list-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.auction-v4-list-identity strong,
.auction-v4-list-identity em {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auction-v4-list-identity em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.auction-v4-list-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auction-v4-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.3);
    color: #ffe2a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auction-v4-status-chip.is-success {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.26);
    color: #9ff0c5;
}

.auction-v4-inline-callout {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 79, 163, 0.1), rgba(123, 97, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auction-v4-inline-callout strong {
    font-size: 16px;
}

.auction-v4-card-note {
    font-size: 14px;
}

.auction-v4-collection-strip {
    display: grid;
    gap: 10px;
}

.auction-v4-collection-strip > span {
    color: var(--muted);
    font-size: 14px;
}

.auction-v4-chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.auction-v4-bid-form {
    display: grid;
    gap: 16px;
}

.auction-v4-bid-form .form-group {
    margin: 0;
}

.auction-v4-bid-form input[type="number"] {
    width: 100%;
}

.auction-v4-maintenance-lines {
    display: grid;
    gap: 10px;
}

.auction-v4-admin-list .auction-v4-admin-card {
    gap: 12px;
}

.auction-v4-side-card .owned-collection-side-actions {
    margin-top: 16px;
}

.creator-v4-auction-badges,
.profile-v3-auction-badges,
.library-v3-auction-badges {
    margin: 8px 0 0;
}

.profile-v3-auction-badges {
    margin-top: 14px;
}

.library-v3-auction-badges {
    margin-bottom: 2px;
}

@media (max-width: 1024px) {
    .auction-v4-hero-shell,
    .auction-v4-rule-grid,
    .auction-v4-list-grid,
    .auction-v4-metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .auction-v4-page {
        padding-top: 22px;
        padding-bottom: 56px;
    }

    .auction-v4-hero-shell,
    .auction-v4-highlight-card,
    .auction-v4-rule-card,
    .auction-v4-list-card,
    .auction-v4-metric-card {
        padding: 18px;
        border-radius: 20px;
    }

    .auction-v4-list-head {
        flex-direction: column;
    }

    .auction-v4-card-actions .btn,
    .auction-v4-badge {
        width: 100%;
        justify-content: center;
    }
}


/* 14-profile-refresh.css */
/* ==========================================================================
   14. Profile and creator refresh
   ========================================================================== */

.profile-shell-page,
.creator-shell-page {
    display: grid;
    gap: 24px;
}

.profile-shell-identity-card,
.profile-shell-command-card,
.profile-shell-panel,
.creator-shell-identity-card,
.creator-shell-command-card,
.creator-shell-panel,
.creator-shell-rating-card,
.profile-shell-disclosure,
.creator-shell-disclosure {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 193, 120, 0.08), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 79, 163, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(18, 22, 31, 0.96), rgba(11, 14, 21, 0.92));
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.profile-shell-command-card,
.creator-shell-command-card {
    background:
        radial-gradient(circle at top right, rgba(244, 196, 122, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 93, 168, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(24, 28, 38, 0.98), rgba(14, 18, 27, 0.94));
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-shell-panel,
.creator-shell-panel,
.profile-shell-disclosure,
.creator-shell-disclosure,
.profile-shell-danger {
    background:
        linear-gradient(180deg, rgba(18, 22, 31, 0.96), rgba(11, 14, 21, 0.92)),
        rgba(18, 22, 31, 0.96);
}

.profile-shell-kicker,
.profile-shell-section-kicker,
.profile-shell-card-kicker,
.creator-shell-kicker,
.creator-shell-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f4c8dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.profile-shell-kicker::before,
.profile-shell-section-kicker::before,
.profile-shell-card-kicker::before,
.creator-shell-kicker::before,
.creator-shell-card-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4c47a, #ff5da8);
    box-shadow: 0 0 0 4px rgba(255, 93, 168, 0.1);
}

.profile-shell-heading h2,
.creator-shell-title,
.creator-shell-panel .section-head h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.profile-shell-panel-note,
.creator-shell-section-copy,
.creator-shell-card-copy,
.creator-shell-support-note,
.profile-shell-command-copy,
.profile-shell-summary-card p,
.profile-shell-metric-card p,
.profile-shell-command-item p,
.creator-shell-metric-card p,
.auction-v4-rule-card p,
.auction-v4-metric-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.profile-shell-meta-pill,
.creator-shell-meta-pill,
.profile-shell-chip,
.profile-shell-utility-link,
.creator-shell-fact-pill,
.profile-shell-handle,
.creator-shell-handle {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #eef1f8;
    font-size: 13px;
    line-height: 1;
}

.profile-shell-disclosure,
.creator-shell-disclosure,
.profile-shell-danger {
    padding: 18px 20px;
}

.profile-shell-disclosure > summary,
.creator-shell-disclosure > summary,
.profile-shell-danger > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.profile-shell-disclosure > summary::after,
.creator-shell-disclosure > summary::after,
.profile-shell-danger > summary::after {
    content: "+";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f4d6e4;
    font-size: 18px;
    line-height: 1;
}

.profile-shell-disclosure[open] > summary::after,
.creator-shell-disclosure[open] > summary::after,
.profile-shell-danger[open] > summary::after {
    content: "-";
}

.profile-shell-disclosure > summary::-webkit-details-marker,
.creator-shell-disclosure > summary::-webkit-details-marker,
.profile-shell-danger > summary::-webkit-details-marker {
    display: none;
}

.profile-shell-disclosure > summary strong,
.creator-shell-disclosure > summary strong,
.profile-shell-danger > summary strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.profile-shell-disclosure > summary span,
.creator-shell-disclosure > summary span,
.profile-shell-danger > summary span {
    color: var(--muted);
    line-height: 1.55;
}

.profile-shell-disclosure-count,
.creator-shell-disclosure-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 700;
}

.profile-shell-disclosure-body,
.creator-shell-disclosure-body {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.profile-shell-panel .marketplace-empty,
.creator-shell-panel .marketplace-empty,
.creator-shell-panel .empty-block {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
}

.profile-shell-danger-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.creator-shell-section-copy,
.creator-shell-card-copy,
.creator-shell-support-note {
    max-width: 54ch;
}

/* Profile */

.profile-shell-hero {
    display: grid;
    gap: 18px;
}

.profile-shell-banner {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-shell-banner-image,
.creator-shell-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-shell-banner-overlay,
.creator-shell-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 13, 0.08), rgba(7, 9, 13, 0.6)),
        linear-gradient(0deg, rgba(7, 9, 13, 0.78), rgba(7, 9, 13, 0.06));
}

.profile-shell-top {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
    gap: 22px;
    margin-top: -92px;
    position: relative;
    z-index: 2;
}

.profile-shell-identity-card,
.creator-shell-identity-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    padding: 26px;
}

.profile-shell-avatar-shell,
.creator-shell-avatar-shell {
    width: 160px;
    height: 160px;
    padding: 6px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(12, 15, 22, 0.96), rgba(12, 15, 22, 0.72));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.profile-shell-avatar,
.creator-shell-avatar {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    display: block;
}

.profile-shell-copy,
.creator-shell-copy {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.profile-shell-title-row,
.creator-shell-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.profile-shell-title-row h1,
.creator-shell-title {
    margin: 8px 0 0;
    font-size: clamp(34px, 4.8vw, 48px);
    line-height: 0.96;
}

.profile-shell-meta-row,
.creator-shell-meta-row,
.profile-shell-utility-links,
.profile-shell-chip-row,
.creator-shell-badges,
.profile-shell-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff2d9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.launch-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.82;
}

.launch-badge--member {
    border-color: rgba(247, 200, 111, 0.28);
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.16), rgba(255, 160, 122, 0.08));
    color: #ffe7bb;
}

.launch-badge--creator {
    border-color: rgba(255, 93, 168, 0.28);
    background: linear-gradient(135deg, rgba(255, 93, 168, 0.16), rgba(201, 120, 255, 0.08));
    color: #ffd8eb;
}

.profile-shell-bio,
.creator-shell-bio {
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    line-height: 1.75;
}

.profile-shell-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-shell-command-card {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 24px;
}

.profile-shell-command-value {
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.profile-shell-command-button {
    width: 100%;
    justify-content: center;
}

.profile-shell-command-grid,
.profile-shell-metric-grid,
.profile-shell-summary-grid,
.profile-shell-link-grid,
.profile-shell-feature-grid,
.creator-shell-metric-grid,
.creator-shell-utility-grid {
    display: grid;
    gap: 14px;
}

.profile-shell-link-grid {
    grid-template-columns: 1fr;
}

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

.profile-shell-command-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.profile-shell-metric-grid,
.profile-shell-summary-grid,
.profile-shell-feature-grid,
.creator-shell-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-shell-command-item,
.profile-shell-metric-card,
.profile-shell-summary-card,
.creator-shell-metric-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-shell-command-item span,
.profile-shell-metric-card span,
.profile-shell-summary-card span,
.creator-shell-metric-card span,
.creator-shell-fact-pill span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-shell-command-item strong,
.profile-shell-metric-card strong,
.profile-shell-summary-card strong,
.creator-shell-metric-card strong,
.creator-shell-fact-pill strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.profile-shell-command-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 12px;
    padding: 14px 16px;
}

.profile-shell-command-item p {
    grid-column: 1 / -1;
}

.profile-shell-subnav,
.creator-shell-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-shell-subnav a,
.creator-shell-subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #e9edf6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-shell-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 22px;
    align-items: start;
}

.profile-shell-main,
.profile-shell-sidebar {
    display: grid;
    gap: 22px;
}

.profile-shell-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.profile-shell-panel-head {
    display: grid;
    gap: 10px;
}

.profile-shell-panel-head--spread {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.profile-shell-summary-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-shell-summary-grid--compact .profile-shell-summary-card {
    padding: 14px;
    gap: 6px;
}

.profile-shell-summary-grid--compact .profile-shell-summary-card strong {
    font-size: 18px;
}

.profile-shell-summary-grid--compact .profile-shell-summary-card p {
    font-size: 13px;
    line-height: 1.5;
}

.profile-shell-feature-card {
    display: grid;
    gap: 16px;
    min-height: 100%;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at top right, rgba(255, 193, 120, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.035);
}

.profile-shell-feature-head {
    display: grid;
    gap: 8px;
}

.profile-shell-feature-head span,
.profile-shell-feature-row span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-shell-feature-head strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.profile-shell-feature-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.profile-shell-feature-list {
    display: grid;
    gap: 10px;
}

.profile-shell-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-shell-feature-row strong {
    font-size: 15px;
    text-align: right;
}

.profile-shell-follow-list {
    display: grid;
    gap: 12px;
}

.profile-shell-follow-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-shell-follow-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
}

.profile-shell-follow-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.profile-shell-follow-copy strong,
.profile-shell-follow-copy span {
    overflow-wrap: anywhere;
}

.profile-shell-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-shell-visibility-form {
    display: grid;
    gap: 14px;
}

.profile-shell-toggle-copy {
    display: grid;
    gap: 6px;
}

.profile-shell-toggle-copy strong {
    font-size: 16px;
}

.profile-shell-toggle-copy span {
    color: var(--muted);
    line-height: 1.6;
}

.profile-shell-link-section {
    display: grid;
    gap: 14px;
}

.profile-shell-link-section-head {
    display: grid;
    gap: 6px;
}

.profile-shell-link-section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.profile-shell-tool-disclosure {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: none;
}

.profile-shell-link-card {
    display: grid;
    gap: 8px;
    min-height: 100%;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.profile-shell-link-card strong {
    font-size: 16px;
}

.profile-shell-link-card span {
    color: var(--muted);
    line-height: 1.6;
}

.profile-shell-blocker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-shell-blocker-item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 120, 120, 0.18);
    background: rgba(255, 120, 120, 0.08);
    color: #ffc2c2;
    font-size: 13px;
}

/* Creator */

.creator-shell {
    display: grid;
    gap: 24px;
}

.creator-shell-hero {
    display: grid;
    gap: 18px;
}

.creator-shell-banner {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-shell-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
    margin-top: -96px;
    position: relative;
    z-index: 2;
}

.creator-shell-command-card,
.creator-shell-rating-card {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.creator-shell-rating-card,
.creator-shell-command-card .creator-shell-disclosure {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: none;
}

.creator-shell-command-section {
    display: grid;
    gap: 12px;
}

.creator-shell-command-section + .creator-shell-command-section,
.creator-shell-rating-card,
.creator-shell-command-card .creator-shell-disclosure {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.creator-shell-rating-overview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.creator-shell-rating-overview span {
    color: var(--muted);
}

.creator-shell-fact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 2px;
}

.creator-shell-fact-pill {
    display: inline-grid;
    gap: 4px;
    padding: 12px 14px;
}

.creator-shell-primary-actions,
.creator-shell-quick-grid {
    display: grid;
    gap: 12px;
}

.creator-shell-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creator-shell-quick-grid {
    grid-template-columns: 1fr;
}

.creator-shell-quick-form,
.creator-shell-utility-form {
    display: block;
}

.creator-shell-quick-action,
.creator-shell-utility-action {
    width: 100%;
}

.creator-shell-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 22px;
    align-items: start;
}

#creatorExposureAuction {
    order: 1;
    grid-column: 2;
    grid-row: 1 / span 2;
}

#creatorRequests {
    order: 2;
    grid-column: 1;
    grid-row: 1;
}

#creatorTipCard {
    order: 3;
    grid-column: 1;
    grid-row: 2;
}

.creator-shell-auction-panel .auction-v4-rule-grid,
.creator-shell-auction-panel .auction-v4-metric-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.creator-shell-auction-panel .auction-v4-rule-card,
.creator-shell-auction-panel .auction-v4-metric-card {
    padding: 16px;
    border-radius: 18px;
}

.creator-shell-auction-panel .auction-v4-rule-card strong,
.creator-shell-auction-panel .auction-v4-metric-card strong {
    font-size: 18px;
}

.creator-shell-auction-panel .auction-v4-card-actions .btn {
    flex: 1 1 180px;
}

.creator-shell-tip-panel {
    align-self: start;
}

.creator-shell-request-history {
    margin-top: 8px;
}

.creator-shell-request-panel .request-form-grid,
.creator-shell-request-panel .request-action-row {
    margin-top: 4px;
}

.creator-shell-request-panel .request-action-row,
.creator-shell-connection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive */

@media (max-width: 1180px) {
    .profile-shell-top,
    .profile-shell-layout,
    .creator-shell-top,
    .creator-shell-action-grid {
        grid-template-columns: 1fr;
    }

    .profile-shell-command-card,
    .creator-shell-command-card {
        order: 2;
    }

    #creatorRequests,
    #creatorExposureAuction,
    #creatorTipCard {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 900px) {
    .profile-shell-identity-card,
    .creator-shell-identity-card {
        grid-template-columns: 1fr;
    }

    .profile-shell-avatar-shell,
    .creator-shell-avatar-shell {
        width: 132px;
        height: 132px;
    }

    .profile-shell-command-grid,
    .profile-shell-link-grid,
    .profile-shell-feature-grid,
    .creator-shell-metric-grid,
    .creator-shell-utility-grid {
        grid-template-columns: 1fr;
    }

    .profile-shell-summary-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .profile-shell-banner,
    .creator-shell-banner {
        height: 240px;
    }

    .profile-shell-top,
    .creator-shell-top {
        margin-top: -54px;
    }

    .profile-shell-identity-card,
    .profile-shell-command-card,
    .profile-shell-panel,
    .creator-shell-identity-card,
    .creator-shell-command-card,
    .creator-shell-panel,
    .creator-shell-rating-card,
    .profile-shell-disclosure,
    .creator-shell-disclosure {
        padding: 18px;
        border-radius: 24px;
    }

    .profile-shell-title-row,
    .creator-shell-title-row {
        flex-direction: column;
    }

    .profile-shell-primary-actions,
    .creator-shell-primary-actions,
    .creator-shell-quick-grid,
    .profile-shell-metric-grid,
    .profile-shell-summary-grid,
    .profile-shell-feature-grid,
    .profile-shell-summary-grid--compact,
    .creator-shell-metric-grid {
        grid-template-columns: 1fr;
    }

    .profile-shell-follow-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .profile-shell-follow-item .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .profile-shell-subnav,
    .creator-shell-subnav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .creator-shell-tip-panel {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .profile-shell-avatar-shell,
    .creator-shell-avatar-shell {
        width: 116px;
        height: 116px;
    }

    .profile-shell-title-row h1,
    .creator-shell-title {
        font-size: clamp(30px, 10vw, 38px);
    }

    .profile-shell-panel-head--spread {
        grid-template-columns: 1fr;
    }

    .profile-shell-toggle-card {
        flex-direction: column;
        align-items: stretch;
    }

    .creator-shell-fact-row,
    .profile-shell-meta-row,
    .creator-shell-meta-row {
        gap: 8px;
    }
}

/* ==========================================================================
   Lean profile hierarchy
   ========================================================================== */

.profile-shell-page,
.creator-shell-page {
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 64px;
}

.profile-shell-identity-card,
.profile-shell-command-card,
.profile-shell-panel,
.creator-shell-identity-card,
.creator-shell-command-card,
.creator-shell-panel,
.creator-shell-rating-card,
.profile-shell-disclosure,
.creator-shell-disclosure {
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.profile-shell-meta-pill,
.creator-shell-meta-pill,
.profile-shell-chip,
.profile-shell-utility-link,
.creator-shell-fact-pill,
.profile-shell-handle,
.creator-shell-handle {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 12px;
}

.profile-shell-banner,
.creator-shell-banner {
    height: 220px;
    border-radius: 26px;
}

.profile-shell-top,
.creator-shell-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
    gap: 18px;
    align-items: start;
    margin-top: -68px;
}

.profile-shell-identity-card,
.creator-shell-identity-card {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
}

.profile-shell-avatar-shell,
.creator-shell-avatar-shell {
    width: 124px;
    height: 124px;
    padding: 5px;
    border-radius: 28px;
}

.profile-shell-avatar,
.creator-shell-avatar {
    border-radius: 23px;
}

.profile-shell-copy,
.creator-shell-copy {
    gap: 13px;
}

.profile-shell-title-row h1,
.creator-shell-title {
    margin-top: 6px;
    font-size: clamp(32px, 4vw, 42px);
}

.profile-shell-bio,
.creator-shell-bio {
    max-width: 68ch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1.62;
}

.profile-shell-primary-actions,
.creator-shell-primary-actions {
    gap: 10px;
}

.profile-shell-command-card,
.creator-shell-command-card {
    gap: 14px;
    align-content: start;
    padding: 20px;
}

.profile-shell-command-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.profile-shell-command-head > div {
    display: grid;
    gap: 10px;
}

.profile-shell-command-value {
    font-size: clamp(28px, 3vw, 36px);
}

.profile-shell-command-button {
    width: auto;
    flex: 0 0 auto;
}

.profile-shell-command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-shell-command-item,
.profile-shell-metric-card,
.creator-shell-metric-card {
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

a.profile-shell-command-item:hover,
a.profile-shell-command-item:focus-visible,
a.profile-shell-metric-card:hover,
a.profile-shell-metric-card:focus-visible,
a.creator-shell-metric-card:hover,
a.creator-shell-metric-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 113, 188, 0.42);
    background: rgba(255, 255, 255, 0.065);
    outline: none;
}

.profile-shell-command-item {
    min-height: 94px;
    padding: 12px 14px;
}

.profile-shell-command-item p {
    font-size: 12px;
    line-height: 1.42;
}

.profile-shell-subnav,
.creator-shell-subnav {
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    background: rgba(12, 15, 22, 0.72);
}

.profile-shell-subnav a,
.creator-shell-subnav a {
    min-height: 36px;
    padding-inline: 13px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    font-size: 11px;
}

.profile-shell-subnav a:hover,
.profile-shell-subnav a:focus-visible,
.creator-shell-subnav a:hover,
.creator-shell-subnav a:focus-visible {
    background: rgba(255, 255, 255, 0.07);
}

.profile-shell-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 18px;
}

.profile-shell-main,
.profile-shell-sidebar {
    gap: 18px;
}

.profile-shell-panel {
    gap: 16px;
    padding: 20px;
}

.profile-shell-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.profile-shell-metric-card,
.profile-shell-summary-card {
    gap: 5px;
    padding: 14px;
    border-radius: 16px;
}

.profile-shell-metric-card p,
.profile-shell-summary-card p {
    font-size: 12px;
    line-height: 1.42;
}

.profile-shell-feature-card {
    gap: 13px;
    padding: 16px;
    border-radius: 18px;
}

.profile-shell-feature-head strong {
    font-size: 24px;
}

.profile-shell-feature-head p {
    font-size: 13px;
    line-height: 1.5;
}

.profile-shell-toggle-card,
.profile-shell-link-card {
    border-radius: 16px;
}

.profile-shell-link-card {
    padding: 14px;
}

.creator-shell-cta {
    display: grid;
    gap: 10px;
    padding-block: 13px;
    border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.creator-shell-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creator-shell-primary-actions .btn {
    min-height: 46px;
    justify-content: center;
}

.creator-shell-command-section {
    gap: 10px;
}

.creator-shell-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.creator-shell-quick-action {
    min-height: 44px;
    padding-inline: 12px;
}

.creator-shell-rating-overview {
    gap: 8px;
}

.creator-shell-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.creator-shell-metric-card {
    min-height: 72px;
    gap: 5px;
    padding: 12px;
    border-radius: 15px;
}

.creator-shell-metric-card strong {
    font-size: 18px;
}

.creator-shell-action-grid {
    gap: 18px;
}

#creatorRequests {
    order: 1;
}

#creatorExposureAuction {
    order: 2;
}

#creatorTipCard {
    order: 3;
}

#profileSnapshot,
#profileRequests,
#profileConnections,
#profileWorkspace,
#publicCollections,
#creatorRequests,
#creatorExposureAuction,
#creatorTipCard {
    scroll-margin-top: 140px;
}

.creator-shell-panel.creator-collections-card {
    overflow: visible;
    padding: 2px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
}

.creator-shell-panel.creator-collections-card .creator-v3-section-head {
    margin-bottom: 4px;
}

.creator-shell-panel.creator-collections-card .creator-collections-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 320px));
    gap: 16px;
}

.creator-shell-auction-guide {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.creator-shell-auction-guide > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.creator-shell-auction-guide > summary::-webkit-details-marker {
    display: none;
}

.creator-shell-auction-guide > summary span {
    display: grid;
    gap: 3px;
}

.creator-shell-auction-guide > summary strong {
    font-size: 15px;
}

.creator-shell-auction-guide > summary small {
    color: var(--muted);
    line-height: 1.4;
}

.creator-shell-auction-guide > summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
}

.creator-shell-auction-guide[open] > summary::after {
    content: "-";
}

.creator-shell-auction-guide-body {
    padding: 0 14px 14px;
}

.creator-shell-auction-panel .auction-v4-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.creator-shell-auction-panel .auction-v4-metric-card p {
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .profile-shell-top,
    .profile-shell-layout,
    .creator-shell-top,
    .creator-shell-action-grid {
        grid-template-columns: 1fr;
    }

    #creatorRequests,
    #creatorExposureAuction,
    #creatorTipCard {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 900px) {
    .profile-shell-command-grid,
    .creator-shell-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .profile-shell-page,
    .creator-shell-page {
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 48px;
    }

    .profile-shell-banner,
    .creator-shell-banner {
        height: 154px;
        border-radius: 22px;
    }

    .profile-shell-top,
    .creator-shell-top {
        gap: 14px;
        margin-top: -34px;
    }

    .profile-shell-identity-card,
    .creator-shell-identity-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
    }

    .profile-shell-avatar-shell,
    .creator-shell-avatar-shell {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .profile-shell-avatar,
    .creator-shell-avatar {
        border-radius: 16px;
    }

    .profile-shell-copy,
    .creator-shell-copy {
        display: contents;
    }

    .profile-shell-title-row,
    .creator-shell-title-row {
        grid-column: 2;
        align-self: center;
    }

    .profile-shell-copy > .profile-shell-meta-row,
    .profile-shell-copy > .profile-shell-badges,
    .profile-shell-copy > .profile-shell-bio,
    .profile-shell-copy > .profile-shell-primary-actions,
    .profile-shell-copy > .profile-shell-utility-links,
    .creator-shell-copy > .creator-shell-badges,
    .creator-shell-copy > .creator-shell-meta-row,
    .creator-shell-copy > .creator-shell-rating-overview,
    .creator-shell-copy > .creator-shell-bio,
    .creator-shell-copy > .creator-shell-cta,
    .creator-shell-copy > .creator-shell-metric-grid {
        grid-column: 1 / -1;
    }

    .profile-shell-title-row h1,
    .creator-shell-title {
        font-size: clamp(28px, 8vw, 34px);
    }

    .profile-shell-command-card,
    .creator-shell-command-card,
    .profile-shell-panel,
    .creator-shell-panel,
    .creator-shell-rating-card,
    .profile-shell-disclosure,
    .creator-shell-disclosure {
        padding: 16px;
        border-radius: 20px;
    }

    .profile-shell-feature-grid,
    .profile-shell-summary-grid,
    .profile-shell-summary-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-shell-subnav,
    .creator-shell-subnav {
        width: 100%;
    }

    .creator-shell-panel.creator-collections-card {
        padding-inline: 0;
    }

    .creator-shell-panel.creator-collections-card .creator-collections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .profile-shell-primary-actions,
    .creator-shell-primary-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profile-shell-command-head {
        align-items: center;
    }

    .profile-shell-command-grid,
    .profile-shell-metric-grid,
    .profile-shell-feature-grid,
    .profile-shell-summary-grid,
    .profile-shell-summary-grid--compact,
    .creator-shell-metric-grid,
    .creator-shell-quick-grid,
    .creator-shell-auction-panel .auction-v4-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-shell-command-item,
    .profile-shell-metric-card,
    .profile-shell-summary-card,
    .creator-shell-metric-card {
        padding: 12px;
    }

    .profile-shell-command-item {
        min-height: 88px;
    }

    .profile-shell-command-item p,
    .profile-shell-metric-card p,
    .profile-shell-summary-card p {
        display: none;
    }

    .creator-shell-quick-action {
        min-height: 48px;
        white-space: normal;
    }
}


/* 15-public-chat.css */
/* ==========================================================================
   15. Public chat
   ========================================================================== */

.public-chat-v1-page {
    padding: 32px 16px 96px;
}

.public-chat-v1-hero {
    margin-bottom: 24px;
}

.public-chat-v1-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(248, 188, 74, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(85, 211, 154, 0.13), transparent 28%),
        rgba(10, 12, 18, 0.82);
    box-shadow: var(--shadow);
}

.public-chat-v1-hero-shell--single {
    grid-template-columns: minmax(0, 1fr);
}

.public-chat-v1-kicker,
.public-chat-v1-section-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f7c86f;
}

.public-chat-v1-hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.public-chat-v1-subtext {
    max-width: 62ch;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.public-chat-v1-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-chat-v1-badge-row--hero {
    gap: 12px;
    margin-top: 22px;
}

.public-chat-v1-stat-badge,
.public-chat-v1-highlight-mini,
.public-chat-v1-highlight-card,
.public-chat-v1-guidelines-card,
.public-chat-v1-feed-card,
.public-chat-v1-composer,
.public-chat-v1-side-card,
.public-chat-v1-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.52);
    backdrop-filter: blur(12px);
}

.public-chat-v1-stat-badge {
    display: inline-grid;
    gap: 6px;
    padding: 14px 16px;
    min-width: 126px;
}

.public-chat-v1-stat-badge strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.public-chat-v1-stat-badge span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-chat-v1-highlight-card {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 24px;
}

.public-chat-v1-highlight-card span,
.public-chat-v1-highlight-mini span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.public-chat-v1-highlight-card strong {
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.public-chat-v1-highlight-card em {
    color: #f3d7a1;
    font-style: normal;
    line-height: 1.7;
}

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

.public-chat-v1-highlight-mini {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.public-chat-v1-highlight-mini strong {
    font-size: 18px;
    letter-spacing: -0.04em;
}

.public-chat-v1-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.public-chat-v1-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.public-chat-v1-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.public-chat-v1-guidelines-card,
.public-chat-v1-side-card {
    padding: 24px;
    box-shadow: var(--shadow);
}

.public-chat-v1-guidelines-head,
.public-chat-v1-side-head,
.public-chat-v1-card-head {
    display: flex;
    gap: 16px;
    align-items: start;
    justify-content: space-between;
}

.public-chat-v1-guidelines-head h2,
.public-chat-v1-side-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.public-chat-v1-guidelines-chip,
.public-chat-v1-system-chip,
.public-chat-v1-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-chat-v1-guidelines-chip,
.public-chat-v1-system-chip {
    background: rgba(255, 255, 255, 0.04);
    color: #f6e7be;
}

.public-chat-v1-badge {
    background: rgba(255, 255, 255, 0.04);
    color: #f2d7e4;
}

.public-chat-v1-badge.is-admin {
    background: rgba(255, 102, 146, 0.14);
    border-color: rgba(255, 102, 146, 0.3);
    color: #ffdce8;
}

.public-chat-v1-badge.is-creator {
    background: rgba(85, 211, 154, 0.12);
    border-color: rgba(85, 211, 154, 0.26);
    color: #d9ffef;
}

.public-chat-v1-badge.is-verified {
    background: rgba(247, 200, 111, 0.14);
    border-color: rgba(247, 200, 111, 0.3);
    color: #fff0c8;
}

.public-chat-v1-badge.is-guest {
    background: rgba(100, 198, 255, 0.12);
    border-color: rgba(100, 198, 255, 0.22);
    color: #dff4ff;
}

.public-chat-v1-badge.is-founding-member {
    background: rgba(247, 200, 111, 0.16);
    border-color: rgba(247, 200, 111, 0.32);
    color: #ffeabf;
}

.public-chat-v1-badge.is-founding-creator {
    background: rgba(255, 93, 168, 0.16);
    border-color: rgba(255, 93, 168, 0.3);
    color: #ffd7e8;
}

.public-chat-v1-guidelines-grid,
.public-chat-v1-side-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.public-chat-v1-guidelines-grid p,
.public-chat-v1-side-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.public-chat-v1-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.public-chat-v1-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.public-chat-v1-filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #f5d7e5;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.public-chat-v1-filter-chip:hover,
.public-chat-v1-filter-chip.is-active {
    transform: translateY(-1px);
    border-color: rgba(247, 200, 111, 0.32);
    background: rgba(247, 200, 111, 0.12);
    color: #fff2cc;
}

.public-chat-v1-toolbar-note {
    color: var(--muted);
    font-size: 13px;
}

.public-chat-v1-feed-card {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.public-chat-v1-feed {
    display: grid;
    gap: 12px;
    max-height: min(74vh, 980px);
    padding: 18px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.public-chat-v1-entry {
    display: grid;
    gap: 8px;
    align-items: start;
}

.public-chat-v1-entry--member {
    grid-template-columns: minmax(0, 1fr);
}

.public-chat-v1-entry--system {
    grid-template-columns: minmax(0, 1fr);
}

.public-chat-v1-avatar,
.public-chat-v1-system-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.public-chat-v1-avatar {
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.public-chat-v1-system-mark {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(247, 200, 111, 0.22), transparent 46%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(247, 200, 111, 0.16);
    color: #fff0c8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.public-chat-v1-entry--wall .public-chat-v1-system-chip {
    border-color: rgba(85, 211, 154, 0.24);
    color: #d9ffef;
}

.public-chat-v1-entry--auctions .public-chat-v1-system-chip {
    border-color: rgba(100, 198, 255, 0.24);
    color: #d8f4ff;
}

.public-chat-v1-entry--drops .public-chat-v1-system-chip {
    border-color: rgba(247, 200, 111, 0.24);
    color: #fff1ca;
}

.public-chat-v1-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
}

.public-chat-v1-author-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.public-chat-v1-card-head {
    gap: 10px;
    align-items: center;
}

.public-chat-v1-author-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.public-chat-v1-author-row strong,
.public-chat-v1-card-head h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.public-chat-v1-entry .public-chat-v1-system-chip,
.public-chat-v1-entry .public-chat-v1-badge {
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 0.06em;
}

.public-chat-v1-author-row .public-chat-v1-badge-row {
    gap: 6px;
}

.public-chat-v1-handle,
.public-chat-v1-time,
.public-chat-v1-system-detail {
    color: var(--muted);
    font-size: 12px;
}

.public-chat-v1-time {
    white-space: nowrap;
    align-self: flex-start;
}

.public-chat-v1-message-body,
.public-chat-v1-system-body,
.public-chat-v1-system-detail,
.public-chat-v1-deleted {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.public-chat-v1-message-body {
    color: #f7e8ef;
}

.public-chat-v1-system-body {
    color: #f7edd0;
}

.public-chat-v1-mention {
    color: #f7c86f;
    font-weight: 700;
}

.public-chat-v1-deleted {
    color: #f0b6ca;
    font-style: italic;
}

.public-chat-v1-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-chat-v1-action-btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.public-chat-v1-action-btn:hover {
    color: #fff0c8;
}

.public-chat-v1-action-btn.is-danger:hover {
    color: #ffb9cd;
}

.public-chat-v1-composer {
    position: sticky;
    bottom: 14px;
    display: grid;
    gap: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.public-chat-v1-input {
    width: 100%;
    min-height: 108px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: #f7e8ef;
    padding: 16px 18px;
    font: inherit;
    line-height: 1.7;
}

.public-chat-v1-input:focus {
    outline: none;
    border-color: rgba(247, 200, 111, 0.36);
    box-shadow: 0 0 0 3px rgba(247, 200, 111, 0.08);
}

.public-chat-v1-composer-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.public-chat-v1-feedback {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.public-chat-v1-feedback.is-success {
    background: rgba(85, 211, 154, 0.1);
    border-color: rgba(85, 211, 154, 0.24);
    color: #d9ffef;
}

.public-chat-v1-feedback.is-error {
    background: rgba(255, 102, 146, 0.12);
    border-color: rgba(255, 102, 146, 0.26);
    color: #ffd7e5;
}

.public-chat-v1-empty {
    padding: 24px 18px;
}

.public-chat-v1-entry.is-flash {
    animation: public-chat-v1-flash 1.4s ease;
}

@keyframes public-chat-v1-flash {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(247, 200, 111, 0.26);
    }

    35% {
        transform: translateY(-2px);
        box-shadow: 0 0 0 10px rgba(247, 200, 111, 0.08);
    }

    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(247, 200, 111, 0);
    }
}

@media (max-width: 1100px) {
    .public-chat-v1-hero-shell,
    .public-chat-v1-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-chat-v1-feed {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .public-chat-v1-page {
        padding: 24px 12px 110px;
    }

    .public-chat-v1-hero-shell,
    .public-chat-v1-guidelines-card,
    .public-chat-v1-side-card,
    .public-chat-v1-feed,
    .public-chat-v1-composer {
        padding: 18px;
    }

    .public-chat-v1-entry--member,
    .public-chat-v1-entry--system {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-chat-v1-card {
        padding: 16px;
    }

    .public-chat-v1-composer {
        bottom: 10px;
    }

    .public-chat-v1-composer-footer {
        align-items: stretch;
    }

    .public-chat-v1-composer-footer .btn {
        width: 100%;
    }
}

/* Public Wall ephemeral one-to-one chat. */
.wall-private-chat-launcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(247, 200, 111, 0.28);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.12), rgba(184, 77, 123, 0.08));
    color: #fff3d4;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wall-private-chat-launcher:hover,
.wall-private-chat-launcher:focus-visible {
    border-color: rgba(247, 200, 111, 0.58);
    background: linear-gradient(135deg, rgba(247, 200, 111, 0.18), rgba(184, 77, 123, 0.13));
}

.wall-private-chat-launcher:focus-visible,
.wall-v7-online-entry.is-chat-ready:focus-visible,
.wall-private-chat-text-action:focus-visible,
.wall-private-chat-close:focus-visible,
.wall-private-chat-toast-close:focus-visible {
    outline: 2px solid #f7c86f;
    outline-offset: 3px;
}

.wall-private-chat-launcher-icon {
    font-size: 15px;
}

.wall-private-chat-unread {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding-inline: 5px;
    border-radius: 999px;
    background: #e15380;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.wall-private-chat-unread[hidden] {
    display: none;
}

button.wall-v7-online-entry {
    width: 100%;
    border: 0;
    text-align: left;
    font: inherit;
}

.wall-v7-online-entry.is-chat-ready {
    cursor: pointer;
}

.wall-v7-online-entry.is-chat-ready:hover {
    background: rgba(247, 200, 111, 0.08);
}

.wall-v7-online-entry.is-self,
.wall-v7-online-entry.is-chat-disabled {
    cursor: default;
}

.wall-private-chat-roster-icon {
    flex: 0 0 auto;
    color: #f7c86f;
    font-size: 13px;
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.wall-v7-online-entry.is-chat-ready:hover .wall-private-chat-roster-icon,
.wall-v7-online-entry.is-chat-ready:focus-visible .wall-private-chat-roster-icon {
    opacity: 1;
    transform: translateX(0);
}

.wall-private-chat-dialog {
    width: min(760px, calc(100vw - 32px));
    max-width: none;
    height: min(720px, calc(100dvh - 42px));
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(247, 200, 111, 0.2);
    border-radius: 24px;
    background: #12131a;
    color: #f8edf1;
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.72);
}

.wall-private-chat-dialog[open] {
    display: block;
    animation: wall-private-chat-enter 180ms ease-out both;
}

.wall-private-chat-dialog::backdrop {
    background: rgba(4, 5, 9, 0.8);
    backdrop-filter: blur(6px);
}

.wall-private-chat-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.wall-private-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.wall-private-chat-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
}

.wall-private-chat-identity img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid rgba(247, 200, 111, 0.28);
    border-radius: 50%;
    object-fit: cover;
}

.wall-private-chat-identity p,
.wall-private-chat-identity h2,
.wall-private-chat-meta,
.wall-private-chat-empty p,
.wall-private-chat-toast p,
.wall-private-chat-report p {
    margin: 0;
}

.wall-private-chat-identity p {
    color: #d4a8ba;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.wall-private-chat-identity h2 {
    max-width: 420px;
    overflow: hidden;
    color: #fff7ed;
    font-size: 20px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wall-private-chat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-top: 3px;
    color: #b9b2bd;
    font-size: 11px;
}

.wall-private-chat-meta span:first-child::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #6bddaa;
    content: '';
}

.wall-private-chat-meta span.is-offline::before {
    background: #8f8b94;
}

.wall-private-chat-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

.wall-private-chat-profile {
    color: #e5c98c;
    font-size: 12px;
    text-decoration: none;
}

.wall-private-chat-profile:hover {
    text-decoration: underline;
}

.wall-private-chat-close,
.wall-private-chat-toast-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #f8edf1;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.wall-private-chat-tray {
    min-width: 0;
    padding: 10px 16px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    scrollbar-width: thin;
}

.wall-private-chat-tray > div {
    display: flex;
    gap: 8px;
    width: max-content;
    min-width: 100%;
}

.wall-private-chat-tray-button {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 190px;
    min-height: 36px;
    padding: 6px 10px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #d9d2da;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.wall-private-chat-tray-button.is-active {
    border-color: rgba(247, 200, 111, 0.42);
    background: rgba(247, 200, 111, 0.11);
    color: #fff3d4;
}

.wall-private-chat-tray-button img {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    object-fit: cover;
}

.wall-private-chat-tray-button span:not(.wall-private-chat-tray-unread) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wall-private-chat-tray-unread {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #ef5f8e;
}

.wall-private-chat-tray-empty {
    padding: 3px 4px;
    color: #aaa3ae;
    font-size: 12px;
}

.wall-private-chat-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        radial-gradient(circle at 15% 0%, rgba(184, 77, 123, 0.07), transparent 36%),
        #0f1016;
}

.wall-private-chat-empty {
    display: grid;
    place-items: center;
    gap: 6px;
    margin: auto;
    max-width: 360px;
    padding: 30px;
    color: #c0bac3;
    text-align: center;
}

.wall-private-chat-empty strong {
    color: #f8edf1;
}

.wall-private-chat-empty p {
    font-size: 13px;
    line-height: 1.55;
}

.wall-private-chat-message {
    align-self: flex-start;
    max-width: min(78%, 520px);
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 16px 16px 5px;
    background: #20212a;
    color: #f1e9ee;
}

.wall-private-chat-message.is-mine {
    align-self: flex-end;
    border-color: rgba(247, 200, 111, 0.2);
    border-radius: 16px 16px 5px 16px;
    background: linear-gradient(135deg, #3b2635, #332a2b);
}

.wall-private-chat-message p {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.wall-private-chat-message time {
    display: block;
    margin-top: 5px;
    color: #aaa3ae;
    font-size: 10px;
    text-align: right;
}

.wall-private-chat-feedback,
.wall-private-chat-blocked {
    padding: 9px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffcddd;
    background: rgba(164, 37, 77, 0.13);
    font-size: 12px;
}

.wall-private-chat-feedback.is-success {
    color: #d9ffef;
    background: rgba(85, 211, 154, 0.09);
}

.wall-private-chat-dialog [hidden] {
    display: none !important;
}

.wall-private-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 13px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #15161e;
}

.wall-private-chat-composer textarea,
.wall-private-chat-report textarea,
.wall-private-chat-report select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    color: #f8edf1;
    font: inherit;
    font-size: 16px;
}

.wall-private-chat-composer textarea {
    min-height: 48px;
    max-height: 126px;
    padding: 12px 14px;
    resize: vertical;
}

.wall-private-chat-composer textarea:focus,
.wall-private-chat-report textarea:focus,
.wall-private-chat-report select:focus {
    outline: 2px solid rgba(247, 200, 111, 0.55);
    outline-offset: 1px;
}

.wall-private-chat-footer {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    padding: 8px 18px 12px;
    background: #15161e;
}

.wall-private-chat-text-action {
    padding: 3px;
    border: 0;
    background: transparent;
    color: #aaa3ae;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.wall-private-chat-text-action:hover {
    color: #fff0c8;
}

.wall-private-chat-text-action.is-danger:hover {
    color: #ffafca;
}

.wall-private-chat-report {
    position: absolute;
    z-index: 2;
    inset: auto 16px 16px;
    display: grid;
    gap: 10px;
    max-height: calc(100% - 32px);
    padding: 20px;
    overflow-y: auto;
    border: 1px solid rgba(255, 129, 168, 0.28);
    border-radius: 18px;
    background: #1b1820;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

.wall-private-chat-report[hidden] {
    display: none;
}

.wall-private-chat-report h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.wall-private-chat-report p,
.wall-private-chat-report label {
    color: #bdb5c0;
    font-size: 12px;
    line-height: 1.5;
}

.wall-private-chat-report label {
    margin-bottom: -5px;
    font-weight: 700;
}

.wall-private-chat-report select,
.wall-private-chat-report textarea {
    padding: 10px 12px;
}

.wall-private-chat-report select option {
    background: #1b1820;
}

.wall-private-chat-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.wall-private-chat-toast {
    position: fixed;
    z-index: 2100;
    right: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid rgba(247, 200, 111, 0.34);
    border-radius: 16px;
    background: #1b1b23;
    color: #f8edf1;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.62);
}

.wall-private-chat-toast[hidden] {
    display: none;
}

.wall-private-chat-toast strong {
    font-size: 13px;
}

.wall-private-chat-toast p {
    margin-top: 3px;
    color: #bdb5c0;
    font-size: 12px;
}

.wall-private-chat-toast-close {
    width: 30px;
    height: 30px;
    border: 0;
    font-size: 20px;
}

@keyframes wall-private-chat-enter {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    .wall-private-chat-launcher {
        width: auto;
        min-width: 150px;
    }
}

@media (max-width: 600px) {
    .wall-private-chat-dialog {
        width: calc(100vw - 10px);
        height: calc(100dvh - 10px);
        max-height: calc(100dvh - 10px);
        border-radius: 18px;
    }

    .wall-private-chat-header {
        gap: 10px;
        padding: 12px 13px;
    }

    .wall-private-chat-identity {
        gap: 9px;
    }

    .wall-private-chat-identity img {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .wall-private-chat-identity h2 {
        max-width: 45vw;
        font-size: 16px;
    }

    .wall-private-chat-meta {
        max-width: 58vw;
        font-size: 10px;
    }

    .wall-private-chat-profile {
        font-size: 10px;
        white-space: nowrap;
    }

    .wall-private-chat-tray {
        padding: 8px 10px;
    }

    .wall-private-chat-history {
        padding: 14px 12px;
    }

    .wall-private-chat-message {
        max-width: 88%;
    }

    .wall-private-chat-composer {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .wall-private-chat-composer .btn {
        width: auto;
        min-height: 46px;
        padding-inline: 13px;
        font-size: 11px;
    }

    .wall-private-chat-footer {
        padding: 5px 12px 9px;
    }

    .wall-private-chat-report {
        inset: auto 8px 8px;
        padding: 16px;
    }

    .wall-private-chat-toast {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wall-private-chat-dialog[open] {
        animation: none;
    }

    .wall-private-chat-launcher,
    .wall-private-chat-roster-icon {
        transition: none;
    }
}


/* 16-member-private-room.css */
/* Member-owned private rooms */

body.member-private-room-management-page {
    min-height: 100vh;
}

.member-private-room-management {
    padding: 54px 0 82px;
}

.member-private-room-container {
    max-width: 1160px;
}

.member-private-room-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.member-private-room-kicker,
.member-private-room-live-head p {
    margin: 0 0 8px;
    color: #f6a9ce;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.member-private-room-hero h1 {
    margin: 0;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.member-private-room-hero > div > p:last-child {
    max-width: 680px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.member-private-room-primary {
    min-width: 176px;
}

.member-private-room-empty,
.member-private-room-overview {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: linear-gradient(150deg, rgba(26, 28, 39, 0.98), rgba(13, 15, 23, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.member-private-room-empty {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 48px;
    align-items: center;
    min-height: 430px;
    padding: 46px;
}

.member-private-room-empty-visual {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 79, 163, 0.36), transparent 26%),
        radial-gradient(circle at 70% 70%, rgba(123, 97, 255, 0.34), transparent 32%),
        #11141d;
}

.member-private-room-empty-visual::before,
.member-private-room-empty-visual::after,
.member-private-room-empty-visual span {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.member-private-room-empty-visual::before { width: 190px; height: 190px; }
.member-private-room-empty-visual::after { width: 122px; height: 122px; }
.member-private-room-empty-visual span {
    width: 56px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ff4fa3, #7659f2);
    box-shadow: 0 18px 48px rgba(255, 79, 163, 0.3);
}

.member-private-room-empty-visual span::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 8px;
    width: 38px;
    height: 42px;
    border: 6px solid rgba(255, 255, 255, 0.86);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
}

.member-private-room-empty h2,
.member-private-room-card h2,
.member-private-room-controls h2 {
    margin: 0;
    letter-spacing: -0.035em;
}

.member-private-room-empty h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.member-private-room-empty > div:last-child > p:not(.member-private-room-kicker) { color: var(--muted); line-height: 1.65; }
.member-private-room-empty ul { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; color: #d9ddea; }
.member-private-room-empty li { position: relative; padding-left: 25px; }
.member-private-room-empty li::before { content: '✓'; position: absolute; left: 0; color: #f787bd; font-weight: 900; }

.member-private-room-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.75fr);
    overflow: hidden;
}

.member-private-room-card { padding: 38px; }
.member-private-room-controls { padding: 38px; border-left: 1px solid rgba(255, 255, 255, 0.09); background: rgba(0, 0, 0, 0.14); }
.member-private-room-controls section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.member-private-room-controls p:not(.member-private-room-kicker) { color: var(--muted); line-height: 1.55; }

.member-private-room-card-head,
.member-private-room-admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.member-private-room-card h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.member-private-room-status { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 999px; color: #dce1ed; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.member-private-room-status.is-active { color: #78e7a6; border-color: rgba(46, 204, 113, 0.36); background: rgba(46, 204, 113, 0.09); }
.member-private-room-status.is-locked { color: #ffd27d; border-color: rgba(255, 188, 74, 0.34); background: rgba(255, 188, 74, 0.08); }
.member-private-room-status.is-suspended { color: #ff9292; border-color: rgba(255, 92, 92, 0.4); background: rgba(255, 92, 92, 0.09); }

.member-private-room-notice { display: grid; gap: 5px; margin-top: 28px; padding: 15px 17px; border-left: 3px solid #ffbd59; border-radius: 6px 14px 14px 6px; background: rgba(255, 189, 89, 0.08); }
.member-private-room-notice span { color: var(--muted); }
.member-private-room-notice.is-danger { border-left-color: #ff6868; background: rgba(255, 92, 92, 0.08); }

.member-private-room-link-block { margin-top: 32px; }
.member-private-room-link-block label { display: block; margin-bottom: 9px; color: #fff; font-weight: 800; }
.member-private-room-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.member-private-room-link-row input { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #d5d9e5; background: rgba(5, 7, 12, 0.76); }
.member-private-room-link-block p { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }
.member-private-room-primary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.btn.is-disabled { opacity: 0.42; pointer-events: none; }

.member-private-room-state { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid rgba(255, 92, 92, 0.28); border-radius: 20px; background: rgba(255, 92, 92, 0.07); }
.member-private-room-state-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: #ff5c5c; color: #190809; font-weight: 900; }
.member-private-room-state h2 { margin: 0 0 6px; }
.member-private-room-state p { margin: 0; color: var(--muted); }

.member-private-room-dialog {
    width: min(480px, calc(100vw - 28px));
    max-height: min(760px, calc(100dvh - 28px));
    margin: auto 0 auto auto;
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px 0 0 24px;
    background: #171a23;
    color: var(--text);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.5);
}
.member-private-room-dialog::backdrop { background: rgba(3, 4, 8, 0.76); backdrop-filter: blur(7px); }
.member-private-room-dialog-form { padding: 34px; }
.member-private-room-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.member-private-room-dialog-head h2 { margin: 0; font-size: 1.75rem; letter-spacing: -0.035em; }
.member-private-room-dialog-form > p { color: var(--muted); line-height: 1.55; }
.member-private-room-dialog-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 1.45rem; cursor: pointer; }
.member-private-room-dialog-form .form-group { margin-top: 19px; }
.member-private-room-dialog-form small { display: block; margin-top: 7px; color: var(--muted); }
.member-private-room-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }

.member-private-room-gate-page { min-height: 100dvh; display: grid; place-items: center; }
.member-private-room-access-card h1 { max-width: 680px; overflow-wrap: anywhere; }
.member-private-room-live { padding-top: 12px; }
.member-private-room-live-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 6px 4px 10px; }
.member-private-room-live-head p { margin-bottom: 2px; }
.member-private-room-live-head h1 { margin: 0; max-width: min(62vw, 700px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.12rem; }
.member-private-room-emergency-banner { display: flex; justify-content: center; gap: 10px; padding: 10px 20px; border-bottom: 1px solid rgba(255, 191, 89, 0.35); background: rgba(255, 183, 70, 0.14); color: #ffe0a8; font-size: 0.86rem; }
.member-private-room-moderator-card { display: grid; gap: 5px; padding: 15px; border: 1px solid rgba(255, 79, 163, 0.22); border-radius: 14px; background: rgba(255, 79, 163, 0.06); }
.member-private-room-moderator-card span { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.member-private-room-media-action { margin: 0; }

.member-private-room-admin-panel { margin-top: 22px; }
.member-private-room-admin-list { display: grid; gap: 15px; }
.member-private-room-admin-card h3 { margin: 0 0 5px; }
.member-private-room-admin-card-head p { margin: 0; color: var(--muted); }
.member-private-room-admin-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.member-private-room-admin-metrics span { display: grid; gap: 5px; padding: 13px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; color: var(--muted); font-size: 0.77rem; }
.member-private-room-admin-metrics strong { color: #fff; font-size: 0.94rem; overflow-wrap: anywhere; }
.member-private-room-admin-reason { padding: 12px; border-radius: 10px; background: rgba(255, 92, 92, 0.07); color: #ffc5c5; }
.member-private-room-admin-actions { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr); gap: 18px; align-items: end; }
.member-private-room-admin-action-form { display: grid; gap: 8px; }
.member-private-room-admin-action-form textarea { min-height: 70px; }
.member-private-room-admin-secondary-actions { display: grid; gap: 9px; }
.member-private-room-admin-secondary-actions form { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.member-private-room-admin-secondary-actions input { min-width: 0; }

@media (max-width: 860px) {
    .member-private-room-management { padding-top: 34px; }
    .member-private-room-hero { align-items: flex-start; }
    .member-private-room-empty { grid-template-columns: 1fr; min-height: 0; padding: 28px; }
    .member-private-room-empty-visual { min-height: 190px; }
    .member-private-room-overview { grid-template-columns: 1fr; }
    .member-private-room-controls { border-top: 1px solid rgba(255, 255, 255, 0.09); border-left: 0; }
    .member-private-room-admin-actions { grid-template-columns: 1fr; }
    .member-private-room-admin-secondary-actions form { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .member-private-room-management { padding: 25px 0 56px; }
    .member-private-room-hero { display: grid; gap: 20px; }
    .member-private-room-hero .btn { width: 100%; }
    .member-private-room-empty { gap: 26px; padding: 18px; border-radius: 22px; }
    .member-private-room-card,
    .member-private-room-controls { padding: 22px 18px; }
    .member-private-room-card-head { display: grid; }
    .member-private-room-status { justify-self: start; }
    .member-private-room-link-row { grid-template-columns: 1fr; }
    .member-private-room-primary-actions { display: grid; }
    .member-private-room-primary-actions > * { width: 100%; text-align: center; }
    .member-private-room-dialog { width: 100%; max-width: none; max-height: calc(100dvh - 12px); margin: auto 0 0; border-radius: 24px 24px 0 0; }
    .member-private-room-dialog-form { padding: 25px 19px; }
    .member-private-room-dialog-actions { display: grid; grid-template-columns: 1fr; }
    .member-private-room-dialog-actions .btn { width: 100%; }
    .member-private-room-live-head { padding-inline: 2px; }
    .member-private-room-live-head h1 { max-width: 55vw; }
    .member-private-room-emergency-banner { display: grid; gap: 2px; }
    .member-private-room-admin-metrics { grid-template-columns: 1fr; }
    .member-private-room-admin-card-head { display: grid; }
    .member-private-room-admin-secondary-actions form { display: grid; }
    .member-private-room-admin-secondary-actions .btn,
    .member-private-room-admin-secondary-actions input { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    .member-private-room-empty,
    .member-private-room-overview { animation: member-private-room-enter 260ms ease-out both; }
    .member-private-room-dialog { animation: member-private-room-drawer 180ms ease-out both; }
}

@keyframes member-private-room-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes member-private-room-drawer { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }


/* 16-product-system.css */
/* Shared product controls, member workspace and storefront presentation. */
:root {
    color-scheme: dark;
    --bg: #101116;
    --bg-soft: #191b22;
    --card-solid: #1b1d25;
    --text: #f4f3f6;
    --muted: #b8b9c5;
    --line: #343640;
    --accent: #ff4fa3;
    --success: #94dfb5;
    --error: #ffaaaa;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 24px rgb(0 0 0 / 14%);
    --ui-space-1: 4px;
    --ui-space-2: 8px;
    --ui-space-3: 12px;
    --ui-space-4: 16px;
    --ui-space-5: 24px;
    --ui-space-6: 32px;
    --ui-control: 44px;
    --ui-focus: #ffb4d8;
}

html, body {
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

:is(h1, h2, h3) { overflow-wrap: anywhere; }
:is(input, select, textarea, button) { font: inherit; }
:is(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--ui-focus);
    outline-offset: 4px;
}
:is(h1, h2, h3, section[id]) { scroll-margin-top: 150px; }

/* One action hierarchy; outlines remain quieter than the primary action. */
.btn {
    min-height: var(--ui-control);
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--gradient);
    color: #08090d;
    box-shadow: none;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    transition: background 150ms ease, border-color 150ms ease;
}
.btn:hover { background: linear-gradient(135deg, #ff70b4 0%, #9d84ff 100%); transform: none; opacity: 1; }
.btn.btn-outline { background: transparent; border-color: #676977; color: var(--text); }
.btn.btn-outline:hover { background: #292b35; border-color: #858794; }
.btn.btn-danger-soft { background: #381f29; color: #ffc4cf; border-color: #995967; }
.btn.btn-danger-soft:hover { background: #4c2937; }
.btn.btn-small { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.btn:disabled, button:disabled, [aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-group :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
    border: 1px solid #696b7a;
    border-radius: var(--radius-sm);
    background: #13151b;
    color: var(--text);
    min-height: var(--ui-control);
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
    max-width: 100%;
}
.form-group :is(input, select, textarea):focus {
    border-color: var(--ui-focus);
    box-shadow: 0 0 0 3px rgb(255 79 163 / 12%);
}
.form-group { min-width: 0; gap: 7px; }
.form-group label { font-size: 14px; line-height: 1.4; color: #e4e3eb; }
.form-group select { appearance: auto; -webkit-appearance: auto; background-image: none; padding-right: 12px; }
input::placeholder, textarea::placeholder { color: #a8a9b7; opacity: 1; }
input:is([type="checkbox"], [type="radio"]) { accent-color: var(--accent); }
textarea { resize: vertical; }
.form-errors { border-color: #bd737d; background: #301e25; color: #ffd9df; }

/* Shell navigation gives discovery a visible desktop path. */
header.site-header.xs-header { background: var(--bg); }
header.site-header.xs-header .xs-header-shell {
    background: #15171e;
    border-radius: 14px;
    box-shadow: none;
    backdrop-filter: none;
}
header.site-header.xs-header .xs-header-bar { min-height: 76px; }
header.site-header.xs-header .xs-header-brand-mark { width: clamp(180px, 18vw, 224px); }
header.site-header.xs-header .xs-header-wall-cta { box-shadow: none; }
header.site-header.xs-header .xs-header-pill strong { background: #383040; color: #ffd5e9; }
.xs-desktop-nav { display: none; }
@media (min-width: 1040px) {
    .xs-desktop-nav { display: flex; gap: 4px; align-items: center; min-height: 44px; padding: 4px 2px; }
    .xs-desktop-nav a { padding: 7px 14px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
    .xs-desktop-nav a:hover { background: #23252e; color: var(--text); }
    .xs-desktop-nav a[aria-current="page"] { background: #322632; color: #ffbddc; }
}
@media (min-width: 481px) and (max-width: 900px) {
    header.site-header.xs-header .xs-header-brand-mark {
        width: 54px;
        height: 54px;
        aspect-ratio: auto;
        overflow: hidden;
    }
    header.site-header.xs-header .xs-header-brand-mark img {
        width: 165px;
        max-width: none;
        height: 54px;
        object-fit: contain;
        object-position: left center;
    }
    header.site-header.xs-header .xs-header-summary {
        gap: 8px;
    }
    header.site-header.xs-header .xs-header-pill {
        padding-inline: 10px;
    }
    header.site-header.xs-header .xs-header-pill-label,
    header.site-header.xs-header .xs-header-account-copy {
        display: none;
    }
}

/* Compact page introductions leave the work visible in the first viewport. */
:is(.dashboard-hero-card, .wallet-v3-shell, .transactions-v3-shell, .buyxs-v3-shell,
    .library-v3-shell, .notifications-v3-shell, .messages-v1-shell, .upload-v3-shell,
    .mycontent-v3-shell, .analytics-v3-shell, .support-ticket-shell,
    .market-v3-hero-card, .docs-v3-hero-card, .auction-v4-hero-shell) {
    background: #191b23;
    border-color: var(--line);
    border-radius: var(--radius);
    padding: var(--ui-space-5);
    box-shadow: none;
    gap: var(--ui-space-5);
}
:is(.dashboard-hero-copy, .wallet-v3-hero-copy, .transactions-v3-hero-copy,
    .buyxs-v3-hero-copy, .library-v3-copy, .notifications-v3-copy, .messages-v1-copy,
    .upload-v3-copy, .mycontent-v3-copy, .analytics-v3-copy, .support-ticket-copy,
    .market-v3-hero-copy, .docs-v3-hero-copy, .auction-v4-copy) h1,
.admin-v3-hero h1 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.18;
    letter-spacing: -.035em;
    max-width: 28ch;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
}
:is(.dashboard-panel, .wallet-v3-panel, .transactions-v3-panel, .library-v3-panel,
    .notifications-v3-panel, .messages-v1-panel, .upload-v3-panel, .mycontent-v3-panel,
    .analytics-v3-panel, .support-ticket-panel, .docs-v3-panel,
    .admin-v3-panel, .admin-v3-side-card, .admin-v3-report-card, .admin-v3-audit-card) {
    border-radius: var(--radius);
    background: #191b23;
    padding: var(--ui-space-5);
    box-shadow: none;
    backdrop-filter: none;
}
:is(.dashboard-section-head, .wallet-v3-panel-head, .transactions-v3-panel-head,
    .docs-v3-section-head, .notifications-v3-panel-head, .messages-v1-section-head) h2 {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -.025em;
}
:is(.dashboard-highlight-card, .dashboard-highlight-mini, .dashboard-mini-card,
    .wallet-v3-balance-card, .transactions-v3-balance-card, .messages-v1-highlight-card,
    .notifications-v3-highlight-card, .library-v3-highlight-card) {
    background: #20222c;
    border-color: #3d3f4c;
    border-radius: 12px;
    box-shadow: none;
}
.ui-source-link { text-decoration: none; }
.ui-source-link:hover { background: #2c2935; border-color: #8d7186; }
.ui-stat-source { text-decoration: underline; text-underline-offset: 4px; }
.ui-stat-source:hover { color: #ffd5e9; }
:is(.dashboard-highlight-card, .transactions-v3-balance-card) strong,
.wallet-v3-balance-value { font-size: 30px; font-variant-numeric: tabular-nums; }
.dashboard-mini-card strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.dashboard-action-card { border-radius: 10px; padding: 16px; box-shadow: none; }
.dashboard-action-card:hover { transform: none; }

/* Discovery keeps its imagery; search and card information use quieter chrome. */
.home-v3-hero-card { min-height: 460px; padding: 32px; border-radius: 20px; background: #191b23; box-shadow: none; }
.home-v3-hero-card::before, .market-v3-hero-card::before { display: none; }
.home-v3-copy h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -.035em; }
.home-v3-hero-actions .btn { min-height: 44px; }
.market-v3-hero { padding-top: 24px; }
.market-v3-filter-shell { padding: 20px; border-radius: 14px; background: #191b23; box-shadow: none; }
.market-v3-filter-head { margin-bottom: 16px; }
.market-v3-filter-copy h2 { font-size: 21px; }
.market-v3-filter-status { background: transparent; border: 0; }
:is(.creator-collection-card, .market-creator-card, .library-v3-card, .mycontent-v3-card) {
    border-radius: 14px;
    box-shadow: none;
}

/* Financial and operational lists remain lists, with stable row geometry. */
.wallet-v3-balance-card {
    background: #20222c !important;
    border-color: #55505e !important;
    box-shadow: none !important;
}
#cashout_amount_xs { font-size: 24px !important; padding: 10px 12px !important; }
.wallet-v3-activity-item:hover { transform: none !important; }
.transactions-v3-list { gap: 0; }
.transactions-v3-item { padding: 16px 0; border-radius: 0; border-width: 0 0 1px; background: transparent; }
.transactions-v3-item:last-child { border-bottom: 0; }
.transactions-v3-item-amount { font-variant-numeric: tabular-nums; }
.admin-v3-hero, .admin-v3-stat-card, .admin-v3-admin-card { background: #191b23; border-radius: 14px; box-shadow: none; }
.admin-v3-table-wrap { border-radius: 12px; scrollbar-color: #79717d #191b23; }
.admin-v3-table { min-width: 960px; font-size: 14px; }
.admin-v3-table thead th { padding: 12px 14px; letter-spacing: .045em; background: #22242e; }
.admin-v3-table tbody td { padding: 14px; }
.admin-v3-user-primary { min-width: 230px; }
.admin-v3-table tbody tr:focus-within { background: #292631; }
.admin-v3-nav-link { border-radius: 10px; }
.admin-v3-subnav { border-radius: 12px; box-shadow: none; padding: 8px; gap: 6px; }
.admin-v3-subnav-link { border-radius: 8px; padding: 10px 12px; }
.admin-v3-subnav-link.is-active { background: #332736; box-shadow: none; }
.mycontent-v3-page .market-v3-filter-form { grid-template-columns: minmax(180px, 1fr) 150px 160px auto auto; align-items: end; }
.mycontent-v3-page .library-v3-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), min(100%, 380px))); }
.mycontent-v3-page .library-v3-card { min-width: 0; }

/* Account forms, documentation and gates share a readable, calm surface. */
.auth-card, .auth-aside, .agegate-v1-card { background: #191b23; border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: none; }
.auth-card { padding: 28px; }
.auth-card-head :is(h1, h2), .auth-aside h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.auth-page { padding-top: 32px; }
.auth-form { gap: 20px; }
.auth-card-head { margin-bottom: 24px; }
.auth-shell-single { max-width: 520px; margin-inline: auto; }
.profile-edit-card { max-width: 900px; margin-inline: auto; }
.agegate-v1-body { background: var(--bg); }
.agegate-v1-shell { max-width: 640px; }
.agegate-v1-copy h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.docs-v3-hero { padding-top: 24px; padding-bottom: 8px; }
.docs-v3-hero-card-single { max-width: none; }
.docs-v3-hero-card::before { display: none; }
.docs-v3-card, .docs-v3-highlight-card, .docs-v3-hero-note { background: #20222a; border-radius: 12px; box-shadow: none; }
.docs-v3-card p, .docs-v3-panel p { max-width: 76ch; line-height: 1.7; }
.docs-v3-panel h2 { font-size: 23px; }
.site-footer { background: var(--bg); border-top: 1px solid #292b34; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wall-v3-card-timer.is-ending { animation: none !important; }
.messages-v1-panel-head { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.messages-v1-panel-head h2 { font-size: 22px; overflow-wrap: normal; }
.messages-v1-highlight-card { padding: 16px; }
.messages-v1-highlight-grid { gap: 8px; }
.messages-v1-highlight-mini { padding: 12px; border-radius: 10px; }
.messages-v1-thread-card-link { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
.messages-v1-thread-avatar { width: 40px; height: 40px; }
.ui-password-field { display: flex; align-items: stretch; gap: 8px; }
.ui-password-field input { min-width: 0; flex: 1; width: 100%; }
.ui-password-toggle { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #696b7a; border-radius: 10px; color: var(--text); background: #242630; cursor: pointer; font-size: 13px; }
.ui-password-toggle:hover { background: #33303d; }
.analytics-v3-table-wrap { scrollbar-color: #79717d #191b23; }
.analytics-v3-status-card, .analytics-v3-metric-card, .analytics-v3-hero-metric { min-width: 0; }
.analytics-v3-status-card > div { flex-wrap: wrap; gap: 8px; }
.analytics-v3-status-card .request-status-chip { white-space: normal; overflow-wrap: anywhere; }
.owned-collection-shell, .image-focus-shell { background: #191b23; border-radius: 16px; box-shadow: none; }
.owned-collection-copy h1, .image-focus-copy h1, .content-v3-heading h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.owned-collection-highlight-card, .image-focus-highlight-card { background: #20222c; border-radius: 12px; box-shadow: none; }
.buyxs-v3-summary-card { padding: 18px; gap: 8px; background: #20222c; border-radius: 12px; box-shadow: none; }
.buyxs-v3-summary-mini { padding: 10px 12px; border-radius: 8px; }
.buyxs-v3-summary-mini strong { font-size: 18px; }
.buyxs-v3-summary-card p { margin-block: 0; }
.site-closed-body { background: var(--bg); }
.site-closed-shell { background: #191b23; border-radius: 16px; box-shadow: var(--shadow); }
.site-closed-shell h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.site-closed-btn { border-radius: 10px; }
.site-closed-btn-primary { background: var(--gradient); color: #08090d; box-shadow: none; }
.site-closed-btn:hover { transform: none; }
.site-closed-btn:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 4px; }
.buyxs-v3-panel, .upload-v3-form-panel, .upload-v3-side-panel {
    border-radius: 16px;
    background: #191b23;
    box-shadow: none;
}
.buyxs-v3-suggestion.is-active, .buyxs-v3-suggestion[aria-pressed="true"] {
    border-color: #ff4fa3;
    background: #3b2937;
    color: #ffd5e9;
}

@media (max-width: 900px) {
    .mycontent-v3-page .market-v3-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is(.dashboard-hero-card, .wallet-v3-shell, .transactions-v3-shell, .buyxs-v3-shell,
        .library-v3-shell, .notifications-v3-shell, .messages-v1-shell, .upload-v3-shell,
        .analytics-v3-shell, .support-ticket-shell, .market-v3-hero-card, .docs-v3-hero-card,
        .auction-v4-hero-shell) { padding: 20px; gap: 20px; }
    .home-v3-hero-card { min-height: auto; padding: 24px; }
}
@media (max-width: 640px) {
    :is(.messages-v1-highlight-card, .library-v3-highlight-card) { padding: 14px; gap: 6px; }
    :is(.messages-v1-highlight-grid, .library-v3-highlight-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    :is(.messages-v1-highlight-mini, .library-v3-highlight-mini) { padding: 10px; gap: 4px; }
    :is(.messages-v1-highlight-mini, .library-v3-highlight-mini) strong { font-size: 20px; }
    .mycontent-v3-page .market-v3-filter-form { grid-template-columns: minmax(0, 1fr); }
    .mycontent-v3-page .market-v3-filter-form .btn { width: 100%; }
    .admin-v3-subnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-v3-subnav-link { min-height: 44px; align-content: center; font-size: 13px; }
    .admin-v3-subnav-link small { display: none; }
    .admin-v3-hero .admin-v3-admin-card { padding: 12px; gap: 4px; }
    :root { --ui-control: 44px; }
    .btn.btn-small { min-height: 44px; }
    .form-group :is(input, select, textarea) { font-size: 16px; }
    :is(.dashboard-panel, .wallet-v3-panel, .transactions-v3-panel, .docs-v3-panel,
        .admin-v3-panel, .admin-v3-side-card, .admin-v3-report-card, .admin-v3-audit-card) { padding: 18px; }
    .auth-card { padding: 24px 20px; }
    .auth-page { padding-top: 24px; }
    .home-v3-copy h1 { font-size: 30px; }
    header.site-header.xs-header .xs-header-brand-mark { width: 170px; }
    header.site-header.xs-header .xs-header-bar { min-height: 64px; }
    .transactions-v3-item-head { gap: 12px; }
    .transactions-v3-item-title { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* The member workspace uses a stable navigation rail and an open work canvas. */
.workspace-icon { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.workspace-layout { width: min(1440px, calc(100% - 64px)); margin: 26px auto 56px; display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 36px; align-items: start; }
.workspace-content { min-width: 0; }
.workspace-content > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
.workspace-rail { position: sticky; top: 130px; min-width: 0; padding-right: 22px; border-right: 1px solid var(--line); max-height: calc(100dvh - 150px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #49404f transparent; }
.workspace-rail > summary { display: none; }
.workspace-navigation { display: grid; gap: 24px; }
.workspace-nav-group { display: grid; gap: 3px; }
.workspace-nav-group > p { margin: 0 0 8px 12px; color: #8f919e; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 700; }
.workspace-nav-group > a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; color: #bfc0cb; font-size: 13px; line-height: 1.35; min-height: 42px; border-radius: 8px; transition: color 150ms, background 150ms; }
.workspace-nav-group > a:hover { color: #fff; background: #1c1d26; }
.workspace-nav-group > a[aria-current="page"] { color: #fff; background: #302033; box-shadow: inset 3px 0 var(--accent); }
.workspace-nav-group > a[aria-current="page"] > svg { color: var(--accent); }
.workspace-nav-discover { border-top: 1px solid var(--line); padding-top: 16px; }
.workspace-nav-discover > a > svg:last-child:not(:first-child) { width: 14px; flex-basis: 14px; margin-left: auto; }
.workspace-content :is(.wallet-v3-hero,.transactions-v3-hero,.buyxs-v3-hero,.library-v3-hero,.notifications-v3-hero,.messages-v1-hero,.upload-v3-hero,.mycontent-v3-hero,.analytics-v3-hero) { padding: 0; margin-bottom: 28px; }
.workspace-content :is(.wallet-v3-shell,.transactions-v3-shell,.buyxs-v3-shell,.library-v3-shell,.notifications-v3-shell,.messages-v1-shell,.upload-v3-shell,.mycontent-v3-shell,.analytics-v3-shell) { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; background: transparent; box-shadow: none; padding: 0 0 28px !important; gap: 28px; min-height: 0; }
.workspace-content :is(.wallet-v3-shell,.transactions-v3-shell,.buyxs-v3-shell,.library-v3-shell,.notifications-v3-shell,.messages-v1-shell,.upload-v3-shell,.mycontent-v3-shell,.analytics-v3-shell)::before { display: none; }
.workspace-content :is(.wallet-v3-hero-copy,.transactions-v3-hero-copy,.buyxs-v3-hero-copy,.library-v3-copy,.notifications-v3-copy,.messages-v1-copy,.upload-v3-copy,.mycontent-v3-copy,.analytics-v3-copy) h1 { max-width: none; font-size: 30px; line-height: 1.2; }
.workspace-content :is(.wallet-v3-hero-copy,.transactions-v3-hero-copy,.buyxs-v3-hero-copy,.library-v3-copy,.notifications-v3-copy,.messages-v1-copy,.upload-v3-copy,.mycontent-v3-copy,.analytics-v3-copy) > p:not(:first-child) { max-width: 60ch; font-size: 14px; line-height: 1.65; }
.workspace-content :is(.wallet-v3-panel,.transactions-v3-panel,.library-v3-panel,.notifications-v3-panel,.messages-v1-panel,.upload-v3-panel,.mycontent-v3-panel,.analytics-v3-panel,.support-ticket-panel) { padding: 22px; border: 1px solid #2e303b; border-radius: 12px; background: #15171e; }
.workspace-content :is(.analytics-v3-metric-card,.analytics-v3-hero-metric,.wallet-v3-summary-card,.notifications-v3-highlight-mini,.messages-v1-highlight-mini) { background: transparent; border-radius: 0; border-width: 0 0 1px; border-color: #343640; box-shadow: none; }
.workspace-content .wallet-v3-activity-item { background: transparent; border-width: 0 0 1px; border-radius: 0; padding-inline: 0; box-shadow: none; }
.workspace-content .wallet-v3-activity-list { gap: 0; }
.workspace-content .analytics-v3-grid--two { grid-template-columns: minmax(0,1fr); }
.workspace-content .analytics-v3-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.workspace-content .analytics-v3-copy { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.workspace-content .analytics-v3-hero-card { background: #1b1825; border: 1px solid #3d3047; border-radius: 12px; box-shadow: none; padding: 20px; }
.workspace-content .wallet-v3-stats { gap: 0; border-block: 1px solid var(--line); }
.workspace-content .wallet-v3-stat-card { border: 0; border-radius: 0 !important; background: transparent; box-shadow: none; padding: 20px 16px; }
.workspace-content .wallet-v3-stat-card strong { font-size: 25px; }
.workspace-content .wallet-v3-balance-card { padding: 20px; gap: 8px; border-radius: 12px !important; }
.workspace-content .wallet-v3-balance-note { font-size: 12px; line-height: 1.55; }
.workspace-content .wallet-v3-balance-mini { background: transparent; padding: 10px 0; border: 0; border-top: 1px solid #43404a; border-radius: 0 !important; }
.workspace-content .mycontent-v3-page .library-v3-list-panel { background: transparent; border: 0; padding: 0 !important; box-shadow: none; }
.workspace-content .mycontent-v3-page .market-v3-filter-form { grid-template-columns: minmax(160px,1fr) 130px 140px auto auto; }
.workspace-content .mycontent-v3-page .library-v3-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,260px),1fr)); }
.workspace-content :is(.profile-edit-card,.member-private-room-card) { border-radius: 12px; box-shadow: none; }

/* An actionable dashboard: a work queue, wallet, studio and personal destinations. */
.member-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 3px 0 36px; }
.member-page-heading h1 { margin: 8px 0 10px; max-width: 28ch; font-size: clamp(25px,2.4vw,34px); line-height: 1.2; letter-spacing: -.035em; }
.member-page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.member-page-heading p.workspace-eyebrow { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.member-page-heading > .btn { flex-shrink: 0; display: inline-flex; gap: 9px; align-items: center; }
.member-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,1fr); column-gap: 32px; row-gap: 36px; }
.member-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.member-section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.member-section-heading > span { font-size: 11px; color: #9396a5; }
.member-activity-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 18px; gap: 14px; align-items: center; min-height: 87px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.member-activity-row:hover { background: #171921; }
.member-activity-icon { width: 42px; height: 42px; display: grid; place-items: center; background: #23202d; color: #d2bbe6; border-radius: 10px; }
.member-activity-row strong { font-size: 14px; display: block; }
.member-activity-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.member-activity-row b { min-width: 27px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.member-activity-row > svg { color: #858897; width: 17px; }
.member-balance { background: #1d1928; border: 1px solid #3f304d; border-radius: 14px; padding: 24px; align-self: start; position: relative; overflow: hidden; }
.member-balance::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); }
.member-balance .member-section-heading { margin-bottom: 22px; }
.member-balance .member-section-heading > svg { color: var(--accent); }
.member-balance-value { display: grid; gap: 2px; color: var(--text); margin-bottom: 18px; }
.member-balance-value:hover { background: transparent; }
.member-balance-value span { font-size: 12px; color: var(--muted); }
.member-balance-value strong { font-size: clamp(28px,3vw,40px); line-height: 1.3; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.member-balance-details { display: grid; gap: 8px; border-bottom: 1px solid #40334c; padding-bottom: 18px; margin-bottom: 16px; }
.member-balance-details a { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.member-balance-details b { color: var(--text); }
.member-text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #e5c4ef; }
.member-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.member-text-link svg { width: 16px; flex-basis: 16px; }
.member-studio { min-width: 0; }
.member-studio-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 18px 0; border-block: 1px solid var(--line); }
.member-studio-metrics a { color: var(--text); display: grid; gap: 5px; padding: 0 18px; border-right: 1px solid var(--line); }
.member-studio-metrics a:first-child { padding-left: 0; }
.member-studio-metrics a:last-child { border: 0; }
.member-studio-metrics strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.member-studio-metrics span { font-size: 12px; color: var(--muted); }
.member-studio-links { display: grid; margin-top: 10px; }
.member-studio-links > a { display: flex; align-items: center; gap: 12px; min-height: 55px; color: var(--text); font-size: 13px; border-bottom: 1px solid #262833; }
.member-studio-links > a > svg:first-child { color: #9b8bb2; }
.member-studio-links > a > svg:last-child { margin-left: auto; width: 17px; color: #9697a5; }
.member-studio-links small { margin-left: 12px; color: var(--muted); font-size: 11px; }
.member-studio-links > a:hover { color: var(--accent); }
.member-destinations { display: grid; align-content: start; gap: 12px; }
.member-destination { display: grid; grid-template-columns: 24px minmax(0,1fr) 20px; gap: 14px; align-items: center; padding: 20px; color: var(--text); border: 1px solid #31313d; border-radius: 12px; background: #161820; }
.member-destination > svg:first-child { color: #cda0e5; }
.member-destination strong { font-size: 14px; display: block; }
.member-destination small { display: block; font-size: 12px; line-height: 1.5; margin-top: 4px; color: var(--muted); }
.member-destination > svg:last-child { width: 17px; color: #9697a5; }
.member-destination:hover { background: #20202b; border-color: #6c4f80; }

/* Account identity is distinct from the selected section of the workspace. */
.profile-shell-page .profile-shell-hero { border: 1px solid #30313b; border-radius: 14px; overflow: hidden; background: #15171e; }
.profile-shell-page .profile-shell-banner { height: 110px; min-height: 0; border: 0; border-radius: 0; }
.profile-shell-page .profile-shell-top { display: block; margin: 0; padding: 0; }
.profile-shell-page .profile-shell-identity-card { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 22px; padding: 24px; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; overflow: visible; }
.profile-shell-page .profile-shell-avatar-shell { width: 96px; height: 96px; border-radius: 50%; padding: 0; border: 3px solid #33303e; margin-top: -48px; }
.profile-shell-page .profile-shell-avatar { width: 100%; height: 100%; border-radius: 50%; }
.profile-shell-page .profile-shell-copy { display: flex; flex-direction: column; gap: 12px; }
.profile-shell-page .profile-shell-title-row h1 { font-size: 28px; }
.profile-shell-page .profile-shell-kicker { display: none; }
.profile-shell-page .profile-shell-bio { font-size: 14px; margin: 0; padding: 0; max-width: 68ch; }
.profile-shell-page .profile-shell-primary-actions { display: flex; gap: 10px; margin: 0; }
.profile-shell-page .profile-shell-utility-links { display: none; }
.profile-shell-page .profile-shell-meta-pill { padding: 0; min-height: 24px; border: 0; background: none; font-size: 11px; color: var(--muted); }
.profile-shell-page .profile-shell-subnav { display: flex; width: 100%; gap: 8px; border: 0; border-radius: 0; background: #11131a; padding: 0 24px; margin: 0; overflow-x: auto; }
.profile-shell-page .profile-shell-subnav a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 15px 12px; color: var(--muted); font-size: 13px; text-transform: none; white-space: nowrap; }
.profile-shell-page .profile-shell-subnav a[aria-selected="true"] { border-bottom-color: var(--accent); color: #fff; background: transparent; }
.profile-shell-page .profile-shell-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
.profile-shell-page :is(.profile-shell-main,.profile-shell-sidebar) { display: contents; }
.profile-shell-page [hidden] { display: none !important; }
.profile-shell-page .profile-shell-panel { background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.profile-shell-page .profile-shell-command-card { background: #1a1722; border-radius: 12px; padding: 22px; margin-bottom: 28px; border: 1px solid #403247; box-shadow: none; backdrop-filter: none; order: 0; }
.profile-shell-page #profileSnapshot > .profile-shell-panel-head { order: -1; }
.profile-shell-page .profile-shell-command-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.profile-shell-page .profile-shell-command-item { border: 0; border-right: 1px solid #403247; background: transparent; box-shadow: none; border-radius: 0; padding: 10px 14px; min-height: 0; }
.profile-shell-page .profile-shell-command-item:last-child { border-right: 0; }
.profile-shell-page .profile-shell-command-item p { display: none; }
.profile-shell-page .profile-shell-command-copy { margin-block: 8px; font-size: 12px; }
.profile-shell-page .profile-shell-feature-card { background: #171921; border: 1px solid #2e303b; border-radius: 12px; box-shadow: none; padding: 20px; }
.profile-shell-page .profile-shell-metric-card { border-radius: 0; background: transparent; border-width: 0 0 1px; padding: 16px 0; box-shadow: none; }
.profile-shell-page .profile-shell-summary-card { background: #171921; border-radius: 10px; box-shadow: none; }
.profile-shell-page :is(.profile-shell-section-kicker,.profile-shell-card-kicker) { font-size: 10px; letter-spacing: .1em; color: #b8a1c5; }
.profile-shell-page :is(.profile-shell-section-kicker,.profile-shell-card-kicker)::before { display: none; }
.profile-shell-page .profile-shell-disclosure { background: #15171e; border: 1px solid #30313c; border-radius: 12px; box-shadow: none; backdrop-filter: none; }
.profile-shell-page .profile-shell-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-shell-page .profile-shell-link-card { background: transparent; border-width: 0 0 1px; border-radius: 0; padding: 16px 0; }

/* A storefront puts the creator's identity next to the work, with secondary tools aside. */
.creator-shell-page .creator-shell-hero { border: 1px solid #30313b; border-radius: 16px; background: #15171e; overflow: hidden; }
.creator-shell-page .creator-shell-banner { height: 150px; border: 0; border-radius: 0; min-height: 0; }
.creator-shell-page .creator-shell-top { display: block; margin: 0; padding: 0 28px 24px; }
.creator-storefront-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 28px; align-items: start; }
.creator-storefront-layout > .creator-shell-command-card { grid-column: 2; grid-row: 1; position: sticky; top: 175px; }
.creator-storefront-layout > .creator-collections-card { grid-column: 1; grid-row: 1; }
.creator-shell-command-section:not(:has(a, button)) { display: none; }
.creator-shell-page .creator-shell-identity-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 24px; padding: 24px 0 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; overflow: visible; align-items: start; }
.creator-shell-page .creator-shell-avatar-shell { width: 112px; height: 112px; border: 4px solid #15171e; padding: 0; border-radius: 50%; margin-top: -68px; background: #1d1e26; }
.creator-shell-page .creator-shell-avatar { width: 100%; height: 100%; border-radius: 50%; }
.creator-shell-page .creator-shell-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.creator-shell-page .creator-shell-title { font-size: 32px; line-height: 1.2; }
.creator-shell-page .creator-shell-kicker { font-size: 10px; letter-spacing: .1em; color: #c1a9cd; }
.creator-shell-page .creator-shell-kicker::before, .creator-shell-page .creator-shell-card-kicker::before { display: none; }
.creator-shell-page .creator-shell-meta-row { gap: 12px; }
.creator-shell-page .creator-shell-meta-pill { padding: 0; min-height: 24px; border: 0; background: transparent; font-size: 11px; color: var(--muted); }
.creator-shell-page .creator-shell-cta { padding: 0; margin: 0 0 16px; border: 0; }
.creator-shell-page .creator-shell-cta > .creator-shell-card-kicker { display: none; }
.creator-shell-page .creator-shell-cta .creator-shell-card-copy { margin-top: 10px; font-size: 12px; }
.creator-shell-page .creator-shell-primary-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.creator-shell-page .creator-shell-primary-actions > .btn { flex: 0 1 auto; }
.creator-shell-page .creator-shell-bio { padding: 0; margin: 0; border: 0; background: none; font-size: 14px; max-width: 65ch; }
.creator-shell-page .creator-shell-rating-overview { order: 4; font-size: 12px; padding: 0; border: 0; }
.creator-shell-page .creator-shell-metric-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; border-top: 1px solid #30303b; margin: 0 28px; padding: 16px 0; }
.creator-shell-page .creator-shell-metric-card { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; min-height: 0; display: flex; flex-direction: column; gap: 5px; }
.creator-shell-page .creator-shell-metric-card span { font-size: 9px; letter-spacing: .03em; line-height: 1.4; }
.creator-shell-page .creator-shell-metric-card strong { font-size: 18px; }
.creator-shell-page .creator-shell-command-card { padding: 24px 0 0 24px; border: 0; border-left: 1px solid #30313b; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.creator-shell-page .creator-shell-quick-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
.creator-shell-page .creator-shell-quick-action { justify-content: flex-start; text-align: left; font-size: 12px; padding: 10px 12px; min-height: 40px; }
.creator-shell-page :is(.creator-shell-disclosure,.creator-shell-rating-card) { padding: 14px; border-radius: 10px; background: #1c1e27; box-shadow: none; backdrop-filter: none; }
.creator-shell-page .creator-shell-disclosure > summary span { font-size: 12px; }
.creator-shell-page .creator-shell-subnav { display: flex; width: 100%; gap: 20px; margin: 0; padding: 0 28px; border: 0; border-radius: 0; background: #11131a; overflow-x: auto; }
.creator-shell-page .creator-shell-subnav a { padding: 16px 0; border: 0; border-radius: 0; background: transparent; font-size: 13px; text-transform: none; white-space: nowrap; }
.creator-shell-page .creator-shell-subnav a:first-child { border-bottom: 2px solid var(--accent); }
.creator-shell-page .creator-shell-panel { border-radius: 12px; background: #15171e; box-shadow: none; backdrop-filter: none; }
.creator-shell-page .creator-shell-panel.creator-collections-card { background: transparent; border: 0; padding: 8px 0 0; }
.creator-shell-page .creator-collections-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,270px),1fr)); gap: 20px; }
.creator-shell-page .library-v3-card { display: flex; flex-direction: column; height: auto; border-radius: 12px; background: #15171e; border-color: #30313b; }
.creator-shell-page .library-v3-card-media { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; flex: 0 0 auto; }
.creator-shell-page .library-v3-card-image { width: 100%; height: 100%; object-fit: cover; }
.creator-shell-page .library-v3-card-body { flex: 1 0 auto; padding: 18px; }
.creator-shell-page .library-v3-card-title { font-size: 17px; line-height: 1.3; }
.creator-shell-page .library-v3-card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }

/* Guest conversion is a real sign-in form, separate from every room access form. */
.header-guest-access { display: flex; align-items: center; gap: 10px; }
.header-guest-access > .btn, .header-login-widget > summary { font-size: 12px; padding: 10px 14px; white-space: nowrap; }
.header-login-widget { position: relative; }
.header-login-widget > summary { list-style: none; cursor: pointer; }
.header-login-widget > summary::-webkit-details-marker { display: none; }
.header-login-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 352px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid #49404f; border-radius: 14px; background: #191922; box-shadow: 0 22px 60px #0008; z-index: 100; }
.guest-access-widget { min-width: 0; text-align: left; }
.guest-access-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.guest-access-mark { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; background: #37213d; border-radius: 10px; color: #ff78ba; }
.guest-access-widget .guest-access-heading h2 { margin: 0 0 7px; font-size: 19px; line-height: 1.25; color: #fff; letter-spacing: -.025em; }
.guest-access-widget .guest-access-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.guest-access-register, .guest-access-form > .btn { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; }
.guest-access-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #b7b3c0; font-size: 11px; }
.guest-access-divider::before, .guest-access-divider::after { content: ''; flex: 1; height: 1px; background: #3c3543; }
.guest-access-form { display: grid; gap: 14px; }
.guest-access-form .form-group { margin: 0; display: grid; }
.guest-access-form .form-group label { font-size: 12px; }
.guest-access-form .form-group input { width: 100%; }
.guest-access-form .ui-password-toggle { font-size: 11px; padding-inline: 10px; }
.guest-access-widget p.guest-access-room-note { font-size: 11px; line-height: 1.65; color: #b8afbf; margin: 18px 0 0; }
.home-private-chatroom-dialog.member-private-room-dialog { box-sizing: border-box; width: min(460px,calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; border-radius: 18px; background: #191922; box-shadow: 0 28px 80px #000b; }
.home-private-chatroom-dialog-shell { position: relative; padding: 30px; }
.home-private-chatroom-dialog .member-private-room-dialog-close { position: absolute; top: 16px; right: 16px; z-index: 1; }
.home-private-chatroom-dialog .guest-access-heading { padding-right: 44px; }
.private-room-access-shell.private-room-access-shell--with-account { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,360px); align-items: center; gap: 48px; width: 100%; max-width: 980px; margin-inline: auto; }
.private-room-access-shell--with-account .private-room-access-card { width: 100%; max-width: none; background: #16161f; box-shadow: none; border-radius: 16px; padding: 30px; }
.private-room-access-shell--with-account:not(:has(.private-room-join)) { grid-template-columns: minmax(0,1fr); max-width: 560px; }
.private-room-join { padding: 28px; border: 1px solid #3b2e45; border-radius: 16px; background: #1c1725; }
.wall-v7-account-card:has(.guest-access-widget) { padding: 18px; }

@media (min-width: 1120px) {
    .workspace-rail::details-content { display: block; }
}
@media (max-width: 1119px) {
    .workspace-layout { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 18px; }
    .workspace-rail { position: relative; top: auto; padding: 0; border: 1px solid #37323f; border-radius: 10px; background: #17151f; max-height: none; overflow: visible; }
    .workspace-rail > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; list-style: none; cursor: pointer; font-size: 13px; }
    .workspace-rail > summary::-webkit-details-marker { display: none; }
    .workspace-rail-chevron { margin-left: auto; }
    .workspace-navigation { padding: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .workspace-nav-discover { grid-column: 1 / -1; }
    .creator-shell-page .creator-shell-top { padding-inline: 20px; }
    .creator-storefront-layout { grid-template-columns: minmax(0,1fr) 230px; gap: 20px; }
    .creator-shell-page .creator-shell-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .creator-shell-page .creator-shell-identity-card { grid-template-columns: 88px minmax(0,1fr); gap: 16px; }
    .creator-shell-page .creator-shell-avatar-shell { width: 88px; height: 88px; }
}
@media (max-width: 760px) {
    .member-dashboard-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .member-balance { grid-row: 2; }
    .member-page-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
    .member-page-heading h1 { font-size: 27px; }
    .member-section-heading { flex-wrap: wrap; gap: 8px; }
    .workspace-content .mycontent-v3-page .market-v3-filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .workspace-content .analytics-v3-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .creator-shell-page .creator-shell-banner { height: 150px; }
    .creator-shell-page .creator-shell-top { grid-template-columns: minmax(0,1fr); gap: 0; padding: 0 20px 20px; }
    .creator-storefront-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .creator-storefront-layout > .creator-shell-command-card { grid-column: 1; grid-row: 1; position: static; }
    .creator-storefront-layout > .creator-collections-card { grid-column: 1; grid-row: 2; }
    .creator-shell-page .creator-shell-identity-card { grid-template-columns: 80px minmax(0,1fr); }
    .creator-shell-page .creator-shell-avatar-shell { width: 80px; height: 80px; margin-top: -58px; }
    .creator-shell-page .creator-shell-command-card { border: 0; padding: 20px 0 0; }
    .creator-shell-page .creator-shell-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .creator-shell-page .creator-shell-copy { display: contents; }
    .creator-shell-page .creator-shell-copy > * { grid-column: 1 / -1; }
    .creator-shell-page .creator-shell-copy > .creator-shell-title-row { grid-column: 2; }
    .creator-shell-page .creator-shell-title { font-size: 27px; }
    .creator-shell-page .creator-shell-title-row { align-self: start; }
    .creator-shell-page .creator-shell-cta { order: initial; }
    .creator-shell-page .creator-shell-rating-overview { order: initial; }
    .creator-shell-page .creator-shell-subnav { padding-inline: 20px; }
    .profile-shell-page .profile-shell-identity-card { grid-template-columns: 76px minmax(0,1fr); gap: 14px; padding: 18px; }
    .profile-shell-page .profile-shell-avatar-shell { width: 76px; height: 76px; margin-top: -48px; }
    .profile-shell-page .profile-shell-copy { display: contents; }
    .profile-shell-page .profile-shell-copy > * { grid-column: 1 / -1; }
    .profile-shell-page .profile-shell-copy > .profile-shell-title-row { grid-column: 2; }
    .profile-shell-page .profile-shell-title-row h1 { font-size: 25px; }
    .profile-shell-page .profile-shell-command-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 0; }
    .profile-shell-page .profile-shell-subnav { padding-inline: 10px; gap: 0; }
    .profile-shell-page .profile-shell-subnav a { padding-inline: 10px; font-size: 12px; }
    .profile-shell-page .profile-shell-link-grid { grid-template-columns: minmax(0,1fr); }
    .private-room-access-shell.private-room-access-shell--with-account { grid-template-columns: minmax(0,1fr); gap: 24px; max-width: 480px; }
    .private-room-access-shell--with-account .private-room-access-card { padding: 24px; }
    .private-room-join { padding: 24px; }
    .header-guest-access { gap: 6px; }
    .header-login-widget { position: static; }
    .header-login-panel { right: 10px; top: calc(100% + 6px); width: min(352px,calc(100vw - 32px)); }
    .header-guest-access > .btn, .header-login-widget > summary { padding-inline: 10px; font-size: 11px; }
}
@media (max-width: 440px) {
    .workspace-layout { width: calc(100% - 28px); }
    .workspace-navigation { grid-template-columns: minmax(0,1fr); }
    .workspace-content .mycontent-v3-page .market-v3-filter-form { grid-template-columns: minmax(0,1fr); }
    .member-activity-row { gap: 10px; grid-template-columns: 36px minmax(0,1fr) auto 16px; }
    .member-activity-icon { width: 36px; height: 36px; }
    .member-section-heading > span { display: none; }
    .member-studio-metrics a { padding-inline: 12px; }
    .profile-shell-page .profile-shell-feature-grid { grid-template-columns: minmax(0,1fr); }
    .profile-shell-page .profile-shell-primary-actions { flex-wrap: wrap; }
    .creator-shell-page .creator-shell-primary-actions > .btn { flex: 1 1 100%; }
    .header-guest-access .header-register-link { max-width: 120px; white-space: normal; }
    .home-private-chatroom-dialog.member-private-room-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
    .home-private-chatroom-dialog-shell { padding: 25px 18px 22px; }
    .home-private-chatroom-dialog .member-private-room-dialog-close { top: 12px; right: 12px; }
}
/* Creator verification keeps the complete submission in one focused dialog. */
.private-room-page:not(.private-room-page--gate) {
  display: flex; flex-direction: column; box-sizing: border-box;
  height: var(--private-room-height, 100dvh); min-height: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
}
.private-room-page .member-private-room-live-head { flex-shrink: 0; }
.private-room-page .wall-v7-layout { flex: 1; min-height: 0; height: 100%; grid-template-rows: minmax(0, 1fr); }
.private-room-page .wall-v7-main, .private-room-page #wallCommunityChat { height: 100%; min-height: 0; }
.private-room-page #wallCommunityChat .wall-v8-room-shell { height: 100%; max-height: 100%; min-height: 0; }
.private-room-page .wall-v7-sidebar { display: flex; flex-direction: column; height: 100%; max-height: 100%; min-height: 0; overflow-y: auto; }
.private-room-page .wall-v7-sidebar > * { flex-shrink: 0; }
.private-room-page .wall-v7-online-card { flex: 1 0 110px; }
@media (max-width: 1120px) {
  .private-room-page .wall-v7-layout { grid-template-rows: minmax(0, 1fr) auto; }
  .private-room-page .wall-v7-sidebar { height: auto; max-height: min(22dvh, 170px); }
}
.verification-panel [data-verification-focus]:focus { outline: none; }
.verification-modal-open { overflow: hidden; }
.verification-dialog {
  width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px);
  padding: 0; margin: auto; color: var(--text); background: #15171e;
  border: 1px solid #393b48; border-radius: 20px; box-shadow: 0 24px 90px #0009;
}
.verification-dialog[open] { display: flex; flex-direction: column; }
.verification-dialog::backdrop { background: #06070cc9; backdrop-filter: blur(5px); }
.verification-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; border-bottom: 1px solid var(--border); }
.verification-dialog-header h2 { margin: 0; font: 600 17px/1.4 var(--font-body, sans-serif); }
.verification-dialog-header button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; flex-shrink: 0; font-size: 26px; line-height: 1; border: 1px solid var(--border); border-radius: 12px; background: #ffffff08; color: var(--text); cursor: pointer; }
.verification-dialog-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 26px; }
.verification-panel { max-width: 640px; margin: 0 auto; }
.verification-panel-intro { margin-bottom: 24px; }
.verification-panel h3 { font-size: 26px; letter-spacing: -.7px; line-height: 1.2; margin: 12px 0 10px; }
.verification-panel p { line-height: 1.55; }
.verification-panel-intro p, .verification-help, .verification-private-note, .verification-actions p, .verification-next-step p { color: var(--text-muted, #b8b9c5); margin: 8px 0 0; }
.verification-status { display: inline-block; border: 1px solid #7b61ff66; background: #7b61ff18; border-radius: 8px; color: #ddd5ff; padding: 5px 9px; font-size: 12px; font-weight: 600; }
.verification-form { display: grid; gap: 24px; }
.verification-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.verification-form legend { padding: 0; margin-bottom: 14px; color: var(--text); font-size: 15px; font-weight: 650; }
.verification-form legend > span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid #4a405e; color: #ddd5ff; background: #7b61ff14; border-radius: 8px; margin-right: 7px; font-size: 12px; }
.verification-form .form-group { margin: 0; min-width: 0; }
.verification-form .form-group label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; }
.verification-form input:not([type=checkbox]) { width: 100%; min-width: 0; box-sizing: border-box; font-size: 16px; }
.verification-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.verification-help { font-size: 13px; margin: 0 0 12px; }
.verification-upload { display: grid; gap: 10px; padding: 16px; border: 1px dashed #545064; border-radius: 12px; background: #ffffff03; }
.verification-upload > span { font-size: 13px; font-weight: 600; }
.verification-upload input[type=file] { padding: 0; border: 0; background: transparent; font-size: 13px; border-radius: 0; }
.verification-upload input::file-selector-button { background: #272934; color: #f4f3f6; border: 1px solid #454654; border-radius: 8px; min-height: 38px; margin-right: 12px; padding: 7px 12px; cursor: pointer; }
.verification-upload small, .verification-private-note { font-size: 12px; color: #b8b9c5; }
.verification-declaration { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #ffffff04; border-radius: 12px; cursor: pointer; }
.verification-declaration input[type=checkbox] { appearance: auto; width: 19px; height: 19px; flex-shrink: 0; margin: 3px 0 0; accent-color: #7b61ff; }
.verification-declaration span { font-size: 13px; line-height: 1.6; }
.verification-actions { display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--border); padding-top: 20px; }
.verification-actions p { flex: 1; font-size: 12px; margin: 0; }
.verification-actions .btn { flex-shrink: 0; }
.verification-notice, .verification-next-step { background: #7b61ff0d; border-left: 2px solid #7b61ff; padding: 16px; margin: 16px 0; border-radius: 0 10px 10px 0; }
.verification-notice p { margin: 6px 0 0; }
.verification-panel [hidden], .verification-page [hidden], .verification-dialog [hidden] { display: none !important; }
.verification-panel .form-errors { margin: 0 0 22px; }
.verification-dialog-fallback { padding: 0 26px 20px; }
.verification-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 28px 0; }
.verification-overview h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -1px; }
.verification-overview p { color: #b8b9c5; line-height: 1.6; }
.verification-overview-status { border-left: 1px solid var(--border); padding-left: 30px; }
.verification-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 600px) {
  .verification-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .verification-dialog-header { padding: 12px 16px; }
  .verification-dialog-body { padding: 20px 16px; }
  .verification-panel h3 { font-size: 24px; }
  .verification-field-grid { grid-template-columns: 1fr; }
  .verification-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .verification-overview { grid-template-columns: 1fr; gap: 20px; }
  .verification-overview-status { padding: 0; border: 0; }
}

/* Private-chatroom promotion: original banner ratio in the Wall header, card ratio in rooms. */
.private-chatroom-promo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  flex: 0 1 400px;
  width: min(100%, 400px);
  min-width: 180px;
  max-width: 400px;
  aspect-ratio: 8 / 1;
  height: auto;
  min-height: 0;
  max-height: 50px;
  padding: 4px 7px 4px 11px;
  overflow: hidden;
  border: 1px solid rgb(255 79 163 / 42%);
  border-radius: 11px;
  background: linear-gradient(100deg, #160e18 0%, #130f18 58%, #2c0f24 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.private-chatroom-promo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #120d16 0%, #120d16 50%, rgb(18 13 22 / 78%) 68%, transparent 100%);
}
.private-chatroom-promo:hover {
  color: #fff;
  border-color: rgb(255 112 180 / 78%);
  background: linear-gradient(100deg, #211020 0%, #18101c 58%, #3b102e 100%);
  box-shadow: 0 0 0 2px rgb(255 79 163 / 10%);
}
.private-chatroom-promo:focus-visible { outline-offset: 2px; }
.private-chatroom-promo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  line-height: 1;
}
.private-chatroom-promo-kicker {
  overflow: hidden;
  color: #ff58ad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.private-chatroom-promo-copy strong {
  overflow: visible;
  margin-top: 2px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}
.private-chatroom-promo--header .private-chatroom-promo-copy strong {
  text-shadow: 0 1px 2px #000;
}
html[lang="de"] .private-chatroom-promo--header .private-chatroom-promo-copy strong {
  font-size: 10px;
  letter-spacing: -.025em;
}
.private-chatroom-promo-cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-left: 8px;
  margin-right: 84px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3ea5 0%, #9a63ff 100%);
  color: #08090d;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.private-chatroom-promo-art {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

body.public-wall-page header.site-header.xs-header .xs-header-bar {
  height: 60px;
  min-height: 60px;
  max-height: 60px;
}
body.public-wall-page header.site-header.xs-header .xs-header-brand-cluster { width: 100%; }
body.public-wall-page header.site-header.xs-header .private-chatroom-promo { margin-left: 10px; }

.member-private-room-live-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
}
.member-private-room-live-identity { min-width: 0; }
.member-private-room-live-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.member-private-room-live-wall,
.member-private-room-live-home,
.member-private-room-live-manage { white-space: nowrap; }
.member-private-room-live-wall-short { display: none; }
.private-chatroom-promo--sidebar {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  aspect-ratio: 2 / 1;
  height: auto;
  min-height: 88px;
  max-height: 112px;
  padding: 10px 10px 10px 13px;
  border-radius: 14px;
}
.private-chatroom-promo--sidebar::before {
  background: linear-gradient(90deg, #120d16 0%, #120d16 32%, rgb(18 13 22 / 76%) 55%, rgb(18 13 22 / 8%) 82%, transparent 100%);
}
.private-chatroom-promo--sidebar .private-chatroom-promo-copy {
  max-width: 78%;
  line-height: 1.05;
}
.private-chatroom-promo--sidebar .private-chatroom-promo-kicker {
  font-size: 9px;
}
.private-chatroom-promo--sidebar .private-chatroom-promo-copy strong {
  margin-top: 2px;
  overflow: visible;
  font-size: 13px;
  line-height: 1.08;
  text-overflow: clip;
  white-space: normal;
}
.private-chatroom-promo--sidebar .private-chatroom-promo-cta {
  justify-self: start;
  min-height: 23px;
  margin: 6px 0 0;
  padding-inline: 9px;
}
.private-chatroom-promo--sidebar .private-chatroom-promo-art {
  height: 100%;
  filter: brightness(1.35) saturate(1.08) contrast(1.02);
}
.member-private-room-live-manage-icon { display: none; }

.member-private-room-wall-publish-form {
  display: flex;
  align-items: center;
  min-width: 0;
}
.wall-private-publication-remove-form {
  display: flex;
  align-items: center;
  min-width: 0;
}
.wall-upload-extend-form {
  display: flex;
  align-items: center;
  min-width: 0;
}
.member-private-room-wall-publish-form[hidden],
.member-private-room-wall-publish-button[hidden],
.member-private-room-wall-view-button[hidden],
.wall-private-publication-remove-form[hidden],
.wall-upload-extend-form[hidden] { display: none !important; }
.member-private-room-wall-publish-button,
.member-private-room-wall-view-button,
.wall-private-publication-remove-button {
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}
.wall-upload-extend-button {
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

@media (min-width: 901px) {
  body.public-wall-page .wall-v7-layout { min-height: calc(100dvh - 78px); }
  body.public-wall-page .wall-v7-sidebar { top: 72px; }
}

@media (max-width: 1180px) {
  body.public-wall-page header.site-header.xs-header .xs-header-page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  body.public-wall-page header.site-header.xs-header .private-chatroom-promo { margin-left: 0; }
}

@media (max-width: 760px) {
  .member-private-room-live-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }
  .member-private-room-live-head p { display: none; }
  .member-private-room-live-head h1 { max-width: none; font-size: .92rem; }
  .member-private-room-live-actions { gap: 6px; }
  .member-private-room-live-wall,
  .member-private-room-live-home,
  .member-private-room-live-manage { min-height: 34px; padding-inline: 8px; font-size: 10px; }
}

@media (max-width: 980px) {
  .private-chatroom-promo--header .private-chatroom-promo-cta { display: none; }
}

@media (max-width: 1120px) {
  .private-chatroom-promo--sidebar {
    aspect-ratio: 4 / 1;
    min-height: 78px;
    max-height: 92px;
  }
  .private-chatroom-promo--sidebar .private-chatroom-promo-copy { max-width: 62%; }
  .private-chatroom-promo--sidebar .private-chatroom-promo-copy strong { font-size: 13px; }
}

@media (max-width: 640px) {
  body.public-wall-page header.site-header.xs-header .xs-header-bar {
    height: 62.4px;
    min-height: 62.4px;
    max-height: 62.4px;
  }
  body.public-wall-page header.site-header.xs-header .xs-header-wall-cta,
  body.public-wall-page header.site-header.xs-header .header-register-link { display: none; }
  body.public-wall-page header.site-header.xs-header .private-chatroom-promo {
    flex-basis: 182px;
    width: min(100%, 182px);
    min-width: 118px;
    max-width: 182px;
    aspect-ratio: 3.5 / 1;
    max-height: 52px;
  }
  body.public-wall-page header.site-header.xs-header .xs-mobile-menu {
    top: 68px;
    max-height: calc(100dvh - 76px);
  }
  .private-chatroom-promo--header::before {
    background: linear-gradient(90deg, #120d16 0%, #120d16 38%, rgb(18 13 22 / 84%) 70%, transparent 100%);
  }
  .private-chatroom-promo--header .private-chatroom-promo-copy { padding-right: 28px; }
  .private-chatroom-promo--header .private-chatroom-promo-kicker { font-size: 8px; }
  .private-chatroom-promo--header .private-chatroom-promo-copy strong { font-size: 10px; }
}

@media (max-width: 420px) {
  .member-private-room-live-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
  }
  .member-private-room-live-head h1 { font-size: .78rem; }
  .member-private-room-live-actions { gap: 4px; }
  .member-private-room-live-wall {
    min-width: 46px;
    padding-inline: 7px;
  }
  .member-private-room-live-home {
    min-width: 42px;
    padding-inline: 6px;
  }
  .member-private-room-live-wall-label { display: none; }
  .member-private-room-live-wall-short { display: inline; }
  .member-private-room-live-manage {
    display: inline-grid;
    place-items: center;
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .member-private-room-live-manage-label { display: none; }
  .member-private-room-live-manage-icon { display: inline; font-size: 17px; line-height: 1; }
  .private-chatroom-promo--header .private-chatroom-promo-copy { padding-right: 18px; }
  .private-chatroom-promo--header .private-chatroom-promo-kicker { font-size: 7px; }
  .private-chatroom-promo--header .private-chatroom-promo-copy strong { font-size: 9px; }
}

@media (max-width: 640px) {
  .member-private-room-page .wall-v11-modal-stats-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .member-private-room-page .wall-v11-modal-like-form,
  .member-private-room-page .member-private-room-wall-publish-form { width: 100%; }
  .member-private-room-page .member-private-room-wall-publish-button,
  .member-private-room-page .member-private-room-wall-view-button {
    width: 100%;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
  }
  .member-private-room-page .wall-v11-modal-view-count { grid-column: 1 / -1; }
  .public-wall-page .wall-private-publication-remove-form,
  .public-wall-page .wall-private-publication-remove-button,
  .public-wall-page .wall-upload-extend-form,
  .public-wall-page .wall-upload-extend-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .private-chatroom-promo { transition: none; }
}

/* Approved Batch 3 public discovery surfaces; no shared component overrides. */
.discovery-page { padding-top: 28px; padding-bottom: 40px; }
.discovery-page :is(h1,h2,p) { margin-top: 0; }
.discovery-page h1 { font-size: clamp(28px,3.2vw,40px); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 14px; }
.discovery-page h2 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.discovery-page a:not(.btn) { color: #e0c5ff; text-decoration: underline; text-underline-offset: 3px; }
.discovery-page h2 a:not(.btn) { color: var(--text); text-decoration: none; }
.discovery-page p { line-height: 1.55; }
.discovery-lead { color: var(--muted); font-size: 17px; max-width: 820px; }
.discovery-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.discovery-home-panel { padding: 32px; background: #191b23; border: 1px solid #30323d; border-radius: 20px; }
.discovery-home-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.discovery-home-hero--solo { grid-template-columns: 1fr; }
.discovery-home-copy { max-width: 570px; }
.discovery-home-copy h1 { font-size: clamp(30px,3.4vw,44px); }
.discovery-home-actions { display: grid; gap: 16px; margin-top: 24px; }
.discovery-home-actions > .btn { min-height: 48px; }
.discovery-helper { color: var(--muted); font-size: 13px; text-align: center; margin: -8px 0 4px; }
.discovery-home-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.discovery-home-links a { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-home-feature { min-width: 0; border: 1px solid #383a46; border-radius: 16px; padding: 16px; }
.discovery-home-feature .discovery-card { border: 0; background: transparent; }
.discovery-home-feature .discovery-card-body { padding: 20px 0 0; }
.discovery-home-feature .discovery-media img { max-height: 255px; border-radius: 10px; }
.discovery-home-feature .btn { background: transparent; color: var(--text); border: 1px solid #676977; }
.discovery-home-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 28px; margin-top: 28px; border-top: 1px solid #383a46; }
.discovery-home-guides h2 { font-size: 21px; }
.discovery-home-guides p { color: var(--muted); margin-bottom: 8px; }
.discovery-home-guides a { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-intro { margin-bottom: 28px; }
.discovery-library-link { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-filters { display: grid; grid-template-columns: minmax(0,2fr) minmax(160px,1fr) auto; align-items: end; gap: 16px; margin: 0 0 28px; }
.discovery-filters--categories { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto; }
.discovery-filters .form-group { min-width: 0; margin: 0; }
.discovery-filters label { display: block; margin-bottom: 8px; font-size: 14px; }
.discovery-filters :is(input,select) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
.discovery-filters > .btn { min-height: 44px; padding-inline: 28px; }
.discovery-clear { margin-top: -12px; }
.discovery-clear a { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-results-count { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.discovery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); gap: 24px; }
.discovery-grid--single { grid-template-columns: 1fr; }
.discovery-card { min-width: 0; border: 1px solid #383a46; border-radius: 16px; overflow: hidden; background: #191b23; display: flex; flex-direction: column; }
.discovery-media { display: block; min-width: 0; background: #20222c; }
.discovery-media img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: contain; }
.discovery-creator .discovery-media img { aspect-ratio: 4/3; object-position: center; }
.discovery-card-body { padding: 24px; min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.discovery-card h2 { overflow-wrap: anywhere; }
.discovery-byline { color: var(--muted); margin-bottom: 10px; }
.discovery-meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.discovery-price { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.discovery-description { color: var(--muted); overflow-wrap: anywhere; margin-bottom: 20px; }
.discovery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.discovery-card-body > .discovery-actions { margin-top: auto; }
.discovery-actions .btn { min-height: 44px; text-align: center; white-space: normal; }
.discovery-message-link { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-disabled { color: var(--muted); }
.discovery-grid--single .discovery-card { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
.discovery-grid--single .discovery-media img { height: 100%; max-height: 360px; min-height: 260px; }
.discovery-empty { padding: 32px; background: #191b23; border: 1px solid #383a46; border-radius: 16px; }
.discovery-empty p { color: var(--muted); }
.discovery-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; border-top: 1px solid #383a46; margin-top: 28px; padding-top: 20px; }
.discovery-more p { margin-bottom: 0; }
.discovery-more a { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.discovery-pagination [aria-current="page"] { border-color: #ffb4d8; color: #ffb4d8; }
@media (max-width: 900px) {
    .discovery-home-hero { grid-template-columns: 1fr; gap: 24px; }
    .discovery-home-copy { max-width: none; }
    .discovery-home-feature .discovery-media img { max-height: 320px; }
    .discovery-filters { grid-template-columns: minmax(0,1fr) auto; }
    .discovery-filters .discovery-search { grid-column: 1/-1; }
    .discovery-filters--categories { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .discovery-filters--categories > .btn { grid-column: 1/-1; }
}
@media (max-width: 640px) {
    .discovery-page { padding-top: 20px; padding-bottom: 28px; }
    .discovery-page h1 { font-size: 30px; }
    .discovery-home-panel { padding: 20px 16px; }
    .discovery-lead { font-size: 16px; }
    .discovery-home-links { gap: 4px 16px; }
    .discovery-home-guides { grid-template-columns: 1fr; gap: 24px; }
    .discovery-home-feature { padding: 12px; }
    .discovery-card-body { padding: 20px; }
    .discovery-home-feature .discovery-card-body { padding: 16px 0 0; }
    .discovery-grid--single .discovery-card { display: flex; }
    .discovery-grid--single .discovery-media img { height: auto; min-height: 0; max-height: 260px; }
    .discovery-actions { width: 100%; }
    .discovery-actions .btn { width: 100%; }
    .discovery-empty { padding: 24px 18px; }
    .discovery-more { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .discovery-filters { grid-template-columns: minmax(0,1fr); }
    .discovery-filters > .btn { grid-column: 1/-1; }
}

/* Batch 4: collection purchase, top-up, result and Library only. */
.commerce-page { padding-top: 32px; padding-bottom: 48px; }
.commerce-page h1 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.15; overflow-wrap: anywhere; }
.commerce-page h2 { font-size: 1.3rem; line-height: 1.3; }
.commerce-page h2 a, .commerce-context-identity { color: var(--text, #f6f6fa); text-decoration: none; }
.commerce-heading { margin-bottom: 28px; }
.commerce-heading > p { max-width: 72ch; color: var(--muted, #b6bac9); line-height: 1.6; }
.commerce-panel, .commerce-review { background: #191c25; border: 1px solid #353844; border-radius: 16px; padding: 28px; }
.commerce-summary { margin: 22px 0; }
.commerce-summary > div { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #353844; padding: 13px 0; }
.commerce-summary dt { color: #bfc2cf; }
.commerce-summary dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.commerce-page .btn, .commerce-review .btn { min-height: 44px; white-space: normal; text-align: center; line-height: 1.4; }
.commerce-access { display: inline-block; padding: 7px 10px; border-radius: 6px; background: #242831; color: #e3e4ec; font-size: .88rem; line-height: 1.5; }
.commerce-access.is-temporary { background: #3b301d; color: #ffe0a4; }
.commerce-helper { font-size: .88rem; line-height: 1.65; color: #bfc2cf; }
.commerce-notice { padding: 14px 18px; background: #242831; border-left: 3px solid #c572f4; border-radius: 6px; margin: 18px 0; line-height: 1.6; }
.commerce-notice p { margin: 4px 0; }
.commerce-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 22px 0; }
.commerce-links a, .commerce-help { display: inline-flex; min-height: 44px; align-items: center; }
.commerce-page.content-page .content-v3-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
.commerce-page.content-page .content-v3-heading, .commerce-page.content-page .content-v3-info-panel { min-width: 0; }
.commerce-page.content-page .content-v3-preview-image { max-height: 560px; object-fit: contain; }
.commerce-page.content-page .content-v3-meta-row { margin-bottom: 16px; }
.commerce-page.content-page .content-v3-price-row { margin: 20px 0; }
.commerce-page.content-page .content-price { margin-bottom: 3px; }
.commerce-page.content-page .content-v3-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 0; }
.commerce-page.content-page .token-action-unavailable {
    width: 100%; min-width: 0; padding: 18px; border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0; background: #211b26;
}
.commerce-page.content-page .token-action-unavailable p { margin: 0; line-height: 1.6; }
.commerce-page.content-page .token-action-unavailable p + p { margin-top: 6px; }
.commerce-page.content-page .token-action-unavailable strong { color: var(--text); }
.commerce-page.content-page .token-action-unavailable .btn { width: 100%; margin-top: 16px; min-height: 44px; }
.commerce-page.content-page .collection-social-actions {
    display: flex; flex-wrap: wrap; gap: 12px; width: 100%; min-width: 0;
}
.commerce-page.content-page .collection-social-actions:empty { display: none; }
.commerce-page.content-page .collection-social-actions > * { flex: 1 1 140px; min-width: 0; margin: 0; }
.commerce-page.content-page .collection-social-actions .btn { width: 100%; min-height: 44px; white-space: normal; text-align: center; }
.commerce-page.content-page .collection-resource-links {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; width: 100%;
    padding-top: 14px; border-top: 1px solid var(--line);
}
.commerce-page.content-page .collection-resource-links a {
    display: inline-flex; align-items: center; min-height: 44px; font-size: 13px;
    line-height: 1.5; text-underline-offset: 3px;
}
.commerce-page.content-page .collection-report-link { margin-left: auto; color: var(--muted); }
.commerce-page.content-page .collection-resource-links a:hover { text-decoration: underline; }
.commerce-page.content-page .content-v3-actions > .commerce-helper { width: 100%; margin: 0; }
.commerce-review[open] { color: #f6f6fa; width: min(500px, calc(100% - 32px)); box-sizing: border-box; max-height: calc(100dvh - 40px); overflow: auto; }
.commerce-review[open]:not(:modal) { position: relative; margin: 24px auto; }
.commerce-review::backdrop { background: rgb(5 7 12 / 80%); }
.commerce-review h2 { font-size: 1.4rem; margin-top: 0; }
.commerce-review form .btn { width: 100%; }
.commerce-cancel { display: flex; min-height: 44px; justify-content: center; align-items: center; margin-top: 12px; }
.commerce-topup-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.commerce-topup-form { grid-column: 1; grid-row: 1; }
.commerce-context { grid-column: 2; grid-row: 1; }
.commerce-context-identity { display: flex; gap: 18px; align-items: center; }
.commerce-context-identity img { width: 100px; height: 120px; object-fit: contain; border-radius: 8px; background: #11141c; }
.commerce-context-identity > span { min-width: 0; overflow-wrap: anywhere; }
.commerce-context-identity strong { font-size: 1.1rem; }
.commerce-context-identity span span { display: block; margin-top: 10px; color: #bfc2cf; }
.commerce-topup label { display: block; font-weight: 650; margin-bottom: 10px; }
.commerce-topup input[type=number] { width: 100%; min-height: 52px; box-sizing: border-box; padding: 12px 14px; font-size: 1.15rem; color: #f6f6fa; background: #11141c; border: 1px solid #555968; border-radius: 9px; }
.commerce-amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; align-items: start; }
.commerce-amounts [aria-pressed=true] { outline: 2px solid #d788ff; outline-offset: 2px; }
.commerce-amounts details { flex: 1 1 140px; }
.commerce-amounts summary, .commerce-library-actions summary { min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid #555968; border-radius: 9px; padding: 9px 13px; box-sizing: border-box; }
.commerce-primary { width: 100%; }
.commerce-nojs { display: none; }
.commerce-receipt { max-width: 650px; margin: 0 auto; }
.commerce-receipt h1 { margin-top: 12px; }
.commerce-result[data-payment-state=paid] .commerce-receipt { border-top: 3px solid #78cba5; }
.commerce-result[data-payment-state=pending] .commerce-receipt { border-top: 3px solid #e1bd70; }
.commerce-library-list { display: grid; gap: 18px; }
.commerce-library-item { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.5fr) minmax(180px, .8fr); gap: 24px; padding: 22px; border: 1px solid #353844; border-radius: 16px; background: #191c25; align-items: start; }
.commerce-library-media img { width: 100%; height: 220px; object-fit: contain; border-radius: 8px; background: #11141c; }
.commerce-library-body { min-width: 0; overflow-wrap: anywhere; }
.commerce-library-body h2 { margin-top: 0; }
.commerce-library-body p { line-height: 1.5; margin: 8px 0; }
.commerce-library-actions { display: grid; gap: 12px; min-width: 0; }
.commerce-library-actions details { font-size: .88rem; line-height: 1.6; }
.commerce-library-actions details p { padding: 8px 0; }
.commerce-page :focus-visible, .commerce-review :focus-visible { outline: 2px solid #e6b7ff; outline-offset: 4px; }
@media (max-width: 1000px) {
    .commerce-library-item { grid-template-columns: 140px minmax(0, 1fr); }
    .commerce-library-actions { grid-column: 2; }
    .commerce-topup-layout { grid-template-columns: 1fr; }
    .commerce-context, .commerce-topup-form { grid-column: 1; grid-row: auto; }
}
@media (max-width: 800px) {
    .commerce-page.content-page .content-v3-layout { grid-template-columns: 1fr; }
    .commerce-page.content-page .content-v3-preview-image { max-height: 340px; }
    .commerce-page.content-page .content-v3-media-panel { order: 1; }
    .commerce-page.content-page .content-v3-info-panel { order: 2; }
    .commerce-page.content-page .content-v3-info-panel > * { order: 0; }
    .commerce-page.content-page .content-v3-teaser-strip { display: flex; overflow-x: auto; gap: 10px; }
    .commerce-page.content-page .content-v3-teaser-item { flex: 0 0 76px; }
}
@media (max-width: 520px) {
    .commerce-page { padding-top: 22px; padding-bottom: 32px; }
    .commerce-panel, .commerce-review { padding: 20px 16px; }
    .commerce-summary > div { gap: 14px; }
    .commerce-summary dt { max-width: 62%; }
    .commerce-page.content-page .content-v3-actions > .btn { width: 100%; }
    .commerce-library-item { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
    .commerce-library-actions { grid-column: 1; }
    .commerce-library-media img { height: 180px; }
    .commerce-context-identity img { width: 75px; height: 90px; }
    .commerce-links { flex-direction: column; gap: 4px; }
}


/* 17-mobile-chat-first.css */
/* Chat-first layout and guest entry for the public Wall and both private-room systems. */

.wall-guest-nickname-dialog {
    width: min(430px, calc(100vw - 28px));
    max-width: 430px;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: #111219;
    color: #f4f3f6;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 79, 163, 0.05);
}

.wall-guest-nickname-dialog::backdrop {
    background: rgba(3, 4, 8, 0.78);
    backdrop-filter: blur(8px);
}

.wall-guest-nickname-shell {
    padding: 28px;
    background:
        radial-gradient(circle at 90% 0, rgba(123, 97, 255, 0.16), transparent 42%),
        radial-gradient(circle at 0 100%, rgba(255, 79, 163, 0.11), transparent 40%),
        linear-gradient(180deg, rgba(28, 27, 38, 0.98), rgba(13, 14, 21, 0.99));
}

.wall-guest-nickname-kicker {
    margin: 0 0 8px;
    color: #ff86bd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.wall-guest-nickname-dialog h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 6vw, 30px);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.wall-guest-nickname-description {
    margin: 11px 0 22px;
    color: rgba(232, 230, 239, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

.wall-guest-nickname-form,
.wall-guest-nickname-form .form-group {
    display: grid;
    gap: 8px;
}

.wall-guest-nickname-form label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
}

.wall-guest-nickname-form input[type="text"] {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #696b7a;
    border-radius: 12px;
    background: rgba(7, 8, 13, 0.86);
    color: #fff;
    font-size: 16px;
}

.wall-guest-nickname-form input[type="text"]:focus-visible {
    border-color: rgba(255, 79, 163, 0.78);
    outline: 2px solid #ffb4d8;
    outline-offset: 3px;
}

.wall-guest-nickname-lock-note {
    margin: 2px 0 8px;
    color: rgba(211, 211, 223, 0.62);
    font-size: 12px;
    line-height: 1.45;
}

.wall-guest-nickname-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
}

.wall-mobile-room-actions,
.wall-mobile-room-toolbar,
.member-private-room-live-roster,
.wall-mobile-panel-close,
.wall-mobile-panel-backdrop {
    display: none;
}

@media (max-width: 900px) {
    body.wall-v8-page-lock,
    body.wall-mobile-panel-open {
        overflow: hidden;
    }

    .wall-mobile-room-toolbar {
        grid-area: mobile-toolbar;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        min-height: 42px;
        padding: 3px 4px 3px 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: linear-gradient(180deg, rgba(20, 20, 29, 0.98), rgba(10, 11, 17, 0.98));
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    }

    .wall-mobile-room-toolbar > strong {
        min-width: 0;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wall-mobile-room-action,
    .wall-mobile-rules > summary {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.035);
        color: rgba(255, 255, 255, 0.88);
        font: inherit;
        font-size: 16px;
        cursor: pointer;
        list-style: none;
    }

    .wall-mobile-room-action:hover,
    .wall-mobile-room-action:focus-visible,
    .wall-mobile-rules > summary:hover,
    .wall-mobile-rules > summary:focus-visible {
        border-color: rgba(255, 79, 163, 0.44);
        background: rgba(255, 79, 163, 0.1);
        outline: none;
    }

    .wall-mobile-room-action:disabled {
        opacity: 0.42;
        cursor: not-allowed;
    }

    .wall-mobile-roster-action {
        gap: 6px;
        width: auto;
        min-width: 48px;
        padding-inline: 9px;
        color: #fff;
        font-size: 12px;
    }

    .wall-mobile-online-dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: #52e6ad;
        box-shadow: 0 0 0 3px rgba(82, 230, 173, 0.11), 0 0 12px rgba(82, 230, 173, 0.48);
    }

    .wall-mobile-room-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    .wall-mobile-rules {
        position: relative;
        flex: 0 0 auto;
    }

    .wall-mobile-rules > summary::-webkit-details-marker {
        display: none;
    }

    .wall-mobile-rules[open] > summary {
        border-color: rgba(255, 79, 163, 0.48);
        background: rgba(255, 79, 163, 0.12);
    }

    .wall-mobile-rules > p {
        position: absolute;
        z-index: 340;
        top: calc(100% + 7px);
        right: -52px;
        width: min(310px, calc(100vw - 24px));
        margin: 0;
        padding: 12px 14px;
        border: 1px solid rgba(255, 79, 163, 0.25);
        border-radius: 13px;
        background: rgba(10, 10, 16, 0.98);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
        color: rgba(238, 230, 239, 0.8);
        font-size: 11px;
        line-height: 1.45;
    }

    .wall-mobile-room-action .wall-private-chat-unread {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        padding-inline: 4px;
        border: 2px solid #0b0c12;
        border-radius: 999px;
        background: #ff4fa3;
        color: #fff;
        font-size: 9px;
        line-height: 14px;
        text-align: center;
    }

    #wallCommunityPage .wall-v7-main,
    #wallCommunityPage .wall-v7-room,
    #wallCommunityPage #wallCommunityChat,
    #wallCommunityPage #wallCommunityChat .wall-v8-room-shell,
    #wallCommunityPage #wallCommunityChat .wall-v10-timeline-region {
        min-height: 0;
        height: 100%;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-room-shell {
        grid-template-rows: minmax(0, 1fr) auto;
        max-height: none;
        overflow: hidden;
        border-radius: 13px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-timeline-shell {
        height: 100%;
        max-height: none;
        padding: 5px 12px 0 6px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    #wallCommunityPage #wallCommunityChat .wall-v10-scrollbar {
        right: 3px;
        width: 7px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-room-compose {
        gap: 5px;
        padding: 6px;
        border-top-color: rgba(255, 255, 255, 0.075);
        background: rgba(7, 8, 13, 0.99);
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-compose-inline-layout {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-compose-control-rail {
        gap: 8px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-upload,
    #wallCommunityPage #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-upload-inline,
    #wallCommunityPage #wallCommunityChat .wall-v8-compose-control-rail .wall-v8-compose-actions {
        flex: 0 0 42px;
        width: 42px;
        min-width: 42px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-chat-composer .public-chat-v1-input,
    #wallCommunityPage #wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname input[type="text"] {
        min-height: 42px;
        height: 42px;
        max-height: 42px;
        padding: 9px 12px;
        border-radius: 12px;
        font-size: 16px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-message-row,
    #wallCommunityPage #wallCommunityChat .wall-v8-room-compose.is-text-only .wall-v8-message-row {
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: 5px;
        align-items: center;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-message-row--guest,
    #wallCommunityPage #wallCommunityChat .wall-v8-room-compose.is-text-only .wall-v8-message-row--guest {
        grid-template-columns: minmax(78px, 0.38fr) minmax(0, 1fr) 42px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-message-row--guest-upload {
        grid-template-columns: minmax(78px, 0.38fr) minmax(0, 1fr);
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-message-row--guest .wall-v7-chat-nickname {
        grid-column: auto;
        width: auto;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-send-button,
    #wallCommunityPage #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-trigger {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        height: 42px;
        border-radius: 12px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-send-button::before {
        font-size: 19px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-upload-inline .wall-v6-file-name {
        display: none;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-compose-upload {
        padding: 0;
        border: 0;
        background: transparent;
    }

    #wallCommunityPage #wallCommunityChat .wall-v8-compose-feedback-row {
        gap: 4px;
    }

    #wallCommunityPage #wallCommunityChat .public-chat-v1-feedback:not([hidden]) {
        padding: 5px 8px;
        font-size: 10px;
        line-height: 1.25;
    }

    #wallCommunityPage #wallCommunityChat .wall-v9-stream-entry {
        padding-left: 31px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v9-stream-avatar-shell {
        left: 2px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v9-stream-card {
        padding: 10px 11px !important;
        border-radius: 0 13px 13px 13px !important;
    }

    #wallCommunityPage #wallCommunityChat .wall-v9-stream-card .public-chat-v1-author-row strong {
        font-size: 14px;
    }

    #wallCommunityPage #wallCommunityChat .wall-v9-stream-card .public-chat-v1-message-body,
    #wallCommunityPage #wallCommunityChat .wall-v9-stream-card .public-chat-v1-system-body,
    #wallCommunityPage #wallCommunityChat .wall-v9-stream-card .public-chat-v1-deleted {
        font-size: 13px;
        line-height: 1.45;
    }

    #wallCommunityPage #wallCommunityChat .wall-v6-chat-feed .public-chat-v1-empty {
        margin: auto 0;
        padding: 22px 16px;
        border-color: rgba(255, 255, 255, 0.055);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.012);
    }

    #wallCommunityPage .wall-v7-sidebar {
        position: fixed;
        z-index: 330;
        right: 7px;
        bottom: 7px;
        left: 7px;
        top: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: auto;
        height: auto;
        min-height: 0;
        max-height: min(78dvh, 650px);
        padding: 46px 9px 9px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(24, 21, 30, 0.99), rgba(8, 9, 14, 0.995));
        box-shadow: 0 26px 80px rgba(0, 0, 0, 0.66);
        transform: translateY(calc(100% + 18px));
        visibility: hidden;
        pointer-events: none;
        transition: transform 190ms ease, visibility 190ms step-end;
    }

    #wallCommunityPage .wall-v7-sidebar.is-mobile-open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 190ms ease, visibility 0s step-start;
    }

    #wallCommunityPage .wall-v7-sidebar > * {
        flex: 0 0 auto;
    }

    #wallCommunityPage .wall-v7-sidebar .wall-v7-online-card {
        display: flex;
        flex-direction: column;
        min-height: 180px;
        max-height: 46dvh;
        padding: 12px;
        overflow: hidden;
    }

    #wallCommunityPage .wall-v7-sidebar .wall-v7-online-list {
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }

    .wall-mobile-panel-close {
        position: absolute;
        z-index: 2;
        top: 8px;
        right: 9px;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.045);
        color: #fff;
        font: inherit;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }

    .wall-mobile-panel-backdrop {
        position: fixed;
        z-index: 320;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(2, 3, 7, 0.72);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 180ms step-end;
        backdrop-filter: blur(6px);
    }

    body.wall-mobile-panel-open .wall-mobile-panel-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 180ms ease, visibility 0s step-start;
    }

    #wallCommunityPage.private-room-page {
        width: 100%;
        height: 100dvh;
        min-height: 0;
        padding: 6px !important;
    }

    #wallCommunityPage.private-room-page > .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 42px minmax(0, 1fr);
        grid-template-areas:
            "mobile-toolbar"
            "main";
        gap: 5px;
        height: 100%;
        min-height: 0;
    }

    #wallCommunityPage.private-room-page #wallCommunityChat .wall-v8-room-shell {
        height: 100%;
        min-height: 0;
        max-height: none;
    }

    #wallCommunityPage.member-private-room-live {
        display: grid;
        grid-template-rows: 52px minmax(0, 1fr);
        gap: 4px;
        padding-top: 4px !important;
    }

    #wallCommunityPage.member-private-room-live > .member-private-room-live-head {
        height: 52px;
        min-height: 52px;
        max-height: 52px;
        padding: 3px 2px;
    }

    #wallCommunityPage.member-private-room-live > .wall-v7-layout {
        grid-template-rows: minmax(0, 1fr);
        grid-template-areas: "main";
    }

    #wallCommunityPage.member-private-room-live .private-chatroom-promo--sidebar {
        min-height: 78px;
        max-height: 92px;
    }

    body.public-wall-page .wall-v7-page {
        height: calc(100dvh - 68px);
        min-height: 0;
        padding: 4px 6px 6px !important;
    }

    body.public-wall-page .wall-v7-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 44px minmax(0, 1fr);
        grid-template-areas:
            "room-picker"
            "main";
        gap: 4px;
        height: 100%;
        min-height: 0;
    }

    body.public-wall-page .wall-v15-room-picker {
        position: relative;
        z-index: 5;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 5px;
        width: 100%;
        min-height: 44px;
        padding: 2px 3px 2px 4px;
        overflow: visible;
        border-radius: 12px;
    }

    body.public-wall-page .wall-v15-room-picker-head {
        display: none;
    }

    body.public-wall-page .wall-v15-room-form,
    body.public-wall-page .wall-v15-room-form select {
        min-width: 0;
        height: 40px;
    }

    body.public-wall-page .wall-v15-room-form select {
        min-height: 40px;
        padding-left: 11px;
        border-radius: 10px;
        font-size: 12px;
    }

    body.public-wall-page #wallCommunityChat .wall-v14-room-rules {
        display: none;
    }

    body.public-wall-page #wallCommunityChat .wall-v8-room-shell {
        height: 100%;
        min-height: 0;
        max-height: none;
    }

    body.public-wall-page .site-footer,
    body.private-room-protection-page .site-footer {
        display: none;
    }
}

@media (max-width: 640px) {
    .wall-guest-nickname-shell {
        padding: 24px 20px 22px;
    }

    body.public-wall-page header.site-header.xs-header {
        padding-top: 4px;
    }

    body.public-wall-page header.site-header.xs-header > .container {
        padding-inline: 6px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-shell {
        border-radius: 14px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px;
        height: 52px;
        min-height: 52px;
        max-height: 52px;
        padding: 6px 7px 6px 12px;
    }

    body.public-wall-page header.site-header.xs-header .private-chatroom-promo,
    body.public-wall-page header.site-header.xs-header .xs-header-summary,
    body.public-wall-page header.site-header.xs-header .header-guest-access,
    body.public-wall-page header.site-header.xs-header .xs-language-switcher {
        display: none;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-brand-cluster {
        width: auto;
        min-width: 0;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-page-title {
        position: static;
        display: block;
        width: auto;
        height: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        clip: auto;
        color: rgba(255, 255, 255, 0.94);
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.015em;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-bar-right {
        gap: 5px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-home-cta {
        min-height: 36px;
        padding-inline: 10px;
        border-radius: 10px;
        font-size: 10px;
    }

    body.public-wall-page header.site-header.xs-header .xs-header-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    body.public-wall-page header.site-header.xs-header .xs-mobile-menu {
        top: 58px;
        right: 6px;
        max-height: calc(100dvh - 64px);
    }

    body.public-wall-page .wall-v7-page {
        height: calc(100dvh - 60px);
    }
}

@media (max-width: 390px) {
    body.public-wall-page header.site-header.xs-header .xs-header-home-cta {
        padding-inline: 8px;
    }

    .wall-mobile-room-action,
    .wall-mobile-rules > summary {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .wall-mobile-roster-action {
        width: auto;
        min-width: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #wallCommunityPage .wall-v7-sidebar,
    .wall-mobile-panel-backdrop {
        transition: none;
    }
}

/* Keep Home typography aligned with the adjacent guest-account buttons. */
body.public-wall-page header.site-header.xs-header .xs-header-home-cta { font-size: 12px; }
@media (max-width: 760px) {
    body.public-wall-page header.site-header.xs-header .xs-header-home-cta { font-size: 11px; }
}


/* 18-onboarding.css */
/* Batch 5: registration, verification and dashboard next actions. */
.onboarding-page .site-flash-layer{position:static;margin:18px auto 0;inset:auto}
.onboarding-auth .auth-card{max-width:660px;margin-inline:auto}
.onboarding-register-fields{display:grid;gap:20px}
.onboarding-steps{font-size:.82rem;color:var(--text-muted,#a8acbb);margin:0 0 20px;line-height:1.7}
.onboarding-context{padding:12px 16px;border:1px solid rgba(180,140,255,.25);border-radius:12px;margin:16px 0;color:#d6c3f9;overflow-wrap:anywhere}
.onboarding-help{display:block;font-size:.85rem;color:#b7bac9;line-height:1.55;margin-top:7px}
.onboarding-auth .auth-form input[aria-invalid=true]{border-color:#ff889d}
.onboarding-field-error{display:block;color:#ffadbb;font-size:.86rem;line-height:1.5;margin-top:6px}
.onboarding-auth .profile-v3-toggle-card{display:flex;padding:12px;min-height:54px;flex-direction:row;align-items:center;gap:12px;justify-content:space-between}
.onboarding-auth .profile-v3-toggle-copy{min-width:0;overflow-wrap:anywhere}
.onboarding-auth .profile-v3-toggle-copy strong{font-size:.9rem}
.onboarding-auth .profile-v3-toggle-copy>span{font-size:.72rem}
.onboarding-auth .profile-v3-toggle-switch{flex-shrink:0}
.onboarding-verification .auth-card{text-align:center}
.onboarding-verification .auth-form-secondary{text-align:left}
.onboarding-verification .auth-verification-panel{overflow-wrap:anywhere}
.onboarding-verification .onboarding-change{margin-top:18px;text-align:left;border-top:1px solid #363847;padding-top:18px}
.onboarding-change summary{cursor:pointer;padding:10px 0;color:#e7dcff;font-weight:600}
.onboarding-wait{border-top:1px solid #363847;margin-top:28px;padding-top:24px}
.onboarding-wait h2{font-size:1.25rem;margin:0 0 10px}
.onboarding-wait p{color:#b7bac9;line-height:1.65;margin-bottom:18px}
.onboarding-delivery{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid #427767;color:#9ee0c7;margin-bottom:14px;font-size:.85rem}
.onboarding-delivery.is-failed{color:#ffbfca;border-color:#a55567}
.onboarding-focus{display:flex;gap:8px;margin:0 0 20px}
.onboarding-focus button{flex:1;min-width:0;min-height:46px;border:1px solid #454458;border-radius:10px;background:#181922;color:#dddce6;padding:11px 16px;font:inherit;cursor:pointer}
.onboarding-focus button[aria-pressed=true]{background:linear-gradient(110deg,#b42cda,#7438dc);color:#fff;border-color:#ac6af0}
.onboarding-focus button:focus-visible,.onboarding-auth summary:focus-visible{outline:3px solid #e0b4ff;outline-offset:4px}
.onboarding-next{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#181922;border:1px solid #353646;border-radius:18px;padding:28px;margin-bottom:24px}
.onboarding-next h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.2;margin:8px 0 12px}
.onboarding-next p{max-width:65ch;color:#bdbecc;line-height:1.65;margin:0 0 20px}
.onboarding-next .onboarding-actions{display:flex;flex-wrap:wrap;gap:12px}
.onboarding-status{display:inline-block;border:1px solid #6c577c;border-radius:999px;padding:5px 12px;color:#e0c8ef;font-size:.85rem}
.onboarding-next-icon{flex:0 0 76px;color:#a88ccf}
.onboarding-next-icon svg{width:76px;height:76px}
.onboarding-auth .btn:disabled{opacity:1;background:#3a3045;color:#c2b6cc;cursor:not-allowed;box-shadow:none}
@media(min-width:720px){.onboarding-register-fields{grid-template-columns:1fr 1fr}.onboarding-register-fields .form-group:nth-child(n+3){grid-column:1/-1}}
@media(max-width:600px){.onboarding-focus{flex-direction:column}.onboarding-next{padding:22px 18px}.onboarding-next-icon{display:none}.onboarding-actions{flex-direction:column}.onboarding-actions .btn{width:100%;white-space:normal;text-align:center}.onboarding-auth .auth-card{padding:24px 18px}.onboarding-steps{font-size:.75rem}.onboarding-next h2{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.onboarding-focus button{transition:none}}


/* 19-follow-alerts.css */
.member-alerts-page { max-width: 1120px; padding-block: 32px 48px; }
.member-alerts-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.member-alerts-heading h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.member-alerts-heading p, .member-alert-row p, .member-alert-preferences > p, .member-alert-empty p { color: var(--muted); }
.member-alerts-heading p { margin: 0; }
.member-alert-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid #3f424f; }
.member-alert-filters a[aria-current] { background: #342332; color: #ffc6e0; border-color: #d97ca9; }
.member-alert-filters form { margin-left: auto; }
.member-alert-row { padding: 24px 4px; border-bottom: 1px solid #3f424f; overflow-wrap: anywhere; }
.member-alert-row h2 { font-size: 18px; line-height: 1.4; margin: 10px 0 8px; }
.member-alert-row p { margin: 5px 0; font-size: 15px; }
.member-alert-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.member-alert-meta time { margin-left: auto; }
.member-alert-unread { color: #ffb4d8; font-weight: 650; }
.member-alert-unread::before { content: '●'; margin-right: 6px; }
.member-alert-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.member-alert-actions form { margin: 0; }
.member-alert-row .member-alert-actions form:last-child { margin-left: auto; }
.member-alert-link { border: 0; padding: 10px 6px; min-height: 44px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.member-alert-link:disabled { opacity: .55; cursor: default; }
.member-alert-link:focus-visible, .member-alert-other summary:focus-visible { outline: 2px solid #ffb4d8; outline-offset: 4px; }
.member-alert-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.member-alert-pagination > div { display: flex; gap: 10px; flex-wrap: wrap; }
.member-alert-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
.member-alert-empty { max-width: 640px; margin: 36px auto; padding: 24px; text-align: center; }
.member-alert-empty .member-alert-actions { justify-content: center; }
.member-alert-preferences { max-width: 780px; }
.member-alert-preference { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-bottom: 1px solid #3f424f; cursor: pointer; }
.member-alert-preference input[type=checkbox] { flex: 0 0 22px; width: 22px; height: 22px; margin: 4px 0 0; accent-color: #ff4fa3; }
.member-alert-preference span { min-width: 0; }
.member-alert-preference strong, .member-alert-preference small { display: block; }
.member-alert-preference small { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 5px; }
.member-alert-preference--featured { padding: 24px; border: 1px solid #69536b; border-radius: 12px; background: #20222c; margin-bottom: 22px; }
.member-alert-other { margin: 24px 0; }
.member-alert-other summary { padding: 12px 0; min-height: 44px; cursor: pointer; font-weight: 650; }
.member-alert-account { padding: 24px; border: 1px solid #3f424f; border-radius: 16px; background: #191b23; }
.member-alert-account h2 { font-size: 21px; margin-top: 0; }
.member-alert-account p { color: var(--muted); font-size: 14px; }
.member-feedback { padding: 14px 18px; border: 1px solid #696b7a; border-radius: 10px; margin: 16px 0; overflow-wrap: anywhere; }
.member-feedback p { margin-top: 0; }
.member-feedback--success { color: #c0efd2 !important; background: #1b2922; border-color: #677b6d; }
.member-feedback--error { color: #ffccd6 !important; background: #301d24; border-color: #985667; }
.member-follow { padding: 22px 0; border-top: 1px solid #3f424f; margin: 18px 0 0; overflow-wrap: anywhere; }
.member-follow h2 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; }
.member-follow p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 14px; }
.member-follow form { margin: 12px 0; }
.member-follow .btn { max-width: 100%; white-space: normal; }
.member-follow-status { color: #94dfb5 !important; font-weight: 650; }
.member-follow .member-follow-disclosure { font-size: 12px; margin-block: 14px; }
.member-follow-settings { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.member-follow--purchased { border: 1px solid #3f424f; background: #191b23; border-radius: 12px; padding: 20px; margin: 22px 0; max-width: 660px; }
[data-member-submit][aria-busy=true] { opacity: .65; }
@media(max-width:640px) {
 .member-alerts-heading { flex-direction: column; gap: 16px; }
 .member-alert-filters { gap: 8px; }
 .member-alert-filters form { margin-left: 0; width: 100%; }
 .member-alert-meta time { margin-left: 0; }
 .member-alert-row .member-alert-actions form:last-child { margin-left: 0; }
 .member-alert-actions { gap: 8px; }
 .member-alert-actions .btn { min-height: 44px; }
 .member-alert-preference--featured, .member-alert-account { padding: 18px; }
 .member-alert-empty { padding: 16px 0; }
 .member-follow--purchased { padding: 18px; }
}


/* 20-room-gallery.css */
/* Gallery enhancement is scoped to unlocked rooms; the original feed is the no-JS fallback. */
.wall-purpose { padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.wall-purpose summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 650; }
.wall-purpose p { color: var(--muted); line-height: 1.5; }
.wall-purpose a { display: block; padding: 10px 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
body.room-gallery-page { overflow: hidden; background: #101015; }
#wallCommunityPage.has-room-gallery .wall-v7-layout { grid-template-areas: "gallery chat"; align-items: stretch; }
#wallCommunityPage.has-room-gallery .room-gallery { grid-area: gallery; }
#wallCommunityPage.has-room-gallery .wall-v7-main { grid-area: chat; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .public-chat-v1-entry { display: block; padding-left: 38px; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .wall-v9-stream-avatar-shell { left: 0; top: 0; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .public-chat-v1-card { display: block; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .public-chat-v1-author-row strong { font-size: 14px; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .public-chat-v1-message-body { font-size: 16px; line-height: 1.6; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .wall-v10-timeline-region { height: auto; }
#wallCommunityPage.has-room-gallery #wallCommunityChat #wallChatFeed { gap: 20px !important; min-height: 0; }
#wallCommunityPage.has-room-gallery #wallRoomPanel { display: none !important; }
#wallCommunityPage.has-room-gallery #wallRoomPanel.is-mobile-open { display: flex !important; }
#wallCommunityPage.has-room-gallery { width: 100%; max-width: none; margin: 0; padding: 0 24px !important; box-sizing: border-box; height: var(--room-height); min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.has-room-gallery *, .has-room-gallery *::before, .has-room-gallery *::after { box-sizing: border-box; }
#wallCommunityPage.has-room-gallery .wall-v7-layout { flex: 1; width: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 350px; grid-template-rows: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.has-room-gallery .room-gallery, #wallCommunityPage.has-room-gallery .wall-v7-main { min-width: 0; min-height: 0; height: auto; margin: 0; overflow: hidden; }
#wallCommunityPage.has-room-gallery .wall-v7-main { display: flex; flex-direction: column; border-left: 1px solid #ffffff16; }
#wallCommunityPage.has-room-gallery .wall-v7-room { flex: 1; min-height: 0; height: auto; border: 0; border-radius: 0; background: #14141b; margin: 0; }
#wallCommunityPage.has-room-gallery .wall-v8-room-shell { height: 100%; min-height: 0; display: flex; flex-direction: column; padding: 0; gap: 0; }
#wallCommunityPage.has-room-gallery .wall-v10-timeline-region { flex: 1; min-height: 0; height: auto; padding: 0; margin: 0; }
#wallCommunityPage.has-room-gallery #wallTimelineScroller { height: 100%; min-height: 0; max-height: none; padding: 18px 16px; overflow-y: auto; scrollbar-width: thin; }
#wallCommunityPage.has-room-gallery #wallTimelineScrollbar { display: none; }
#wallCommunityPage.has-room-gallery #wallChatFeed { min-height: 0; gap: 20px; padding: 0; }
#wallCommunityPage.has-room-gallery .public-chat-v1-entry { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; border: 0; }
#wallCommunityPage.has-room-gallery .public-chat-v1-avatar { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; }
#wallCommunityPage.has-room-gallery .public-chat-v1-card { padding: 0; border: 0; background: none; box-shadow: none; min-width: 0; }
#wallCommunityPage.has-room-gallery .public-chat-v1-card-head { gap: 6px; flex-wrap: wrap; margin: 0 0 6px; }
#wallCommunityPage.has-room-gallery .public-chat-v1-author-row { font-size: 14px; min-width: 0; }
#wallCommunityPage.has-room-gallery .public-chat-v1-time { font-size: 12px; color: #aaa7b5; }
#wallCommunityPage.has-room-gallery .public-chat-v1-body { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
#wallCommunityPage.has-room-gallery #wallChatFeed .wall-v8-timeline-preview { width: 100%; max-width: 95px; height: 52.5px; min-height: 0; border-radius: 8px; display: block; margin-top: 8px; overflow: hidden; background: #08080d; }
#wallCommunityPage.has-room-gallery #wallChatFeed .wall-v8-timeline-preview img { width: 100%; height: 100%; max-height: 52.5px; object-fit: contain; }
.room-gallery { display: flex; flex-direction: column; background: #101015; }
.room-gallery-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; min-height: 74px; padding: 14px 24px 14px 0; border-bottom: 1px solid #ffffff12; }
.room-gallery-heading { flex: 1; min-width: 120px; }
.room-gallery-heading h2, .room-gallery-chat-head h2 { font-size: 15px; margin: 0; font-weight: 650; }
.room-gallery-count { display: block; font-size: 11px; color: #9694a1; margin-top: 5px; }
.room-gallery-modes { display: flex; gap: 3px; padding: 3px; background: #ffffff05; border: 1px solid #ffffff14; border-radius: 9px; }
.has-room-gallery .room-gallery-button, .room-gallery-viewer-controls .room-gallery-button { appearance: none; cursor: pointer; border: 0; background: transparent; color: #aaa7b5; padding: 10px 12px; min-height: 40px; border-radius: 6px; font: inherit; font-size: 12px; }
.has-room-gallery .room-gallery-button:hover, .room-gallery-viewer-controls .room-gallery-button:hover { background: #ffffff0c; color: #fff; }
.has-room-gallery .room-gallery-button[aria-pressed="true"] { background: #ffffff10; color: #fff; }
.has-room-gallery .room-gallery-share { min-height: 42px; padding: 10px 16px; font-size: 12px; border-radius: 9px; }
.has-room-gallery button:focus-visible { outline: 2px solid #e991d1; outline-offset: 3px; }
.room-gallery-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 22px 24px 28px 0; }
.room-gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 9px; align-items: start; }
.room-gallery-tile { min-width: 0; }
.room-gallery-photo, .room-gallery-stage-photo { position: relative; display: block; width: 100%; cursor: pointer; border: 0; padding: 0; background: #08080c; color: #fff; border-radius: 9px; overflow: hidden; }
.room-gallery-photo { aspect-ratio: 2 / 3; }
.room-gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.room-gallery-photo:hover img { transform: scale(1.015); }
.room-gallery-expiry { position: absolute; right: 8px; bottom: 8px; font-size: 10px; border-radius: 5px; background: #080810c9; color: #eee; padding: 5px 7px; }
.room-gallery-caption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; }
.room-gallery-caption strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.room-gallery-caption span { color: #aaa7b5; white-space: nowrap; }
.room-gallery-image-title { margin: 5px 0 0; color: #8d8b98; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-gallery-empty { max-width: 380px; margin: 12vh auto; text-align: center; padding: 24px; }
.room-gallery-empty h3 { font-size: 22px; font-weight: 550; }
.room-gallery-empty p { color: #aaa7b5; font-size: 14px; line-height: 1.7; }
.room-gallery-empty.room-gallery-quiet { max-width: 520px; margin: clamp(16px, 5vh, 64px) auto; padding: 24px 12px; }
.room-gallery-quiet-symbol { display: block; color: #d4a4ef; font-size: 40px; line-height: 1; margin-bottom: 20px; }
.room-gallery-quiet h3 { margin: 0 0 12px; }
.room-gallery-quiet-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.has-room-gallery .room-gallery-quiet-actions .btn { min-height: 44px; padding: 12px 18px; white-space: normal; text-align: center; font-size: 14px; line-height: 1.4; }
.room-gallery-quiet-actions a:focus-visible { outline: 2px solid #e991d1; outline-offset: 3px; }
.room-gallery-empty .room-gallery-quiet-note { margin: 20px 0 0; font-size: 13px; }
@media (max-width: 600px) {
    .room-gallery-quiet-actions { flex-direction: column; }
    .room-gallery-quiet-actions .btn { width: 100%; }
}
.room-gallery-more { display: block; margin: 24px auto 0; }
.room-gallery-focus { display: grid; grid-template-columns: minmax(0, 1fr) 86px; gap: 16px; }
.room-gallery-stage { min-width: 0; }
.room-gallery-stage-photo { height: min(66vh, 760px); }
.room-gallery-stage-photo img { width: 100%; height: 100%; object-fit: contain; }
.room-gallery-stage p { color: #aaa7b5; font-size: 12px; }
.room-gallery-filmstrip { display: flex; flex-direction: column; gap: 9px; max-height: 70vh; overflow: auto; }
.room-gallery-filmstrip button { flex: 0 0 108px; padding: 0 !important; overflow: hidden; border: 2px solid transparent !important; }
.room-gallery-filmstrip button[aria-pressed="true"] { border-color: #e77cb9 !important; }
.room-gallery-filmstrip img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery-chat-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 16px; min-height: 74px; border-bottom: 1px solid #ffffff12; }
.room-gallery-chat-head h2 { flex: 1; white-space: nowrap; }
#wallCommunityPage.has-room-gallery .wall-private-chat-launcher { width: auto; min-height: 40px; padding: 8px; margin: 0; background: none; border: 0; font-size: 11px; }
#wallCommunityPage.has-room-gallery .wall-private-chat-launcher-icon { display: none; }
#wallCommunityPage.has-room-gallery .wall-v8-room-compose { position: static; flex: 0 0 auto; width: 100%; padding: 14px; margin: 0; border-top: 1px solid #ffffff12; border-radius: 0; background: #14141b; }
#wallCommunityPage.has-room-gallery .wall-v8-compose-inline-layout { display: flex; flex-direction: column; gap: 10px; }
#wallCommunityPage.has-room-gallery .wall-v8-chat-composer { width: 100%; min-width: 0; }
#wallCommunityPage.has-room-gallery #wallChatMessage { min-height: 62px; height: 62px; max-height: 100px; padding: 12px; font-size: 16px; border: 1px solid #ffffff18; border-radius: 9px; background: #1b1b24; }
#wallCommunityPage.has-room-gallery .wall-v8-compose-control-rail { width: 100%; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
#wallCommunityPage.has-room-gallery .wall-v8-compose-upload { flex: 1; min-width: 0; width: auto; }
#wallCommunityPage.has-room-gallery .wall-v6-file-trigger { width: auto; min-height: 40px; padding: 8px; font-size: 11px; }
#wallCommunityPage.has-room-gallery .wall-v6-file-trigger-meta { font-size: 9px; }
#wallCommunityPage.has-room-gallery .wall-v8-send-button { width: auto; min-width: 74px; min-height: 42px; padding: 10px 16px; font-size: 12px; }
#wallCommunityPage.has-room-gallery .wall-v14-room-rules { position: static; margin: 0; padding: 8px 16px; font-size: 10px; line-height: 1.4; }
.room-gallery-reference { display: block; width: 45px; height: 33px; border: 1px solid #ffffff22; border-radius: 6px; padding: 0; overflow: hidden; cursor: pointer; background: #090910; }
.room-gallery-reference img { width: 100%; height: 100%; object-fit: contain; }
.room-gallery-viewer-controls { display: flex; flex: 0 0 auto; justify-content: center; flex-wrap: wrap; align-items: center; gap: 4px; width: 100%; padding: 4px; border-radius: 9px; background: #14141bf5; }
.room-gallery-viewer-controls button { white-space: normal; min-width: 0; }
.room-gallery-page .wall-v3-modal-dialog { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); overflow-y: auto; }
.room-gallery-page .wall-v11-modal-media-shell { flex: 1 1 auto; min-height: 120px; }
.room-gallery-page .wall-v11-modal-stats-row { flex: 0 0 auto; }
#wallCommunityPage.has-room-gallery > .wall-v15-room-picker { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; margin: 0; padding: 12px 0; border: 0; background: none; }
#wallCommunityPage.has-room-gallery .wall-v15-room-picker-head { display: block; }
#wallCommunityPage.has-room-gallery .wall-v15-room-picker h2 { margin: 0; font-size: 20px; }
#wallCommunityPage.has-room-gallery .wall-v15-room-form { width: 170px; max-width: 100%; margin-left: auto; }
#wallCommunityPage.has-room-gallery .wall-v15-room-form select { min-height: 40px; }
#wallCommunityPage.has-room-gallery .wall-mobile-room-actions { display: flex; }
#wallCommunityPage.has-room-gallery .member-private-room-live-head { flex: 0 0 auto; margin: 0; min-height: 82px; padding: 14px 0; }
#wallCommunityPage.has-room-gallery .wall-mobile-room-toolbar { display: flex; min-height: 60px; flex: 0 0 auto; justify-content: space-between; }
#wallCommunityPage.has-room-gallery #wallRoomPanel { display: none; position: fixed; top: 16px; bottom: 16px; right: 16px; left: auto; width: min(370px, calc(100vw - 32px)); max-height: none; z-index: 1500; overflow: auto; padding: 52px 18px 20px; background: #181821; border: 1px solid #ffffff22; border-radius: 15px; transform: none; visibility: visible; }
#wallCommunityPage.has-room-gallery #wallRoomPanel.is-mobile-open { display: flex; flex-direction: column; }
#wallCommunityPage.has-room-gallery .wall-mobile-panel-close { display: block; position: absolute; top: 8px; right: 10px; }
.room-gallery-page.wall-mobile-panel-open .wall-mobile-panel-backdrop { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1499; background: #000b; border: 0; }
.room-gallery-tabs { display: none; }
.has-room-gallery [hidden] { display: none !important; }
@media (min-width: 1650px) { .room-gallery-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1190px) { .room-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } #wallCommunityPage.has-room-gallery .wall-v7-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 900px) {
    #wallCommunityPage.has-room-gallery { padding: 0 14px !important; }
    #wallCommunityPage.has-room-gallery .wall-v7-layout { display: flex; }
    #wallCommunityPage.has-room-gallery .room-gallery, #wallCommunityPage.has-room-gallery .wall-v7-main { flex: 1; border: 0; width: 100%; }
    .has-room-gallery[data-room-view="gallery"] .wall-v7-main, .has-room-gallery[data-room-view="chat"] .room-gallery { display: none !important; }
    .room-gallery-toolbar { padding: 10px 0; gap: 8px; min-height: 65px; }
    .room-gallery-toolbar > .room-gallery-share { display: none; }
    .room-gallery-scroll { padding: 16px 0 24px; }
    .room-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 6px; }
    .room-gallery-caption { font-size: 11px; margin-top: 8px; }
    .room-gallery-image-title { font-size: 10px; }
    .room-gallery-tabs { display: flex; flex: 0 0 auto; gap: 8px; justify-content: space-around; align-items: center; padding: 7px 0 max(7px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff18; background: #101015; min-height: 60px; }
    .room-gallery-tabs .room-gallery-button { flex: 1; min-height: 44px; }
    .has-room-gallery .room-gallery-share { padding: 10px; font-size: 11px; }
    .room-gallery-chat-head { min-height: 55px; padding: 6px 0; }
    #wallCommunityPage.has-room-gallery .wall-v8-room-compose { padding: 10px 0; }
    #wallCommunityPage.has-room-gallery #wallTimelineScroller { padding: 14px 0; }
    #wallCommunityPage.has-room-gallery .wall-v14-room-rules { display: none; }
    #wallCommunityPage.has-room-gallery > .wall-v15-room-picker { min-height: 60px; padding: 8px 0; gap: 8px; }
    #wallCommunityPage.has-room-gallery .wall-v15-room-picker-head { display: none; }
    #wallCommunityPage.has-room-gallery .wall-v15-room-form { flex: 1; margin: 0; max-width: 165px; }
    #wallCommunityPage.has-room-gallery .wall-mobile-room-actions { margin-left: auto; }
    #wallCommunityPage.has-room-gallery .member-private-room-live-head { padding: 10px 0; min-height: 95px; }
    .room-gallery-focus { display: flex; flex-direction: column; }
    .room-gallery-stage-photo { height: 47vh; }
    .room-gallery-filmstrip { flex-direction: row; height: 84px; overflow-x: auto; }
    .room-gallery-filmstrip button { flex: 0 0 58px; }
    .room-gallery-viewer-controls .room-gallery-button { font-size: 10px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .room-gallery-photo img { transition: none; } }

#wallCommunityPage.has-room-gallery #wallCommunityChat { min-height: 0; max-height: none; height: auto; }
#wallCommunityPage.has-room-gallery #wallCommunityChat .wall-v8-room-shell { height: 100%; min-height: 0; max-height: none; border-radius: 0; background: #14141b; }
#wallCommunityPage.has-room-gallery #wallCommunityChat #wallChatSendButton { min-height: 44px; height: 44px; min-width: 44px; width: 44px; }
#wallCommunityPage.has-room-gallery .wall-mobile-room-action, #wallCommunityPage.has-room-gallery .wall-mobile-rules > summary { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; min-width: 40px; padding: 5px 9px; background: #ffffff05; color: #eee; border: 1px solid #ffffff14; border-radius: 9px; cursor: pointer; list-style: none; }
.room-gallery-caption .room-gallery-like { padding: 4px; min-height: 32px; color: #b9b4c5; font-size: 12px; white-space: nowrap; }
.room-gallery-caption .room-gallery-like[aria-pressed="true"] { background: none; color: #f29dcc; }
.room-gallery-reply { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 8px 10px; border-left: 2px solid #dc81bc; background: #ffffff06; font-size: 11px; color: #b9b2c4; }
.room-gallery-reply span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.room-gallery-reference-unavailable { width: auto; height: auto; padding: 8px; font-size: 11px; color: #aaa7b5; }
.room-gallery-tabs .room-gallery-button[aria-pressed="true"] { color: #efa7d2; box-shadow: inset 0 -2px #dd81ba; background: #ffffff06; }

.room-gallery-chat-tabs { display: flex; gap: 2px; flex: 1; min-width: 0; }
.room-gallery-chat-tabs .room-gallery-button { padding: 10px 8px; min-height: 44px; }
.room-gallery-chat-tabs [aria-selected="true"] { color: #efa7d2; box-shadow: inset 0 -2px #dd81ba; }
.room-gallery-chat-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
#wallCommunityPage.has-room-gallery #wallRoomPanel { position: static; display: flex !important; flex-direction: column; flex: 1; min-height: 0; width: 100%; max-height: none; padding: 16px; border: 0; border-radius: 0; z-index: auto; overflow-y: auto; background: #14141b; }
#wallCommunityPage.has-room-gallery #wallRoomPanel[hidden] { display: none !important; }
#wallCommunityPage.has-room-gallery .wall-mobile-panel-close, #wallCommunityPage.has-room-gallery .wall-mobile-panel-backdrop { display: none !important; }
#wallCommunityPage.has-room-gallery #wallOnlineUsers { width: 100%; min-width: 0; }
.room-gallery-caption { gap: 4px; flex-wrap: wrap; margin-top: 7px; }
.room-gallery-expiry { right: 3px; bottom: 3px; padding: 3px; font-size: 9px; }
.public-wall-page .room-gallery-expiry { font-size: 12px; line-height: 1.3; padding: 4px; background: #080810ed; }
.public-wall-page .room-gallery-caption .room-gallery-like { font-size: 16px; min-height: 40px; min-width: 40px; color: #d8d2e3; }
[data-wall-nickname-close] { float: right; min-width: 44px; min-height: 44px; font-size: 22px; }
@media (max-width: 900px) {
    .room-gallery-caption strong { flex-basis: 100%; }
    .room-gallery-caption .room-gallery-like { min-height: 32px; padding: 2px; }
    .room-gallery-chat-head { padding: 6px 0; }
    #wallCommunityPage.has-room-gallery #wallRoomPanel { padding: 14px 0; }
}

.room-gallery-room-dialog { box-sizing: border-box; width: min(400px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid #676977; border-radius: 16px; background: #191b23; color: #f4f3f6; box-shadow: 0 24px 80px #0008; }
.room-gallery-room-dialog::backdrop { background: #08090dcc; }
.room-gallery-room-dialog h2 { margin: 0 0 20px; font-size: 21px; line-height: 1.3; }
.room-gallery-room-choices { display: grid; gap: 8px; margin-bottom: 20px; }
.room-gallery-room-dialog .btn { width: 100%; min-height: 44px; white-space: normal; }
.room-gallery-room-choices [aria-current="true"] { border-color: #ffb4d8; background: #ff4fa314; }
