/* Generated by scripts/build.py -- edit the script, not this file. */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  padding: 32px 20px 64px;
  background: radial-gradient(ellipse at 50% 0%, #1b3a6b 0%, #12244a 45%, #070f22 100%);
  background-attachment: fixed;
  font-family: 'Courier New', monospace;
  color: #2b2115;
}
.sheet {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(120,90,50,.10), transparent 220px), #efe4cd;
  padding: 44px 48px 36px;
  border-top: 1px solid #f7efdd;
  border-bottom: 1px solid #c5b391;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 44px rgba(0,0,0,.55);
}
.eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: #7a6444; margin: 0 0 8px;
}
/* The way back to the television, at the top and hard to miss. Someone who
   arrives here from a search should be able to see where they are and get to
   the thing itself in one move -- that link is the point of the page. */
.home { margin: 0 0 22px; }
.home a {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px; font-weight: 700; letter-spacing: .01em;
  color: #8a2f1d; text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #8a2f1d;
  border-radius: 2px;
}
.home a:hover { background: #8a2f1d; color: #efe4cd; }
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px; line-height: 1.25; margin: 0;
}
.meta {
  margin: 8px 0 0; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: #7a6444;
}
.rule { border: 0; border-top: 2px solid #2b2115; margin: 14px 0 20px; }
h2 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #8a2f1d; margin: 22px 0 7px;
}
p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15.5px; line-height: 1.72; margin: 0 0 10px;
}
.flagged { border-left: 3px solid #8a2f1d; padding-left: 14px; }
.empty { font-style: italic; color: #7a6444; }
.foot {
  margin-top: 28px; padding-top: 12px; border-top: 1px solid #c5b391;
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  color: #8a7a5c;
}
.foot a { color: #8a2f1d; }
.foot .credit { margin-top: 6px; opacity: .7; }
.thumb { display: block; width: 100%; height: auto; margin-bottom: 22px; }
/* The programme itself, so the page is somewhere to watch rather than only to
   read about. Loaded lazily and from the no-cookie host: a page of notes has no
   business setting tracking cookies before anyone presses play. */
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  background: #05070a;
  box-shadow: 0 0 0 6px #241408, 0 10px 26px rgba(0,0,0,.5);
}
.player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
ul.programmes { list-style: none; padding: 0; margin: 0; }
ul.programmes li { border-bottom: 1px solid #d8c9a8; padding: 14px 0; }
ul.programmes li:last-child { border-bottom: 0; }
ul.programmes a {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px; color: #2b2115; text-decoration: none;
}
ul.programmes a:hover { text-decoration: underline; }
ul.programmes .tags {
  display: block; margin-top: 4px; font-size: 10.5px;
  letter-spacing: 2px; text-transform: uppercase; color: #7a6444;
}
/* Already-watched entries recede; the ones still to see stay at full strength. */
ul.programmes li.watched a { color: #7a6444; }
ul.programmes li.part-watched a { color: #2b2115; }
ul.programmes .mark {
  font-style: normal; margin-left: 8px; padding: 1px 5px;
  background: #ded0b2; color: #6a5636; border-radius: 2px; letter-spacing: 1px;
}
ul.programmes li.part-watched .mark { background: #8a2f1d; color: #f3e7d2; }

/* ---- Calendar archive ---- */
.archive { margin-bottom: 26px; }
.archive > h2 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #8a2f1d; margin: 0 0 12px;
}
.cal-month { margin-bottom: 16px; }
.cal-month h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px; font-weight: normal; margin: 0 0 7px; color: #4a3a24;
}
.cal-days { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 42px; padding: 5px 6px;
  background: #e2d4b6; border: 1px solid #cbb894;
  text-decoration: none; color: #2b2115; line-height: 1.15;
}
.cal-day:hover { background: #d3c09b; }
.cal-num { font-size: 14px; font-weight: bold; }
.cal-count {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: #7a6444;
}
li.date-row { border-bottom: 0 !important; padding: 22px 0 4px !important; }
li.date-row h2 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #8a2f1d; margin: 0; display: flex; gap: 10px; align-items: baseline;
}
li.date-row:first-child { padding-top: 0 !important; }
.date-count { font-size: 10px; color: #a08a63; letter-spacing: 1px; }
a.tag-link { color: #8a2f1d; text-decoration: none; border-bottom: 1px dotted #b9917f; }
a.tag-link:hover { background: #e6d6b4; }
@media (max-width: 700px) {
  .sheet { padding: 26px 22px 22px; }
  h1 { font-size: 21px; }
  p { font-size: 14px; line-height: 1.6; }
}
