@font-face {
  font-family: Instrument;
  src: url('assets/instrument-serif.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url('assets/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --espresso: #16110f;
  --paper: #fff;
  --surface: #f2f1ee;
  --ink: #26251f;
  --accent: #635648;
  --action: #3a372f;
  --action-hover: #4a463d;
  --on-action: #fff;
  --line: #d3d2ce;
  --field: #f9f9f9;
  --focus: #55472f;
  --muted: #625e57;
  --control-radius: 8px;
  --serif: Instrument, Georgia, serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
  scroll-behavior: smooth;
}
.dark-band,
.archive-page .heading-band {
  --paper: var(--espresso);
  --surface: #302a26;
  --field: #28231f;
  --ink: #f2f2f2;
  --muted: #c9c3ba;
  --accent: #e0d6c9;
  --action: #fff;
  --action-hover: #e3ded7;
  --on-action: #26251f;
  --line: #504941;
  --focus: #efe2cc;
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 var(--sans);
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1320px, calc(100% - clamp(40px, 9.6vw, 156px)));
  margin-inline: auto;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font: italic 38px/0.95 var(--serif);
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.paper-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 23px;
  transform: rotate(-10deg);
  border: 2px solid var(--accent);
  background: var(--paper);
  box-shadow:
    2px 2px 0 var(--paper),
    3px 3px 0 var(--accent);
}
body:not(.archive-page) .archive-mark {
  display: none;
}
.paper-mark:before {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 3px;
  height: 4px;
  background: var(--accent);
}
.paper-mark:after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 6px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.mast nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-link,
footer nav a,
footer button {
  font-size: 14px;
  padding: 8px 0;
}
.nav-link:hover,
footer nav a:hover,
footer button:hover,
.shuffle-line button:hover {
  color: var(--accent);
}
.saved-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.saved-nav #saved-count {
  font: 11px var(--mono);
  padding: 3px 5px;
  border-radius: 2px;
  background: var(--surface);
}
.bookmark {
  display: inline-block;
  width: 12px;
  height: 15px;
  background: currentColor;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    50% 74%,
    0 100%,
    0 0,
    1.5px 1.5px,
    1.5px 83%,
    50% 60%,
    calc(100% - 1.5px) 83%,
    calc(100% - 1.5px) 1.5px,
    1.5px 1.5px
  );
}
[aria-pressed='true'] .bookmark {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5%;
  align-items: center;
  min-height: clamp(340px, 28.8vw, 425px);
  padding: 22px 0 21px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.kicker,
.dateline,
.meta,
.date-fields label,
.paper-label,
.intro-date {
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  margin: 0 0 14px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(72px, 7.55vw, 114px);
  line-height: 0.98;
  letter-spacing: -0.046em;
  margin: 0 0 16px;
  white-space: nowrap;
}
h1 em {
  color: var(--accent);
  font-weight: 400;
}
@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #main-title em {
      padding-inline: .06em;
      margin-inline: -.06em;
      background-image: repeating-linear-gradient(
        90deg, #ff88a1 0%, #ffad72 9%, #f5da7a 17%, #86dfb4 25%,
        #78cafa 33%, #aa9af8 41%, #e2a3ed 46%, #ff88a1 50%
      );
      background-size: 200% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    @media (prefers-reduced-motion: no-preference) {
      #main-title em {
        animation: shift-print-colors 16s linear infinite;
      }
    }
  }
}
@keyframes shift-print-colors {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}
.intro {
  max-width: 430px;
  font-size: clamp(17px, 1.33vw, 20px);
  line-height: 1.45;
  margin: 0 0 26px;
}
.hero-art {
  height: clamp(270px, 24vw, 345px);
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
}
.date-form,
.date-fields {
  display: flex;
  align-items: stretch;
}
.date-form {
  gap: 10px;
}
.date-fields {
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--field);
  padding: 5px 0;
  min-height: 51px;
}
.date-fields label {
  padding: 0 10px 0 13px;
  display: grid;
  align-content: center;
  gap: 1px;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.2;
}
.date-fields label + label {
  border-left: 1px solid var(--line);
}
.date-fields input,
.date-fields select,
.type-select select {
  border: 0;
  background-color: transparent;
  border-radius: 0;
  color: var(--ink);
  font: 15px/1.3 var(--sans);
  text-transform: none;
  letter-spacing: 0;
  min-height: 22px;
}
.date-fields select,
.type-select select {
  appearance: none;
  cursor: pointer;
  padding: 0 21px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23363329' stroke-width='1.4'/%3E%3C/svg%3E");
  background-position: right 1px center;
  background-repeat: no-repeat;
}
.dark-band .date-fields select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f2f2f2' stroke-width='1.4'/%3E%3C/svg%3E");
}
.date-fields input {
  width: 54px;
  padding: 0;
  appearance: textfield;
}
.date-fields input::-webkit-inner-spin-button {
  appearance: none;
}
.ink-button,
.shop-button {
  padding: 0 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font: 600 14px var(--sans);
  color: var(--on-action);
  background: var(--action);
  border-radius: var(--control-radius);
  text-decoration: none;
}
.ink-button {
  white-space: nowrap;
}
.ink-button:hover,
.shop-button:hover {
  background: var(--action-hover);
}
.ink-button span {
  font-size: 20px;
  line-height: 1;
}
.shuffle-line {
  margin-top: 10px;
}
.shuffle-line button {
  padding: 4px 0;
  font: 12px var(--sans);
  color: var(--muted);
}
.shuffle-line span {
  font: 18px/1 var(--sans);
  padding-right: 4px;
  color: var(--accent);
}
.results {
  padding: clamp(23px, 2.2vw, 33px) 0 43px;
  scroll-margin-top: 12px;
}
.results:focus:not(:focus-visible) {
  outline: 0;
}
.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.results-heading .kicker,
.elsewhere .kicker {
  margin: 0 0 5px;
}
.results h2,
.elsewhere h2,
dialog h2 {
  font-size: clamp(39px, 4vw, 61px);
  line-height: 1.03;
  letter-spacing: -0.034em;
  margin: 0;
}
.dateline {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 5px;
}
.toolbar,
.filters {
  display: flex;
  align-items: center;
  gap: 7px;
}
.toolbar {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.filters {
  flex-wrap: wrap;
  flex-basis: 100%;
}
.filters button {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  line-height: 1.5;
  white-space: nowrap;
}
.filters button small {
  font: 10px var(--mono);
  margin-left: 4px;
  opacity: 0.8;
}
.filters button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.filters button:hover {
  border-color: var(--ink);
}
.type-select {
  display: grid;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--field);
}
.type-select:focus-within {
  border-color: var(--ink);
}
.type-select > span {
  font: 600 9px/1.2 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.type-select select {
  font-size: 14px;
  width: 100%;
  max-width: 100%;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.find {
  min-width: 0;
  position: relative;
}
.cover-button {
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cover-button img:not([width]) {
  aspect-ratio: auto 3 / 4;
}
.find-caption {
  position: relative;
  padding-right: 40px;
}
.without-preview.find {
  align-self: start;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.without-preview .meta { margin-top: 0; }
.preview-status { font-size: 13px; color: var(--muted); }
.save-card {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.save-card:hover {
  border-color: var(--ink);
}
.save-card .bookmark {
  width: 12px;
  height: 16px;
}
.meta {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.075em;
  color: var(--muted);
  margin: 12px 0 4px;
}
.meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8b7d6b;
}
.meta .exact {
  color: var(--accent);
}
.card-title {
  padding: 0;
  text-align: left;
  font: clamp(27px, 2.65vw, 40px) / 1.05 var(--serif);
  letter-spacing: -0.03em;
}
.card-title:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.empty {
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--field);
  padding: 22px;
  color: var(--muted);
}
.empty button {
  color: var(--accent);
  text-decoration: underline;
}
.elsewhere {
  border-top: 1px solid var(--ink);
  padding: 33px 0 45px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  align-items: start;
}
.elsewhere h2 {
  font-size: 42px;
}
.elsewhere a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--ink);
  font-size: 14px;
}
.elsewhere a:hover {
  text-decoration: underline;
}
.elsewhere a span {
  color: var(--accent);
}
footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand.small {
  font-size: 27px;
}
footer nav { display: flex; align-items: center; gap: 20px; }
footer nav a,
footer button {
  color: var(--muted);
  font-size: 12px;
}
dialog {
  max-width: min(540px, calc(100vw - 26px));
  width: 100%;
  max-height: 85dvh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 16px 70px #23201733;
}
#modal-body {
  max-height: calc(85dvh - 2px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(22px, 3.8vw, 40px);
}
dialog::backdrop {
  background: #29271e99;
}
.close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font: 25px/1 var(--sans);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--field);
}
.close:hover { border-color: var(--ink); }
dialog h2 {
  font-size: 46px;
  margin: 12px 0 6px;
}
dialog h3 {
  font: 27px var(--serif);
  margin: 18px 0 5px;
}
dialog p {
  margin: 8px 0 14px;
  line-height: 1.5;
}
dialog .art img {
  width: auto;
  max-width: 100%;
  max-height: 65dvh;
  margin-inline: auto;
}
.detail-links {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.detail-links a {
  display: block;
  padding: 6px 0;
  color: var(--accent);
}
.detail-links a.shop-button {
  display: inline-flex;
  padding: 13px 17px;
  margin: 8px 0;
  color: var(--paper);
}
.paid-link { white-space: nowrap; }
.ebay-options { padding-top: 8px; border-bottom: 1px solid var(--line); }
.ebay-options .ebay-heading { margin: 0; font-size: 15px; font-weight: 600; }
.ebay-heading .paid-link { font-weight: 400; }
.ebay-actions { display: flex; flex-wrap: wrap; gap: 0 18px; }
.ebay-actions a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.seller-notes { font-size: 14px; }
.seller-notes summary { width: fit-content; padding: 10px 0; cursor: pointer; }
.seller-notes dl { margin: 0; }
.seller-notes dt { margin-top: 8px; font-weight: 600; }
.seller-notes dd { margin: 3px 0 12px; color: var(--muted); }
.detail-sub {
  font-size: 13px;
  color: var(--muted);
}
.source-list {
  font-size: 14px;
}
.source-list a {
  border-bottom: 1px solid var(--line);
  padding-block: 10px;
}
.skip,
.sr-only {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  z-index: 5;
  clip-path: none;
  width: auto;
  height: auto;
  left: 12px;
  top: 12px;
  padding: 5px;
  background: var(--paper);
}
@media (min-width: 1450px) {
  .hero {
    gap: 5%;
  }
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 52px);
  }
  .hero {
    gap: 2%;
    grid-template-columns: 1.2fr 1fr;
    min-height: 365px;
  }
  .hero-art {
    height: 265px;
  }
  .date-fields label {
    padding-inline: 8px;
  }
  .ink-button {
    padding-inline: 13px;
  }
  .cards {
    gap: 24px 14px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 36px);
  }
  .mast {
    height: 63px;
  }
  .brand {
    font-size: 31px;
    gap: 9px;
  }
  .mast nav {
    gap: 16px;
  }
  .nav-link {
    font-size: 12px;
  }
  .results {
    padding-top: 19px;
  }
  .results-heading {
    margin-bottom: 14px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .filters button {
    font-size: 12px;
    padding: 5px 9px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .card-desc {
    font-size: 13px;
  }
  .dateline {
    font-size: 10px;
  }
  .elsewhere {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .elsewhere h2 {
    font-size: 35px;
  }
}
@media (max-width: 430px) {
  .about-link {
    max-width: 55px;
    line-height: 1.1;
  }
  .meta {
    font-size: 8px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .results h2 {
    font-size: 36px;
  }
  .card-title {
    font-size: 25px;
  }
  .save-card {
    width: 29px;
    height: 29px;
  }
  .filters {
    gap: 4px;
  }
  .filters button {
    font-size: 11px;
    padding: 4px 7px;
  }
  .filters button small {
    margin-left: 2px;
  }
  .dateline {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.strip-find {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2fr);
  align-items: center;
  gap: 20px;
  padding: 18px 46px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
}
.strip-find .cover-button { grid-area: 1 / 2; }
.strip-find .find-caption { grid-area: 1 / 1; }
.strip-find .meta { margin-top: 0; }
.strip-credit { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--muted); }
.strip-art img, .cover-button .strip-art img:not([width]) {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
dialog:has(.strip-art) { width: min(1000px, calc(100vw - 26px)); max-width: none; }
dialog .strip-art { margin: 14px 0 18px; }
@media (max-width: 700px) {
  .strip-find { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 10px; padding: 12px 10px; }
  .strip-find .find-caption { padding-right: 32px; }
  .strip-credit { margin-top: 4px; }
}

.strip-art, .strip-art img, .strip-find .cover-button { min-width: 0; }
dialog .strip-art img { max-height: 58dvh; object-fit: contain; }

.archive-page .hero { display: none; }
.archive-page .results { padding-top: 0; }
.archive-page .heading-band { padding-block: clamp(30px, 4.3vw, 64px); margin-bottom: 24px; }
.archive-page .results-heading { margin-bottom: 0; }
.archive-page .results-heading .kicker { margin-bottom: 10px; }
.archive-page .kicker::before,
.issue-heading .kicker::before {
  content: '';
  width: 25px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.archive-page h1 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 1.02;
  white-space: normal;
}
.archive-page .toolbar { gap: 10px; }
.archive-page .filters { flex-basis: auto; }
.more-covers {
  display: block;
  margin: 2rem 0 0;
  padding: .65rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--field);
  font-size: 14px;
}
.more-covers:hover { border-color: var(--ink); }
.nav-link { text-decoration: none; }
.nav-short { display: none; }
.card-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 16px; margin-top: 6px; }
.card-links .strip-credit { margin-top: 0; }
.buy-options, .cover-credit { padding: 3px 0; font-size: 13px; color: var(--accent); text-align: left; }
.buy-options:hover { text-decoration: underline; }
.detail-links .listing-note { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.detail-links .buy-heading { margin: 18px 0 5px; }
.issue-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}
.issue-heading { min-width: 0; }
.issue-heading .kicker { margin: 0 26px 8px 0; }
.issue-heading h2 { margin: 0 0 8px; }
dialog .issue-title { font: italic clamp(23px, 2.4vw, 31px)/1.14 var(--serif); margin: 0; }
.strip-reader .issue-heading, #modal-body > h2 { padding-right: 30px; }
@media (min-width: 701px) {
  dialog:has(.issue-layout) { max-width: min(900px, calc(100vw - 52px)); }
  .issue-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-rows: auto 1fr;
    gap: 18px clamp(24px, 3vw, 42px);
  }
  .issue-layout .art {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 100%;
  }
  .issue-layout .detail-links { grid-column: 1; }
  .issue-layout.without-preview { display: block; }
  dialog:has(.issue-layout.without-preview) { max-width: min(540px, calc(100vw - 52px)); }
}
@media (max-width: 650px) {
  .mast .nav-long, .mast .nav-wide { display: none; }
  .mast .nav-short { display: inline; }
  .mast nav { gap: 10px; }
  .mast .brand { white-space: nowrap; }
  .browsing-covers #publication-filter { width: min(100%, 20rem); }
}
#publication-filter {
  max-width: min(100%, 31rem);
  margin-left: 0;
}

