@font-face {
  font-family: "Bangers";
  src: url("./public/fonts/bangers.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./public/fonts/oswald-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./public/fonts/oswald-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("./public/fonts/oswald-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #090b0f;
  --navy: #142332;
  --red: #d31d25;
  --red-dark: #82131b;
  --paper: #f4e7c7;
  --paper-light: #fff8e6;
  --paper-dark: #d9c596;
  --blue: #53a1ca;
  --blue-dark: #2d627d;
  --yellow: #ffd42e;
  --green: #37bb70;
  --pink: #e481ad;
  --white: #fffdf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.035) 47.5% 52%, transparent 52.5%) 0 0 / 42px 42px,
    radial-gradient(circle, rgba(211, 29, 37, 0.34) 0 1px, transparent 1.5px) 0 0 / 9px 9px,
    #10151d;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

button,
a[href] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

img {
  display: block;
}

.comic-site {
  min-height: 100vh;
  padding: clamp(14px, 3vw, 42px);
}

.issue-paper {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 7px solid var(--ink);
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.07) 0 0.8px, transparent 1.2px) 0 0 / 7px 7px,
    var(--paper);
  box-shadow:
    14px 16px 0 rgba(0, 0, 0, 0.46),
    28px 32px 70px rgba(0, 0, 0, 0.52);
}

.issue-paper::before,
.issue-paper::after {
  position: absolute;
  z-index: -1;
  right: -12px;
  left: 10px;
  height: 12px;
  border: 4px solid var(--ink);
  background: var(--paper-dark);
  content: "";
  transform: skewX(-24deg);
}

.issue-paper::before {
  top: 28%;
}

.issue-paper::after {
  bottom: 24%;
}

.issue-header {
  position: relative;
  padding: clamp(20px, 4vw, 46px) clamp(18px, 5vw, 64px) clamp(30px, 5vw, 62px);
  overflow: hidden;
  text-align: center;
}

.issue-header::before,
.issue-header::after {
  position: absolute;
  width: clamp(76px, 13vw, 150px);
  aspect-ratio: 1;
  background: var(--red);
  content: "";
  clip-path: polygon(50% 0, 61% 34%, 88% 12%, 76% 43%, 100% 50%, 72% 58%, 89% 89%, 59% 72%, 49% 100%, 40% 72%, 10% 89%, 27% 58%, 0 49%, 29% 42%, 11% 12%, 40% 33%);
  opacity: 0.12;
}

.issue-header::before {
  top: 15%;
  left: -4%;
}

.issue-header::after {
  right: -3%;
  bottom: 10%;
  transform: rotate(25deg);
}

.issue-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 8px 12px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--paper-light);
  font-size: clamp(0.62rem, 1.15vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.issue-rail span:last-child {
  text-align: right;
}

.issue-rail span:first-child {
  text-align: left;
}

.issue-rail b {
  padding: 3px 11px;
  background: var(--red);
  color: var(--white);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  transform: skewX(-7deg);
}

.masthead {
  position: relative;
  z-index: 2;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: clamp(34px, 6vw, 70px) auto 0;
  color: var(--ink);
  text-decoration: none;
}

.masthead-the {
  display: block;
  margin-bottom: -0.16em;
  color: var(--red);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.8rem, 4.7vw, 4.2rem);
  letter-spacing: 0.2em;
  line-height: 0.8;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}

.masthead h1 {
  margin: 0;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(5rem, 14.2vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.74;
  -webkit-text-stroke: clamp(2px, 0.45vw, 6px) var(--ink);
  paint-order: stroke fill;
  text-shadow:
    clamp(4px, 0.8vw, 9px) clamp(5px, 0.9vw, 10px) 0 var(--red),
    clamp(7px, 1.2vw, 13px) clamp(9px, 1.4vw, 16px) 0 var(--ink);
  transform: skewX(-4deg);
}

.main-tagline {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: clamp(24px, 4vw, 42px) auto 0;
  padding: 6px 15px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: clamp(0.82rem, 1.9vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  transform: rotate(-1deg);
}

.token-centerline {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: clamp(30px, 5vw, 54px) auto 0;
}

.ticker-stamp {
  padding: 7px 22px 10px;
  border: 5px solid var(--ink);
  background: var(--red);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--white);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.1em;
  line-height: 0.9;
  transform: rotate(1.5deg);
}

.ca-stamp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(670px, 100%);
  min-height: 56px;
  padding: 0;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ca-stamp > span,
.ca-stamp > b {
  display: grid;
  align-self: stretch;
  place-items: center;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(0.58rem, 1.1vw, 0.73rem);
  letter-spacing: 0.12em;
}

.ca-stamp > b {
  background: var(--red);
}

.ca-stamp code {
  min-width: 0;
  padding: 8px 13px;
  overflow: hidden;
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.65rem, 1.3vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-stamp:hover > b {
  background: var(--yellow);
  color: var(--ink);
}

.comic-nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.comic-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-width: 180px;
  padding: 8px 10px;
  border: 3px solid var(--ink);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease;
}

.comic-nav a:nth-child(2) {
  background: var(--yellow);
}

.comic-nav a:nth-child(3) {
  background: var(--red);
  color: var(--white);
}

.comic-nav a:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.comic-nav a span {
  display: grid;
  place-items: center;
  width: 27px;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
}

.reader-shell {
  position: relative;
  padding: clamp(34px, 6vw, 72px) clamp(12px, 4vw, 48px) clamp(42px, 7vw, 82px);
  border-top: 8px solid var(--ink);
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.18) 0 1px, transparent 1.5px) 0 0 / 8px 8px,
    var(--blue);
}

.reader-shell::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.16) 0 18%, transparent 18.2% 82%, rgba(9, 11, 15, 0.12) 82.2% 100%);
  content: "";
  pointer-events: none;
}

.reader-caption,
.book-frame,
.reader-controls,
.reader-hint {
  position: relative;
  z-index: 2;
}

.reader-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(760px, 100%);
  margin: 0 auto 30px;
}

.caption-tag {
  display: inline-block;
  padding: 4px 9px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  transform: rotate(-1deg);
}

.reader-caption h2 {
  margin: 8px 0 0;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.88;
  text-shadow: 4px 4px 0 var(--ink);
}

.sound-toggle {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 11px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.book-frame {
  width: min(760px, calc(100% - 42px));
  margin: 0 auto;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.book-frame::before,
.book-frame::after {
  position: absolute;
  right: -10px;
  bottom: -12px;
  left: 9px;
  height: 18px;
  border: 4px solid var(--ink);
  background: repeating-linear-gradient(0deg, var(--paper-dark) 0 2px, var(--paper-light) 2px 4px);
  content: "";
  transform: skewX(-28deg);
}

.book-frame::before {
  z-index: -2;
  right: -18px;
  bottom: -22px;
  left: 17px;
  background: var(--red-dark);
}

.book-spine {
  position: absolute;
  z-index: 20;
  top: 1.2%;
  bottom: 1.2%;
  left: -5px;
  width: 11px;
  border: 3px solid var(--ink);
  background: linear-gradient(90deg, var(--red-dark), var(--red) 45%, var(--paper-light) 48%, var(--red-dark));
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.comic-book {
  position: relative;
  aspect-ratio: 2 / 3;
  isolation: isolate;
  container-type: inline-size;
  transform-style: preserve-3d;
}

.page-layer,
.page-flipper,
.page-face {
  position: absolute;
  inset: 0;
}

.page-layer,
.page-face {
  overflow: hidden;
  border: clamp(4px, 0.8cqw, 7px) solid var(--ink);
  background: var(--paper);
  box-shadow: inset -12px 0 22px rgba(9, 11, 15, 0.12);
}

.page-base {
  z-index: 1;
}

.page-flipper {
  z-index: 30;
  display: none;
  transform-style: preserve-3d;
  transform-origin: left center;
  will-change: transform;
  pointer-events: none;
}

.page-flipper.is-active {
  display: block;
}

.page-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page-front {
  z-index: 2;
}

.page-back {
  z-index: 1;
  filter: saturate(0.94) brightness(0.91);
  transform: rotateY(180deg);
}

.page-curl {
  position: absolute;
  z-index: 4;
  top: 0.6%;
  right: -2px;
  bottom: 0.6%;
  width: 8%;
  background: linear-gradient(90deg, transparent, rgba(9, 11, 15, 0.18) 45%, rgba(255, 255, 255, 0.78) 70%, rgba(9, 11, 15, 0.26));
  border-right: 2px solid rgba(9, 11, 15, 0.5);
  box-shadow: 8px 0 18px rgba(0, 0, 0, 0.32);
  backface-visibility: hidden;
  transform: translateZ(2px);
}

.page-flipper.flip-next {
  animation: flip-next 0.78s cubic-bezier(0.52, 0.06, 0.18, 1) forwards;
}

.page-flipper.flip-previous {
  animation: flip-previous 0.78s cubic-bezier(0.52, 0.06, 0.18, 1) forwards;
}

@keyframes flip-next {
  0% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transform: rotateY(0deg) translateX(0) skewY(0deg);
  }
  36% {
    filter: drop-shadow(26px 9px 20px rgba(0, 0, 0, 0.45));
    transform: rotateY(-67deg) translateX(-0.7%) skewY(-0.7deg);
  }
  58% {
    filter: drop-shadow(34px 8px 28px rgba(0, 0, 0, 0.52));
    transform: rotateY(-111deg) translateX(-1.5%) skewY(0.7deg);
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transform: rotateY(-180deg) translateX(0) skewY(0deg);
  }
}

@keyframes flip-previous {
  0% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transform: rotateY(-180deg) translateX(0) skewY(0deg);
  }
  42% {
    filter: drop-shadow(32px 8px 26px rgba(0, 0, 0, 0.5));
    transform: rotateY(-102deg) translateX(-1.4%) skewY(-0.7deg);
  }
  66% {
    filter: drop-shadow(24px 8px 18px rgba(0, 0, 0, 0.42));
    transform: rotateY(-58deg) translateX(-0.6%) skewY(0.7deg);
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transform: rotateY(0deg) translateX(0) skewY(0deg);
  }
}

.page-hotspot {
  position: absolute;
  z-index: 50;
  top: 43%;
  display: grid;
  place-items: center;
  width: clamp(34px, 7cqw, 52px);
  aspect-ratio: 0.82;
  padding: 0;
  border: clamp(3px, 0.55cqw, 5px) solid var(--ink);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: opacity 130ms ease, transform 130ms ease;
}

.page-hotspot span {
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.2rem, 4cqw, 2.2rem);
}

.page-hotspot-prev {
  left: clamp(-24px, -3.5cqw, -14px);
}

.page-hotspot-next {
  right: clamp(-24px, -3.5cqw, -14px);
}

.page-hotspot:hover:not(:disabled) {
  transform: scale(1.08) rotate(-2deg);
}

.page-hotspot:disabled {
  visibility: hidden;
  opacity: 0;
}

.comic-page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-size: clamp(0.62rem, 1.8cqw, 0.92rem);
}

.comic-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-page {
  background: var(--red);
}

.cover-art {
  position: absolute;
  inset: 0;
  object-position: 50% 44%;
  filter: contrast(1.09) saturate(0.95);
}

.cover-tone {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 15, 0.78) 0 18%, transparent 37% 71%, rgba(9, 11, 15, 0.88) 100%),
    radial-gradient(circle, rgba(255, 212, 46, 0.1) 0 1px, transparent 1.5px) 0 0 / 7px 7px;
}

.cover-price-box {
  position: absolute;
  z-index: 3;
  top: 3.5cqw;
  left: 3.5cqw;
  display: grid;
  width: 12.5cqw;
  overflow: hidden;
  border: 0.7cqw solid var(--paper-light);
  background: var(--ink);
  box-shadow: 0.8cqw 0.8cqw 0 var(--red);
  color: var(--paper-light);
  text-align: center;
}

.cover-price-box span,
.cover-price-box strong,
.cover-price-box small {
  padding: 0.55cqw 0.4cqw;
}

.cover-price-box span {
  background: var(--red);
  font-size: 1.55cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cover-price-box strong {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.2cqw;
  font-weight: 400;
  line-height: 0.9;
}

.cover-price-box small {
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cover-logo {
  position: absolute;
  z-index: 3;
  top: 3.5cqw;
  left: 50%;
  width: 78%;
  color: var(--paper-light);
  text-align: center;
  transform: translateX(-50%);
}

.cover-logo > span {
  display: block;
  margin-bottom: -1.8cqw;
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.5cqw;
  letter-spacing: 0.18em;
  text-shadow: 0.45cqw 0.45cqw 0 var(--ink);
}

.cover-logo h2 {
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 13.5cqw;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.84;
  -webkit-text-stroke: 0.7cqw var(--ink);
  paint-order: stroke fill;
  text-shadow: 1cqw 1.2cqw 0 var(--red), 1.5cqw 1.6cqw 0 var(--ink);
  transform: skewX(-4deg);
}

.cover-logo p {
  display: inline-block;
  margin: 2.4cqw 0 0;
  padding: 0.7cqw 1.2cqw;
  border: 0.5cqw solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.65cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  transform: rotate(-1deg);
}

.cover-burst {
  position: absolute;
  z-index: 4;
  right: 2.2cqw;
  bottom: 18cqw;
  display: grid;
  place-items: center;
  width: 23cqw;
  aspect-ratio: 1;
  padding: 3cqw;
  background: var(--yellow);
  clip-path: polygon(50% 0, 60% 27%, 81% 7%, 76% 35%, 100% 30%, 80% 50%, 100% 70%, 74% 65%, 81% 94%, 59% 72%, 47% 100%, 40% 72%, 14% 91%, 25% 62%, 0 57%, 25% 43%, 6% 18%, 35% 29%);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.3cqw;
  line-height: 0.9;
  text-align: center;
  text-shadow: 0.25cqw 0.25cqw 0 var(--paper-light);
  transform: rotate(7deg);
}

.cover-bottom-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  min-height: 11cqw;
  padding: 1.5cqw 3cqw;
  border-top: 0.8cqw solid var(--paper-light);
  background: var(--red);
  color: var(--paper-light);
}

.cover-bottom-strip span {
  font-size: 2cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cover-bottom-strip strong {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5cqw;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.interior-page {
  padding: 4cqw;
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.08) 0 0.75px, transparent 1.1px) 0 0 / 6px 6px,
    var(--paper-light);
}

.page-banner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2cqw;
  height: 14cqw;
  margin-bottom: 2cqw;
  padding-bottom: 1.2cqw;
  border-bottom: 0.9cqw solid var(--ink);
}

