/* ======================================================================
   mqdb.css -- Movie Quote DB, "G Navy" layout
   Beige paper on navy, duotone + halftone TMDB backdrops.
   Textures: /images/grain-dark.png (on light surfaces), /images/grain-light.png (on navy)
   ====================================================================== */

:root {
  --ground: #E7DCC6;
  --paper: #FCF8F0;
  --paper2: #F3ECDD;
  --card: #F2EADA;
  --card-line: #D8C9AA;
  --line: #D3C3A2;
  --dark: #1B2A4A;
  --dark-top: #24375F;
  --dark-bot: #15213D;
  --dark-card: #2E4673;
  --ink: #1C2333;
  --muted: #5F5848;
  --orn: #B08A4E;
  --logo-acc: #C9A465;
  --on-dark: #F4EBD9;
  --on-dark-muted: #CDBF9F;
  --tint: #E3D3B1;
  --btn-light: #EFE4CC;
  --shadow: rgba(21, 33, 61, 0.28);
  --shadow2: rgba(21, 33, 61, 0.06);
  --shadow-soft: rgba(21, 33, 61, 0.1);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Courier Prime', 'Courier New', Courier, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--ground);
  background-image: url(/images/grain-dark.png), radial-gradient(1400px 700px at 50% 0%, rgba(252, 248, 240, 0.9) 0%, rgba(252, 248, 240, 0) 70%);
  background-repeat: repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orn); outline-offset: 2px; }
img { max-width: 100%; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Surfaces ------------------------------------------------------------ */

.navy {
  background-color: var(--dark);
  background-image: url(/images/grain-light.png), linear-gradient(180deg, var(--dark-top) 0%, var(--dark-bot) 100%);
  color: var(--on-dark);
}

.paper {
  background-color: var(--paper);
  background-image: url(/images/grain-dark.png), linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%);
  border-radius: 4px;
}

/* Header -------------------------------------------------------------- */

.site-head { position: relative; z-index: 20; }

.head-bar {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
}

/* The logo: swap the contents of .logo for one of the logo concepts */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--on-dark);
}
.logo:hover { text-decoration: none; }
.logo b, .foot-logo b { font-weight: 400; color: var(--logo-acc); }

.head-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }

.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--on-dark); border: 0; background: transparent; cursor: pointer;
}

.az { border-top: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.18); }
.az-in {
  max-width: 1200px; margin: 0 auto; padding: 2px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; color: var(--on-dark-muted);
}
.az-in a {
  min-width: 32px; height: 38px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px;
}
.az-in a:hover { color: var(--on-dark); }
.az-links { display: none; }

/* Picture band --------------------------------------------------------- */

.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 300px; padding: 40px 0 128px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-color: var(--dark);
}
.band--plain { background-image: radial-gradient(900px 400px at 85% 0%, rgba(46, 70, 115, 0.9) 0%, rgba(46, 70, 115, 0) 70%), linear-gradient(180deg, var(--dark-top) 0%, var(--dark-bot) 100%); }

.band-img, .band-tint, .band-dots, .band-shade, .band-grain {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
}
.band-img {
  width: 100%; height: 100%; max-width: none; display: block;
  object-fit: cover; object-position: 50% 26%;
  filter: grayscale(1) contrast(1.2) brightness(1.05);
  mix-blend-mode: screen;
}
.band-tint { background-color: var(--tint); mix-blend-mode: multiply; }
.band-dots { background-image: radial-gradient(rgba(21, 33, 61, 0.5) 1px, transparent 1.7px); background-size: 5px 5px; }
.band--plain .band-dots { opacity: 0.6; }
.band-shade { background-image: linear-gradient(180deg, rgba(21, 33, 61, 0.3) 0%, rgba(21, 33, 61, 0) 30%, rgba(21, 33, 61, 0.92) 100%); }
.band--home .band-shade { background-image: linear-gradient(90deg, rgba(21, 33, 61, 0.75) 0%, rgba(21, 33, 61, 0.2) 60%, rgba(21, 33, 61, 0) 100%), linear-gradient(180deg, rgba(21, 33, 61, 0.25) 0%, rgba(21, 33, 61, 0) 30%, rgba(21, 33, 61, 0.9) 100%); }
.band-grain { background-image: url(/images/grain-light.png); }

