/* Learn different. A cutaway carriage and a reader's mark on the printed sheet. */
.tq-issue,
.tq-book,
.tq-issue section[id] {
  scroll-margin-top: 84px;
}
.tq-issue {
  --train-ink: #183d34;
  --train-line: #bfccbe;
  --train-muted: #485d53;
  padding-bottom: clamp(48px, 7vw, 98px);
}
.tq-issue [hidden] { display: none !important; }
.tq-spread {
  display: grid;
  grid-template-columns: minmax(245px, .73fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(30px, 4.5vw, 68px);
  border-top: 2px solid var(--train-ink);
  padding-top: clamp(24px, 3.2vw, 46px);
}
.tq-story { padding-top: 2px; }
.tq-kicker {
  margin: 0 0 12px;
  color: var(--train-muted);
  font-size: 14px;
  font-weight: 600;
}
.tq-story h2,
.tq-archive-title,
.tq-book h2 {
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.048em;
  overflow-wrap: break-word;
}
.tq-story h2 { font-size: clamp(35px, 3.9vw, 60px); }
.tq-premise {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  margin: 16px 0 22px;
  color: #313e36;
}
.tq-issue fieldset {
  min-inline-size: 0;
  border: 0;
  margin: 0;
  padding: 0;
}
.tq-issue legend { padding: 0; }
.tq-guess legend {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.32;
  margin-bottom: 6px;
}
.tq-guess label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  min-height: 44px;
  width: fit-content;
}
.tq-guess input {
  appearance: auto;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--train-ink);
  cursor: pointer;
}
.tq-guess input:checked + span { font-weight: 600; color: var(--train-ink); }
.tq-issue :is(a, button, input, summary):focus-visible,
.tq-book a:focus-visible {
  outline: 2px solid #155d9b;
  outline-offset: 3px;
}
.tq-plate {
  min-width: 0;
  background: #faf8ef;
  color: var(--train-ink);
  border: 1px solid #cfcebf;
  border-radius: 4px;
  box-shadow: 0 2px 0 #e4e4d8;
  padding: clamp(12px, 1.5vw, 22px);
}
.tq-plate .tq-views {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}
.tq-views legend {
  float: left;
  font-size: 13px;
  font-weight: 500;
}
.tq-views > div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.tq-views label {
  position: relative;
  display: flex;
  cursor: pointer;
}
.tq-views input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}
.tq-views span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 13px;
  font-size: 14px;
  border-radius: 3px;
  line-height: 1.2;
  border: 1px solid #b6c1ae;
}
.tq-views input:checked + span { color: #fff; background: var(--train-ink); border-color: var(--train-ink); }
.tq-views input:focus-visible + span { outline: 2px solid #155d9b; outline-offset: 2px; z-index: 1; }
.tq-scene {
  overflow: hidden;
  aspect-ratio: 900 / 418;
  background: #eeebd7;
  border: 1px solid #cdcebb;
}
.tq-scene > * { display: block; width: 100%; height: 100%; }
.tq-film {
  display: flex;
  align-items: center;
  gap: clamp(13px, 3vw, 44px);
  margin-top: 9px;
}
.tq-play {
  color: var(--train-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  max-width: 55%;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.tq-play i {
  flex: none;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.tq-timeline { flex: 1; min-width: 50px; }
.tq-timeline input {
  cursor: pointer;
  display: block;
  height: 44px;
  width: 100%;
  margin: 0;
  appearance: auto;
  accent-color: var(--train-ink);
}
.tq-timeline > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  color: var(--train-muted);
  margin: -3px 0 4px;
  pointer-events: none;
}
.tq-plate figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
  margin-top: 9px;
  color: var(--train-muted);
  line-height: 1.4;
  font-size: 12px;
}
.tq-marker { display: flex; align-items: center; gap: 4px; }
.tq-marker i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #ecd16d;
  border: 1.3px solid #223c32;
  transform: rotate(45deg);
  margin-right: 3px;
}
.tq-marker strong { font-weight: 600; }
.tq-credit { margin-left: auto; }
.tq-observation:not(:empty) {
  border-top: 1px dashed #aab9a8;
  padding-top: 11px;
  margin-top: 11px;
  font-size: 15px;
  line-height: 1.45;
  color: #253f32;
}
.tq-reading, .tq-conversation { margin-top: clamp(20px, 2.8vw, 38px); }
.tq-reading { border-block: 1px solid var(--train-line); }
.tq-issue summary {
  cursor: pointer;
  width: fit-content;
  padding: 13px 2px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--train-ink);
}
.tq-reading p, .tq-conversation p {
  margin: 0 0 10px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.5;
}
.tq-reading a, .tq-send-actions a, .tq-send-actions button {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.tq-reading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--train-ink);
}
.tq-conversation {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(24px, 6vw, 88px);
}
.tq-conversation h3 {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.13;
  margin-bottom: 11px;
}
.tq-brake summary { padding-block: 8px; display: list-item; min-height: 44px; }
.tq-send-actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.tq-send-actions > * {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--train-ink);
}
.tq-conversation .tq-share-status {
  margin: 0;
  font-size: 14px;
  color: var(--train-ink);
}
.tq-sharing input {
  width: 100%;
  border: 1px solid #89998c;
  font: inherit;
  border-radius: 4px;
  height: 44px;
  padding-inline: 9px;
  margin: 8px 0 4px;
}
.tq-archive-title {
  margin-bottom: 24px;
  font-size: clamp(29px, 3.3vw, 49px);
}
.tq-book { padding-block: 8px 26px; }
.tq-book > div {
  padding: clamp(20px, 3vw, 40px);
  border-left: 3px solid #315c4d;
  background: #edf1e8;
  color: #1c3c31;
}
.tq-book-spread { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.tq-book-poster { display: block; width: 100%; height: auto; border: 1px solid #c1c7b2; }
.tq-book h2 { font-size: clamp(25px, 3vw, 43px); }
.tq-book blockquote {
  margin: 18px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.35;
  max-width: 45ch;
}
.tq-book p { max-width: 62ch !important; line-height: 1.5; margin-bottom: 8px; }
.tq-print-invite { display: none; }
@media(max-width: 800px) {
  .tq-spread { grid-template-columns: 1fr; gap: 22px; }
  .tq-premise { margin-block: 12px 15px; }
  .tq-story h2 { max-width: 20ch; }
  .tq-guess { display: flex; flex-wrap: wrap; column-gap: 14px; }
  .tq-guess legend { margin-bottom: 4px; }
  .tq-guess label { font-size: 14px; }
}
@media(max-width: 620px) {
  .tq-book-spread { grid-template-columns: 1fr; }
  .tq-conversation { grid-template-columns: 1fr; }
  .tq-plate .tq-views { display: block; }
  .tq-views legend { float: none; margin-bottom: 6px; }
  .tq-guess { display: block; }
  .tq-guess label { min-height: 44px; }
}
@media print {
  .tq-print-invite { display: grid; grid-template-columns: 1fr 44mm; gap: 5mm; align-items: center; margin: 4mm 0 0; break-inside: avoid; }
  .edition-paper-page .tq-print-invite p, .tq-print-invite { font-size: 10pt; line-height: 1.3; }
  .tq-print-url { display: inline-block; font-size: 9pt; overflow-wrap: anywhere; }
  .tq-book, .tq-sharing button, .tq-sharing input, .tq-film, .tq-views { display: none !important; }
}