.page-banner div > span {
  display: block;
  margin-bottom: 0.5cqw;
  color: var(--red);
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-banner h2 {
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 7.2cqw;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 0.78;
}

.page-banner > b {
  display: grid;
  place-items: center;
  width: 9cqw;
  aspect-ratio: 1;
  border: 0.55cqw solid var(--ink);
  background: var(--red);
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.2cqw;
  font-weight: 400;
  transform: rotate(2deg);
}

.comic-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0.62cqw solid var(--ink);
  background: var(--paper);
}

.panel-caption {
  position: absolute;
  z-index: 5;
  top: 1.4cqw;
  left: 1.4cqw;
  max-width: 75%;
  padding: 0.7cqw 1cqw;
  border: 0.4cqw solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.18;
}

.caption-bottom {
  top: auto;
  right: 1.4cqw;
  bottom: 1.4cqw;
  left: auto;
}

.speech-bubble,
.thought-bubble {
  position: absolute;
  z-index: 6;
  max-width: 44%;
  padding: 1.4cqw 1.7cqw;
  border: 0.55cqw solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.25cqw;
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-align: center;
}

.speech-bubble::after {
  position: absolute;
  bottom: -2.4cqw;
  width: 3.6cqw;
  height: 3.2cqw;
  background: var(--white);
  content: "";
  clip-path: polygon(0 0, 100% 0, 18% 100%);
}

.bubble-right {
  top: 16%;
  right: 3%;
}

.bubble-right::after {
  right: 18%;
}

.bubble-left {
  top: 4%;
  left: 3%;
}

.bubble-left::after {
  left: 18%;
  transform: scaleX(-1);
}

.bubble-center {
  top: 8%;
  left: 50%;
  max-width: 84%;
  transform: translateX(-50%);
}

.bubble-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.sound-word {
  position: absolute;
  z-index: 7;
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5.8cqw;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.8;
  -webkit-text-stroke: 0.45cqw var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.55cqw 0.65cqw 0 var(--red);
  transform: rotate(-8deg);
}

.case-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 1.6cqw;
  height: calc(100% - 16cqw);
}

.case-portrait img {
  object-position: 50% 31%;
}

.wanted-stamp {
  position: absolute;
  right: 2cqw;
  bottom: 2cqw;
  padding: 0.6cqw 1.3cqw;
  border: 0.55cqw solid var(--red);
  color: var(--red);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.8cqw;
  font-weight: 400;
  letter-spacing: 0.08em;
  transform: rotate(-9deg);
}

.case-summary {
  display: grid;
  align-content: center;
  gap: 1.4cqw;
  padding: 2.2cqw;
  background:
    linear-gradient(rgba(9, 11, 15, 0.08) 1px, transparent 1px) 0 0 / 100% 4.3cqw,
    var(--paper);
}

.case-id {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: stretch;
  border: 0.45cqw solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0.6cqw 0.6cqw 0 var(--ink);
}

.case-id span,
.case-id b {
  padding: 0.8cqw 1cqw;
  font-size: 1.65cqw;
  letter-spacing: 0.06em;
}

.case-id span {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}

.case-summary p {
  margin: 1cqw 0 0;
  padding: 1.3cqw;
  border: 0.45cqw solid var(--ink);
  background: var(--yellow);
  font-size: 1.55cqw;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.25;
  transform: rotate(-1deg);
}

.contract-panel {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 12cqw;
  background: var(--ink);
  color: var(--paper-light);
}

.contract-panel > span {
  padding: 1cqw 1.4cqw;
  color: var(--yellow);
  font-size: 1.4cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.contract-panel code {
  min-width: 0;
  overflow: hidden;
  font-family: "Oswald", sans-serif;
  font-size: 1.5cqw;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-panel button {
  align-self: stretch;
  min-width: 13cqw;
  border: 0;
  border-left: 0.5cqw solid var(--paper-light);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 1.55cqw;
  font-weight: 700;
}

.case-link-grid {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2cqw;
}

.panel-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9cqw;
  min-width: 0;
  padding: 0.8cqw;
  border: 0.5cqw solid var(--ink);
  background: var(--blue);
  color: var(--ink);
  text-decoration: none;
}

.panel-link:nth-child(2) {
  background: var(--yellow);
}

.panel-link:nth-child(3) {
  background: var(--red);
  color: var(--white);
}

.panel-link > span {
  display: grid;
  place-items: center;
  width: 4.2cqw;
  aspect-ratio: 1;
  border: 0.35cqw solid currentColor;
  border-radius: 50%;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.8cqw;
}

.panel-link b {
  overflow: hidden;
  font-size: 1.4cqw;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-link i {
  font-size: 2cqw;
  font-style: normal;
}

.origin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.78fr 0.72fr 1.5fr;
  gap: 1.6cqw;
  height: calc(100% - 16cqw);
}

.city-panel {
  grid-column: 1 / 3;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.17) 0 1px, transparent 1.5px) 0 0 / 7px 7px,
    var(--navy);
}

.city-sky {
  position: absolute;
  inset: 20% -2% -2%;
  background: var(--ink);
  clip-path: polygon(0 100%, 0 55%, 8% 55%, 8% 16%, 16% 16%, 16% 62%, 24% 62%, 24% 7%, 35% 7%, 35% 49%, 44% 49%, 44% 24%, 53% 24%, 53% 69%, 61% 69%, 61% 12%, 72% 12%, 72% 52%, 80% 52%, 80% 0, 89% 0, 89% 64%, 100% 64%, 100% 100%);
}

.city-sky::after {
  position: absolute;
  top: 21%;
  left: 20%;
  width: 1cqw;
  aspect-ratio: 1;
  background: var(--yellow);
  box-shadow: 12cqw 5cqw var(--yellow), 25cqw -2cqw var(--yellow), 43cqw 4cqw var(--yellow), 58cqw -1cqw var(--yellow);
  content: "";
}

.city-panel .sound-word {
  right: 3%;
  bottom: 7%;
}

.eye-panel {
  display: grid;
  place-items: center;
  background: var(--red);
}

.comic-eyes {
  display: flex;
  gap: 3cqw;
}

.comic-eyes i {
  width: 14cqw;
  height: 5.5cqw;
  border: 0.65cqw solid var(--ink);
  background: var(--yellow);
  clip-path: polygon(0 10%, 100% 0, 72% 100%, 16% 75%);
}

.comic-eyes i:last-child {
  clip-path: polygon(0 0, 100% 10%, 84% 75%, 28% 100%);
}

.thought-bubble {
  top: 1.3cqw;
  right: 1.3cqw;
  padding: 1.1cqw 1.5cqw;
  border-radius: 48%;
  font-size: 1.8cqw;
  transform: rotate(2deg);
}

.claw-panel {
  background: var(--yellow);
}

.claw-slash {
  position: absolute;
  inset: -10%;
}

.claw-slash i {
  position: absolute;
  top: -10%;
  width: 8%;
  height: 135%;
  background: var(--red);
  clip-path: polygon(38% 0, 100% 0, 58% 100%, 0 100%);
  transform: rotate(17deg);
}

.claw-slash i:nth-child(1) { left: 19%; }
.claw-slash i:nth-child(2) { left: 44%; }
.claw-slash i:nth-child(3) { left: 69%; }

.claw-panel .sound-word {
  top: 35%;
  left: 11%;
}

.origin-portrait {
  grid-column: 1 / 3;
}

.origin-portrait img {
  object-position: 50% 32%;
}

.origin-portrait::after,
.patrol-portrait::after,
.case-portrait::after,
.notes-portrait::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 0 48%, rgba(9, 11, 15, 0.34) 100%);
  content: "";
  pointer-events: none;
}

.origin-title {
  position: absolute;
  z-index: 5;
  right: 2cqw;
  bottom: 2cqw;
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 6cqw;
  font-weight: 400;
  -webkit-text-stroke: 0.45cqw var(--ink);
  paint-order: stroke fill;
  transform: rotate(-4deg);
}

.patrol-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 0.68fr 1.55fr 0.77fr;
  gap: 1.6cqw;
  height: calc(100% - 16cqw);
}

.chart-action-panel {
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.18) 0 1px, transparent 1.5px) 0 0 / 7px 7px,
    var(--red);
}

.comic-bars {
  position: absolute;
  right: 6%;
  bottom: 10%;
  left: 6%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 58%;
  border-bottom: 0.6cqw solid var(--ink);
}

.comic-bars i {
  width: 8%;
  border: 0.45cqw solid var(--ink);
  background: var(--yellow);
}

.comic-bars i:nth-child(1) { height: 25%; }
.comic-bars i:nth-child(2) { height: 39%; }
.comic-bars i:nth-child(3) { height: 33%; }
.comic-bars i:nth-child(4) { height: 58%; }
.comic-bars i:nth-child(5) { height: 71%; }
.comic-bars i:nth-child(6) { height: 94%; }

.chart-action-panel .sound-word {
  right: 2%;
  bottom: 3%;
  font-size: 4.4cqw;
}

.radio-panel {
  display: grid;
  place-items: center;
  background: var(--blue);
}

.radio-burst {
  display: grid;
  place-items: center;
  width: 20cqw;
  aspect-ratio: 1;
  background: var(--yellow);
  clip-path: polygon(50% 0, 59% 32%, 79% 7%, 75% 37%, 100% 27%, 79% 49%, 100% 68%, 74% 63%, 80% 94%, 58% 71%, 48% 100%, 40% 71%, 12% 91%, 25% 61%, 0 55%, 25% 42%, 8% 15%, 36% 29%);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 10cqw;
}

.patrol-portrait {
  grid-column: 1 / 3;
}

.patrol-portrait img {
  object-position: 50% 37%;
}

.patrol-portrait .sound-word {
  right: 2.5%;
  bottom: 12%;
}

.patrol-finale {
  grid-column: 1 / 3;
  display: grid;
  align-content: center;
  padding: 4cqw;
  background: var(--ink);
  color: var(--paper-light);
  text-align: center;
}

.patrol-finale p,
.patrol-finale h3 {
  position: relative;
  z-index: 2;
  margin: 0;
}

.patrol-finale p {
  font-size: 1.65cqw;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.patrol-finale h3 {
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 6.6cqw;
  font-weight: 400;
  line-height: 0.9;
}

.speed-lines {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 95deg at 50% 50%, transparent 0deg 5deg, rgba(211, 29, 37, 0.65) 5.2deg 6.3deg);
  opacity: 0.55;
}

.notes-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 1.2fr 0.68fr 0.48fr;
  gap: 1.6cqw;
  height: calc(100% - 16cqw);
}

.notes-portrait {
  grid-row: 1 / 3;
  overflow: visible;
}

.notes-portrait img {
  object-position: 50% 31%;
}

.starburst {
  position: absolute;
  z-index: 6;
  right: -6cqw;
  bottom: 4cqw;
  display: grid;
  place-items: center;
  width: 20cqw;
  aspect-ratio: 1;
  padding: 3cqw;
  background: var(--yellow);
  clip-path: polygon(50% 0, 60% 29%, 83% 8%, 76% 37%, 100% 31%, 80% 50%, 100% 70%, 74% 65%, 81% 94%, 59% 72%, 47% 100%, 40% 73%, 13% 92%, 25% 62%, 0 57%, 25% 43%, 7% 18%, 35% 30%);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.7cqw;
  line-height: 0.95;
  text-align: center;
  transform: rotate(7deg);
}

.dossier-panel {
  display: grid;
  align-content: center;
  gap: 1.2cqw;
  padding: 1.8cqw;
  background: var(--paper);
}

.dossier-panel > div {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 0.45cqw solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0.55cqw 0.55cqw 0 var(--ink);
}

.dossier-panel > div > span {
  display: grid;
  place-items: center;
  width: 6cqw;
  background: var(--red);
  color: var(--white);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.8cqw;
}

.dossier-panel p {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 1cqw;
  margin: 0;
  padding: 0.8cqw 1cqw;
  font-size: 1.45cqw;
  font-weight: 700;
}

.dossier-panel p b {
  color: var(--red);
  letter-spacing: 0.07em;
}

.quote-panel {
  padding: 2.2cqw;
  background: var(--navy);
  color: var(--paper-light);
}

.quote-panel > span {
  display: inline-block;
  padding: 0.5cqw 0.8cqw;
  background: var(--pink);
  color: var(--ink);
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.quote-panel blockquote {
  margin: 1.3cqw 0 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.45cqw;
  line-height: 1.06;
}

.warning-panel {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2cqw 2.4cqw;
  background: var(--yellow);
}

.warning-panel b {
  flex: 0 0 auto;
  color: var(--red);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.3cqw;
  font-weight: 400;
  transform: rotate(-2deg);
}

.warning-panel p {
  margin: 0;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.22;
}

.market-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 1.6cqw;
  height: calc(100% - 16cqw);
}

.market-ticker-panel {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2cqw;
  min-height: 10cqw;
  padding: 1.4cqw 2cqw;
  background: var(--red);
  color: var(--white);
}

.market-ticker-panel > span {
  font-size: 1.5cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.market-ticker-panel > b {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.8cqw;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.market-ticker-panel > i {
  padding: 0.6cqw 1cqw;
  border: 0.45cqw solid var(--white);
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.5cqw;
  font-style: normal;
  font-weight: 700;
}

.dex-panel {
  background: #0d131b;
  color: var(--white);
}

.dex-panel iframe,
.chart-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(83, 161, 202, 0.18) 1px, transparent 1px) 0 0 / 6cqw 6cqw,
    linear-gradient(90deg, rgba(83, 161, 202, 0.18) 1px, transparent 1px) 0 0 / 6cqw 6cqw,
    #0d131b;
}

