:root {
    --bg: #050505;
    --surface: rgba(17, 17, 17, 0.88);
    --surface-2: rgba(25, 25, 25, 0.95);
    --surface-3: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f6f1ea;
    --muted: #ada49b;
    --accent: #ff4d36;
    --accent-2: #ffb000;
    --success: #87f5a5;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 77, 54, 0.2), transparent 24rem),
        radial-gradient(circle at 85% 18%, rgba(255, 176, 0, 0.11), transparent 20rem),
        linear-gradient(180deg, #131313 0%, var(--bg) 40%);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    direction: rtl;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
    z-index: -1;
}

body.watch-overlay-open {
    overflow: hidden;
}

body.inline-player-open {
    overflow: hidden;
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px clamp(16px, 3vw, 44px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(18px);
    transition: transform 180ms ease, padding 180ms ease, opacity 180ms ease;
}

.topbar.is-condensed {
    padding-block: 8px;
}

.topbar.is-hidden {
    transform: translateY(-100%);
}

.site-logo {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: clamp(1.18rem, 2.8vw, 1.72rem);
    font-weight: 900;
    letter-spacing: -0.08em;
}

.site-logo img {
    width: auto;
    height: clamp(24px, 2.6vw, 32px);
}

.site-logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-logo span {
    color: var(--accent);
}

.site-logo strong {
    color: var(--accent-2);
}

.top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.user-pill,
.subscription-pill {
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
}

.subscription-pill.active {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.subscription-pill.locked {
    color: #facc15;
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(250, 204, 21, 0.35);
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.15);
}

.top-actions button,
.topbar-link,
.dashboard-search-submit,
.video-action,
.request-access-btn,
.sample-download-button {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.top-actions button:hover,
.topbar-link:hover,
.dashboard-search-submit:hover,
.video-action:hover,
.request-access-btn:hover,
.sample-download-button:hover {
    transform: translateY(-2px);
}

.top-actions button {
    border-radius: 999px;
    min-height: 32px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.78rem;
    color: #fecaca;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.35) 100%);
    border: 1px solid rgba(248, 113, 113, 0.35);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 14px rgba(239, 68, 68, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-actions button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.45) 0%, rgba(185, 28, 28, 0.55) 100%);
    border-color: rgba(248, 113, 113, 0.6);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(239, 68, 68, 0.4);
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.topbar-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.2), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.topbar-link.topbar-link-config {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.95), rgba(217, 119, 6, 0.95)) !important;
    color: #0f0a00 !important;
    border: 1px solid rgba(254, 240, 138, 0.6) !important;
    font-weight: 800;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 8px 22px rgba(245, 158, 11, 0.35) !important;
}

.topbar-link.topbar-link-config:hover {
    background: linear-gradient(135deg, #facc15, #b45309) !important;
    color: #000000 !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 10px 28px rgba(245, 158, 11, 0.5) !important;
}

.dashboard-watch-overlay[hidden] {
    display: none;
}

.dashboard-watch-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.dashboard-watch-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.dashboard-watch-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.dashboard-watch-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(16, 16, 16, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-watch-header h2 {
    flex: 1;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-watch-close,
.dashboard-watch-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
}

.dashboard-watch-close {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.dashboard-watch-download {
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #1f1300;
    font-weight: 900;
}

.dashboard-watch-frame-wrap {
    background: #000;
}

.dashboard-watch-frame {
    display: block;
    width: 100%;
    height: min(78vh, 820px);
    border: 0;
    background: #000;
}

@media (max-width: 640px) {
    .dashboard-watch-overlay {
        padding: 0;
    }

    .dashboard-watch-dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .dashboard-watch-header {
        flex-wrap: wrap;
    }

    .dashboard-watch-header h2 {
        width: 100%;
        order: 3;
        white-space: normal;
    }

    .dashboard-watch-frame {
        height: calc(100vh - 120px);
    }
}

.inline-player-modal[hidden] {
    display: none;
}

.inline-player-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.inline-player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.inline-player-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
    overflow: hidden;
}

.inline-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inline-player-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    color: var(--text);
}

.inline-player-close {
    border: 0;
    border-radius: 999px;
    min-width: 38px;
    min-height: 38px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1rem;
}

.inline-player-body {
    padding: 0;
    background: #000;
}

.inline-player-body video {
    display: block;
    width: 100%;
    max-height: min(78vh, 720px);
    aspect-ratio: 16 / 9;
    background: #000;
}

.btn-back-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #c40000, #8f0000);
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: all 0.22s ease;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(196, 0, 0, 0.24);
}

.btn-back-dashboard .icon {
    font-size: 1.2rem;
    line-height: 1;
}

