/* ============================================================
   MM Library – Main Stylesheet
   Font: Poppins (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
    --primary:       #4f46e5;
    --primary-dark:  #3730a3;
    --primary-light: #818cf8;
    --secondary:     #06b6d4;
    --surface:       #ffffff;
    --surface-2:     #f8fafc;
    --surface-3:     #f1f5f9;
    --border:        #e2e8f0;
    --text:          #1e293b;
    --text-muted:    #64748b;
    --text-light:    #94a3b8;
    --success:       #22c55e;
    --warning:       #f59e0b;
    --danger:        #ef4444;
    --sidebar-w:     280px;
    --header-h:      64px;
    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:     0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
    --transition:    0.2s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--surface-2);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ── App Shell ────────────────────────────────────────────── */
.app-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 16px;
    padding: 0 24px;
    box-shadow: var(--shadow);
}

.app-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.1rem; font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.app-logo svg { width: 28px; height: 28px; flex-shrink: 0; }

.header-search {
    flex: 1; max-width: 520px; margin: 0 auto;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 9px 16px 9px 40px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: .9rem;
    font-family: inherit;
    background: var(--surface-3);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.header-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.15);
    background: var(--surface);
}
.header-search .search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none;
    width: 16px; height: 16px;
}

.header-actions {
    display: flex; align-items: center; gap: 8px; margin-left: auto;
}

.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px;
    border: none; border-radius: var(--radius-sm);
    font-size: .875rem; font-weight: 500;
    font-family: inherit;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: var(--surface-3); color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 5px 12px; font-size: .8rem; }
.btn-icon {
    width: 36px; height: 36px; padding: 0;
    background: var(--surface-3); color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-icon:hover { background: var(--border); color: var(--text); }
.btn-icon svg { width: 16px; height: 16px; }

/* ── Layout ───────────────────────────────────────────────── */
.app-body {
    display: flex;
    margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    padding: 16px 0;
    transition: transform var(--transition);
}

.sidebar-title {
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-muted);
    padding: 8px 20px 6px;
}

/* Accordion section */
.nav-section { border-bottom: 1px solid var(--surface-3); }

.nav-section-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px;
    font-size: .875rem; font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition);
    user-select: none;
}
.nav-section-header:hover { background: var(--surface-3); }
.nav-section-header.active { color: var(--primary); }

.nav-section-header .chevron {
    width: 16px; height: 16px;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.nav-section-header.open .chevron { transform: rotate(90deg); }

.nav-topics {
    display: none;
    padding: 4px 0 8px;
}
.nav-topics.open { display: block; }

.nav-topic {
    display: block;
    padding: 7px 20px 7px 36px;
    font-size: .825rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    border-left: 2px solid transparent;
}
.nav-topic:hover { color: var(--text); background: var(--surface-3); }
.nav-topic.active {
    color: var(--primary);
    background: rgba(79,70,229,.07);
    border-left-color: var(--primary);
    font-weight: 500;
}

/* ── Main Content ─────────────────────────────────────────── */
.main-content {
    flex: 1;
    padding: 28px 32px;
    min-width: 0;
}

.content-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.content-header h1 {
    font-size: 1.4rem; font-weight: 700;
    color: var(--text);
}
.breadcrumb {
    font-size: .8rem; color: var(--text-muted);
    margin-top: 2px;
}
.breadcrumb span { font-weight: 500; color: var(--text); }

/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.filter-bar select {
    padding: 7px 32px 7px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-family: inherit;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none; appearance: none;
    color: var(--text);
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition);
}
.filter-bar select:focus { border-color: var(--primary); }

.results-count {
    font-size: .8rem; color: var(--text-muted); margin-left: auto;
}

/* ── Video Grid ───────────────────────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ── Video Card ───────────────────────────────────────────── */
.video-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    display: flex; flex-direction: column;
    border: 1px solid var(--border);
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}
.card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}
.video-card:hover .card-thumb img { transform: scale(1.05); }

.card-thumb .play-btn {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.25);
    transition: background var(--transition);
}
.video-card:hover .play-btn { background: rgba(0,0,0,.45); }

.play-btn svg {
    width: 52px; height: 52px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
    transition: transform var(--transition);
}
.video-card:hover .play-btn svg { transform: scale(1.1); }

.source-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: .7rem; font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.badge-s3 { background: rgba(79,70,229,.85); color: #fff; }
.badge-youtube { background: rgba(220,38,38,.9); color: #fff; }

.card-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.card-thumb-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,.6); }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.card-topic {
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 6px;
}

.card-title {
    font-size: .95rem; font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.card-meta {
    display: flex; align-items: center; gap: 12px;
    margin-top: 12px;
    font-size: .78rem; color: var(--text-muted);
}
.card-meta svg { width: 13px; height: 13px; flex-shrink: 0; }

.card-actions {
    display: flex; gap: 8px;
    padding: 0 16px 16px;
}
.card-actions .btn { flex: 1; justify-content: center; }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
    grid-column: 1 / -1;
    display: flex; flex-direction: column; align-items: center;
    padding: 64px 32px; text-align: center;
    color: var(--text-muted);
}
.empty-state svg { width: 72px; height: 72px; margin-bottom: 20px; opacity: .4; }
.empty-state h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: var(--surface);
    border-radius: var(--radius);
    width: 100%; max-width: 860px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,.3);
    transform: scale(.95);
    transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 20px 24px 0;
    gap: 16px;
}
.modal-header h2 { font-size: 1.1rem; font-weight: 600; }
.modal-close {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--surface-3); border: none;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }

