/* CHEAT THE LOOK - prototype styles
   Dark ground, cream type. No framework. No tracking. */

:root {
  --ground: #101010;
  --ground-raised: #171717;
  --rule: #332f28;
  --cream: #e9e1cf;
  --cream-dim: #b3aa97;
  --accent: #c8894a;
  --measure: 46rem;
  --header-h: 3.5rem;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- sticky banner ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground-raised);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.25rem;
  height: var(--header-h);
  flex-wrap: wrap;
}

header.site .wordmark {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

header.site .wordmark span { color: var(--accent); letter-spacing: 0; }

header.site nav {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

header.site nav a {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.28rem 0.6rem;
}

header.site nav a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

header.site nav a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- layout ---------- */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
}

.lede {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

h1 {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.4rem 0 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
}

p { margin: 0 0 1rem; }

a { color: var(--cream); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- credits slate ---------- */

.slate {
  background: var(--ground-raised);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.1rem;
  margin: 0 0 2rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--cream-dim);
}

.slate b { color: var(--cream); font-weight: 600; }

.slate div + div { margin-top: 0.15rem; }

/* ---------- index list ---------- */

.alpha {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 2rem 0 0.4rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
}

ul.index { list-style: none; margin: 0; padding: 0; }

ul.index li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(51, 47, 40, 0.5);
}

ul.index .title { text-decoration: none; }
ul.index .title:hover { text-decoration: underline; text-decoration-color: var(--accent); }

ul.index .meta {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--cream-dim);
  white-space: nowrap;
}

/* ---------- search ---------- */

.search {
  width: 100%;
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  color: var(--cream);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  margin-top: 1.5rem;
}

.search::placeholder { color: #6f685c; }

/* ---------- useful counter + share ---------- */

.postfoot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--cream-dim);
  border: 1px solid var(--rule);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.btn:hover { color: var(--cream); border-color: var(--accent); }

/* ---------- subscribe ---------- */

.subscribe {
  margin-top: 3rem;
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  padding: 1.25rem;
}

.subscribe form { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }

.subscribe input[type="email"] {
  flex: 1 1 15rem;
  background: var(--ground);
  border: 1px solid var(--rule);
  color: var(--cream);
  padding: 0.55rem 0.7rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85rem;
}

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 1.25rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #6f685c;
  text-align: center;
}

/* the publish script writes the date in here; in prototype/ it says so */
footer.site .updated {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: #55504a;
}

/* ---------- small screens ---------- */

@media (max-width: 40rem) {
  html { font-size: 16px; }
  header.site { height: auto; padding: 0.6rem 1rem; gap: 0.6rem; }
  header.site nav { margin-left: 0; width: 100%; gap: 0.9rem; flex-wrap: wrap; }
  main { padding: 1.5rem 1rem 4rem; }
  ul.index li { flex-direction: column; gap: 0.1rem; }
}

/* ---------- film head: poster, slate, synopsis, trailer ---------- */

.filmhead {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 0 0 2rem;
}

/* the poster stretches to match the height of the text column,
   so the top and bottom edges of the block line up */
