/* The blog shares the site's colours and type. Pink means skipped and amber
   means muted here too, so they are never used as decoration. */
:root {
  --ink: #0E1116; --raise: #171C24; --rule: #2A323E; --text: #E8ECF2; --dim: #8A94A6;
  --mute: #F2A93B; --skip: #E8476B; --coral: #FFA48C; --body: #C3CBD8;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--mute); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
a { color: var(--text); text-underline-offset: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding-inline: var(--gutter); }
.wide { max-width: 1120px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.mark img { width: 34px; height: 34px; display: block; }
.mark-word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.mark-word i { font-style: normal; color: var(--coral); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.plain { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav a.plain:hover { color: var(--text); }
.install { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 15px;
  text-decoration: none; color: #16110A; background: var(--mute); padding: 11px 20px; border-radius: 7px; }
.install:hover { filter: brightness(1.08); }

.crumbs { font-size: 14px; color: var(--dim); margin: 18px 0 0; }
.crumbs a { color: var(--dim); }
article { padding-block: 22px 40px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02; letter-spacing: -.035em; margin: 10px 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--dim); margin: 0 0 26px; }
.byline b { color: var(--text); font-weight: 600; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--body); margin: 0 0 8px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 31px); letter-spacing: -.025em;
  line-height: 1.15; margin: 46px 0 12px; padding-top: 28px; border-top: 1px solid var(--rule); }
h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; margin: 30px 0 8px; }
p, li { color: var(--body); }
li { margin-bottom: 8px; }
strong { color: var(--text); font-weight: 600; }
blockquote { margin: 22px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--rule); color: var(--text); }

figure { margin: 28px 0; }
figure img { display: block; border-radius: 12px; border: 1px solid var(--rule); }
figcaption { font-size: 14px; color: var(--dim); margin-top: 10px; }
.poster { float: right; width: 150px; margin: 4px 0 16px 24px; }
.poster img { border-radius: 8px; }
@media (max-width: 560px) { .poster { width: 110px; margin-left: 16px; } }

.table-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--rule); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--text); background: var(--raise); white-space: nowrap; }
td { color: var(--body); }
tr:last-child td { border-bottom: 0; }
td.n { white-space: nowrap; font-variant-numeric: tabular-nums; }
.times { font-variant-numeric: tabular-nums; color: var(--dim); }
.none { color: var(--dim); font-style: italic; }

/* Minutes marked per episode. Built from the catalogue, never drawn by hand. */
.chart { margin: 22px 0 6px; }
.chart-row { display: grid; grid-template-columns: 74px 1fr 52px; align-items: center; gap: 10px; font-size: 13px; height: 22px; }
.chart-row .ep { color: var(--dim); font-variant-numeric: tabular-nums; }
.chart-row .track { height: 12px; border-radius: 3px; background: #12161D; position: relative; }
.chart-row .bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--skip); }
.chart-row .v { color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }
.chart-season { margin: 14px 0 4px; font-size: 13px; font-weight: 600; color: var(--text); }

.callout { background: var(--raise); border: 1px solid var(--rule); border-radius: 12px; padding: 22px; margin-top: 26px; }
.callout p { margin: 0 0 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.quiet { color: var(--dim); font-size: 15px; }

.author { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.author img { width: 44px; height: 44px; flex: 0 0 auto; }
.author p { margin: 0; font-size: 15px; }
.related { margin-top: 30px; }
.related ul { padding-left: 20px; }

/* Index */
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin: 30px 0 50px; }
.card { display: flex; flex-direction: column; background: var(--raise); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; }
.card:hover { border-color: #3A4452; }
.card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--rule); background: #12161D; }
.card .in { padding: 18px 20px 22px; }
.card h2 { font-size: 22px; margin: 0 0 8px; padding: 0; border: 0; }
.card p { margin: 0 0 12px; font-size: 15px; }
.card .meta { font-size: 13px; color: var(--dim); margin: 0; }

footer { border-top: 1px solid var(--rule); padding-block: 30px 46px; color: var(--dim); font-size: 14px; }
footer a { color: var(--dim); }
footer p { margin: 0 0 8px; max-width: 70ch; color: var(--dim); }

/* Rankings: poster, name, a film strip sized by marked time, the total. */
.ranks { list-style: none; padding: 0; margin: 18px 0 8px; counter-reset: none; }
.ranks li { display: grid; grid-template-columns: 26px 46px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.ranks li:last-child { border-bottom: 0; }
.ranks .rk { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--dim); text-align: right; }
.ranks img, .ranks .noimg { width: 46px; height: 69px; border-radius: 4px; object-fit: cover; background: #12161D; display: block; }
.ranks .who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ranks .who b { color: var(--text); font-weight: 600; font-size: 16px; line-height: 1.25; }
.ranks .who > span:not(.len) { font-size: 13px; color: var(--dim); line-height: 1.3; }
.ranks .len { display: block; margin-top: 5px; min-width: 6px; }
.ranks .amt { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.mix { display: flex; height: 10px; border-radius: 3px; overflow: hidden; background: #12161D; }
.mix i { display: block; height: 100%; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--dim); margin: 6px 0 0; }
.key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }

/* Title pages */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; margin: 24px 0 8px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; clear: both; }
.facts div { background: var(--raise); padding: 12px 16px; }
.facts dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 0 0 3px; }
.facts dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.4; }
.ep-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 22px 0 -8px; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--text); margin: 0; }
a.watch { font-size: 14px; color: var(--dim); white-space: nowrap; }
a.watch::after { content: " \2197"; }
.gaps { font-size: 14px; color: var(--dim); margin-top: 10px; }
@media (max-width: 560px) {
  .nav a.plain { display: none; }
  th, td { padding: 9px 10px; font-size: 14px; }
}