.deck-only { display: none; }
@media (max-width: 700px), (pointer: coarse) and (hover: none) and (orientation: landscape) and (max-height: 550px) and (max-width: 1000px) {
  dialog:has(.phone-issue) { max-width: min(540px, calc(100vw - 26px)); }
  .issue-layout.phone-issue { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .phone-issue .art { padding-inline: 30px; }
  .phone-issue .art img { max-height: min(42svh, 400px); }
  .phone-issue .issue-heading h2 {
    font-size: clamp(26px, 7vw, 34px); line-height: 1.12;
    overflow-wrap: anywhere; text-wrap: pretty; margin: 0;
  }
  .phone-issue .issue-heading .kicker { margin: 7px 0 0; color: var(--muted); }
  .phone-issue.without-preview .issue-heading { padding-right: 30px; }
  .phone-issue .issue-heading .detail-sub { margin: 6px 0 0; }
  .phone-issue .buy-heading { margin: 2px 0 4px; font-size: 24px; }
  .phone-issue .seller-row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center;
    gap: 2px 14px; min-height: 44px; padding: 9px 0;
    border-bottom: 1px solid var(--line); text-decoration: none; line-height: 1.3;
  }
  .seller-row .shop-label { font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
  .seller-format { align-self: baseline; color: var(--muted); font-size: 13px; }
  .seller-status { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
  .seller-status::first-letter { text-transform: uppercase; }
  .phone-issue .resale-search { display: flex; align-items: center; width: fit-content; min-height: 44px; font-size: 14px; }
  .phone-issue .issue-sources { border-top: 1px solid var(--line); margin-top: 12px; }
  .phone-issue .issue-sources summary { padding: 13px 0; font-size: 14px; cursor: pointer; }
  .mast {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-block: 15px 5px;
  }
  .mast .brand { font-size: 34px; }
  .mast .paper-mark { display: none; }
  .mast nav { justify-content: center; gap: 20px; }
  .hero {
    --section-space: clamp(14px, calc(8svh - 32px), 42px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'intro' 'covers' 'form' 'surprise';
    justify-items: center; gap: 0;
    min-height: 0; padding: clamp(24px, 5svh, 48px) 0 clamp(24px, 4svh, 40px);
    text-align: center;
  }
  .hero-copy { display: contents; }
  .hero h1 {
    grid-area: title; margin: 0 0 clamp(9px, 1.4svh, 16px);
    font-size: clamp(40px, 13.6vw, 60px); line-height: 1.02;
    white-space: normal;
  }
  .hero h1 em { white-space: nowrap; }
  .hero .intro {
    grid-area: intro; margin: 0; max-width: min(100%, 34ch);
    text-wrap: balance; font-size: 16px; line-height: 1.45;
  }
  .hero .date-form {
    grid-area: form; width: min(100%, 316px); margin: var(--section-space) 0 0;
    flex-direction: column; align-items: center; gap: clamp(10px, 1.65svh, 16px);
  }
  .hero .date-fields { width: 100%; min-height: 52px; text-align: left; }
  .hero .date-fields label { padding-inline: 10px; flex: 1; min-width: 0; font-size: 10px; }
  .hero .date-fields label:first-child { flex: 1.8; }
  .hero .date-fields select { min-width: 0; width: 100%; padding-right: 12px; }
  .hero .date-fields input { width: 100%; }
  .hero .date-fields :is(input, select) { font-size: 16px; }
  .hero .ink-button { min-width: 164px; min-height: 44px; padding-inline: 18px; }
  .hero .shuffle-line { grid-area: surprise; margin: clamp(6px, 1.1svh, 12px) 0 0; }
  .hero .shuffle-line button { min-height: 36px; }
  footer.shell { flex-direction: column; gap: 8px; text-align: center; }
  html[data-initial-view=picker] #results, html[data-initial-view] #elsewhere,
  html[data-initial-view=edition] .hero { display: none; }
  html[data-initial-view=edition] #results { visibility: hidden; min-height: 80svh; }
  body.mobile-picker { min-height: 100svh; display: flex; flex-direction: column; background: var(--espresso); }
  .mobile-picker main { flex: 1; }
  .mobile-picker #results, .mobile-picker #elsewhere, .mobile-edition .hero,
  .mobile-edition #weekday { display: none; }
  .mobile-edition .deck-only { display: flex; }
  .mobile-edition .results { padding-top: 17px; scroll-margin-top: 0; }
  .mobile-edition .results-heading { align-items: center; margin-bottom: 5px; }
  .mobile-edition #result-kicker { margin-bottom: 4px; }
  .mobile-edition #date-heading { font-size: clamp(30px, 7.6vw, 44px); }
  .mobile-edition .text-control {
    color: var(--ink); font-size: 13px; text-decoration: underline;
    text-underline-offset: 3px; padding: 8px 0; white-space: nowrap;
  }
  .deck-settings { justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
  .comics-toggle { display: inline-flex; align-items: center; gap: 8px; position: relative; min-height: 44px; font-size: 13px; cursor: pointer; }
  .comics-toggle input { position: absolute; inset: 0 auto 0 0; width: 33px; opacity: 0; cursor: pointer; }
  .comics-toggle span { width: 31px; height: 18px; border: 1px solid var(--muted); border-radius: 20px; padding: 2px; }
  .comics-toggle span::before { content: ''; display: block; width: 12px; height: 12px; border-radius: 100%; background: var(--muted); }
  .comics-toggle input:checked + span { background: var(--ink); border-color: var(--ink); }
  .comics-toggle input:checked + span::before { background: var(--paper); transform: translateX(12px); }
  .comics-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
  .mobile-edition .deck-settings:not(:has([aria-expanded=true])) + .toolbar { display: none; }
  .mobile-edition .toolbar { padding-top: 12px; }
  .mobile-edition #cards { display: block; margin: 0 auto; max-width: 440px; touch-action: pan-y pinch-zoom; }
  .mobile-edition #cards img { -webkit-user-drag: none; user-select: none; }
  .mobile-edition #cards .find { display: block; border: 0; background: none; padding: 0; }
  .mobile-edition #cards .stack-frame {
    display: grid; place-items: center; min-height: min(48svh, 490px);
    padding: 14px 14px 9px; isolation: isolate;
  }
  .stack-layers { position: relative; width: fit-content; max-width: 100%; min-width: 0; }
  .stack-under {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%;
    object-fit: cover; pointer-events: none; transform: translate(5px, 2px) rotate(2deg);
    box-shadow: 1px 2px 5px #31261f38;
  }
  .stack-under:nth-last-child(3) { transform: translate(-5px, 3px) rotate(-3deg); }
  .mobile-edition .stack-layers .cover-button { position: relative; width: auto; max-width: 100%; }
  .mobile-edition .stack-layers .art img {
    width: auto; height: auto; max-width: 100%; max-height: min(44svh, 460px);
    aspect-ratio: auto; object-fit: contain; box-shadow: 0 2px 7px #31261f25;
  }
  .mobile-edition #cards .find-caption { padding: 0 48px 0 0; }
  .mobile-edition #cards .meta { font-size: 10px; margin-top: 6px; }
  .mobile-edition #cards .card-title { font-size: 30px; }
  .mobile-edition #cards .save-card { width: 40px; height: 40px; }
  .mobile-edition #cards .without-preview .stack-frame { display: none; }
  .mobile-edition #cards .without-preview { padding-top: 20px; }
  .mobile-edition .stack-controls {
    max-width: 440px; margin: 12px auto 0; justify-content: space-between;
    align-items: center; border-block: 1px solid var(--line);
  }
  .stack-controls button { min-height: 46px; font-size: 14px; padding: 6px 0; }
  .stack-controls button:disabled { color: var(--muted); opacity: .55; }
  #stack-position { font: 12px var(--mono); color: var(--muted); }
}