.poster {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #6f685c;
  padding: 0.5rem;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.filmhead .col { display: flex; flex-direction: column; }
.filmhead .col .trailer { margin-top: auto; align-self: flex-start; }

.filmhead .slate { margin: 0 0 0.9rem; }

.synopsis {
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-style: italic;
  margin: 0 0 0.9rem;
}

.trailer {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.45rem 0.8rem;
}

.trailer:hover { color: var(--cream); border-color: var(--accent); }
.trailer .src { color: var(--accent); }

/* the two offsite buttons sit on one row at the bottom of the film head */
.filmhead .col .offsite {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.filmhead .col .offsite .trailer { margin-top: 0; align-self: auto; }

/* IMDb badge. Their wordmark as type in their own colours rather than their
   logo file, so no trademarked artwork is hosted here. */
a.imdb {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #000;
  background: #f5c518;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border: 1px solid #f5c518;
}

a.imdb:hover { background: #ffd54a; border-color: #ffd54a; }

@media (max-width: 40rem) {
  .filmhead { grid-template-columns: 6.5rem 1fr; gap: 0.9rem; }
}

/* ---------- rights line ---------- */

.rights,
main.post p.rights,
main.wide p.rights {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.6;
  color: #6f685c;
  border-top: 1px solid var(--rule);
  margin-top: 2.5rem;
  padding-top: 0.9rem;
}

/* takedown contact in the rights line. a mailto hands off to whatever mail
   client the visitor uses, and target keeps this page where it is */
a.takedown {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

a.takedown:hover { color: #fff; border-bottom-color: #fff; }

/* the address in plain selectable text, for anyone whose machine has no mail
   client registered and gets nowhere clicking the link above */
.fallback {
  display: block;
  text-align: center;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  user-select: all;
}

.slate a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
}

.slate a:hover { border-bottom-color: var(--accent); color: #fff; }

/* ---------- voice-first post layout ---------- */

main.post { max-width: 42rem; }

.eyebrow {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f685c;
  margin: 0 0 0.4rem;
}

main.post h1 {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
}

.filmline {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  margin: 0 0 1.75rem;
}

main.post h2 {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
  border: 0;
  margin: 2.6rem 0 0.5rem;
  padding: 0;
}

main.post h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  background: var(--accent);
  margin-top: 0.5rem;
}

main.post p { font-size: 1.06rem; line-height: 1.72; }

p.first { font-size: 1.2rem; line-height: 1.65; color: #f3ecda; }

/* ---------- scorecard ---------- */

.scorecard {
  margin-top: 3.25rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.scorehead {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin: 0 0 1rem !important;
}

.scorehead::after { display: none !important; }

.score {
  display: grid;
  grid-template-columns: 8rem 6.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(51, 47, 40, 0.5);
}

.score .dept {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.stars { color: var(--accent); letter-spacing: 0.15em; font-size: 0.8rem; }
.stars.big { font-size: 1rem; }

.score .line { font-size: 0.95rem; color: var(--cream); }

.overall {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--ground-raised);
  border-left: 3px solid var(--accent);
}

.overall .dept {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-right: 0.75rem;
}

.overall p { margin: 0.6rem 0 0; font-size: 1rem; }

/* ---------- credits block at the bottom ---------- */

.credits { margin-top: 3rem; }
.credits .note { font-size: 0.8rem; color: #6f685c; margin-top: 0.6rem; }

@media (max-width: 40rem) {
  main.post h1 { font-size: 2rem; }
  .score { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.7rem 0; }
}

/* ---------- compact credits box at the top ---------- */

.topslate { font-size: 0.75rem; line-height: 1.7; margin: 0 0 0.9rem; }

.topslate .more { margin-top: 0.5rem; padding-top: 0.45rem; border-top: 1px solid var(--rule); }

.topslate .more a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.topslate .more a:hover { text-decoration: underline; }

/* ---------- continuous prose with department tags in the margin ---------- */

.beat { position: relative; margin: 1.9rem 0; }

.beat::before {
  content: attr(data-dept);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f685c;
  position: absolute;
  left: -8.5rem;
  top: 0.55rem;
  width: 7rem;
  text-align: right;
}

/* no room for a margin tag on narrow screens: show it inline, small */
@media (max-width: 62rem) {
  .beat::before {
    position: static;
    display: block;
    width: auto;
    text-align: left;
    margin-bottom: 0.3rem;
  }
}

/* ---------- coming soon ---------- */

.soontag {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--rule);
  padding: 0.28rem 0.6rem;
}

body.home main.post h1,
body.soon main.post h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

/* the section heads carry the copper too, with the rule under them in cream
   so the two do not sit on top of each other */
body.home main.post h2,
body.soon main.post h2 { color: var(--accent); }

body.home main.post h2::after,
body.soon main.post h2::after { background: var(--cream-dim); width: 3rem; }

body.home .subscribe,
body.soon .subscribe { margin-top: 3.5rem; }

/* "all write ups ->" style links under a block */
p.morelink {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

p.morelink a { color: var(--accent); text-decoration: none; }
p.morelink a:hover { text-decoration: underline; }

/* the standing line under the title: bigger than body copy, smaller than
   the heading, on its own so it reads as a statement and not an opener */
p.deck {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1.45rem !important;
  font-style: italic;
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

@media (max-width: 40rem) {
  p.deck { font-size: 1.25rem !important; }
}

/* standing line of its own, quieter than the deck at the top */
p.craftline {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1.2rem !important;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* the index and the write ups page borrow the watched list rows */
body.home ol.watchlist li,
main.wide ol.watchlist li { cursor: default; }
body.home ol.watchlist li:hover { background: none; }

/* ---------- header tagline ---------- */

header.site .tagline {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
  white-space: nowrap;
}

@media (max-width: 52rem) {
  header.site .tagline {
    border-left: 0;
    padding-left: 0;
    width: 100%;
    white-space: normal;
    font-size: 0.66rem;
  }
}

/* ---------- overall verdict, no box ---------- */

.verdict {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.verdictline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.6rem;
}

.verdict .dept {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.verdict .stars.big { font-size: 1.15rem; letter-spacing: 0.2em; }

/* ---------- what I've watched ---------- */

main.wide { max-width: 58rem; }

main.wide h1 {
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 2.3rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

main.wide p.first { font-size: 1.1rem; }
main.wide p { font-size: 1.02rem; line-height: 1.7; }

/* ---------- citations ----------
   quiet on purpose: a small marker in the text, the actual source in a list at
   the bottom of the page. There if somebody goes looking, invisible if not. */

a.cite {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.6rem;
  vertical-align: super;
  line-height: 0;
  color: var(--cream-dim);
  text-decoration: none;
  padding-left: 0.1rem;
}

a.cite::before { content: "["; }
a.cite::after { content: "]"; }
a.cite:hover { color: var(--accent); }

.sources {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.sources h2 {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace !important;
  font-size: 0.64rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #6f685c !important;
  border: 0 !important;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
}

.sources h2::after { display: none !important; }

.sources ol { margin: 0; padding-left: 1.4rem; }

.sources li {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.7;
  color: #6f685c;
  margin-bottom: 0.5rem;
}

.sources li a { color: var(--cream-dim); text-decoration-color: var(--rule); }
.sources li a:hover { color: var(--cream); text-decoration-color: var(--accent); }

.sources li a.back {
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.58rem;
  color: #55504a;
}

.sources li a.back::before { content: "\2191 "; }
.sources li a.back:hover { color: var(--accent); }

.sources li:target { color: var(--cream-dim); }

/* running totals in a left column, the same place the poster sits on a post */

.watchhead {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem 0 0;
}

.watchhead .col { display: flex; flex-direction: column; }

.odo {
  background: var(--ground-raised);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.1rem;
}

.odo .stat + .stat {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.odo .stat { display: flex; flex-direction: column; gap: 0.1rem; }

.odo .n {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.odo .cap {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f685c;
}

@media (max-width: 46rem) {
  .watchhead { grid-template-columns: 1fr; gap: 1.1rem; }
  .odo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .odo .stat + .stat { margin-top: 0; padding-top: 0; border-top: 0; }
  .odo .n { font-size: 1.35rem; }
}

.controls {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 2rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.controls .search { flex: 1 1 14rem; margin-top: 0; }

.pick { display: flex; flex-direction: column; gap: 0.3rem; }

.pick span {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f685c;
}

.pick select {
  background: var(--ground-raised);
  border: 1px solid var(--rule);
  color: var(--cream);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.pick select:hover { border-color: var(--accent); }

.tally {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f685c;
  margin: 0 0 0.6rem;
}

ol.watchlist { list-style: none; margin: 0; padding: 0; }

ol.watchlist li {
  display: grid;
  grid-template-columns: 1fr 5.5rem 11rem;
  gap: 1rem;
  align-items: baseline;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(51, 47, 40, 0.5);
}

ol.watchlist li:nth-child(even) { background: rgba(23, 23, 23, 0.55); }

ol.watchlist .t { font-size: 1rem; }
ol.watchlist .t a { text-decoration: none; border-bottom: 1px solid var(--accent); }
ol.watchlist .t a:hover { color: #fff; }

ol.watchlist .y {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #6f685c;
}

ol.watchlist .tv {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--rule);
  padding: 0.05rem 0.3rem;
  margin-left: 0.5rem;
  vertical-align: 1px;
}

ol.watchlist .wu {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--ground);
  background: var(--accent);
  padding: 0.08rem 0.35rem;
  margin-left: 0.5rem;
  vertical-align: 1px;
}

ol.watchlist .wulink {
  display: table;
  margin-top: 0.5rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

ol.watchlist .wulink:hover { color: #fff; border-bottom-color: #fff; }

ol.watchlist .s {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

ol.watchlist .m {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: var(--cream-dim);
  text-align: right;
  white-space: nowrap;
}

/* the disclaimer is meant to be read, not buried: copper, and big enough */
p.hint {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.76rem !important;
  line-height: 1.75;
  color: var(--accent);
  margin: 1rem 0 0.75rem;
}

/* click a row to drop its full record underneath */

ol.watchlist li { cursor: pointer; }
ol.watchlist li:hover { background: rgba(200, 137, 74, 0.05); }
ol.watchlist li.open { background: rgba(200, 137, 74, 0.07); }

ol.watchlist .detail {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  padding: 0.5rem 0 0.15rem;
  border-top: 1px dotted var(--rule);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.75;
  color: var(--cream-dim);
}

ol.watchlist .dsep { color: #55504a; padding: 0 0.4rem; }

ol.watchlist .dnote {
  display: block;
  color: #6f685c;
  font-size: 0.65rem;
  margin-top: 0.2rem;
}

.more {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.more .btn { padding: 0.6rem 1.4rem; }

main.wide .note {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem !important;
  color: #6f685c;
  margin-top: 1.25rem;
}

@media (max-width: 46rem) {
  ol.watchlist li {
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.75rem;
    padding: 0.6rem 0;
  }
  ol.watchlist .s { grid-column: 2; grid-row: 1; text-align: right; }
  ol.watchlist .m { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .controls .search { flex: 1 1 100%; }
  .pick { flex: 1 1 10rem; }
  .pick select { width: 100%; }
}