.btn-back-dashboard:hover {
    background: linear-gradient(135deg, #d10000, #a00000);
    transform: translateX(-3px);
}

.dashboard-shell {
    padding: 10px 0 56px;
}

.hero,
.dashboard-search,
.folder-slider,
.dashboard-content-panel,
.banner-stack {
    padding-inline: clamp(18px, 4vw, 56px);
}

.hero {
    padding-top: clamp(10px, 2vw, 18px);
    padding-bottom: 10px;
}

.eyebrow,
.active-folder-label,
.locked-teaser-label {
    margin: 0 0 6px;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 900;
}

.hero h1 {
    margin: 0;
    max-width: 640px;
    font-size: clamp(1.34rem, 3.7vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

.hero p:last-child,
.active-folder-header p,
.locked-teaser-description,
.search-results-header p,
.empty-state p,
.locked-teaser-cta p,
.search-results-note {
    color: var(--muted);
    line-height: 1.65;
}

.hero > p:last-child {
    max-width: 52ch;
    margin-top: 8px;
    font-size: 0.92rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.hero-stat,
.dashboard-search-form,
.folder-slider,
.dashboard-content-panel,
.notice-banner,
.video-card,
.locked-teaser-panel,
.active-folder-panel,
.search-results,
.folder-panel-skeleton {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-stat {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.hero-stat span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.74rem;
}

.hero-stat strong {
    font-size: clamp(0.88rem, 1.7vw, 1rem);
    line-height: 1.35;
}

.dashboard-search {
    margin-bottom: 14px;
}

.dashboard-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--surface);
}

.dashboard-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-search-icon {
    color: var(--accent-2);
    font-size: 1.2rem;
}

.dashboard-search-input {
    width: 100%;
    border: 0;
    outline: none;
    color: var(--text);
    background: transparent;
    font-size: 0.94rem;
    font-family: inherit;
}

.dashboard-search-input::placeholder {
    color: #847b73;
}

.dashboard-search-submit,
.dashboard-search-clear,
.dashboard-search-support,
.video-action,
.request-access-btn,
.sample-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 900;
}

.dashboard-search-submit {
    color: #101010;
    background: linear-gradient(135deg, #ffe082, var(--accent-2));
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 176, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 6px;
}

.dashboard-search-submit:hover {
    background: linear-gradient(135deg, #ffffff, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 176, 0, 0.5);
}

.dashboard-search-clear {
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-search-support {
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    justify-content: flex-start;
    min-width: 244px;
    padding-inline: 14px 16px;
    border: 1px solid rgba(255, 176, 0, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 176, 0, 0.2), transparent 52%),
        linear-gradient(135deg, rgba(255, 77, 54, 0.22), rgba(255, 176, 0, 0.14));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.dashboard-search-support:hover {
    border-color: rgba(255, 176, 0, 0.34);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.dashboard-search-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: 0 0 auto;
    background: rgba(0, 0, 0, 0.22);
    color: #ffd36a;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dashboard-search-support-copy {
    display: grid;
    gap: 2px;
    line-height: 1.2;
}

.dashboard-search-support-copy strong {
    font-size: 0.88rem;
    color: rgba(255, 248, 236, 0.98);
}

.dashboard-search-support-copy small {
    color: rgba(255, 240, 214, 0.74);
    font-size: 0.7rem;
}

.folder-slider {
    margin-bottom: 24px;
    position: relative;
}

.folder-slider::after {
    content: "‹ برای مشاهده سایر پوشه‌ها ورق بزنید ›";
    display: none;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-2);
    margin-top: 8px;
    letter-spacing: 0.5px;
    animation: bounceSwipe 1.8s infinite ease-in-out;
}

@media (max-width: 768px) {
    .folder-slider::after {
        display: block;
    }
}

@keyframes bounceSwipe {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-4px); }
}

.folder-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(188px, 228px);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-2) rgba(255, 255, 255, 0.08);
}

.folder-slider-track::-webkit-scrollbar {
    height: 6px;
}

.folder-slider-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.folder-slider-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #facc15, #f59e0b);
}
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.folder-tab,
.folder-tab-empty {
    scroll-snap-align: start;
}

.folder-tab {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
    background: rgba(22, 22, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.folder-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 176, 0, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.folder-tab.is-active {
    border-color: rgba(255, 176, 0, 0.8);
    background: rgba(32, 26, 18, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 176, 0, 0.45) inset, 0 14px 32px rgba(255, 176, 0, 0.22);
}

.folder-tab.is-locked {
    opacity: 0.92;
}

.folder-tab-thumb,
.folder-tab-placeholder,
.locked-teaser-cover,
.locked-teaser-placeholder,
.folder-tab-media,
.locked-teaser-cover-media,
.video-thumb,
.video-thumb-placeholder,
.video-thumb-media,
.locked-sample-media,
.sample-poster {
    overflow: hidden;
    border-radius: 16px;
}

.folder-tab-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 120px;
    width: 100%;
    background: #0f0f12;
}

.folder-tab-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.9) 100%);
}

.folder-tab-overlay-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    width: 100%;
}

.folder-tab-overlay-copy strong {
    display: -webkit-box;
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.folder-tab-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.folder-tab-badge.is-open {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.folder-tab-badge.is-locked {
    color: #facc15;
    background: rgba(234, 179, 8, 0.22);
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.folder-tab-active-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ffe082, var(--accent-2));
    box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.16);
}

.video-thumb,
.locked-sample-preview {
    display: block;
    position: relative;
    overflow: hidden;
}

.video-thumb-link,
.locked-sample-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
}

.folder-tab-thumb img,
.locked-teaser-cover img,
.locked-sample-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    background: #0f0f12;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    background: transparent;
}

.folder-tab-media,
.video-thumb-media,
.locked-teaser-cover-media,
.locked-sample-media {
    background: #0f0f12;
}

