/* Archive site styles — clean light theme, no dependencies */
:root {{
  --bg: #ffffff; --ink: #1a1a1a; --muted: #666; --line: #e5e5e5;
  --accent: #b3122e; --chip: #f4f4f5; --mark: #fff3b0;
}}
* {{ box-sizing: border-box; }}
body {{ margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; }}
.site-header {{ max-width: 960px; margin: 0 auto; padding: 1.5rem 1rem 0.5rem; }}
main {{ max-width: 960px; margin: 0 auto; padding: 0 1rem 3rem; }}
.brand {{ margin: 0 0 0.25rem; font-size: 1.8rem; }}
.tagline {{ color: var(--muted); margin: 0 0 1.25rem; }}
.back {{ color: var(--accent); text-decoration: none; font-weight: 600; }}
h1 {{ font-size: 1.6rem; line-height: 1.3; margin: 1rem 0 0.5rem; }}
.meta {{ display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; color: var(--muted); margin-bottom: 1rem; }}
.badge {{ background: var(--chip); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.1rem 0.7rem; font-size: 0.8rem; font-weight: 600; color: var(--ink); }}
.yt-link {{ color: var(--accent); font-weight: 600; }}
.player-wrap {{ position: relative; padding-bottom: 56.25%; height: 0; margin: 0 0 2rem; }}
.player-wrap iframe {{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: 0; border-radius: 8px; background: #000; }}
h2 {{ font-size: 1.25rem; border-bottom: 2px solid var(--line); padding-bottom: 0.3rem; margin-top: 2.5rem; }}
.frames {{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }}
figure {{ margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fafafa; }}
figure img {{ width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #111; }}
figcaption {{ padding: 0.6rem 0.8rem; font-size: 0.9rem; }}
figcaption .ts {{ font-weight: 700; color: var(--accent); text-decoration: none; margin-right: 0.4rem; }}
figcaption .cue {{ font-style: italic; color: var(--muted); display: block; margin-top: 0.25rem; }}
.seg {{ padding: 0.5rem 0.75rem; border-left: 3px solid transparent; margin: 0 0 0.25rem; }}
.seg .ts {{ font-weight: 700; color: var(--accent); text-decoration: none; margin-right: 0.5rem;
  font-size: 0.9rem; white-space: nowrap; }}
.seg.hl {{ border-left-color: var(--accent); background: #fff8f0; }}
details.transcript {{ margin-top: 1rem; }}
details.transcript summary {{ cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 0.5rem 0; }}
.note {{ color: var(--muted); font-style: italic; }}
.search-row input {{ width: 100%; font-size: 1.05rem; padding: 0.7rem 1rem;
  border: 2px solid var(--line); border-radius: 8px; }}
.search-row input:focus {{ outline: none; border-color: var(--accent); }}
.filters {{ display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }}
.filters button {{ border: 1px solid var(--line); background: var(--chip); border-radius: 999px;
  padding: 0.35rem 0.9rem; cursor: pointer; font-size: 0.9rem; }}
.filters button.active {{ background: var(--ink); color: #fff; border-color: var(--ink); }}
.video-list {{ list-style: none; padding: 0; margin: 0; }}
.video-list li {{ border-bottom: 1px solid var(--line); padding: 0.8rem 0; }}
.video-list a.vtitle {{ font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.05rem; }}
.video-list a.vtitle:hover {{ color: var(--accent); }}
.video-list .row-meta {{ color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }}
.video-list .row-meta .badge {{ font-size: 0.72rem; }}
.results {{ margin: 1rem 0; }}
.result {{ border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 1rem; margin-bottom: 0.75rem; }}
.result .r-title {{ font-weight: 700; }}
.result .r-title a {{ color: var(--ink); text-decoration: none; }}
.result .r-title a:hover {{ color: var(--accent); }}
.result .hits {{ color: var(--muted); font-size: 0.85rem; }}
.snip {{ margin: 0.4rem 0; font-size: 0.95rem; }}
.snip a.ts {{ font-weight: 700; color: var(--accent); text-decoration: none; margin-right: 0.4rem; }}
mark {{ background: var(--mark); padding: 0 0.15em; border-radius: 2px; }}
footer {{ max-width: 960px; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; color: var(--muted);
  font-size: 0.9rem; border-top: 1px solid var(--line); }}
footer a {{ color: var(--accent); }}
.empty {{ color: var(--muted); font-style: italic; }}
@media (max-width: 600px) {{
  .brand {{ font-size: 1.4rem; }}
  h1 {{ font-size: 1.3rem; }}
}}