.chart-grid {
  position: absolute;
  right: 4%;
  bottom: 7%;
  left: 4%;
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 72%;
  opacity: 0.6;
}

.chart-grid span {
  position: relative;
  width: 2.4%;
  border: 0.3cqw solid currentColor;
  background: currentColor;
  color: var(--green);
}

.chart-grid span::before {
  position: absolute;
  top: -2cqw;
  bottom: -2cqw;
  left: 50%;
  width: 0.3cqw;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}

.chart-grid .down {
  color: #f84b54;
}

.chart-message {
  position: relative;
  z-index: 2;
  width: 64%;
  padding: 2.5cqw;
  border: 0.6cqw solid var(--white);
  background: var(--ink);
  box-shadow: 1cqw 1cqw 0 var(--red);
  text-align: center;
  transform: rotate(-1deg);
}

.chart-message strong {
  display: block;
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5cqw;
  font-weight: 400;
}

.chart-message p {
  margin: 1cqw 0 0;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.chart-message code {
  color: var(--yellow);
}

.verify-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1cqw;
  padding: 1.2cqw;
  background: var(--paper);
}

.verify-panel > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8cqw;
  padding: 0.8cqw;
  border: 0.4cqw solid var(--ink);
  background: var(--paper-light);
}

.verify-panel span {
  display: grid;
  place-items: center;
  width: 3.8cqw;
  aspect-ratio: 1;
  background: var(--red);
  color: var(--white);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.8cqw;
}

.verify-panel b {
  font-size: 1.3cqw;
  letter-spacing: 0.04em;
}