.band-text {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; gap: 6px; color: var(--on-dark);
}
.kicker { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; }
.kicker a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 235, 217, 0.4); }

.band-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 0.95; overflow-wrap: break-word; }
.band-title--md { font-size: 56px; }
.band-title--sm { font-size: 44px; line-height: 1; }
.band-title em { font-style: italic; font-size: 0.5em; color: var(--on-dark-muted); white-space: nowrap; }
.band-title .kicker { margin-bottom: 6px; }
.band-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; }
.band-meta { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.band-big { font-family: var(--serif); font-size: 54px; line-height: 1; }

/* Page layout: main column + ad rail, overlapping the band ------------- */

.layout {
  position: relative; max-width: 1200px; margin: -108px auto 0; padding: 0 24px;
  display: flex; gap: 40px; align-items: flex-start;
}
.layout--norail { max-width: 900px; }
.band--narrow .band-text { max-width: 900px; }

.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.main--loose { gap: 36px; }

.rail { flex: 0 0 300px; align-self: stretch; padding-top: 128px; display: flex; flex-direction: column; gap: 28px; }
.rail-sticky { position: -webkit-sticky; position: sticky; top: 16px; }

/* Cards ------------------------------------------------------------------ */

.hero { box-shadow: 0 30px 60px var(--shadow), 0 2px 0 var(--shadow2); }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

.label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark); }

.rule { display: flex; align-items: center; gap: 14px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule span { width: 8px; height: 8px; background: var(--orn); transform: rotate(45deg); }

.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; color: var(--dark); }
.h2 a { color: inherit; }
.h2 small { font-family: var(--sans); font-size: 16px; color: var(--muted); }
.section { display: flex; flex-direction: column; gap: 16px; }
.section--gap { padding-top: 18px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 18px 2px 0; }
.list-count { font-size: 13px; color: var(--muted); }
.more-link { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--dark); }

.poster { display: block; flex: 0 0 auto; width: 112px; height: 168px; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 20px var(--shadow-soft); background: var(--card); }
.poster--photo { width: 120px; height: 180px; object-position: 50% 15%; }

/* Header card on movie, character and actor pages */
.hero-head { padding: 24px; display: flex; gap: 24px; align-items: flex-start; }
.hero-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-top { display: flex; flex-direction: column; gap: 14px; }
.played { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.played-by strong { color: var(--dark); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-line); font-size: 13px; font-weight: 700; color: var(--dark); }
.chip img { width: 26px; height: 39px; border-radius: 2px; object-fit: cover; display: block; }
.chip:hover { text-decoration: none; border-color: var(--orn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-text { margin: 0; font-family: var(--mono); font-size: 20px; line-height: 1.6; overflow-wrap: break-word; }
.right { display: flex; justify-content: flex-end; }
.summary { font-size: 18px; }
.credit { font-size: 12px; color: var(--muted); }

/* Avatars */
.av {
  display: block; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--dark); background: var(--card);
}
.av--md { width: 30px; height: 30px; }
.av--lg { width: 40px; height: 40px; }
.av--xl { width: 48px; height: 48px; }
.av--ini {
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--line); font-size: 10px; font-weight: 700; letter-spacing: 0.02em; color: var(--dark);
}
.av--lg.av--ini { font-size: 13px; }
.av--xl.av--ini { font-size: 15px; }

/* Character list on a movie page */
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 6px 16px; }
.char { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.char-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.char-name { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--dark); }
.char-actor { font-size: 12px; color: var(--muted); }

/* Statistics lines on movie, character and actor pages (MQDB_STATS) */
.stats { font-size: 14px; line-height: 1.6; color: var(--muted); }
.stats a { font-weight: 700; color: var(--dark); }

/* Quote cards ------------------------------------------------------------ */

