:root { color-scheme: dark; font-family: var(--rs-font); background: var(--rs-background); color: var(--rs-text); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--rs-active); }
a:focus-visible { outline: 2px solid var(--rs-active); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 96px; padding: 12px; background: var(--rs-surface); z-index: 2; }
.skip-link:focus { top: 12px; }
.collection-rail { position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; color: inherit; border: 0; width: 80px; height: 100dvh; max-height: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-right: 1px solid var(--rs-border); background: var(--rs-background); }
.collection-rail nav { display: flex; flex-direction: column; gap: 14px; }
.circle-button { width: 46px; height: 46px; border: 1px solid var(--rs-control-border); border-radius: 50%; display: grid; place-items: center; background: var(--rs-surface); color: var(--rs-muted); }
.circle-button:hover { background: var(--rs-surface-hover); }
.circle-button.active { background: var(--rs-active); color: var(--rs-ink); border-color: var(--rs-active-border); }
.circle-button svg { width: 22px; height: 22px; }
main { width: min(960px, calc(100% - 80px)); margin-left: max(80px, calc((100% - 880px) / 2)); padding: 48px 40px 24px; }
header { max-width: 760px; margin-bottom: 40px; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1.2px; margin: 20px 0; font-weight: 650; }
h2 { font-size: 20px; letter-spacing: -.3px; margin: 0 0 16px; font-weight: 600; }
p { line-height: 1.8; font-size: 14px; color: #b7b4c0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--rs-text); }
.directory-heading { max-width: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 8px 0 36px; }
.directory-heading h1 { margin: 0; font-size: 28px; letter-spacing: -.6px; font-weight: 600; }
.directory-heading p { margin: 8px 0 0; color: var(--rs-muted); font-size: 13px; }
.browse-all { color: var(--rs-muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.browse-all:hover { color: var(--rs-text); text-decoration: underline; }
.collection-directory { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0 0 48px; }
.collection-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 70px 20px; align-items: center; gap: 20px; padding: 24px 20px; border: 1px solid var(--rs-border); border-radius: 12px; background: #1c1c1f; text-decoration: none; }
.collection-row:hover { background: var(--rs-surface); border-color: var(--rs-control-border); color: var(--rs-text); }
.collection-topic-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #b4a6e420; background: #b4a6e40d; color: var(--rs-active); }
.collection-topic-icon svg { width: 24px; height: 24px; }
.collection-row:focus-visible { outline-offset: -3px; }
.collection-copy h2 { font-size: 18px; font-weight: 550; margin: 0; letter-spacing: -.2px; }
.collection-copy p { color: var(--rs-muted); font-size: 13px; margin: 7px 0 0; overflow-wrap: anywhere; }
.collection-count { text-align: right; font-size: 17px; font-variant-numeric: tabular-nums; }
.collection-count span { display: block; margin-top: 4px; color: var(--rs-muted); font-size: 11px; }
.collection-arrow { color: var(--rs-muted); font-size: 20px; text-align: right; }
.collection-action { display: inline-flex; gap: 10px; align-items: center; color: var(--rs-active); font-size: 14px; font-weight: 550; }
.collection-action svg { width: 20px; height: 20px; }
.primary { margin-top: 16px; background: var(--rs-active); color: var(--rs-ink); padding: 14px 18px; border-radius: 10px; text-decoration: none; }
.primary:hover { background: var(--rs-active-hover); color: var(--rs-ink); }
.editorial { border-top: 1px solid var(--rs-border); padding: 28px 0; }
.editorial p { max-width: 760px; }
.topics, .sources { font-size: 14px; line-height: 1.9; padding-left: 20px; color: #b7b4c0; }
.topics li, .sources li { padding: 3px 0; }
.back-link { color: var(--rs-muted); font-size: 13px; }
.list-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin: 20px 0 4px; }
.list-heading span { font-size: 12px; color: var(--rs-muted); }
.video-list { padding: 0; margin: 0 0 32px; list-style: none; }
.video-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rs-border); }
.video-title { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.video-row p { font-size: 12px; margin: 6px 0 0; }
.original { flex-shrink: 0; color: var(--rs-active); font-size: 12px; }
.empty { padding: 16px; border: 1px solid var(--rs-border); border-radius: 10px; }
footer { border-top: 1px solid var(--rs-border); margin-top: 28px; padding: 24px 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: var(--rs-muted); }
footer p { font-size: 12px; flex-basis: 100%; margin: 0; }
@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) { main { width: 100%; margin-left: 0; padding: 24px 20px calc(var(--mobile-rail-height) + 24px) 20px; } .directory-heading { margin: 4px 0 24px; } .collection-row { gap: 12px; grid-template-columns: 36px minmax(0, 1fr) 40px 14px; padding: 18px 14px; } .collection-topic-icon { width: 36px; height: 36px; border-radius: 10px; } .collection-topic-icon svg { width: 22px; height: 22px; } .collection-copy h2 { font-size: 17px; } .collection-copy p { font-size: 12px; } .video-row { flex-wrap: wrap; gap: 10px; } .skip-link { left: 68px; } }
@media (max-height: 420px) { .collection-rail, .collection-rail nav { gap: 7px; } .circle-button { width: 36px; height: 36px; } }
