@font-face {
  font-family: "Permanent Marker";
  src: url("fonts/permanent-marker.woff2") format("woff2"),
       url("fonts/permanent-marker.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand";
  src: url("fonts/patrick-hand.woff2") format("woff2"),
       url("fonts/patrick-hand.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #181415;
  --paper: #fff;
  --desk: #e2dcd0;
  --muted: #444;
  --peach: #fac8a6;
  --pink: #f3adc6;
  --lilac: #ddd0fb;
  --vi-purple: #7a3cff;
  --line: 3px;
  --top: 56px;
  --ctrl: 62px;
  --hand: "Patrick Hand", "Comic Sans MS", cursive, system-ui, sans-serif;
  --marker: "Permanent Marker", cursive;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 1.2rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100svh;
}
img { display: block; max-width: 100%; height: auto; }
img[hidden], video[hidden] { display: none !important; }
a { color: var(--ink); }
button, .btn { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 120; background: #fff; padding: .4rem .7rem; }

/* ---------- splash ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #fff url("img/paper.png");
  background-size: 420px 420px;
  transform-origin: left center;
  perspective: 1600px;
}
.splash.is-turning {
  animation: page-turn .72s ease-in forwards;
  pointer-events: none;
}
.splash.is-done { display: none; }
@keyframes page-turn {
  0%   { transform: rotateY(0deg); filter: brightness(1); }
  55%  { filter: brightness(.92); }
  100% { transform: rotateY(-92deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .splash.is-turning { animation: none; }
  html { scroll-behavior: auto; }
}

.splash-paper {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 12px 16px 0;
  overflow: hidden;
}
.splash-video,
.splash-fallback {
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: min(100%, 1280px);
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}
.splash-video[hidden],
.splash-fallback[hidden] {
  display: none !important;
}
.splash-actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}
.btn-marker {
  font-family: var(--marker);
  font-size: clamp(1.05rem, 3.5vw, 1.45rem);
  letter-spacing: .02em;
  padding: .28em .85em .34em;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px 8px 18px 9px / 9px 16px 8px 14px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  color: var(--ink);
  transform: rotate(-1.5deg);
}
.btn-marker:nth-child(2) { transform: rotate(1.4deg); }
.btn-marker:hover,
.btn-marker:focus-visible {
  animation: boil-frame .45s steps(2, end) infinite;
}

/* ---------- chrome ---------- */
.topbar {
  flex: 0 0 var(--top);
  height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px 0 16px;
  background: #fff url("img/paper.png");
  background-size: 420px 420px;
  border-bottom: 3px solid var(--ink);
  z-index: 5;
}
.brand {
  font-family: var(--marker);
  font-size: 1.55rem;
  text-decoration: none;
  letter-spacing: .01em;
  transform: rotate(-2deg);
  flex: 0 0 auto;
}
.links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.cuts-jump {
  font-size: 1rem;
  margin-left: 4px;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.controls {
  flex: 0 0 var(--ctrl);
  height: var(--ctrl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 12px calc(env(safe-area-inset-bottom, 0px) * .4);
  background: #fff url("img/paper.png");
  background-size: 420px 420px;
  border-top: 3px solid var(--ink);
  z-index: 5;
}
.pager {
  margin: 0;
  min-width: 7ch;
  text-align: center;
  font-size: 1.15rem;
}
.btn-turn[disabled] {
  opacity: .35;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: .15em .75em .22em;
  border: 2px solid var(--ink);
  border-radius: 9px 8px 12px 7px / 8px 11px 9px 7px;
  background: #fff;
  box-shadow: 3px 4px 0 var(--ink);
  color: inherit;
  font: 1.05rem / 1 var(--hand);
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transform: rotate(-2deg);
}
.btn:nth-child(2), .links .btn:nth-child(2) { transform: rotate(1.6deg); }
.btn:nth-child(3), .links .btn:nth-child(3) { transform: rotate(-1.2deg); }
.btn:hover, .btn:focus-visible {
  box-shadow: 1px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}
.btn:focus-visible { outline: 3px solid #7956b2; outline-offset: 3px; }
.btn-dex:hover, .btn-dex:focus-visible { background: var(--peach); }
.btn-pump:hover, .btn-pump:focus-visible { background: var(--pink); }
.btn-x:hover, .btn-x:focus-visible { background: var(--lilac); }
.btn-sm { min-height: 34px; padding: .1em .6em .16em; font-size: .95rem; }
.btn-ghost { box-shadow: 2px 2px 0 var(--ink); }
.btn-turn {
  font-family: var(--marker);
  min-width: 5.5rem;
  min-height: 42px;
}

/* doodle frames */
.doodle-frame {
  position: relative;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 22px 10px 26px 12px / 12px 24px 10px 22px;
  box-shadow: 3px 3px 0 var(--ink);
}
.doodle-frame:hover,
.doodle-frame:focus-within {
  animation: boil-frame .45s steps(2, end) infinite;
}
@keyframes boil-frame {
  0%   { border-radius: 22px 10px 26px 12px / 12px 24px 10px 22px; transform: rotate(-0.25deg); }
  50%  { border-radius: 10px 24px 12px 22px / 22px 10px 24px 12px; transform: rotate(0.35deg); }
  100% { border-radius: 26px 12px 10px 24px / 10px 22px 12px 26px; transform: rotate(-0.15deg); }
}
@media (prefers-reduced-motion: reduce) {
  .doodle-frame:hover, .doodle-frame:focus-within, .btn-marker:hover { animation: none; }
}

/* ---------- book ---------- */
.book {
  flex: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  scrollbar-width: none;
}
.book::-webkit-scrollbar { display: none; }

.page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  padding: 8px 10px 6px;
  background: var(--desk);
  overflow: hidden;
}

.sheet {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  background-image: url("img/paper.png");
  background-size: 400px 400px;
  border: 2px solid var(--ink);
  border-radius: 1px 7px 5px 1px;
  box-shadow:
    inset 18px 0 24px -18px rgba(0,0,0,.2),
    8px 0 0 -2px #f4f1ea,
    11px 0 0 -2px #cfc8b8,
    8px 8px 18px rgba(0,0,0,.16);
  overflow: hidden;
}

.binding {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.06), rgba(0,0,0,0) 70%);
}
.staple {
  position: absolute;
  left: 7px;
  width: 14px;
  height: 26px;
  border: 2.5px solid var(--ink);
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(#ececec, #c8c8c8);
  transform: rotate(-6deg);
}
.staple:first-child { top: 18%; }
.staple:last-child { top: auto; bottom: 18%; transform: rotate(5deg); }

.pgno {
  position: absolute;
  right: 16px;
  bottom: 8px;
  margin: 0;
  font-size: .95rem;
  color: #333;
  transform: rotate(4deg);
  z-index: 2;
}

/* ---------- story spreads ---------- */
.spread {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(200px, 0.4fr) minmax(0, 1fr);
  gap: 0.6rem 1.4rem;
  align-items: start;
  padding: 1.1rem 1.6rem 1.6rem 2.4rem;
  min-height: 0;
}
.story {
  min-width: 0;
  padding-top: .55rem;
}
.eyebrow {
  margin: 0 0 .15rem;
  font-size: .95rem;
  color: var(--muted);
  transform: rotate(-2deg);
}
.story h2, .cuts h2, .cover-copy .tagline {
  font-family: var(--marker);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0 0 .55rem;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  text-wrap: balance;
  transform: rotate(-1deg);
}
.story p, .cuts .lede {
  margin: 0 0 .45rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
blockquote {
  margin: .7rem 0 0;
  padding: 0;
  max-width: 26ch;
  text-wrap: balance;
  transform: rotate(-2deg);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}
blockquote::after {
  content: "";
  display: block;
  width: 55%;
  height: .16em;
  margin-top: .3em;
  border-radius: 77% 25% 55% 31%;
  background: var(--peach);
}
.sketch-underline {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}
.launch-date { white-space: nowrap; }

.art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 6px;
  overflow: hidden;
  background: #fff;
}
.art img {
  width: 100%;
  height: 100%;
  max-height: min(100%, 72svh);
  object-fit: contain;
}

/* cover */
.sheet--cover {
  padding: 1rem 1.4rem 1.8rem 2.2rem;
}
.cover-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.cover-wide {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cover-mobile { display: none; }
.cover-copy {
  flex: 0 0 auto;
  text-align: center;
  padding-top: .2rem;
}
.cover-copy .tagline {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin: 0 0 .35rem;
}
.cover-copy blockquote {
  margin: 0 auto;
  max-width: 36ch;
}

/* countdown + CA */
.count-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: .8rem 0 .3rem;
}
.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .4rem .2rem .3rem;
  background: #fff;
}
.count-box b {
  font-family: var(--marker);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
}
.count-box span { font-size: .85rem; }
.count-done { font-family: var(--marker); font-size: 1.3rem; }

.ca-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  margin: .8rem 0 .7rem;
  overflow: visible;
  background: #fff;
}
.ca-label {
  font-family: var(--marker);
  padding: .35rem .55rem;
  border-right: 2px solid var(--ink);
}
.ca-box code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(.62rem, 1.15vw, .78rem);
  letter-spacing: -0.02em;
  padding: .4rem .5rem;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.25;
}
.ca-box .btn { border: 0; border-left: 2px solid var(--ink); border-radius: 0; box-shadow: none; height: 100%; transform: none; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

/* cut-outs (this page scrolls) */
.page--cuts .sheet { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cuts {
  padding: 1rem 1.4rem 2.4rem 2.3rem;
}
.cuts h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cuts h3 {
  font-family: var(--marker);
  font-weight: 400;
  margin: 1.1rem 0 .5rem;
  font-size: 1.45rem;
  transform: rotate(-1deg);
}
.cut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.cut-grid--gifs { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cut-grid--wide { grid-template-columns: 1fr; }
.cut { background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.cut img, .gif-art img { width: 100%; height: auto; }
.gif-art { position: relative; background: #fff; }
.gif-art .gif-anim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gif-still.is-swapped { opacity: 0; }
.cut-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: .45rem .55rem .6rem;
  border-top: 2px solid var(--ink);
}
.cut-actions p { margin: 0 auto 0 0; font-size: 1rem; }
.dim { color: #666; font-size: .85em; }
.disclaimer {
  margin: 1.4rem 0 0;
  max-width: 62ch;
  font-size: 1rem;
  color: #333;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--ctrl) + 2.2rem + 12px);
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  border: 2px solid var(--ink);
  padding: .35rem .8rem;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  box-shadow: 3px 3px 0 var(--ink);
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); transition: opacity .2s, transform .2s; }

body.has-splash .book,
body.has-splash .topbar,
body.has-splash .ca-top,
body.has-splash .controls,
body.has-splash .byline { pointer-events: none; }

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  :root { --top: 52px; --ctrl: 58px; }
  .links .btn { min-width: 52px; min-height: 36px; padding: .1em .5em; font-size: .95rem; }
  .cuts-jump { display: none; }
  .links { gap: 6px; }
  .spread {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: .25rem;
    padding: .55rem .8rem 1.4rem 1.55rem;
    align-items: stretch;
  }
  .story { padding-top: 0; }
  .art { align-items: start; }
  .story h2 { font-size: clamp(1.45rem, 7vw, 2rem); }
  .story p { font-size: 1.08rem; margin-bottom: .25rem; }
  blockquote { font-size: 1.02rem; max-width: none; }
  .art img { max-height: min(58svh, 100%); }
  .count-row { grid-template-columns: 1fr 1fr; }
  .ca-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ca-label { border-right: 0; border-bottom: 2px solid var(--ink); }
  .ca-box code { font-size: .72rem; padding: .45rem .4rem; }
  .ca-box .btn { border-left: 0; border-top: 2px solid var(--ink); min-height: 40px; }
  .sheet--cover { padding: .6rem .7rem 1.5rem 1.5rem; }
  .cover-wide { display: none; }
  .cover-mobile {
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    align-content: center;
  }
  .cover-mobile img { height: auto; }
  .cover-mobile img:first-child { width: min(42vw, 170px); }
  .cover-mobile .wordmark { width: min(92%, 400px); }
  .cover-mobile img:last-child { width: min(86%, 340px); }
  .cover-copy .tagline { font-size: 1.35rem; }
  .cut-grid { grid-template-columns: 1fr 1fr; }
  .btn-turn { min-width: 4.6rem; }
}

@media (max-width: 400px) {
  .links .btn { min-width: 46px; font-size: .9rem; }
}

.page--cuts .pgno { display: none; }


/* GTA 6 cases — real art, small props, marker outline is in the PNG */
.case-props {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-start;
  margin: .85rem 0 .2rem;
}
.case-prop {
  margin: 0;
  width: 96px;
  transform: rotate(-5deg);
  flex: 0 0 auto;
}
.case-prop:nth-child(2) { transform: rotate(5.5deg); width: 90px; }
.case-prop img { width: 100%; height: auto; display: block; }
.case-label {
  margin: .3rem 0 0;
  text-align: center;
  font-size: 1rem;
  transform: rotate(-2deg);
}

.spread--platforms {
  grid-template-columns: minmax(200px, 0.36fr) minmax(0, 1fr);
  align-items: center;
}
.platform-cases {
  display: flex;
  gap: 1.4rem 2rem;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
  padding: .4rem .6rem 1rem 0;
}
.case-prop--lg { width: 220px; }
.case-prop--lg:nth-child(2) { width: 204px; }

@media (max-width: 720px) {
  .case-props { margin: .45rem 0 .15rem; gap: 8px; }
  .case-prop { width: 72px; }
  .case-prop:nth-child(2) { width: 68px; }
  .spread--platforms {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .platform-cases { padding: .2rem 0 .6rem; gap: 1rem 1.2rem; }
  .case-prop--lg { width: 148px; }
  .case-prop--lg:nth-child(2) { width: 138px; }
}

/* Grab the art */
.grab-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}
.grab-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.grab-tab.is-on { background: var(--peach); }
.btn-zip {
  font-size: 1.2rem;
  min-height: 48px;
  padding: .25em .9em .3em;
}
.grab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.grab-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}
.grab-tile[hidden] { display: none !important; }
.grab-tile--wide { grid-column: 1 / -1; }
.grab-art { position: relative; background: #fff; }
.grab-art img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-touch-callout: default;
  pointer-events: auto;
}
.grab-art .gif-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gif-still.is-swapped { opacity: 0; pointer-events: none; }
.grab-label { margin: .45rem .65rem 0; font-size: 1.05rem; }
.grab-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: .55rem .6rem .7rem;
  margin-top: auto;
  border-top: 2px solid var(--ink);
}
.grab-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}
.grab-actions .btn {
  min-height: 48px;
  width: 100%;
  font-family: var(--marker);
  font-size: 1.15rem;
  transform: none;
  letter-spacing: .02em;
}
.grab-actions .btn:hover,
.grab-actions .btn:focus-visible { transform: translate(2px, 2px); }

@media (max-width: 720px) {
  .grab-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grab-tile--wide { grid-column: 1 / -1; }
  .grab-actions .btn { min-height: 46px; font-size: 1.05rem; }
  .btn-zip { width: 100%; }
  .grab-toolbar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 400px) {
  .grab-grid { grid-template-columns: 1fr; }
}

/* Sticky CA under the topbar, always visible once the splash is gone */
.ca-top {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .28rem 1rem;
  width: 100%;
  margin: 0;
  padding: .22rem .7rem .24rem;
  background: #fff url("img/paper.png");
  background-size: 420px 420px;
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
  text-align: center;
  font-family: var(--hand);
  z-index: 5;
}
.ca-top-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .2rem .55rem;
  margin: 0;
  padding: .12rem .2rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  text-align: center;
  min-width: 0;
}
.ca-top-copy:hover,
.ca-top-copy:focus-visible {
  background-color: #fffaf3;
}
.ca-top-label {
  font-family: var(--marker);
  font-size: 1.05rem;
  transform: rotate(-2deg);
  flex: 0 0 auto;
}
.ca-top-text {
  font-family: var(--hand);
  font-size: clamp(.78rem, 1.65vw, 1.15rem);
  letter-spacing: .01em;
  line-height: 1.2;
  background: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.ca-top-hint {
  font-family: var(--marker);
  font-size: .85rem;
  color: var(--muted);
  transform: rotate(1.4deg);
  flex: 0 0 auto;
}
.ca-top-hint.is-copied { color: var(--ink); }
.ca-top-count {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}
.ca-tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  padding: .1rem .32rem .08rem;
  background: #fff;
  transform: rotate(-1.2deg);
}
.ca-tick:nth-child(2) { transform: rotate(1.1deg); }
.ca-tick:nth-child(3) { transform: rotate(-0.7deg); }
.ca-tick:nth-child(4) { transform: rotate(1.4deg); }
.ca-tick b {
  font-family: var(--marker);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 400;
}
.ca-tick span {
  font-size: .68rem;
  line-height: 1.05;
  color: var(--muted);
}
.ca-top-done {
  margin: 0;
  font-family: var(--marker);
  font-size: 1.05rem;
  transform: rotate(-1deg);
}