.qcard { padding: 24px 28px 14px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 24px var(--shadow-soft); }
.qline { display: flex; flex-direction: column; gap: 6px; }
.qwho { display: flex; align-items: center; gap: 10px; }
.qname { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark); }
.qwho--other .qname { color: var(--muted); }
a.qname { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }   /* speaker names that link to their character's page */
a.qname:hover { text-decoration-color: currentColor; }
.qdir { font-family: var(--mono); font-style: italic; font-size: 15px; color: var(--muted); }
.qdir-in { font-style: italic; color: var(--muted); }
.qtext { margin: 0; font-family: var(--mono); font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
.qtext b, .feature-text b { font-weight: 700; }
.qtext i, .feature-text i, .mini-text i { color: var(--muted); }
.qfoot { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 8px; }
.qfoot a { min-height: 32px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--dark); }

/* The quote page's big card */
.hero-quote { padding: 34px 56px 30px; display: flex; flex-direction: column; gap: 24px; }
.quote-mark { align-self: center; height: 40px; font-family: var(--serif); font-size: 104px; line-height: 0.6; color: var(--orn); }
.scene { width: 100%; max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.scene .qwho { align-self: center; }
.scene .qname { font-size: 13px; }
.scene .qdir { text-align: center; }
.scene .qtext { font-size: 19px; }
.hero-quote--long .scene .qtext { font-size: 17px; }
.hero-quote--short .scene .qtext { font-size: 24px; line-height: 1.5; }
.share { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.share-url { font-family: var(--mono); font-size: 13px; color: var(--muted); word-break: break-all; }

/* Buttons */
.btn {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 14px/1.2 var(--sans); letter-spacing: 0.02em; cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn--dark { background-color: var(--dark); background-image: url(/images/grain-light.png), linear-gradient(180deg, var(--dark-top) 0%, var(--dark-bot) 100%); color: var(--on-dark); }
.btn--light { background: var(--btn-light); color: var(--dark); }
.btn--line { border: 1px solid var(--line); background: transparent; color: var(--dark); }

/* "In this scene" */
.castgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.castcard { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.45); border: 1px solid var(--line); }
.castcard-img { width: 64px; height: 96px; flex: 0 0 auto; border-radius: 4px; object-fit: cover; object-position: 50% 15%; display: block; background: var(--card); }
.castcard-ini { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; color: var(--dark); border: 1px solid var(--card-line); }
.castcard-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.castcard-name { font-size: 16px; font-weight: 700; }
.castcard-actor { font-size: 14px; color: var(--muted); }
.castcard-more { font-size: 14px; font-weight: 700; color: var(--dark); }

/* "More from <movie>" */
.minigrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.mini { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 6px; background: var(--card); border: 1px solid var(--card-line); }
.mini:hover { text-decoration: none; border-color: var(--orn); }
.mini-line { display: flex; flex-direction: column; gap: 3px; }
.mini-who { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark); }
.mini-text { font-family: var(--mono); font-size: 15px; line-height: 1.55; overflow-wrap: break-word; }

/* Dark movie card */
.promo {
  border-radius: 8px; padding: 20px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  background-color: var(--dark);
  background-image: url(/images/grain-light.png), radial-gradient(600px 300px at 0% 0%, var(--dark-card) 0%, rgba(46, 70, 115, 0) 70%), linear-gradient(135deg, var(--dark) 0%, var(--dark-bot) 100%);
  color: var(--on-dark);
}
.promo img { width: 84px; height: 126px; border-radius: 4px; object-fit: cover; display: block; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.promo-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.promo-title { font-family: var(--serif); font-size: 38px; line-height: 1; }
.promo-meta { font-size: 14px; color: var(--on-dark-muted); }

/* Poster cards */
.postergrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 20px; }
.postergrid--6 { grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; box-shadow: 0 8px 20px var(--shadow-soft); }
.pcard:hover { text-decoration: none; }
.pcard:hover .pcard-title { text-decoration: underline; }
.pcard img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; display: block; background: var(--card); }
.pcard-text { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.pcard-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--dark); }
.pcard-meta { font-size: 13px; color: var(--muted); }
.postergrid--6 .pcard { padding: 8px; }
.postergrid--6 .pcard-title { font-size: 13px; }

/* Other characters */
.othergrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 14px; }
.other { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.45); border: 1px solid var(--line); }
.other:hover { text-decoration: none; border-color: var(--orn); }
.other:hover .char-name { text-decoration: underline; }