.modal-video {
    margin: 16px 0;
    aspect-ratio: 16/9;
    background: #000;
}
.modal-video video, .modal-video iframe {
    width: 100%; height: 100%; border: none; display: block;
}
.modal-video .video-loading {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-3);
    color: var(--text-muted);
}
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal-body { padding: 0 24px 24px; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.modal-meta-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); }
.modal-meta-item svg { width: 14px; height: 14px; }
.modal-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.7; }

.expiry-select {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; color: var(--text-muted); margin-top: 12px;
}
.expiry-select select {
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .8rem; font-family: inherit;
}

/* ── Toast notifications ──────────────────────────────────── */
.toast-container {
    position: fixed; bottom: 24px; right: 24px; z-index: 2000;
    display: flex; flex-direction: column; gap: 8px;
}
.toast {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: .875rem; font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    animation: slideUp .25s ease;
    min-width: 240px;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } }
.toast-success { background: #dcfce7; color: #166534; }
.toast-error   { background: #fee2e2; color: #991b1b; }
.toast-info    { background: #dbeafe; color: #1e40af; }

/* ── User avatar / menu ───────────────────────────────────── */
.user-menu {
    position: relative;
}
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .85rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: 2px solid var(--border);
}
.user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 200;
}
.user-menu.open .user-dropdown { display: block; }
.user-dropdown a, .user-dropdown button {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    font-size: .875rem; color: var(--text);
    background: none; border: none; width: 100%; text-align: left;
    transition: background var(--transition);
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface-3); }
.user-dropdown a svg, .user-dropdown button svg { width: 15px; height: 15px; }
.user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ── Admin Layout ─────────────────────────────────────────── */
.admin-sidebar {
    width: 240px; flex-shrink: 0;
    background: #1e293b;
    min-height: calc(100vh - var(--header-h));
    position: sticky; top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 20px 0;
}
.admin-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    font-size: .875rem; color: #94a3b8;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-nav-item.active { color: #fff; background: rgba(79,70,229,.3); border-left-color: var(--primary); }
.admin-nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.admin-nav-section {
    padding: 16px 20px 4px;
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    color: #475569;
}

.admin-content { flex: 1; padding: 28px 32px; min-width: 0; }

/* ── Data Table ───────────────────────────────────────────── */
.data-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.data-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.data-card-header h3 { font-size: 1rem; font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th {
    text-align: left; padding: 10px 16px;
    background: var(--surface-3);
    font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--surface-3);
    color: var(--text);
    vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-3); }

.badge {
    display: inline-flex; align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: .72rem; font-weight: 600;
    text-transform: uppercase;
}
.badge-active   { background: #dcfce7; color: #166534; }
.badge-inactive { background: #fee2e2; color: #991b1b; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: .85rem; font-weight: 500;
    color: var(--text); margin-bottom: 6px;
}
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
textarea.form-control { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

/* ── Upload Zone ──────────────────────────────────────────── */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--surface);
}
.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--primary);
    background: rgba(79,70,229,.04);
}
.upload-zone svg { width: 48px; height: 48px; color: var(--text-light); margin: 0 auto 16px; }
.upload-zone p { color: var(--text-muted); font-size: .9rem; }
.upload-zone strong { color: var(--primary); }
.upload-zone input[type=file] { display: none; }

/* ── Progress bar ─────────────────────────────────────────── */
.progress-bar-wrap {
    background: var(--surface-3);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-top: 8px;
}
.progress-bar {
    height: 100%; background: var(--primary);
    border-radius: 4px;
    transition: width .3s ease;
}

/* ── Stats cards ──────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: var(--shadow);
}
.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-icon.blue { background: #dbeafe; color: #1d4ed8; }
.stat-icon.green { background: #dcfce7; color: #16a34a; }
.stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.stat-icon.orange { background: #ffedd5; color: #c2410c; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.stat-label { font-size: .78rem; color: var(--text-muted); }

/* ── Favorites heart ─────────────────────────────────────── */
.fav-btn {
    position: absolute; top: 10px; left: 10px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}
.fav-btn.active { color: #ef4444; }
.fav-btn:hover { background: #fff; transform: scale(1.1); }
.fav-btn svg { width: 15px; height: 15px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .main-content { padding: 20px 20px; }
    .admin-content { padding: 20px; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
    :root { --sidebar-w: 100%; }

    .app-header { padding: 0 16px; gap: 10px; }
    .header-search { display: none; }
    .header-search.show { display: block; position: fixed; top: var(--header-h); left: 0; right: 0; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }

    .sidebar {
        position: fixed; left: 0; top: var(--header-h); z-index: 50;
        transform: translateX(-100%);
        border-right: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .sidebar.open { transform: translateX(0); }

    .main-content { padding: 16px; }

    .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

    .form-row { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .modal { max-width: 100%; margin: 0; border-radius: var(--radius) var(--radius) 0 0; }
    .modal-overlay { align-items: flex-end; padding: 0; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Sidebar overlay for mobile ──────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 49;
    background: rgba(0,0,0,.4);
}
.sidebar-overlay.show { display: block; }

/* ── Loading skeleton ─────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--surface-3) 25%, var(--border) 50%, var(--surface-3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.skeleton-thumb { height: 160px; }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 12px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.shorter { width: 40%; }