.folder-tab-thumb img.is-broken,
.locked-teaser-cover img.is-broken,
.video-thumb img.is-broken,
.locked-sample-preview img.is-broken {
    display: none;
}

.folder-tab-media,
.locked-teaser-cover-media,
.video-thumb-media,
.locked-sample-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.folder-tab-placeholder,
.locked-teaser-placeholder,
.video-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(160deg, rgba(35, 35, 40, 0.92), rgba(17, 17, 17, 0.98) 58%),
        linear-gradient(40deg, rgba(255, 255, 255, 0.04), transparent);
}

.folder-tab-placeholder img,
.locked-teaser-placeholder img,
.video-thumb-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb-placeholder-logo {
    padding: 20px;
    background:
        radial-gradient(circle at center, rgba(255, 77, 54, 0.3), rgba(255, 77, 54, 0.08) 34%, transparent 58%),
        radial-gradient(circle at top, rgba(255, 120, 96, 0.12), transparent 42%),
        linear-gradient(160deg, rgba(22, 10, 12, 0.96), rgba(10, 10, 12, 0.99) 58%);
}

.video-thumb-placeholder-logo img,
.video-thumb-media img.is-logo-fallback {
    object-fit: contain;
    object-position: center center;
    padding: 22px;
    background:
        radial-gradient(circle at center, rgba(255, 77, 54, 0.28), rgba(255, 77, 54, 0.08) 36%, transparent 60%),
        radial-gradient(circle at top, rgba(255, 120, 96, 0.12), transparent 42%),
        linear-gradient(160deg, rgba(22, 10, 12, 0.94), rgba(10, 10, 12, 0.99) 58%);
    filter: drop-shadow(0 0 18px rgba(255, 77, 54, 0.2));
}

.folder-tab-placeholder span,
.locked-teaser-placeholder span,
.video-thumb-placeholder span,
.sample-watermark {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.24);
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 900;
}

.folder-tab-lock {
    display: none !important;
}

.folder-tab-meta {
    display: none !important;
}

.folder-tab-count,
.folder-tab-state {
    color: var(--muted);
    font-size: 0.68rem;
}

.folder-tab-empty,
.empty-state,
.dashboard-content-panel {
    border-radius: 26px;
    background: var(--surface);
}

.folder-tab-empty,
.empty-state {
    padding: 24px;
    color: var(--muted);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.dashboard-empty {
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 8px;
    min-height: 220px;
}

.dashboard-empty h2,
.dashboard-empty h3 {
    margin: 0;
    color: var(--text);
    letter-spacing: -0.04em;
}

.dashboard-empty p {
    margin: 0;
    max-width: 46ch;
}

.empty-state-illustration {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent-2);
    font-size: 1.05rem;
}

