/* ============================================================
   PFLEGE AKADEMIE — LEARNING PLATFORM DESIGN SYSTEM v2
   Professional education UI. Light default, dark optional.
   One accent. Typography-led. Zero emoji, zero glassmorphism.
   Theme: <html data-theme="light|dark"> persisted in localStorage.
   ============================================================ */

:root,
[data-theme="light"] {
    --bg:            #faf9f5;
    --bg-2:          #eef0f3;
    --surface:       #ffffff;
    --surface-2:     #f6f7f9;
    --surface-3:     #eef0f3;
    --line:          #e3e6ea;
    --line-strong:   #ccd2d9;
    --ink:           #14181d;
    --ink-soft:      #3c444d;
    --muted:         #6b7480;
    --faint:         #99a1ab;
    --accent:        #1e6f50;
    --accent-deep:   #17573f;
    --accent-soft:   rgba(30,111,80,0.12);
    --accent-line:   rgba(30,111,80,0.12);
    --success: #1e6f50;
    --error:         #c0392b;
    /* Subject category hues — theme-invariant, desaturated, harmonious with Sage green */
    --hue-physio:        #a0555f;
    --hue-hygiene:       #3d7a6a;
    --hue-communication: #6a5f80;
    --hue-legal:         #506880;
    --hue-psych:         #7a5578;
    --hue-geriatric:     #a0803a;
    --amber:         #b45309;
    --amber-soft:    rgba(180,83,9,0.10);
    --amber-line:    rgba(180,83,9,0.28);
    --red:           #b3261e;
    --red-soft:      rgba(179,38,30,0.08);
    --blue:          #1865f2;
    --blue-soft:     rgba(24,101,242,0.08);
    --shadow-sm:     0 1px 2px rgba(20,24,29,0.05), 0 2px 8px rgba(20,24,29,0.05);
    --shadow-md:     0 2px 4px rgba(20,24,29,0.05), 0 12px 32px rgba(20,24,29,0.09);
    --nav-bg:        rgba(255,255,255,0.85);
    --scrollbar:     #ccd2d9;
}

[data-theme="dark"] {
    --bg:            #0b0e11;
    --bg-2:          #10141a;
    --surface:       #141b22;
    --surface-2:     #1a232b;
    --surface-3:     #202b34;
    --line:          #22272e;
    --line-strong:   #33424e;
    --ink:           #eef2f4;
    --ink-soft:      #b9c2c9;
    --muted:         #84909a;
    --faint:         #5b6770;
    --accent:        #1e6f50;
    --accent-deep:   #17573f;
    --accent-soft:   rgba(30,111,80,0.16);
    --accent-line:   rgba(30,111,80,0.16);
    --success: #2a7f5e;
    --error:         #e05d4a;
    --amber:         #f2b53a;
    --amber-soft:    rgba(242,181,58,0.10);
    --amber-line:    rgba(242,181,58,0.28);
    --red:           #e4644f;
    --red-soft:      rgba(228,100,79,0.10);
    --blue:          #5b9bff;
    --blue-soft:     rgba(91,155,255,0.10);
    --shadow-sm:     0 1px 0 rgba(255,255,255,0.03) inset, 0 2px 8px rgba(0,0,0,0.35);
    --shadow-md:     0 1px 0 rgba(255,255,255,0.03) inset, 0 16px 48px rgba(0,0,0,0.45);
    --nav-bg:        rgba(12,16,21,0.82);
    --scrollbar:     #33424e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s, color 0.2s;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- FONTS / TYPE ---------- */
.display-1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; overflow-wrap: break-word; }
.display-2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
.h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- NAV ---------- */
.main-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.main-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
    width: 32px; height: 32px; border-radius: 8px; background: var(--accent);
    display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-name span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.87rem; font-weight: 500; color: var(--muted); padding: 8px 13px; border-radius: 8px; transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--ink); background: var(--surface-2); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
    width: 38px; height: 38px; border-radius: 9px;
    background: var(--surface); border: 1px solid var(--line);
    display: grid; place-items: center; cursor: pointer;
    color: var(--muted); transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.mobile-nav-toggle { display: none; width: 38px; height: 38px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; cursor: pointer; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 9px;
    font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-lg { padding: 14px 28px; font-size: 0.96rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- BADGES / KICKERS ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; padding: 5px 13px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

/* ---------- PAGE HEAD ---------- */
.page-head { padding: 84px 0 48px; }
.page-head h1 { margin-bottom: 16px; }
.page-head p { color: var(--ink-soft); font-size: 1.04rem; max-width: 660px; line-height: 1.7; }

/* ---------- SECTIONS ---------- */
.section { padding: 64px 0; }
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--ink-soft); max-width: 640px; }

