:root {
  --ink: #1a1612;
  --paper: #e4d6b8;
  --rule: #a8926a;
  --stamp: #8b1e18;
  --mute: #6d5d48;
  --void: #0e0c0a;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font: 16px/1.5 "Iowan Old Style", Georgia, serif;
}
.grain {
  pointer-events: none;
  position: fixed; inset: 0; z-index: 9; opacity: .04;
  background-image: radial-gradient(#000 0.6px, transparent 0.7px);
  background-size: 3px 3px;
}
#app {
  position: relative; z-index: 1;
  max-width: 880px; margin: 0 auto; min-height: 100vh;
  background: #e8d7b4;
  padding: 1.4rem 1.5rem 3.5rem;
  box-shadow: 0 0 0 14px #1a1612, 0 0 80px #000;
}
.mast {
  display: flex; justify-content: space-between; gap: 1rem; align-items: end;
  border-bottom: 3px solid var(--ink); padding-bottom: .55rem; margin-bottom: 1.2rem;
  position: sticky; top: 0; z-index: 6;
  background: #e8d7b4;
  padding-top: .35rem;
}
.mast-left { display: flex; align-items: center; gap: .65rem; }
.tod-stamp {
  width: 2.15rem; height: 2.15rem;
  border: 2px solid var(--stamp); border-radius: 50%;
  color: var(--stamp);
  font-size: .58rem; font-weight: 800; letter-spacing: .12em;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-12deg);
  flex-shrink: 0;
}
.prod { font-weight: 800; letter-spacing: .28em; font-size: 1.35rem; }
.sub, .week, .mute, figcaption, .kicker, .rank { color: var(--mute); font-size: .82rem; letter-spacing: .04em; }
.mast-right { text-align: right; }
.mast-right #stairs { margin-top: .35rem; font-size: .78rem; padding: .35rem .7rem; }
.rank { font-style: italic; }
.title-card h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
  letter-spacing: .08em; margin: .2rem 0 .8rem; line-height: 1.05;
}
.kicker { text-transform: uppercase; letter-spacing: .18em; margin: 0; }
.tag { font-size: 1.15rem; font-style: italic; max-width: 36rem; }
.intro p { max-width: 38rem; }
.seeds { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
button {
  font: inherit; background: var(--ink); color: var(--paper);
  border: 0; padding: .55rem 1.1rem; cursor: pointer; letter-spacing: .06em;
}
button:hover { background: var(--stamp); }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
button.term {
  background: none; color: inherit; padding: 0; margin: 0; border: 0;
  border-bottom: 1px dotted var(--stamp); letter-spacing: inherit; font: inherit;
  display: inline; box-shadow: none;
}
button.term:hover { background: none; color: var(--stamp); }
.hidden { display: none !important; }
.desk { display: grid; gap: 1rem; }
@media (min-width: 840px) {
  .desk { grid-template-columns: 180px 1fr; }
  .blotter { grid-column: 1 / -1; }
}
.meters, .lingo, #roster {
  background: #d9c7a0; padding: .6rem .7rem;
  border: 1px solid var(--ink);
}
.meters div { border-bottom: 1px dashed var(--rule); padding: .35rem 0; font-size: .84rem; }
.meters .term { font-weight: 700; }
.ticks { color: var(--stamp); letter-spacing: .04em; }
.lingo-btn, #install { width: 100%; margin: .45rem 0; font-size: .85rem; }
.lingo { font-size: .8rem; max-height: 280px; overflow: auto; }
.lingo h4, #roster h4 { margin: .15rem 0 .35rem; letter-spacing: .08em; }
.lingo p { margin: 0 0 .55rem; color: var(--mute); }
#roster { margin-top: .45rem; font-size: .78rem; }
#roster p { margin: 0 0 .45rem; color: var(--mute); }
#roster .gone { text-decoration: line-through; color: var(--stamp); }
.cable {
  border: 1px solid var(--ink);
  padding: .85rem .9rem; margin-bottom: .8rem;
  background: #f3e6c8;
  box-shadow: 3px 3px 0 #1a1612;
}
.cable h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.stamp { color: var(--stamp); letter-spacing: .14em; font-size: .7rem; font-weight: 700; }
.notice {
  border-left: 3px solid var(--stamp);
  padding: .35rem .6rem;
  background: #ead6b0;
  font-size: .92rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.blotter { border-top: 3px solid var(--ink); padding-top: .85rem; }
.ending { border: 3px solid var(--stamp); padding: 1.1rem; background: #ead4a8; }
.still { display: none; margin: 0; }
.still.on { display: block; }
.frame {
  height: min(48vw, 320px);
  border: 2px solid #0a0908;
  margin-bottom: .45rem;
  position: relative;
  overflow: hidden;
  background: #111;
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.frame span {
  position: absolute; right: .7rem; bottom: .5rem;
  color: #f0e2c4; letter-spacing: .2em; font-size: .75rem; opacity: .85;
  text-shadow: 0 1px 8px #000;
}
.still-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
#next-week { margin: .25rem 0 1rem; }