.empty-state-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.dashboard-empty-search {
    min-height: 280px;
    justify-items: center;
    text-align: center;
    padding: clamp(24px, 4vw, 40px);
    background:
        radial-gradient(circle at top, rgba(255, 193, 90, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.dashboard-empty-search > * {
    justify-self: center;
}

.dashboard-empty-search-illustration {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    font-size: 1.45rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.dashboard-empty-search-kicker {
    color: var(--accent-2);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-empty-search-actions {
    justify-content: center;
    width: 100%;
    max-width: 760px;
    gap: 14px;
}

.dashboard-empty-action-card {
    flex: 1 1 260px;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.dashboard-empty-action-card.video-action-primary {
    color: #18120a;
    background: linear-gradient(135deg, #ffe9a8, #ffb000);
}

.dashboard-empty-action-card.video-action-secondary {
    color: var(--text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.dashboard-empty-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex: 0 0 auto;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.14);
}

.dashboard-empty-action-copy {
    display: grid;
    gap: 4px;
}

.dashboard-empty-action-copy strong {
    font-size: 0.96rem;
}

.dashboard-empty-action-copy small {
    color: inherit;
    opacity: 0.82;
    font-size: 0.74rem;
}

.dashboard-content-panel {
    min-height: 380px;
    padding: 18px;
    position: relative;
    z-index: 0;
}

.active-folder-panel,
.locked-teaser-panel,
.search-results,
.folder-panel-skeleton {
    padding: clamp(18px, 3vw, 28px);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.active-folder-header,
.search-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.active-folder-header h2,
.locked-teaser-body h2,
.search-results-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 2.15rem);
    letter-spacing: -0.05em;
}

.active-folder-header p,
.search-results-header p,
.locked-teaser-description {
    margin: 6px 0 0;
    max-width: 54ch;
}

.results-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.results-summary-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
    font-weight: 800;
}

.active-folder-badge,
.locked-folder-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 176, 0, 0.18);
    background: rgba(255, 176, 0, 0.08);
    color: var(--accent-2);
    white-space: nowrap;
}

.active-folder-header-tools {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.grid-columns-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.grid-columns-control-label {
    color: var(--muted);
    font-size: 0.8rem;
}

.grid-columns-button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.grid-columns-button:disabled {
    opacity: 0.45;
    cursor: default;
}

.grid-columns-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 800;
}

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

.quick-filter-bar {
    position: sticky;
    top: 0;
    z-index: 9;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
    margin: 0 -4px 14px;
    padding: 12px 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    scrollbar-width: none;
    background:
        radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(18, 18, 20, 0.96), rgba(7, 7, 8, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.quick-filter-bar::-webkit-scrollbar {
    display: none;
}

.quick-filter-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.02);
    color: #f3ece5;
    border-radius: 999px;
    min-height: 42px;
    padding: 9px 16px;
    font: inherit;
    font-size: 0.79rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 24px rgba(0, 0, 0, 0.16);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quick-filter-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffe7b2;
    font-size: 0.86rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.quick-filter-label {
    white-space: nowrap;
}

.quick-filter-button:hover,
.quick-filter-button:focus-visible {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.quick-filter-button:hover .quick-filter-icon,
.quick-filter-button:focus-visible .quick-filter-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.04);
}

.quick-filter-button.is-active {
    color: #161616;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 48%),
        linear-gradient(135deg, #ffe082, var(--accent-2));
    border-color: transparent;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 14px 30px rgba(255, 176, 46, 0.26);
}

.quick-filter-button.is-active .quick-filter-icon {
    background: rgba(22, 22, 22, 0.12);
    color: #1f1711;
}

.video-card {
    display: grid;
    gap: 10px;
    padding: 6px;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at top, rgba(255, 203, 115, 0.06), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(12, 12, 14, 0.98);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.17);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.19);
}

.video-card:focus-within {
    border-color: rgba(255, 176, 0, 0.28);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.video-thumb {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 52%),
        linear-gradient(180deg, rgba(8, 8, 10, 0.96), rgba(18, 18, 22, 0.96));
}

.video-thumb-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.video-thumb-media {
    display: grid;
    place-items: center;
    isolation: isolate;
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f0f12;
}

.video-thumb-media img,
.locked-sample-frame img {
    transition:
        opacity 220ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 260ms ease;
    transform-origin: center center;
}

.video-thumb-media,
.video-thumb-placeholder {
    aspect-ratio: 16 / 9;
}

.video-thumb-media > img,
.locked-sample-frame > img {
    position: relative;
    z-index: 1;
}

.video-thumb-media img,
.video-thumb-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-preview-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
    will-change: opacity, transform, background-position;
    transition:
        opacity 220ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

video.hover-preview-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.hover-preview-layer.is-active {
    opacity: 1;
    transform: scale(1);
}

.video-thumb-duration {
    position: absolute;
    inset-inline-start: 10px;
    inset-block-end: 10px;
    z-index: 5;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    direction: ltr;
}

.is-hover-preview-active img {
    opacity: 0.72;
    transform: scale(0.992);
    filter: saturate(0.96);
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.04), rgba(8, 8, 10, 0.02) 46%, rgba(8, 8, 10, 0.18));
    opacity: 0;
    transition: opacity 180ms ease;
}

.video-card:hover .video-thumb-overlay,
.video-card:focus-within .video-thumb-overlay {
    opacity: 1;
}

.video-card-body {
    display: grid;
    gap: 9px;
    padding: 0 4px 4px;
}

.video-card-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.video-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
}

.video-meta-pill.is-liked-count {
    color: rgba(255, 236, 236, 0.9);
}

.video-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.video-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text);
    border-radius: 999px;
    min-height: 26px;
    padding: 3px 8px;
    font: inherit;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 160ms cubic-bezier(0.175, 0.885, 0.32, 1.275), background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.video-chip:active {
    transform: scale(0.94);
}

.video-chip.is-watch {
    background: rgba(255, 176, 0, 0.12);
    border-color: rgba(255, 176, 0, 0.35);
    color: #ffb000;
}
.video-chip.is-watch:hover {
    background: rgba(255, 176, 0, 0.22);
    border-color: rgba(255, 176, 0, 0.55);
}

.video-chip.is-download {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}
.video-chip.is-download:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.55);
}

.video-chip-overlay {
    background: rgba(6, 6, 6, 0.72);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.video-chip-inline {
    min-height: 30px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.video-chip-icon {
    font-size: 0.7rem;
    line-height: 1;
}

.video-chip:hover,
.video-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-chip.is-pending {
    opacity: 0.7;
    cursor: progress;
}

.video-chip.is-liked {
    background: rgba(255, 77, 54, 0.18);
    border-color: rgba(255, 77, 54, 0.44);
}

.video-chip.is-report {
    color: var(--accent-2);
}

.video-chip.is-confirmed {
    color: var(--success);
    border-color: rgba(135, 245, 165, 0.28);
    background: rgba(135, 245, 165, 0.1);
}


.locked-teaser-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 24px;
    overflow: hidden;
    align-items: start;
}

.locked-teaser-cover {
    position: relative;
    align-self: start;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    background: #0f0f12;
}

.locked-teaser-lock {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-start: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.66);
    font-size: 1.35rem;
}

.locked-teaser-body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
}

.locked-teaser-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.locked-sample-block,
.locked-outline-block,
.locked-teaser-cta {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.locked-sample-block {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 18px;
    align-items: center;
}

.locked-sample-copy h3,
.locked-outline-block h3 {
    margin: 10px 0 8px;
    font-size: 1.2rem;
}

.locked-sample-copy p,
.locked-teaser-cta p {
    margin: 0;
}

.sample-tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-2);
    color: #111;
    font-size: 0.76rem;
    font-weight: 900;
}