/* Home */
.hero-home { padding: 30px 48px 28px; display: flex; flex-direction: column; gap: 22px; }
.hero-home .scene { max-width: 560px; gap: 10px; }
.hero-home .scene .qtext { font-size: 21px; line-height: 1.6; text-align: center; }
.hero-home .quote-mark { font-size: 96px; height: 36px; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.split--top { align-items: baseline; }
.movie-mini { display: flex; align-items: center; gap: 12px; }
.movie-mini img { width: 40px; height: 60px; border-radius: 3px; object-fit: cover; display: block; }
.movie-mini-text { display: flex; flex-direction: column; gap: 2px; }
.movie-mini-title { font-size: 15px; font-weight: 700; }
.movie-mini-meta { font-size: 13px; color: var(--muted); }

.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.letters a {
  height: 52px; border-radius: 4px; background: var(--card); border: 1px solid var(--card-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--dark);
}
.letters a:hover { text-decoration: none; border-color: var(--orn); }
.letters a.is-current { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.letters .wide { grid-column: span 2; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }

.note { padding: 20px 24px; border-radius: 4px; border: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.note img { vertical-align: middle; }
.muted { color: var(--muted); }

/* Browse */
.panel { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.mlist { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 36px; }
.mlist li {
  -webkit-column-break-inside: avoid; break-inside: avoid;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 16px;
}
.mlist a { font-weight: 500; color: var(--dark); }
.mlist .yr { color: var(--muted); font-size: 14px; }
.mlist .n { flex: 0 0 auto; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Text pages (privacy, not found) */
.prose { padding: 32px 40px; font-size: 16px; line-height: 1.65; }
.prose h2 { margin: 28px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--dark); }
.prose p, .prose ul { margin: 0 0 14px; }
.prose a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }

/* Pages */
.pages { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 10px; }
.pages a, .pages span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--dark);
}
.pages a:hover { text-decoration: none; border-color: var(--orn); }
.pages .is-current { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.pages .gap { min-width: 16px; padding: 0; border: 0; color: var(--muted); }

/* Ads: empty until mqdb.js fills them ----------------------------------- */

.ad { display: none; flex-direction: column; align-items: center; gap: 6px; }
.ad.is-on { display: flex; }
.ad--incontent.is-on { padding: 10px 0; }
.ad--bottom.is-on { padding: 48px 24px 0; }
.ad-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ad ins { max-width: 100%; }

/* Footer ------------------------------------------------------------------ */

.site-foot { margin-top: 56px; color: var(--on-dark-muted); }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; font-size: 13px; }
.foot-about { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.foot-about p { line-height: 1.6; }
.foot-about a { text-decoration: underline; text-underline-offset: 2px; }
.foot-logo { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--on-dark); }
.foot-nav { display: flex; gap: 12px 24px; flex-wrap: wrap; align-content: flex-start; font-weight: 500; color: var(--on-dark); }
.tmdb-logo { height: 11px; width: auto; vertical-align: middle; margin-right: 4px; }

/* Narrower windows: no ad rail ------------------------------------------ */

@media (max-width: 999px) {
  .rail { display: none; }
  .layout { gap: 0; }
  .az-in a { min-width: 26px; padding: 0 2px; font-size: 14px; }
}

/* Phones ------------------------------------------------------------------ */

@media (max-width: 767px) {
  .site-head { position: -webkit-sticky; position: sticky; top: 0; }
  .head-bar { height: 56px; padding: 0 8px 0 16px; flex-wrap: nowrap; }
  .logo { font-size: 25px; }
  .head-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .az { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark-bot); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3); }
  .az.is-open { display: block; }
  .az-in { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px 12px 6px; }
  .az-in a { height: 44px; font-size: 17px; }
  .az-links { display: flex; flex-wrap: wrap; gap: 0 20px; padding: 4px 16px 12px; font-size: 14px; font-weight: 500; color: var(--on-dark); }
  .az-links a { min-height: 44px; display: inline-flex; align-items: center; }

  .band { min-height: 220px; padding: 28px 0 66px; }
  .band-text { padding: 0 20px; gap: 4px; }
  .band-img { object-position: 35% 25%; }
  .band-dots { background-size: 4px 4px; }
  .kicker { font-size: 11px; }
  .band-title { font-size: 46px; }
  .band-title--md { font-size: 38px; }
  .band-title--sm { font-size: 30px; }
  .band-meta { font-size: 12px; }
  .band-big { font-size: 34px; }

  .layout { margin-top: -48px; padding: 0 12px; }
  .main, .main--loose { gap: 14px; }
  .main--loose > .section { padding-top: 14px; }

  .h2 { font-size: 26px; }
  .list-head { padding: 14px 4px 0; }

  .hero-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; align-items: end; }
  .hero-body { display: contents; }
  .hero-top { grid-column: 2; gap: 10px; align-self: center; }
  .hero-body > :not(.hero-top) { grid-column: 1 / -1; }
  .poster { width: 64px; height: 96px; box-shadow: 0 6px 14px var(--shadow-soft); }
  .poster--photo { width: 80px; height: 120px; }
  .played { flex-direction: column; align-items: flex-start; gap: 10px; }
  .chip { padding: 5px 12px 5px 5px; font-size: 12px; }
  .chip img { width: 22px; height: 33px; }
  .feature-text { font-size: 17px; }

  .chars { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; -webkit-overflow-scrolling: touch; }
  .char { flex: 0 0 96px; flex-direction: column; text-align: center; gap: 6px; }
  .char .av { width: 48px; height: 48px; }
  .char-name { font-size: 12px; }
  .char-actor { font-size: 11px; }

  .qcard { padding: 18px 20px 6px; gap: 14px; }
  .qtext { font-size: 16px; line-height: 1.6; }
  .qname { font-size: 11px; }
  .qdir { font-size: 14px; }
  .qfoot a { min-height: 44px; }

  .hero-quote { padding: 22px; gap: 20px; }
  .quote-mark { font-size: 80px; height: 32px; }
  .scene .qtext, .hero-quote--long .scene .qtext { font-size: 16px; }
  .hero-quote--short .scene .qtext { font-size: 20px; }
  .share-url { display: none; }
  .share .btn { width: 100%; min-height: 48px; font-size: 15px; }

  .hero-home { padding: 22px; gap: 18px; }
  .hero-home .scene .qtext { font-size: 18px; }
  .hero-home .split .btn { width: 100%; }

  .castcard-img { width: 56px; height: 84px; }
  .promo { padding: 14px; gap: 14px; flex-wrap: nowrap; }
  .promo img { width: 64px; height: 96px; }
  .promo-title { font-size: 28px; }
  .promo .btn { display: none; }
  .promo-link { display: inline !important; font-size: 14px; font-weight: 700; }

  .othergrid { display: flex; gap: 10px; overflow-x: auto; margin: 0 -12px; padding: 0 12px 6px; }
  .other { flex: 0 0 112px; flex-direction: column; text-align: center; padding: 12px 8px; gap: 6px; }
  .other .av { width: 52px; height: 52px; }
  .other .char-name { font-size: 13px; }
  .other .char-actor { font-size: 11px; }

  .postergrid--roles { display: flex; gap: 12px; overflow-x: auto; margin: 0 -12px; padding: 0 12px 8px; }
  .postergrid--roles .pcard { flex: 0 0 140px; padding: 8px 8px 12px; }
  .postergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .postergrid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

  .letters { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .letters a { height: 44px; font-size: 19px; }

  .panel { padding: 18px; }
  .prose { padding: 22px 20px; }
  .mlist li { font-size: 15px; }

  .site-foot { margin-top: 36px; }
  .foot-in { flex-direction: column-reverse; padding: 28px 20px; gap: 14px; }
  .foot-nav { gap: 4px 20px; }
  .foot-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-logo { display: none; }
}

.promo-link { display: none; }

@media print {
  .site-head, .ad, .rail, .site-foot, .band-img, .band-dots, .band-grain { display: none !important; }
  .band { min-height: 0; padding: 20px 0; background: none; color: #000; }
  .band-text { color: #000; }
  .layout { margin-top: 0; }
}
