/* ════════════════════════════════
   TOPBAR LAYOUT
   Three fixed zones: left, center, right.
   Changing sizes inside a zone won't
   push elements in the other zones.
════════════════════════════════ */
.cw-topbar {
    /* ── Hero background: edit the gradient stops or grid colour below ── */
    background:
        linear-gradient(rgba(100, 0, 180, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 0, 180, 0.055) 1px, transparent 1px),
        linear-gradient(160deg, #f0e6ff 0%, #ffffff 50%, #fff5e6 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
    border-bottom: 2px solid #ccc;
    display: flex;
    align-items: center;
    height: 150px;          /* fixed height — change this to make the bar taller/shorter */
    max-height: 160px;      /* hard cap so nothing can push it down */
    overflow: hidden;
    padding: 0 20px;
    gap: 0;
    position: sticky;
    top: 0;
    z-index: 500;
}

/* LEFT zone — fixed width, logo sits here */
.cw-topbar-left {
    width: 340px;           /* change this to resize the logo zone */
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* CENTER zone — stretches to fill remaining space */
.cw-topbar-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RIGHT zone — fixed width, user panel sits here */
.cw-topbar-right {
    width: 360px;           /* change this to resize the user panel zone */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* ════════════════════════════════
   LOGO
════════════════════════════════ */
.cw-logo {
    height: 100%;           /* fills the left zone height without overflowing */
    max-height: 257px;       /* change this to resize the logo — won't push bar down */
    width: auto;            /* always keeps correct aspect ratio */
    display: block;
    object-fit: contain;
}


/* ════════════════════════════════
   NAV
════════════════════════════════ */
.cw-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 32px;              /* change this to adjust spacing between nav items */
}

.cw-nav a {
    display: block;
    line-height: 0;
}

.nav-search-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cw-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #333;
    border-radius: 6px;
    padding: 4px 12px;
    background: #fff;
    width: 340px;
}

.search-icon {
    height: 16px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    width: 100%;
    background: transparent;
}

.search-input::placeholder {
    color: #222;
    font-weight: 600;
}

.nav-btn {
    width: 105px;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.nav-btn:hover {
    opacity: 0.75;
}

.nav-btn-sm {
    width: 82px;
}

.cw-create-quick-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    background: #7700bb;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid #5500aa;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    line-height: 1;
    flex-shrink: 0;
}

.cw-create-quick-btn:hover {
    background: #5500aa;
    transform: translateY(-1px);
}


/* ════════════════════════════════
   CREATE PAGE
════════════════════════════════ */
.cw-create-page {
    max-width: 900px;
    margin: 36px auto 48px auto;
    padding: 0 24px;
    font-family: 'Lexend', sans-serif;
}

.create-page-header {
    text-align: center;
    margin-bottom: 36px;
}

.create-header-dash {
    border-top: 2px dashed #444;
    margin: 10px 0;
}

.create-header-inner {
    padding: 14px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.create-header-title {
    font-size: 32px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.5px;
}

.create-header-sub {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.create-cards {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.create-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    border: 2px dashed #444;
    border-radius: 12px;
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: #fff;
    transition: box-shadow 0.18s ease, transform 0.15s ease;
}

.create-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.create-card-icon {
    font-size: 56px;
    line-height: 1;
}

.create-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.create-card-desc {
    font-size: 13px;
    color: #555;
    font-weight: 400;
    line-height: 1.6;
    flex: 1;
}

.create-card-btn {
    margin-top: 8px;
    padding: 10px 28px;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.15s ease, transform 0.1s ease;
    width: 100%;
}

.create-card-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.create-btn-upload {
    background: #7700bb;
    color: #fff;
    border-color: #5500aa;
}

.create-btn-live {
    background: #d40000;
    color: #fff;
    border-color: #aa0000;
}

.create-hub-link-wrap {
    margin-top: 40px;
}

.create-hub-dash {
    border-top: 2px dashed #ccc;
    margin: 8px 0;
}

.create-hub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.create-hub-link:hover {
    background: #f5eaff;
    color: #7700bb;
}

.create-hub-icon {
    font-size: 18px;
}

.create-hub-arrow {
    font-size: 16px;
    margin-left: 4px;
}


/* ════════════════════════════════
   ADMIN PANEL
════════════════════════════════ */
.admin-gate {
    position: fixed;
    inset: 0;
    background: #0a0010;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.admin-gate-box {
    border: 2px dashed #7700bb;
    border-radius: 12px;
    padding: 40px 48px;
    background: #110020;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 320px;
    text-align: center;
}

.admin-gate-title {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7700bb;
}

.admin-gate-logo {
    font-size: 36px;
}

.admin-gate-label {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.admin-gate-input {
    width: 100%;
    padding: 10px 16px;
    background: #1a0030;
    border: 2px dashed #7700bb;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    letter-spacing: 3px;
    outline: none;
    box-sizing: border-box;
}

.admin-gate-input::placeholder { color: #555; letter-spacing: 1px; }

.admin-gate-input.shake {
    animation: admin-shake 0.35s ease;
    border-color: #cc0000;
}

@keyframes admin-shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-8px); }
    40%      { transform: translateX(8px); }
    60%      { transform: translateX(-5px); }
    80%      { transform: translateX(5px); }
}

.admin-gate-btn {
    width: 100%;
    padding: 10px;
    background: #7700bb;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #5500aa;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.admin-gate-btn:hover { background: #5500aa; }

.admin-gate-error {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    color: #cc4444;
    min-height: 16px;
}

/* Admin page body */
body.admin-body {
    background: #0d001f;
    min-height: 100vh;
}

.admin-page {
    max-width: 1200px;
    margin: 28px auto 48px;
    padding: 0 20px;
    font-family: 'Lexend', sans-serif;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #110020;
    border: 2px dashed #7700bb;
    border-radius: 10px;
    margin-bottom: 24px;
}

.admin-topbar-title {
    font-size: 14px;
    font-weight: 600;
    color: #aa44ff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.admin-topbar-meta {
    font-size: 12px;
    color: #666;
}

.admin-topbar-logout {
    font-size: 12px;
    font-weight: 600;
    color: #cc4444;
    background: none;
    border: 1px dashed #cc4444;
    border-radius: 4px;
    padding: 5px 12px;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
    transition: background 0.15s ease;
}

.admin-topbar-logout:hover { background: #cc444422; }

.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px dashed #7700bb;
    margin-bottom: 24px;
}

.admin-tab {
    padding: 10px 24px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.admin-tab:hover { color: #aa44ff; }
.admin-tab.active { color: #aa44ff; border-bottom-color: #aa44ff; }

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.admin-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #aa44ff;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #110020;
    border: 2px dashed #5500aa;
    border-radius: 6px;
    min-width: 240px;
}

.admin-search input {
    background: none;
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #fff;
    width: 100%;
}

.admin-search input::placeholder { color: #555; }

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    text-align: left;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 600;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px dashed #5500aa;
}

.admin-table td {
    padding: 11px 12px;
    border-bottom: 1px dashed #2a0044;
    color: #ccc;
    vertical-align: middle;
}

.admin-table tr:hover td { background: #1a0030; }

.admin-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-badge-active  { background: #0d3d1a; color: #44dd77; border: 1px dashed #44dd77; }
.admin-badge-banned  { background: #3d0d0d; color: #dd4444; border: 1px dashed #dd4444; }
.admin-badge-public  { background: #0d1a3d; color: #4488ff; border: 1px dashed #4488ff; }
.admin-badge-private { background: #1a1a1a; color: #888; border: 1px dashed #555; }
.admin-badge-removed { background: #3d0d0d; color: #ff4444; border: 1px dashed #ff4444; }
.admin-badge-event   { background: #3d1a00; color: #ff8800; border: 1px dashed #ff8800; }

.admin-action-btn {
    padding: 4px 10px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 1px dashed #5500aa;
    background: #110020;
    color: #aa44ff;
    transition: background 0.12s ease;
    margin-right: 4px;
}

.admin-action-btn:hover { background: #220044; }
.admin-action-btn.ban  { border-color: #cc4444; color: #cc4444; }
.admin-action-btn.ban:hover { background: #3d0d0d; }
.admin-action-btn.unban { border-color: #44dd77; color: #44dd77; }
.admin-action-btn.unban:hover { background: #0d3d1a; }
.admin-action-btn.remove { border-color: #ff4444; color: #ff4444; }
.admin-action-btn.remove:hover { background: #3d0d0d; }

.admin-vis-select {
    background: #110020;
    border: 1px dashed #5500aa;
    border-radius: 4px;
    color: #ccc;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    cursor: pointer;
    outline: none;
}

/* Events panel */
.admin-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.admin-event-slot {
    background: #110020;
    border: 2px dashed #5500aa;
    border-radius: 10px;
    padding: 18px;
}

.admin-event-slot-title {
    font-size: 13px;
    font-weight: 600;
    color: #aa44ff;
    margin-bottom: 12px;
    border-bottom: 1px dashed #3300aa;
    padding-bottom: 8px;
}

.admin-event-video-slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #1a0030;
    border: 1px dashed #3300aa;
    border-radius: 6px;
    margin-bottom: 8px;
}

.admin-event-thumb {
    width: 64px;
    height: 38px;
    border-radius: 4px;
    background: radial-gradient(circle at 35% 35%, #6600aa, #220033);
    flex-shrink: 0;
}

.admin-event-video-title {
    font-size: 12px;
    font-weight: 600;
    color: #ccc;
    flex: 1;
}

.admin-event-assign {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    background: #110020;
    border: 1px dashed #7700bb;
    color: #aa44ff;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
}

.admin-event-assign:hover { background: #220044; }

/* ════════════════════════════════
   CHANNEL CONTENT HUB
════════════════════════════════ */
.cw-hub-page {
    max-width: 1100px;
    margin: 28px auto 48px auto;
    padding: 0 20px;
    font-family: 'Lexend', sans-serif;
}

.hub-channel-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border: 2px dashed #444;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 20px;
}

.hub-channel-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 3px solid #444;
    flex-shrink: 0;
}

.hub-channel-info {
    flex: 1;
}

.hub-channel-name {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.hub-channel-meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hub-channel-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hub-channel-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.hub-btn {
    padding: 8px 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hub-btn:hover { opacity: 0.8; }

.hub-btn-primary {
    background: #7700bb;
    color: #fff;
    border: 2px solid #5500aa;
}

.hub-btn-outline {
    background: #fff;
    color: #7700bb;
    border: 2px dashed #7700bb;
}

.hub-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.hub-stat-box {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 16px 18px;
    background: #fff;
}

.hub-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.hub-stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.hub-stat-change {
    font-size: 11px;
    color: #22aa55;
    margin-top: 2px;
}

.hub-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px dashed #444;
    margin-bottom: 20px;
}

.hub-tab {
    padding: 10px 22px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.hub-tab:hover { color: #7700bb; }

.hub-tab.active {
    color: #7700bb;
    border-bottom-color: #7700bb;
}

.hub-panel {
    display: none;
}

.hub-panel.active {
    display: block;
}

.hub-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.hub-panel-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* Video Table */
.hub-video-table {
    width: 100%;
    border-collapse: collapse;
}

.hub-video-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 8px 12px;
    border-bottom: 2px dashed #ddd;
}

.hub-video-table td {
    padding: 12px 12px;
    vertical-align: middle;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
    color: #222;
}

.hub-video-thumb {
    width: 88px;
    height: 52px;
    border-radius: 5px;
    background: radial-gradient(circle at 40% 40%, #9a009a, #2a0040);
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.hub-video-thumb.thumb-v2 { background: radial-gradient(circle at 40% 40%, #0066cc, #001a44); }
.hub-video-thumb.thumb-v3 { background: radial-gradient(circle at 40% 40%, #cc6600, #442200); }
.hub-video-thumb.thumb-v4 { background: radial-gradient(circle at 40% 40%, #006633, #001a0d); }
.hub-video-thumb.thumb-v5 { background: radial-gradient(circle at 40% 40%, #990000, #220000); }
.hub-video-thumb.thumb-v6 { background: radial-gradient(circle at 40% 40%, #556600, #111a00); }

.hub-video-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hub-video-title-text {
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.hub-video-date {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.hub-visibility-select {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border: 2px dashed #999;
    border-radius: 5px;
    background: #fff;
    color: #222;
    cursor: pointer;
    outline: none;
}

.hub-visibility-select.vis-public { border-color: #22aa55; color: #22aa55; }
.hub-visibility-select.vis-unlisted { border-color: #cc8800; color: #cc8800; }
.hub-visibility-select.vis-private { border-color: #999; color: #666; }

/* Toggle switch */
.hub-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #555;
}

.hub-toggle {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.hub-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hub-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hub-toggle-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.hub-toggle input:checked + .hub-toggle-slider { background: #7700bb; }
.hub-toggle input:checked + .hub-toggle-slider::before { transform: translateX(16px); }

.hub-row-actions {
    display: flex;
    gap: 8px;
}

.hub-action-btn {
    padding: 4px 10px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 1px dashed #ccc;
    background: #fff;
    color: #444;
    transition: background 0.12s ease;
}

.hub-action-btn:hover { background: #f0e8ff; color: #7700bb; border-color: #7700bb; }

.hub-action-btn.edit-btn { background: #f5f0ff; color: #7700bb; border: 1.5px dashed #7700bb; }
.hub-action-btn.edit-btn:hover { background: #ebe0ff; border-style: solid; }

.hub-action-btn.del:hover { background: #ffe8e8; color: #cc0000; border-color: #cc0000; }

/* ── Video tag pills (in edit modal + watch page) ──────────────── */
.cch-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 2px dashed #7700bb;
    border-radius: 20px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    background: #f5f0ff;
    user-select: none;
    white-space: nowrap;
}
.cch-tag-pill button {
    background: none;
    border: none;
    color: #7700bb;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    font-weight: 800;
    font-family: monospace;
}

/* Analytics */
.hub-analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hub-analytics-card {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 18px 20px;
    background: #fff;
}

.hub-analytics-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 16px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.hub-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.hub-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.hub-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: #7700bb;
    min-height: 4px;
    transition: opacity 0.15s ease;
}

.hub-bar:hover { opacity: 0.75; }

.hub-bar-label {
    font-size: 9px;
    color: #888;
    font-weight: 600;
    text-align: center;
}

.hub-top-video-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-top-video-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.hub-top-video-rank {
    font-size: 14px;
    font-weight: 700;
    color: #7700bb;
    width: 20px;
    flex-shrink: 0;
}

.hub-top-video-title {
    font-weight: 600;
    color: #222;
    flex: 1;
}

.hub-top-video-views {
    color: #888;
    font-weight: 400;
    white-space: nowrap;
}

/* Monetization panel */
.hub-monetize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hub-monetize-card {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 18px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-monetize-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hub-monetize-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.hub-monetize-rate {
    font-size: 22px;
    font-weight: 600;
    color: #7700bb;
}


/* ════════════════════════════════
   USER PANEL
════════════════════════════════ */
.cw-user-panel {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bell & Settings */
.cw-icon-group {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.cw-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    position: relative;
    display: block;
}

.cw-icon-btn img {
    height: 30px;           /* change this to resize bell/settings icons */
    width: auto;
    display: block;
    transition: opacity 0.15s ease;
}

.cw-icon-btn:hover img {
    opacity: 0.75;
}


/* ════════════════════════════════
   SEARCH DROPDOWN
════════════════════════════════ */
.cw-search-dropdown {
    position: fixed;
    z-index: 600;
    background: #fff;
    border: 2px dashed #333;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    font-family: 'Lexend', sans-serif;
    overflow: hidden;
    min-width: 340px;
}

.cw-search-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.sd-section { padding: 10px 0; }

.sd-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 14px 6px 14px;
}

.sd-trend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: background 0.12s ease;
}

.sd-trend-item:hover { background: #f5f5f5; }

.sd-trend-rank {
    font-size: 11px;
    font-weight: 800;
    color: #7700bb;
    width: 22px;
    flex-shrink: 0;
}

.sd-divider {
    border-top: 1px dashed #ddd;
    margin: 0 14px;
}

.sd-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    text-decoration: none;
    transition: background 0.12s ease;
}

.sd-suggest-item:hover { background: #f5f5f5; }

.sd-suggest-thumb {
    width: 56px;
    height: 36px;
    border-radius: 5px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    flex-shrink: 0;
}

.sd-suggest-info { display: flex; flex-direction: column; gap: 2px; }

.sd-suggest-title {
    font-size: 12px;
    font-weight: 700;
    color: #111;
}

.sd-suggest-meta {
    font-size: 10px;
    color: #777;
}

.bell-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: #ff0000ff;
    color: white;
    font-size: 9px;
    font-weight: bold;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 2px dashed #8b0000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: #7700bb;
    color: white;
    font-size: 9px;
    font-weight: bold;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    border: 2px dashed #440077;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.friend-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: #1a9a3a;
    color: white;
    font-size: 8px;
    font-weight: 800;
    padding: 0 5px;
    height: 15px;
    border-radius: 3px;
    border: 2px dashed #0d6b28;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Welcome + Stats block — hidden until auth-guard populates it */
.cw-info-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 210px;
    opacity: 0;
    transition: opacity 0.18s ease;
}
.cw-info-block.cw-loaded { opacity: 1; }

.cw-info-top-dashes,
.cw-info-mid-dashes,
.cw-info-bottom-dashes {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0;
}

.cw-dash-line {
    border-top: 2px dashed #444;
    width: 100%;
}

.cw-dash-sm {
    border-top-width: 1px;
    border-top-color: #666;
}

.cw-welcome-box {
    padding: 3px 8px;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Lexend', sans-serif;
}

.cw-welcome-box .label {
    color: #555;
    font-weight: 400;
}

.cw-welcome-box .username {
    font-weight: 600;
    color: #000;
}

.cw-stats {
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    padding: 2px 0;
    font-family: 'Lexend', sans-serif;
}

.cw-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
}

.cw-stat-action-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cw-stat-action-icon {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.cw-stat-coin-icon {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    /* negative margins absorb the extra height so the row doesn't grow */
    margin-top: -7px;
    margin-bottom: -7px;
}

.cw-stat-score-icon {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.cw-stat-val-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.15;
}

.cw-stats .coins {
    color: #111;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    line-height: 1.1;
}

.cw-stats .score {
    color: #c8a800;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
}

.cw-add-more-link {
    font-size: 9px;
    font-weight: 700;
    color: #7700bb;
    text-decoration: none;
    letter-spacing: 0.2px;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.cw-add-more-link:hover {
    opacity: 1;
}

.cw-score-info-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    gap: 0;
}

.cw-score-tooltip {
    display: none;
    position: fixed;
    top: 152px;
    left: 0;
    background: #fff;
    border: 2px dashed #444;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-family: 'Lexend', sans-serif;
    color: #222;
    max-width: 240px;
    white-space: normal;
    line-height: 1.5;
    z-index: 9999;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.18);
}

.cw-score-info-wrap:hover .cw-score-tooltip {
    display: block;
}

/* ════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════ */
.cw-announcement-bar {
    background: #1a0030;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 28px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
}

.ann-label {
    background: #e07800;
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.ann-text {
    color: #ddd;
    font-weight: 400;
    font-size: 12px;
}

.ann-stats {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}

.ann-stat-num { font-weight: 700; color: #fff; }
.ann-stat-live { color: #ff6666; font-weight: 700; }
.ann-stat-sep  { color: #444; }

/* ════════════════════════════════
   CATEGORY TAG STRIP
════════════════════════════════ */
.cw-category-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 28px;
    background: rgba(245, 234, 255, 0.7);
    border-bottom: 1px solid #e4d4f4;
    overflow-x: auto;
    scrollbar-width: none;
    font-family: 'Lexend', sans-serif;
}

.cw-category-strip::-webkit-scrollbar { display: none; }

.cat-strip-label {
    font-size: 10px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 2px dashed #c8a0e8;
    margin-right: 2px;
}

.cat-tag {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    border: 2px dashed #ccc;
    border-radius: 20px;
    padding: 3px 13px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.cat-tag:hover {
    border-color: #7700bb;
    color: #7700bb;
}

.cat-tag.cat-active {
    border-color: #7700bb;
    color: #7700bb;
    background: rgba(119, 0, 187, 0.1);
}

.cat-tag.cat-jump {
    border-color: #e07800;
    color: #e07800;
    text-decoration: none;
}

.cat-tag.cat-jump:hover {
    background: rgba(224, 120, 0, 0.1);
    border-color: #e07800;
    color: #e07800;
}

/* ════════════════════════════════
   LIVE NOW STRIP
════════════════════════════════ */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.85); }
}

.cw-live-strip {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 0 6px 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.live-strip-label {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.live-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #dd0000;
    animation: pulse-dot 1.3s ease infinite;
    flex-shrink: 0;
}

.live-strip-title {
    font-size: 15px;
    font-weight: 800;
    color: #dd0000;
    font-family: 'Lexend', sans-serif;
    white-space: nowrap;
}

.live-strip-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    flex: 1;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.live-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.live-card:hover { transform: translateY(-2px); }

.live-thumb {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    border: 3px solid #dd0000;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.live-badge {
    position: absolute;
    bottom: -9px;
    background: #dd0000;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    padding: 2px 5px;
    border-radius: 3px;
    letter-spacing: 0.8px;
}

.live-creator {
    font-size: 11px;
    font-weight: 700;
    color: #222;
    font-family: 'Lexend', sans-serif;
    margin-top: 8px;
}

.live-viewers {
    font-size: 10px;
    color: #666;
    font-family: 'Lexend', sans-serif;
}

.live-view-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    text-decoration: none;
    color: #dd0000;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border: 2px dashed #dd0000;
    border-radius: 8px;
    padding: 6px 12px;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.live-view-all:hover {
    background: rgba(221, 0, 0, 0.07);
}

.live-view-all-arrow {
    font-size: 18px;
    line-height: 1;
}

/* ════════════════════════════════
   HERO AREA (topbar → Top Today wrapper)
   Edit grid colour: rgba(100, 0, 180, 0.04)
   Edit gradient stops: the three colour values below
════════════════════════════════ */
.cw-hero-area {
    background:
        linear-gradient(rgba(100, 0, 180, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 0, 180, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, #fff5e6 0%, #f5eaff 40%, #ffffff 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
    padding: 0 0 24px 0;
}

/* ════════════════════════════════
   TOP TODAY SECTION
════════════════════════════════ */
.cw-top-today {
    border: 3px dashed #e07800;
    border-radius: 10px;
    max-width: 1100px;
    margin: 12px auto;
    padding: 16px 40px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: 'Lexend', sans-serif;
}

.cw-top-today-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tt-title {
    font-size: 20px;
    font-weight: 600;
    color: #e07800;
}

.tt-date {
    font-size: 12px;
    color: #888;
}

.cw-top-today-cards {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.tt-card-number {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
}

.tt-card {
    flex: 1;
    max-width: 480px;
    height: 160px;
    border-radius: 10px;
    border: 2px dashed #e07800;
    background: #6a006a;
}

.cw-top-today-vote {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
}

.tt-vote-btn {
    color: #e07800;
    font-weight: 700;
    text-decoration: underline;
}

.tt-vote-score {
    color: #e07800;
    font-weight: 600;
}

/* ════════════════════════════════
   YOUR FEED SECTION
════════════════════════════════ */
.cw-feed-section {
    max-width: 1100px;
    margin: 16px auto;
    font-family: 'Lexend', sans-serif;
}

.cw-feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.feed-header-line {
    flex: 1;
    border-top: 2px dashed #aaa;
}

.feed-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.feed-title {
    font-size: 18px;
    font-weight: 700;
    color: #2aa84a;
}

.feed-subtitle {
    font-size: 11px;
    color: #666;
    text-align: center;
}

.cw-feed-container {
    border: 2px dashed #333;
    border-radius: 10px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
}

.feed-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}
.feed-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: translateY(-2px);
}

.feed-card-thumb {
    width: 130px;
    height: 90px;
    border-radius: 8px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    flex-shrink: 0;
}

.feed-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.feed-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.feed-card-date {
    font-size: 11px;
    color: #777;
}

.feed-card-uploader {
    font-size: 12px;
    color: #333;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 3px;
}

.feed-card-uploader span {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.feed-card-views {
    font-size: 15px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    overflow: visible;
}
.feed-card-views.views-great { color: #1a9a3a; }
.feed-card-views.views-bad   { color: #cc2200; }

/* Video performance tags (Promoted / Flagged) */
.feed-tag-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    margin-left: -3px;
}
.feed-tag-img {
    height: 49px;
    width: auto;
    object-fit: contain;
    display: block;
}
.feed-tag-tooltip {
    display: none;
    position: fixed;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    padding: 9px 13px;
    border-radius: 9px;
    width: 230px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}
.feed-tag-tooltip strong { font-weight: 700; }

.feed-card-likes {
    font-size: 11px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.vote-icon {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

.feed-card-likes .like    { color: #2a8a2a; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.feed-card-likes .dislike { color: #cc2200; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.feed-card-likes .country { margin-left: auto; color: #555; }

.cw-feed-extend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
}

.extend-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.extend-sub {
    font-size: 11px;
    color: #666;
}

.extend-dash {
    width: 180px;
    border-top: 2px dashed #999;
    margin: 4px 0;
}

.extend-arrow {
    font-size: 22px;
    color: #444;
    line-height: 1;
}

/* ════════════════════════════════
   RECOMMENDED SECTION
════════════════════════════════ */
.cw-rec-section {
    max-width: 1100px;
    margin: 16px auto 32px auto;
    font-family: 'Lexend', sans-serif;
}

.rec-title {
    font-size: 18px;
    font-weight: 700;
    color: #7700bb;
}

.cw-rec-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.feed-rec-card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feed-rec-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.feed-rec-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    position: relative;
    overflow: hidden;
}

.feed-rec-preview {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feed-rec-card:hover .feed-rec-preview {
    opacity: 1;
}

.preview-play {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    letter-spacing: 0.5px;
}

.feed-rec-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feed-rec-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.feed-rec-uploader {
    font-size: 11px;
    color: #333;
}

.feed-rec-uploader span {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.feed-rec-views {
    font-size: 13px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    overflow: visible;
}
.feed-rec-views.views-great { color: #1a9a3a; }
.feed-rec-views.views-bad   { color: #cc2200; }

.trend-icon {
    height: 22px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Avatar */
.cw-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.cw-avatar {
    width: 68px;            /* change this to resize the avatar */
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 3px solid #444;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.cw-avatar:hover {
    box-shadow: 0 0 0 3px rgba(119, 0, 187, 0.35);
}

/* Avatar dropdown menu */
.cw-avatar-menu {
    position: fixed;
    z-index: 1000;
    background: #fff;
    border: 2px dashed #7700bb;
    border-radius: 10px;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.cw-avatar-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.avatar-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-bottom: 1px dashed #e0d0f0;
    transition: background 0.12s ease, color 0.12s ease;
}

.avatar-menu-item:last-child {
    border-bottom: none;
}

.avatar-menu-item:hover {
    background: #f5eaff;
    color: #7700bb;
}


/* ════════════════════════════════
   TRENDING PAGE
════════════════════════════════ */
.cw-trending-page {
    max-width: 1100px;
    margin: 16px auto 32px auto;
    font-family: 'Lexend', sans-serif;
}

.cw-trending-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.trending-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #e07800;
}

.cw-trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trend-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    transition: box-shadow 0.2s ease;
}

.trend-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.trend-rank {
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.trend-rank-1  { color: #d4a800; }
.trend-rank-2  { color: #888; }
.trend-rank-3  { color: #b05a2a; }
.trend-rank-other { color: #444; font-size: 20px; }

/* ── Period tabs ── */
.trending-period-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 18px;
    font-family: 'Lexend', sans-serif;
}
.trend-period-tab {
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: 'Lexend', sans-serif;
    transition: color 0.15s, border-color 0.15s;
}
.trend-period-tab:hover { color: #e07800; }
.trend-period-tab.active { color: #e07800; border-bottom-color: #e07800; }

.trending-period-panel { display: none; }
.trending-period-panel.active { display: flex; flex-direction: column; gap: 12px; }

/* ── Leaderboard promo banner ── */
.trending-lb-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(120deg, #1a0030 0%, #3d006b 60%, #6600aa 100%);
    border-radius: 12px;
    padding: 18px 28px;
    margin-bottom: 20px;
}
.tlb-info { display: flex; flex-direction: column; gap: 5px; }
.tlb-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #cc99ff; text-transform: uppercase; font-family: 'Lexend', sans-serif; }
.tlb-title { font-size: 19px; font-weight: 800; color: #fff; font-family: 'Lexend', sans-serif; }
.tlb-sub { font-size: 12px; color: #ccaaff; font-family: 'Lexend', sans-serif; }
.tlb-btn {
    padding: 11px 22px;
    background: #e07800;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Lexend', sans-serif;
    transition: background 0.15s, transform 0.1s;
    flex-shrink: 0;
}
.tlb-btn:hover { background: #c06000; transform: translateY(-1px); }

/* link reset for trend-card */
a.trend-card { text-decoration: none; color: inherit; display: flex; }

.trend-thumb {
    width: 200px;
    height: 112px;
    border-radius: 8px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    flex-shrink: 0;
    cursor: pointer;
}

.trend-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.trend-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.trend-views {
    font-size: 15px;
    font-weight: 800;
    color: #1a9a3a;
}

.perf-line {
    width: 100%;
    border: none;
    border-top: 2px dashed #aaa;
    margin: 3px 0;
}

.perf-good    { border-color: #1a9a3a; }
.perf-bad     { border-color: #cc2200; }
.perf-neutral { border-color: #bbb; }

/* Ratio bar — profile video cards */
.perf-ratio-wrap { margin-top: 5px; }
.perf-bar-track  { height: 5px; background: #f0e6ff; border-radius: 3px; overflow: hidden; margin-bottom: 3px; }
.perf-bar-fill   { height: 100%; background: linear-gradient(90deg, #1a9a3a, #5ac85a); border-radius: 3px; }
.perf-bar-labels { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; }
.perf-bar-up     { color: #1a9a3a; }
.perf-bar-down   { color: #cc2200; }

/* Ratio bar — ChannelContentHub table */
.hub-views-cell    { font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.hub-ratio-bar-wrap { min-width: 90px; }
.hub-ratio-bar     { height: 5px; background: #eee; border-radius: 3px; overflow: hidden; margin-bottom: 3px; }
.hub-ratio-fill    { height: 100%; background: linear-gradient(90deg, #1a9a3a, #5ac85a); border-radius: 3px; }
.hub-ratio-labels  { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; }
.hub-ratio-up      { color: #1a9a3a; }
.hub-ratio-down    { color: #cc2200; }

/* Performance view count coloring — green for good, red for bad */
.views-good { color: #1a9a3a !important; font-weight: 800; }
.views-bad  { color: #cc2200 !important; }

/* Profile Shows tab — grayed out when no shows exist */
.profile-tab-dim { color: #ccc !important; cursor: default; border-bottom-color: transparent !important; }
.profile-tab-dim:hover { color: #ccc !important; }


/* ════════════════════════════════
   LEADERBOARD PAGE
════════════════════════════════ */
.cw-leaderboard-page {
    max-width: 900px;
    margin: 0 auto 48px auto;
    font-family: 'Lexend', sans-serif;
}

.lb-hero {
    background: linear-gradient(135deg, #0e001f 0%, #2d0055 50%, #6600aa 100%);
    border-radius: 0 0 16px 16px;
    padding: 36px 40px 30px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.lb-hero-crown { font-size: 44px; line-height: 1; }
.lb-hero-title { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.5px; font-family: 'Lexend', sans-serif; }
.lb-hero-sub   { font-size: 13px; color: #cc99ff; font-weight: 500; font-family: 'Lexend', sans-serif; }
.lb-hero-stats { display: flex; gap: 40px; margin-top: 14px; }
.lb-hero-stat  { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.lb-hero-stat-val { font-size: 22px; font-weight: 800; color: #fff; font-family: 'Lexend', sans-serif; }
.lb-hero-stat-lbl { font-size: 10px; color: #bb88ff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-family: 'Lexend', sans-serif; }

.lb-cat-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}
.lb-cat-tab {
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: 'Lexend', sans-serif;
    transition: color 0.15s, border-color 0.15s;
}
.lb-cat-tab:hover  { color: #7700bb; }
.lb-cat-tab.active { color: #7700bb; border-bottom-color: #7700bb; }
.lb-cat-panel        { display: none; flex-direction: column; gap: 8px; }
.lb-cat-panel.active { display: flex; }

.lb-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.lb-entry:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.1); border-color: #c0a0e0; }
.lb-entry-gold   { border-color: #d4a800; background: linear-gradient(90deg, #fffbe8, #fff); }
.lb-entry-silver { border-color: #aaa; background: linear-gradient(90deg, #f5f5f5, #fff); }
.lb-entry-bronze { border-color: #b05a2a; background: linear-gradient(90deg, #fff5ee, #fff); }
.lb-entry-gold:hover   { box-shadow: 0 4px 18px rgba(212,168,0,0.25); border-color: #d4a800; }
.lb-entry-silver:hover { box-shadow: 0 4px 18px rgba(140,140,140,0.2); border-color: #aaa; }
.lb-entry-bronze:hover { box-shadow: 0 4px 18px rgba(176,90,42,0.2); border-color: #b05a2a; }

.lb-rank { font-size: 22px; font-weight: 800; width: 40px; text-align: center; flex-shrink: 0; color: #444; }
.lb-rank-1 { color: #d4a800; font-size: 26px; }
.lb-rank-2 { color: #888;    font-size: 24px; }
.lb-rank-3 { color: #b05a2a; font-size: 24px; }

.lb-medal { font-size: 22px; flex-shrink: 0; width: 26px; text-align: center; line-height: 1; }

.lb-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, #7700bb, #3d006b);
    color: #fff; font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.lb-avatar-orange { background: linear-gradient(135deg, #e07800, #a04000); }
.lb-avatar-teal   { background: linear-gradient(135deg, #009999, #006060); }
.lb-avatar-blue   { background: linear-gradient(135deg, #0066dd, #003380); }
.lb-avatar-pink   { background: linear-gradient(135deg, #cc0066, #800040); }
.lb-avatar-green  { background: linear-gradient(135deg, #1a9a3a, #0a5020); }
.lb-avatar-red    { background: linear-gradient(135deg, #cc2200, #800000); }

.lb-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lb-name    { font-size: 14px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-meta    { font-size: 12px; color: #888; font-weight: 500; }

.lb-stat-block { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; gap: 1px; }
.lb-stat-value { font-size: 16px; font-weight: 800; color: #7700bb; }
.lb-stat-label { font-size: 10px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.6px; }

.lb-thumb {
    width: 120px; height: 68px; border-radius: 6px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    flex-shrink: 0;
}
.lb-thumb-alt { background: radial-gradient(circle at 65% 35%, #1a6a3a, #0a3a2a); }
.lb-thumb-blue { background: radial-gradient(circle at 35% 65%, #1a3a9a, #0a1a5a); }
.lb-thumb-orange { background: radial-gradient(circle at 50% 40%, #c05800, #6a2800); }

.lb-you-badge {
    background: #7700bb; color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 4px;
    margin-left: 8px; vertical-align: middle;
    font-family: 'Lexend', sans-serif;
}
.lb-updated {
    text-align: center; font-size: 11px; color: #bbb;
    margin-top: 24px; padding-bottom: 8px;
    font-family: 'Lexend', sans-serif;
}

/* ════════════════════════════════
   MARKET PAGE
════════════════════════════════ */
.cw-market-page {
    max-width: 1100px;
    margin: 20px auto 40px auto;
    font-family: 'Lexend', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Market search + filter button row */
.cw-market-search-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.market-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 6px 16px;
    background: #fff;
    flex: 1;
}

.market-filter-btn {
    background: #fff;
    border: 2px dashed #555;
    border-radius: 8px;
    padding: 7px 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.market-filter-btn:hover {
    background: #f5f5f5;
}

/* Filter tag strip */
.market-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.market-filter-tag {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    border: 2px dashed #bbb;
    border-radius: 20px;
    padding: 4px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.market-filter-tag:hover {
    border-color: #7700bb;
    color: #7700bb;
}

.market-filter-tag.tag-active {
    border-color: #7700bb;
    color: #7700bb;
    background: #f3eaff;
}

/* Section header */
.cw-market-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.market-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.market-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #7700bb;
    white-space: nowrap;
}

/* Grids */
.market-grid {
    display: grid;
    gap: 14px;
}

.market-grid-frames  { grid-template-columns: repeat(6, 1fr); }
.market-grid-banners { grid-template-columns: repeat(4, 1fr); }

/* Item card */
.market-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.market-card:hover {
    box-shadow: 0 4px 16px rgba(119, 0, 187, 0.15);
    transform: translateY(-2px);
}

/* Thumbnails */
.market-thumb {
    width: 100%;
}

.market-thumb-frame {
    aspect-ratio: 1;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #4a0060);
    border-radius: 50%;
    width: 70%;
    margin: 16px auto 10px auto;
    border: 4px solid #9900cc;
}

.market-thumb-banner {
    aspect-ratio: 4 / 1;
    background: linear-gradient(135deg, #2a006a, #9a009a, #2a006a);
}

/* Card info */
.market-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 12px 10px;
    width: 100%;
    box-sizing: border-box;
}

.market-card-name {
    font-size: 11px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

.market-card-price {
    font-size: 11px;
    font-weight: 600;
    color: #c8a800;
}

.market-card-btn {
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.market-card-btn:hover {
    background: #5500aa;
}


/* ════════════════════════════════
   LIVESTREAMS PAGE
════════════════════════════════ */
.cw-live-page {
    max-width: 1100px;
    margin: 20px auto 40px auto;
    font-family: 'Lexend', sans-serif;
}

.cw-live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.live-stream-card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.live-stream-card:hover {
    box-shadow: 0 6px 20px rgba(221, 0, 0, 0.14);
    transform: translateY(-2px);
}

.live-stream-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px;
    box-sizing: border-box;
}

.live-stream-badge {
    background: #dd0000;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.8px;
}

.live-stream-viewers-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    padding: 3px 8px;
    border-radius: 4px;
}

.live-stream-info {
    padding: 10px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.live-stream-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.live-stream-cat {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

/* ════════════════════════════════
   RETRO WEB 2.0 GRID (Groups WIP + Market WIP)
   Dark purple base, bright neon grid, glowing core
════════════════════════════════ */
@keyframes retro-grid-scroll {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 50px 50px, 50px 50px; }
}

.wip-retro {
    background-color: #07001c !important;
    background-image:
        linear-gradient(rgba(160, 0, 255, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 0, 255, 0.55) 1px, transparent 1px) !important;
    background-size: 50px 50px, 50px 50px !important;
    animation: retro-grid-scroll 1.8s linear infinite !important;
    position: relative;
}

.wip-retro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 42%, rgba(120, 0, 255, 0.38) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.wip-retro > * { position: relative; z-index: 1; }

/* Override box/disclaimer to be readable on dark background */
.wip-retro .cw-wip-box {
    background: rgba(10, 0, 35, 0.88);
    border: none;
}

.wip-retro .wip-top-dash,
.wip-retro .wip-bottom-dash {
    border-color: rgba(160, 0, 255, 0.8);
}

.wip-retro .wip-content {
    border-color: rgba(160, 0, 255, 0.8);
}

.wip-retro .wip-label { color: #cc88ff; }
.wip-retro .wip-desc  { color: #aaa; }

.wip-retro .wip-disclaimer {
    background: rgba(10, 0, 35, 0.82);
    border-color: rgba(160, 0, 255, 0.5);
    color: #aaa;
}

.wip-retro .wip-disclaimer strong { color: #cc88ff; }

/* ────── Market WIP grid — light purple, fits market style ────── */
.wip-market {
    background-color: #faf5ff !important;
    background-image:
        linear-gradient(rgba(119, 0, 187, 0.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(119, 0, 187, 0.11) 1px, transparent 1px) !important;
    background-size: 44px 44px, 44px 44px !important;
    animation: grid-drift 2.6s linear infinite !important;
    position: relative;
}

.wip-market::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(119, 0, 187, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.wip-market > * { position: relative; z-index: 1; }

.wip-market .cw-wip-box        { background: rgba(255, 255, 255, 0.93); border: none; }
.wip-market .wip-top-dash,
.wip-market .wip-bottom-dash   { border-color: #7700bb; }
.wip-market .wip-content       { border-color: #7700bb; }
.wip-market .wip-label         { color: #7700bb; }
.wip-market .wip-tag           { border-color: #7700bb; color: #7700bb; background: rgba(119,0,187,0.07); }
.wip-market .wip-desc          { color: #555; }
.wip-market .wip-disclaimer    { background: rgba(255,255,255,0.9); border-color: #9933cc; color: #555; }
.wip-market .wip-disclaimer strong { color: #7700bb; }

.market-wip-outer {
    margin-top: 40px;
    width: 100%;
}

/* ════════════════════════════════
   WORK IN PROGRESS PAGE
════════════════════════════════ */
@keyframes grid-drift {
    0%   { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

.cw-wip-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 150px);
    font-family: 'Lexend', sans-serif;
    background-image:
        linear-gradient(rgba(180, 0, 0, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 0, 0, 0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: grid-drift 2.4s linear infinite;
    gap: 24px;
    padding: 40px 20px;
}

.cw-wip-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 420px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    overflow: hidden;
}

.wip-top-dash,
.wip-bottom-dash {
    width: 100%;
    border-top: 3px dashed #aaa;
}

.wip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 40px;
    border-left: 3px dashed #aaa;
    border-right: 3px dashed #aaa;
    width: 100%;
    box-sizing: border-box;
}

.wip-label {
    font-size: 32px;
    font-weight: 800;
    color: #000000;
}

.wip-tag {
    font-size: 14px;
    font-weight: 700;
    color: #e07800;
    border: 2px dashed #e07800;
    border-radius: 6px;
    padding: 4px 14px;
    letter-spacing: 0.5px;
}

.wip-desc {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.7;
    margin: 0;
}

.wip-disclaimer {
    width: 420px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px dashed #999;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 11px;
    color: #555;
    text-align: center;
    line-height: 1.7;
    font-family: 'Lexend', sans-serif;
}

.wip-disclaimer strong {
    color: #333;
    font-weight: 700;
}


/* ════════════════════════════════
   PROFILE PAGE
════════════════════════════════ */
.cw-profile-page {
    max-width: 1100px;
    margin: 0 auto 48px auto;
    font-family: 'Lexend', sans-serif;
}

/* Banner */
.profile-banner {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2a006a 0%, #9a009a 50%, #4a0060 100%);
    border-bottom: 3px dashed #7700bb;
}

/* Profile header — two-row layout so bio never pushes into the banner */
.profile-header {
    padding: 0 24px 20px 24px;
    border-bottom: 2px dashed #ddd;
}

/* Row: avatar | identity beside it | stats/actions — all below the banner */
.profile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0 16px;
}

.profile-avatar-lg {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 4px solid #fff;
    outline: 3px solid #7700bb;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Identity — beside the avatar, grows downward */
.profile-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.profile-username-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-username {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
}

.profile-handle {
    font-size: 12px;
    color: #777;
    font-weight: 400;
}

.profile-tags {
    display: flex;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
    min-height: 24px;
}

.profile-tag {
    font-size: 10px;
    font-weight: 700;
    color: #7700bb;
    border: 2px dashed #7700bb;
    border-radius: 20px;
    padding: 2px 10px;
    background: rgba(119, 0, 187, 0.06);
}

.profile-bio {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
    max-width: 380px;
    line-height: 1.5;
}

/* Stats + actions (right side) */
.profile-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.profile-stat-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 8px 18px;
}

.profile-stat-sep {
    width: 1px;
    height: 40px;
    background: #ddd;
    flex-shrink: 0;
}

.profile-stat-num {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}

.profile-stat-score {
    color: #c8a800;
}

.profile-stat-label {
    font-size: 10px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Members stat — emphasized */
.profile-stat-members {
    background: linear-gradient(160deg, #fff5ee 0%, #fffcfa 100%);
    border-radius: 8px;
    border: 1px solid rgba(224,120,0,0.2);
    padding: 10px 24px;
}

.profile-stat-members .profile-stat-num {
    font-size: 22px;
    color: #e07800;
    text-shadow: 0 0 14px rgba(224,120,0,0.22);
}

.profile-stat-members .profile-stat-label {
    color: #e07800;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.6px;
}

/* Action buttons */
.profile-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Full-width orbs bar sits between header and tabs */
.profile-orbs-bar {
    padding: 10px 24px;
    border-bottom: 1px dashed #e0d0f5;
}

.profile-orbs-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(90deg, #f5f0ff, #fdf8ff);
    border: 1px solid #d4b0ff;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
}
.profile-orbs-icon      { font-size: 17px; color: #7700bb; line-height: 1; }
.profile-orbs-label     { font-size: 12px; font-weight: 600; color: #555; white-space: nowrap; }
.profile-orbs-count     { font-size: 14px; font-weight: 800; color: #7700bb; white-space: nowrap; }
.profile-orbs-breakdown { font-size: 11px; color: #999; white-space: nowrap; }

.profile-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 7px;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.profile-btn-memberized {
    background: linear-gradient(135deg, #e07800 0%, #cc5500 100%);
    color: #fff;
    border: 2px solid #e07800;
    font-size: 14px;
    padding: 10px 22px;
    box-shadow: 0 3px 12px rgba(224, 120, 0, 0.4);
    letter-spacing: 0.3px;
}

.profile-btn-memberized:hover {
    background: linear-gradient(135deg, #cc6600 0%, #aa4400 100%);
    box-shadow: 0 5px 18px rgba(224, 120, 0, 0.55);
    transform: translateY(-1px);
}

.profile-btn-follow {
    background: #7700bb;
    color: #fff;
    border: 2px solid #7700bb;
}

.profile-btn-follow:hover {
    background: #5500aa;
    border-color: #5500aa;
}

.profile-btn-manage {
    background: linear-gradient(135deg, #7700bb 0%, #5500aa 100%);
    color: #fff;
    border: 2px solid #7700bb;
    font-size: 14px;
    padding: 10px 22px;
    box-shadow: 0 3px 12px rgba(119, 0, 187, 0.35);
}

.profile-btn-manage:hover {
    background: linear-gradient(135deg, #5500aa 0%, #440088 100%);
    box-shadow: 0 5px 18px rgba(119, 0, 187, 0.5);
    transform: translateY(-1px);
}

.profile-btn-message {
    background: #fff;
    color: #333;
    border: 2px dashed #888;
}

.profile-btn-message:hover {
    border-color: #7700bb;
    color: #7700bb;
}

.profile-btn-more {
    background: #fff;
    color: #555;
    border: 2px dashed #bbb;
    padding: 7px 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

.profile-btn-more:hover {
    border-color: #888;
    color: #222;
}

/* ── Three-dots dropdown ─────────────────────────────────────── */
.profile-more-wrap { position: relative; }
.profile-more-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 12px;
    min-width: 200px;
    z-index: 300;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.profile-more-dropdown.open { display: block; }
.profile-more-item {
    display: block;
    width: 100%;
    padding: 12px 18px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px dashed #eee;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}
.profile-more-item:last-child { border-bottom: none; }
.profile-more-item:hover { background: #f5f0ff; color: #7700bb; }

/* ── Trophy row (inline beside display name) ─────────────────── */
.profile-trophy-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}
.profile-trophy-slot {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.15s;
    cursor: pointer;
}
.profile-trophy-slot.filled { display: inline-flex; }
.profile-trophy-slot.filled:hover { transform: translateY(-3px); }
.profile-trophy-slot-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* Creator — glow on image only, no background */
.profile-trophy-slot.trophy-creator .profile-trophy-slot-img {
    filter: drop-shadow(0 0 8px rgba(255,60,0,0.9)) drop-shadow(0 0 3px rgba(255,120,40,0.6));
}

/* Hover tooltip */
.trophy-slot-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #100010;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    min-width: 170px;
    max-width: 230px;
    z-index: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
    pointer-events: none;
    font-family: 'Lexend', sans-serif;
    white-space: normal;
}
.profile-trophy-slot:hover .trophy-slot-tooltip { display: block; }
.trophy-slot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #100010;
}
.trophy-tooltip-name {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}
.trophy-tooltip-rarity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.trophy-tooltip-desc {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
}

/* ── Trophy manager modal ────────────────────────────────────── */
.trophy-manager-modal {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    max-height: 82vh;
    overflow-y: auto;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.trophy-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.trophy-manager-title { font-size: 20px; font-weight: 800; color: #111; }
.trophy-manager-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
}
.trophy-manager-close:hover { background: #f0f0f0; color: #333; }
.trophy-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 12px;
}
.trophy-slot-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.trophy-modal-slot {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: #fafafa;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}
.trophy-modal-slot.filled { border-style: solid; border-color: #7700bb; }
.trophy-modal-slot.drag-over { border-color: #7700bb; background: #f5f0ff; }
.trophy-modal-slot-emoji { pointer-events: none; }
.trophy-slot-remove {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cc2200;
    color: #fff;
    border: none;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: monospace;
}
.trophy-inventory { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; min-height: 70px; }
.trophy-inv-item {
    width: 80px;
    border-radius: 14px;
    padding: 10px 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: grab;
    transition: transform 0.1s;
    border: 2px solid rgba(0,0,0,0.1);
}
.trophy-inv-item:active { cursor: grabbing; transform: scale(0.95); }
.trophy-inv-emoji { font-size: 28px; pointer-events: none; }
.trophy-inv-name { font-size: 9px; font-weight: 700; color: #fff; text-align: center; pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.trophy-manager-actions { display: flex; gap: 10px; justify-content: flex-end; }
.trophy-save-btn {
    padding: 11px 28px;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.trophy-save-btn:hover { background: linear-gradient(135deg, #5500aa, #440088); }
.trophy-cancel-btn {
    padding: 11px 20px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 9px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ── Channel Awards page ─────────────────────────────────────── */
.awards-page { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.awards-hero { text-align: center; padding: 36px 0 30px; }
.awards-hero-title { font-size: 32px; font-weight: 800; color: #111; margin-bottom: 8px; font-family: 'Lexend', sans-serif; }
.awards-hero-sub { font-size: 14px; color: #666; font-family: 'Lexend', sans-serif; }
.awards-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #eee;
    font-family: 'Lexend', sans-serif;
}
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 48px; }
.badge-card {
    border: 2px dashed #ddd;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    position: relative;
    transition: box-shadow 0.2s;
    font-family: 'Lexend', sans-serif;
}
.badge-card.owned { border-style: solid; border-color: #e07800; box-shadow: 0 4px 20px rgba(224,120,0,0.15); }
.badge-owned-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e07800;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
.badge-icon-wrap { margin-bottom: 14px; }
.badge-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.badge-edition { font-size: 10px; font-weight: 800; color: #e07800; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 4px; }
.badge-name { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 4px; }
.badge-rarity { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.badge-desc { font-size: 12px; color: #666; line-height: 1.55; margin-bottom: 12px; }
.badge-value {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    background: #fff8ee;
    border: 1px dashed #e07800;
    border-radius: 8px;
    padding: 5px 12px;
    display: inline-block;
}

/* ── Creator Badge — red crystal gem theme ───────────────────── */
.badge-card.badge-creator {
    background: linear-gradient(155deg, #0a0000 0%, #1a0000 45%, #2a0000 100%);
    border: 2px solid #770000;
    box-shadow: 0 0 40px rgba(180,0,0,0.18), inset 0 0 50px rgba(80,0,0,0.12);
    position: relative;
    overflow: hidden;
}
.badge-card.badge-creator::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,40,0,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.badge-card.badge-creator .badge-owned-tag { background: #880000; color: #fff; }
.badge-card.badge-creator .badge-edition   { color: #ff5533; }
.badge-card.badge-creator .badge-name      { color: #fff; text-shadow: 0 0 12px rgba(255,60,0,0.4); }
.badge-card.badge-creator .badge-rarity    { color: #ff4422 !important; text-shadow: 0 0 8px rgba(255,40,0,0.35); }
.badge-card.badge-creator .badge-desc      { color: rgba(255,200,180,0.75); }
.badge-card.badge-creator .badge-value     { background: rgba(180,0,0,0.15); border-color: #770000; color: #ff8866; }

.badge-creator-icon-wrap { margin-bottom: 18px; }
.badge-creator-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 38% 32%, #ff3300, #990000 48%, #2d0000 78%, #0a0000);
    box-shadow:
        0 0 0 3px rgba(255,60,0,0.35),
        0 0 22px rgba(255,0,0,0.65),
        0 0 55px rgba(180,0,0,0.40),
        inset 0 2px 10px rgba(255,120,60,0.28);
    animation: gem-pulse 3s ease-in-out infinite;
    position: relative;
}
.badge-creator-icon::after {
    content: '';
    position: absolute;
    top: 12%;
    left: 18%;
    width: 30%;
    height: 20%;
    background: rgba(255,180,150,0.22);
    border-radius: 50%;
    transform: rotate(-30deg);
    pointer-events: none;
}
@keyframes gem-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(255,60,0,0.35), 0 0 22px rgba(255,0,0,0.65), 0 0 55px rgba(180,0,0,0.40), inset 0 2px 10px rgba(255,120,60,0.28);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255,60,0,0.18), 0 0 38px rgba(255,0,0,0.85), 0 0 80px rgba(220,0,0,0.50), inset 0 2px 14px rgba(255,120,60,0.38);
    }
}
.badge-creator-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255,80,0,0.9)) drop-shadow(0 0 3px rgba(255,200,100,0.5));
}

/* Tabs */
.profile-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 2px dashed #ddd;
    padding: 0 24px;
    background: #fdfaff;
}

.profile-tab {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    padding: 14px 22px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.profile-tab:hover {
    color: #7700bb;
}

.profile-tab.profile-tab-active {
    color: #7700bb;
    border-bottom-color: #7700bb;
}

/* Section header */
.profile-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 12px 24px;
}

.profile-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #7700bb;
    white-space: nowrap;
}

/* Video grid */
.profile-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px;
}

.profile-video-card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-video-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

.profile-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    position: relative;
    overflow: hidden;
}

.profile-video-preview {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-video-card:hover .profile-video-preview {
    opacity: 1;
}

.profile-video-duration {
    position: absolute;
    bottom: 7px;
    right: 8px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    padding: 2px 7px;
    border-radius: 4px;
}

.profile-video-info {
    padding: 10px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-video-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

/* Load more button */
.profile-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 24px;
    cursor: pointer;
    padding-bottom: 16px;
}

/* ── Inline Badge Icons (next to username) ── */
.profile-badge-icons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pbi {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 2px solid;
    font-size: 13px;
    cursor: default;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    flex-shrink: 0;
}

.pbi:hover { transform: translateY(-2px); }

/* Tooltip text */
.pbi::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 300;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Tooltip arrow */
.pbi::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a1a;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 300;
}

.pbi:hover::after,
.pbi:hover::before { opacity: 1; }

/* ── Rarity tiers ── */
.pbi-common {
    border-color: #999;
    background: #f4f4f4;
}
.pbi-common:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }

.pbi-rare {
    border-color: #2277dd;
    background: #eef4ff;
}
.pbi-rare:hover { box-shadow: 0 4px 10px rgba(34, 119, 221, 0.35); }

.pbi-epic {
    border-color: #7700bb;
    background: #f5eaff;
}
.pbi-epic:hover { box-shadow: 0 4px 10px rgba(119, 0, 187, 0.35); }

.pbi-legendary {
    border-color: #d4a800;
    background: #fffdf0;
    box-shadow: 0 0 6px rgba(212, 168, 0, 0.3);
}
.pbi-legendary:hover { box-shadow: 0 4px 14px rgba(212, 168, 0, 0.55); }


/* ════════════════════════════════
   WATCH PAGE
════════════════════════════════ */
.cw-watch-page {
    max-width: 1280px;
    margin: 20px auto 48px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    font-family: 'Lexend', sans-serif;
    align-items: flex-start;
}

/* ── Player ── */
.watch-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid #222;
}

.watch-player-thumb {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
}

.watch-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.2s ease;
}

.watch-player-overlay:hover { background: rgba(0, 0, 0, 0.18); }

.watch-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #222;
    cursor: pointer;
    padding-left: 4px;
    transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.watch-play-btn:hover {
    transform: scale(1.08);
    background: #fff;
}

/* ── Info block ── */
.watch-info {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.watch-title {
    font-size: 21px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}

.watch-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.watch-meta-views    { font-weight: 800; color: #1a9a3a; font-size: 14px; }
.watch-meta-dot      { color: #ccc; }
.watch-meta-date     { font-size: 12px; color: #888; }
.watch-meta-location { font-size: 12px; color: #888; }

.watch-meta-cat {
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    border: 2px dashed #7700bb;
    border-radius: 20px;
    padding: 2px 11px;
    background: rgba(119, 0, 187, 0.06);
}

/* ── Vote + Actions ── */
.watch-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 2px dashed #eee;
    border-bottom: 2px dashed #eee;
}

.watch-vote-group {
    display: flex;
    align-items: stretch;
    border: 2px dashed #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.watch-vote-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}

.watch-vote-btn-up  { border-right: 2px dashed #ccc; color: #2a8a2a; }
.watch-vote-btn-up:hover  { background: #f0fff4; }
.watch-vote-btn-up.voted  { background: #e0ffec; color: #1a7a1a; }

.watch-vote-btn-down { color: #cc2200; }
.watch-vote-btn-down:hover  { background: #fff5f5; }
.watch-vote-btn-down.voted  { background: #ffe8e8; }

.watch-vote-icon  { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.watch-vote-count { font-size: 11px; color: #777; }
.comment-vote-icon { width: 13px; height: 13px; object-fit: contain; vertical-align: middle; }
.trend-icon  { width: 30px; height: 70px; object-fit: contain; vertical-align: middle; margin-right: 3px; }
.ratio-icon  { width: 11px; height: 11px; object-fit: contain; vertical-align: middle; }

.watch-vote-bar-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 130px;
    max-width: 220px;
    flex: 1;
}

.watch-vote-bar-track {
    height: 6px;
    border-radius: 3px;
    background: #f0d0d0;
    overflow: hidden;
}

.watch-vote-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a9a3a, #5ac85a);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.watch-vote-pct {
    display: flex;
    justify-content: space-between;
}

.watch-vote-pct-up   { font-size: 10px; font-weight: 700; color: #2a8a2a; }
.watch-vote-pct-down { font-size: 10px; font-weight: 700; color: #cc2200; }

.watch-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.watch-action-btn:hover {
    border-color: #7700bb;
    color: #7700bb;
}

/* ── Orbs earned row ── */
.watch-orbs-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(90deg, #f5f0ff, #fdf8ff);
    border: 1px solid #d4b0ff;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
}
.watch-orbs-icon {
    font-size: 17px;
    color: #7700bb;
    line-height: 1;
}
.watch-orbs-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}
.watch-orbs-count {
    font-size: 14px;
    font-weight: 800;
    color: #7700bb;
    white-space: nowrap;
}
.watch-orbs-breakdown {
    font-size: 11px;
    color: #999;
    margin-left: auto;
    white-space: nowrap;
}

/* ── Three-dots more menu ── */
.watch-more-wrap {
    position: relative;
    display: inline-flex;
}
.watch-more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    min-width: 210px;
    z-index: 300;
    overflow: hidden;
}
.watch-more-menu.open { display: block; }
.watch-more-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.watch-more-menu-item:hover { background: #f5f0ff; color: #7700bb; }
.watch-more-menu-item.watch-more-disabled { color: #aaa; cursor: default; }
.watch-more-menu-item.watch-more-disabled:hover { background: #f9f4ff; color: #c090ee; }
.watch-more-menu-item.watch-more-active { color: #222; }
.watch-more-icon {
    font-size: 15px;
    flex-shrink: 0;
}
.watch-more-lock {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: #a06000;
    background: #fff5dd;
    border: 1px solid #e0b040;
    border-radius: 5px;
    padding: 2px 7px;
    white-space: nowrap;
}

/* ── Uploader bar ── */
.watch-uploader {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #fdfaff;
}

.watch-uploader-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 2px solid #7700bb;
    flex-shrink: 0;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.watch-uploader-avatar:hover { box-shadow: 0 0 0 3px rgba(119, 0, 187, 0.3); }

.watch-uploader-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.watch-uploader-name {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    text-decoration: none;
    transition: color 0.12s ease;
}

.watch-uploader-name:hover { color: #7700bb; }

.watch-uploader-members {
    font-size: 11px;
    color: #888;
}

.watch-uploader-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Description ── */
.watch-description {
    background: #faf6ff;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
}

.watch-desc-title {
    font-size: 10px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.watch-desc-text {
    font-size: 13px;
    color: #333;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.2s ease;
}

.watch-desc-text.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.watch-desc-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #7700bb;
    cursor: pointer;
    transition: opacity 0.12s ease;
}

.watch-desc-toggle:hover { opacity: 0.7; }

/* ── Comments ── */
.watch-comments { margin-top: 4px; }

.watch-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #eee;
}

.watch-comments-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}

.watch-comments-sort {
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    border: 2px dashed #7700bb;
    border-radius: 6px;
    padding: 4px 12px;
    background: none;
    font-family: 'Lexend', sans-serif;
    cursor: pointer;
    transition: background 0.15s ease;
}

.watch-comments-sort:hover { background: #f5eaff; }

/* Comment input row */
.watch-comment-input-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.watch-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 2px solid #7700bb;
    flex-shrink: 0;
}

.watch-comment-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.watch-comment-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    padding: 6px 2px;
    color: #222;
    background: transparent;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.watch-comment-input:focus { border-bottom-color: #7700bb; }
.watch-comment-input::placeholder { color: #bbb; }

.watch-comment-post-row {
    display: none;
    justify-content: flex-end;
    gap: 8px;
}

.watch-comment-post-row.visible { display: flex; }

.watch-comment-cancel {
    background: none;
    border: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.watch-comment-cancel:hover { background: #f5f5f5; }

.watch-comment-post {
    background: #7700bb;
    color: #fff;
    border: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.watch-comment-post:hover { background: #5500aa; }

/* Comment cards */
.comment-card {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    flex-shrink: 0;
}

.comment-avatar-user { background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa); }
.comment-avatar-sm   { width: 28px; height: 28px; }

.comment-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-username {
    font-size: 12px;
    font-weight: 800;
    color: #111;
}

.comment-date {
    font-size: 10px;
    color: #bbb;
}

.comment-pinned {
    font-size: 9px;
    font-weight: 700;
    color: #7700bb;
    border: 1px dashed #7700bb;
    border-radius: 4px;
    padding: 1px 7px;
    background: rgba(119, 0, 187, 0.06);
}

.comment-text {
    font-size: 13px;
    color: #333;
    line-height: 1.65;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.comment-vote {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.12s ease;
}

.comment-vote:hover { color: #7700bb; }
.comment-vote.voted-up   { color: #7700bb; font-weight: 700; }
.comment-vote.voted-down { color: #cc2200; font-weight: 700; }

.comment-empty {
    text-align: center;
    padding: 36px;
    color: #aaa;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
}

.watch-load-more-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 16px 0 8px;
    background: #f5f0ff;
    color: #7700bb;
    border: 2px dashed #7700bb;
    border-radius: 10px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.watch-load-more-btn:hover { background: #ebe0ff; }

/* Reply input row */
.comment-reply-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 8px;
}
.comment-reply-input {
    flex: 1;
    border: none;
    border-bottom: 2px solid #e0d0f0;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #333;
    outline: none;
    padding: 4px 0;
    background: transparent;
}
.comment-reply-input:focus { border-bottom-color: #7700bb; }
.comment-reply-post-btn {
    padding: 5px 14px;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.comment-reply-post-btn:disabled { opacity: 0.5; cursor: default; }

.comment-reply-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.12s ease;
}

.comment-reply-btn:hover { opacity: 0.65; }

/* ── Comment deleted state ── */
.comment-deleted-overlay {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background:
        linear-gradient(rgba(150,150,150,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150,150,150,0.18) 1px, transparent 1px);
    background-size: 10px 10px;
    background-color: rgba(215,215,215,0.28);
    animation: cdelGrid 0.42s ease forwards;
    pointer-events: none;
}
@keyframes cdelGrid {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
}
.comment-deleted-label {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    margin-left: 8px;
}
.comment-username-faded { color: #c0c0c0 !important; }
.comment-delete-btn {
    background: none;
    border: 1.5px dashed #ffaaaa;
    border-radius: 6px;
    cursor: pointer;
    color: #e53535;
    font-size: 11px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding: 1px 8px;
    margin-left: 8px;
    vertical-align: middle;
    transition: background 0.14s, border-color 0.14s;
}
.comment-delete-btn:hover { background: #fff0f0; border-color: #e53535; }
.comment-pin-btn {
    background: none;
    border: 1.5px dashed #d0b8ff;
    border-radius: 6px;
    cursor: pointer;
    color: #7700bb;
    font-size: 11px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding: 1px 8px;
    margin-left: 6px;
    vertical-align: middle;
    transition: background 0.14s, border-color 0.14s;
}
.comment-pin-btn:hover { background: #f5f0ff; border-color: #7700bb; }
.comment-undo-btn {
    background: none;
    border: 1.5px dashed #7700bb;
    border-radius: 6px;
    cursor: pointer;
    color: #7700bb;
    font-size: 11px;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    padding: 1px 8px;
    margin-left: 8px;
    vertical-align: middle;
    transition: background 0.14s;
}
.comment-undo-btn:hover { background: #f5f0ff; }

/* ── Delete confirm modal ── */
.cw-del-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.cw-del-overlay.open { display: flex; }
.cw-del-modal {
    background: #fff;
    border-radius: 16px;
    padding: 34px 38px 28px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 14px 44px rgba(0,0,0,0.24);
    animation: delModalIn 0.18s ease;
}
@keyframes delModalIn {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.cw-del-icon { font-size: 36px; margin-bottom: 10px; }
.cw-del-title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 7px;
}
.cw-del-sub {
    font-size: 13px;
    color: #888;
    line-height: 1.55;
    margin-bottom: 26px;
}
.cw-del-btns { display: flex; gap: 10px; justify-content: center; }
.cw-del-cancel {
    padding: 10px 24px;
    background: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 9px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s;
}
.cw-del-cancel:hover { background: #e2e2e2; }
.cw-del-confirm {
    padding: 10px 24px;
    background: #e53535;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.14s;
}
.cw-del-confirm:hover { background: #c92020; }

/* ── Comment orb send ── */
.comment-orb-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.comment-orb-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1.5px solid #e0d8f0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    color: #7700bb;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.14s, border-color 0.14s;
}
.comment-orb-btn:hover { background: #f5f0ff; border-color: #7700bb; }
.orb-senders-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 160px;
    max-width: 240px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.14s, visibility 0.14s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.comment-orb-wrap:hover .orb-senders-tip { opacity: 1; visibility: visible; }
.orb-senders-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1a2e;
}
.orb-tip-title { font-size: 12px; font-weight: 700; color: #c084fc; margin-bottom: 6px; }
.orb-tip-row { padding: 2px 0; color: #ddd; }
.orb-send-pop {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: #fff;
    border: 1.5px solid #e0d8f0;
    border-radius: 14px;
    padding: 14px 16px;
    z-index: 300;
    box-shadow: 0 8px 30px rgba(0,0,0,0.16);
    display: none;
    min-width: 210px;
    font-family: 'Lexend', sans-serif;
}
.orb-send-pop.open { display: block; }
.orb-pop-title { font-size: 12px; font-weight: 700; color: #333; margin-bottom: 10px; }
.orb-pop-amounts { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.orb-pop-amount {
    border: 1.5px solid #c084fc;
    background: #f9f4ff;
    color: #7700bb;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s, border-color 0.14s;
}
.orb-pop-amount:hover,
.orb-pop-amount.selected { background: #ede5ff; border-color: #7700bb; }
.orb-pop-confirm {
    width: 100%;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.14s;
}
.orb-pop-confirm:not([disabled]):hover { opacity: 0.86; }
.orb-pop-confirm:disabled { opacity: 0.4; cursor: default; }
.orb-pop-balance { font-size: 11px; color: #999; margin-top: 8px; text-align: center; }

.comment-replies {
    margin-top: 12px;
    padding-left: 18px;
    border-left: 2px dashed #e0d0f0;
    display: flex;
    flex-direction: column;
}

/* ── Sidebar ── */
.watch-sidebar {
    position: sticky;
    top: 170px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.watch-sidebar-header {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    padding-bottom: 10px;
    border-bottom: 2px dashed #ddd;
    margin-bottom: 8px;
}

.sidebar-rec-card {
    display: flex;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px;
    transition: background 0.15s ease;
}

.sidebar-rec-card:hover { background: #f5f0ff; }

.sidebar-rec-thumb {
    width: 130px;
    min-width: 130px;
    height: 73px;
    border-radius: 6px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 5px;
    box-sizing: border-box;
}

.sidebar-rec-duration {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    padding: 2px 6px;
    border-radius: 3px;
}

.sidebar-rec-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.sidebar-rec-title {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-rec-creator { font-size: 11px; color: #777; }
.sidebar-rec-views   { font-size: 11px; font-weight: 700; color: #1a9a3a; }


/* ════════════════════════════════
   RESULTS PAGE
════════════════════════════════ */
.cw-results-page {
    max-width: 1100px;
    margin: 24px auto 48px auto;
    padding: 0 4px;
    font-family: 'Lexend', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.results-header {
    padding-bottom: 14px;
    border-bottom: 2px dashed #eee;
    margin-bottom: 14px;
}

.results-query-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.results-for-label { font-size: 13px; color: #888; }
.results-query-text { font-size: 24px; font-weight: 800; color: #111; }
.results-count { font-size: 12px; color: #aaa; margin-top: 4px; }

/* Filter bar */
.results-filter-bar {
    display: flex;
    align-items: center;
    border-bottom: 2px dashed #e0d0f0;
    margin-bottom: 22px;
}

.results-tab {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    padding: 12px 18px;
    cursor: pointer;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: none;
    font-family: 'Lexend', sans-serif;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.results-tab:hover { color: #7700bb; }
.results-tab.tab-active { color: #7700bb; border-bottom-color: #7700bb; }

.results-sort-wrap {
    position: relative;
    margin-left: auto;
    margin-bottom: 2px;
}

.results-sort {
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    border: 2px dashed #7700bb;
    border-radius: 6px;
    padding: 5px 13px;
    background: none;
    font-family: 'Lexend', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.results-sort:hover { background: #f5eaff; }

.results-sort-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 2px dashed #d0b8ff;
    border-radius: 12px;
    padding: 6px 0;
    min-width: 190px;
    box-shadow: 0 8px 28px rgba(119, 0, 187, 0.13);
    z-index: 200;
}

.results-sort-menu.open { display: block; }

.results-sort-item {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
    transition: background 0.12s;
}

.results-sort-item:hover { background: #f5eeff; color: #7700bb; }
.results-sort-item.active { color: #7700bb; background: #f0e6ff; }

.results-sort-item.disabled {
    color: #bbb;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
}
.results-sort-item.disabled:hover { background: none; color: #bbb; }

.rs-coming-soon {
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: #c580ff;
    border-radius: 4px;
    padding: 2px 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.results-sort-divider {
    height: 1px;
    background: #ede4ff;
    margin: 5px 10px;
}

.results-sort-group {
    padding: 6px 16px 4px;
    font-size: 10px;
    font-weight: 800;
    color: #9900cc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Lexend', sans-serif;
}

/* Section label */
.results-section-label {
    font-size: 10px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e8e0f8;
}

/* Creator strip */
.results-creator-strip {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.results-creator-strip::-webkit-scrollbar { display: none; }

.results-creator-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    background: #fff;
    min-width: 310px;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.results-creator-card:hover {
    border-color: #7700bb;
    box-shadow: 0 4px 14px rgba(119, 0, 187, 0.1);
}

.results-creator-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa);
    border: 3px solid #7700bb;
    flex-shrink: 0;
}

.results-creator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.results-creator-name   { font-size: 15px; font-weight: 800; color: #111; }
.results-creator-handle { font-size: 11px; color: #888; }
.results-creator-stats  { font-size: 11px; color: #555; font-weight: 600; }

.results-creator-follow {
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.results-creator-follow:hover { background: #5500aa; }

/* Video results list */
.results-video-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.results-video-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.results-video-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
    border-color: #ddd;
}

.results-video-thumb {
    width: 200px;
    min-width: 200px;
    height: 112px;
    border-radius: 8px;
    background: radial-gradient(circle at 35% 35%, #9a009a, #4a0060);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 6px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.results-video-duration {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    padding: 2px 7px;
    border-radius: 4px;
}

.results-video-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.results-video-title { font-size: 16px; font-weight: 700; color: #111; }

.results-video-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #999;
}

.results-video-views { font-weight: 800; color: #1a9a3a; font-size: 13px; }

.results-video-uploader { font-size: 12px; color: #555; font-weight: 600; }
.results-video-uploader span { color: #7700bb; text-decoration: underline; cursor: pointer; }

.results-video-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Live results — reuse .cw-live-grid + live-stream-card styles */
.results-live-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.results-no-results-msg {
    padding: 20px 16px;
    font-size: 13px;
    color: #bbb;
    font-family: 'Lexend', sans-serif;
    font-style: italic;
}

/* Shared empty state used across pages (Notifications, FriendHub, ChatHub, History, Saved) */
.page-empty-state {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Lexend', sans-serif;
    color: #bbb;
}
.page-empty-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.page-empty-title {
    font-size: 15px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
}
.page-empty-sub {
    font-size: 13px;
    color: #bbb;
}

.results-end {
    text-align: center;
    padding: 22px 0 8px 0;
    font-size: 12px;
    color: #ccc;
    border-top: 2px dashed #eee;
    font-style: italic;
}


/* ════════════════════════════════
   SETTINGS PAGE
════════════════════════════════ */
.cw-settings-page {
    max-width: 1100px;
    margin: 24px auto 48px auto;
    font-family: 'Lexend', sans-serif;
    display: grid;
    grid-template-columns: 240px 1fr;
    border: 2px dashed #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* Nav sidebar */
.settings-nav {
    background: #faf5ff;
    border-right: 2px dashed #e0d0f0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-nav-title {
    font-size: 10px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0 18px 12px 18px;
    border-bottom: 1px dashed #e0d0f0;
    margin-bottom: 8px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
    margin-right: 6px;
    transition: background 0.12s ease, color 0.12s ease;
}

.settings-nav-item:hover { background: rgba(119, 0, 187, 0.06); color: #7700bb; }

.settings-nav-item.settings-nav-active {
    background: rgba(119, 0, 187, 0.1);
    color: #7700bb;
    border-left-color: #7700bb;
    font-weight: 700;
}

.settings-nav-icon { font-size: 15px; }

.settings-nav-divider {
    border: none;
    border-top: 1px dashed #e0d0f0;
    margin: 8px 18px;
}

.settings-nav-item.nav-danger { color: #cc2200; }
.settings-nav-item.nav-danger:hover { background: #fff5f5; color: #aa1100; }

/* Content area */
.settings-content { padding: 28px 32px; min-height: 600px; }

.settings-section { display: none; }
.settings-section.active { display: block; }

.settings-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}

.settings-section-sub {
    font-size: 12px;
    color: #999;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #f0e8f8;
}

.settings-group { margin-bottom: 28px; }

.settings-group-label {
    font-size: 10px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed #f0e8f8;
}

.settings-row:last-child { border-bottom: none; }

.settings-row-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.settings-row-label { font-size: 13px; font-weight: 700; color: #222; }
.settings-row-desc  { font-size: 11px; color: #aaa; }

/* Inputs */
.settings-input-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.settings-input-label { font-size: 11px; font-weight: 700; color: #666; }

.settings-input {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    background: #faf5ff;
    outline: none;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
    width: 100%;
}

.settings-input:focus { border-color: #7700bb; }
.settings-textarea { resize: vertical; min-height: 80px; }

.settings-select {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    background: #faf5ff;
    outline: none;
    cursor: pointer;
    min-width: 200px;
}

/* ── Profile tag picker (Settings) ── */
.settings-input-row-top { align-items: flex-start; }

.settings-tag-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-tag-info {
    font-size: 11px;
    color: #999;
    font-family: 'Lexend', sans-serif;
}

.settings-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.settings-tag-opt {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 2px dashed #ccc;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    color: #555;
    background: #faf5ff;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.settings-tag-opt input[type="checkbox"] { display: none; }

.settings-tag-opt.selected {
    border-color: #7700bb;
    background: linear-gradient(90deg, #f0e0ff, #faf0ff);
    color: #7700bb;
}

.settings-tag-opt:hover {
    border-color: #9933cc;
    color: #7700bb;
}

.settings-tag-count {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    font-family: 'Lexend', sans-serif;
}

/* ── Settings: username change button + popcoin badge ─────── */
.settings-username-change-btn {
    background: transparent;
    border: 2px dashed #7700bb;
    color: #7700bb;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s;
}
.settings-username-change-btn:hover {
    background: #7700bb;
    color: #fff;
}
.settings-username-change-btn:hover .cw-pc-badge { color: #ffe0a0; }
.cw-pc-badge {
    font-size: 11px;
    font-weight: 800;
    color: #e07800;
    transition: color 0.18s;
}

/* ── Settings: banner preview ────────────────────────────── */
.settings-banner-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.settings-banner-preview {
    width: 100%;
    max-width: 480px;
    height: 84px;
    border-radius: 10px;
    border: 2px dashed #e0d0f0;
    background: #f5f0ff center/cover no-repeat;
    display: none;
}
.settings-banner-preview.visible { display: block; }

/* ── Settings: banner swatch library ────────────────────── */
.settings-banner-library {
    padding: 12px 0 4px;
    border-top: 1.5px dashed #f0e8f8;
    margin-top: 8px;
}
.settings-banner-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.settings-banner-swatch {
    width: 96px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
}
.settings-banner-swatch:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.settings-banner-swatch.active {
    box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px #7700bb, 0 3px 12px rgba(119, 0, 187, 0.35);
}
.settings-banner-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 900;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.12);
}
.settings-banner-swatch[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

/* ── Settings: default avatar swatch library ────────────── */
.settings-avatar-library {
    padding: 14px 0 6px;
    border-top: 1.5px dashed #f0e8f8;
    margin-top: 6px;
}
.settings-avatar-library-label {
    font-size: 10px;
    font-weight: 800;
    color: #9933cc;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    margin-bottom: 10px;
    font-family: 'Lexend', sans-serif;
}
.settings-avatar-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.settings-avatar-swatch {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
}
.settings-avatar-swatch:hover {
    transform: scale(1.14);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}
.settings-avatar-swatch.active {
    box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px #7700bb, 0 4px 14px rgba(119, 0, 187, 0.35);
    transform: scale(1.1);
}
.settings-avatar-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 900;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.12);
}
.settings-avatar-swatch[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

/* ── Settings: avatar hover overlay ─────────────────────── */
.settings-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.18s;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    pointer-events: none;
}
.settings-avatar-preview:hover .settings-avatar-overlay { opacity: 1; }

/* ── Settings: custom tags ───────────────────────────────── */
.settings-custom-tag-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.settings-custom-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(119, 0, 187, 0.08);
    border: 1.5px solid rgba(119, 0, 187, 0.28);
    border-radius: 20px;
    padding: 5px 12px 5px 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #7700bb;
}
.settings-tag-remove-btn {
    background: none;
    border: none;
    color: #cc3300;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    padding: 0;
    opacity: 0.55;
    transition: opacity 0.15s;
    font-family: monospace;
}
.settings-tag-remove-btn:hover { opacity: 1; }
.settings-buy-tag-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #7700bb 0%, #4900aa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.18s;
}
.settings-buy-tag-btn:hover { opacity: 0.88; }
.settings-buy-tag-btn:disabled { opacity: 0.45; cursor: default; }

/* Avatar area */
.settings-avatar-area {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 2px dashed #e0d0f0;
    border-radius: 10px;
    background: #faf5ff;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.settings-avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #cc66cc, #6600aa) center/cover no-repeat;
    border: 3px solid #7700bb;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.settings-avatar-actions { display: flex; flex-direction: column; gap: 6px; }

.settings-avatar-btn {
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.settings-avatar-btn:hover { background: #5500aa; }

.settings-avatar-btn.btn-outline {
    background: none;
    color: #cc2200;
    border: 2px dashed #cc2200;
}

.settings-avatar-btn.btn-outline:hover { background: #fff5f5; }

/* Toggle switch */
.settings-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    border: 2px solid #ccc;
    flex-shrink: 0;
}

.settings-toggle.on { background: #7700bb; border-color: #5500aa; }

.settings-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.settings-toggle.on::after { transform: translateX(18px); }

/* Theme cards */
.settings-theme-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.settings-theme-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    min-width: 90px;
    transition: border-color 0.15s ease;
}

.settings-theme-card:hover { border-color: #7700bb; }
.settings-theme-card.selected { border-color: #7700bb; background: rgba(119, 0, 187, 0.06); }

.settings-theme-preview {
    width: 70px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.theme-preview-light { background: linear-gradient(135deg, #f0e6ff, #fff5e6); }
.theme-preview-dark  { background: linear-gradient(135deg, #1a0030, #0a0010); }
.theme-preview-aura  { background: linear-gradient(135deg, #2a006a, #9a009a); }

.settings-theme-name { font-size: 11px; font-weight: 700; color: #444; }

/* Save button */
.settings-save-btn {
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    margin-top: 4px;
}

.settings-save-btn:hover {
    background: #5500aa;
    box-shadow: 0 3px 12px rgba(119, 0, 187, 0.35);
}

/* Popcoins box */
.settings-coins-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px dashed #c8a800;
    border-radius: 10px;
    background: #fffdf0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.settings-coins-balance { display: flex; flex-direction: column; gap: 2px; }
.settings-coins-label  { font-size: 11px; color: #aaa; }
.settings-coins-amount { font-size: 26px; font-weight: 800; color: #c8a800; }

.settings-coins-buy {
    background: #c8a800;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.settings-coins-buy:hover { background: #a88900; }

/* Membership card */
.settings-membership-card {
    padding: 20px;
    border: 2px dashed #e07800;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(224, 120, 0, 0.05) 0%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.settings-membership-info  { display: flex; flex-direction: column; gap: 4px; }
.settings-membership-tier  { font-size: 18px; font-weight: 800; color: #e07800; }
.settings-membership-desc  { font-size: 12px; color: #aaa; }
.settings-membership-perks { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.settings-perk { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #555; }
.settings-perk::before { content: '✓'; color: #e07800; font-weight: 800; }

/* Danger box */
.settings-danger-box {
    border: 2px dashed #cc2200;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 16px;
    background: #fff8f8;
}

.settings-danger-title { font-size: 13px; font-weight: 800; color: #cc2200; margin-bottom: 6px; }
.settings-danger-desc  { font-size: 12px; color: #aaa; margin-bottom: 14px; }

.settings-danger-btn {
    background: #cc2200;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 8px 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.settings-danger-btn:hover { background: #aa1100; }

/* ════════════════════════════════
   HISTORY PAGE
════════════════════════════════ */
.cw-history-page {
    max-width: 900px;
    margin: 24px auto 64px auto;
    font-family: 'Lexend', sans-serif;
    padding: 0 16px;
}

.history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.history-title {
    font-size: 26px;
    font-weight: 800;
    color: #111;
}

.history-sub {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.history-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.history-pause-btn,
.history-clear-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.history-pause-btn {
    background: #fff;
    border: 2px dashed #bbb;
    color: #555;
}

.history-pause-btn:hover { border-color: #7700bb; color: #7700bb; }
.history-pause-btn.paused { border-color: #1a9a3a; color: #1a9a3a; }

.history-clear-btn {
    background: #fff;
    border: 2px dashed #e07800;
    color: #e07800;
}

.history-clear-btn:hover { background: #fff8f0; }

/* Controls bar */
.history-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #eee;
    flex-wrap: wrap;
}

.history-filter-tabs { display: flex; gap: 6px; }

.history-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    border: 2px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
}

.history-tab:hover { border-color: #7700bb; color: #7700bb; }
.history-tab.active { border-color: #7700bb; background: #7700bb; color: #fff; }

.history-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 7px 12px;
    background: #fff;
    transition: border-color 0.15s;
}

.history-search-wrap:focus-within { border-color: #7700bb; }

.history-search-icon { font-size: 13px; color: #bbb; }

.history-search-input {
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #333;
    width: 180px;
    background: transparent;
}

.history-search-input::placeholder { color: #bbb; }

/* Date groups */
.history-date-group { margin-bottom: 28px; }

.history-date-label {
    font-size: 11px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e8d8f8;
}

/* History item row */
.history-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: opacity 0.25s ease;
}

.history-item:last-child { border-bottom: none; }

/* Thumbnail */
.history-thumb {
    width: 180px;
    min-width: 180px;
    height: 102px;
    border-radius: 8px;
    border: 2px dashed #ccc;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 6px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

/* Playlist stack effect */
.history-thumb-playlist::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 5px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.07);
    z-index: 0;
    pointer-events: none;
}

.history-type-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 9px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 1;
}

.badge-video    { background: #7700bb; color: #fff; }
.badge-live     { background: #cc2200; color: #fff; }
.badge-playlist { background: #e07800; color: #fff; }

.history-duration {
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    padding: 2px 6px;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

/* Item info */
.history-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.history-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.4;
}

.history-item-channel {
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.history-item-channel a {
    color: #7700bb;
    text-decoration: none;
    font-weight: 600;
}

.history-item-channel a:hover { text-decoration: underline; }

.history-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #aaa;
}

.history-item-views  { font-weight: 700; color: #1a9a3a; }
.history-item-dot    { color: #ddd; }
.history-item-cat    { font-weight: 600; color: #555; }
.history-item-watched { font-style: italic; }

/* Remove button */
.history-remove-btn {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px dashed #ddd;
    background: transparent;
    color: #bbb;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transition: all 0.15s;
}

.history-remove-btn:hover { border-color: #cc2200; color: #cc2200; background: #fff5f5; }

/* Empty state */
.history-empty {
    text-align: center;
    padding: 64px 0;
    font-size: 14px;
    color: #bbb;
    font-style: italic;
}

/* End marker */
.history-end {
    text-align: center;
    padding: 22px 0 8px 0;
    font-size: 11px;
    color: #ccc;
    border-top: 2px dashed #eee;
    font-style: italic;
}


/* ════════════════════════════════
   MEMBERSHIP PAGE
════════════════════════════════ */
.cw-membership-page {
    max-width: 1100px;
    margin: 0 auto 72px auto;
    font-family: 'Lexend', sans-serif;
    padding: 0 16px;
}

/* Hero */
.mem-hero {
    text-align: center;
    padding: 52px 20px 40px 20px;
}

.mem-hero-eyebrow {
    font-size: 11px;
    font-weight: 800;
    color: #7700bb;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.mem-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.mem-hero-sub {
    font-size: 15px;
    color: #666;
    max-width: 580px;
    margin: 0 auto 22px auto;
    line-height: 1.7;
    font-weight: 400;
}

.mem-current-plan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #faf5ff;
    border: 2px dashed #d0b0e8;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    margin-bottom: 28px;
}

.mem-current-label { color: #888; font-weight: 600; }

.mem-current-chip {
    background: #eee;
    color: #555;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Billing toggle */
.mem-billing-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mem-billing-opt {
    font-size: 13px;
    font-weight: 700;
    color: #bbb;
    transition: color 0.15s;
}

.mem-billing-active { color: #111; }

.mem-billing-toggle {
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.mem-billing-toggle.on { background: #7700bb; }

.mem-billing-knob {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.mem-billing-toggle.on .mem-billing-knob { transform: translateX(20px); }

.mem-save-badge {
    font-size: 10px;
    font-weight: 800;
    background: #1a9a3a;
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Tier grid */
.mem-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    align-items: start;
}

/* Tier card base */
.mem-tier-card {
    border: 2px dashed #ddd;
    border-radius: 14px;
    padding: 28px 24px;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow 0.2s;
}

.mem-tier-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

/* Free tier */
.mem-tier-free { border-color: #e0e0e0; }

/* Orbiter – featured */
.mem-tier-orbiter {
    border-color: #2277dd;
    border-style: solid;
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(34,119,221,0.12);
}

/* CirclePass */
.mem-tier-circlepass {
    border-color: #d4a800;
    border-style: solid;
    border-width: 2px;
    background: linear-gradient(160deg, #fffdf0 0%, #fff 60%);
    box-shadow: 0 4px 24px rgba(212,168,0,0.13);
}

.mem-featured-banner {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #2277dd;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.4px;
}

.mem-tier-name {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
}

.mem-tier-orbiter .mem-tier-name { color: #2277dd; }
.mem-tier-circlepass .mem-tier-name { color: #b88b00; }

.mem-tier-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.mem-tier-currency {
    font-size: 18px;
    font-weight: 700;
    color: #555;
}

.mem-tier-price {
    font-size: 42px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.mem-tier-per {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    margin-left: 2px;
}

.mem-tier-yearly-note {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    min-height: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.mem-tier-tagline {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
    line-height: 1.5;
}

.mem-tier-divider {
    border: none;
    border-top: 2px dashed #eee;
    margin-bottom: 16px;
}

.mem-tier-orbiter .mem-tier-divider { border-color: #d0e4f8; }
.mem-tier-circlepass .mem-tier-divider { border-color: #f0e0a0; }

/* Feature list */
.mem-feature-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.mem-feature {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.mem-feat-no { color: #bbb; }

.mem-feat-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.mem-feat-yes  { background: #e8f8ee; color: #1a9a3a; font-size: 11px; font-weight: 800; }
.mem-feat-coin { background: #fff8e0; color: #c8a800; font-size: 11px; }
.mem-feat-no .mem-feat-icon { background: #f5f5f5; color: #bbb; font-size: 9px; }

/* CTA buttons */
.mem-tier-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.18s;
    letter-spacing: 0.2px;
}

.mem-btn-current {
    background: #f0f0f0;
    color: #aaa;
    cursor: default;
    border: 2px dashed #ddd;
}

.mem-btn-orbiter {
    background: #2277dd;
    color: #fff;
    box-shadow: 0 3px 12px rgba(34,119,221,0.3);
}

.mem-btn-orbiter:hover {
    background: #1a60bb;
    box-shadow: 0 4px 16px rgba(34,119,221,0.4);
    transform: translateY(-1px);
}

.mem-btn-circlepass {
    background: linear-gradient(135deg, #d4a800 0%, #b88b00 100%);
    color: #fff;
    box-shadow: 0 3px 14px rgba(212,168,0,0.35);
}

.mem-btn-circlepass:hover {
    background: linear-gradient(135deg, #e0b800 0%, #c8a000 100%);
    box-shadow: 0 5px 18px rgba(212,168,0,0.45);
    transform: translateY(-1px);
}

/* Perks spotlight */
.mem-perks-section {
    margin-bottom: 56px;
    padding: 36px 32px;
    background: #faf5ff;
    border: 2px dashed #e0c8f4;
    border-radius: 16px;
}

.mem-perks-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 28px;
    text-align: center;
}

.mem-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mem-perk {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mem-perk-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.mem-perk-name {
    font-size: 14px;
    font-weight: 800;
    color: #7700bb;
}

.mem-perk-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* FAQ */
.mem-faq-section {
    max-width: 720px;
    margin: 0 auto 24px auto;
}

.mem-faq-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
}

.mem-faq-item {
    border: 2px dashed #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mem-faq-q {
    width: 100%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}

.mem-faq-q:hover { background: #faf5ff; }

.mem-faq-arrow {
    flex-shrink: 0;
    font-size: 11px;
    color: #7700bb;
    transition: transform 0.22s ease;
}

.mem-faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    font-weight: 400;
    padding: 0 20px;
    transition: max-height 0.28s ease;
    box-sizing: border-box;
    border-top: 0px dashed #eee;
}

.mem-faq-item[data-open="true"] .mem-faq-a {
    padding: 14px 20px 18px 20px;
    border-top: 1px dashed #eee;
}


/* ════════════════════════════════════════════════════════════════
   EVENT SHOWCASE — CREATIVE VISION
   Remove this CSS block when the event ends (pairs with
   the marked HTML block in Home.html and Eventpage.html)
════════════════════════════════════════════════════════════════ */

@keyframes event-border-glow {
    0%, 100% {
        box-shadow:
            0 0 8px #dd1100,
            0 0 20px rgba(180,0,0,0.42),
            0 0 42px rgba(110,0,0,0.2),
            inset 0 0 14px rgba(200,0,0,0.025);
        border-color: #bb1100;
    }
    50% {
        box-shadow:
            0 0 16px #ff2200,
            0 0 36px rgba(255,34,0,0.52),
            0 0 72px rgba(180,0,0,0.28),
            0 0 110px rgba(110,0,0,0.12),
            inset 0 0 24px rgba(200,0,0,0.055);
        border-color: #ff2200;
    }
}

@keyframes event-scan {
    0%   { top: -60px; }
    100% { top: 100%; }
}

@keyframes event-badge-blink {
    0%, 84%, 100% { opacity: 1; }
    90%           { opacity: 0.15; }
}

/* Wrapper */
.cw-event-showcase-wrap {
    max-width: 1280px;
    margin: 28px auto;
    padding: 0 20px;
}

/* LED dot-matrix panel */
.cw-event-panel {
    background-color: #060000;
    background-image: radial-gradient(circle, rgba(100,0,0,0.62) 1px, transparent 1px);
    background-size: 8px 8px;
    border: 2px solid #bb1100;
    border-radius: 12px;
    padding: 26px 28px 24px 28px;
    position: relative;
    overflow: hidden;
    animation: event-border-glow 2.8s ease-in-out infinite;
}

/* Scan-line sweep */
.cw-event-panel::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -60px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,18,0,0.042), transparent);
    animation: event-scan 7s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Header */
.event-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.event-header-left  { display: flex; flex-direction: column; gap: 6px; }
.event-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }

.event-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #cc1100;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
    animation: event-badge-blink 3.2s ease-in-out infinite;
}

.event-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
    flex-shrink: 0;
}

.event-showcase-title {
    font-family: 'Lexend', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #ff2200;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow:
        0 0 6px #ff3300,
        0 0 14px rgba(220,30,0,0.62),
        0 0 28px rgba(140,0,0,0.32);
    line-height: 1;
    margin: 0;
}

.event-showcase-theme {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,95,60,0.68);
    font-family: 'Lexend', sans-serif;
}

.event-ends-chip {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,110,70,0.8);
    font-family: 'Lexend', sans-serif;
    background: rgba(140,0,0,0.2);
    border: 1px solid rgba(190,30,0,0.25);
    border-radius: 6px;
    padding: 4px 10px;
}

.event-view-all-btn {
    font-size: 11px;
    font-weight: 800;
    color: #ff3300;
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    border: 1px dashed rgba(200,30,0,0.42);
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.15s;
    text-shadow: 0 0 6px rgba(255,50,0,0.38);
}

.event-view-all-btn:hover {
    background: rgba(200,20,0,0.12);
    border-color: #ff2200;
    text-shadow: 0 0 10px rgba(255,50,0,0.65);
}

/* Strip */
.event-video-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    position: relative;
    z-index: 1;
    scrollbar-width: thin;
    scrollbar-color: #550000 #0d0000;
}

.event-video-strip::-webkit-scrollbar        { height: 4px; }
.event-video-strip::-webkit-scrollbar-track  { background: #0d0000; border-radius: 2px; }
.event-video-strip::-webkit-scrollbar-thumb  { background: #550000; border-radius: 2px; }

/* Strip card */
.event-card {
    flex-shrink: 0;
    width: 208px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(140,0,0,0.28);
    border-radius: 8px;
    overflow: hidden;
    background: #0a0000;
    transition: border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    cursor: pointer;
}

.event-card:hover {
    border-color: rgba(255,50,0,0.62);
    box-shadow: 0 0 10px rgba(200,0,0,0.2);
}

.event-card-thumb {
    width: 100%;
    height: 118px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 7px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.event-card-cat {
    position: absolute;
    top: 7px; left: 7px;
    font-size: 8px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: #ff2200;
    background: rgba(0,0,0,0.82);
    border: 1px solid rgba(190,0,0,0.42);
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-shadow: 0 0 5px rgba(255,34,0,0.48);
}

.event-card-rank {
    position: absolute;
    top: 7px; right: 7px;
    font-size: 10px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: rgba(255,135,95,0.88);
    text-shadow: 0 0 5px rgba(255,70,0,0.55);
}

.event-card-duration {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    background: rgba(0,0,0,0.82);
    color: #ddd;
    padding: 2px 6px;
    border-radius: 3px;
}

.event-card-info {
    padding: 9px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-card-title {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    color: #ffd0c4;
    line-height: 1.35;
}

.event-card-creator {
    font-size: 10px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    color: rgba(255,95,65,0.58);
}

.event-card-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.event-card-views {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #22ff55;
    text-shadow: 0 0 4px rgba(0,200,60,0.48);
}

.event-card-score {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: rgba(255,175,115,0.8);
    text-shadow: 0 0 4px rgba(255,100,0,0.32);
}

/* ── EVENT PAGE (Eventpage.html) ── */

.cw-ep-page {
    font-family: 'Lexend', sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 64px 20px;
}

/* Hero */
.ep-hero {
    background-color: #060000;
    background-image: radial-gradient(circle, rgba(100,0,0,0.62) 1px, transparent 1px);
    background-size: 8px 8px;
    border: 2px solid #bb1100;
    border-radius: 14px;
    margin: 24px 0 22px 0;
    padding: 42px 40px 38px 40px;
    position: relative;
    overflow: hidden;
    animation: event-border-glow 2.8s ease-in-out infinite;
    text-align: center;
}

.ep-hero::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -60px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,18,0,0.04), transparent);
    animation: event-scan 7s linear infinite;
    pointer-events: none;
}

.ep-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #cc1100;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
    animation: event-badge-blink 3.2s ease-in-out infinite;
}

.ep-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #ff2200;
    text-transform: uppercase;
    letter-spacing: 10px;
    text-shadow:
        0 0 8px #ff3300,
        0 0 18px rgba(220,30,0,0.65),
        0 0 40px rgba(140,0,0,0.35);
    line-height: 1;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 1;
}

.ep-hero-sub {
    font-size: 14px;
    color: rgba(255,100,70,0.7);
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.ep-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.ep-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.ep-hero-stat-num {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: #22ff55;
    text-shadow: 0 0 6px rgba(0,200,60,0.5);
}

.ep-hero-stat-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,100,70,0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ep-hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(200,30,0,0.3);
}

.ep-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ep-submit-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 800;
    background: #cc1100;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(200,0,0,0.4);
    transition: all 0.16s;
    letter-spacing: 0.3px;
}

.ep-submit-btn:hover {
    background: #ff1a00;
    box-shadow: 0 5px 20px rgba(220,0,0,0.55);
    transform: translateY(-1px);
}

.ep-rules-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    color: rgba(255,90,60,0.8);
    border: 1px dashed rgba(200,30,0,0.4);
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.16s;
}

.ep-rules-btn:hover {
    background: rgba(200,20,0,0.1);
    border-color: #ff2200;
    color: #ff3300;
}

.ep-ends-note {
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255,90,60,0.5);
    position: relative;
    z-index: 1;
}

/* Prizes */
.ep-prizes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 30px;
    align-items: stretch;
}

.ep-prize-card {
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 2px solid transparent;
}

.ep-prize-gold     { background: linear-gradient(135deg, #201400, #0a0800); border-color: #c8a800; }
.ep-prize-silver   { background: linear-gradient(135deg, #141418, #080810); border-color: #8888aa; }
.ep-prize-bronze   { background: linear-gradient(135deg, #180d00, #080400); border-color: #aa6622; }
.ep-prize-participant { background: #0c0c0c; border: 2px dashed #333; }

.ep-prize-pos {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.ep-prize-gold .ep-prize-pos     { color: #d4a800; text-shadow: 0 0 8px rgba(212,168,0,0.5); }
.ep-prize-silver .ep-prize-pos   { color: #aaaacc; }
.ep-prize-bronze .ep-prize-pos   { color: #cc8844; }
.ep-prize-participant .ep-prize-pos { color: #777; font-size: 11px; }

.ep-prize-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.ep-prize-participant .ep-prize-name { color: #555; font-size: 11px; }

.ep-prize-rewards {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.ep-prize-rewards span {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ep-prize-rewards span::before {
    content: '◆';
    font-size: 7px;
    opacity: 0.5;
}

/* Content area */
.ep-content { }

.ep-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ep-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.ep-filter-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 20px;
    border: 2px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
}

.ep-filter-tab:hover { border-color: #cc1100; color: #cc1100; }
.ep-filter-tab.active { border-color: #cc1100; background: #cc1100; color: #fff; border-style: solid; }

.ep-tab-count {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.7;
    margin-left: 3px;
}

.ep-sort-select {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
    outline: none;
}

/* Video grid */
.ep-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ep-grid-card {
    border: 2px dashed #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.ep-grid-card:hover {
    border-color: #cc1100;
    box-shadow: 0 4px 16px rgba(200,0,0,0.1);
    transform: translateY(-2px);
}

.ep-grid-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ep-grid-cat {
    position: absolute;
    top: 8px; left: 8px;
    font-size: 8px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: #ff2200;
    background: rgba(0,0,0,0.82);
    border: 1px solid rgba(200,0,0,0.45);
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255,34,0,0.45);
}

.ep-grid-rank {
    position: absolute;
    top: 8px; right: 8px;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    color: rgba(255,140,100,0.92);
    text-shadow: 0 0 5px rgba(255,70,0,0.55);
}

.ep-grid-duration {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
    background: rgba(0,0,0,0.78);
    color: #eee;
    padding: 2px 7px;
    border-radius: 3px;
}

/* Score bar along bottom of thumb */
.ep-grid-score-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #cc1100, #ff4400);
    box-shadow: 0 0 6px rgba(220,30,0,0.6);
}

.ep-grid-info {
    padding: 11px 12px 13px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ep-grid-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.ep-grid-creator {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

.ep-grid-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.ep-stat-views {
    font-size: 11px;
    font-weight: 700;
    color: #1a9a3a;
}

.ep-stat-score {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #cc1100;
}

/* ════════════════════════════════════════════════════════════════
   END EVENT SHOWCASE CSS
════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════
   CHATHUB PAGE
════════════════════════════════════════════════════════════════ */

.cw-chathub-page {
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f7f4fc;
}

.chathub-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    flex: 1;
    overflow: hidden;
    height: 100%;
}

/* ── Sidebar ── */
.chathub-sidebar {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1.5px solid #e8e0f0;
    overflow: hidden;
}

.chathub-sidebar-header {
    padding: 16px 14px 10px;
    border-bottom: 1px solid #f0eaf8;
    flex-shrink: 0;
}

.chathub-sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a0028;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.chathub-search {
    display: flex;
    align-items: center;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    border-radius: 8px;
    padding: 6px 10px;
    gap: 6px;
}

.chathub-search-icon {
    font-size: 13px;
    color: #aaa;
    flex-shrink: 0;
}

.chathub-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #333;
    width: 100%;
}

.chathub-search-input::placeholder { color: #bbb; }

/* ── Filter tabs ── */
.chathub-filter-tabs {
    display: flex;
    gap: 0;
    padding: 8px 14px 0;
    border-bottom: 1px solid #f0eaf8;
    flex-shrink: 0;
}

.chathub-filter-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 6px 12px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    letter-spacing: 0.3px;
    user-select: none;
}

.chathub-filter-tab.active {
    color: #7700bb;
    border-bottom-color: #7700bb;
}

.chathub-filter-tab:hover { color: #7700bb; }

/* ── Conversation list ── */
.chathub-conv-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
}

.chathub-section-label {
    font-size: 10px;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 14px 4px;
}

.chathub-conv-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.12s;
    position: relative;
}

.chathub-conv-item:hover { background: #f5f0fa; }
.chathub-conv-item.active { background: #f0e6ff; }

.chathub-conv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px dashed #ccc;
    position: relative;
}

.chathub-conv-avatar-online::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1a9a3a;
    border: 2px solid #fff;
}

.chathub-conv-group-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    border: 2px dashed #bbb;
}

.chathub-conv-info {
    flex: 1;
    min-width: 0;
}

.chathub-conv-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a0028;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chathub-member-count {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border-radius: 10px;
    padding: 1px 6px;
}

.chathub-conv-preview {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.chathub-conv-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.chathub-conv-time {
    font-size: 10px;
    color: #bbb;
    font-weight: 600;
}

.chathub-unread {
    background: #7700bb;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ── Chat panel (right side) ── */
.chathub-chat-panel {
    display: flex;
    flex-direction: column;
    background: #faf8ff;
    overflow: hidden;
    height: 100%;
}

.chathub-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1.5px solid #e8e0f0;
    flex-shrink: 0;
}

.chathub-chat-header-name {
    font-size: 15px;
    font-weight: 800;
    color: #1a0028;
}

.chathub-chat-header-status {
    font-size: 11px;
    color: #1a9a3a;
    font-weight: 600;
    margin-top: 1px;
}

.chathub-chat-header-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.chathub-header-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s;
}

.chathub-header-btn:hover { background: #ede0ff; }

/* ── Messages area ── */
.chathub-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chathub-date-sep {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin: 6px 0;
}

.chathub-msg-group {
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.chathub-msg-group.sent {
    align-self: flex-end;
    align-items: flex-end;
}

.chathub-msg-group.recv {
    align-self: flex-start;
    align-items: flex-start;
}

.chathub-msg-sender {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

.chathub-msg-bubble {
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #111;
    word-break: break-word;
}

.chathub-msg-group.sent .chathub-msg-bubble {
    background: #7700bb;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chathub-msg-group.recv .chathub-msg-bubble {
    background: #fff;
    border: 1.5px solid #e8e0f0;
    border-bottom-left-radius: 4px;
}

.chathub-msg-time {
    font-size: 10px;
    color: #bbb;
    font-weight: 600;
    margin-top: 4px;
}

/* ── Input bar ── */
.chathub-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1.5px solid #e8e0f0;
    flex-shrink: 0;
}

.chathub-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    border-radius: 10px;
    padding: 8px 12px;
    gap: 8px;
}

.chathub-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    color: #333;
}

.chathub-input::placeholder { color: #bbb; }

.chathub-input-emoji {
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.1s;
}

.chathub-input-emoji:hover { opacity: 1; }

.chathub-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7700bb;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.12s;
}

.chathub-send-btn:hover { background: #5a0090; }

.chathub-send-btn-off { opacity: 0.4; cursor: default; }
.chathub-send-btn-off:hover { background: #7700bb; }

.chathub-section-empty { padding: 18px 14px 10px; }
.chathub-section-empty-icon { font-size: 24px; margin-bottom: 6px; }
.chathub-section-label-spaced { margin-top: 8px; }

.chathub-go-friends-link {
    color: #7700bb;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

/* ── Placeholder panels ── */
.chathub-panel-placeholder {
    align-items: center;
    justify-content: space-between;
}

.chathub-placeholder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #bbb;
}

.chathub-placeholder-content span {
    font-size: 48px;
    opacity: 0.4;
}

.chathub-placeholder-content p {
    font-size: 15px;
    font-weight: 700;
    color: #ccc;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   FRIENDHUB PAGE
════════════════════════════════════════════════════════════════ */

.cw-friendhub-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}

/* ── Page header ── */
.fh-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.fh-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a0028;
    letter-spacing: 0.3px;
}

.fh-page-sub {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-top: 4px;
}

.fh-add-friend-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.12s;
}

.fh-add-friend-btn:hover { background: #5a0090; }

/* ── Sections ── */
.fh-section {
    margin-bottom: 36px;
}

.fh-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 1.5px solid #ede6f8;
    padding-bottom: 10px;
}

.fh-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a0028;
}

.fh-section-count {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: #7700bb;
    border-radius: 10px;
    padding: 2px 8px;
}

/* ── Friend Requests grid ── */
.fh-requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.fh-request-card {
    background: #fff;
    border: 1.5px solid #e8e0f0;
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    transition: opacity 0.25s, transform 0.25s;
}

.fh-req-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed #ccc;
    margin-bottom: 6px;
}

.fh-req-name {
    font-size: 14px;
    font-weight: 800;
    color: #1a0028;
}

.fh-req-handle {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
}

.fh-req-mutual {
    font-size: 11px;
    color: #7700bb;
    font-weight: 600;
    margin-top: 4px;
}

.fh-req-mutual span { font-weight: 800; }

.fh-req-score {
    font-size: 11px;
    color: #999;
    font-weight: 600;
}

.fh-req-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.fh-accept-btn,
.fh-decline-btn {
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 800;
    border-radius: 6px;
    padding: 7px 4px;
    cursor: pointer;
    border: none;
    transition: background 0.12s;
    letter-spacing: 0.3px;
}

.fh-accept-btn {
    background: #1a9a3a;
    color: #fff;
}

.fh-accept-btn:hover { background: #15822f; }

.fh-decline-btn {
    background: #f0eafa;
    color: #7700bb;
    border: 1.5px solid #e0d0f0;
}

.fh-decline-btn:hover { background: #ede0ff; }

/* ── Friends controls (tabs + search) ── */
.fh-friends-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 14px;
    flex-wrap: wrap;
}

.fh-friends-tabs {
    display: flex;
    gap: 0;
    background: #f5f0fa;
    border-radius: 8px;
    padding: 3px;
}

.fh-friend-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.fh-friend-tab.active {
    background: #fff;
    color: #7700bb;
    box-shadow: 0 1px 4px rgba(119,0,187,0.1);
}

.fh-friends-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e0d0f0;
    border-radius: 8px;
    padding: 7px 12px;
    gap: 8px;
    min-width: 200px;
}

.fh-friends-search-input {
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #333;
    background: transparent;
    width: 100%;
}

.fh-friends-search-input::placeholder { color: #bbb; }

/* ── Friends grid ── */
.fh-friends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.fh-friend-card {
    background: #fff;
    border: 1.5px solid #e8e0f0;
    border-radius: 12px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    transition: box-shadow 0.15s;
}

.fh-friend-card:hover {
    box-shadow: 0 4px 16px rgba(119,0,187,0.09);
}

.fh-friend-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed #ccc;
    margin-bottom: 6px;
    position: relative;
}

.fh-friend-online::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a9a3a;
    border: 2px solid #fff;
}

.fh-friend-name {
    font-size: 13px;
    font-weight: 800;
    color: #1a0028;
}

.fh-friend-handle {
    font-size: 11px;
    color: #aaa;
    font-weight: 600;
}

.fh-friend-score {
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    margin-top: 3px;
}

.fh-friend-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    width: 100%;
    align-items: center;
}

.fh-msg-btn {
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 8px;
    cursor: pointer;
    transition: background 0.12s;
    letter-spacing: 0.2px;
}

.fh-msg-btn:hover { background: #5a0090; }

.fh-view-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    color: #7700bb;
    transition: background 0.12s;
    flex-shrink: 0;
}

.fh-view-btn:hover { background: #ede0ff; }

/* ════════════════════════════════════════════════════════════════
   NOTIFICATIONS PAGE
════════════════════════════════════════════════════════════════ */

.cw-notif-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

/* ── Page header ── */
.notif-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.notif-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a0028;
    letter-spacing: 0.3px;
}

.notif-page-sub {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-top: 5px;
}

.notif-page-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.notif-settings-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #777;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    border-radius: 7px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.12s;
}

.notif-settings-btn:hover { background: #ede0ff; color: #7700bb; }

/* ════════════════════════════════
   FLAG MODAL
════════════════════════════════ */
.flag-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 8000;
    display: none;
    align-items: center;
    justify-content: center;
}
.flag-modal-overlay.open { display: flex; }

.flag-modal {
    background: #fff;
    border-radius: 14px;
    border: 2px dashed #d0a0f0;
    padding: 28px;
    width: 480px;
    max-width: 95vw;
    max-height: 88vh;
    overflow-y: auto;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.3);
}

.flag-modal-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.flag-modal-sub   { font-size: 12px; color: #888; margin-bottom: 20px; line-height: 1.5; }
.flag-reasons { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }

.flag-reason-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #e8e0f0;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 13px;
    font-weight: 500;
    color: #2a2a2a;
    user-select: none;
}
.flag-reason-opt:hover { border-color: #b080e0; background: #faf4ff; }
.flag-reason-opt.selected { border-color: #7700bb; background: #f5e8ff; color: #4400aa; }
.flag-reason-opt input[type="radio"] { accent-color: #7700bb; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }

.flag-detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.flag-detail-input {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    color: #1a1a1a;
    border: 1.5px solid #e0d0f0;
    border-radius: 8px;
    padding: 10px 12px;
    resize: vertical;
    min-height: 72px;
    outline: none;
    transition: border-color 0.15s;
    margin-bottom: 20px;
}
.flag-detail-input:focus { border-color: #7700bb; }

.flag-cooldown-msg {
    background: #fff8e6;
    border: 1.5px solid #f0c060;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    color: #885500;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
}

.flag-modal-footer { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }

.flag-cancel-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.15s;
}
.flag-cancel-btn:hover { background: #e0e0e0; }

.flag-submit-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #cc2200;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    transition: background 0.15s;
}
.flag-submit-btn:hover { background: #aa1500; }
.flag-submit-btn:disabled { background: #ccc; cursor: not-allowed; }

.flag-success-content { text-align: center; padding: 14px 0 6px; }
.flag-success-icon  { font-size: 40px; margin-bottom: 10px; }
.flag-success-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.flag-success-sub   { font-size: 12px; color: #888; line-height: 1.5; }

/* Video status tags */
.video-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
    padding: 3px 8px;
    vertical-align: middle;
    margin-left: 8px;
    white-space: nowrap;
}
.vst-flagged     { background: #fff0e0; color: #b84000; border: 1px dashed #e08000; }
.vst-watchlisted { background: #fffbe0; color: #806000; border: 1px dashed #cca000; }
.vst-blacklisted { background: #1a0000; color: #ff5555; border: 1px dashed #ff3333; }
.vst-approved    { background: #e0fff0; color: #006630; border: 1px dashed #40bb70; }

/* Admin status buttons for video management */
.admin-status-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    transition: opacity 0.15s;
    display: block;
    width: 100%;
    margin-bottom: 3px;
    text-align: center;
}
.admin-status-btn:hover { opacity: 0.8; }
.admin-status-btn.watchlist  { background: #3a3000; color: #f0c000; }
.admin-status-btn.approve    { background: #003a15; color: #44dd80; }
.admin-status-btn.blacklist  { background: #3a0000; color: #ff5555; }
.admin-status-btn.clear      { background: #222; color: #999; }

.admin-video-status-cell {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    margin-bottom: 4px;
}
.avs-none        { color: #555; }
.avs-flagged     { background: #3a1500; color: #ff8844; }
.avs-watchlisted { background: #3a3000; color: #f0c000; }
.avs-blacklisted { background: #2a0000; color: #ff3333; }
.avs-approved    { background: #003a15; color: #44dd80; }

/* Flag button reported state */
.watch-action-btn.flag-reported { color: #cc2200; border-color: #f0b0b0; background: #fff5f5; }

/* ── Link-as-card resets (feed-card, feed-rec-card, sidebar-rec-card used as <a>) ── */
a.feed-card,
a.feed-rec-card,
a.sidebar-rec-card {
    text-decoration: none;
    color: inherit;
    display: flex;
}
a.feed-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
a.feed-rec-card   { display: block; }

/* ════════════════════════════════
   UPLOAD PAGE
════════════════════════════════ */
.cw-upload-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px 60px;
    font-family: 'Lexend', sans-serif;
}

.upload-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.upload-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.upload-page-sub {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-top: 2px;
}

.upload-back-btn {
    font-size: 12px;
    font-weight: 600;
    color: #7700bb;
    text-decoration: none;
    border: 1.5px solid #d0a0ff;
    border-radius: 6px;
    padding: 6px 12px;
    transition: background 0.15s;
    white-space: nowrap;
}
.upload-back-btn:hover { background: #f5e8ff; }

/* Drop zone */
.upload-drop-zone {
    border: 2px dashed #c0a0e0;
    border-radius: 14px;
    background: #fdf6ff;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
}
.upload-drop-zone.drag-over {
    border-color: #7700bb;
    background: #f0e0ff;
}
.upload-drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.upload-drop-icon {
    font-size: 48px;
    line-height: 1;
}
.upload-drop-title {
    font-size: 16px;
    font-weight: 700;
    color: #2a2a2a;
}
.upload-drop-sub {
    font-size: 12px;
    color: #999;
}
.upload-drop-btn {
    background: #7700bb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 22px;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    pointer-events: none;
}
.upload-drop-zone:hover .upload-drop-btn { background: #5500aa; }
.upload-file-chosen {
    font-size: 13px;
    font-weight: 600;
    color: #7700bb;
    display: none;
    margin-top: 4px;
}

/* Form grid */
.upload-form-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

.upload-form-left { display: flex; flex-direction: column; gap: 18px; }
.upload-form-right { display: flex; flex-direction: column; gap: 18px; }

.upload-field { display: flex; flex-direction: column; gap: 6px; }
.upload-label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.upload-input,
.upload-textarea,
.upload-select {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    color: #1a1a1a;
    border: 1.5px solid #d8d0e8;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    resize: vertical;
}
.upload-input:focus,
.upload-textarea:focus,
.upload-select:focus { border-color: #7700bb; }
.upload-textarea { min-height: 110px; }
.upload-char-hint {
    font-size: 11px;
    color: #bbb;
    text-align: right;
    margin-top: -4px;
}

/* Thumbnail preview box */
.upload-thumb-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: radial-gradient(circle at 35% 35%, #cca0ee, #f5e8ff);
    border: 2px dashed #c0a0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.upload-thumb-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.upload-thumb-placeholder {
    font-size: 13px;
    font-weight: 600;
    color: #9960cc;
    pointer-events: none;
}
.upload-thumb-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Visibility & monetization row */
.upload-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Tags field */
.upload-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 1.5px solid #d8d0e8;
    border-radius: 8px;
    padding: 8px 10px;
    min-height: 44px;
    background: #fff;
    cursor: text;
    transition: border-color 0.15s;
}
.upload-tags-wrap:focus-within { border-color: #7700bb; }
.upload-tag-chip {
    background: #efe0ff;
    color: #5500aa;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    padding: 3px 8px 3px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.upload-tag-chip .remove-tag {
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #9960cc;
}
.upload-tags-input {
    border: none;
    outline: none;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    flex: 1;
    min-width: 80px;
    color: #1a1a1a;
    background: transparent;
}

/* Divider */
.upload-divider {
    border: none;
    border-top: 2px dashed #e0d0f0;
    margin: 8px 0;
}

/* Submit row */
.upload-submit-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px dashed #e0d0f0;
}

.upload-cancel-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    background: #f5f5f5;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 11px 24px;
    cursor: pointer;
    transition: background 0.15s;
}
.upload-cancel-btn:hover { background: #eee; }

.upload-submit-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.upload-submit-btn:hover { background: #5500aa; transform: translateY(-1px); }
.upload-submit-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
    transform: none;
}

/* Success toast */
.upload-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1a1a1a;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.35s ease;
    white-space: nowrap;
}
.upload-toast.show { transform: translateX(-50%) translateY(0); }

.notif-mark-all-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border: none;
    border-radius: 7px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.12s;
}

.notif-mark-all-btn:hover { background: #5a0090; }

/* ── Filter tabs ── */
.notif-filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: #f5f0fa;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}

.notif-filter-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 7px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    user-select: none;
    white-space: nowrap;
}

.notif-filter-tab.active {
    background: #fff;
    color: #7700bb;
    box-shadow: 0 1px 5px rgba(119,0,187,0.12);
}

.notif-filter-tab:hover:not(.active) { color: #7700bb; }

/* ── Date labels ── */
.notif-group-hidden { display: none; }

.notif-date-label {
    font-size: 10px;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 16px 0 8px;
    border-bottom: 1px solid #f0eaf8;
    margin-bottom: 4px;
}

/* ── Notification items ── */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 4px;
    background: #fff;
    border: 1.5px solid #ede6f8;
    transition: background 0.12s, opacity 0.22s, transform 0.22s;
    position: relative;
}

.notif-item:hover { background: #faf6ff; }

.notif-item.notif-unread {
    background: #faf5ff;
    border-color: #e0cef5;
}

.notif-item.notif-unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #7700bb;
    border-radius: 0 3px 3px 0;
}

/* ── Icon column ── */
.notif-icon-col {
    flex-shrink: 0;
    padding-top: 2px;
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.notif-icon-comment { background: #eef4ff; }
.notif-icon-like    { background: #fff0f5; }
.notif-icon-coin    { background: #fffbea; }
.notif-icon-system  { background: #f0f0f0; }

/* ── Body ── */
.notif-body {
    flex: 1;
    min-width: 0;
}

.notif-tag-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

/* ── Importance tags ── */
.notif-tag {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
    user-select: none;
}

.tag-serious {
    background: #ffe8e8;
    color: #cc1100;
    border: 1px solid rgba(204,17,0,0.25);
}

.tag-important {
    background: #fff3e0;
    color: #d06000;
    border: 1px solid rgba(208,96,0,0.25);
}

.tag-info {
    background: #e8f0ff;
    color: #1a55cc;
    border: 1px solid rgba(26,85,204,0.2);
}

.tag-milestone {
    background: #fffbe0;
    color: #a07800;
    border: 1px solid rgba(160,120,0,0.25);
}

/* ── Condensed badge ── */
.notif-condensed {
    font-size: 9px;
    font-weight: 800;
    color: #7700bb;
    background: #f0e6ff;
    border: 1px solid #e0cef5;
    border-radius: 4px;
    padding: 2px 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ── Message text ── */
.notif-text {
    font-size: 13px;
    color: #222;
    line-height: 1.5;
    font-weight: 500;
}

.notif-text strong { font-weight: 800; color: #1a0028; }

.notif-title-ref {
    font-style: italic;
    color: #7700bb;
    font-weight: 600;
}

.notif-quote {
    display: block;
    margin-top: 4px;
    font-style: italic;
    color: #888;
    font-size: 12px;
    background: #f8f5ff;
    border-left: 3px solid #e0cef5;
    padding: 4px 8px;
    border-radius: 0 4px 4px 0;
}

.notif-sub {
    display: inline-block;
    margin-top: 3px;
    font-size: 11px;
    color: #cc1100;
    font-weight: 700;
    background: #fff0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

.notif-meta {
    font-size: 11px;
    color: #bbb;
    font-weight: 600;
    margin-top: 5px;
}

/* ── Actions ── */
.notif-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-top: 2px;
}

.notif-view-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
    background: #f0e6ff;
    border: 1.5px solid #e0cef5;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.12s;
    white-space: nowrap;
}

.notif-view-btn:hover { background: #ede0ff; }

.notif-dismiss-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1.5px solid #ede6f8;
    color: #ccc;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
}

.notif-dismiss-btn:hover { background: #fff0f0; color: #cc1100; border-color: #f0c0c0; }

/* ── End of list ── */
.notif-end {
    text-align: center;
    font-size: 12px;
    color: #ccc;
    font-style: italic;
    padding: 28px 0 8px;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════
   SAVED FOR LATER PAGE
════════════════════════════════════════════════════════════════ */

.cw-s4l-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.s4l-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.s4l-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a0028;
    letter-spacing: 0.3px;
}

.s4l-page-sub {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-top: 5px;
}

.s4l-page-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.s4l-sort-select {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    border-radius: 7px;
    padding: 7px 12px;
    cursor: pointer;
    outline: none;
}

.s4l-clear-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #cc1100;
    background: #fff5f5;
    border: 1.5px solid #f0d0d0;
    border-radius: 7px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.12s;
}

.s4l-clear-btn:hover { background: #ffe0e0; }

/* ── Filter tabs ── */
.s4l-filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: #f5f0fa;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}

.s4l-filter-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 7px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    user-select: none;
    white-space: nowrap;
}

.s4l-filter-tab.active {
    background: #fff;
    color: #7700bb;
    box-shadow: 0 1px 5px rgba(119,0,187,0.12);
}

.s4l-filter-tab:hover:not(.active) { color: #7700bb; }

/* ── Cards grid ── */
.s4l-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.s4l-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e8e0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.15s, opacity 0.22s, transform 0.22s;
}

.s4l-card:hover { box-shadow: 0 4px 18px rgba(119,0,187,0.09); }

.s4l-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    flex-shrink: 0;
}

.s4l-playlist-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, transparent 60%);
}

.s4l-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
    z-index: 1;
}

.badge-video    { background: #7700bb; color: #fff; }
.badge-live     { background: #cc1100; color: #fff; }
.badge-playlist { background: #1a4a00; color: #fff; }

.s4l-duration {
    position: absolute;
    bottom: 7px;
    right: 8px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

.s4l-playlist-count {
    position: absolute;
    bottom: 7px;
    right: 8px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

.s4l-card-info {
    padding: 12px 14px 8px;
    flex: 1;
}

.s4l-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a0028;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s4l-card-uploader {
    font-size: 11px;
    font-weight: 700;
    color: #7700bb;
}

.s4l-card-date {
    font-size: 10px;
    color: #bbb;
    font-weight: 600;
    margin-top: 2px;
}

.s4l-card-meta {
    font-size: 10px;
    color: #999;
    font-weight: 600;
    margin-top: 3px;
}

.s4l-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 12px;
}

.s4l-watch-btn {
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    cursor: pointer;
    transition: background 0.12s;
    text-decoration: none;
    text-align: center;
}

.s4l-watch-btn:hover { background: #5a0090; }

.s4l-remove-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    background: #f5f0fa;
    border: 1.5px solid #e0d0f0;
    color: #7700bb;
    cursor: pointer;
    padding: 7px 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    transition: background 0.12s;
}

.s4l-remove-btn:hover { background: #ffe0e0; color: #cc1100; border-color: #f0c0c0; }

/* s4l card extras */
.s4l-thumb-link { display: block; text-decoration: none; }
.s4l-thumb-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.35); color: #fff; font-size: 22px;
    opacity: 0; transition: opacity 0.15s;
}
.s4l-thumb:hover .s4l-thumb-play { opacity: 1; }
.s4l-card-title { display: block; font-size: 13px; font-weight: 700; color: #1a0030; text-decoration: none; margin-bottom: 3px; line-height: 1.4; }
.s4l-card-title:hover { color: #7700bb; }
.s4l-card-meta { display: flex; gap: 8px; align-items: center; margin: 3px 0 4px; flex-wrap: wrap; }
.s4l-card-views { font-size: 11px; color: #888; font-weight: 600; }
.s4l-card-cat {
    font-size: 10px; font-weight: 700; color: #7700bb;
    background: #f0e6ff; border-radius: 4px; padding: 1px 6px;
}

/* ── Empty state ── */
.s4l-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 12px;
    text-align: center;
}

.s4l-empty-icon {
    font-size: 56px;
    opacity: 0.25;
}

.s4l-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #ccc;
}

.s4l-empty-sub {
    font-size: 13px;
    color: #bbb;
    font-weight: 500;
    max-width: 320px;
}

.s4l-empty-browse {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #7700bb;
    border-radius: 8px;
    padding: 10px 22px;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.12s;
}

.s4l-empty-browse:hover { background: #5a0090; }

/* ════════════════════════════════════════════════════════════════
   POPCOINS PAGE — RETRO CINEMA THEME
════════════════════════════════════════════════════════════════ */

.pc-retro-body {
    background: #f5ede0;
    background-image:
        linear-gradient(rgba(140, 80, 20, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 80, 20, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.cw-popcoins-page {
    padding-bottom: 80px;
}

/* ── Marquee hero ── */
.pc-marquee {
    padding: 28px 40px 0;
}

.pc-marquee-outer {
    border: 3px dashed #8b4a00;
    border-radius: 4px;
    background: #1a0800;
    overflow: hidden;
    position: relative;
}

/* bulb rows */
.pc-marquee-lights {
    display: flex;
    justify-content: space-around;
    padding: 10px 24px;
    background: #120500;
}

.pc-bulb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffe066;
    box-shadow: 0 0 6px #ffe066, 0 0 14px rgba(255,200,0,0.5);
    border: 2px solid #c8a000;
    animation: pc-bulb-blink 1.8s infinite;
    flex-shrink: 0;
}

.pc-bulb:nth-child(even) {
    animation-delay: 0.9s;
}

@keyframes pc-bulb-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.pc-marquee-inner {
    padding: 28px 40px 32px;
    text-align: center;
    background-image: radial-gradient(circle, rgba(255,200,0,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pc-marquee-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c8a000;
    margin-bottom: 10px;
}

.pc-marquee-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffe066;
    text-shadow:
        0 0 20px rgba(255,200,0,0.6),
        0 0 60px rgba(255,200,0,0.25),
        2px 2px 0 #8b4a00;
    letter-spacing: 4px;
    margin-bottom: 10px;
    line-height: 1;
}

.pc-marquee-sub {
    font-size: 13px;
    color: rgba(255,230,150,0.65);
    font-weight: 500;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
}

.pc-balance-row {
    display: flex;
    justify-content: center;
}

.pc-balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px dashed rgba(255,200,0,0.5);
    border-radius: 4px;
    padding: 8px 22px;
    background: rgba(255,200,0,0.07);
}

.pc-balance-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,220,100,0.55);
}

.pc-balance-num {
    font-size: 22px;
    font-weight: 800;
    color: #ffe066;
    letter-spacing: 1px;
}

.pc-balance-unit {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,220,100,0.6);
}

/* ── Section title ── */
.pc-list-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 32px 40px 18px;
}

.pc-list-dashes {
    flex: 1;
    border-bottom: 2px dashed #c8a060;
    opacity: 0.5;
}

.pc-list-title {
    font-size: 17px;
    font-weight: 800;
    color: #5a2a00;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ── Tier list wrapper ── */
.pc-tier-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 40px;
}

/* ── Each tier row ── */
.pc-tier-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff8ef;
    border: 2px dashed #c8a060;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.pc-tier-row:hover {
    box-shadow: 0 4px 18px rgba(140,80,0,0.13);
}

/* highlighted variants */
.pc-tier-popular {
    background: #fffbee;
    border-color: #c8a000;
    box-shadow: 0 2px 12px rgba(200,160,0,0.12);
}

.pc-tier-starter {
    background: #f4fff8;
    border-color: #3a8a50;
}

.pc-tier-bestvalue {
    background: #fff9e6;
    border-color: #b87800;
    box-shadow: 0 2px 14px rgba(184,120,0,0.16);
}

/* floating badge above the row */
.pc-tier-badge-wrap {
    position: absolute;
    top: -1px;
    right: 18px;
}

.pc-tier-badge {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 0 0 6px 6px;
    white-space: nowrap;
    display: block;
}

.pc-badge-starter  { background: #1a9a3a; color: #fff; }
.pc-badge-popular  { background: #c8a000; color: #1a0800; }
.pc-badge-bestvalue { background: #b87800; color: #fff; }

/* ── Art frame (left illustration) ── */
.pc-tier-art {
    flex-shrink: 0;
    padding: 14px 6px 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-art-frame {
    border: 2px dashed #c8a060;
    border-radius: 6px;
    background: #fdf0d8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90px;
    gap: 2px;
    padding: 8px 6px 5px;
}

.pc-art-emoji {
    line-height: 1;
    display: block;
    text-align: center;
}

.pc-art-extra {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 12px;
    line-height: 1;
}

.pc-art-extra-sm {
    position: absolute;
    bottom: 18px;
    right: 4px;
    font-size: 10px;
    line-height: 1;
}

.pc-art-crown {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    line-height: 1;
}

.pc-art-size-label {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #b07040;
    border-top: 1px dashed #c8a060;
    padding-top: 3px;
    width: 100%;
    text-align: center;
    margin-top: 2px;
}

/* Scaled emoji sizes per tier */
.pc-art-xs    .pc-art-emoji { font-size: 26px; }
.pc-art-sm    .pc-art-emoji { font-size: 30px; }
.pc-art-md    .pc-art-emoji { font-size: 34px; }
.pc-art-lg    .pc-art-emoji { font-size: 38px; }
.pc-art-xl    .pc-art-emoji { font-size: 44px; }
.pc-art-xxl   .pc-art-emoji { font-size: 50px; }
.pc-art-machine .pc-art-emoji { font-size: 50px; }
.pc-art-cinema  .pc-art-emoji { font-size: 50px; }

/* ── Tier body (center info) ── */
.pc-tier-body {
    flex: 1;
    padding: 16px 20px;
    min-width: 0;
    border-left: 2px dashed #e8d8b8;
    border-right: 2px dashed #e8d8b8;
}

.pc-tier-top {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.pc-tier-name {
    font-size: 16px;
    font-weight: 800;
    color: #2a1000;
    letter-spacing: 0.3px;
}

.pc-tier-coins {
    font-size: 15px;
    font-weight: 800;
    color: #b07800;
}

.pc-tier-coins span {
    font-size: 10px;
    font-weight: 700;
    color: #c8a060;
    letter-spacing: 0.5px;
}

.pc-tier-desc {
    font-size: 12px;
    font-weight: 500;
    color: #9a7050;
    font-style: italic;
    line-height: 1.4;
}

/* ── Right: price + button ── */
.pc-tier-right {
    flex-shrink: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 130px;
}

.pc-tier-price {
    font-size: 22px;
    font-weight: 800;
    color: #2a1000;
    letter-spacing: 0.5px;
}

.pc-tier-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #5a2a00;
    background: #fdf0d8;
    border: 2px dashed #c8a060;
    border-radius: 4px;
    padding: 7px 18px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.12s, border-color 0.12s;
    white-space: nowrap;
}

.pc-tier-btn:hover {
    background: #f5e0bc;
    border-color: #a07030;
}

.pc-btn-popular {
    background: #c8a000;
    color: #1a0800;
    border-color: #a07800;
    border-style: solid;
}

.pc-btn-popular:hover { background: #a07800; color: #fff; }

.pc-btn-bestvalue {
    background: #b87800;
    color: #fff;
    border-color: #8a5a00;
    border-style: solid;
}

.pc-btn-bestvalue:hover { background: #8a5a00; }

/* ── Disclaimer ── */
.pc-retro-disclaimer {
    max-width: 860px;
    margin: 32px auto 0;
    padding: 0 40px;
    text-align: center;
}

.pc-disclaimer-dash {
    border-bottom: 2px dashed #c8a060;
    opacity: 0.4;
    margin: 10px 0;
}

.pc-retro-disclaimer p {
    font-size: 11px;
    color: #9a7050;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

/* ════════════════════════════════════════════════
   POPCOINS REDESIGN — Selection Card
════════════════════════════════════════════════ */
.pc-sel-card {
    margin: 24px 40px;
    background: linear-gradient(135deg, #fdf8f0, #faf3e6);
    border: 3px dashed #c8a060;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 160px;
    box-shadow: 0 4px 20px rgba(140,80,0,0.1);
}

/* Left column: big price + coin amount */
.pc-sel-left {
    flex-shrink: 0;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    text-align: center;
}

.pc-sel-eyebrow {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8b5a20;
    margin-bottom: 10px;
}

.pc-sel-price {
    font-size: 64px;
    font-weight: 800;
    color: #b07800;
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(200,140,0,0.2);
    letter-spacing: -1px;
    transition: color 0.2s ease;
}

.pc-sel-coins-wrap {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-top: 8px;
}

.pc-sel-plus {
    font-size: 22px;
    font-weight: 800;
    color: #c89040;
    line-height: 1;
}

.pc-sel-coins {
    font-size: 50px;
    font-weight: 800;
    color: #c87800;
    line-height: 1;
    text-shadow: none;
    transition: color 0.2s ease;
}

.pc-sel-coins-unit {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(120,70,0,0.45);
    margin-top: 4px;
}

/* Vertical dividers */
.pc-sel-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(200,140,0,0.35) 20%, rgba(200,140,0,0.35) 80%, transparent);
    flex-shrink: 0;
    margin: 16px 0;
}

/* Center column: product info */
.pc-sel-center {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.pc-sel-name {
    font-size: 20px;
    font-weight: 800;
    color: #2a0800;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

/* ── Unsaved-changes save bar ─────────────────────────────── */
.cw-save-bar {
    position: fixed;
    top: -64px;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #7700bb 0%, #4900aa 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    height: 56px;
    box-shadow: 0 6px 28px rgba(80, 0, 160, 0.45);
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    opacity: 0;
}
.cw-save-bar.cw-save-bar-visible {
    top: 0;
    pointer-events: auto;
    opacity: 1;
}
.cw-save-bar-msg {
    flex: 1;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.cw-save-btn {
    background: #fff;
    color: #7700bb;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-family: 'Lexend', sans-serif;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    animation: cwSavePulse 1.5s ease-in-out infinite;
    transition: opacity 0.2s;
}
.cw-save-btn:disabled {
    opacity: 0.55;
    animation: none;
    cursor: default;
}
.cw-discard-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    padding: 7px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.18s, border-color 0.18s;
}
.cw-discard-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
@keyframes cwSavePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); transform: scale(1); }
    50%       { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); transform: scale(1.05); }
}

.pc-sel-live-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pc-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22dd44;
    flex-shrink: 0;
    box-shadow: 0 0 5px #22dd44;
    animation: pc-live-pulse 1.4s infinite;
}

@keyframes pc-live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #22dd44; }
    50%       { opacity: 0.5; box-shadow: 0 0 2px #22dd44; }
}

.pc-live-lbl {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #22dd44;
    color: #0a1a00;
    padding: 2px 6px;
    border-radius: 3px;
}

.pc-live-since {
    font-size: 10px;
    color: rgba(80,40,0,0.4);
    font-weight: 500;
}

.pc-sel-rate-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-rate-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(80,40,0,0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pc-rate-val {
    font-size: 11px;
    font-weight: 700;
    color: rgba(60,30,0,0.7);
    font-family: 'Courier New', monospace;
    background: rgba(140,80,0,0.05);
    border: 1px solid rgba(140,80,0,0.15);
    border-radius: 4px;
    padding: 2px 8px;
}

.pc-sel-desc {
    font-size: 12px;
    color: #9a7050;
    font-style: italic;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.pc-sel-multi {
    display: inline-block;
    background: linear-gradient(135deg, #c8a000, #e87800);
    color: #1a0800;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    align-self: flex-start;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(200,120,0,0.3);
}

/* Right column: product image */
.pc-sel-right {
    flex-shrink: 0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.pc-sel-img {
    max-height: 130px;
    max-width: 140px;
    object-fit: contain;
    transition: opacity 0.2s;
}

.pc-sel-img-hidden { display: none; }

.pc-sel-no-img {
    width: 110px;
    height: 110px;
    border: 2px dashed rgba(200,160,0,0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    opacity: 0.3;
}

/* ════════════════════════════════════════════════
   BAR SELECTOR
════════════════════════════════════════════════ */
.pc-bar-section {
    padding: 0 40px 12px;
}

.pc-bar-stage {
    position: relative;
    margin-top: 16px;
    padding: 20px 0 10px;
    overflow: visible;
    cursor: default;
    user-select: none;
}

/* The horizontal gradient track behind the dots */
.pc-bar-line {
    position: absolute;
    left: calc(100% / 16);
    right: calc(100% / 16);
    top: calc(70px + 7px);
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(
        to right,
        #3a8a40  0%,
        #5aaa30  14%,
        #c8b000  28%,
        #e87820  42%,
        #d84820  56%,
        #a02818  70%,
        #601008  84%,
        #200408  100%
    );
    box-shadow: 0 2px 8px rgba(0,0,0,0.18), inset 0 1px 2px rgba(255,255,255,0.12);
    z-index: 0;
}

/* Overlay to show progress fill (updated by JS) */
.pc-bar-fill-overlay {
    position: absolute;
    left: calc(100% / 16);
    top: calc(70px + 7px);
    height: 10px;
    border-radius: 5px 0 0 5px;
    background: rgba(255,255,255,0.0);
    pointer-events: none;
    z-index: 0;
    transition: width 0.3s ease;
}

/* The flex row of 8 tick columns */
.pc-bar-cols {
    display: flex;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.pc-tick-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    padding: 0 2px;
}

/* Above area: badge + coins — animate in when active */
.pc-tick-above {
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    padding-bottom: 8px;
}

.pc-tick-badge-float {
    font-size: 8px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.pc-tick-col.active .pc-tick-badge-float {
    opacity: 1;
    transform: translateY(0);
}

.pc-tick-coins-float {
    font-size: 10px;
    font-weight: 800;
    color: #b07800;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease 0.06s, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.06s;
    pointer-events: none;
}

.pc-tick-col.active .pc-tick-coins-float {
    opacity: 1;
    transform: translateY(0);
}

/* Badge color variants */
.pc-tbf-starter   { background: #1a9a3a; color: #fff; }
.pc-tbf-deal      { background: #c8a000; color: #1a0800; }
.pc-tbf-popular   { background: #e07000; color: #fff; }
.pc-tbf-bestvalue { background: #b87800; color: #fff; box-shadow: 0 2px 6px rgba(184,120,0,0.4); }

/* The clickable dot on the bar */
.pc-tick-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff8ef;
    border: 3px solid #c8a060;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s, border-color 0.15s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.pc-tick-col:hover .pc-tick-dot {
    border-color: #8a5a00;
    transform: scale(1.25);
}

.pc-tick-col.active .pc-tick-dot {
    transform: scale(1.7);
    background: #c8a000;
    border-color: #7a5000;
    box-shadow: 0 0 0 5px rgba(200,160,0,0.2), 0 0 20px rgba(200,160,0,0.5);
}

/* Labels below the bar */
.pc-tick-below {
    padding-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pc-tick-coins-lbl {
    font-size: 10px;
    font-weight: 800;
    color: #c0a880;
    transition: color 0.15s;
    white-space: nowrap;
    line-height: 1.2;
}

.pc-tick-col.active .pc-tick-coins-lbl,
.pc-tick-col:hover .pc-tick-coins-lbl {
    color: #9a6800;
}

.pc-tick-price-lbl {
    font-size: 11px;
    font-weight: 700;
    color: #b09070;
    transition: color 0.15s, font-weight 0.15s;
    white-space: nowrap;
}

.pc-tick-col.active .pc-tick-price-lbl {
    color: #3a1000;
    font-weight: 800;
}

/* ════════════════════════════════════════════════
   PURCHASE WRAP
════════════════════════════════════════════════ */
.pc-purchase-wrap {
    margin: 20px 40px 0;
    border: 2.5px dashed #c8a060;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff9f0, #fdf4e4);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(140,80,0,0.1);
}

/* Left: selected item info */
.pc-pi-left {
    flex: 1;
    padding: 20px 24px;
    border-right: 2px dashed #e8d8b8;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pc-pi-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 2px;
}

.pc-pib-starter   { background: #1a9a3a; color: #fff; }
.pc-pib-deal      { background: #c8a000; color: #1a0800; }
.pc-pib-popular   { background: #e07000; color: #fff; }
.pc-pib-bestvalue { background: #b87800; color: #fff; }

.pc-pi-name {
    font-size: 17px;
    font-weight: 800;
    color: #1a0800;
    letter-spacing: 0.2px;
    transition: all 0.15s;
}

.pc-pi-coins {
    font-size: 13px;
    font-weight: 700;
    color: #b07800;
    transition: all 0.15s;
}

.pc-pi-desc {
    font-size: 11px;
    color: #9a7050;
    font-style: italic;
    line-height: 1.45;
    transition: all 0.15s;
}

/* Center: payment methods */
.pc-pi-mid {
    flex-shrink: 0;
    padding: 20px 24px;
    border-right: 2px dashed #e8d8b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pc-pay-or {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c0a070;
}

.pc-pay-methods {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pc-pay-btn {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    border: none;
    font-size: 13px;
    white-space: nowrap;
}

.pc-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.pc-pay-apple {
    background: #000;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.pc-pay-paypal {
    background: #fff;
    border: 1.5px solid #e0d8cc !important;
    padding: 9px 14px;
}

.pc-paypal-p1 {
    color: #003087;
    font-size: 14px;
    font-weight: 800;
}

.pc-paypal-p2 {
    color: #009cde;
    font-size: 14px;
    font-weight: 800;
}

.pc-pay-google {
    background: #fff;
    border: 1.5px solid #e0d8cc !important;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    padding: 10px 12px;
}

.pc-g-blue  { color: #4285f4; }
.pc-g-red   { color: #ea4335; }
.pc-g-yellow{ color: #fbbc05; }
.pc-g-blue2 { color: #4285f4; }
.pc-g-green { color: #34a853; }
.pc-g-red2  { color: #ea4335; }

/* Right: total + buy button */
.pc-pi-right {
    flex-shrink: 0;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
}

.pc-pt-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c0a070;
}

.pc-pt-price {
    font-size: 36px;
    font-weight: 800;
    color: #1a0800;
    letter-spacing: -0.5px;
    line-height: 1;
    transition: all 0.2s ease;
}

.pc-purchase-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #c87800, #8a4a00);
    border: none;
    border-radius: 8px;
    padding: 13px 30px;
    cursor: pointer;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(180,100,0,0.35);
    white-space: nowrap;
}

.pc-purchase-btn:hover {
    background: linear-gradient(135deg, #a06000, #6a3800);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(180,100,0,0.45);
}

.pc-purchase-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(180,100,0,0.3);
}

/* ── Drag thumb ────────────────────────────────── */
.pc-bar-thumb {
    position: absolute;
    width: 40px;
    height: 58px;
    background: linear-gradient(180deg, #fffdf5 0%, #f5e4b0 55%, #e4c060 100%);
    border: 2.5px solid #c8a060;
    border-radius: 20px;
    cursor: grab;
    z-index: 10;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(140,80,0,0.5), 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: left 0.28s cubic-bezier(0.34,1.56,0.64,1), top 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s;
}

.pc-bar-thumb.dragging-thumb {
    cursor: grabbing;
    transition: none;
    box-shadow: 0 8px 28px rgba(140,80,0,0.7), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.pc-thumb-no-trans {
    transition: none !important;
}

.pc-thumb-grip {
    width: 18px;
    height: 2.5px;
    background: #c0903a;
    border-radius: 2px;
    box-shadow: 0 -5px 0 #c0903a, 0 5px 0 #c0903a;
    opacity: 0.75;
}

/* ── Coin burst particles ─────────────────────── */
.pc-coin-particle {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9999;
    animation: pc-coin-fly 0.8s ease-out forwards;
}

@keyframes pc-coin-fly {
    from { opacity: 1; transform: translate(0,0) scale(1.2) rotate(0deg); }
    to   { opacity: 0; transform: translate(var(--dx),var(--dy)) scale(0.3) rotate(200deg); }
}

/* ── Selection card price/coins glow flash ────── */
.pc-price-flash {
    animation: pc-price-glow 0.5s ease-out forwards;
}

@keyframes pc-price-glow {
    0%   { text-shadow: 0 0 0 rgba(255,190,0,0); }
    25%  { text-shadow: 0 0 28px rgba(255,200,0,0.95), 0 0 10px rgba(255,170,0,0.7); }
    100% { text-shadow: 1px 1px 0 rgba(200,140,0,0.2); }
}

.pc-coins-flash {
    animation: pc-coins-glow 0.5s ease-out forwards;
}

@keyframes pc-coins-glow {
    0%   { text-shadow: 0 0 0 rgba(200,120,0,0); }
    25%  { text-shadow: 0 0 28px rgba(255,160,0,0.9), 0 0 10px rgba(200,100,0,0.6); }
    100% { text-shadow: none; }
}

/* ════════════════════════════════════════════════
   HOME — SERIES SECTIONS (Trending Series / Top This Month)
════════════════════════════════════════════════ */
.cw-series-section {
    padding: 28px 40px 20px;
    background: #fff;
}

.cw-series-section + .cw-series-section {
    border-top: 1px solid #f0e8f8;
    padding-top: 24px;
}

.cw-series-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cw-series-hdr-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cw-series-hdr-icon {
    font-size: 20px;
    line-height: 1;
}

.cw-series-hdr-title {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a0030;
    letter-spacing: -0.2px;
}

.cw-series-hdr-sub {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #9a80b0;
    margin-top: 1px;
}

.cw-series-view-all {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #7700bb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.75;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.cw-series-view-all:hover { opacity: 1; }

/* Horizontal scroll row */
.cw-series-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #d8b8ff transparent;
}
.cw-series-scroll::-webkit-scrollbar { height: 3px; }
.cw-series-scroll::-webkit-scrollbar-thumb { background: #d8b8ff; border-radius: 2px; }

/* Individual vertical-thumbnail series card */
.cw-sc {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    text-decoration: none;
    width: 148px;
    scroll-snap-align: start;
    cursor: pointer;
    border: 2px dashed #c8a0e8;
    border-radius: 14px;
    padding: 7px 7px 10px;
    background: #fff;
    box-sizing: border-box;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cw-sc:hover {
    border-color: #9955cc;
    box-shadow: 0 6px 22px rgba(100,0,200,0.16);
}

.cw-sc-ring { display: none; }

.cw-sc-thumb {
    width: 100%;
    height: 186px;
    border-radius: 9px;
    background: linear-gradient(160deg, #5500aa, #2a0060);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 36px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cw-sc:hover .cw-sc-thumb {
    transform: scale(1.02);
}

.cw-sc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-sc-new {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #22cc44;
    color: #fff;
    font-size: 7px;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.cw-sc-name {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1a0030;
    text-align: left;
    line-height: 1.3;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 1px;
}

.cw-sc-eps {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #7a5a9a;
    text-align: left;
}

.cw-sc-views {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #16a832;
    letter-spacing: -0.2px;
}

.cw-sc-paid-badge {
    font-family: 'Lexend', sans-serif;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    padding: 2px 7px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1px;
}

/* ════════════════════════════════════════════════
   SHOWS.HTML PAGE
════════════════════════════════════════════════ */
.cw-shows-page {
    background: #f6f0fc;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Page hero */
.shows-hero {
    background: linear-gradient(135deg, #1a0030, #3a006a 50%, #1a0030);
    padding: 32px 44px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.shows-hero-title {
    font-family: 'Lexend', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.shows-hero-sub {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
    font-weight: 400;
}

.shows-hero-stats {
    display: flex;
    gap: 24px;
}

.shows-hero-stat {
    text-align: center;
    color: #fff;
}

.shows-hero-stat-num {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #dd99ff;
}

.shows-hero-stat-lbl {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Genre filter strip */
.shows-filter-strip {
    background: #fff;
    border-bottom: 2px solid #f0e4fc;
    padding: 0 44px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.shows-filter-strip::-webkit-scrollbar { display: none; }

.shows-filter-tab {
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #6a5a80;
    padding: 13px 16px;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    text-decoration: none;
    display: block;
    margin-bottom: -2px;
}

.shows-filter-tab:hover { color: #5500aa; }
.shows-filter-tab.active {
    color: #5500aa;
    border-bottom-color: #7700bb;
    font-weight: 700;
}

/* Section wrapper */
.shows-section {
    padding: 28px 44px 16px;
}

.shows-section-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px dashed #e0c8f8;
}

.shows-section-title {
    font-family: 'Lexend', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #1a0030;
    display: flex;
    align-items: center;
    gap: 9px;
}

.shows-section-count {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    color: #9a80b0;
    font-weight: 500;
}

/* Series card (horizontal, matches reference image style) */
.shows-card-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #d0b0ff transparent;
}
.shows-card-row::-webkit-scrollbar { height: 3px; }
.shows-card-row::-webkit-scrollbar-thumb { background: #d0b0ff; border-radius: 2px; }

.shows-card {
    flex-shrink: 0;
    display: flex;
    gap: 0;
    background: #fff;
    border: 2px dashed #c8a0e8;
    border-radius: 14px;
    overflow: hidden;
    width: 340px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    scroll-snap-align: start;
}

.shows-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(100,0,200,0.2);
}

/* Left: portrait poster */
.shows-card-poster {
    flex-shrink: 0;
    width: 112px;
    background: linear-gradient(160deg, #5500aa, #2a0060);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.shows-poster-inner {
    width: 72px;
    height: 110px;
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
}

.shows-poster-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.12), transparent 60%);
}

.shows-poster-ep-badge {
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 8px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Right: text info */
.shows-card-info {
    flex: 1;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.shows-card-title {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a0030;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shows-card-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shows-price-lbl {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #888;
    background: #f4f0f8;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e0d0f0;
}

.shows-price-free {
    color: #22aa44;
    font-weight: 800;
}

.shows-price-paid {
    color: #7700bb;
    font-weight: 800;
}

.shows-card-views {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #16a832;
    letter-spacing: -0.3px;
}

.shows-views-label {
    font-size: 11px;
    font-weight: 600;
    color: #50a060;
    margin-right: 2px;
}

.shows-card-desc {
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    color: #7a6090;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}

.shows-card-eps-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.shows-eps-chip {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #5500aa;
    background: #f0e4fc;
    padding: 3px 9px;
    border-radius: 20px;
}

.shows-sess-chip {
    font-family: 'Lexend', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #6a5a80;
}

/* All shows grid */
.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px;
    padding: 0 44px 32px;
}

/* Empty state for shows */
.shows-empty {
    text-align: center;
    padding: 60px 40px;
    font-family: 'Lexend', sans-serif;
    color: #9a80b0;
}

.shows-empty-icon { font-size: 48px; margin-bottom: 14px; }
.shows-empty-title { font-size: 18px; font-weight: 700; color: #3a1060; }
.shows-empty-sub { font-size: 13px; margin-top: 6px; }

/* ── SHOWS PAGE – DIAGONAL CARD REDESIGN ── */

.shows-combined-area {
    padding-bottom: 4px;
}

.shows-sub-hdr {
    font-family: 'Lexend', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #1a0030;
    padding: 24px 44px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1.5px dashed #e8d0ff;
    margin-bottom: 16px;
}

.shows-sub-hdr-mid {
    margin-top: 12px;
}

.shows-sub-count {
    font-size: 10px;
    font-weight: 500;
    color: #9a80b0;
    margin-left: 2px;
}

.shows-diag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    padding: 0 44px 8px;
}

.shows-diag-card {
    display: flex;
    background: #fff;
    border: 2px dashed #c8a0e8;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    min-height: 86px;
    transition: transform 0.18s, box-shadow 0.18s;
}

.shows-diag-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(100,0,200,0.18);
}

.shows-diag-thumb {
    flex-shrink: 0;
    width: 100px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.shows-diag-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    padding-right: 18px;
}

.shows-diag-info {
    flex: 1;
    padding: 10px 13px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.shows-diag-title {
    font-family: 'Lexend', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #1a0030;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shows-diag-views {
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #16a832;
    letter-spacing: -0.2px;
}

.shows-diag-chips {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 1px;
}

.shows-diag-paid {
    font-family: 'Lexend', sans-serif;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    padding: 2px 7px;
    border-radius: 10px;
}

/* ChatHub new-message button */
.chathub-new-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #7700bb, #5500aa);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.chathub-new-btn:hover { opacity: 0.85; }
