/* The back issues at /episodes.html. The page is written by scripts/episodes.mjs.
   Every panel is a close-up cut from the shop painting, with the line as a speech bubble on top. */
.issues-head {
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px clamp(20px,4vw,60px); align-items:end;
  padding:clamp(18px,3vw,34px) 0 clamp(18px,2.4vw,28px);
}
.issue { --shop:url('/market-art/shop-floor.webp'); padding-bottom:clamp(26px,4vw,46px); border-top:4px solid var(--ink); scroll-margin-top:10px; }
.issue-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 18px; padding:14px 0 12px; }
.issue-head .kind { flex-basis:100%; margin:0; color:var(--red); }
.issue h2 { margin:0; font:700 clamp(30px,3.6vw,48px)/1 Georgia,serif; letter-spacing:-.055em; }
.issue-now { display:inline-flex; align-items:center; min-height:44px; margin-left:auto; font:700 13px/1.2 var(--mono); }
.strip { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:12px; }
.panel {
  container-type:inline-size; position:relative; overflow:hidden; aspect-ratio:3/4;
  border:3px solid var(--ink); box-shadow:3px 4px var(--ink);
  background:var(--shop) var(--x) var(--y) / var(--zoom) auto no-repeat #222b24;
}
/* The first panel is the whole room, with the night's setup in a caption box. */
.panel.wide { grid-column:1 / -1; aspect-ratio:1672/600; background:var(--shop) 0 45% / 100% auto no-repeat #222b24; }
.caption {
  position:absolute; left:1.2cqw; top:1.2cqw; max-width:min(44ch, 88%); margin:0; padding:.55em .8em;
  background:var(--shop-lime); color:#202318; border:2.5px solid #202318; box-shadow:2px 3px #202318;
  font:700 clamp(12.5px, 1.5cqw, 17px)/1.35 var(--mono);
}
.say {
  position:absolute; left:4cqw; right:4cqw; top:4cqw; margin:0; padding:3cqw 4cqw 3.4cqw;
  background:var(--shop-paper); color:var(--shop-ink); border:2.5px solid var(--shop-ink); border-radius:5cqw;
  font:700 clamp(13px, 6.3cqw, 17px)/1.22 Arial, Helvetica, sans-serif; letter-spacing:-.012em;
}
.say::after {
  content:''; position:absolute; left:50%; bottom:-2.2cqw; width:3.6cqw; height:3.6cqw; margin-left:-1.8cqw;
  background:inherit; border:solid var(--shop-ink); border-width:0 2.5px 2.5px 0; transform:rotate(45deg);
}
.say b, .issue-notes b { display:block; margin-bottom:.15em; font:800 .62em/1.3 'Courier New', monospace; letter-spacing:.13em; text-transform:uppercase; }
[data-speaker="Nani"] b { color:#29561f; }
[data-speaker="Reggie"] b { color:#9d253b; }
[data-speaker="Bomi"] b { color:#604783; }
[data-speaker="Dubu"] b { color:#235751; }
[data-speaker="Madam Petty"] b { color:#733755; }
[data-speaker="Valet"] b { color:#744021; }
.issue-notes { margin-top:18px; }
.issue-notes summary { display:inline-flex; align-items:center; min-height:44px; cursor:pointer; font:700 13px/1.2 var(--mono); text-decoration:underline; text-underline-offset:.18em; }
.issue-notes ul { list-style:none; margin:4px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:12px 26px; }
.issue-notes li { font:italic 16px/1.38 Georgia,serif; }
.issue-notes b { font-size:11px; font-style:normal; }
@media (max-width:650px) {
  .issues-head { grid-template-columns:1fr; }
  /* On a phone the caption sits above the room instead of on top of it. */
  .panel.wide { aspect-ratio:auto; background-position:0 100%; background-size:100% auto; }
  .panel.wide::after { content:''; display:block; aspect-ratio:1672/941; }
  .caption { position:static; max-width:none; border-width:0 0 2.5px; box-shadow:none; }
  .issue-now { margin-left:0; }
}
