:root{--red:#e50914;--soft:#a8a8b0;--line:#2a2a30}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:#0b0b0c;color:#f4f4f6;font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
body{padding-bottom:env(safe-area-inset-bottom)}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.top{position:fixed;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;gap:10px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px;background:linear-gradient(rgba(0,0,0,.75),transparent)}
.back{display:flex;align-items:center;gap:2px;color:#fff;text-decoration:none;min-height:44px;min-width:44px;font-size:15px}
.brand{flex:1;text-align:center;font-weight:600;letter-spacing:.04em;font-size:15px;margin-right:54px}
.brand b{color:var(--red);font-weight:900;letter-spacing:.06em}
.build{position:fixed;right:6px;bottom:calc(4px + env(safe-area-inset-bottom));font-size:10px;color:#4a4a52;pointer-events:none}
.wait{padding:120px 20px;text-align:center;color:var(--soft)}
/* the hero: the poster with the title over it */
.hero{position:relative;min-height:min(78vh,640px);display:flex;align-items:flex-end;overflow:hidden}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.hero picture{position:absolute;inset:0}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,11,12,0) 35%,rgba(11,11,12,.75) 70%,#0b0b0c 100%)}
.hero .in{position:relative;z-index:1;width:100%;padding:0 16px 8px;max-width:760px;margin:0 auto;text-align:center}
.tag{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#ddd}
.tag i{display:inline-block;width:14px;height:20px;background:var(--red);clip-path:polygon(0 0,40% 0,100% 100%,60% 100%)}
.title{margin:8px 0 4px;line-height:.9;text-transform:uppercase;text-shadow:0 4px 30px rgba(0,0,0,.8)}
.title small{display:block;font-size:clamp(15px,4.4vw,24px);font-weight:700;letter-spacing:.32em;color:#f0f0f0}
.title span{display:block;font-size:clamp(54px,17vw,112px);font-weight:900;letter-spacing:.04em;background:linear-gradient(180deg,#fff 30%,#ffb4b4 70%,#e50914);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 rgba(120,0,0,.9))}
/* a show's own colour ("accent" in animations.json, set as --acc on its hero); red, In the Eye of the Shuriken's, without one */
.hero{--acc:#e50914}.title span{background:linear-gradient(180deg,#fff 30%,color-mix(in srgb,var(--acc) 30%,#fff) 70%,var(--acc));-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 3px 0 color-mix(in srgb,var(--acc) 55%,#000))}
.meta{display:flex;justify-content:center;gap:10px;color:var(--soft);font-size:14px;margin:8px 0 14px;flex-wrap:wrap}
.meta .new{color:#46d369;font-weight:700}
.acts{display:flex;gap:10px;max-width:520px;margin:0 auto}
.acts a{flex:1;min-height:48px;border-radius:6px;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.play{background:#fff;color:#000}.play svg{fill:#000;stroke:none}
.all{background:rgba(110,110,120,.55);color:#fff}
.about{max-width:760px;margin:14px auto 0;padding:0 16px;color:#ddd;font-size:15px}
/* the season and its episodes */
.eps{max-width:760px;margin:22px auto 30px;padding:0 16px}
.seasonbar{display:flex;align-items:center;justify-content:space-between;border-top:3px solid var(--red);padding-top:12px;margin-bottom:6px}
.seasonbar b{font-size:18px}.seasonbar span{color:var(--soft);font-size:14px}
.ep{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.ep .th{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#222}
.ep .th img{width:100%;height:100%;object-fit:cover;display:block}
.ep .th .pl{position:absolute;inset:0;margin:auto;width:40px;height:40px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.ep .th .pl svg{width:18px;height:18px;fill:#fff;stroke:none;margin-left:2px}
.ep .th .soon{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:800;letter-spacing:.18em;color:#fff;text-transform:uppercase}
.ep .th .soon svg{width:20px;height:20px;margin-bottom:4px}
.ep h3{margin:0;font-size:16px}.ep .len{color:var(--soft);font-size:13px;font-weight:400;margin-left:6px}
.ep p{margin:4px 0 0;color:var(--soft);font-size:13px;grid-column:1 / -1}
.ep.locked{opacity:.75}
@media (min-width:820px){.hero{min-height:72vh}.hero .in{text-align:left;max-width:1100px}.meta{justify-content:flex-start}.acts{margin:0}.about{max-width:1100px}.eps{max-width:1100px}.ep{grid-template-columns:220px 1fr}.ep p{grid-column:2}}
.top{transition:background .25s}.top.solid{background:#0b0b0c}
.castlink{display:flex;align-items:center;justify-content:center;gap:4px;max-width:520px;margin:0 auto 36px;min-height:48px;border:1px solid #333;border-radius:6px;color:#fff;text-decoration:none;font-weight:700}
/* the home (index.html): rows of shows and episodes that scroll sideways */
.row{max-width:1100px;margin:22px auto 0;padding:0 0 0 16px}
.row h2{margin:0 0 10px;font-size:18px}
.rail{display:flex;gap:10px;overflow-x:auto;padding:0 16px 6px 0;scroll-snap-type:x mandatory;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.tile{position:relative;flex:none;border-radius:6px;overflow:hidden;background:#1a1a1e;scroll-snap-align:start;color:#fff;text-decoration:none}
.tile img{width:100%;height:100%;object-fit:cover;display:block}
.tile.tall{width:132px;aspect-ratio:2/3}
.tile.wide{width:230px;aspect-ratio:16/9}
.tile .badge:not(:empty){position:absolute;top:0;left:8px;background:#e50914;color:#fff;font-size:11px;font-weight:800;padding:3px 7px;border-radius:0 0 4px 4px;letter-spacing:.06em;text-transform:uppercase}
.tile .tname{position:absolute;left:0;right:0;bottom:0;padding:26px 8px 8px;background:linear-gradient(transparent,rgba(0,0,0,.85));font-weight:900;font-size:21px;text-transform:uppercase;letter-spacing:.02em;line-height:1;text-align:center}
.tile .tname small{display:block;font-size:9px;letter-spacing:.2em;font-weight:700;margin-bottom:3px}
.tile .cap{position:absolute;left:0;right:0;bottom:0;padding:22px 8px 7px;background:linear-gradient(transparent,rgba(0,0,0,.85))}
.tile .cap b{display:block;font-size:13px}.tile .cap small{font-size:12px;color:#ccc}
.tile .pl{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center}
.tile .pl svg{width:16px;height:16px;fill:#fff;stroke:none;margin-left:2px}
.tile .soon{position:absolute;inset:0 0 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.tile .soon svg{width:20px;height:20px;margin-bottom:4px}
.tile.more{display:flex;align-items:center;justify-content:center;border:1px dashed #333;background:transparent;color:#777;text-align:center;font-size:13px;font-weight:600}
.acts .all svg{width:22px;height:22px}
body.home .castlink{margin-top:30px}
/* the logo (art/logo.svg, 1.3) over the top of the home's hero, streaming-app style */
.brandmark{position:absolute;z-index:2;top:12px;left:14px;display:flex;align-items:center;gap:6px;padding:4px 14px 4px 6px;border-radius:26px;background:rgba(0,0,0,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-transform:uppercase;line-height:1;filter:drop-shadow(0 2px 8px rgba(0,0,0,.7))}
.hero .brandmark img{position:static;inset:auto;width:46px;height:auto;object-fit:contain}.brandmark b{font-weight:900;font-size:20px;letter-spacing:.04em;color:#fff}.brandmark span{font-weight:800;font-size:13px;letter-spacing:.24em;color:#ff4d55}
/* the public site (1.0): the MDT top bar sits above everything, so nothing here is fixed at the top */
.hero{min-height:min(calc(78vh - var(--mdts-h, 52px)),640px)}
.crumb{position:absolute;z-index:2;top:12px;left:12px;display:flex;align-items:center;gap:2px;min-height:44px;padding:0 14px 0 6px;border-radius:22px;background:rgba(0,0,0,.45);color:#fff;text-decoration:none;font-weight:600;font-size:15px}
.views{display:inline-flex;align-items:center;gap:5px;color:#d8d8de;font-size:13px}
.views svg{width:16px;height:16px;stroke-width:2}
.meta .views{font-size:14px}
.tile .cap .views{display:flex;margin-top:2px;font-size:12px}
.ep .views{display:flex;margin-top:3px}