.locked-sample-preview {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.locked-sample-link {
    display: block;
    width: 100%;
    min-width: 0;
}

.locked-sample-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 18px;
    background: #0f0f12;
}

.locked-teaser-cover-media,
.locked-sample-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.locked-teaser-cover-media img,
.locked-sample-media img,
.locked-sample-frame img,
.locked-sample-frame > img,
.locked-sample-preview img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: fill;
    object-position: center center;
    background: #0f0f12;
}

.locked-sample-preview img,
.sample-poster {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.sample-poster {
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(35, 35, 40, 0.92), rgba(17, 17, 17, 0.98) 58%),
        linear-gradient(40deg, rgba(255, 255, 255, 0.04), transparent);
}

.sample-file {
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-panel {
    max-width: 820px;
}

.suggestion-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.suggestion-card h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

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

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

.suggestion-form input,
.suggestion-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.24);
    color: var(--text);
    font: inherit;
}

.suggestion-submit {
    justify-self: start;
    padding: 12px 18px;
    border-radius: 16px;
}

.dashboard-notice-stack,
.dashboard-inline-messages {
    display: grid;
    gap: 10px;
}

.dashboard-notice-stack {
    margin-bottom: 16px;
}

.dashboard-message {
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    line-height: 1.7;
    animation: dashboard-message-in 180ms ease;
}

.dashboard-message.is-success {
    border-color: rgba(96, 220, 156, 0.28);
    background: rgba(96, 220, 156, 0.12);
}

.dashboard-message.is-error {
    border-color: rgba(255, 111, 97, 0.28);
    background: rgba(255, 111, 97, 0.12);
}

.dashboard-message.is-warning {
    border-color: rgba(255, 196, 92, 0.28);
    background: rgba(255, 196, 92, 0.12);
}

.sample-poster {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: space-between;
    padding: 22px;
    background:
        linear-gradient(160deg, rgba(35, 35, 40, 0.94), rgba(17, 17, 17, 0.98) 54%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04), transparent);
}

.sample-file,
.sample-badge {
    position: relative;
    z-index: 1;
}

.sample-file {
    max-width: 15ch;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
}

.sample-badge {
    justify-self: start;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--accent-2);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 176, 0, 0.18);
    font-size: 0.72rem;
    font-weight: 900;
}

.sample-download-button,
.request-access-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    color: #fff;
    background: linear-gradient(135deg, #ff5b44, #de2711);
    box-shadow: 0 16px 34px rgba(255, 77, 54, 0.2);
}

.locked-outline-list {
    margin: 12px 0 0;
    padding: 0 18px 0 0;
    color: var(--muted);
    line-height: 1.9;
}

.locked-teaser-cta {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
}

.search-results-note {
    margin: 18px 0 0;
}

.skeleton-grid {
    margin-top: 14px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: dashboard-skeleton 1.2s infinite;
}

.skeleton-label {
    width: 96px;
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-title {
    width: min(260px, 62%);
    height: 24px;
    margin-bottom: 8px;
}

.skeleton-text {
    width: min(420px, 88%);
    height: 11px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: min(340px, 70%);
}

.skeleton-thumb {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.skeleton-chip-row {
    width: 54%;
    height: 12px;
}

.skeleton-button {
    width: 100%;
    height: 32px;
}

.notice-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    overflow: hidden;
}

.notice-banner::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--accent-2);
}

.notice-banner strong {
    display: block;
    margin-bottom: 6px;
}

.notice-banner p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.notice-banner a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    background: linear-gradient(135deg, #ffd54f, var(--accent-2));
    font-weight: 900;
}

.notice-info::before { background: #38bdf8; }
.notice-success::before { background: #22c55e; }
.notice-warning::before { background: #f59e0b; }
.notice-error::before { background: #ef4444; }

.notice-info {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.04));
}

.notice-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(255, 255, 255, 0.04));
}

.notice-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.04));
}

.notice-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(255, 255, 255, 0.04));
}

