/* Supplementary archive: reuse the catalog typography and restrained palette. */
.legends-hero { display:grid; grid-template-columns:minmax(140px,210px) minmax(0,1fr); gap:clamp(24px,5vw,64px); align-items:center; max-width:900px; margin:28px 0 38px; }
.legends-poster { display:block; width:100%; height:auto; border:1px solid var(--border); border-radius:9px; }
.legends-about { min-width:0; }
.legends-logo { position:relative; overflow:hidden; width:min(100%,430px); aspect-ratio:2.4; background:#000; border-radius:4px; margin-bottom:24px; }
.legends-logo img { position:absolute; width:220%; max-width:none; height:auto; left:50%; top:50%; transform:translate(-50%,-41%); }
.legends-about h3 { font-size:clamp(18px,2.4vw,25px); letter-spacing:-.04em; font-weight:700; margin-bottom:10px; }
.legends-meta { color:#a5adb8; font-size:12px; letter-spacing:.08em; margin-bottom:16px; }
.legends-about p { max-width:490px; font-size:13px; line-height:1.85; color:#b8bbc3; }
.legends-seasons { display:flex; flex-wrap:wrap; gap:10px; border-bottom:1px solid var(--border); margin-bottom:18px; }
.legends-season { background:none; border:0; border-bottom:2px solid transparent; color:var(--muted); padding:13px 3px; margin-right:20px; font:inherit; font-size:12px; font-weight:700; letter-spacing:.12em; cursor:pointer; }
.legends-season.active { color:var(--text); border-bottom-color:var(--red); }
.legends-episodes { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.legends-episode { display:grid; grid-template-columns:36px minmax(0,1fr) 32px; align-items:center; gap:12px; padding:19px 16px; min-height:105px; border:1px solid var(--border); border-radius:10px; background:radial-gradient(ellipse at 0% 0%,rgba(185,22,44,.19),transparent 70%),linear-gradient(125deg,#18191d,#101114); box-shadow:inset 3px 0 0 #a32032,0 7px 22px #0003; color:var(--text); text-decoration:none; transition:border-color .18s,box-shadow .18s,transform .18s; }
.legends-episode[href]:hover { border-color:#ad3446; box-shadow:inset 3px 0 0 #ed354e,0 8px 24px #a316242b; transform:translateY(-2px); }
.legends-number { font-size:24px; font-weight:800; letter-spacing:-.06em; color:#c78a92; font-variant-numeric:tabular-nums; }
.legends-episode-name { display:grid; gap:5px; min-width:0; overflow-wrap:anywhere; }
.legends-episode-name strong { font-size:13px; font-weight:600; }
.legends-episode-name span { color:#8f959f; font-size:10px; line-height:1.35; }
.legends-play { width:32px; height:32px; display:grid; place-items:center; font-size:9px; border:1px solid #9b3947; border-radius:50%; color:#fff; background:linear-gradient(135deg,#b92840,#48141d); box-shadow:0 0 18px #db263127; }
.legends-episode:focus-visible,.legends-season:focus-visible,.legends-player button:focus-visible,.legends-player a:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.legends-player { max-width:960px; margin:0 0 30px; scroll-margin-top:160px; border:1px solid var(--border); border-radius:8px; overflow:hidden; background:#080808; }
.legends-player-head { display:flex; align-items:center; gap:15px; padding:14px 18px; }
.legends-player-head h3 { flex:1; font-size:13px; font-weight:600; }
.legends-player-head button { flex-shrink:0; background:none; color:var(--text); border:1px solid var(--border); border-radius:5px; padding:8px 12px; font:inherit; font-size:12px; cursor:pointer; }
.legends-video { aspect-ratio:16/9; }
.legends-video iframe { display:block; width:100%; height:100%; border:0; }
.legends-player-footer { display:flex; justify-content:flex-end; padding:13px 18px; }
.legends-player-footer a { font-size:12px; color:#bfcce0; text-decoration:none; }
.legends-empty { padding:30px 0; color:var(--muted); font-size:13px; }
.legends-player[hidden],.legends-empty[hidden] { display:none; }
@media(max-width:1000px) { .legends-episodes { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) {
  .legends-hero { grid-template-columns:110px minmax(0,1fr); gap:18px; margin:20px 0 28px; }
  .legends-logo { margin-bottom:14px; }
  .legends-about h3 { font-size:16px; line-height:1.5; }
  .legends-meta { font-size:10px; letter-spacing:.02em; margin-bottom:10px; }
  .legends-about p { font-size:11px; line-height:1.7; }
  .legends-episodes { grid-template-columns:minmax(0,1fr); gap:8px; }
  .legends-episode { min-height:77px; padding:16px; }
  .legends-player-head { padding:10px 12px; }
}
@media(prefers-reduced-motion:reduce) { .legends-episode { transition:none; } }

.legends-unavailable { opacity:.68; box-shadow:inset 3px 0 0 #53545d; background:linear-gradient(125deg,#1c1c21,#111215); }
.legends-episode-name .legends-link-status { justify-self:start; max-width:100%; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; font-size:10px; color:#c6bdc0; border:1px solid #4a4147; border-radius:4px; padding:3px 6px; margin-top:3px; }
.legends-unavailable-icon { color:#888; text-align:center; }
.legends-episodes>li { min-width:0; }