/* ---------- CARDS ---------- */
.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; padding: 30px 28px;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.icon-tile {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.amber { background: var(--amber-soft); color: var(--amber); }
.icon-tile.blue { background: var(--blue-soft); color: var(--blue); }
.icon-tile.red { background: var(--red-soft); color: var(--red); }

/* ---------- COURSE CARDS ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.course-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    padding: 32px 30px; display: flex; flex-direction: column; position: relative;
    text-decoration: none; color: var(--ink);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.course-card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card.featured { border-color: var(--accent); }
.course-badge { position: absolute; top: 24px; right: 24px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.badge-assistenz { background: var(--blue-soft); color: var(--blue); }
.badge-kraft { background: var(--accent-soft); color: var(--accent); }
.featured-tag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.course-card .icon-tile { margin-bottom: 20px; }
.course-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.course-card .course-desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }
.course-features { list-style: none; margin-bottom: 22px; }
.course-features li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 0.87rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.course-features li:first-child { border-top: none; }
.course-features li::before { content: ''; width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }
.course-exam { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 0.83rem; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.6; }
.course-exam strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.course-card .btn { margin-top: auto; }

/* ---------- STAT / KPI ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat-cell { background: var(--surface); padding: 24px 26px; }
.stat-cell .num { font-family: 'Fraunces', Georgia, serif; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); line-height: 1.05; }
.stat-cell .num small { font-size: 0.95rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.stat-cell .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }

/* ---------- COMPARE ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.compare-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.compare-card ul { list-style: none; }
.compare-card li { padding: 8px 0 8px 24px; position: relative; font-size: 0.89rem; color: var(--ink-soft); line-height: 1.6; border-top: 1px solid var(--line); }
.compare-card li:first-child { border-top: none; }
.compare-card li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: absolute; left: 2px; top: 15px; }

/* ---------- CALLOUTS (lesson content) ---------- */
.callout { border-radius: 12px; padding: 20px 22px; margin: 18px 0; border: 1px solid var(--line); }
.callout-keypoints { background: var(--blue-soft); border-color: var(--blue-soft); }
.callout-procedure { background: var(--accent-soft); border-color: var(--accent-line); }
.callout-exam { background: var(--amber-soft); border-color: var(--amber-line); }
.callout-note { background: var(--surface-2); }
.callout-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.callout-keypoints .callout-label { color: var(--blue); }
.callout-procedure .callout-label { color: var(--accent); }
.callout-exam .callout-label { color: var(--amber); }
.callout-label::before { content: ''; width: 14px; height: 1.5px; background: currentColor; }

/* Numbered procedure steps */
.proc-steps { list-style: none; counter-reset: pstep; }
.proc-steps li { counter-increment: pstep; display: flex; gap: 14px; padding: 9px 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.proc-steps li::before {
    content: counter(pstep); flex-shrink: 0;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: grid; place-items: center;
    font-size: 0.72rem; font-weight: 700; margin-top: 1px;
}

/* Keypoints list */
.key-list { list-style: none; }
.key-list li { display: flex; gap: 11px; padding: 7px 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.key-list li::before { content: ''; width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; background: var(--blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.86rem; color: var(--muted); text-decoration: none; padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.78rem; color: var(--faint); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .compare-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px; display: none; }
    .nav-links.open { display: flex; }
    .mobile-nav-toggle { display: grid; place-items: center; }
    .compare-grid, .footer-grid { grid-template-columns: 1fr; }
    .page-head { padding: 56px 0 36px; }
    .display-1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
    .course-hero h1 { overflow-wrap: break-word; hyphens: auto; }
}

/* ═══════════════════════════════════════════════
   LEGACY VAR BRIDGE — maps old style.css tokens to
   the new fp-learn system so lesson-ui.css and
   exam-ui.css keep working (light + dark).
   ═══════════════════════════════════════════════ */
:root,
[data-theme="light"] {
    --bg-primary: var(--bg);
    --bg-secondary: var(--surface-2);
    --bg-card: var(--surface);
    --bg-elevated: var(--surface);
    --grad-card: var(--surface);
    --grad-hero: linear-gradient(180deg, var(--surface-2), var(--bg));
    --grad-teal: linear-gradient(135deg, var(--accent), var(--accent-deep));
    --grad-glow: radial-gradient(60% 80% at 30% 0%, var(--accent-soft), transparent 70%);
    --grad-mint: linear-gradient(135deg, var(--accent-soft), transparent);
    --border-subtle: var(--line);
    --border-accent: var(--accent-line);
    --accent-teal: var(--accent);
    --accent-mint: var(--accent);
    --accent-lavender: var(--blue);
    --accent-gold: var(--amber);
    --accent-rose: #e4644f;
    --text-primary: var(--ink);
    --text-secondary: var(--ink-soft);
    --text-muted: var(--muted);
    --text-accent: var(--accent);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 100px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-glow: var(--shadow-md);
    --shadow-glow-lg: var(--shadow-md);
    --shadow-lg: var(--shadow-md);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] {
    --bg-primary: var(--bg);
    --bg-secondary: var(--surface-2);
    --bg-card: var(--surface);
    --bg-elevated: var(--surface);
    --grad-card: var(--surface);
    --grad-hero: linear-gradient(180deg, var(--surface-2), var(--bg));
    --grad-teal: linear-gradient(135deg, var(--accent), var(--accent-deep));
    --grad-glow: radial-gradient(60% 80% at 30% 0%, var(--accent-soft), transparent 70%);
    --grad-mint: linear-gradient(135deg, var(--accent-soft), transparent);
    --border-subtle: var(--line);
    --border-accent: var(--accent-line);
    --accent-teal: var(--accent);
    --accent-mint: var(--accent);
    --accent-lavender: var(--blue);
    --accent-gold: var(--amber);
    --accent-rose: #e4644f;
    --text-primary: var(--ink);
    --text-secondary: var(--ink-soft);
    --text-muted: var(--muted);
    --text-accent: var(--accent);
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 100px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-glow: var(--shadow-md);
    --shadow-glow-lg: var(--shadow-md);
    --shadow-lg: var(--shadow-md);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- SOURCES & VIDEOS DROPDOWN (ported from lesson-ui.css 2026-08-03) ---------- */
/* ---------- SOURCES & VIDEOS DROPDOWN ---------- */
.sources-box {
    margin-top: 18px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.sources-box > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    list-style: none;
    user-select: none;
    transition: background-color 0.15s;
}
.sources-box > summary::-webkit-details-marker { display: none; }
.sources-box > summary:hover { background: var(--surface-3); }
.sources-box > summary .src-icon {
    width: 26px; height: 26px; border-radius: 7px;
    background: var(--accent-soft); color: var(--accent);
    display: grid; place-items: center; flex-shrink: 0;
}
.sources-box > summary .src-icon svg { width: 14px; height: 14px; }
.sources-box > summary .src-count {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 100px;
    padding: 3px 10px;
}
.sources-box > summary::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.sources-box[open] > summary::after { transform: rotate(-135deg); }
.sources-list { padding: 4px 16px 12px; }
.src-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 0; text-decoration: none;
    border-top: 1px solid var(--line);
    color: var(--ink);
}
.src-item:first-child { border-top: none; }
.src-item:hover .src-title { color: var(--accent); }
.src-play {
    width: 24px; height: 24px; border-radius: 6px;
    background: var(--accent); color: #fff;
    display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.src-play svg { width: 11px; height: 11px; }
.src-meta { min-width: 0; flex: 1; }
.src-title { font-size: 0.84rem; font-weight: 600; line-height: 1.45; transition: color 0.15s; }
.src-sub {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 0.72rem; color: var(--muted); margin-top: 4px;
}
.src-channel { font-weight: 600; }
.src-dur { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--faint); }
.src-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.src-tag {
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.03em;
    color: var(--accent); background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 100px; padding: 2px 9px;
}
.src-note { font-size: 0.75rem; color: var(--muted); font-style: italic; margin-top: 4px; }