/* Designed by Z00WOP — small footer credit */
.byline {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 12px 6px;
  background: #fff url("img/paper.png");
  background-size: 420px 420px;
  border-top: 2px solid var(--ink);
  z-index: 5;
}
.byline a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  transform: rotate(-0.6deg);
}
.byline a:hover .credit,
.byline a:focus-visible .credit { text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 3px; }
.byline img {
  height: 22px;
  width: auto;
  display: block;
}
.byline .credit {
  font-family: var(--hand);
  font-size: .88rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.zero-slash {
  position: relative;
  display: inline-block;
}
.zero-slash::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 52%;
  border-top: 1.5px solid currentColor;
  transform: rotate(-22deg);
}

@media (max-width: 720px) {
  .ca-top { padding: .28rem .5rem .32rem; gap: .2rem .5rem; }
  .ca-top-copy { width: 100%; gap: .12rem .4rem; }
  .ca-top-text { font-size: clamp(.7rem, 3.5vw, .95rem); }
  .ca-top-hint { font-size: .78rem; }
  .ca-top-count { width: 100%; gap: 5px; }
  .ca-tick { min-width: 0; flex: 1; max-width: 4.4rem; padding: .08rem .2rem .06rem; }
  .ca-tick b { font-size: 1.02rem; }
  .ca-tick span { font-size: .62rem; }
  .byline { padding: 4px 8px 5px; }
  .byline img { height: 18px; }
  .byline .credit { font-size: .78rem; }
  .byline a { gap: 6px; }
}