.watermark-info {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 15;
    max-width: min(360px, calc(100vw - 32px));
    padding: 10px 14px;
    border-radius: 14px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

@keyframes dashboard-skeleton {
    to {
        transform: translateX(-100%);
    }
}

@keyframes dashboard-message-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .locked-teaser-panel,
    .locked-sample-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .topbar,
    .top-actions,
    .active-folder-header,
    .search-results-header,
    .notice-banner,
    .dashboard-search-form {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-search-form {
        display: grid;
    }

    .topbar {
        align-items: stretch;
    }

    .site-logo {
        justify-content: center;
    }

    .folder-slider-track {
        grid-auto-columns: minmax(200px, 84vw);
    }

    .watermark-info {
        position: static;
        margin: 18px;
    }
}

@media (max-width: 560px) {
    .dashboard-shell {
        padding-bottom: 46px;
    }

    .hero {
        padding-top: 6px;
        padding-bottom: 8px;
    }

    .hero > p:last-child {
        margin-top: 6px;
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .dashboard-content-panel,
    .active-folder-panel,
    .locked-teaser-panel,
    .search-results,
    .folder-panel-skeleton {
        padding: 14px;
    }

    .topbar {
        padding-inline: 12px;
    }

    .top-actions {
        gap: 5px;
    }

    .user-pill,
    .subscription-pill,
    .top-actions button,
    .topbar-link {
        min-height: 28px;
        font-size: 0.68rem;
    }

    .quick-filter-bar {
        top: 0;
        z-index: 12;
        margin-inline: -6px;
        padding: 8px 6px 10px;
    }

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

    html[data-grid-columns="1"] .video-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .active-folder-header-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .video-card {
        gap: 5px;
        padding: 5px;
        border-radius: 22px;
    }

    .active-folder-header,
    .search-results-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .active-folder-header h2,
    .search-results-header h2 {
        font-size: 1.16rem;
    }

    .results-summary-strip {
        margin-top: 8px;
    }

    .results-summary-pill {
        min-height: 26px;
        padding-inline: 8px;
        font-size: 0.64rem;
    }

    .dashboard-empty {
        min-height: 180px;
    }

    .video-title-overlay {
        font-size: 0.78rem;
        line-height: 1.22;
    }

    .video-touch-hint {
        font-size: 0.58rem;
    }

    .folder-tab-overlay {
        padding: 8px;
    }

    .folder-tab-overlay-copy strong {
        font-size: 0.8rem;
    }

    .video-meta {
        gap: 6px;
        align-items: stretch;
    }

    .video-feedback-row {
        gap: 4px;
    }

    .video-chip {
        flex: 0 1 auto;
        justify-content: center;
        min-height: 28px;
        padding-inline: 7px;
        font-size: 0.68rem;
    }

    .video-action {
        width: auto;
        min-height: 28px;
        padding-inline: 7px;
        font-size: 0.66rem;
    }

    .video-chip-label-report {
        display: none;
    }
}

/* Accessibility: Keyboard focus visible states */
.top-actions button:focus-visible,
.topbar-link:focus-visible,
.dashboard-search-submit:focus-visible,
.dashboard-search-clear:focus-visible,
.dashboard-search-support:focus-visible,
.video-action:focus-visible,
.request-access-btn:focus-visible,
.sample-download-button:focus-visible,
.dashboard-search-input:focus-visible,
.grid-columns-button:focus-visible,
.video-chip:focus-visible,
.video-thumb-link:focus-visible,
.folder-tab:focus-visible,
.dashboard-watch-close:focus-visible,
.dashboard-watch-download:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--bg, #050505), 0 0 0 4px var(--accent-2, #ffb000) !important;
}

.dashboard-search-input:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 2px var(--bg, #050505), 0 0 0 4px var(--accent-2, #ffb000) !important;
}

/* Video Card Hover State (Report #19) */
.video-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 176, 0, 0.15);
    border-color: rgba(255, 176, 0, 0.3);
}
.video-thumb-link:hover .video-thumb-media img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ========================================================
   iOS Glassmorphism Design System (Buttons & Mobile Dock)
   ======================================================== */
.btn-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    color: #ffffff;
    box-shadow: 
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.3),
        0 8px 24px -4px rgba(0, 0, 0, 0.45);
    transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 1px 2px 0 rgba(255, 255, 255, 0.5),
        0 12px 28px -4px rgba(0, 0, 0, 0.55);
    color: #ffffff;
}

.btn-glass:active,
.btn-glass.active-press {
    transform: scale(0.95) !important;
    box-shadow: 
        inset 0 2px 4px 0 rgba(0, 0, 0, 0.4),
        0 4px 12px -2px rgba(0, 0, 0, 0.35);
    transition-duration: 0.08s;
}

.btn-glass:focus-visible {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(255, 176, 0, 0.4),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
}

/* Gold Variant */
.btn-glass-gold {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.32) 0%, rgba(180, 83, 9, 0.2) 100%);
    border-color: rgba(250, 204, 21, 0.45);
    color: #fef08a;
    box-shadow: 
        inset 0 1px 1.5px 0 rgba(254, 240, 138, 0.6),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.35),
        0 8px 25px -4px rgba(234, 179, 8, 0.35);
}

.btn-glass-gold:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.48) 0%, rgba(180, 83, 9, 0.3) 100%);
    border-color: rgba(250, 204, 21, 0.7);
    color: #ffffff;
    box-shadow: 
        inset 0 1px 2px 0 rgba(254, 240, 138, 0.8),
        0 12px 30px -2px rgba(234, 179, 8, 0.5);
}

/* Emerald Variant */
.btn-glass-emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.32) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(52, 211, 153, 0.45);
    color: #a7f3d0;
    box-shadow: 
        inset 0 1px 1.5px 0 rgba(167, 243, 208, 0.6),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.35),
        0 8px 25px -4px rgba(16, 185, 129, 0.35);
}

.btn-glass-emerald:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.48) 0%, rgba(5, 150, 105, 0.3) 100%);
    border-color: rgba(52, 211, 153, 0.7);
    color: #ffffff;
    box-shadow: 
        inset 0 1px 2px 0 rgba(167, 243, 208, 0.8),
        0 12px 30px -2px rgba(16, 185, 129, 0.5);
}

/* Danger Variant */
.btn-glass-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.32) 0%, rgba(185, 28, 28, 0.2) 100%);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
    box-shadow: 
        inset 0 1px 1.5px 0 rgba(254, 202, 202, 0.6),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.35),
        0 8px 25px -4px rgba(239, 68, 68, 0.35);
}