.dex-button {
  display: grid;
  place-items: center;
  min-height: 9cqw;
  border: 0.6cqw solid var(--ink);
  background: var(--yellow);
  box-shadow: 0.8cqw 0.8cqw 0 var(--ink);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.4cqw;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.back-cover-page {
  background: var(--red);
}

.back-cover-page > img {
  position: absolute;
  right: -31%;
  bottom: 0;
  width: 112%;
  height: 82%;
  object-fit: contain;
  object-position: bottom right;
  filter: contrast(1.1);
}

.back-cover-tone {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(152deg, var(--red) 0 49%, transparent 49.3% 100%),
    radial-gradient(circle, rgba(9, 11, 15, 0.28) 0 1px, transparent 1.5px) 0 0 / 7px 7px;
}

.back-cover-copy {
  position: relative;
  z-index: 4;
  width: 73%;
  padding: 9cqw 6cqw;
}

.back-cover-copy > span {
  display: inline-block;
  padding: 0.7cqw 1.1cqw;
  border: 0.5cqw solid var(--ink);
  background: var(--yellow);
  font-size: 1.6cqw;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: rotate(-2deg);
}

.back-cover-copy h2 {
  margin: 3cqw 0 0;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 10cqw;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.82;
  -webkit-text-stroke: 0.6cqw var(--ink);
  paint-order: stroke fill;
  text-shadow: 1cqw 1cqw 0 var(--ink);
}

.back-ticker {
  display: inline-block;
  margin: 3cqw 0;
  padding: 0.8cqw 1.8cqw;
  border: 0.6cqw solid var(--ink);
  background: var(--yellow);
  box-shadow: 0.7cqw 0.7cqw 0 var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5cqw;
  letter-spacing: 0.1em;
  transform: rotate(1deg);
}

.end-stamp {
  position: absolute;
  z-index: 5;
  right: 3cqw;
  bottom: 3cqw;
  padding: 0.8cqw 1.2cqw;
  border: 0.55cqw solid var(--ink);
  background: var(--paper-light);
  font-size: 1.5cqw;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
}

.reader-controls {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 20px;
  width: min(760px, 100%);
  margin: 40px auto 0;
}

.reader-controls > button {
  min-height: 48px;
  padding: 8px 12px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 130ms ease, box-shadow 130ms ease, opacity 130ms ease;
}

.reader-controls > button:last-child {
  background: var(--red);
  color: var(--white);
}

.reader-controls > button:hover:not(:disabled) {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.reader-controls > button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.page-status {
  min-width: 0;
  text-align: center;
}

.page-status > span,
.page-status > strong {
  display: block;
}

.page-status > span {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-status > strong {
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
}

.progress-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.progress-dots i {
  width: 18px;
  height: 6px;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  transform: skewX(-20deg);
}

.progress-dots i.active {
  background: var(--red);
}

.reader-hint {
  margin: 26px auto 0;
  color: var(--paper-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.issue-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 46px);
  border-top: 7px solid var(--ink);
  background: var(--paper-light);
}

.footer-logo {
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: 0.04em;
}

.issue-footer p,
.issue-footer span {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.issue-footer p {
  padding: 5px 9px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
}

.issue-footer span {
  text-align: right;
}

@media (max-width: 720px) {
  .comic-site {
    padding: 8px;
  }

  .issue-paper {
    border-width: 5px;
    box-shadow: 7px 9px 0 rgba(0, 0, 0, 0.45);
  }

  .issue-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .issue-rail {
    grid-template-columns: 1fr auto;
  }

  .issue-rail span:last-child {
    display: none;
  }

  .masthead h1 {
    font-size: clamp(4.6rem, 21vw, 8rem);
  }

  .ca-stamp {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ca-stamp > span {
    display: none;
  }

  .comic-nav a {
    min-width: 0;
    flex: 1 1 30%;
    grid-template-columns: auto 1fr;
    font-size: 0.65rem;
  }

  .comic-nav a b {
    display: none;
  }

  .reader-caption {
    display: block;
  }

  .sound-toggle {
    margin-top: 18px;
  }

  .book-frame {
    width: calc(100% - 18px);
  }

  .reader-controls {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .reader-controls > button {
    grid-row: 2;
  }

  .page-status {
    grid-column: 1 / 3;
  }

  .issue-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .issue-footer span {
    text-align: center;
  }
}

@media (max-width: 430px) {
  .masthead {
    margin-top: 40px;
  }

  .masthead h1 {
    font-size: 20vw;
    -webkit-text-stroke-width: 3px;
    text-shadow: 5px 6px 0 var(--red), 8px 9px 0 var(--ink);
  }

  .main-tagline {
    letter-spacing: 0.1em;
  }

  .comic-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .comic-nav a {
    width: 100%;
  }

  .reader-shell {
    padding-right: 6px;
    padding-left: 6px;
  }

  .page-hotspot {
    width: 32px;
  }

  .page-hotspot-prev {
    left: -11px;
  }

  .page-hotspot-next {
    right: -11px;
  }

  .reader-hint {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Compact single-viewport reader and story issue — v4 */
.reader-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-content: center;
  min-height: 100svh;
  padding: clamp(16px, 2.8svh, 30px) clamp(10px, 3vw, 34px);
  scroll-margin-top: 0;
}

.reader-caption {
  width: min(650px, 100%);
  margin-bottom: clamp(10px, 1.8svh, 18px);
}

.reader-caption h2 {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
}

.book-frame {
  width: min(460px, 45svh, calc(100% - 42px));
  margin: 0 auto;
}

.reader-controls {
  grid-template-columns: 128px minmax(0, 1fr) 128px;
  gap: 14px;
  width: min(620px, 100%);
  margin-top: clamp(16px, 2.4svh, 24px);
}

.reader-controls > button {
  min-height: 42px;
  padding: 6px 9px;
  font-size: 0.7rem;
}

.page-status > strong {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

.progress-dots {
  margin-top: 5px;
}

.progress-dots i {
  width: 14px;
  height: 5px;
}

.reader-hint {
  margin-top: clamp(9px, 1.5svh, 15px);
  font-size: 0.58rem;
}

.page-face {
  transform: translateZ(0.2px);
}

.page-front {
  box-shadow:
    inset -18px 0 24px rgba(9, 11, 15, 0.08),
    12px 2px 24px rgba(9, 11, 15, 0.26);
}

.page-back {
  filter: brightness(0.96) saturate(0.98);
  transform: rotateY(180deg) translateZ(0.2px);
  box-shadow: inset 16px 0 24px rgba(9, 11, 15, 0.12);
}

.page-curl {
  top: 0.35%;
  right: -0.5%;
  bottom: 0.35%;
  width: 12%;
  border: 0;
  border-radius: 52% 0 0 52% / 8% 0 0 8%;
  background: linear-gradient(90deg, transparent 0, rgba(9, 11, 15, 0.08) 24%, rgba(255, 252, 232, 0.9) 58%, rgba(9, 11, 15, 0.2) 88%, transparent 100%);
  box-shadow: none;
  opacity: 0;
  transform: translateZ(2px) scaleX(0.55);
  transform-origin: right center;
}

.page-flipper.flip-next,
.page-flipper.flip-previous {
  animation-duration: 1.16s;
  animation-timing-function: cubic-bezier(0.23, 0.68, 0.2, 1);
}

.page-flipper.flip-next {
  animation-name: soft-flip-next;
}

.page-flipper.flip-previous {
  animation-name: soft-flip-previous;
}

.flip-next .page-curl {
  animation: curl-edge-next 1.16s cubic-bezier(0.23, 0.68, 0.2, 1) forwards;
}

.flip-previous .page-curl {
  animation: curl-edge-previous 1.16s cubic-bezier(0.23, 0.68, 0.2, 1) forwards;
}

.turning-next .page-base::after {
  position: absolute;
  z-index: 100;
  inset: 0;
  background: rgba(9, 11, 15, 0.16);
  content: "";
  pointer-events: none;
  animation: reveal-under-page 1.16s ease-out forwards;
}

@keyframes soft-flip-next {
  0% { transform: perspective(2200px) rotateY(0deg) translateX(0) scaleX(1); }
  12% { transform: perspective(2200px) rotateY(-8deg) translateX(-0.15%) scaleX(0.998); }
  27% { transform: perspective(2200px) rotateY(-31deg) translateX(-0.55%) scaleX(0.992); }
  44% { transform: perspective(2200px) rotateY(-68deg) translateX(-1.05%) scaleX(0.982); }
  58% { transform: perspective(2200px) rotateY(-98deg) translateX(-1.25%) scaleX(0.978); }
  73% { transform: perspective(2200px) rotateY(-132deg) translateX(-0.95%) scaleX(0.985); }
  88% { transform: perspective(2200px) rotateY(-165deg) translateX(-0.35%) scaleX(0.996); }
  100% { transform: perspective(2200px) rotateY(-180deg) translateX(0) scaleX(1); }
}

@keyframes soft-flip-previous {
  0% { transform: perspective(2200px) rotateY(-180deg) translateX(0) scaleX(1); }
  12% { transform: perspective(2200px) rotateY(-165deg) translateX(-0.35%) scaleX(0.996); }
  27% { transform: perspective(2200px) rotateY(-132deg) translateX(-0.95%) scaleX(0.985); }
  42% { transform: perspective(2200px) rotateY(-98deg) translateX(-1.25%) scaleX(0.978); }
  58% { transform: perspective(2200px) rotateY(-68deg) translateX(-1.05%) scaleX(0.982); }
  75% { transform: perspective(2200px) rotateY(-31deg) translateX(-0.55%) scaleX(0.992); }
  90% { transform: perspective(2200px) rotateY(-8deg) translateX(-0.15%) scaleX(0.998); }
  100% { transform: perspective(2200px) rotateY(0deg) translateX(0) scaleX(1); }
}

@keyframes curl-edge-next {
  0%, 100% { opacity: 0; transform: translateZ(2px) scaleX(0.45); }
  18% { opacity: 0.38; transform: translateZ(5px) scaleX(0.75); }
  48% { opacity: 0.92; transform: translateZ(12px) scaleX(1.45); }
  68% { opacity: 0.74; transform: translateZ(9px) scaleX(1.08); }
  88% { opacity: 0.22; transform: translateZ(3px) scaleX(0.62); }
}

@keyframes curl-edge-previous {
  0%, 100% { opacity: 0; transform: translateZ(2px) scaleX(0.45); }
  18% { opacity: 0.25; transform: translateZ(3px) scaleX(0.62); }
  45% { opacity: 0.86; transform: translateZ(10px) scaleX(1.28); }
  63% { opacity: 0.92; transform: translateZ(12px) scaleX(1.45); }
  84% { opacity: 0.32; transform: translateZ(4px) scaleX(0.72); }
}

@keyframes reveal-under-page {
  0% { opacity: 0.28; }
  45% { opacity: 0.17; }
  100% { opacity: 0; }
}

.story-grid {
  display: grid;
  gap: 1.35cqw;
  height: calc(100% - 16cqw);
}

.story-image-panel img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.story-image-panel::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle, transparent 0 61%, rgba(9, 11, 15, 0.24) 100%);
  content: "";
  pointer-events: none;
}

.story-image-panel .panel-caption,
.story-image-panel .speech-bubble,
.story-image-panel .comic-sfx {
  z-index: 5;
}

.bubble-top {
  top: 1.2cqw;
  left: 50%;
  max-width: 86%;
  padding: 1cqw 1.4cqw;
  font-size: 1.8cqw;
  transform: translateX(-50%);
}

.bubble-top::after {
  left: 50%;
  transform: translateX(-50%);
}

.comic-sfx {
  position: absolute;
  z-index: 7;
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 6cqw;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.82;
  -webkit-text-stroke: 0.5cqw var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.55cqw 0.65cqw 0 var(--red);
  transform: rotate(-8deg);
}

.sfx-small {
  right: 1.5cqw;
  bottom: 1.5cqw;
  font-size: 3.8cqw;
}

.witness-grid {
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 1.32fr 0.68fr 0.82fr;
}

.witness-rooftop {
  grid-column: 1 / 3;
}

.witness-rooftop img {
  object-position: center center;
}

.witness-kitten img {
  object-position: 100% 100%;
  transform: scale(2.35);
  transform-origin: 100% 100%;
}

.narration-panel {
  display: grid;
  align-content: center;
  padding: 2cqw;
}

.narration-panel span,
.action-verdict span {
  display: inline-block;
  width: fit-content;
  padding: 0.5cqw 0.8cqw;
  border: 0.35cqw solid var(--ink);
  background: var(--yellow);
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.narration-panel p {
  margin: 1.3cqw 0 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.8cqw;
  line-height: 1.05;
}

.night-note {
  background: var(--navy);
  color: var(--paper-light);
}

.boss-tease img {
  object-position: 50% 33%;
}

.hero-verdict {
  display: grid;
  place-items: center;
  background: var(--red);
}

.verdict-eyes {
  display: flex;
  gap: 2cqw;
}

.verdict-eyes i {
  width: 11cqw;
  height: 4.2cqw;
  border: 0.5cqw solid var(--ink);
  background: var(--yellow);
  clip-path: polygon(0 5%, 100% 0, 72% 100%, 17% 72%);
}

.verdict-eyes i:last-child {
  clip-path: polygon(0 0, 100% 5%, 83% 72%, 28% 100%);
}

.hero-verdict .thought-bubble {
  top: 1.2cqw;
  right: 1.2cqw;
  font-size: 1.65cqw;
}

.villain-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.28fr 0.74fr 0.74fr;
}

.villain-establishing {
  grid-column: 1 / 3;
}

.villain-establishing img {
  object-position: center center;
}

.boss-bubble {
  top: 1.5cqw;
  right: 1.5cqw;
  max-width: 38%;
  font-size: 1.65cqw;
}

.sphynx-closeup img {
  object-position: 0 25%;
  transform: scale(1.9);
  transform-origin: 0 20%;
}

.boss-closeup img {
  object-position: 50% 24%;
  transform: scale(1.85);
  transform-origin: 50% 24%;
}

.captive-closeup img {
  object-position: 100% 45%;
  transform: scale(2.1);
  transform-origin: 100% 45%;
}

.ceiling-panel {
  display: grid;
  align-content: end;
  padding: 2cqw;
  background: var(--ink);
  color: var(--paper-light);
}

.ceiling-cracks {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 12deg at 50% 0, transparent 0 10deg, rgba(255, 212, 46, 0.72) 10.5deg 11.5deg);
  opacity: 0.5;
}

.ceiling-panel .comic-sfx {
  top: 3cqw;
  left: 4cqw;
}

.ceiling-panel p {
  position: relative;
  z-index: 3;
  margin: 0;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.action-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.42fr 0.7fr 0.5fr;
}

.ambush-main {
  grid-column: 1 / 4;
}

.ambush-main img {
  object-position: center center;
}

.crash-sfx {
  top: 2cqw;
  left: 2cqw;
  font-size: 7cqw;
}

.hero-bubble {
  right: 2cqw;
  bottom: 2cqw;
  max-width: 38%;
  font-size: 1.75cqw;
}

.sphynx-reaction img {
  object-position: 0 35%;
  transform: scale(2.05);
  transform-origin: 0 35%;
}

.thug-reaction img {
  object-position: 77% 31%;
  transform: scale(2.05);
  transform-origin: 77% 31%;
}

.rat-reaction img {
  object-position: 60% 78%;
  transform: scale(2.15);
  transform-origin: 60% 78%;
}

.action-verdict {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5cqw;
  padding: 1.5cqw 2cqw;
  background: var(--red);
  color: var(--paper-light);
}

.action-verdict p {
  margin: 0;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
}

.action-verdict b {
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.7cqw;
  font-weight: 400;
}

.resolution-grid {
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-rows: 0.72fr 0.7fr 1.2fr 0.42fr;
}

.rescue-panel {
  display: grid;
  place-items: center;
  background: var(--yellow);
}

.kitten-face {
  position: relative;
  width: 14cqw;
  aspect-ratio: 1;
  border: 0.65cqw solid var(--ink);
  border-radius: 47% 47% 52% 52%;
  background: #e78327;
}

.kitten-face::before,
.kitten-face::after {
  position: absolute;
  top: -3.6cqw;
  width: 6cqw;
  height: 7cqw;
  border: 0.6cqw solid var(--ink);
  background: #e78327;
  content: "";
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.kitten-face::before { left: 0; transform: rotate(-12deg); }
.kitten-face::after { right: 0; transform: rotate(12deg); }

.kitten-face i {
  position: absolute;
  z-index: 2;
  top: 4.4cqw;
  width: 2.5cqw;
  aspect-ratio: 1;
  border: 0.45cqw solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
}

.kitten-face i:first-child { left: 2.3cqw; }
.kitten-face i:nth-child(2) { right: 2.3cqw; }

.kitten-face b {
  position: absolute;
  z-index: 2;
  bottom: 2.8cqw;
  left: 50%;
  width: 2.2cqw;
  height: 1.4cqw;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.rescue-panel .speech-bubble {
  max-width: 88%;
  font-size: 1.55cqw;
}

.hero-answer {
  grid-row: 1 / 3;
  grid-column: 2;
}

.hero-answer img {
  object-position: 50% 25%;
}

.answer-bubble {
  right: 1.5cqw;
  bottom: 2cqw;
  font-size: 2cqw;
}

.returned-crates {
  display: grid;
  place-items: center;
  background: var(--blue);
}

.crate-stack {
  display: flex;
  align-items: end;
  gap: 0.8cqw;
  transform: translateY(2cqw);
}

.crate-stack i {
  width: 8cqw;
  height: 6cqw;
  border: 0.6cqw solid var(--ink);
  background: #9a652e;
  box-shadow: inset 0 0 0 0.6cqw #c98c42;
  transform: rotate(-3deg);
}

.crate-stack i:nth-child(2) {
  height: 9cqw;
  transform: rotate(2deg);
}

.returned-crates .sfx-small {
  color: var(--paper-light);
}

.dawn-exit {
  grid-column: 1 / 3;
}

.dawn-exit img {
  object-position: 42% 38%;
  filter: sepia(0.16) brightness(1.08);
}

.final-narration {
  position: absolute;
  z-index: 5;
  right: 2cqw;
  bottom: 2cqw;
  padding: 1.4cqw 1.8cqw;
  border: 0.5cqw solid var(--ink);
  background: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.7cqw;
  line-height: 0.94;
  text-align: right;
  transform: rotate(-2deg);
}

.final-narration b {
  color: var(--red);
  font-weight: 400;
}

.case-closed-panel {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2cqw;
  padding: 1cqw 2cqw;
  background: var(--ink);
  color: var(--paper-light);
}

.case-closed-panel span,
.case-closed-panel p {
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.case-closed-panel b {
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.8cqw;
  font-weight: 400;
  text-align: center;
}

.case-closed-panel p {
  margin: 0;
  text-align: right;
}

@media (max-width: 720px) {
  .reader-shell {
    padding: 12px 6px 14px;
  }

  .reader-caption {
    display: flex;
    align-items: end;
    padding: 0 10px;
  }

  .reader-caption h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .sound-toggle {
    margin-top: 0;
  }

  .book-frame {
    width: min(45svh, calc(100% - 20px));
  }

  .reader-controls {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    padding: 0 10px;
  }

  .reader-controls > button {
    grid-row: 2;
    min-height: 38px;
  }

  .page-status {
    grid-column: 1 / 3;
  }

  .reader-hint {
    margin-top: 8px;
  }
}

@media (max-height: 690px) and (min-width: 721px) {
  .caption-tag,
  .reader-hint {
    display: none;
  }

  .reader-caption h2 {
    margin-top: 0;
  }

  .reader-controls {
    margin-top: 10px;
  }
}

/* Physical book reader, vintage cover, and dynamic panel cuts — v5 */
.issue-paper {
  width: min(1280px, 100%);
}

.reader-shell {
  grid-template-rows: auto auto auto auto;
  min-height: 100svh;
  padding: clamp(18px, 2.8svh, 32px) clamp(10px, 2.8vw, 36px) clamp(16px, 2.5svh, 30px);
  overflow: hidden;
}

.reader-caption {
  width: min(980px, 100%);
  margin-bottom: clamp(12px, 1.7svh, 20px);
}

.reader-caption h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.35rem);
}

.book-frame {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100vw - 88px), 100svh);
  max-width: 100%;
  margin: 0 auto;
  perspective: 2600px;
  transform-style: preserve-3d;
}

.book-frame::before,
.book-frame::after {
  position: absolute;
  z-index: -3;
  right: 1.2%;
  bottom: -12px;
  left: 1.2%;
  height: 22px;
  border: 4px solid var(--ink);
  background: repeating-linear-gradient(0deg, #bda974 0 2px, #fff8e6 2px 4px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.36);
  content: "";
  transform: perspective(900px) rotateX(54deg) translateZ(-8px);
}

.book-frame::before {
  right: 0;
  bottom: -20px;
  left: 2.4%;
  background: #6f1117;
  transform: perspective(900px) rotateX(57deg) translateZ(-15px);
}

.book-depth {
  position: absolute;
  z-index: -2;
  inset: 1.2% -9px -8px 1.5%;
  border: 5px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--paper-dark) 0 3px, var(--paper-light) 3px 6px);
  box-shadow: 20px 24px 45px rgba(0, 0, 0, 0.42);
  pointer-events: none;
  transform: rotateX(1.4deg) rotateY(-0.35deg) translateZ(-12px);
}

.comic-book,
.comic-book.stf__parent {
  width: 100%;
  max-width: 1120px !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  isolation: isolate;
  filter: drop-shadow(0 20px 23px rgba(0, 0, 0, 0.4));
  transform: rotateX(0.7deg);
  transform-origin: center bottom;
}

.comic-book .stf__wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.comic-book .stf__wrapper.--landscape::after {
  position: absolute;
  z-index: 90;
  top: 0.35%;
  bottom: 0.35%;
  left: 50%;
  width: 2.4%;
  background: linear-gradient(90deg, transparent, rgba(9, 11, 15, 0.24) 43%, rgba(255, 248, 226, 0.11) 52%, rgba(9, 11, 15, 0.2) 64%, transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.comic-book .stf__block {
  cursor: grab;
  perspective: 2600px;
}

.comic-book .stf__block:active {
  cursor: grabbing;
}

.book-page {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border: clamp(3px, 0.62cqw, 6px) solid var(--ink);
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.08) 0 0.7px, transparent 1px) 0 0 / 6px 6px,
    var(--paper-light);
  box-shadow:
    inset -1.4cqw 0 2.4cqw rgba(9, 11, 15, 0.12),
    inset 0 0 0 0.24cqw rgba(255, 255, 255, 0.45);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.book-page a > *,
.book-page button > * {
  pointer-events: none;
}

.book-page.--left {
  box-shadow:
    inset -2.1cqw 0 2.7cqw rgba(9, 11, 15, 0.21),
    inset 0 0 0 0.24cqw rgba(255, 255, 255, 0.4);
}

.book-page.--right {
  box-shadow:
    inset 2.1cqw 0 2.7cqw rgba(9, 11, 15, 0.16),
    inset 0 0 0 0.24cqw rgba(255, 255, 255, 0.4);
}

.book-page.--left::after,
.book-page.--right::after {
  position: absolute;
  z-index: 70;
  top: 0;
  bottom: 0;
  width: 4.2%;
  content: "";
  pointer-events: none;
}

.book-page.--left::after {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(9, 11, 15, 0.2));
}

.book-page.--right::after {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 11, 15, 0.18), transparent);
}

.book-page.is-fallback {
  position: relative;
  display: block;
  width: min(560px, 100%);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
}

.comic-page {
  border: 0;
}

/* Vintage issue cover */
.vintage-cover {
  inset: 0;
  border: 1.35cqw solid #090909;
  background: #eee9bf;
  box-shadow:
    inset 0 0 0 0.45cqw #eee9bf,
    inset 0 0 2.2cqw rgba(0, 0, 0, 0.48);
}

.vintage-cover .cover-art {
  inset: 1.1cqw;
  width: calc(100% - 2.2cqw);
  height: calc(100% - 2.2cqw);
  object-position: center center;
  filter: contrast(1.04) saturate(0.93) sepia(0.06);
}

.vintage-cover .cover-tone {
  inset: 1.1cqw;
  background:
    linear-gradient(180deg, rgba(255, 247, 172, 0.12), transparent 27% 80%, rgba(7, 8, 12, 0.24)),
    radial-gradient(circle, rgba(7, 8, 12, 0.2) 0 0.55px, transparent 0.9px) 0 0 / 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.62;
}

.vintage-topline {
  position: absolute;
  z-index: 8;
  top: 2.4cqw;
  right: 2.4cqw;
  left: 2.4cqw;
  display: grid;
  grid-template-columns: 18cqw 1fr;
  min-height: 9.5cqw;
  border: 0.7cqw solid var(--ink);
  background: #f5ea3e;
  box-shadow: 0.8cqw 0.8cqw 0 rgba(9, 11, 15, 0.92);
}

.cover-imprint {
  display: grid;
  place-content: center;
  border-right: 0.65cqw solid var(--ink);
  background: #d65ae7;
  color: var(--ink);
  line-height: 0.84;
  text-align: center;
  transform: skewX(-3deg);
}

.cover-imprint strong {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.15cqw;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cover-imprint span {
  font-size: 1.2cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.cover-series {
  display: grid;
  place-items: center;
  padding-left: 2cqw;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.4cqw;
  letter-spacing: 0.12em;
  text-align: center;
}

.vintage-cover .vintage-logo {
  top: 13.1cqw;
  width: 91%;
  color: #f5ea3e;
  transform: translateX(-50%) rotate(-1.2deg);
}

.vintage-cover .vintage-logo > span {
  position: absolute;
  top: -1.4cqw;
  left: 50%;
  margin: 0;
  color: #f5ea3e;
  font-size: 3.3cqw;
  letter-spacing: 0.2em;
  text-shadow: 0.35cqw 0.35cqw 0 var(--ink);
  transform: translateX(-50%);
}

.vintage-cover .vintage-logo h2 {
  margin: 0;
  font-size: 15.1cqw;
  letter-spacing: -0.035em;
  line-height: 0.84;
  -webkit-text-stroke: 0.72cqw var(--ink);
  text-shadow:
    0.65cqw 0.7cqw 0 #cf57de,
    1.25cqw 1.3cqw 0 var(--ink);
  transform: perspective(600px) rotateX(1deg) skewX(-5deg);
}

.vintage-cover .vintage-price-box {
  top: 26.6cqw;
  left: 2.8cqw;
  width: 15cqw;
  border: 0.65cqw solid var(--ink);
  background: #f7f0d2;
  box-shadow: 0.65cqw 0.65cqw 0 rgba(9, 11, 15, 0.84);
  color: var(--ink);
}

.vintage-cover .vintage-price-box span {
  background: #cf57de;
  color: var(--ink);
  font-size: 1.5cqw;
}

.vintage-cover .vintage-price-box strong {
  font-size: 4.6cqw;
}

.vintage-cover .vintage-price-box small {
  border-top: 0.4cqw solid var(--ink);
  font-size: 1.45cqw;
}

.cover-corner-mark {
  position: absolute;
  z-index: 8;
  bottom: 4.4cqw;
  left: 3.3cqw;
  display: grid;
  place-content: center;
  width: 17cqw;
  height: 21cqw;
  border: 0.7cqw solid var(--ink);
  background: #eee9bf;
  box-shadow: 0.7cqw 0.7cqw 0 rgba(9, 11, 15, 0.85);
  text-align: center;
}

.cover-corner-mark::before {
  width: 10cqw;
  height: 10cqw;
  margin: 0 auto 1.3cqw;
  background: var(--ink);
  clip-path: polygon(12% 13%, 36% 21%, 50% 4%, 64% 21%, 88% 13%, 79% 40%, 95% 58%, 69% 63%, 63% 97%, 50% 75%, 37% 97%, 31% 63%, 5% 58%, 21% 40%);
  content: "";
}

.cover-corner-mark span {
  color: #c61926;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.1cqw;
  line-height: 0.8;
}

.cover-corner-mark b {
  margin-top: 0.8cqw;
  font-size: 1.25cqw;
  letter-spacing: 0.14em;
}

.cover-teaser {
  position: absolute;
  z-index: 8;
  right: 4cqw;
  bottom: 5.2cqw;
  padding: 1.1cqw 2.3cqw 1.4cqw;
  border: 0.65cqw solid var(--ink);
  background: #d65ae7;
  box-shadow: 0.75cqw 0.75cqw 0 var(--ink);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.2cqw;
  letter-spacing: 0.04em;
  line-height: 0.9;
  transform: rotate(-2deg);
}

.cover-teaser b {
  color: #f5ea3e;
  font-size: 5.2cqw;
  font-weight: 400;
  -webkit-text-stroke: 0.35cqw var(--ink);
  paint-order: stroke fill;
}

.cover-credits {
  position: absolute;
  z-index: 8;
  right: 3.4cqw;
  bottom: 1.8cqw;
  color: #eee9bf;
  font-size: 1.05cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0.18cqw 0.18cqw 0 var(--ink);
}

/* Irregular gutters and hand-cut comic frames */
.story-issue-page {
  padding: 2.6cqw;
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.09) 0 0.7px, transparent 1px) 0 0 / 5px 5px,
    #fff8df;
}

.story-grid {
  gap: 1.15cqw;
  height: calc(100% - 15.2cqw);
  padding: 0.45cqw;
  background: #fff8df;
}

.comic-panel {
  border: 0;
  background-color: var(--ink);
  filter: drop-shadow(0.28cqw 0.36cqw 0 rgba(9, 11, 15, 0.92));
  transform-origin: center;
}

.story-image-panel > img {
  inset: 0.58cqw;
  width: calc(100% - 1.16cqw);
  height: calc(100% - 1.16cqw);
  clip-path: inherit;
}

.story-image-panel::after {
  inset: 0.58cqw;
  clip-path: inherit;
}

.panel-caption {
  border: 0.42cqw solid var(--ink);
  box-shadow: 0.28cqw 0.32cqw 0 rgba(9, 11, 15, 0.8);
}

.speech-bubble,
.thought-bubble {
  border-width: 0.43cqw;
  box-shadow: 0.3cqw 0.34cqw 0 rgba(9, 11, 15, 0.83);
}

.hero-bubble {
  border-radius: 0;
  clip-path: polygon(7% 0, 89% 5%, 100% 25%, 94% 78%, 73% 86%, 63% 100%, 51% 87%, 10% 93%, 0 69%, 5% 24%);
  padding: 1.5cqw 1.8cqw;
}

.thought-bubble {
  border-radius: 52% 48% 45% 55% / 47% 54% 46% 53%;
}

.comic-sfx {
  filter: drop-shadow(0.45cqw 0.55cqw 0 rgba(9, 11, 15, 0.72));
}

.witness-rooftop {
  clip-path: polygon(0 0, 100% 0, 96.5% 92%, 3% 100%);
}

.witness-kitten {
  clip-path: polygon(1% 4%, 95% 0, 100% 100%, 8% 94%);
  transform: rotate(-1.2deg);
}

.night-note {
  clip-path: polygon(6% 0, 100% 5%, 94% 100%, 0 94%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(1.1deg);
}

.boss-tease {
  clip-path: polygon(0 0, 100% 5%, 94% 100%, 4% 95%);
  transform: rotate(0.8deg);
}

.hero-verdict {
  clip-path: polygon(6% 4%, 100% 0, 94% 94%, 0 100%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(-0.7deg);
}

.villain-establishing {
  clip-path: polygon(0 0, 100% 0, 97% 88%, 3% 100%);
}

.sphynx-closeup {
  clip-path: polygon(0 2%, 96% 0, 100% 100%, 8% 93%);
  transform: rotate(-1deg);
}

.boss-closeup {
  clip-path: polygon(5% 0, 100% 4%, 94% 94%, 0 100%);
  transform: rotate(0.8deg);
}

.captive-closeup {
  clip-path: polygon(0 5%, 96% 0, 100% 92%, 5% 100%);
  transform: rotate(0.7deg);
}

.ceiling-panel {
  clip-path: polygon(6% 0, 100% 7%, 94% 100%, 0 94%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(-1deg);
}

.ambush-main {
  clip-path: polygon(0 0, 100% 0, 96% 90%, 4% 100%);
}

.sphynx-reaction {
  clip-path: polygon(0 4%, 96% 0, 100% 100%, 8% 92%);
  transform: rotate(-1.4deg);
}

.thug-reaction {
  clip-path: polygon(5% 0, 95% 5%, 100% 94%, 0 100%);
  transform: rotate(0.9deg);
}

.rat-reaction {
  clip-path: polygon(4% 3%, 100% 0, 94% 100%, 0 92%);
  transform: rotate(-0.8deg);
}

.action-verdict {
  clip-path: polygon(1% 7%, 99% 0, 96% 92%, 4% 100%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(-0.35deg);
}

.rescue-panel {
  clip-path: polygon(0 3%, 95% 0, 100% 96%, 7% 100%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(-0.8deg);
}

.hero-answer {
  clip-path: polygon(4% 0, 100% 3%, 94% 100%, 0 95%);
  transform: rotate(0.5deg);
}

.returned-crates {
  clip-path: polygon(0 4%, 97% 0, 100% 91%, 5% 100%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(0.8deg);
}

.dawn-exit {
  clip-path: polygon(1% 5%, 99% 0, 96% 91%, 4% 100%);
  transform: rotate(-0.45deg);
}

.case-closed-panel {
  clip-path: polygon(3% 0, 100% 7%, 96% 100%, 0 91%);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(0.4deg);
}

.market-ticker-panel,
.verify-panel {
  clip-path: polygon(2% 5%, 99% 0, 96% 95%, 0 100%);
  transform: rotate(-0.45deg);
}

.dex-panel {
  clip-path: polygon(0 1%, 98% 0, 100% 96%, 3% 100%);
  transform: rotate(0.35deg);
}

.night-shift-page {
  padding: 2.6cqw;
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.09) 0 0.7px, transparent 1px) 0 0 / 5px 5px,
    #fff8df;
}

.night-shift-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1.15fr 0.72fr 0.66fr;
  gap: 1.15cqw;
  height: calc(100% - 15.2cqw);
  padding: 0.45cqw;
}

.shift-hero-panel {
  grid-row: 1 / 3;
  clip-path: polygon(0 0, 96% 3%, 100% 96%, 5% 100%);
  transform: rotate(-0.55deg);
}

.shift-hero-panel img {
  object-position: 50% 27%;
}

.shift-bubble {
  right: 1.6cqw;
  bottom: 2.2cqw;
  max-width: 52%;
  font-size: 1.72cqw;
}

.contract-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1cqw;
  padding: 2cqw;
  clip-path: polygon(5% 0, 100% 4%, 95% 96%, 0 100%);
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.23) 0 0.7px, transparent 1.1px) 0 0 / 5px 5px,
    var(--yellow);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(0.8deg);
}

.contract-panel > span,
.signal-panel > span {
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.contract-panel > strong {
  color: var(--red);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5cqw;
  font-weight: 400;
  line-height: 0.8;
  -webkit-text-stroke: 0.3cqw var(--ink);
  paint-order: stroke fill;
}

.contract-panel code {
  display: block;
  width: 100%;
  padding: 0.7cqw;
  overflow: hidden;
  border: 0.35cqw solid var(--ink);
  background: var(--paper-light);
  font-size: 1.2cqw;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-contract {
  padding: 0.7cqw 1.2cqw;
  border: 0.4cqw solid var(--ink);
  background: var(--red);
  box-shadow: 0.35cqw 0.4cqw 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25cqw;
  letter-spacing: 0.09em;
}

.signal-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.9cqw;
  padding: 2cqw;
  overflow: hidden;
  clip-path: polygon(0 5%, 97% 0, 100% 94%, 5% 100%);
  background:
    repeating-conic-gradient(from 0deg at 100% 50%, rgba(255, 212, 46, 0.38) 0 5deg, transparent 5deg 11deg),
    var(--navy);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  color: var(--paper-light);
  transform: rotate(0.55deg);
}

.signal-panel p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 2.25cqw;
  line-height: 1.02;
}

.signal-panel .comic-sfx {
  right: 1.4cqw;
  bottom: 1.1cqw;
  font-size: 3.6cqw;
}

.shift-links-panel {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 1.2cqw;
  padding: 1.5cqw;
  clip-path: polygon(1% 7%, 99% 0, 96% 100%, 4% 92%);
  background: var(--red);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  transform: rotate(-0.35deg);
}

.shift-links-panel .panel-link {
  min-height: 7.2cqw;
  padding: 0.8cqw;
  border-width: 0.4cqw;
  box-shadow: 0.35cqw 0.4cqw 0 var(--ink);
  font-size: 1.4cqw;
}

.shift-links-panel .panel-link span {
  width: 4.5cqw;
  font-size: 1.5cqw;
}

.reader-controls {
  width: min(820px, 100%);
  margin-top: clamp(14px, 1.8svh, 22px);
}

.reader-hint {
  margin-top: clamp(8px, 1.1svh, 13px);
}

@media (max-width: 760px) {
  .comic-site {
    padding: 5px;
  }

  .issue-paper {
    border-width: 4px;
  }

  .reader-shell {
    min-height: 100svh;
    padding: 12px 5px 14px;
  }

  .reader-caption {
    display: flex;
    padding: 0 8px;
  }

  .reader-caption h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .book-frame {
    width: min(560px, calc(100vw - 22px), 52svh);
  }

  .comic-book,
  .comic-book.stf__parent {
    max-width: 560px !important;
    transform: none;
  }

  .book-depth {
    right: -4px;
    bottom: -5px;
  }

  .reader-controls {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(560px, 100%);
    margin-top: 12px;
  }

  .reader-controls > button {
    grid-row: 2;
  }

  .page-status {
    grid-column: 1 / 3;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .reader-shell {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .reader-caption {
    margin-bottom: 8px;
  }

  .reader-caption h2 {
    font-size: 1.8rem;
  }

  .book-frame {
    width: min(880px, calc(100vw - 88px), 100svh);
  }

  .reader-controls {
    margin-top: 9px;
  }

  .reader-hint {
    display: none;
  }
}

/* Larger one-screen reader, magnifier, two-page DEX, lore, and gutter art — v6 */
body {
  position: relative;
}

.comic-site {
  position: relative;
  z-index: 2;
}

.gutter-decor {
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gutter-decor::before,
.gutter-decor::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: max(110px, calc((100vw - 1320px) / 2));
  background:
    radial-gradient(circle, rgba(255, 212, 46, 0.42) 0 2px, transparent 2.5px) 0 0 / 13px 13px,
    linear-gradient(145deg, transparent 0 42%, rgba(211, 29, 37, 0.2) 42.3% 57%, transparent 57.3% 100%);
  content: "";
  opacity: 0.52;
}

.gutter-decor::before { left: 0; }
.gutter-decor::after { right: 0; transform: scaleX(-1); }

.gutter-burst,
.gutter-sfx,
.gutter-caption,
.gutter-speed {
  position: absolute;
}

.gutter-burst {
  display: grid;
  place-items: center;
  width: clamp(118px, 10vw, 190px);
  aspect-ratio: 1;
  background: var(--yellow);
  color: var(--ink);
  clip-path: polygon(50% 0, 60% 27%, 82% 8%, 76% 36%, 100% 32%, 82% 53%, 100% 67%, 73% 68%, 80% 96%, 58% 76%, 47% 100%, 41% 74%, 16% 91%, 24% 64%, 0 59%, 21% 46%, 1% 27%, 29% 30%);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.82;
  text-align: center;
  filter: drop-shadow(9px 10px 0 var(--ink));
}

.gutter-burst-left {
  top: 9vh;
  left: max(12px, calc((100vw - 1470px) / 2));
  transform: rotate(-9deg);
}

.gutter-burst-right {
  right: max(12px, calc((100vw - 1470px) / 2));
  bottom: 9vh;
  background: var(--red);
  color: var(--paper-light);
  transform: rotate(8deg);
}

.gutter-sfx {
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.2rem, 4vw, 5rem);
  letter-spacing: 0.04em;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 7px 0 var(--red);
}

.gutter-sfx-left {
  bottom: 20vh;
  left: max(18px, calc((100vw - 1510px) / 2));
  transform: rotate(-13deg);
}

.gutter-sfx-right {
  top: 27vh;
  right: max(16px, calc((100vw - 1510px) / 2));
  color: var(--yellow);
  transform: rotate(12deg);
}

.gutter-caption {
  padding: 8px 11px;
  border: 4px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 6px 6px 0 var(--red);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
}

.gutter-caption-left {
  top: 43vh;
  left: max(12px, calc((100vw - 1480px) / 2));
  transform: rotate(3deg);
}

.gutter-caption-right {
  top: 55vh;
  right: max(12px, calc((100vw - 1480px) / 2));
  background: var(--blue);
  transform: rotate(-3deg);
}

.gutter-speed {
  width: 150px;
  height: 34vh;
  background: repeating-linear-gradient(103deg, transparent 0 11px, rgba(255, 248, 230, 0.36) 12px 15px, transparent 16px 25px);
  opacity: 0.65;
}

.gutter-speed-left { left: 0; bottom: 0; }
.gutter-speed-right { top: 0; right: 0; transform: rotate(180deg); }

.reader-shell {
  grid-template-rows: auto auto auto auto;
  align-content: center;
  height: 100svh;
  min-height: 620px;
  padding: clamp(10px, 1.7svh, 20px) clamp(8px, 2vw, 24px);
}

.reader-caption {
  width: min(1100px, 100%);
  margin-bottom: clamp(7px, 1svh, 12px);
}

.reader-caption h2 {
  margin-top: 4px;
  font-size: clamp(1.55rem, 2.9vw, 2.85rem);
}

.reader-tools {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: end;
  gap: 9px;
}

.sound-toggle,
.magnifier-toggle {
  min-height: 39px;
  margin: 0;
  padding: 7px 11px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.magnifier-toggle[aria-pressed="true"] {
  background: var(--yellow);
}

.book-frame {
  width: min(1180px, calc(100vw - 64px), calc(133svh - 240px));
}

.comic-book,
.comic-book.stf__parent {
  max-width: 1180px !important;
}

.reader-controls {
  grid-template-columns: 148px minmax(0, 1fr) 148px;
  width: min(920px, 100%);
  margin-top: clamp(7px, 1svh, 12px);
}

.reader-controls > button {
  min-height: 39px;
}

.reader-hint {
  margin-top: 5px;
}

/* Magnifier */
.magnifier-lens {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: clamp(200px, 19vw, 280px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow:
    0 0 0 5px var(--yellow),
    14px 18px 0 rgba(0, 0, 0, 0.44);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  contain: strict;
  isolation: isolate;
  transition: opacity 90ms linear;
}

.magnifier-lens::after {
  position: absolute;
  right: 9%;
  bottom: 9%;
  width: 28%;
  height: 7%;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  content: "";
  transform: translate(58%, 58%) rotate(45deg);
  transform-origin: left center;
}

.magnifier-lens.is-visible {
  opacity: 1;
  visibility: visible;
}

.magnifier-stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.book-page.magnifier-page-copy {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  margin: 0 !important;
  clip-path: none !important;
  transform: none !important;
  container-type: inline-size;
  pointer-events: none !important;
}

.book-page.magnifier-page-copy::after {
  display: none;
}

body.magnifier-enabled .dex-panel iframe {
  pointer-events: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Unique illustrated story frames */
.witness-grid-v6 {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 1.22fr 0.76fr 0.72fr;
}

.witness-grid-v6 .witness-rooftop,
.witness-grid-v6 .hero-verdict-real {
  grid-column: 1 / 3;
}

.witness-grid-v6 .witness-kitten img {
  object-position: center center;
  transform: none;
}

.hero-verdict-real {
  display: block;
  clip-path: polygon(3% 3%, 100% 0, 96% 94%, 0 100%);
}

.hero-verdict-real img {
  object-position: 50% 30%;
  transform: scale(1.32);
  transform-origin: 50% 29%;
}

.hero-verdict-real .thought-bubble {
  top: 1.5cqw;
  right: 1.5cqw;
  font-size: 1.7cqw;
}

.villain-grid-v6 {
  grid-template-columns: 1fr;
  grid-template-rows: 1.12fr 1fr 0.4fr;
}

.villain-grid-v6 .villain-establishing,
.villain-grid-v6 .cannery-alert-panel,
.villain-grid-v6 .ceiling-panel {
  grid-column: 1;
}

.cannery-alert-panel {
  clip-path: polygon(2% 2%, 98% 0, 100% 94%, 4% 100%);
  transform: rotate(0.35deg);
}

.cannery-alert-panel img {
  object-position: center center;
}

.alert-bubble {
  top: 1.4cqw;
  right: 1.5cqw;
  max-width: 40%;
  font-size: 1.65cqw;
}

.villain-grid-v6 .ceiling-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2cqw;
  padding: 1.3cqw 2.2cqw;
  clip-path: polygon(1% 9%, 99% 0, 96% 94%, 4% 100%);
}

.villain-grid-v6 .ceiling-panel .comic-sfx {
  position: relative;
  top: auto;
  left: auto;
  font-size: 4.6cqw;
}

.villain-grid-v6 .ceiling-panel p {
  font-size: 1.5cqw;
  text-align: right;
}

.villain-grid-v6 .ceiling-panel strong {
  color: var(--yellow);
}

.action-grid-v6 {
  grid-template-columns: 1fr;
  grid-template-rows: 1.12fr 1fr 0.4fr;
}

.action-grid-v6 .ambush-main,
.action-grid-v6 .fight-finish-panel,
.action-grid-v6 .action-verdict {
  grid-column: 1;
}

.fight-finish-panel {
  clip-path: polygon(0 3%, 97% 0, 100% 94%, 4% 100%);
  transform: rotate(-0.25deg);
}

.fight-finish-panel img {
  object-position: center center;
}

.fight-sfx-left {
  top: 1.6cqw;
  left: 1.8cqw;
  font-size: 4.6cqw;
}

.fight-sfx-right {
  right: 1.8cqw;
  bottom: 1.7cqw;
  font-size: 4.4cqw;
  color: var(--paper-light);
  transform: rotate(7deg);
}

.resolution-grid-v6 {
  grid-template-columns: 1fr;
  grid-template-rows: 1.15fr 1fr 0.35fr;
}

.resolution-grid-v6 .rescue-scene-panel,
.resolution-grid-v6 .dawn-exit-real,
.resolution-grid-v6 .case-closed-panel {
  grid-column: 1;
}

.rescue-scene-panel {
  clip-path: polygon(0 0, 98% 3%, 100% 95%, 4% 100%);
}

.rescue-scene-panel img {
  object-position: center center;
}

.rescue-question {
  top: 1.5cqw;
  right: 1.6cqw;
  max-width: 34%;
  font-size: 1.6cqw;
}

.rescue-answer {
  bottom: 1.7cqw;
  left: 42%;
  font-size: 1.9cqw;
}

.dawn-exit-real {
  clip-path: polygon(3% 0, 100% 3%, 96% 100%, 0 95%);
  transform: rotate(0.25deg);
}

.dawn-exit-real img {
  object-position: center center;
  filter: saturate(0.92) contrast(1.04);
  transform: none;
}

.resolution-grid-v6 .case-closed-panel {
  grid-template-columns: auto 1fr auto;
}

/* Two-page DEX spread */
.dex-spread-page {
  padding: 2.6cqw;
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.1) 0 0.7px, transparent 1px) 0 0 / 5px 5px,
    #fff8df;
}

.dex-spread-layout {
  display: grid;
  gap: 1.15cqw;
  height: calc(100% - 15.2cqw);
  padding: 0.45cqw;
}

.dex-left-layout {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.dex-right-layout {
  grid-template-rows: minmax(0, 1fr) auto auto auto;
}

.dex-spread-chart {
  min-height: 0;
  clip-path: polygon(1% 1%, 99% 0, 100% 97%, 2% 100%);
  transform: none;
}

.dex-spread-chart iframe,
.dex-spread-chart .chart-placeholder {
  position: absolute;
  inset: 0.58cqw;
  width: calc(100% - 1.16cqw);
  height: calc(100% - 1.16cqw);
  border: 0;
  clip-path: inherit;
}

.dex-left-page .market-ticker-panel {
  min-height: 10cqw;
  padding: 1.6cqw 2cqw;
}

.dex-left-page .market-ticker-panel b {
  font-size: 5.7cqw;
}

.dex-seam-note {
  padding: 1.2cqw 1.5cqw;
  border: 0.45cqw solid var(--ink);
  background: var(--yellow);
  box-shadow: 0.4cqw 0.45cqw 0 var(--ink);
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  transform: rotate(-0.6deg);
}

.dex-right-layout .verify-panel {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8cqw;
  padding: 1.2cqw;
}

.dex-right-layout .verify-panel div {
  min-height: 7.2cqw;
  padding: 0.8cqw;
}

.dex-right-layout .verify-panel b {
  font-size: 1.35cqw;
}

.dex-contract-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1cqw;
  padding: 1.25cqw 1.5cqw;
  clip-path: polygon(1% 4%, 100% 0, 97% 100%, 0 94%);
}

.dex-contract-panel > span {
  font-size: 1.25cqw;
}

.dex-contract-panel code {
  font-size: 1.35cqw;
}

.dex-contract-panel .copy-contract {
  min-height: 6.2cqw;
  font-size: 1.45cqw;
}

.dex-right-layout .dex-button {
  min-height: 8.2cqw;
  padding: 1.3cqw;
  font-size: 2.25cqw;
}

/* Larger in-comic official actions */
.night-shift-grid-v6 {
  grid-template-columns: 1fr;
  grid-template-rows: 0.72fr 0.9fr 0.62fr 0.66fr;
}

.night-shift-grid-v6 > * {
  grid-column: 1;
}

.night-watch-banner {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 1.8cqw;
  clip-path: polygon(1% 4%, 98% 0, 100% 93%, 4% 100%);
  background:
    radial-gradient(circle at center, transparent 0 28%, rgba(255, 212, 46, 0.2) 28.5% 30%, transparent 30.5%),
    var(--navy);
  box-shadow: inset 0 0 0 0.58cqw var(--ink);
  color: var(--paper-light);
  text-align: center;
}

.night-watch-banner span {
  color: var(--yellow);
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.night-watch-banner h3 {
  margin: 0.4cqw 0;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 5.4cqw;
  font-weight: 400;
  line-height: 0.85;
  text-shadow: 0.5cqw 0.55cqw 0 var(--red);
}

.night-watch-banner p {
  margin: 0;
  font-size: 1.4cqw;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.night-shift-grid-v6 .contract-panel {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: stretch;
  gap: 1.25cqw;
  padding: 1.7cqw 2cqw;
}

.night-shift-grid-v6 .contract-panel > strong {
  font-size: 6.2cqw;
}

.night-shift-grid-v6 .contract-panel code {
  min-height: 5.8cqw;
  padding: 1.1cqw;
  font-size: 1.55cqw;
}

.night-shift-grid-v6 .copy-contract {
  min-height: 6.5cqw;
  padding: 1cqw 1.5cqw;
  font-size: 1.55cqw;
}

.night-shift-grid-v6 .signal-panel {
  min-height: 0;
}

.night-shift-grid-v6 .shift-links-panel {
  grid-column: 1;
  padding: 1.35cqw;
}

.night-shift-grid-v6 .panel-link {
  min-height: 9.4cqw;
  padding: 1.1cqw;
  font-size: 1.8cqw;
}

.night-shift-grid-v6 .panel-link span {
  width: 5.6cqw;
  font-size: 1.8cqw;
}

/* Inside-back watch list */
.watch-list-page {
  padding: 2.6cqw;
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.12) 0 0.8px, transparent 1.2px) 0 0 / 6px 6px,
    #fff8df;
}

.watch-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.8fr 0.8fr 1.35fr;
  gap: 1.25cqw;
  height: calc(100% - 15.2cqw);
  padding: 0.45cqw;
}

.watch-target,
.watch-code {
  position: relative;
  display: grid;
  align-content: center;
  padding: 2cqw;
  overflow: hidden;
  border: 0;
  box-shadow: inset 0 0 0 0.6cqw var(--ink), 0.35cqw 0.4cqw 0 var(--ink);
}

.watch-target > span {
  position: absolute;
  top: 1cqw;
  right: 1.3cqw;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.2cqw;
}

.watch-target b {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.6cqw;
  font-weight: 400;
  line-height: 0.86;
  -webkit-text-stroke: 0.28cqw var(--ink);
  paint-order: stroke fill;
}

.watch-target p {
  margin: 1.2cqw 0 0;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.target-dock {
  background: var(--yellow);
  clip-path: polygon(0 0, 97% 4%, 100% 96%, 5% 100%);
  transform: rotate(-0.7deg);
}

.target-night {
  background: var(--red);
  color: var(--paper-light);
  clip-path: polygon(4% 2%, 100% 0, 95% 100%, 0 94%);
  transform: rotate(0.8deg);
}

.target-street {
  grid-column: 1 / 3;
  background: var(--blue);
  clip-path: polygon(1% 5%, 99% 0, 96% 95%, 4% 100%);
}

.watch-code {
  grid-column: 1 / 3;
  background: var(--ink);
  color: var(--paper-light);
  clip-path: polygon(3% 0, 100% 4%, 96% 100%, 0 94%);
  text-align: center;
}

.watch-code > span {
  color: var(--yellow);
  font-size: 1.3cqw;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.watch-code h3 {
  margin: 1cqw 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 4.5cqw;
  font-weight: 400;
  line-height: 0.88;
}

.watch-code p {
  margin: 0;
  color: var(--yellow);
  font-size: 1.25cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Lore dossier below the reader */
.lore-section {
  position: relative;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 64px) clamp(40px, 6vw, 76px);
  border-top: 8px solid var(--ink);
  background:
    linear-gradient(125deg, transparent 0 73%, rgba(211, 29, 37, 0.12) 73.2% 100%),
    radial-gradient(circle, rgba(9, 11, 15, 0.1) 0 1px, transparent 1.5px) 0 0 / 8px 8px,
    var(--paper-light);
}

.lore-heading {
  max-width: 930px;
  margin: 0 auto clamp(25px, 4vw, 46px);
  text-align: center;
}

.lore-heading > span {
  display: inline-block;
  padding: 5px 10px;
  border: 3px solid var(--ink);
  background: var(--red);
  color: var(--paper-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transform: rotate(-1deg);
}

.lore-heading h2 {
  margin: 15px 0 8px;
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(4.4rem, 10vw, 8.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.75;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 7px 8px 0 var(--yellow), 12px 13px 0 var(--red);
}

.lore-heading p {
  margin: 22px 0 0;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 32px);
  max-width: 1080px;
  margin: 0 auto;
}

.lore-panel {
  position: relative;
  min-height: 300px;
  padding: clamp(25px, 3.5vw, 42px);
  border: 6px solid var(--ink);
  box-shadow: 9px 10px 0 var(--ink);
}

.lore-file {
  display: inline-block;
  padding: 4px 8px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.lore-panel h3 {
  margin: 18px 0 11px;
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.84;
}

.lore-panel p {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
}

.lore-panel-winter {
  background: var(--yellow);
  transform: rotate(-0.7deg);
}

.lore-panel-winter blockquote {
  width: fit-content;
  margin: 24px 0 0 auto;
  padding: 10px 14px;
  border: 4px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 5px 5px 0 var(--red);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  transform: rotate(2deg);
}

.lore-panel-rain {
  background:
    repeating-linear-gradient(105deg, transparent 0 15px, rgba(83, 161, 202, 0.28) 16px 19px, transparent 20px 34px),
    var(--navy);
  color: var(--paper-light);
  transform: rotate(0.6deg);
}

.lore-sfx {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--blue);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  transform: rotate(-5deg);
}

.lore-panel-war {
  background: var(--red);
  color: var(--paper-light);
  transform: rotate(0.5deg);
}

.lore-panel-war ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lore-panel-war li {
  padding: 7px 10px;
  border: 3px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  transform: rotate(-1deg);
}

.lore-panel-code {
  background: var(--blue);
  transform: rotate(-0.4deg);
}

.lore-panel-code strong {
  display: block;
  margin-top: 24px;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.82;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--red);
}

.lore-footer-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 1080px;
  margin: clamp(30px, 5vw, 54px) auto 0;
  padding: 12px 15px;
  border: 5px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lore-footer-strip b {
  padding: 5px 10px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  text-align: center;
}

.lore-footer-strip span:last-child {
  text-align: right;
}

@media (max-width: 1500px) {
  .gutter-decor {
    display: none;
  }
}

@media (max-width: 760px) {
  .reader-shell {
    height: 100svh;
    min-height: 580px;
    padding: 8px 4px 10px;
  }

  .reader-caption {
    align-items: center;
    margin-bottom: 6px;
  }

  .reader-caption h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.7rem);
  }

  .reader-tools {
    gap: 5px;
  }

  .sound-toggle,
  .magnifier-toggle {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 0.55rem;
  }

  .book-frame {
    width: min(590px, calc(100vw - 18px), calc(67svh - 105px));
  }

  .comic-book,
  .comic-book.stf__parent {
    max-width: 590px !important;
  }

  .reader-controls {
    width: min(590px, 100%);
    margin-top: 7px;
  }

  .reader-hint {
    display: none;
  }

  .lore-grid {
    grid-template-columns: 1fr;
  }

  .lore-heading h2 {
    font-size: clamp(3.6rem, 18vw, 6rem);
    -webkit-text-stroke-width: 2px;
    text-shadow: 5px 6px 0 var(--yellow), 8px 9px 0 var(--red);
  }

  .lore-panel {
    min-height: 0;
  }

  .lore-footer-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lore-footer-strip span:last-child {
    text-align: center;
  }
}

@media (any-hover: none) {
  .magnifier-toggle,
  .magnifier-lens {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .magnifier-lens {
    transition: none;
  }
}

/* Single-page comic reader and external case desk — v7 */
.issue-header .token-centerline {
  gap: 0;
}

.reader-shell {
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.reader-caption {
  position: absolute;
  z-index: 120;
  top: clamp(10px, 1.6svh, 18px);
  right: clamp(12px, 2vw, 24px);
  left: clamp(12px, 2vw, 24px);
  align-items: start;
  width: auto;
  margin: 0;
  pointer-events: none;
}

.reader-caption h2 {
  display: none;
}

.reader-caption .caption-tag,
.reader-tools {
  pointer-events: auto;
}

.book-frame {
  width: min(700px, calc(100vw - 330px), 59.3svh);
  max-width: 700px;
  margin: 0 auto;
}

.comic-book,
.comic-book.stf__parent {
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 700px !important;
}

.reader-controls {
  position: absolute;
  z-index: 130;
  inset: 0;
  display: block;
  width: auto;
  margin: 0;
  pointer-events: none;
}

.reader-controls > button {
  position: absolute;
  top: 50%;
  width: clamp(118px, 10vw, 154px);
  min-height: 54px;
  margin-top: -27px;
  pointer-events: auto;
}

.reader-controls > button:first-child {
  left: clamp(12px, 2.2vw, 30px);
}

.reader-controls > button:last-child {
  right: clamp(12px, 2.2vw, 30px);
}

.page-status {
  position: absolute;
  bottom: clamp(10px, 1.8svh, 20px);
  left: clamp(12px, 2.2vw, 30px);
  width: clamp(140px, 12vw, 182px);
  padding: 9px 10px 8px;
  border: 3px solid var(--ink);
  background: rgba(20, 35, 50, 0.94);
  box-shadow: 4px 4px 0 var(--ink);
}

.page-status > strong {
  overflow: hidden;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-dots {
  gap: 4px;
  margin-top: 5px;
}

.progress-dots i {
  width: 13px;
  height: 5px;
}

.reader-hint {
  display: none;
}

/* Larger lettering now that every flip shows one portrait page. */
.book-page .page-banner div > span {
  font-size: 1.75cqw;
}

.book-page .page-banner h2 {
  font-size: 7.8cqw;
}

.book-page .panel-caption {
  max-width: 82%;
  padding: 0.9cqw 1.2cqw;
  font-size: 1.9cqw;
  line-height: 1.14;
}

.book-page .speech-bubble,
.book-page .thought-bubble {
  padding: 1.35cqw 1.7cqw;
  font-size: 2.45cqw;
  line-height: 1;
}

.book-page .bubble-top,
.book-page .boss-bubble,
.book-page .alert-bubble,
.book-page .hero-bubble,
.book-page .rescue-question {
  font-size: 2.15cqw;
}

.book-page .hero-verdict-real .thought-bubble {
  font-size: 2.2cqw;
}

.book-page .rescue-answer {
  font-size: 2.55cqw;
}

.book-page .narration-panel span,
.book-page .action-verdict span {
  font-size: 1.55cqw;
}

.book-page .narration-panel p {
  font-size: 3.15cqw;
}

.book-page .villain-grid-v6 .ceiling-panel p {
  font-size: 1.8cqw;
  line-height: 1.24;
}

.book-page .action-verdict p {
  font-size: 1.72cqw;
}

.book-page .action-verdict b {
  font-size: 3.05cqw;
}

.book-page .case-closed-panel span,
.book-page .case-closed-panel p {
  font-size: 1.55cqw;
}

.book-page .final-narration {
  font-size: 3cqw;
}

.back-cover-teaser {
  max-width: 38cqw;
  margin: 3.4cqw 0 0;
  padding: 1.3cqw 1.6cqw;
  border: 0.55cqw solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0.7cqw 0.75cqw 0 var(--ink);
  font-size: 2cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.22;
  transform: rotate(-1deg);
}

.back-cover-burst {
  display: grid;
  place-items: center;
  width: 23cqw;
  aspect-ratio: 1;
  margin: 4cqw 0 0 7cqw;
  padding: 3cqw;
  background: var(--yellow);
  clip-path: polygon(50% 0, 59% 27%, 79% 7%, 75% 35%, 100% 29%, 81% 51%, 100% 69%, 74% 66%, 82% 95%, 59% 74%, 48% 100%, 40% 73%, 13% 92%, 24% 62%, 0 57%, 25% 43%, 5% 18%, 35% 29%);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: 3.2cqw;
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  filter: drop-shadow(0.8cqw 0.9cqw 0 var(--ink));
  transform: rotate(7deg);
}

/* Token actions and both DEX views live outside the comic pages. */
.case-desk {
  position: relative;
  padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 66px) clamp(50px, 7vw, 92px);
  overflow: hidden;
  border-top: 8px solid var(--ink);
  background:
    linear-gradient(132deg, transparent 0 67%, rgba(211, 29, 37, 0.22) 67.2% 100%),
    radial-gradient(circle, rgba(255, 212, 46, 0.14) 0 1.3px, transparent 1.8px) 0 0 / 11px 11px,
    var(--navy);
  color: var(--paper-light);
}

.case-desk::before,
.case-desk::after {
  position: absolute;
  z-index: 0;
  width: clamp(120px, 18vw, 240px);
  aspect-ratio: 1;
  background: var(--yellow);
  content: "";
  clip-path: polygon(50% 0, 58% 30%, 80% 8%, 75% 36%, 100% 32%, 80% 52%, 100% 68%, 72% 66%, 80% 96%, 58% 75%, 48% 100%, 40% 74%, 14% 92%, 24% 63%, 0 58%, 24% 44%, 4% 20%, 34% 31%);
  opacity: 0.09;
  pointer-events: none;
}

.case-desk::before {
  top: 4%;
  left: -5%;
}

.case-desk::after {
  right: -4%;
  bottom: 3%;
  background: var(--red);
  transform: rotate(27deg);
}

.case-desk > * {
  position: relative;
  z-index: 1;
}

.case-desk-heading {
  max-width: 980px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.case-desk-heading > span {
  display: inline-block;
  padding: 6px 11px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  transform: rotate(-1deg);
}

.case-desk-heading h2 {
  margin: 18px 0 10px;
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(4.8rem, 11vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.75;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 7px 8px 0 var(--red), 12px 13px 0 var(--ink);
}

.case-desk-heading p {
  margin: 23px 0 0;
  color: var(--yellow);
  font-size: clamp(0.78rem, 1.35vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-desk-identity {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
}

.case-desk-token {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 18px;
  border: 5px solid var(--ink);
  background: var(--red);
  box-shadow: 8px 9px 0 var(--ink);
  text-align: center;
  transform: rotate(-0.7deg);
}

.case-desk-token span,
.case-desk-token small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.case-desk-token strong {
  color: var(--paper-light);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 0.82;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.case-desk-contract.copy-contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  min-height: 132px;
  padding: 0;
  overflow: hidden;
  border: 5px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 8px 9px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: normal;
  transform: rotate(0.35deg);
}

.case-desk-contract > span {
  grid-column: 1 / 3;
  align-self: start;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: left;
}

.case-desk-contract code {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 18px clamp(14px, 2.5vw, 28px);
  overflow: hidden;
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.9rem, 1.65vw, 1.25rem);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-desk-contract b {
  display: grid;
  place-items: center;
  min-width: clamp(138px, 16vw, 190px);
  padding: 16px;
  background: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.case-desk-contract:hover b {
  background: var(--red);
  color: var(--paper-light);
}

.case-desk-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 1080px;
  margin: clamp(24px, 3.5vw, 38px) auto 0;
}

.case-desk-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 12px 16px;
  border: 5px solid var(--ink);
  background: var(--yellow);
  box-shadow: 7px 8px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: transform 130ms ease, box-shadow 130ms ease;
}

.case-desk-links a:nth-child(2) {
  background: var(--blue);
}

.case-desk-links a:nth-child(3) {
  background: var(--red);
  color: var(--paper-light);
}

.case-desk-links a:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(5px, 5px);
}

.case-desk-links span {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.35rem;
}

.case-desk-links b {
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.case-desk-links i {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.7rem;
  font-style: normal;
}

.case-desk-dex-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 30px);
  max-width: 1120px;
  margin: clamp(42px, 6vw, 72px) auto 0;
}

.case-desk-dex-card {
  min-width: 0;
  padding: 10px;
  border: 6px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 9px 10px 0 var(--ink);
}

.case-desk-dex-card:first-child {
  transform: rotate(-0.35deg);
}

.case-desk-dex-card:last-child {
  transform: rotate(0.35deg);
}

.case-desk-dex-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 8px 13px;
  border: 4px solid var(--ink);
  background: var(--red);
  color: var(--paper-light);
}

.case-desk-dex-card header span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.case-desk-dex-card header b {
  color: var(--yellow);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.case-desk-chart {
  position: relative;
  min-height: clamp(390px, 41vw, 520px);
  margin-top: 10px;
  overflow: hidden;
  border: 4px solid var(--ink);
  background: #0d131b;
}

.case-desk-chart > iframe,
.case-desk-chart > .chart-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-desk .chart-placeholder {
  background:
    linear-gradient(rgba(83, 161, 202, 0.18) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(83, 161, 202, 0.18) 1px, transparent 1px) 0 0 / 38px 38px,
    #0d131b;
}

.case-desk .chart-grid span {
  border-width: 2px;
}

.case-desk .chart-grid span::before {
  top: -14px;
  bottom: -14px;
  width: 2px;
}

.case-desk .chart-message {
  width: min(390px, 76%);
  padding: clamp(20px, 3vw, 34px);
  border: 5px solid var(--paper-light);
  box-shadow: 9px 10px 0 var(--red);
}

.case-desk .chart-message strong {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.case-desk .chart-message p {
  margin-top: 12px;
  font-size: clamp(0.78rem, 1.3vw, 1rem);
  line-height: 1.45;
}

.case-desk-dex-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  min-height: 86px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 13px 24px;
  border: 6px solid var(--ink);
  background: var(--yellow);
  box-shadow: 9px 10px 0 var(--ink);
  color: var(--ink);
  font-family: "Bangers", Impact, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 0.92;
  text-align: center;
  text-decoration: none;
  transform: rotate(-0.5deg);
}

.case-desk-dex-button:hover {
  background: var(--red);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--paper-light);
  transform: translate(6px, 6px) rotate(-0.5deg);
}

@media (max-width: 920px) {
  .book-frame {
    width: min(700px, calc(100vw - 270px), 59.3svh);
  }

  .reader-controls > button {
    width: 112px;
    padding: 7px 8px;
    font-size: 0.66rem;
  }

  .page-status {
    width: 130px;
  }

  .case-desk-identity,
  .case-desk-dex-single {
    grid-template-columns: 1fr;
  }

  .case-desk-token {
    min-height: 112px;
  }

  .case-desk-links {
    grid-template-columns: 1fr;
  }

  .case-desk-links a {
    min-height: 76px;
  }

  .case-desk-chart {
    min-height: clamp(360px, 72vw, 560px);
  }
}

@media (max-width: 760px) {
  .reader-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: center;
    justify-items: center;
    height: 100svh;
    min-height: 0;
    padding: 8px 4px 10px;
  }

  .reader-caption {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: flex;
    align-items: center;
    width: min(700px, 100%);
    margin: 0 0 7px;
    padding: 0 7px;
  }

  .reader-tools {
    flex-wrap: nowrap;
  }

  .sound-toggle,
  .magnifier-toggle {
    min-height: 32px;
    padding: 4px 6px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 0.52rem;
  }

  .book-frame {
    width: min(700px, calc(100vw - 14px), calc((100svh - 142px) / 1.5));
  }

  .comic-book,
  .comic-book.stf__parent {
    max-width: 700px !important;
  }

  .reader-controls {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: min(700px, 100%);
    margin: 7px 0 0;
    padding: 0 7px;
  }

  .reader-controls > button {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-row: 2;
    width: auto;
    min-height: 37px;
    margin: 0;
    padding: 5px 7px;
    font-size: 0.61rem;
  }

  .page-status {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1 / 3;
    width: auto;
    padding: 3px 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-status > span {
    font-size: 0.57rem;
  }

  .page-status > strong {
    font-size: 1rem;
  }

  .progress-dots {
    margin-top: 3px;
  }

  .case-desk {
    padding-right: 13px;
    padding-left: 13px;
  }

  .case-desk-heading h2 {
    font-size: clamp(4rem, 19vw, 6.2rem);
    -webkit-text-stroke-width: 2px;
    text-shadow: 5px 6px 0 var(--red), 8px 9px 0 var(--ink);
  }

  .case-desk-contract.copy-contract {
    grid-template-columns: 1fr;
  }

  .case-desk-contract > span {
    grid-column: 1;
  }

  .case-desk-contract code {
    min-height: 62px;
  }

  .case-desk-contract b {
    min-width: 0;
    min-height: 58px;
  }

  .case-desk-dex-card {
    padding: 6px;
    border-width: 4px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .case-desk-dex-card header {
    display: grid;
    min-height: 0;
  }

  .case-desk-chart {
    min-height: 380px;
  }

  .case-desk-dex-button {
    min-height: 72px;
    border-width: 5px;
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}

@media (max-height: 650px) and (min-width: 921px) {
  .book-frame {
    width: min(700px, calc(100vw - 290px), 57.5svh);
  }

  .caption-tag,
  .page-status {
    display: none;
  }

  .reader-tools {
    margin-left: auto;
  }
}

/* Larger two-page desktop spread and back-cover corrections — v8 */
.issue-paper {
  width: min(1640px, 100%);
}

.book-frame {
  width: min(1440px, calc(100vw - 40px), 124svh);
  max-width: 1440px;
}

.comic-book,
.comic-book.stf__parent {
  max-width: 1440px !important;
}

.back-cover-page > img {
  right: 0;
  bottom: 0;
  width: 84%;
  height: 84%;
  object-fit: contain;
  object-position: right bottom;
}

.case-desk-token {
  overflow: hidden;
}

.case-desk-token strong {
  max-width: 100%;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: 0.02em;
  line-height: 0.88;
  white-space: nowrap;
}

@media (min-width: 761px) and (max-width: 920px) {
  .book-frame {
    width: min(1440px, calc(100vw - 40px), 124svh);
    max-width: 1440px;
  }

  .comic-book,
  .comic-book.stf__parent {
    max-width: 1440px !important;
  }
}

@media (max-width: 760px) {
  .book-frame {
    width: min(700px, calc(100vw - 14px), calc((100svh - 142px) / 1.5));
  }
}

@media (max-height: 650px) and (min-width: 921px) {
  .book-frame {
    width: min(1440px, calc(100vw - 40px), 121svh);
    max-width: 1440px;
  }

  .comic-book,
  .comic-book.stf__parent {
    max-width: 1440px !important;
  }
}

/* Stable per-page lettering, two new chapters, and one unified DEX — v9 */
.book-page {
  container-name: sheet;
  container-type: inline-size !important;
}

.comic-page {
  container-name: comicpage;
  container-type: inline-size;
  font-size: clamp(10px, 1.8cqw, 14px);
}

.book-page .page-banner {
  height: clamp(64px, 14cqw, 92px);
  margin-bottom: clamp(7px, 2cqw, 13px);
  padding-bottom: clamp(6px, 1.2cqw, 10px);
}

.book-page .page-banner div > span {
  font-size: clamp(8px, 1.75cqw, 12px);
  line-height: 1.1;
}

.book-page .page-banner h2 {
  font-size: clamp(26px, 7.8cqw, 49px);
  line-height: 0.82;
}

.book-page .page-banner > b {
  width: clamp(42px, 9cqw, 60px);
  font-size: clamp(22px, 4.2cqw, 32px);
}

.book-page .story-grid,
.book-page .extension-art-shell {
  height: calc(100% - clamp(76px, 15.2cqw, 103px));
}

.book-page .panel-caption {
  max-width: 80%;
  padding: clamp(4px, 0.9cqw, 7px) clamp(6px, 1.2cqw, 9px);
  border-width: clamp(2px, 0.42cqw, 4px);
  font-size: clamp(9px, 1.9cqw, 13px);
  line-height: 1.16;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.book-page .speech-bubble,
.book-page .thought-bubble {
  max-width: 46%;
  padding: clamp(6px, 1.35cqw, 10px) clamp(7px, 1.7cqw, 12px);
  border-width: clamp(2px, 0.43cqw, 4px);
  font-size: clamp(11px, 2.45cqw, 16px);
  line-height: 1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.book-page .bubble-top,
.book-page .boss-bubble,
.book-page .alert-bubble,
.book-page .hero-bubble,
.book-page .rescue-question {
  font-size: clamp(10px, 2.15cqw, 15px);
}

.book-page .hero-verdict-real .thought-bubble {
  font-size: clamp(10px, 2.2cqw, 15px);
}

.book-page .rescue-answer {
  font-size: clamp(11px, 2.55cqw, 17px);
}

.book-page .narration-panel span,
.book-page .action-verdict span {
  font-size: clamp(8px, 1.55cqw, 11px);
}

.book-page .narration-panel p {
  font-size: clamp(15px, 3.15cqw, 21px);
  line-height: 1.02;
}

.book-page .villain-grid-v6 .ceiling-panel p,
.book-page .action-verdict p {
  font-size: clamp(9px, 1.8cqw, 12px);
}

.book-page .action-verdict b {
  font-size: clamp(15px, 3.05cqw, 21px);
}

.book-page .case-closed-panel span,
.book-page .case-closed-panel p {
  font-size: clamp(8px, 1.55cqw, 11px);
}

.book-page .final-narration {
  font-size: clamp(15px, 3cqw, 21px);
}

.book-page .comic-sfx {
  font-size: clamp(26px, 6cqw, 44px);
  -webkit-text-stroke-width: clamp(2px, 0.5cqw, 4px);
}

.book-page .sfx-small {
  font-size: clamp(19px, 3.8cqw, 30px);
}

.book-page .crash-sfx {
  font-size: clamp(30px, 7cqw, 52px);
}

.book-page .fight-sfx-left,
.book-page .fight-sfx-right {
  font-size: clamp(22px, 4.6cqw, 34px);
}

.extension-story-page {
  background:
    radial-gradient(circle, rgba(9, 11, 15, 0.08) 0 0.7px, transparent 1px) 0 0 / 5px 5px,
    #fff8df;
}

.extension-art-shell {
  position: relative;
  overflow: hidden;
  border: clamp(3px, 0.65cqw, 5px) solid var(--ink);
  background: var(--ink);
  box-shadow: clamp(3px, 0.6cqw, 5px) clamp(4px, 0.7cqw, 6px) 0 rgba(9, 11, 15, 0.9);
}

.extension-art-shell > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.extension-art-shell::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 88%, rgba(9, 11, 15, 0.16));
  content: "";
  pointer-events: none;
}

.extension-art-shell .extension-caption,
.extension-art-shell .extension-bubble,
.extension-art-shell .watcher-switch-sfx {
  z-index: 5;
}

.extension-caption-top {
  top: 1.7%;
  left: 1.8%;
  max-width: 54% !important;
}

.extension-bubble-middle {
  top: 43%;
  right: 3%;
  max-width: 35% !important;
}

.extension-caption-bottom {
  top: 67%;
  left: 1.8%;
  max-width: 48% !important;
}

.extension-bubble-final {
  right: 3%;
  bottom: 3%;
  max-width: 30% !important;
}

.watcher-order {
  top: 21%;
  right: 2.5%;
  max-width: 31% !important;
}

.watcher-switch-sfx {
  top: 49%;
  right: 4%;
  font-size: clamp(26px, 5cqw, 39px) !important;
  transform: rotate(7deg);
}

.watcher-cliffhanger {
  top: 67%;
  left: 2%;
  max-width: 47% !important;
}

.watcher-found {
  bottom: 4%;
  left: 7%;
  max-width: 28% !important;
}

.case-desk-dex-single .case-desk-dex-card {
  transform: rotate(-0.16deg);
}

.case-desk-dex-single .case-desk-chart {
  min-height: clamp(500px, 55vw, 690px);
}

@media (max-width: 760px) {
  .book-page .page-banner {
    height: clamp(58px, 14cqw, 76px);
  }

  .case-desk-dex-single .case-desk-chart {
    min-height: 430px;
  }
}

/* Bubble coordinate reset and safe text zones — v10 */
.extension-art-shell .thought-bubble {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: fit-content;
  height: auto;
}

.extension-art-shell .speech-bubble::after {
  display: none;
}

.extension-art-shell .extension-bubble-final {
  top: auto;
  right: 4%;
  bottom: 4%;
  left: auto;
}

.extension-art-shell .watcher-found {
  top: auto;
  right: auto;
  bottom: 5%;
  left: 7%;
}

.extension-art-shell .watcher-order {
  top: 20%;
  right: 4%;
  bottom: auto;
  left: auto;
}

.extension-art-shell .extension-bubble-middle {
  top: 43%;
  right: 4%;
  bottom: auto;
  left: auto;
}

.action-grid-v6 {
  grid-template-rows: 1.08fr 0.96fr 0.5fr;
}

.book-page .ambush-main .hero-bubble {
  top: auto;
  right: 6%;
  bottom: 8%;
  left: auto;
  max-width: 43%;
  padding: clamp(6px, 1.15cqw, 9px) clamp(8px, 1.45cqw, 11px);
  font-size: clamp(10px, 1.95cqw, 14px);
  line-height: 1.04;
}

.book-page .ambush-main .hero-bubble::after {
  display: none;
}

.book-page .fight-sfx-right {
  top: auto;
  right: 7%;
  bottom: 8%;
  left: auto;
  font-size: clamp(19px, 4cqw, 29px);
}

.book-page .fight-sfx-left {
  top: 7%;
  right: auto;
  bottom: auto;
  left: 6%;
  font-size: clamp(19px, 4cqw, 29px);
}

.book-page .action-verdict {
  grid-template-columns: 0.72fr minmax(0, 1.08fr) minmax(0, 1.2fr);
  gap: clamp(4px, 0.8cqw, 7px);
  padding: clamp(5px, 1cqw, 8px) 6%;
  overflow: hidden;
}

.book-page .action-verdict span,
.book-page .action-verdict p,
.book-page .action-verdict b {
  min-width: 0;
  margin: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.book-page .action-verdict span {
  padding: clamp(2px, 0.45cqw, 4px) clamp(3px, 0.65cqw, 5px);
  font-size: clamp(7px, 1.25cqw, 9px);
  text-align: center;
}

.book-page .action-verdict p {
  font-size: clamp(8px, 1.55cqw, 11px);
}

.book-page .action-verdict b {
  font-size: clamp(11px, 2.2cqw, 16px);
  text-align: right;
}

.book-page .extension-caption-top,
.book-page .watcher-cliffhanger,
.book-page .extension-caption-bottom {
  right: auto;
  bottom: auto;
  left: 3%;
}

.book-page .extension-caption-top {
  top: 3%;
  max-width: 52% !important;
}

.book-page .extension-caption-bottom,
.book-page .watcher-cliffhanger {
  top: 68%;
  max-width: 45% !important;
}
