/* ==========================================================================
   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 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid rgba(255, 255, 255, 0.075) !important;
    box-shadow: 0 14px 34px rgba(7, 10, 18, 0.24) !important;
    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 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 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;
    }
}