.btn-glass-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.48) 0%, rgba(185, 28, 28, 0.3) 100%);
    border-color: rgba(248, 113, 113, 0.7);
    color: #ffffff;
    box-shadow: 
        inset 0 1px 2px 0 rgba(254, 202, 202, 0.8),
        0 12px 30px -2px rgba(239, 68, 68, 0.5);
}

/* Smoky Variant */
.btn-glass-smoky {
    background: rgba(28, 28, 36, 0.65);
    border-color: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    box-shadow: 
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 2px 0 rgba(0, 0, 0, 0.4),
        0 8px 24px -4px rgba(0, 0, 0, 0.5);
}

.btn-glass-smoky:hover {
    background: rgba(40, 40, 52, 0.8);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Floating Glass Mobile Dock (iOS Tabbar) */
.ios-glass-dock {
    display: none;
}

@media (max-width: 768px) {
    .ios-glass-dock {
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 4px;
        padding: 8px 12px;
        width: calc(100% - 24px);
        max-width: 420px;
        background: rgba(18, 18, 24, 0.82);
        -webkit-backdrop-filter: blur(24px) saturate(190%);
        backdrop-filter: blur(24px) saturate(190%);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 28px;
        box-shadow: 
            inset 0 1px 1px 0 rgba(255, 255, 255, 0.3),
            0 12px 40px rgba(0, 0, 0, 0.65);
    }
    .ios-glass-dock a, .ios-glass-dock button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 8px;
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.72rem;
        font-weight: 600;
        text-decoration: none;
        border-radius: 16px;
        border: none;
        background: transparent;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
    .ios-glass-dock a:active, .ios-glass-dock button:active {
        transform: scale(0.92);
    }
    .ios-glass-dock a.active, .ios-glass-dock a:hover {
        color: #fef08a;
        background: rgba(255, 255, 255, 0.1);
    }
    .ios-glass-dock svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
    }
    body.user-dashboard {
        padding-bottom: 80px;
    }
}


/* ========================================================
   Minimalist Luxury Dark Mode (Apple TV / HBO Max Aesthetic)
   ======================================================== */
.dashboard-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 4px;
}

.dashboard-header-title h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.dashboard-header-title p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0;
}

/* Minimalist Video Card */
.video-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(18, 18, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 204, 21, 0.08);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #09090d;
    border-radius: 18px 18px 0 0;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-card:hover .video-thumb-overlay {
    opacity: 1;
}

.video-play-center-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.95);
    color: #09090b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transform: scale(0.85);
    transition: transform 0.2s ease;
}

.video-card:hover .video-play-center-btn {
    transform: scale(1);
}

.video-quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.5px;
}

.video-thumb-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f1f5f9;
}

.video-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-card-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.4;
}

.video-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-card-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-card-watch-btn:hover {
    background: #facc15;
    border-color: #facc15;
    color: #09090b;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
}

.video-card-watch-btn.is-locked {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.video-card-watch-btn.is-locked:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.3);
    color: #facc15;
}

/* Folder Tabs Minimalist Luxury */
.folder-slider-track {
    gap: 16px;
    padding: 8px 4px 16px;
}

.folder-tab {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 24, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.folder-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.folder-tab.is-active {
    border-color: rgba(250, 204, 21, 0.6);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.18);
}

.folder-tab-badge.is-locked {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
}

.folder-tab-badge.is-open {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

/* Active Folder Panel Header */
.active-folder-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.active-folder-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 6px;
}

.active-folder-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
}

