/* johnnyhomemovies.com — prototype
   Black void (Online Ceramics) + deadpan 2001 web-store chrome (Sci-Fi Fantasy). */

:root {
  --void: #000;
  --ink: #fff;
  --dim: #8a8a8a;
  --line: #333;
  --red: #ff1f1f;
  --bar: #d30d25;
  --yellow: #ffe600;
  --ui: Verdana, Tahoma, Geneva, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--void);
  color: var(--ink);
  font: 12px/1.45 var(--ui);
  -webkit-font-smoothing: none;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- visitor counter (footer) ---------- */
.counter { display: inline-flex; gap: 1px; vertical-align: middle; margin: 0 2px; }
.counter b {
  display: inline-block; width: 11px; text-align: center;
  background: #111; color: #39ff14; border: 1px solid #444;
  font: bold 11px/14px var(--mono);
}

/* ---------- header: red band, Dymo-tape logo, black nav strip with doodles ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.band { display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 6px 16px; background: var(--bar); }

/* the logo: a strip of embossed label-maker tape stuck on at an angle */
.dymo { position: relative; flex: none; display: inline-block; margin-right: 28px; transform: rotate(-2.5deg); text-decoration: none; }
.dymo span {
  display: inline-block; padding: 7px 18px 6px; background: linear-gradient(#1a1a1a, #050505 55%, #151515);
  clip-path: polygon(0 8%, 3% 0, 97% 0, 100% 10%, 100% 92%, 97% 100%, 3% 100%, 0 90%);
  font: 700 22px/1 "Archivo Narrow", "Arial Narrow", sans-serif; letter-spacing: 3px; color: #f2f2f2;
  text-shadow: 0 1px 0 rgba(0,0,0,.9), 0 -1px 0 rgba(255,255,255,.35);
}
.dymo:hover span { color: var(--yellow); }
.dymo-rat { position: absolute; width: 58px; right: -30px; top: -20px; transform: rotate(24deg); pointer-events: none; }
.band-tag { font-size: 11px; color: #ffd6da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.band-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.spin { height: 46px; width: auto; animation: spin 1.2s steps(8) infinite; }   /* steps() = low-frame-rate GIF */
@keyframes spin { to { transform: rotateY(360deg); } }
.burst {
  width: 48px; height: 42px; display: grid; place-items: center; text-align: center;
  background: var(--yellow); color: #000; font: 900 8px/1.05 var(--display);
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 38%, 84% 54%, 98% 74%, 76% 76%, 74% 100%, 56% 86%, 38% 100%, 32% 80%, 8% 84%, 16% 62%, 0 46%, 18% 34%, 12% 10%, 34% 16%);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { transform: rotate(-12deg) scale(1.08); } }
.cart-btn { padding: 5px 9px; background: #fff; border: 0; color: #000; font: 900 11px var(--display); letter-spacing: .5px; cursor: pointer; }
.cart-btn:hover { background: var(--yellow); }
.badge { display: inline-block; min-width: 15px; padding: 0 3px; margin-left: 3px; background: var(--bar); color: #fff; text-align: center; }

.hdr-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 5px 16px; background: #000; border-bottom: 1px solid var(--line); font: bold 12px Helvetica, Arial, sans-serif; }
.hdr-nav a { text-decoration: none; color: #fff; }
.hdr-nav a:hover, .hdr-nav a[aria-current] { color: var(--red); }
.hdr-nav img { height: 18px; opacity: .85; }

/* ---------- yellow ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); white-space: nowrap; font: 11px/22px var(--mono); color: var(--yellow); }
.ticker-track { display: inline-block; padding-left: 16px; animation: tick 45s linear infinite; }
.ticker-track span { padding-right: 60px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* cart dropdown */
.cart {
  position: absolute; top: 100%; right: 16px; width: 300px;
  background: #fff; color: #000; border: 1px solid #000; box-shadow: 4px 4px 0 #000;
  font-size: 11px;
}
.cart h3 { margin: 0; padding: 6px 10px; background: #eee; border-bottom: 1px solid #aaa; font-size: 12px; }
.cart-line { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px dotted #aaa; }
.cart-line img { width: 34px; height: 44px; object-fit: cover; }
.cart-line .grow { flex: 1; }
.cart-line button { background: none; border: 0; color: #00c; text-decoration: underline; cursor: pointer; font-size: 10px; }
.cart-more { padding: 4px 10px; color: #777; text-align: center; }
.cart-total { display: flex; justify-content: space-between; padding: 8px 10px; font-weight: bold; }
.cart-empty { padding: 14px 10px; color: #c00; }
.cart .btn { margin: 0 10px 10px; width: calc(100% - 20px); }
.cart a { color: #00c; }


/* ---------- layout ---------- */
main { padding: 24px 16px 48px; min-height: 60vh; }
.wrap { max-width: 1280px; margin: 0 auto; }
.h { font: 900 13px/1 var(--display); text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.h small { font: 11px var(--ui); color: var(--dim); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 36px 0 20px; }
.dim { color: var(--dim); }
.caps { text-transform: uppercase; font-size: 10px; letter-spacing: .3px; color: var(--dim); }

.btn {
  display: inline-block; padding: 7px 16px; cursor: pointer;
  background: #000; color: #fff; border: 1px solid var(--red);
  font: bold 11px var(--ui); text-decoration: none; text-align: center;
}
.btn:hover { background: var(--red); color: #fff; }
.btn[disabled] { border-color: #555; color: #666; cursor: not-allowed; background: #000; }
.cart .btn { background: #000; }

/* ---------- home hero ---------- */
.hero { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-cover { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-cover .px { box-shadow: 0 0 60px rgba(255, 31, 31, .25); }
.hero-copy .wm { height: clamp(90px, 14vw, 150px); width: auto; margin: 6px 0 8px -6px; }
.hero-copy h1 { font: 900 clamp(22px, 3.2vw, 34px)/1.05 var(--display); margin: 0 0 10px; letter-spacing: -.5px; }
.hero-copy p { max-width: 420px; color: #ccc; }
.hero-copy .now { color: var(--yellow); font: bold 11px var(--mono); }

.whatsnew { border: 1px solid var(--line); max-width: 420px; margin-top: 20px; }
.whatsnew h4 { margin: 0; padding: 4px 8px; background: #1a1a1a; font-size: 11px; }
.whatsnew ul { margin: 0; padding: 8px 8px 8px 24px; font-size: 11px; color: #bbb; }

/* directory rows */
.directory { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.directory a { display: block; padding: 12px; background: #000; text-decoration: none; }
.directory b { display: block; font: 900 14px var(--display); text-transform: uppercase; }
.directory a:hover b { color: var(--red); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.card { text-decoration: none; display: block; }
.card .stage { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 8%; }
.card .stage .px { width: 100%; }
.card .stage img.swap { display: none; }
.card:hover .stage .px { display: none; }
.card:hover .stage img.swap { display: block; }   /* instant swap, no easing */
.card h3 { margin: 10px 0 2px; font: bold 13px var(--ui); }
.card:hover h3 { color: var(--red); }
.price { margin-top: 6px; font-size: 11px; }
.price .our { display: block; font-size: 9px; color: var(--dim); text-transform: uppercase; }
.price b { font: 900 18px var(--display); }
.price sup { font-size: 10px; font-weight: bold; }
.pill { display: inline-block; margin-top: 6px; padding: 1px 6px; border: 1px solid #444; font-size: 10px; color: #bbb; }
.pill.soon { border-color: var(--yellow); color: var(--yellow); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-main { max-width: 560px; justify-self: center; width: 100%; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 56px; height: 56px; padding: 0; border: 1px solid #333; background: #000; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.spec { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 11px; }
.spec th, .spec td { text-align: left; padding: 5px 0; border-bottom: 1px solid #222; vertical-align: top; }
.spec th { width: 38%; color: var(--dim); font-weight: normal; }
.stars { color: var(--yellow); letter-spacing: 1px; }
.pdp h1 { font: 900 26px/1.1 var(--display); margin: 4px 0 8px; }
.qty { display: inline-flex; border: 1px solid #555; margin-right: 8px; vertical-align: middle; }
.qty button { width: 26px; background: #111; border: 0; cursor: pointer; }
.qty span { width: 30px; text-align: center; line-height: 28px; }
.fine { font-size: 10px; color: var(--dim); margin-top: 12px; }

/* ---------- photos ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.frame { background: none; border: 0; padding: 0; cursor: zoom-in; text-align: left; }
.frame .px { aspect-ratio: 2 / 3; }
.frame .px canvas, .frame .px img { height: 100%; object-fit: cover; }
.frame span { display: block; margin-top: 4px; font: 10px var(--mono); color: var(--dim); }
.frame:hover span { color: var(--red); }

/* dvh + safe-area padding keep the controls above iPhone Safari's bottom toolbar */
.lightbox {
  position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 50; background: rgba(0, 0, 0, .94);
  display: grid; grid-template-rows: auto auto auto; align-content: center; place-items: center; gap: 14px;
  padding: 24px 16px max(20px, calc(env(safe-area-inset-bottom) + 12px));
}
.lightbox img { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; }
.lightbox .lb-bar { grid-row: 3; display: flex; gap: 12px; align-items: center; font: 11px var(--mono); color: var(--dim); white-space: nowrap; }
.lightbox button { background: none; border: 1px solid #444; padding: 4px 10px; cursor: pointer; min-height: 40px; min-width: 44px; touch-action: manipulation; }
.lightbox .lb-flip { grid-row: 2; font: bold 13px var(--ui); color: #000; background: var(--yellow); border: 2px solid; border-color: #fff #404040 #404040 #fff; padding: 10px 22px; min-height: 46px; box-shadow: 3px 3px 0 #000; }
.lightbox .lb-flip:hover { color: #000; border-color: #fff #404040 #404040 #fff; }
.lightbox .lb-flip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.lightbox button:hover { border-color: var(--red); color: var(--red); }

/* ---------- zines / flip-through ---------- */
.issues { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.issue { border: 1px solid var(--line); padding: 8px; font-size: 11px; text-decoration: none; }
.issue .slot { aspect-ratio: 148 / 210; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #0b0b0b 0 6px, #111 6px 12px); color: #444; font: 900 22px var(--display); margin-bottom: 6px; }
.issue .slot img { width: 100%; height: 100%; object-fit: cover; }
.issue.live { border-color: var(--red); }
.viewer { max-width: 980px; margin: 0 auto; }
.viewer .spread { background: #0a0a0a; display: grid; place-items: center; min-height: 300px; }
.viewer .spread img { max-height: 72vh; width: auto; }
.viewer .controls { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font: 11px var(--mono); }
.viewer .controls button { background: #000; border: 1px solid #555; padding: 6px 14px; cursor: pointer; }
.viewer .controls button:hover { border-color: var(--red); color: var(--red); }
.scrub { display: flex; gap: 2px; margin-top: 8px; }
.scrub button { flex: 1; height: 8px; border: 0; background: #2a2a2a; cursor: pointer; padding: 0; }
.scrub button[aria-current] { background: var(--red); }

/* ---------- tapes ---------- */
.tapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tape { border: 1px solid var(--line); }
.tape .screen { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; background: #050505; }
.tape .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.15); image-rendering: pixelated; }
.tape .screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px); }
.tape .play { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff; display: grid; place-items: center; font-size: 16px; }
.tape .rec { position: absolute; z-index: 1; top: 8px; left: 10px; font: bold 11px var(--mono); color: #fff; text-shadow: 1px 1px 0 #000; }
.tape .rec::before { content: "● "; color: var(--red); animation: blink2 1s steps(2) infinite; }
@keyframes blink2 { 50% { opacity: 0; } }
.tape .label { padding: 8px 10px; background: #f4f0e6; color: #111; font: bold 12px var(--mono); border-top: 4px solid var(--bar); }
.tape .label small { display: block; font-weight: normal; color: #555; }

/* ---------- info (window) ---------- */
.win { max-width: 640px; margin: 0 auto; background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff; }
.win-title { display: flex; justify-content: space-between; padding: 3px 6px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: bold 11px var(--ui); }
.win-body { padding: 16px 18px; font-size: 12px; background: #c0c0c0; }
.win-body h2 { font: bold 14px var(--ui); margin: 14px 0 4px; }
.win-body h2:first-child { margin-top: 0; }
.win-body a { color: #00c; }
.win-body p { margin: 0 0 8px; }

/* ---------- product mockups (cut-out photo + recolour + printed name) ---------- */
.mock { position: relative; width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.mock-obj { position: relative; width: 86%; transform: rotate(var(--rot)); isolation: isolate; }
/* Recolour layer: multiplies a colour or texture over the product, clipped to its own cut-out shape. */
.tint { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.mock-obj img { width: 100%; filter: drop-shadow(0 6px 14px rgba(0,0,0,.8)); }
.lbl { position: absolute; transform: translate(-50%, -50%) rotate(var(--r)); white-space: nowrap; text-align: center; line-height: 1.05; pointer-events: none; }
.lbl-red { color: var(--red); font: italic 900 clamp(10px, 1.6vw, 18px) var(--display); letter-spacing: -.5px; }
.lbl-white { color: #fff; font: italic 900 clamp(9px, 1.3vw, 15px) var(--display); mix-blend-mode: screen; }
.lbl-tiny { color: #fff; font: bold clamp(6px, .75vw, 9px) var(--ui); letter-spacing: .5px; opacity: .9; }
.lbl-tape { background: #f4f0e6; color: #111; padding: 4% 6%; font: bold clamp(8px, 1.1vw, 13px) "Marker Felt", "Comic Sans MS", cursive; border: 1px solid #ccc; box-shadow: 0 1px 0 #999; width: 46%; }
.lbl-logo img { width: 100%; display: block; }
.lbl-logo { filter: drop-shadow(0 0 1px rgba(0,0,0,.35)); }
.lbl-tape img { width: 40%; display: block; margin: 0 auto 3px; }
.lbl-pack img { width: 100%; display: block; margin-bottom: 2px; }
.lbl-tape small { font: clamp(6px, .8vw, 10px) var(--mono); color: #555; }
.lbl-pack { color: #111; font: italic clamp(10px, 1.5vw, 18px) Georgia, serif; }
.lbl-pack b { font: 900 clamp(8px, 1.1vw, 13px) var(--ui); font-style: normal; letter-spacing: 1px; color: var(--bar); }
.lbl-pack small { font: clamp(5px, .55vw, 7px) var(--ui); font-style: normal; }
.art-tag { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font: 9px var(--mono); color: #555; letter-spacing: 1px; }

/* ---------- doodles ---------- */
.doodle { pointer-events: none; opacity: .9; animation: wobble 1.6s steps(2) infinite; }
@keyframes wobble { 50% { transform: rotate(-3deg); } }
.hero-copy { position: relative; }
.doodle-ashtray { position: absolute; right: 0; top: 100%; margin-top: 4px; width: 56px; }
.shop { position: relative; }
.doodle-cup { position: absolute; right: 8px; top: -14px; width: 42px; }

/* ---------- tapes: the hand-drawn TV ---------- */
.den { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 360px); gap: 40px; align-items: end; justify-content: center; }
.tv { position: relative; width: 100%; max-width: 460px; margin-top: -8%; }
.tv-doodle { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.tv-screen { position: absolute; z-index: 1; left: 14%; top: 57%; width: 44%; height: 31%; overflow: hidden; background: #050505; border-radius: 12%/16%; display: grid; place-items: center; }
.tv-screen #tvStill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.55) contrast(1.1); image-rendering: pixelated; }
.tv-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.4) 0 1px, transparent 1px 3px); pointer-events: none; }
.tv-screen.static #tvStill { filter: grayscale(1) contrast(3) brightness(1.4); transform: scale(1.6) translateX(4%); }
.tv-logo { position: absolute; z-index: 1; left: 50%; top: 52%; height: 78%; width: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 0 6px rgba(255,255,255,.45)); }
.tv-screen .rec { position: absolute; z-index: 2; top: 6%; left: 6%; font: bold 10px var(--mono); color: #fff; text-shadow: 1px 1px 0 #000; }
.tv-screen .rec::before { content: "● "; color: var(--red); animation: blink2 1s steps(2) infinite; }
.tv-screen .play { position: absolute; z-index: 3; right: 6%; bottom: 8%; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff; display: grid; place-items: center; font-size: 11px; text-decoration: none; color: #fff; }
.tv-screen .play:hover { background: var(--red); border-color: var(--red); }
.tv-knob { position: absolute; z-index: 3; left: 59%; top: 55%; width: 6%; height: 10%; border-radius: 50%; background: transparent; border: 0; cursor: pointer; }
.tv-knob:hover, .lamp-chain:hover { outline: 1px dashed var(--yellow); }
.lamp-chain { position: absolute; z-index: 3; left: 77%; top: 38%; width: 3%; height: 12%; background: transparent; border: 0; cursor: pointer; }
.lamp-glow { position: absolute; z-index: 0; left: 62%; top: 22%; width: 46%; height: 50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 210, 90, .55), transparent); opacity: 0; transition: opacity .1s steps(2); pointer-events: none; }
.tv.lit .lamp-glow { opacity: 1; }
.tape-info .label { padding: 8px 10px; background: #f4f0e6; color: #111; font: bold 12px var(--mono); border-top: 4px solid var(--bar); margin-bottom: 12px; }
.tape-info .label small { display: block; font-weight: normal; color: #555; }

/* ---------- the rat ---------- */
.rat {
  position: fixed; top: 0; left: 0; z-index: 40; width: 110px; height: auto;
  cursor: pointer; filter: drop-shadow(0 0 8px rgba(255, 230, 0, .35));
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .rat { top: auto; bottom: 12px; left: 12px; } }

/* ---------- pixel-loader ---------- */
.px { position: relative; }
.px canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.px img { width: 100%; }

/* ---------- dialog ---------- */
.dialog {
  position: fixed; z-index: 60; top: 30%; left: 50%; width: 320px; max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff;
  box-shadow: 6px 6px 0 rgba(0,0,0,.6);
}
.dialog-title { display: flex; justify-content: space-between; align-items: center; padding: 3px 4px 3px 6px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: bold 11px var(--ui); cursor: move; user-select: none; }
.dialog-x { width: 16px; height: 14px; padding: 0; line-height: 10px; background: #c0c0c0; color: #000; border: 1px solid; border-color: #fff #404040 #404040 #fff; cursor: pointer; }
.dialog-body { display: flex; gap: 12px; align-items: center; padding: 16px 14px 8px; font-size: 11px; }
.dialog-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0000c0; color: #fff; display: grid; place-items: center; font: bold italic 18px Georgia, serif; }
.dialog-actions { display: flex; gap: 8px; justify-content: center; padding: 6px 0 12px; }
.dialog .btn { background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff; min-width: 76px; font-weight: normal; }
.dialog .btn:hover { background: #d4d4d4; color: #000; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 18px 16px 28px; text-align: center; font-size: 11px; }
.foot-row { margin: 4px 0; }
.foot a { color: #ccc; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .band-tag { display: none; }
}
@media (max-width: 720px) {
  .dymo span { font-size: 16px; letter-spacing: 2px; }
  .dymo-rat { width: 42px; right: -20px; top: -14px; }
  .burst { display: none; }
  .spin { display: none; }
  .band { gap: 10px; padding: 6px 10px; }
  .dymo { margin-right: 14px; }
  .dymo span { padding: 6px 10px 5px; }
  .cart-btn { padding: 4px 6px; }
  .hdr-nav img { height: 14px; }
  .hdr-nav { gap: 4px; padding: 5px 10px; }
  .hero, .pdp { grid-template-columns: minmax(0, 1fr); }
  .rat { width: 72px; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid { gap: 28px 14px; }
  .tapes, .den { grid-template-columns: minmax(0, 1fr); }
  .doodle-ashtray { width: 50px; }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart { right: 8px; width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .spin, .burst, .ticker-track, .tape .rec::before { animation: none; }
}

/* fridge scene: the photo fills the frame and the product sits on it */
.mock-full .mock-obj { width: 100%; }
.mock-full .mock-obj > img { filter: none; }
.lbl-magnet img { width: 100%; display: block; border-radius: 4px; box-shadow: 2px 5px 8px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.25); }

/* ---------- Johnny's doodles in the UI ---------- */
.globe { height: 34px; animation: spin 2.4s steps(10) infinite; }
.cart-btn img { height: 30px; vertical-align: middle; }
.cart-btn { position: relative; background: none; padding: 0 4px; }
.cart-btn:hover { background: none; filter: drop-shadow(0 0 4px var(--yellow)); }
.cart-btn .badge { position: absolute; top: -4px; right: -6px; }
.tba { height: 26px; vertical-align: middle; }
.pdp .tba { height: 34px; }
.btn-ico { height: 14px; vertical-align: -2px; margin: 0 6px; filter: brightness(1); }
.flip-ico { height: 16px; display: block; }
.flip-ico.back { transform: scaleX(-1); }
.h-ico { height: 34px; vertical-align: middle; margin-right: 8px; }
.issue { position: relative; }
.issue-ico { position: absolute; right: 6px; bottom: 6px; width: 38%; transform: rotate(-8deg); }
.pdp-ico { height: 46px; vertical-align: middle; margin-left: 10px; transform: rotate(-6deg); }
.stamp { position: absolute; width: 70%; margin: -60% 0 0 10%; transform: rotate(-14deg); filter: drop-shadow(0 0 2px #000); pointer-events: none; }
.card { position: relative; }
.foot-doodles { display: flex; justify-content: center; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 16px; }
.foot-doodles img { height: 52px; width: auto; opacity: .85; animation: wobble 1.6s steps(2) infinite; }
.foot-doodles img:nth-child(even) { animation-delay: .8s; }
@media (max-width: 720px) {
  .globe { display: none; }
  .foot-doodles { gap: 16px; }
  .foot-doodles img { height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .globe, .foot-doodles img { animation: none; } }
.btn-ico, .h-ico, .pdp-ico, .tba { display: inline-block; }

/* ---------- hand-lettered logo on the red band ---------- */
.hw-logo { position: relative; flex: none; display: block; margin-right: 34px; }
.hw-word { height: 84px; width: auto; display: block; filter: drop-shadow(1px 2px 0 rgba(0,0,0,.35)); }
.hw-logo:hover .hw-word { filter: drop-shadow(0 0 6px rgba(255, 230, 0, .8)); }
.hw-rat { position: absolute; width: 64px; right: -40px; top: -6px; transform: rotate(24deg); pointer-events: none; }
@media (max-width: 720px) {
  .hw-word { height: 58px; }
  .hw-rat { width: 40px; right: -22px; top: -10px; }
  .hw-logo { margin-right: 20px; }
}

/* logo: one line of caps on desktop, the stacked version on phones */
.hw-word.wide { height: 52px; }
.hw-word.stacked { display: none; }
.foot-logo { display: block; height: 90px; width: auto; margin: 0 auto 18px; }
@media (max-width: 720px) {
  .hw-word.wide { display: none; }
  .hw-word.stacked { display: block; height: 66px; }
  .hw-rat { right: -30px; top: -4px; }
  .foot-logo { height: 70px; }
}
.foot-doodles img.big { height: 160px; }
@media (max-width: 720px) { .foot-doodles img.big { height: 96px; } }

/* laser gun beside the logo (replaces the rat) */
.hw-logo { display: flex; align-items: center; gap: 12px; margin-right: 24px; }
.hw-gun { height: 46px; width: auto; transform: rotate(-6deg); pointer-events: none; animation: wobble 1.6s steps(2) infinite; }
@media (max-width: 720px) { .hw-gun { height: 30px; } }
@media (prefers-reduced-motion: reduce) { .hw-gun { animation: none; } }

/* the laser gun is the hero of the banner: huge, tilted, spilling out over the nav and ticker */
.hw-gun { position: relative; z-index: 30; height: 150px; margin: -34px 0 -86px -6px; transform: rotate(-8deg); filter: drop-shadow(3px 4px 0 rgba(0,0,0,.55)); }
@media (max-width: 720px) { .hw-gun { height: 84px; margin: -14px 0 -40px -4px; } }
.hw-gun { margin-left: 64px; }
.band-right { flex: none; }
@media (max-width: 1180px) { .band-tag { display: none; } }
@media (max-width: 720px) { .hw-gun { margin-left: 4px; } }
@media (max-width: 720px) { .hw-gun { height: 66px; margin: -10px 0 -30px 0; } .hw-logo { margin-right: 0; gap: 6px; } .band { overflow: hidden; } }

/* gun stays inside the red band: taller band, big gun, no spill */
.band { min-height: 104px; overflow: hidden; }
.hw-gun { height: 92px; margin: 0 0 0 40px; transform: rotate(-6deg); }
@media (max-width: 720px) {
  .band { min-height: 80px; }
  .hw-gun { height: 54px; margin: 0; }
  .globe { display: block; height: 28px; }
}
.globe { height: 58px; }
.spin { height: 58px; }
@media (max-width: 720px) { .globe { height: 30px; } }

/* colour pass: white cart button is back; gun sits up level with the name */
.cart-btn { background: #fff; padding: 4px 8px; }
.cart-btn img { height: 26px; }
.cart-btn:hover { background: var(--yellow); filter: none; }
.hw-gun { margin-top: -22px; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.45)); }
@media (max-width: 720px) { .hw-gun { margin-top: -12px; } }
.doodle-ashtray { width: 74px; }

/* slower ticker; keep the spinning head on phones too */
.ticker-track { animation-duration: 75s; }
@media (max-width: 720px) {
  .spin { display: block; height: 38px; }
  .band-right { gap: 6px; }
}

/* head wiggles instead of spinning; globe removed */
.spin { animation: wobble 1s steps(2) infinite; }
.hdr-nav img { height: 20px; }
.hdr-nav img[src*="ufo"], .hdr-nav img[src*="alien"] { height: 18px; }
.burst { display: grid; width: 56px; height: 50px; font-size: 9px; }
@media (max-width: 720px) { .burst { display: grid; width: 40px; height: 36px; font-size: 7px; } }
.spin { height: 66px; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.4)); }
@media (max-width: 720px) { .spin { height: 44px; } }

/* Chihiro: a quiet easter egg right beside the name */
.chihiro { height: 58px; width: auto; flex: none; transform: rotate(-4deg); filter: drop-shadow(2px 3px 0 rgba(0,0,0,.35)); }
@media (max-width: 720px) { .chihiro { height: 42px; } }
@media (max-width: 720px) { .hw-gun { height: 40px; } .chihiro { height: 38px; } .spin { height: 38px; } .burst { width: 34px; height: 30px; font-size: 6px; } .band { padding: 6px 8px; } }

/* ---------- the laser gun, animated ----------
   Johnny's drawing split into layers (all positions are fractions of the 700x279 original):
   yellow body, four pink pulse rings that charge outward, and a green beam that fires across the banner. */
.gun { position: relative; flex: none; display: block; height: 92px; aspect-ratio: 700 / 279; margin: -22px 0 0 40px; transform: rotate(-6deg); }
.gun img { position: absolute; top: 0; height: 100%; width: auto; pointer-events: none; }
.gun-body { left: 0; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.45)); }
.gun-ring { filter: drop-shadow(0 0 3px #ff5fa2) drop-shadow(0 0 7px rgba(255, 95, 162, .8)); animation: ring-pulse 1.2s steps(6) infinite; transform-origin: 50% 50%; }
.r1 { left: calc(404 / 700 * 100%); }
.r2 { left: calc(442 / 700 * 100%); animation-delay: .15s; }
.r3 { left: calc(478 / 700 * 100%); animation-delay: .3s; }
.r4 { left: calc(514 / 700 * 100%); animation-delay: .45s; }
@keyframes ring-pulse {
  0%   { opacity: .35; transform: scale(.85); }
  40%  { opacity: 1;   transform: scale(1.18); filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px #ff5fa2); }
  100% { opacity: .35; transform: scale(.85); }
}
.gun-beam { left: calc(550 / 700 * 100%); filter: drop-shadow(0 0 3px #7dff4f) drop-shadow(0 0 8px rgba(125, 255, 79, .9)); animation: beam-fire 1.8s cubic-bezier(.3, 0, .9, 1) infinite; }
@keyframes beam-fire {
  0%   { transform: translateX(0) scaleX(.4); opacity: 0; }
  8%   { transform: translateX(0) scaleX(1); opacity: 1; }
  70%  { transform: translateX(1600%) scaleX(1.6); opacity: 1; }
  100% { transform: translateX(2200%) scaleX(1.6); opacity: 0; }
}
.band { position: relative; }
@media (max-width: 720px) { .gun { height: 40px; margin: -10px 0 0 0; } }
@media (prefers-reduced-motion: reduce) { .gun-ring, .gun-beam { animation: none; } }

/* gun v2: a button you click to fire. Idle = soft pink pulse + flickering green beam stub. */
.gun { background: none; border: 0; padding: 0; cursor: crosshair; }
.gun:focus-visible { outline: 2px dashed var(--yellow); outline-offset: 4px; }
.gun-ring { filter: drop-shadow(0 0 2px rgba(255, 95, 162, .9)); animation: ring-idle 1.6s steps(4) infinite; }
@keyframes ring-idle { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.gun-beam { filter: drop-shadow(0 0 2px #7dff4f) drop-shadow(0 0 5px rgba(125, 255, 79, .7)); animation: beam-flicker .5s steps(2) infinite; }
@keyframes beam-flicker { 50% { opacity: .55; } }
.gun:hover .gun-ring { animation-duration: .5s; }
.gun.firing .gun-ring { animation: ring-fire .12s steps(2) infinite; }
@keyframes ring-fire { 50% { transform: scale(1.3); filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #ff5fa2); } }
.gun.firing .gun-beam { opacity: 0; animation: none; }

/* the shot */
.zap { position: fixed; z-index: 100; height: 7px; margin-top: -3px; border-radius: 4px; transform-origin: 0 50%; pointer-events: none;
  background: #b9ff9a; box-shadow: 0 0 6px 2px #7dff4f, 0 0 16px 4px rgba(125, 255, 79, .7); animation: zap .26s steps(5) forwards; }
@keyframes zap { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* the head blowing apart */
.shard { position: fixed; z-index: 100; pointer-events: none; background-repeat: no-repeat; animation: shard .9s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes shard { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.pow { position: fixed; z-index: 101; pointer-events: none; width: 92px; height: 80px; margin: -40px 0 0 -46px; display: grid; place-items: center;
  background: var(--yellow); color: var(--bar); font: 900 20px var(--display); letter-spacing: -1px;
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 38%, 84% 54%, 98% 74%, 76% 76%, 74% 100%, 56% 86%, 38% 100%, 32% 80%, 8% 84%, 16% 62%, 0 46%, 18% 34%, 12% 10%, 34% 16%);
  animation: pow .7s steps(4) forwards; }
@keyframes pow { 0% { transform: scale(.3) rotate(-15deg); } 30% { transform: scale(1.15) rotate(6deg); } 100% { transform: scale(1) rotate(0); opacity: 0; } }
.spin.respawn { animation: respawn .45s steps(4); }
@keyframes respawn { from { transform: scale(0) rotate(-90deg); } 70% { transform: scale(1.2); } to { transform: scale(1); } }

/* Chihiro tucked in close to the name, leaning toward it */
.chihiro { margin-left: -6px; transform: rotate(-14deg); transform-origin: 30% 80%; }
.hw-logo { gap: 4px; }

/* gun is aimed at the kid by script (rotation about the grip); no fixed tilt */
.gun { transform: none; transform-origin: 15% 41%; }

/* rings: Johnny's own four rings, crisp pink line with a breathing glow (no scaling) */
.gun-ring { animation: ring-glow 1.4s ease-in-out infinite; transform: none; }
.r2 { animation-delay: .2s; } .r3 { animation-delay: .4s; } .r4 { animation-delay: .6s; }
@keyframes ring-glow {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(255, 95, 162, .6)); }
  50%      { filter: drop-shadow(0 0 3px #ff5fa2) drop-shadow(0 0 7px rgba(255, 95, 162, .85)); }
}
.gun:hover .gun-ring { animation-duration: .6s; }
.gun.firing .gun-ring { animation: ring-flash .12s steps(2) infinite; }
@keyframes ring-flash { 50% { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 9px #ff5fa2); } }
/* Chihiro: a slight clockwise lean so her mouth points back toward the name */
.chihiro { transform: rotate(8deg); transform-origin: 50% 50%; }
.gun { margin-top: 0; }
/* bigger gun, taller band so the handle fits */
.gun { height: 150px; margin-left: 32px; }
.band { min-height: 132px; }
@media (max-width: 720px) { .gun { height: 44px; margin-left: 0; } .band { min-height: 80px; } }

/* Chihiro's note */
.chihiro { cursor: pointer; }
.chi-note { position: fixed; z-index: 120; transform: translateX(-50%); padding: 6px 10px; white-space: nowrap;
  background: #fff8e8; color: #3a2a1a; border: 1px solid #000; box-shadow: 3px 3px 0 #000;
  font: 12px var(--ui); pointer-events: none; transition: opacity .5s; }
.chi-note.bye { opacity: 0; }
.chi-note::before { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: #000; }
@keyframes chi-note { 0% { opacity: 0; transform: translate(-50%, -4px); } 10%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
/* bigger kid */
.spin { height: 124px; }
@media (max-width: 720px) { .spin { height: 58px; } }
@media (max-width: 720px) { .burst { display: none; } .band { gap: 6px; } }

/* cartoon gore */
.chunk { position: fixed; left: 0; top: 0; z-index: 102; pointer-events: none; background-repeat: no-repeat;
  filter: drop-shadow(0 0 1.5px #5a0010) drop-shadow(1px 2px 0 #8b0018); transition: opacity .5s; }
.splat { position: fixed; z-index: 101; pointer-events: none; background: radial-gradient(circle at 45% 40%, #c4001f, #7a0012 70%); opacity: .92; transition: opacity .5s; }
.chunk.gone, .splat.gone { opacity: 0; }
.chunk, .splat { transition-duration: .3s; }

/* the kid's speech burst (replaces POW) */
.pow { width: 156px; height: 118px; margin: -59px 0 0 -78px; padding: 0 22px; text-align: center; line-height: 1.05;
  font: 900 15px var(--display); letter-spacing: -.3px; animation: pow-say 1.3s steps(6) forwards; }
@keyframes pow-say { 0% { transform: scale(.3) rotate(-15deg); } 12% { transform: scale(1.15) rotate(6deg); } 20%, 85% { transform: scale(1) rotate(0); opacity: 1; } 100% { opacity: 0; } }
/* keep text inside the star's safe middle; long lines get a smaller size */
.pow { padding: 0 32px; word-break: normal; }
.pow.long { font-size: 13px; padding: 0 30px; }

/* ---------- header v3: one centre line, three zones, one shadow style ---------- */
.band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; position: relative;
  min-height: 150px; padding: 0 max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.hw-logo { gap: 12px; margin: 0; }
.gun { justify-self: start; margin: 0; }
.band-right { gap: 14px; position: relative; }
/* every piece printed the same way: a hard offset shadow */
.hw-word, .chihiro, .gun-body, .spin, .cart-btn { filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .45)); }
.burst { margin-left: -42px; margin-top: -78px; z-index: 2; transform: rotate(12deg); }
/* the line of fire */
.lane { position: absolute; height: 0; border-top: 3px dotted rgba(0, 0, 0, .35); pointer-events: none; }
/* rings: yellow, gentle breathing (no neon) */
.gun-ring { animation: ring-breathe 1.4s ease-in-out infinite; filter: none; }
@keyframes ring-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.gun.firing .gun-ring { animation: ring-flash2 .12s steps(2) infinite; }
@keyframes ring-flash2 { 50% { opacity: .3; } }
.gun-beam { filter: drop-shadow(0 0 2px rgba(76, 195, 90, .6)); }
.zap { background: #6fdc7c; box-shadow: 0 0 4px 1px rgba(76, 195, 90, .7); }
@media (max-width: 720px) {
  .band { column-gap: 10px; min-height: 80px; padding: 0 10px; }
  .lane { display: none; }
  .burst { display: none; }
}

/* ---------- header v4: tiny top strip, printer's marks, the game as a 98 window ---------- */
.util { display: flex; justify-content: space-between; gap: 12px; padding: 4px max(28px, env(safe-area-inset-right, 0px)) 4px max(28px, env(safe-area-inset-left, 0px));
  background: #8f0a1a; color: #ffd6da; font: 10px/1.2 var(--ui); letter-spacing: 1px; white-space: nowrap; overflow: hidden; }
.util b { color: var(--yellow); font-weight: normal; }
.band { min-height: 0; padding: 22px max(36px, env(safe-area-inset-right, 0px)) 22px max(36px, env(safe-area-inset-left, 0px)); column-gap: 36px; }
/* inset hairline + registration crosshairs, like a print proof */
.band::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 214, 218, .35); pointer-events: none; }
.reg { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.reg::before, .reg::after { content: ""; position: absolute; background: rgba(255, 214, 218, .7); }
.reg::before { left: 6px; top: 0; width: 1px; height: 14px; }
.reg::after { top: 6px; left: 0; height: 1px; width: 14px; }
.reg.tl { left: 2px; top: 2px; } .reg.tr { right: 2px; top: 2px; } .reg.bl { left: 2px; bottom: 2px; } .reg.br { right: 2px; bottom: 2px; }
.brand { display: grid; gap: 6px; justify-items: start; }
.brand-cap { font: 10px var(--ui); letter-spacing: 1.5px; text-transform: uppercase; color: #ffd6da; padding-left: 2px; }
/* the LASER.EXE window (navy title bar after old Metalwood, grey 98 chrome) */
.game { justify-self: stretch; max-width: 640px; width: 100%; background: #c0c0c0; border: 2px solid; border-color: #fff #404040 #404040 #fff;
  filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .45)); }
.game-title { display: flex; align-items: center; gap: 6px; padding: 2px 3px 2px 6px; background: #34358d; color: #fff; font: bold 11px var(--ui); letter-spacing: .5px; }
.game-title > span:first-child { flex: 1; }
.game-btns { display: flex; gap: 2px; }
.game-btns i, .game-x { width: 16px; height: 14px; display: grid; place-items: center; background: #c0c0c0; color: #000; font: bold 10px/1 var(--ui); font-style: normal;
  border: 1px solid; border-color: #fff #404040 #404040 #fff; padding: 0; cursor: default; }
.game-x { cursor: pointer; }
.game-screen { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 124px; margin: 4px; padding: 0 18px;
  background: #c0c0c0; border: 2px solid; border-color: #808080 #fff #fff #808080; overflow: visible; }
.game-screen .gun { height: 112px; margin: 0; filter: none; }
.game-screen .gun-body { filter: none; }
.game-screen .spin { height: 104px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .35)); }
.game-screen .burst { position: absolute; right: 6px; top: -10px; margin: 0; transform: rotate(12deg); }
.game-screen .lane { border-top-color: rgba(0, 0, 0, .3); }
.game-status { display: flex; justify-content: space-between; margin: 0 4px 3px; padding: 2px 6px; font: 10px var(--ui); color: #000;
  border: 1px solid; border-color: #808080 #fff #fff #808080; }
.kills { display: inline-block; padding: 0 3px; background: #111; color: #39ff14; font: bold 10px/13px var(--mono); letter-spacing: 1px; }
.band-right { align-self: center; }
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr auto; row-gap: 14px; }
  .game { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .util span:first-child { display: none; }
}
@media (max-width: 720px) {
  .band { padding: 14px 16px; }
  .brand-cap { font-size: 8px; letter-spacing: 1px; }
  .game-screen { height: 76px; padding: 0 10px; }
  .game-screen .gun { height: 64px; }
  .game-screen .spin { height: 62px; }
  .game-screen .burst { display: grid; width: 34px; height: 30px; font-size: 6px; right: 2px; top: -8px; }
  .lane { display: block; }
}
@media (max-width: 720px) { .hide-sm { display: none; } }
/* Chihiro snug against the name */
.hw-logo { gap: 0; }
.chihiro { margin-left: -14px; }
@media (max-width: 720px) { .chihiro { margin-left: -8px; } }

/* ---------- option 1: laser.exe lives on the "desktop" and opens as a window ---------- */
.band-right { display: flex; align-items: center; gap: 26px; }
.desk-icon { display: grid; justify-items: center; gap: 4px; padding: 4px; background: none; border: 0; cursor: pointer; color: #fff; font: 11px var(--ui); }
.desk-icon img { height: 46px; width: auto; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .45)); }
.desk-icon span { padding: 1px 4px; border: 1px dotted transparent; }
.desk-icon:hover span, .desk-icon:focus-visible span { background: #34358d; border-color: #fff; }
.desk-icon:focus-visible { outline: none; }
.cart-wrap { position: relative; display: inline-block; }
.cart-wrap .burst { position: absolute; display: grid; left: -34px; top: -30px; margin: 0; width: 46px; height: 40px; font-size: 7px; z-index: 2; transform: rotate(-12deg); }
.game.popup { position: fixed; z-index: 90; left: 50%; top: 120px; transform: translateX(-50%); width: min(620px, calc(100vw - 24px)); max-width: none; }
.game.popup[hidden] { display: none; }
.game.popup .game-title { cursor: move; user-select: none; touch-action: none; }
.game.popup .game-screen { height: 150px; }
.game.popup .game-screen .gun { height: 134px; }
.game.popup .game-screen .spin { height: 124px; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr auto; } }
@media (max-width: 720px) {
  .desk-icon img { height: 34px; }
  .desk-icon { font-size: 9px; }
  .band-right { gap: 14px; }
  .cart-wrap .burst { display: none; }
  .game.popup { top: 90px; }
  .game.popup .game-screen { height: 92px; }
  .game.popup .game-screen .gun { height: 80px; }
  .game.popup .game-screen .spin { height: 76px; }
}
.cart-wrap .burst { left: auto; right: -30px; top: -28px; transform: rotate(12deg); }
/* kid head back on the band as the mascot; clicking him is the secret way into LASER.EXE */
.kid-icon { padding: 0; background: none; border: 0; cursor: crosshair; line-height: 0; }
.kid-icon img { height: 74px; width: auto; animation: wobble 1s steps(2) infinite; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .45)); }
.kid-icon:hover img { animation-duration: .25s; }
.kid-icon:focus-visible { outline: 1px dotted #fff; outline-offset: 2px; }
@media (max-width: 720px) { .kid-icon img { height: 46px; } }

/* ---------- LASER.EXE dodge mode: kid bounces around a bigger screen, gun swivels at the left ---------- */
.game.popup .game-screen { display: block; height: 300px; padding: 0; overflow: hidden; cursor: crosshair; touch-action: none; user-select: none; outline: none; }
.game.popup .game-screen:focus-visible { box-shadow: inset 0 0 0 1px #000; }
.game.popup .game-screen .gun { position: absolute; left: 10px; top: 50%; height: 92px; margin: 0; z-index: 2; pointer-events: none; transform: translateY(-41.5%); transform-origin: 15% 41.5%; }
.game.popup .game-screen .spin { position: absolute; left: 0; top: 0; height: 70px; z-index: 1; pointer-events: none; }
.game-screen .zap { position: absolute; z-index: 1; animation-duration: .12s; }
.game-card { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 0 20px; text-align: center;
  background: rgba(192, 192, 192, .85); color: #000; font: 11px/1.4 var(--ui); pointer-events: none; }
.game-card[hidden] { display: none; }
.game-card b { color: #34358d; font: bold 20px var(--ui); letter-spacing: 1px; }
.game-card em { margin-top: 4px; padding: 3px 10px; background: #c0c0c0; border: 2px solid; border-color: #fff #404040 #404040 #fff; font-style: normal; font-weight: bold; animation: card-blink 1.1s steps(2) infinite; }
@keyframes card-blink { 50% { color: transparent; } }
.game-status { align-items: center; gap: 10px; }
.game-status .charge i { display: inline-block; width: 64px; height: 11px; padding: 1px; vertical-align: -2px; background: #111; border: 1px solid; border-color: #404040 #fff #fff #404040; }
.game-status .charge b { display: block; height: 100%; background: #39ff14; }
.game-status .charge i.flash { animation: charge-flash .3s steps(2) 1; }
@keyframes charge-flash { 50% { background: #c4001f; } }
.pow.small { width: 112px; height: 86px; margin: -43px 0 0 -56px; padding: 0 24px; font-size: 11px; animation-duration: .9s; }
.pow.small.long { font-size: 10px; padding: 0 22px; }
@media (max-width: 720px) {
  .game.popup .game-screen { height: 240px; }
  .game.popup .game-screen .gun { height: 54px; }
  .game.popup .game-screen .spin { height: 50px; }
  .game-status { gap: 6px; font-size: 9px; }
  .game-status .charge i { width: 38px; }
}
/* framed photo of the old man standing on top of the TV (the TV's top edge is at 50.9% of the drawing) */
.tv-photo { position: absolute; z-index: 3; left: 20%; bottom: 46.6%; width: 17%; aspect-ratio: 4 / 5; padding: 3px; background: #050505;
  border: 4px solid #fff; border-radius: 2px; transform: rotate(-3deg); transform-origin: 50% 100%; box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); }
.tv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.85) contrast(1.05); }
@media (max-width: 720px) { .tv-photo { border-width: 3px; padding: 2px; } }
/* your vase of heads and the phone, standing on top of the TV (its top edge is ~53.4% down the drawing) */
.tv-vase, .tv-phone { position: absolute; z-index: 3; bottom: 46.6%; }
.tv-vase { left: 9%; width: 25%; aspect-ratio: 752 / 1435; }
.tv-vase > img { display: block; width: 100%; }
.tv-vase .vh { position: absolute; width: 30%; transform: translate(-50%, -78%) rotate(var(--r)); }
.tv-vase .vh.kid { width: 34%; }
/* feet rest on the TV top edge, measured from the two drawings */
.tv-phone { left: 41%; bottom: 48.4%; width: 22%; aspect-ratio: 999 / 1332; padding: 0; background: none; border: 0; cursor: pointer; transform-origin: 50% 100%; }
.tv-phone img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-phone .ph-rings { opacity: 0; }
.tv-phone.ringing { animation: phone-shake .12s steps(2) infinite; }
.tv-phone.ringing .ph-rings { animation: blink2 .3s steps(2) infinite; opacity: 1; }
@keyframes phone-shake { 0% { transform: rotate(-3deg); } 100% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .tv-phone.ringing { animation: none; } }
.tv { margin-top: 24px; }   /* room for the heads in the vase */

/* ---------- the hunt (escape room) ---------- */
.tv-vase { padding: 0; background: none; border: 0; cursor: pointer; }
.tv-vase.sing .vh { animation: wobble .4s steps(2) infinite; }
.wall-note { position: absolute; z-index: 1; left: 66%; top: 41%; font: 900 15px var(--display); color: #ffd25a; transform: rotate(-9deg); letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 210, 90, .7); opacity: 0; transition: opacity .1s steps(2); pointer-events: none; }
.tv.lit.clue .wall-note { opacity: 1; }
.ch7-text { display: none; position: absolute; z-index: 2; left: 0; right: 22%; bottom: 14%; text-align: center; font: bold 13px var(--mono); color: #fff; letter-spacing: 2px; text-shadow: 1px 1px 0 #000; }
.tv-screen.ch7 .ch7-text { display: block; animation: blink2 1.2s steps(2) infinite; }
.tv-screen.ch7 .tv-logo { display: none; }
.tv-screen.ch7 #tvStill { transform: scale(2.2); object-position: 50% 35%; filter: saturate(.7) brightness(.8) contrast(1.15); }
.photo-back { width: min(62vw, 520px); aspect-ratio: 3 / 2; position: relative; background: #f1ece0; color: #2a2a2a; box-shadow: 0 8px 30px rgba(0, 0, 0, .6);
  background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 9px); }
.pb-stamp { position: absolute; left: 6%; top: 8%; font: 10px var(--mono); letter-spacing: 3px; color: #8a8a8a; }
.pb-note { position: absolute; right: 12%; top: 50%; height: 76%; width: auto; transform: translateY(-50%) rotate(-4deg); }
.hwin { top: 22%; width: 340px; z-index: 95; }
.hwin.wide { width: 520px; top: 12%; }
.hwin-body { padding: 14px 16px 6px; font-size: 11px; line-height: 1.5; }
.hwin-body p { margin: 0 0 8px; }
.hwin-form { display: flex; gap: 8px; padding: 4px 16px 14px; }
.hwin-in { flex: 1; min-width: 0; padding: 3px 6px; font: 12px var(--mono); background: #fff; color: #000; border: 2px solid; border-color: #404040 #fff #fff #404040; }
.hwin.shake { animation: hwin-shake .3s steps(4); }
@keyframes hwin-shake { 25% { margin-left: -6px; } 75% { margin-left: 6px; } }
.lock { display: flex; gap: 12px; align-items: flex-start; }
.lock-ico { font-size: 26px; line-height: 1; }
.lock b { font-size: 13px; letter-spacing: 1px; }
.lock p { margin: 4px 0 0; }
.denied { color: #c4001f; font-weight: bold; }
.call p { margin: 0 0 6px; font: 12px var(--mono); }
.call .sfx { color: #555; font-style: italic; }
.dial-no { text-align: center; font: bold 20px var(--mono); letter-spacing: 2px; padding: 2px; margin: 0 auto 10px; width: 150px; background: #111; color: #39ff14; border: 2px solid; border-color: #404040 #fff #fff #404040; }
.dial { position: relative; width: 210px; aspect-ratio: 1; margin: 0 auto; }
.dial-wheel { position: absolute; inset: 0; border-radius: 50%; background: #111; border: 4px solid #000; box-shadow: inset 0 0 0 26px #1c1c1c, inset 0 0 0 30px #000; }
.dial-wheel::after { content: ""; position: absolute; inset: 31%; border-radius: 50%; background: #f1ece0; border: 3px solid #000; }
.hole { position: absolute; width: 19%; aspect-ratio: 1; margin: -9.5% 0 0 -9.5%; border-radius: 50%; background: #f1ece0; border: 3px solid #000; color: #000;
  font: bold 14px var(--mono); cursor: pointer; padding: 0; }
.hole:hover { background: var(--yellow); }
.dial-stop { position: absolute; right: 4%; bottom: 16%; width: 18%; height: 5px; background: #c0c0c0; border: 2px solid #000; transform: rotate(35deg); }
.dial-help { text-align: center; margin-top: 8px; }
.decoder { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 4px; margin: 8px 0 10px; }
.dec-cell { display: grid; justify-items: center; gap: 2px; padding: 5px 2px 3px; background: #000; border: 2px solid; border-color: #404040 #fff #fff #404040; }
.dec-cell img { height: 32px; width: auto; max-width: 44px; object-fit: contain; }
.dec-cell b { color: #fff; font: bold 11px var(--mono); }
.dec-todo { height: 32px; display: grid; place-items: center; color: #555; font: bold 18px var(--mono); }
.hunt-toast { position: fixed; z-index: 120; left: 16px; bottom: 16px; padding: 6px 12px; background: #c0c0c0; color: #000; font: bold 11px var(--ui);
  border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 4px 4px 0 rgba(0, 0, 0, .5); transition: opacity .5s; }
.hunt-toast.bye { opacity: 0; }
.pow.small.blurt { width: 176px; height: 136px; margin: -68px 0 0 -88px; padding: 0 38px; font-size: 11px; animation-duration: 2.6s; }
.blurt-word { color: #c4001f; }
@media (max-width: 720px) { .wall-note { font-size: 10px; } .ch7-text { font-size: 9px; } .photo-back { width: 86vw; } }

/* ---------- film cam: FILMCAM.EXE (the web camera) beside a README and the version history ---------- */
.nav-new { font: bold 8px var(--ui); color: #000; background: var(--yellow); padding: 0 3px; margin-left: 3px; vertical-align: super; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.b98 { font: bold 11px var(--ui); color: #000; background: #c0c0c0; border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: inset -1px -1px 0 #808080; padding: 6px 8px; cursor: pointer; }
.b98:active, .b98[aria-pressed="true"] { border-color: #404040 #fff #fff #404040; box-shadow: inset 1px 1px 0 #808080; }
.b98:disabled { color: #808080; text-shadow: 1px 1px 0 #fff; cursor: default; }
.b98:focus-visible { outline: 1px dotted #000; outline-offset: -5px; }
.fc { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 16px; align-items: start; }
.fc-win { min-width: 0; display: flex; flex-direction: column; background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 3px 3px 0 #000; }
.fc-title { display: flex; align-items: center; gap: 6px; padding: 3px 4px 3px 6px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: bold 11px var(--ui); }
.fc-title img { height: 14px; width: auto; }
.fc-x { margin-left: auto; width: 16px; height: 14px; display: grid; place-items: center; background: #c0c0c0; color: #000; font: bold 10px/1 var(--ui); border: 1px solid; border-color: #fff #404040 #404040 #fff; }
.fc-menu { display: flex; gap: 12px; padding: 2px 8px; font-size: 11px; }
.fc-body { display: flex; flex-direction: column; gap: 8px; padding: 6px 8px 8px; min-width: 0; }
.fc-frame { position: relative; height: min(56vh, 520px); background: #000; border: 2px solid; border-color: #808080 #fff #fff #808080; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.fc-frame canvas, .fc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; max-width: none; }
.fc-stamp { position: absolute; right: 10px; bottom: 8px; font: bold 13px/1 var(--mono); color: #ff8a1f; text-shadow: 0 0 4px rgba(255, 120, 0, .6); letter-spacing: 1px; pointer-events: none; white-space: pre; }
.fc-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font: 11px var(--mono); }
.fc-busy[hidden] { display: none; }
.fc-stocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fc-stock { display: grid; gap: 1px; text-align: left; min-width: 0; padding: 5px 4px; }
.fc-stock b { font: 700 clamp(11px, 3vw, 17px)/1.05 "Archivo Narrow", "Arial Narrow", sans-serif; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-stock span { font: 9px var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-stock[aria-pressed="true"] { background: var(--yellow); }
.fc-light { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc-light .b98 { padding: 5px 4px; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-light .b98[aria-pressed="true"] { background: #000; color: var(--yellow); }
.fc-desc { background: #fff; color: #000; border: 2px solid; border-color: #808080 #fff #fff #808080; padding: 5px 7px; font: 10.5px/1.45 var(--ui); min-height: 4.4em; }
.fc-dials { display: grid; gap: 4px; }
.fc-dial { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.fc-dial label { width: 7.5em; flex: none; }
.fc-dial input { flex: 1; min-width: 0; accent-color: #000080; }
.fc-dial output { width: 6ch; text-align: right; font: bold 11px var(--mono); }
.fc-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.fc-row .b98 { padding: 9px 10px; }
.fc-row .b98:first-child { justify-self: start; }
.fc-row .b98:last-child { justify-self: end; }
.fc-shoot { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--bar); border: 3px solid #000; box-shadow: 3px 3px 0 #000, inset 0 0 0 3px #fff; }
.fc-shoot b { font: 900 12px var(--display); color: #fff; letter-spacing: .5px; text-shadow: 2px 2px 0 #000; }
.fc-shoot:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000, inset 0 0 0 3px #fff; }
.fc-status { display: flex; border-top: 1px solid #808080; padding: 2px 3px; gap: 3px; font-size: 10.5px; }
.fc-status > * { border: 1px solid; border-color: #808080 #fff #fff #808080; padding: 1px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fc-status .grow { flex: 1; }
.fc-count { display: inline-flex; gap: 1px; vertical-align: middle; }
.fc-count b { display: inline-block; width: 9px; text-align: center; background: #111; color: #39ff14; font: bold 10px/13px var(--mono); }
.fc-side { display: grid; gap: 16px; min-width: 0; }
.fc-side .win { max-width: none; margin: 0; box-shadow: 3px 3px 0 #000; }
.fc-wait { display: flex; gap: 6px; margin: 4px 0 2px; }
.fc-wait input { flex: 1; min-width: 0; font: 12px var(--ui); padding: 4px 6px; border: 2px solid; border-color: #808080 #fff #fff #808080; background: #fff; }
.fc-wait input:disabled { background: #e6e6e6; }
.fc-dim { color: #555; font-size: 10.5px; }
.fc-log .win-body p { border-bottom: 1px dotted #808080; padding-bottom: 6px; }
.fc-note { margin-top: 10px; min-height: 1.4em; }
@media (max-width: 860px) { .fc { grid-template-columns: minmax(0, 1fr); } .fc-frame { height: min(52vh, 120vw); } .fc-stocks { gap: 4px; } .fc-stock { padding: 5px 3px; } }

/* photos: no drag-out or long-press save menu (see app.js) */
.contact img, .lightbox img, .spread img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.fc-light { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fc-more { font-size: 11px; }
.fc-more summary { cursor: pointer; font-weight: bold; padding: 4px 0; }
.fc-more .fc-dials { margin: 4px 0 6px; }
.fc-reset { font-size: 10.5px; padding: 3px 10px; }
.no-rat .rat { display: none; }

/* Film Cam v0.7.1: controls beside the photo on wide screens, photo pinned on phones, zoom */
.fc { grid-template-columns: minmax(0, 1fr); }
.fc-side { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fc-ctrl { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fc-zoom { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.fc-frame { cursor: zoom-in; }
.fc-frame.zoomed { cursor: grab; }
.fc-frame.zoomed:active { cursor: grabbing; }
.fc-frame.zoomed canvas { image-rendering: pixelated; }
.fc-zbar { position: absolute; left: 6px; top: 6px; display: flex; gap: 2px; z-index: 2; cursor: default; }
.fc-zbar .b98 { min-width: 26px; height: 22px; padding: 0 6px; font: bold 12px/1 var(--ui); }
.fc-zbar .fc-zpct { min-width: 46px; font: bold 10px/1 var(--mono); }
@media (min-width: 861px) {
  .fc-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .fc-frame { height: min(calc(100vh - var(--fc-top, 0px) - 28px), 820px); min-height: 420px; }
  .fc-ctrl { max-height: min(calc(100vh - var(--fc-top, 0px) - 28px), 820px); min-height: 420px; overflow-y: auto; padding-right: 4px; }
  .fc-stocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-stock b { font-size: 16px; }
  .fc-shoot { width: 60px; height: 60px; }
}
@media (max-width: 860px) {
  .fc-frame { position: sticky; top: var(--fc-top, 0px); z-index: 5; height: min(46vh, 110vw); box-shadow: 0 4px 0 #c0c0c0; }
}

/* popup windows (dialog, phone, passwords): a touch bigger, bolder and darker so they read without zooming */
.dialog-body, .hwin-body { font-size: 12.5px; font-weight: bold; color: #000; }
.call p { font: bold 13px/1.45 var(--mono); color: #000; }
.call .sfx { color: #333; }
.hwin-body .dim, .dialog-body .dim { color: #333; }
.dialog .btn { font-weight: bold; }

/* sound toggle in the top strip */
.snd { font: inherit; color: var(--yellow); background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
.snd[aria-pressed="false"] { color: inherit; opacity: .7; }
.snd:focus-visible { outline: 1px solid var(--yellow); outline-offset: 2px; }

/* ---------- the studio credit (matches the YouTube intro) ---------- */
.foot-co { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 18px 0 10px; }
.foot-co img { width: 96px; height: auto; mix-blend-mode: screen; margin-bottom: 4px; }
.foot-co .zh { color: #ff2a1a; font: bold 15px "PingFang TC", "Heiti TC", sans-serif; letter-spacing: .55em; margin-right: -.55em; text-shadow: 0 0 6px rgba(255,40,20,.6); }
.foot-co .en { color: #ffd98a; font: bold 12px Copperplate, "Copperplate Gothic Bold", serif; letter-spacing: .14em; -webkit-font-smoothing: antialiased; text-shadow: 0 0 5px rgba(255,150,40,.55); }
.foot-co small { color: #777; font-size: 10px; }

/* ---------- tapes: the player window ---------- */
.tapeplay { top: 50%; width: 720px; max-width: calc(100vw - 24px); transform: translate(-50%, -50%); z-index: 96; }
.tp-screen { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 4px; border: 2px solid; border-color: #404040 #fff #fff #404040; overflow: hidden; }
.tp-card { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tp-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tp-skip { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(0,0,0,.55); color: #fff; border: 1px solid #fff; font: bold 11px var(--mono); padding: 5px 9px; cursor: pointer; }
.tp-skip:hover { background: var(--red); border-color: var(--red); }
.tape-info .yt-link { font-size: 11px; margin-left: 6px; }
.tv-screen button.play { cursor: pointer; padding: 0; font-family: inherit; }
.tp-out { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); background: var(--red); color: #fff; font: bold 13px var(--mono); padding: 10px 16px; border: 2px solid #fff; text-decoration: none; white-space: nowrap; }
.tp-out:hover { background: #fff; color: #000; }

/* Desktop: spread the nav links evenly across the full bar */
@media (min-width: 900px) {
  .hdr-nav { justify-content: space-between; flex-wrap: nowrap; padding: 10px 36px; font-size: 16px; letter-spacing: .05em; }
  .hdr-nav a { white-space: nowrap; }
  .hdr-nav img { height: 34px; }
  .hdr-nav img[src*="ufo"], .hdr-nav img[src*="alien"] { height: 30px; }
  .hdr-nav .nav-new { font-size: 10px; }
}

/* glasseye wordmark is wide, so size the TV logo by width */
.tv-logo[src*="glasseye"] { height: auto; width: 74%; }

/* footer: the turquoise studio lockup from the YouTube intro (test 11) */
.foot-co img.lockup { width: 110px; margin: 4px 0 6px; mix-blend-mode: normal; opacity: .85; }   /* a little guy, not a banner */
.foot-co .cr { color: #999; font-size: 10px; letter-spacing: .12em; }

/* 4 copies of the ticker text; move by half (2 copies) at the old speed */
.ticker-track { animation-duration: 150s; }

/* Bobby's talking head in his phone calls */
.call .bobby-head { float: right; position: relative; width: 62px; aspect-ratio: 154 / 200; margin: 0 0 6px 10px; overflow: hidden; }
.bobby-head img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bobby-head .jaw[data-o="1"] { transform: translateY(4.5%); }
.bobby-head .jaw[data-o="2"] { transform: translateY(9%); }

/* ---------- the photo floor ---------- */
.floor { position: relative; isolation: isolate; height: max(560px, 78vh); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background: #26231f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 120px rgba(0,0,0,.75); border: 1px solid var(--line); }
/* a print is two faces back to back: the photo on its white border, and the plain paper back */
.print { position: absolute; left: 0; top: 0; width: 150px; padding: 0; background: none; border: 0; cursor: grab; will-change: transform; transform-style: preserve-3d; }
.print .fr, .print .bk { backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #f3efe6;
  box-shadow: calc(var(--lift, 0) * 14px) calc(2px + var(--lift, 0) * 30px) calc(4px + var(--lift, 0) * 26px) rgba(0,0,0,calc(.55 - var(--lift, 0) * .25)); }
.print .fr { position: relative; padding: 6px 6px 20px; }
.print .bk { position: absolute; inset: 0; transform: rotateY(180deg); background: #e9e2d2 repeating-linear-gradient(-30deg, transparent 0 22px, rgba(120,100,70,.06) 22px 24px); }
.print .bk span { position: absolute; right: 8px; top: 6px; font: 9px var(--mono); color: #9a8f7a; letter-spacing: .1em; }
.print .bk::after { content: "KODAK PAPER"; position: absolute; inset: 0; display: grid; place-items: center; font: 9px var(--mono); letter-spacing: .3em; color: #b3a891; transform: rotate(-30deg); }
.print img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.print .fr span { position: absolute; left: 8px; bottom: 3px; font: 10px var(--mono); color: #555; }
.print.pinned { cursor: zoom-in; }
.print.pinned:hover .fr span, .print.pinned:focus-visible .fr span { color: var(--red); }
.print .tape { position: absolute; width: 46px; height: 16px; background: rgba(232, 222, 190, .78); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.print .tape.t1 { top: -7px; left: -12px; transform: rotate(-38deg); }
.print .tape.t2 { bottom: -6px; right: -12px; transform: rotate(-38deg); }
@media (max-width: 720px) {
  .floor { height: 74vh; }
  .print { width: 92px; }
  .print .fr { padding: 4px 4px 14px; }
  .print .fr span { font-size: 8px; left: 5px; bottom: 2px; }
  .print .tape { width: 30px; height: 11px; }
}

/* home: a look inside the zine */
.inside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inside a { display: block; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
@media (max-width: 720px) { .inside { grid-template-columns: minmax(0, 1fr); } }

/* coming soon: pixelated peeks at what's next */
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 660px; margin: 0 auto; }
.soon-card { text-align: center; }
.soon-card b { display: block; margin: 8px 0 4px; font-size: 13px; }
.soon-img { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: #111; }
.soon-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.soon-img.doodle img:first-child { object-fit: contain; padding: 18%; box-sizing: border-box; image-rendering: auto; filter: blur(3px); opacity: .8; }
.soon-img .soon-tba { position: absolute; width: 46%; height: auto; right: 6%; bottom: 6%; transform: rotate(-12deg); object-fit: contain; image-rendering: auto; }
.soon-note { text-align: center; margin-top: 16px; }
@media (max-width: 720px) { .soon { gap: 8px; } .soon-card b { font-size: 11px; } }

/* the merch channel: the reel in its own little box */
.mbox { width: min(100%, 520px); margin: 10px auto 0; aspect-ratio: 4 / 3; background: #000; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.6); }
.mbox canvas { display: block; width: 100%; height: 100%; }