.active-folder-badge {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: #facc15;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

/* Locked Teaser Luxury Panel */
.locked-teaser-panel {
    background: rgba(18, 18, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.locked-teaser-cover {
    aspect-ratio: 16 / 9;
    max-height: 380px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #09090d;
    margin-bottom: 28px;
}

.locked-teaser-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.locked-teaser-lock {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
}

.locked-badge {
    display: inline-block;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: #facc15;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.locked-teaser-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 8px;
}

.locked-teaser-description {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 0 16px;
    max-width: 600px;
}

.locked-folder-count {
    display: inline-block;
    color: #64748b;
    font-size: 0.82rem;
    margin-bottom: 24px;
}

.locked-sample-block {
    margin: 24px 0 32px;
}

.locked-sample-frame {
    aspect-ratio: 16 / 9;
    max-width: 480px;
    border-radius: 14px;
    overflow: hidden;
    background: #09090d;
    position: relative;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.locked-sample-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.locked-teaser-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-footer {
    text-align: center;
    padding: 40px 16px 24px;
    color: #64748b;
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}


/* ==========================================================================
   HOH COMPLETE LIGHT MODE SUITE
   ========================================================================== */
[data-theme="light"] {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --surface-3: #e2e8f0;
    --border: rgba(0, 0, 0, 0.1);
    --text: #0f172a;
    --muted: #64748b;
    --accent: #d97706;
    --accent-2: #b45309;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color-scheme: light;
}

[data-theme="light"] body {
    color: #0f172a !important;
    background: #f8fafc !important;
}

[data-theme="light"] body::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(241, 245, 249, 0.9)) !important;
}

[data-theme="light"] .topbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .topbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .topbar-link {
    color: #334155 !important;
}

[data-theme="light"] .topbar-link:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .site-logo-text {
    color: #0f172a !important;
}

[data-theme="light"] .user-pill {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .dashboard-header-title h1,
[data-theme="light"] .bet-header h1,
[data-theme="light"] .config-header h1,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3 {
    color: #0f172a !important;
}

[data-theme="light"] .dashboard-header-title p,
[data-theme="light"] .bet-header p,
[data-theme="light"] .config-header p,
[data-theme="light"] p {
    color: #64748b !important;
}

[data-theme="light"] .dashboard-search-input {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .dashboard-search-input::placeholder {
    color: #94a3b8 !important;
}

[data-theme="light"] .folder-tab {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .folder-tab:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
}

[data-theme="light"] .folder-tab.is-active {
    border-color: #d97706 !important;
    background: #fffbeb !important;
}

[data-theme="light"] .folder-tab-overlay-copy strong {
    color: #0f172a !important;
}

[data-theme="light"] .video-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .video-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .video-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .video-card-watch-btn {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .video-card-watch-btn:hover {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #d97706 !important;
}

[data-theme="light"] .btn-glass {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .btn-glass:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

[data-theme="light"] .btn-glass-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border-color: #d97706 !important;
}

[data-theme="light"] .btn-glass-gold:hover {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
}

[data-theme="light"] .ios-glass-dock {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .ios-glass-dock a {
    color: #64748b !important;
}

[data-theme="light"] .ios-glass-dock a.active {
    color: #d97706 !important;
}

[data-theme="light"] .dashboard-footer {
    color: #94a3b8 !important;
    border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .empty-state {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .dashboard-watch-overlay .dashboard-watch-dialog {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] .dashboard-watch-header {
    border-bottom: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

[data-theme="light"] #dashboard-watch-title {
    color: #0f172a !important;
}

[data-theme="light"] .dashboard-watch-close {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .raffle-card,
[data-theme="light"] .bet-card,
[data-theme="light"] .config-item,
[data-theme="light"] .wallet-badge-card,
[data-theme="light"] section[style*="background: rgba(18, 18, 24"] {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="number"],
[data-theme="light"] input[type="search"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15) !important;
}

/* ==========================================================================
   Pornhub-Style Mobile Header Optimization & Age Gate Modal
   ========================================================================== */

/* Compact Sleek Topbar on Mobile (< 768px) */
@media (max-width: 768px) {
    .topbar {
        padding: 6px 12px !important;
        gap: 6px !important;
        min-height: 48px;
        background: rgba(10, 10, 14, 0.96) !important;
    }
    
    .site-logo img {
        height: 24px !important;
    }

    /* Hide desktop nav links that exist in mobile glass dock */
    .top-actions .topbar-link:not(.topbar-link-config),
    .top-actions .subscription-pill,
    .top-actions .user-pill,
    .top-actions form button {
        display: none !important;
    }

    .top-actions {
        gap: 6px !important;
    }

    .theme-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .lang-selector-wrap button {
        padding: 0 6px !important;
        height: 32px !important;
        font-size: 0.75rem !important;
    }

    .top-actions .topbar-link-config {
        padding: 4px 10px !important;
        min-height: 28px !important;
        font-size: 0.72rem !important;
    }
}

/* Pornhub 18+ Age Verification Modal */
.hornhub-age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: inherit;
}

.hornhub-age-gate-dialog {
    max-width: 580px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: ageGateFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ageGateFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.hornhub-age-gate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hornhub-age-gate-logo img {
    height: 48px;
    width: auto;
}

.hornhub-age-gate-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hornhub-age-gate-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hornhub-age-gate-text {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 32px;
    max-width: 500px;
}

.hornhub-age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 380px;
}

.hornhub-age-gate-btn-enter {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hornhub-age-gate-btn-enter:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hornhub-age-gate-btn-exit {
    width: 100%;
    padding: 12px 20px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hornhub-age-gate-btn-exit:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* ==========================================================================
   Smooth Page Transition Overlay (Sensual Cherry Lip Loader)
   ========================================================================== */
.hornhub-page-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: radial-gradient(circle at center, #180309 0%, #060103 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hornhub-page-loader-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hornhub-page-loader-art {
    width: clamp(240px, 45vw, 380px);
    height: auto;
    filter: drop-shadow(0 0 35px rgba(255, 0, 85, 0.45));
    animation: loaderArtFloat 2.6s ease-in-out infinite alternate;
}

@keyframes loaderArtFloat {
    0% { transform: translateY(0px) scale(0.98); }
    100% { transform: translateY(-8px) scale(1.02); }
}

.hornhub-page-loader-progress-bar {
    width: clamp(160px, 30vw, 220px);
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 24px;
    position: relative;
}

.hornhub-page-loader-progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #ff0055, #facc15);
    border-radius: 999px;
    animation: loaderLineSweep 1.2s infinite ease-in-out;
}

@keyframes loaderLineSweep {
    0% { left: -40%; width: 30%; }
    50% { width: 60%; }
    100% { left: 100%; width: 30%; }
}

.hornhub-page-loader-text {
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    animation: loaderTextPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderTextPulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.95; }
}
