@charset "UTF-8";

/* =========================================================
   brendonbaugh.com: loud, bright, cartoon-outlined, a little slimy.
   ========================================================= */

:root {
  --ink: #16101e;
  --paper: #fff8e6;
  --slime: #8ee000;
  --slime-hi: #c4ff4d;
  --slime-dark: #4e9a00;
  --orange: #ff7a00;
  --purple: #7a2cf5;
  --purple-deep: #3d1188;
  --pink: #ff3fa4;
  --cyan: #19c6ff;
  --yellow: #ffe14d;
  --red: #ff3b3b;
  --blue: #2340ff;

  --display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --body: "Fredoka", "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --osd: "VT323", "Courier New", monospace;

  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --pad-y: clamp(3.5rem, 6vw, 5.5rem);
  --head-gap: clamp(1.75rem, 3.2vw, 2.75rem);
  --grid-gap: clamp(2rem, 4.5vw, 4rem);
  --content-max: 1180px;

  --outline: 4px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --pop-big: 10px 10px 0 var(--ink);

  /* hero channel colours (swapped by "Change the channel") */
  --hero-bg: var(--purple);
  --hero-dots: rgba(255,255,255,.14);
  --hero-splat: var(--orange);
  --hero-accent: var(--slime);
}

body[data-channel="1"] { --hero-bg: var(--orange); --hero-dots: rgba(22,16,30,.14); --hero-splat: var(--slime); --hero-accent: var(--cyan); }
body[data-channel="2"] { --hero-bg: var(--cyan); --hero-dots: rgba(22,16,30,.14); --hero-splat: var(--pink); --hero-accent: var(--yellow); }
body[data-channel="3"] { --hero-bg: var(--slime); --hero-dots: rgba(22,16,30,.14); --hero-splat: var(--purple); --hero-accent: var(--orange); }
body[data-channel="4"] { --hero-bg: var(--pink); --hero-dots: rgba(255,255,255,.2); --hero-splat: var(--yellow); --hero-accent: var(--cyan); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 500 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--slime); color: var(--ink); }
:focus-visible { outline: 4px dashed var(--pink); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 200; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--yellow); border: var(--outline); border-radius: 12px; font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- shared bits ---------- */
.chunky {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8em 1.3em .7em;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: var(--pop);
  font: 400 clamp(1rem, 1.6vw, 1.25rem)/1 var(--display);
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .12s ease, box-shadow .12s ease;
}
.chunky:hover { transform: translate(-2px, -3px) rotate(-2deg); box-shadow: 9px 10px 0 var(--ink); }
.chunky:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.chunky-green, .chunky-orange, .chunky-yellow { color: var(--ink); }
.chunky-green { background: var(--slime); }
.chunky-big { font-size: clamp(1.15rem, 1.9vw, 1.45rem); padding: .9em 1.5em .8em; }
.chunky-orange { background: var(--orange); }
.chunky-yellow { background: var(--yellow); }
.chunky-red { background: var(--red); color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.chunky-purple { background: var(--purple); color: #fff; text-shadow: 2px 2px 0 var(--ink); }

.section-head { position: relative; z-index: 2; max-width: 820px; margin: 0 auto var(--head-gap); text-align: center; }
.section-head h2 {
  margin: .2em 0 .25em;
  font: 400 clamp(2.4rem, 6vw, 4.6rem)/.95 var(--display);
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 7px 8px 0 var(--ink);
  transform: rotate(-2deg);
}
.section-head p { max-width: 38ch; margin: 0 auto; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; line-height: 1.45; }
.ch-tag {
  display: inline-block; padding: .15em .6em;
  border: 3px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: var(--slime);
  font: 400 1.6rem/1 var(--osd); letter-spacing: .08em;
  transform: rotate(3deg);
}

/* zig-zag top edge for coloured bands */
.zig-top { position: relative; }
.fridge-section::before, .notes-section::before, .shop-section::before, .shorts-section::before, .ad-break::before, .live-section::before, .card-section::before, .find-section::before {
  position: absolute; left: 0; right: 0; top: -27px; height: 28px; content: "";
  background:
    linear-gradient(135deg, var(--band) 50%, transparent 50%) 0 0 / 40px 28px repeat-x,
    linear-gradient(225deg, var(--band) 50%, transparent 50%) 0 0 / 40px 28px repeat-x;
  filter: drop-shadow(0 -4px 0 var(--ink));
}

/* ---------- slime drip on top ---------- */
.slime-top { position: absolute; z-index: 40; top: 0; left: 0; width: 100%; height: 70px; pointer-events: none; }
.slime-top path { fill: var(--slime); stroke: var(--ink); stroke-width: 4; vector-effect: non-scaling-stroke; }

/* ---------- remote / header ---------- */
.remote {
  position: absolute; z-index: 50; top: 34px; left: 0; right: 0;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.network-bug {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .9rem .35rem .45rem;
  border: var(--outline); border-radius: 999px;
  background: var(--paper); box-shadow: 4px 4px 0 var(--ink);
  font: 400 1.5rem/1 var(--display); text-decoration: none;
  transform: rotate(-4deg);
}
.network-bug-mark { padding: .3rem; border-radius: 50%; }
.network-bug-mark img { width: 52px; height: 52px; }
.network-bug img { width: 40px; height: 40px; object-fit: contain; animation: heartbeat 1.6s ease-in-out infinite; }
.network-bug b { margin-left: .15em; padding: 0 .25em; border-radius: 6px; background: var(--pink); color: #fff; font-weight: 400; }
.remote-buttons { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.remote-buttons a {
  display: grid; justify-items: center;
  padding: .32rem .65rem .28rem;
  border: 3px solid var(--ink); border-radius: 14px 14px 20px 20px;
  background: var(--paper); box-shadow: 3px 4px 0 var(--ink);
  font: 400 1rem/1 var(--display); text-decoration: none; text-transform: uppercase;
  transition: transform .12s ease, background .12s ease;
}
.remote-buttons a:nth-child(1) { background: var(--slime); }
.remote-buttons a:nth-child(2) { background: var(--cyan); }
.remote-buttons a:nth-child(3) { background: var(--yellow); }
.remote-buttons a:nth-child(4) { background: var(--pink); }
.remote-buttons a:nth-child(5) { background: var(--orange); }
.remote-buttons a:nth-child(6) { background: var(--purple); color: #fff; }
.remote-buttons a:nth-child(7) { background: var(--paper); }
.remote-buttons a small { font: 400 .95rem/1 var(--osd); letter-spacing: .06em; }
.remote-buttons a:hover { transform: translateY(-4px) rotate(-4deg) scale(1.06); }
.remote-buttons a:active { transform: translateY(2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(86vh, 820px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 4vw, 4rem);
  padding: 120px max(var(--pad-x), calc((100vw - 1320px) / 2)) 80px;
  background: var(--hero-bg);
  transition: background-color .25s steps(3);
}
.hero-pattern {
  position: absolute; z-index: -1; inset: 0;
  background-image:
    radial-gradient(var(--hero-dots) 3px, transparent 3.5px),
    radial-gradient(var(--hero-dots) 3px, transparent 3.5px);
  background-size: 38px 38px; background-position: 0 0, 19px 19px;
}
.tv-osd {
  position: absolute; top: 140px; right: clamp(1rem, 3vw, 2.5rem); z-index: 3;
  display: grid; justify-items: end; gap: .3rem;
  color: #fff; font: 400 2.2rem/1 var(--osd); text-shadow: 3px 3px 0 var(--ink);
}
.osd-live { display: inline-flex; align-items: center; gap: .4rem; font-size: 1.4rem; }
.osd-live i { width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); animation: blink 1s steps(2) infinite; }

.hero-copy { position: relative; z-index: 4; }
.hero-presents {
  display: inline-block; margin: 0 0 1rem;
  padding: .4rem 1rem; border: 3px solid var(--ink); border-radius: 10px;
  background: var(--paper); box-shadow: 4px 4px 0 var(--ink);
  font: 400 1.05rem/1.2 var(--marker); transform: rotate(-3deg);
}
.hero-title { margin: 0; line-height: .82; }
.wobble-word { display: flex; flex-wrap: nowrap; white-space: nowrap; font: 400 clamp(3.6rem, 9.2vw, 9.6rem)/.9 var(--display); }
.wobble-word b {
  display: inline-block; font-weight: 400;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 7px 0 var(--ink);
  animation: letter-bob 2.4s ease-in-out infinite;
}
.wobble-word b:nth-child(1) { color: var(--yellow); rotate: -8deg; animation-delay: 0s; }
.wobble-word b:nth-child(2) { color: var(--slime); rotate: 6deg; translate: 0 10px; animation-delay: .15s; }
.wobble-word b:nth-child(3) { color: var(--cyan); rotate: -4deg; animation-delay: .3s; }
.wobble-word b:nth-child(4) { color: var(--pink); rotate: 9deg; translate: 0 -8px; animation-delay: .45s; }
.wobble-word b:nth-child(5) { color: var(--paper); rotate: -6deg; translate: 0 12px; animation-delay: .6s; }
.wobble-word b:nth-child(6) { color: var(--orange); rotate: 5deg; animation-delay: .75s; }
.wobble-word b:nth-child(7) { color: var(--yellow); rotate: -10deg; translate: 0 6px; animation-delay: .9s; }
body[data-channel="1"] .wobble-word b:nth-child(6),
body[data-channel="3"] .wobble-word b:nth-child(2) { color: var(--paper); }
.hero-show {
  position: relative; z-index: 2; display: inline-block; margin: -.32em 0 0 1.6em; padding: .12em .45em .02em;
  border: 4px solid var(--ink); border-radius: 18px 8px 22px 10px;
  background: var(--hero-accent); box-shadow: var(--pop);
  font: 400 clamp(2.2rem, 5vw, 4.4rem)/1 var(--display);
  transform: rotate(-4deg);
  animation: jiggle 3s ease-in-out infinite;
}
.hero-tagline {
  max-width: 32rem; margin: 1.6rem 0 1.5rem; padding: 1rem 1.3rem;
  border: var(--outline); border-radius: 22px 22px 22px 6px;
  background: var(--paper); box-shadow: var(--pop);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; line-height: 1.35;
}
.tagline-flip { display: block; margin-top: .35rem; color: var(--purple); font-family: var(--marker); font-weight: 400; }
body[data-channel="0"] .tagline-flip { color: var(--orange); }
.tagline-flip span { display: inline-block; }
.tagline-flip span.is-flipping { animation: flip-in .45s ease; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem 1rem; }

.hero-star { position: relative; z-index: 2; justify-self: center; width: min(100%, 620px); aspect-ratio: 1; }
.hero-splat { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; animation: splat-spin 40s linear infinite; }
.hero-splat use { fill: var(--hero-splat); stroke: var(--ink); stroke-width: 3.5; transition: fill .25s steps(3); }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(4px 4px 0 var(--paper)) drop-shadow(-4px -4px 0 var(--paper)) drop-shadow(9px 10px 0 var(--ink));
  will-change: transform;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(-3deg);
  transition: transform .2s ease-out;
}
.speech-bubble {
  position: absolute; top: 4%; left: -4%;
  padding: .7rem 1rem; border: var(--outline); border-radius: 50%;
  background: var(--paper); box-shadow: var(--pop);
  font: 400 1.15rem/1.05 var(--marker); text-align: center;
  transform: rotate(-10deg);
  animation: bubble-pop 4s ease-in-out infinite;
}
.speech-bubble::after { position: absolute; right: 12px; bottom: -22px; width: 26px; height: 30px; content: ""; background: var(--paper); border-right: 4px solid var(--ink); border-bottom: 4px solid var(--ink); transform: skewX(30deg) rotate(20deg); }
.hero-heart { position: absolute; right: 2%; bottom: 8%; width: 22%; filter: drop-shadow(5px 6px 0 var(--ink)); animation: heartbeat 1.3s ease-in-out infinite; }

.doodad { position: absolute; z-index: 1; pointer-events: none; }
.doodad use { stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.d-bolt { top: 20%; left: 52%; width: 62px; rotate: 18deg; animation: float 3.4s ease-in-out infinite; }
.d-bolt use { fill: var(--yellow); }
.d-star-2 { top: 22%; right: max(4%, calc((100vw - 1320px) / 2 - 20px)); width: 44px; animation: spin 6s linear infinite reverse; }
.d-star-2 use { fill: var(--cyan); }
.hero-hint { position: absolute; z-index: 3; left: 50%; bottom: 40px; translate: -50% 0; color: var(--paper); font: 400 1rem var(--marker); text-shadow: 2px 2px 0 var(--ink); rotate: -2deg; }

.click-splat { position: absolute; z-index: 1; width: 120px; height: 120px; pointer-events: none; translate: -50% -50%; animation: splat-in .35s cubic-bezier(.2, 1.8, .4, 1) both; }
.click-splat use { stroke: var(--ink); stroke-width: 4; }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 5; overflow: hidden; border-block: var(--outline); background: var(--yellow); transform: rotate(-1.4deg) scale(1.03); margin-top: -18px; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-time, 26s) linear infinite; }
.marquee span { padding: .55rem 0; font: 400 1.6rem/1 var(--display); white-space: nowrap; }

/* ---------- CH 03: SHORTS ---------- */
.shorts-section { --band: var(--orange); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--orange); }
.shorts-section::after { position: absolute; inset: 0; content: ""; pointer-events: none; background-image: radial-gradient(rgba(22,16,30,.15) 2px, transparent 2.5px); background-size: 22px 22px; }
.shorts-section .section-head h2 { color: var(--paper); }
.tv-room { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: var(--content-max); margin: 0 auto; }
.big-tv { position: relative; padding-top: 62px; justify-self: center; }
.antenna { position: absolute; top: 0; left: 50%; width: 6px; height: 90px; background: var(--ink); border-radius: 3px; transform-origin: bottom; }
.antenna::after { position: absolute; top: -10px; left: -7px; width: 20px; height: 20px; content: ""; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); }
.a-left { rotate: -32deg; translate: -40px 0; animation: antenna-wiggle 3s ease-in-out infinite; }
.a-right { rotate: 28deg; translate: 20px 0; animation: antenna-wiggle 3.6s ease-in-out infinite reverse; }
.big-tv-body {
  position: relative; display: flex; gap: 14px; padding: 18px;
  border: 5px solid var(--ink); border-radius: 36px 36px 30px 30px;
  background: var(--purple); box-shadow: var(--pop-big);
  rotate: -2deg;
}
.screen-static { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.big-tv-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 58px; padding-top: 10px; }
.knob { width: 46px; height: 46px; border: 4px solid var(--ink); border-radius: 50%; background: conic-gradient(var(--yellow) 0 10%, var(--paper) 10% 100%); box-shadow: 3px 3px 0 var(--ink); }
.knob:nth-child(2) { background: conic-gradient(var(--slime) 0 10%, var(--paper) 10% 100%); rotate: 120deg; }
.speaker { width: 40px; flex: 1; min-height: 80px; border: 4px solid var(--ink); border-radius: 10px; background: repeating-linear-gradient(var(--ink) 0 4px, transparent 4px 10px); }
.tv-brand { color: var(--paper); font: 400 .8rem/1 var(--display); text-align: center; text-shadow: 1px 1px 0 var(--ink); }
.tv-feet { display: flex; justify-content: space-between; padding: 0 50px; }
.tv-feet i { width: 26px; height: 22px; border: 4px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px; background: var(--purple-deep); }

.video-noscript-links { margin: 0; }

/* ---------- CH 03: the channel-surfing TV ---------- */
.main-tv { position: relative; padding-top: 58px; }
.main-tv .antenna { height: 80px; }
.main-tv-body { position: relative; display: flex; gap: 14px; padding: 16px; border: 6px solid var(--ink); border-radius: 34px 34px 28px 28px; background: var(--purple); box-shadow: var(--pop-big); rotate: -1deg; }
.main-tv-screen { position: relative; flex: 1; overflow: hidden; aspect-ratio: 16 / 10; border: 6px solid var(--ink); border-radius: 30px / 36px; background: #0b0b10; box-shadow: inset 0 0 50px rgba(0,0,0,.9); }
.main-tv-screen::after { position: absolute; inset: 0; z-index: 4; content: ""; pointer-events: none; background: repeating-linear-gradient(rgba(0,0,0,.14) 0 2px, transparent 2px 4px), radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.12), transparent 45%); }
.main-tv-screen.is-switching .screen-static { animation: static-burst .45s steps(4); }
.screen-static { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tv-content { position: absolute; inset: 0; }
.tv-frame { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.tv-frame.is-vertical { left: 50%; width: auto; aspect-ratio: 9 / 16; translate: -50% 0; box-shadow: 0 0 0 4px var(--ink); }
.tv-osd { position: absolute; top: 14px; right: 18px; z-index: 6; color: var(--slime); font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--osd); letter-spacing: .06em; text-shadow: 0 0 10px rgba(142,224,0,.8), 2px 2px 0 #000; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tv-osd.is-on { opacity: 1; }
.tv-poster { position: absolute; inset: 0; display: grid; align-content: end; justify-items: start; gap: .3rem; padding: 1rem 1.2rem; color: #fff; }
.tv-poster::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(transparent 40%, rgba(0,0,0,.85)); }
.tv-poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-poster.is-vertical .tv-poster-bg, .tv-content > .tv-poster-bg { filter: blur(18px) brightness(.55); transform: scale(1.15); }
.tv-poster-fg { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; translate: -50% 0; box-shadow: 0 0 0 4px var(--ink); }
.tv-poster-sub, .tv-poster-title, .tv-poster-link { position: relative; z-index: 2; }
.tv-poster-sub { padding: .15rem .5rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); color: var(--ink); font: 400 .95rem/1 var(--display); }
.tv-poster-title { max-width: 80%; font: 400 clamp(1.2rem, 2.6vw, 2rem)/1.05 var(--display); text-shadow: 3px 3px 0 #000; }
.tv-poster-link { color: #fff; font-weight: 700; font-size: .9rem; }
.tv-play { position: absolute; top: 50%; left: 50%; z-index: 3; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); translate: -50% -60%; border: 5px solid var(--ink); border-radius: 50%; background: var(--slime); box-shadow: 5px 5px 0 var(--ink); font-size: clamp(1.6rem, 2.6vw, 2.2rem); transition: transform .15s; }
.tv-play:hover { transform: scale(1.12) rotate(-8deg); }
.tv-off, .tv-promo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 1rem; color: #fff; text-align: center; text-decoration: none; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"), #111; }
.tv-off-ch { color: var(--slime); font: 400 1.2rem/1 var(--osd); letter-spacing: .1em; }
.tv-off b { font: 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); }
.tv-off a { color: var(--yellow); font-weight: 700; }
.tv-promo { background: repeating-conic-gradient(from 0deg at 50% 50%, var(--purple) 0 10deg, #8a42ff 10deg 20deg); }
.tv-promo span { padding: .15rem .5rem; border-radius: 6px; background: var(--ink); color: var(--slime); font: 400 1.1rem/1 var(--osd); }
.tv-promo b { color: var(--slime); font: 400 clamp(2.4rem, 6vw, 4.4rem)/.9 var(--display); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 6px 0 var(--ink); }
.tv-promo em { font-style: normal; font-weight: 700; }
.main-tv-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 62px; padding-top: 6px; }
.knob-btn { display: grid; place-items: center; padding: 0; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: rotate .2s; }
.knob-btn:hover { rotate: 25deg; }
.knob-btn:active { rotate: -25deg; }
.ch-pad { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ch-pad button { width: 26px; height: 24px; padding: 0; border: 2px solid var(--ink); border-radius: 5px; background: var(--paper); font: 400 .9rem/1 var(--osd); cursor: pointer; }
.ch-pad button:last-child { grid-column: span 2; width: auto; }
.ch-pad button[aria-pressed="true"] { background: var(--slime); box-shadow: inset 0 0 0 2px var(--ink); }
.main-tv .speaker { min-height: 50px; }
.tv-guide-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.tv-guide-strip button { padding: .3rem .65rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); box-shadow: 2px 3px 0 var(--ink); font: 400 .9rem/1 var(--display); cursor: pointer; }
.tv-guide-strip button b { margin-right: .2rem; color: var(--purple); font-weight: 400; }
.tv-guide-strip button[aria-pressed="true"] { background: var(--yellow); translate: 0 -2px; }
.crt-label { border: 0; background: none; cursor: pointer; font: 400 1rem/1 var(--osd); text-align: left; }
.crt-label i { font-style: normal; opacity: .75; }
.crt-label:hover i, .crt-label.is-on-air i { opacity: 1; text-decoration: underline; }
.crt-label.is-on-air::after { background: var(--red) !important; box-shadow: 0 0 8px var(--red) !important; }

/* ---------- the reel (animated film strip) ---------- */
.film { position: relative; z-index: 2; max-width: var(--content-max); margin: clamp(1.6rem, 3.5vw, 2.6rem) auto 0; }
.film-label { margin: 0 0 .5rem; font: 400 1.5rem var(--marker); rotate: -1.5deg; }
.film-label span { font: 600 .9rem var(--body); }
.film-strip {
  position: relative; overflow: hidden; padding: 26px 0; border: 5px solid var(--ink); border-radius: 6px; background: #17121c; box-shadow: var(--pop); rotate: -.8deg;
  --holes: repeating-linear-gradient(90deg, transparent 0 10px, #f5e9d0 10px 24px, transparent 24px 34px);
}
.film-strip::before, .film-strip::after { position: absolute; left: 0; right: 0; z-index: 2; height: 12px; content: ""; background: var(--holes); border-radius: 2px; }
.film-strip::before { top: 7px; } .film-strip::after { bottom: 7px; }
.film-track { display: flex; gap: 12px; width: max-content; padding: 0 6px; animation: film-roll var(--film-speed, 48s) linear infinite; }
.film-strip:hover .film-track, .film-track.is-paused { animation-play-state: paused; }
@keyframes film-roll { to { transform: translateX(-50%); } }
.film-frame { position: relative; display: grid; grid-template-rows: auto auto; width: 168px; padding: 0; border: 3px solid #000; border-radius: 4px; background: #000; color: #f5e9d0; text-align: left; cursor: pointer; transition: transform .15s ease; }
.film-frame img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; }
.film-frame span { display: grid; gap: .15rem; padding: .35rem .45rem .45rem; font: 700 .82rem/1.15 var(--body); }
.film-frame small { color: var(--yellow); font: 400 .9rem/1 var(--osd); letter-spacing: .06em; }
.film-frame:hover, .film-frame:focus-visible { transform: translateY(-6px) scale(1.04); z-index: 3; }
.film-frame.is-playing { outline: 4px solid var(--slime); outline-offset: -4px; }
.film-frame.is-playing::after { position: absolute; top: 8px; right: 8px; padding: .15rem .4rem; content: "ON TV"; border: 2px solid var(--ink); border-radius: 5px; background: var(--red); color: #fff; font: 400 .75rem/1 var(--display); }
.film-actions { margin: 1rem 0 0; }
body.motion-paused .film-track { animation-play-state: paused; }

/* ---------- COMMERCIAL BREAK: LYNUP ---------- */
.ad-break { --band: var(--purple); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--purple); background-image: repeating-conic-gradient(from 0deg at 50% 45%, var(--purple) 0 10deg, #8a42ff 10deg 20deg); }
.ad-warning { max-width: max-content; margin: 0 auto var(--head-gap); padding: .6rem 1.4rem; border: var(--outline); border-radius: 10px; background: var(--ink); color: var(--yellow); font: 400 clamp(1.2rem, 2.3vw, 1.8rem)/1 var(--osd); letter-spacing: .06em; text-align: center; }
.ad-warning span { color: var(--pink); animation: blink 1s steps(2) infinite; }
.cereal-box { position: relative; display: flex; justify-content: center; max-width: 820px; margin: 0 auto; perspective: 1400px; }
.box-front {
  position: relative; z-index: 2; flex: 1; max-width: 600px;
  padding: clamp(2.2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem) clamp(1.8rem, 3vw, 2.4rem);
  border: 6px solid var(--ink); border-radius: 18px;
  background: linear-gradient(170deg, var(--yellow) 0 62%, var(--orange) 62%);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotateY(-8deg) rotate(-1.5deg);
  transform-origin: right;
}
.box-burst { position: absolute; top: -50px; right: -40px; width: 150px; height: 150px; display: grid; place-items: center; animation: spin 14s linear infinite; }
.box-burst svg { position: absolute; inset: 0; overflow: visible; }
.box-burst use { fill: var(--red); stroke: var(--ink); stroke-width: 4; }
.box-burst b { position: relative; color: #fff; font: 400 2rem/1 var(--display); text-shadow: 3px 3px 0 var(--ink); rotate: 14deg; }
.box-maker { margin: 0 0 .6rem; font: 400 1rem var(--marker); rotate: -3deg; }
.box-title {
  margin: .1rem 0 .2rem; color: var(--slime);
  font: 400 clamp(4rem, 13vw, 9rem)/.85 var(--display); letter-spacing: .02em;
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill;
  text-shadow: 7px 8px 0 var(--ink);
  rotate: -3deg;
}
.box-sub { margin: .5rem 0 1.1rem; font-weight: 700; font-size: 1.15rem; }
.box-claims { display: grid; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.box-claims li { display: flex; gap: .55rem; align-items: center; max-width: max-content; padding: .35rem .8rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 700; }
.box-claims li::before { content: "✔"; color: var(--slime-dark); font-size: 1.2rem; }
.box-claims li:nth-child(2) { margin-left: 1.2rem; rotate: 1deg; }
.box-fine { margin: 1.1rem 0 0; font-size: .82rem; font-weight: 600; opacity: .85; }
.box-side {
  position: relative; z-index: 1; width: 170px; margin-left: -14px; margin-top: 40px; margin-bottom: 40px;
  padding: 1.2rem .9rem; border: 6px solid var(--ink); border-radius: 12px;
  background: var(--paper);
  transform: rotateY(28deg); transform-origin: left;
  font-weight: 700;
}
.box-side span { display: block; padding-bottom: .4rem; border-bottom: 6px solid var(--ink); font: 400 1.25rem/1 var(--display); }
.box-side dl { margin: .5rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .2rem .4rem; border-bottom: 3px solid var(--ink); }
.box-side dt, .box-side dd { margin: 0; padding: .3rem 0; border-top: 2px solid var(--ink); }

/* ---------- CH 05: TV GUIDE ---------- */
.live-section { --band: var(--slime); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--slime); }
.live-section::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.3) 0 60px, transparent 61px), radial-gradient(circle at 82% 70%, rgba(255,255,255,.25) 0 90px, transparent 91px), radial-gradient(circle at 60% 15%, rgba(255,255,255,.2) 0 30px, transparent 31px); }
.live-section .section-head h2 { color: var(--purple); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 7px 8px 0 var(--paper); }
.tv-guide {
  position: relative; z-index: 2; max-width: var(--content-max); margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem); border: 6px solid var(--ink); border-radius: 24px;
  background: var(--blue); box-shadow: var(--pop-big);
  color: var(--yellow); font-family: var(--osd);
}
.guide-sample { position: absolute; top: -20px; right: 28px; padding: .35rem .8rem; border: 3px solid var(--ink); border-radius: 8px; background: var(--yellow); color: var(--ink); font: 400 1rem/1 var(--display); rotate: 4deg; box-shadow: 3px 3px 0 var(--ink); }
.guide-sample[hidden] { display: none; }
.guide-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; padding: .6rem 1rem; border: 3px solid var(--ink); border-radius: 12px; background: var(--ink); }
.guide-logo { color: var(--paper); font: 400 1.5rem/1 var(--display); letter-spacing: .02em; }
.guide-logo b { display: inline-block; margin-left: .2em; padding: .32em .25em 0; line-height: .83; border-radius: 5px; background: var(--yellow); color: var(--ink); font-weight: 400; }
.guide-onnow { display: inline-flex; align-items: center; gap: .4rem; color: var(--red); font-size: 1.5rem; }
.guide-onnow[hidden] { display: none; }
.guide-onnow i { width: 13px; height: 13px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
.guide-clock { margin-left: auto; color: var(--slime); font-size: 1.7rem; }
.guide-clock small { color: var(--paper); font-size: 1.1rem; }
.guide-grid { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.guide-day { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: .7rem; }
.g-day { display: grid; place-content: center; justify-items: center; gap: .3rem; padding: .6rem; border: 3px solid var(--ink); border-radius: 10px; background: #1a2fd0; color: var(--paper); font: 400 1.6rem/1 var(--display); }
.g-day small { padding: .1rem .35rem; border-radius: 4px; background: var(--pink); color: #fff; font: 400 .95rem/1 var(--osd); letter-spacing: .05em; }
.is-today .g-day { background: var(--yellow); color: var(--ink); rotate: -2deg; box-shadow: 3px 3px 0 var(--ink); }
.g-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .5rem; }
.program { position: relative; display: grid; gap: .3rem; align-content: start; margin: 0; padding: .8rem 1rem .9rem; border: 3px solid var(--ink); border-radius: 10px; background: #1a2fd0; color: #cbd3ff; font-size: 1.3rem; line-height: 1.1; }
.is-today .program:not(.program-off) { background: var(--purple); }
.program h3 { margin: 0; color: var(--paper); font: 400 1.25rem/1.05 var(--display); letter-spacing: .02em; }
.program p { margin: 0; }
.p-time { color: var(--yellow); font-size: 1.35rem; }
.p-rate { justify-self: start; margin-top: .25rem; padding: .1rem .45rem; border: 2px solid var(--pink); border-radius: 5px; color: var(--pink); font-size: 1.1rem; }
.program.is-live { background: var(--red); color: #fff; animation: live-pulse 1.4s ease-in-out infinite; }
.program.is-live .p-rate { border-color: #fff; background: #fff; color: var(--red); }
.program-off {
  grid-column: 1 / -1; display: flex; align-items: center; min-height: 54px;
  color: rgba(255,255,255,.75); font-size: 1.35rem; letter-spacing: .05em;
  background:
    linear-gradient(rgba(10,18,90,.72), rgba(10,18,90,.72)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.guide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.1rem; padding: 0 .3rem .3rem; }
.guide-foot:not(:has(.guide-note)) { justify-content: center; }
.guide-note { max-width: 46ch; margin: 0; color: var(--paper); font-size: 1.4rem; line-height: 1.15; }
.tv-guide .chunky { font-family: var(--display); }

/* ---------- CH 07: TRADING CARD ---------- */
.card-section { --band: var(--pink); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--pink); }
.card-section::after { position: absolute; inset: 0; content: ""; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.14) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.14) 2px, transparent 2px); background-size: 46px 46px; }
.card-layout { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--grid-gap); align-items: center; max-width: var(--content-max); margin: 0 auto; }
.trading-card { width: clamp(270px, 28vw, 340px); aspect-ratio: 5 / 7; padding: 0; border: 0; background: none; perspective: 1200px; rotate: -4deg; transition: rotate .3s; }
.trading-card:hover { rotate: 0deg; }
.card-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.trading-card[aria-pressed="true"] .card-inner { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; inset: 0; display: flex; flex-direction: column; border: 6px solid var(--ink); border-radius: 20px; box-shadow: var(--pop-big); backface-visibility: hidden; overflow: hidden; }
.card-front { gap: .45rem; padding: .7rem; background: var(--yellow); text-align: left; }
.card-holo { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .45; background: linear-gradient(115deg, transparent 20%, #ff8ad8 35%, #8af1ff 50%, #d6ff8a 65%, transparent 80%); background-size: 250% 250%; animation: holo 4s linear infinite; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; font: 400 1.6rem/1 var(--display); }
.card-top i { font: 400 1.3rem/1 var(--osd); color: var(--red); font-style: normal; }
.card-art { flex: 1; min-height: 0; border: 4px solid var(--ink); border-radius: 8px; background: radial-gradient(circle, var(--orange), var(--red)); overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.3); }
.card-type { padding: .2rem .4rem; border: 3px solid var(--ink); border-radius: 6px; background: var(--paper); font-size: .78rem; font-weight: 700; text-align: center; }
.card-move { display: grid; grid-template-columns: 1fr auto; gap: 0 .4rem; padding: .15rem .3rem; border-bottom: 2px dashed var(--ink); font-size: .78rem; line-height: 1.2; }
.card-move b { grid-column: 1; font: 400 1rem/1 var(--display); }
.card-move i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 400 1.7rem/1 var(--display); font-style: normal; }
.card-foot { font: 400 .95rem/1 var(--osd); text-align: right; }
.card-back { display: grid; place-content: center; justify-items: center; gap: .6rem; background: repeating-conic-gradient(var(--purple) 0 15deg, #8a42ff 15deg 30deg); color: var(--paper); transform: rotateY(180deg); text-align: center; }
.card-back img { width: 140px; filter: drop-shadow(5px 5px 0 var(--ink)); }
.card-back b { font: 400 2.4rem/1 var(--display); text-shadow: 4px 4px 0 var(--ink); }
.card-back small { font-weight: 700; }

.about-notes { display: grid; gap: 1.5rem; }
.note { position: relative; padding: 1.4rem 1.6rem; border: var(--outline); border-radius: 6px; box-shadow: var(--pop); }
.note::before { position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; content: ""; translate: -50% 0; background: rgba(255,255,255,.6); border: 2px solid rgba(22,16,30,.3); rotate: -3deg; }
.note h3 { margin: 0 0 .7rem; font: 400 1.6rem/1 var(--display); }
.note p { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.note-yellow { background: var(--yellow); rotate: 1.5deg; }
.note-blue { background: var(--cyan); rotate: -1.2deg; margin-left: 1.5rem; }
.stat-bars { display: grid; gap: .8rem; padding: 1.3rem 1.6rem; border: var(--outline); border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--pop); }
.stat { display: grid; grid-template-columns: 11rem 1fr; gap: .8rem; align-items: center; margin: 0; font: 400 1.35rem/1 var(--osd); }
.stat meter { width: 100%; height: 20px; }
.stat meter::-webkit-meter-bar { background: #3a3046; border: 2px solid var(--paper); border-radius: 4px; height: 20px; }
.stat meter::-webkit-meter-optimum-value { background: repeating-linear-gradient(90deg, var(--slime) 0 12px, var(--slime-dark) 12px 14px); }
.stat meter::-moz-meter-bar { background: var(--slime); }

/* ---------- FIND ME ---------- */
.find-section { --band: var(--yellow); position: relative; padding: var(--pad-y) var(--pad-x) calc(var(--pad-y) + 1rem); background: var(--yellow); text-align: center; }
.find-title { margin: 0 0 var(--head-gap); font: 400 clamp(2.6rem, 7vw, 5rem)/1 var(--display); color: var(--pink); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 7px 8px 0 var(--ink); rotate: 2deg; }
.sticker-sheet { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 1.8rem; max-width: 1240px; margin: 0 auto; }
.sticker {
  display: grid; place-content: center; gap: .2rem;
  width: 170px; height: 150px; padding: 1rem;
  border: 5px solid var(--ink); box-shadow: 0 0 0 6px #fff, 8px 9px 0 6px var(--ink);
  text-decoration: none;
  transition: transform .18s cubic-bezier(.3, 1.8, .5, 1);
}
.sticker b { font: 400 1.6rem/1 var(--display); }
.sticker small { font-weight: 700; }
.sticker:hover { transform: scale(1.12) rotate(0deg) !important; z-index: 2; }
.s-twitch { background: var(--purple); color: #fff; border-radius: 50% 50% 46% 54% / 60% 52% 48% 40%; transform: rotate(-6deg); }
.s-youtube { background: var(--red); color: #fff; border-radius: 22px; transform: rotate(4deg); }
.s-insta { background: var(--pink); color: #fff; border-radius: 50%; transform: rotate(-3deg) translateY(10px); }
.s-discord { background: var(--cyan); border-radius: 40px 10px 40px 10px; transform: rotate(5deg); }
.s-tiktok { background: var(--ink); color: var(--slime); border-radius: 16px 40px 16px 40px; transform: rotate(3deg) translateY(8px); }
.s-lynup { background: var(--slime); border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; transform: rotate(-4deg) translateY(-6px); }
.s-twitch b, .s-youtube b, .s-insta b { text-shadow: 2px 2px 0 var(--ink); }

/* ---------- CH 01: THE FRIDGE ---------- */
.fridge-section { --band: #fff1c9; position: relative; padding: var(--pad-y) var(--pad-x); background: #fff1c9; background-image: linear-gradient(45deg, rgba(25,198,255,.18) 25%, transparent 25%, transparent 75%, rgba(25,198,255,.18) 75%), linear-gradient(45deg, rgba(25,198,255,.18) 25%, transparent 25%, transparent 75%, rgba(25,198,255,.18) 75%); background-size: 56px 56px; background-position: 0 0, 28px 28px; }
.fridge-section { padding-top: clamp(2.5rem, 4.5vw, 3.75rem); }
.fridge-section .section-head { margin-bottom: clamp(1.1rem, 2vw, 1.6rem); }
.fridge-section .section-head h2 { margin-bottom: 0; color: var(--cyan); }
.fridge { position: relative; z-index: 2; max-width: var(--content-max); margin: 0 auto; border: 6px solid var(--ink); border-radius: 40px 40px 30px 30px; background: linear-gradient(90deg, #8fdcc0, #b5f0db 40%, #9fe5cb); box-shadow: var(--pop-big), inset -14px 0 0 rgba(0,0,0,.05); overflow: hidden; }
.freezer { position: relative; padding: .9rem 1.2rem 1rem; border-bottom: 6px solid var(--ink); }
.freezer-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin: 0 0 .4rem; font: 400 1.25rem/1 var(--display); }
.freezer-label span { color: #2c6b56; font: 600 .85rem/1 var(--body); }
.poetry { position: relative; height: clamp(150px, 16vw, 190px); touch-action: none; }
.mag { position: absolute; padding: .2rem .45rem .15rem; border: 0; border-radius: 2px; background: #fffdf5; color: var(--ink); box-shadow: 1px 2px 0 rgba(0,0,0,.35); font: 600 clamp(.78rem, 1.1vw, .95rem)/1.1 "Times New Roman", Georgia, serif; cursor: grab; user-select: none; touch-action: none; transition: left .5s cubic-bezier(.3, 1.4, .5, 1), top .5s cubic-bezier(.3, 1.4, .5, 1), transform .15s; rotate: var(--r, 0deg); }
.mag:nth-child(3n) { --r: -2deg; } .mag:nth-child(4n) { --r: 1.5deg; } .mag:nth-child(7n) { --r: -1deg; }
.mag.is-held { cursor: grabbing; transform: scale(1.15); box-shadow: 4px 6px 0 rgba(0,0,0,.3); transition: none; }
.mag.is-remote { background: var(--yellow); }
.mag.is-tired { animation: lobe-shake .3s 2; }
@keyframes lobe-shake { 50% { transform: translateX(3px); } }
.fridge-door { position: relative; padding: 1.3rem 4.2rem 1rem 1.3rem; }
.fridge-handle { position: absolute; top: 1.4rem; right: 1.1rem; bottom: 1.4rem; width: 22px; border: 4px solid var(--ink); border-radius: 12px; background: linear-gradient(90deg, #f4f4f4, #b9b9b9 60%, #e6e6e6); box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.fridge-badge { position: absolute; right: 3.8rem; bottom: .7rem; padding: .15rem .5rem; border: 2px solid #7a7a7a; border-radius: 4px; background: linear-gradient(#f2f2f2, #bdbdbd); color: #555; font: 400 .85rem/1 var(--display); letter-spacing: .1em; }
.fridge-badge b { color: var(--pink); font-weight: 400; }
.fridge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.1rem 1.3rem; align-items: stretch; }
.fn-verse { align-content: center; }
.fridge-board { display: flex; flex-wrap: wrap; gap: 1.5rem 1.3rem; align-items: flex-start; margin-top: 1.6rem; }
.fb-col { display: flex; flex: 1 1 230px; flex-direction: column; gap: 1.5rem; min-width: 0; }
.fb-col > .fn:empty { display: none; }

/* notes held by magnets */
.fn { position: relative; padding: 1rem 1rem .85rem; border: var(--outline); border-radius: 4px; background: #fff; box-shadow: 4px 5px 0 rgba(22,16,30,.55); transition: translate .15s ease, box-shadow .15s ease; }
.fn:empty { display: none; }
.fn:hover { translate: 0 -3px; box-shadow: 6px 8px 0 rgba(22,16,30,.55); }
.fn::before { position: absolute; top: -13px; left: 50%; z-index: 4; width: 30px; height: 22px; translate: -50% 0; content: ""; border: 3px solid var(--ink); border-radius: 50% 50% 40% 40%; background: var(--mag, var(--red)); box-shadow: 2px 3px 0 var(--ink); }
.fn.is-switching { animation: pin-wiggle .6s ease; }
@keyframes pin-wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(4deg) scale(1.04); } 50% { transform: rotate(-3deg); } 75% { transform: rotate(2deg); } }
.fn a { display: grid; gap: .3rem; color: var(--ink); text-decoration: none; }
.fn-kicker { color: var(--purple); font: 400 1rem/1 var(--osd); letter-spacing: .08em; }
.fn-kicker time { color: inherit; }
.fn-meta { font-size: .85rem; font-weight: 700; }
.fn-blank { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border: 3px solid var(--ink); border-radius: 2px; background: var(--paper); font-size: 2rem; }
.fn-status { --mag: var(--purple); background: var(--paper); rotate: -1deg; }
.fn-next { display: grid; gap: .35rem; justify-items: start; }
.fn-big { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--display); color: var(--ink); text-decoration: none; }
a.fn-big:hover { color: var(--purple); }
.fn .fn-btn-twitch { background: var(--purple); color: #fff !important; text-shadow: 1px 1px 0 var(--ink); }
.fn-next .fn-row { display: flex !important; }
.fn-when { font-weight: 700; }
.fn-local { color: var(--purple); font-weight: 600; }
.fn-count { padding: .2rem .5rem; border-radius: 8px; background: var(--ink); color: var(--slime); font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--osd); letter-spacing: .04em; }
.fn-next.is-soon .fn-count { color: var(--yellow); animation: blink 2s steps(2) infinite; }
.fn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.fn-btn { display: inline-flex !important; padding: .4rem .8rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--slime); box-shadow: 2px 2px 0 var(--ink); font: 400 .95rem/1 var(--display); }
.fn-btn-ghost { background: #fff; }
.fn-live { display: grid; gap: .6rem; }
.fn-live-head b { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.05 var(--display); }
.fn-onair { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; padding: .15rem .5rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--red); color: #fff; font: 400 1.1rem/1 var(--display); }
.fn-onair i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.fn-hype { display: grid; gap: .3rem; }
.fn-meter { display: block; height: 16px; border: 3px solid var(--ink); border-radius: 999px; background: #eee; overflow: hidden; }
.fn-meter i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--slime) 0 10px, var(--yellow) 10px 20px); transition: width .8s ease; }
.fn-emote { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.fn-chatlog { display: grid; gap: .25rem; margin: 0; padding: .5rem .6rem; border: 2px dashed var(--ink); border-radius: 8px; list-style: none; background: #fff; font-size: .88rem; line-height: 1.25; }
.fn-chatlog li { overflow-wrap: anywhere; }
.fn-verse { --mag: var(--pink); display: grid; justify-items: center; gap: .45rem; padding: 1.1rem 1.4rem 1rem; background: var(--yellow); rotate: .8deg; text-align: center; }
.fn-verse-text { margin: 0; max-width: 34ch; font: 400 clamp(1.1rem, 1.9vw, 1.45rem)/1.15 var(--display); }
.fn-ref { padding: .1rem .5rem; border-radius: 5px; background: var(--ink); color: var(--yellow); font: 400 1.15rem/1 var(--osd); letter-spacing: .06em; }
.fn-spot { --mag: var(--orange); padding: .6rem .6rem .8rem; rotate: 1.8deg; }
.fn-spot img, .fn-polaroid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--ink); border-radius: 2px; }
.fn-spot b, .fn-polaroid b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 .98rem/1.2 var(--body); }
.fn-post { --mag: var(--cyan); padding: .6rem .6rem .8rem; rotate: -2deg; }
.fn-chat { --mag: var(--slime); background: #ffb3d9; border-radius: 18px 18px 18px 4px; rotate: 1.5deg; }
.fn-chat q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; line-height: 1.3; }
.fn-who { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .85rem; }
.fn-who img { border: 2px solid var(--ink); border-radius: 50%; object-fit: cover; }
.fn-host { padding: 0 .3rem; border-radius: 4px; background: var(--ink); color: var(--slime); font: 400 .7rem/1.4 var(--display); font-style: normal; }
.fn-weather { --mag: var(--yellow); display: grid; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 0 .5rem; background: #a8e9ff; rotate: 2deg; }
.fn-temp { font: 400 2.6rem/1 var(--display); }
.fn-wx { font-size: 2.2rem; }
.fn-wx-text { grid-column: 1 / -1; font-weight: 700; font-size: .9rem; }
.fn-discord { --mag: #5865f2; background: #c9cdff; border-style: dashed solid; rotate: -1.5deg; }
.fn-num { display: inline-flex; align-items: center; gap: .4rem; font: 400 1.5rem/1 var(--display); }
.fn-dot { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--slime); animation: blink 1.6s steps(2) infinite; }
.fridge-osd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin: 1.2rem 0 0; padding: .45rem .8rem; border: 3px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--slime); font: 400 1.15rem/1 var(--osd); letter-spacing: .06em; }
.fridge-rec { display: inline-flex; align-items: center; gap: .35rem; color: var(--red); text-decoration: none; }
.fridge-rec:hover { text-decoration: underline; }
.fridge-rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }

/* ---------- CH 03: the TV stack beside the big TV ---------- */
/* the TV stack */
.tv-stack { position: relative; display: grid; gap: 10px; padding-bottom: 26px; rotate: 1deg; }
.tv-stack-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 6%; }
.tv-stack-top .crt:first-child { rotate: -3deg; } .tv-stack-top .crt:last-child { rotate: 2.5deg; }
.tv-stack-base { position: absolute; left: 4%; right: 4%; bottom: 0; height: 26px; border: 5px solid var(--ink); border-radius: 6px; background: #8a5a36 repeating-linear-gradient(90deg, rgba(0,0,0,.1) 0 3px, transparent 3px 26px); box-shadow: 5px 5px 0 var(--ink); }
.crt { position: relative; display: flex; flex-direction: column; padding: 9px 9px 26px; border: 5px solid var(--ink); border-radius: 22px 22px 14px 14px; box-shadow: 5px 6px 0 var(--ink); }
.crt-twitch { background: var(--purple); }
.crt-youtube { background: var(--red); }
.crt-lynup { background: var(--slime); }
.crt-label { position: absolute; left: 12px; right: 12px; bottom: 5px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); font: 400 1rem/1 var(--osd); letter-spacing: .08em; }
.crt-label::after { width: 11px; height: 11px; content: ""; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.crt-twitch .crt-label, .crt-youtube .crt-label { color: var(--paper); }
.crt-glass { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 4px solid var(--ink); border-radius: 18px / 22px; background: radial-gradient(ellipse at 50% 40%, #233030, #07090b 75%); color: #e9ffe0; box-shadow: inset 0 0 26px rgba(0,0,0,.9); }
.crt-twitch .crt-glass { aspect-ratio: 16 / 10; }
.crt-glass::after { position: absolute; inset: 0; z-index: 5; content: ""; pointer-events: none; background: repeating-linear-gradient(rgba(0,0,0,.16) 0 2px, transparent 2px 4px), radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.14), transparent 45%); }
.crt-glass.is-switching::before { position: absolute; inset: 0; z-index: 6; content: ""; pointer-events: none; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: static-burst .5s steps(4) forwards; }
.crt-glass a { color: inherit; text-decoration: none; }

/* what's on the TVs */
.scr-fill { position: absolute; inset: 0; display: block; }
.scr-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.05); }
.scr-fill::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(transparent 35%, rgba(0,0,0,.85)); }
.scr-tag { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .45rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); color: var(--ink); font: 400 .85rem/1 var(--display); }
.scr-tag-red { background: var(--red); color: #fff; }
.scr-tag-live { background: var(--red); color: #fff; font-size: 1.1rem; }
.scr-tag-live i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
.scr-cap { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; display: grid; gap: .1rem; color: #cfd8ff; font: 400 1rem/1.1 var(--osd); }
.scr-cap b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font: 700 .9rem/1.15 var(--body); }
.crt-twitch .scr-cap b { font: 400 clamp(1.2rem, 2.2vw, 1.7rem)/1.05 var(--display); }
.scr-cta { position: absolute; right: 10px; top: 10px; z-index: 2; padding: .2rem .55rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--slime); color: var(--ink); font: 400 .9rem/1 var(--display); }
.scr-offair, .scr-big { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .25rem; padding: .6rem; text-align: center; }
.scr-kicker { color: var(--slime); font: 400 .95rem/1 var(--osd); letter-spacing: .12em; text-shadow: 0 0 8px rgba(142,224,0,.6); }
.scr-title { color: var(--yellow); font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--display); text-shadow: 3px 3px 0 #000; }
.scr-next { font-weight: 700; font-size: .95rem; }
.scr-count { color: var(--slime); font: 400 clamp(2.2rem, 5vw, 3.6rem)/1 var(--osd); letter-spacing: .04em; text-shadow: 0 0 14px rgba(142,224,0,.7); }
.scr-small { color: #aab; font-size: .72rem; line-height: 1.2; }
.scr-offair .scr-cta, .scr-maybe .scr-cta { position: static; margin-top: .2rem; }
.scr-maybe .scr-title { color: var(--red); animation: blink 1.4s steps(2) infinite; }
.scr-num-sm { color: #fff; font: 400 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--display); text-shadow: 2px 2px 0 #000; }
.scr-big > span:not(.scr-kicker) { font-size: .8rem; line-height: 1.2; }
.scr-lynup .scr-num-sm { color: #ff8080; }
.scr-lynup.is-open .scr-num-sm { color: var(--slime); }
.scr-static { position: absolute; inset: 0; display: grid; place-items: center; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .9; }
.scr-static span { padding: .25rem .5rem; background: #000; color: #fff; font: 400 .95rem/1 var(--osd); letter-spacing: .1em; }

/* ---------- CH 02: FEED (notebook) ---------- */
.notes-section {
  --band: var(--paper); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(var(--pad-x) * .6), rgba(255,59,59,.45) calc(var(--pad-x) * .6) calc(var(--pad-x) * .6 + 3px), transparent 0),
    repeating-linear-gradient(transparent 0 33px, rgba(25,198,255,.35) 33px 35px);
}
.notes-section .section-head h2 { color: var(--cyan); }
.notebook { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); max-width: var(--content-max); margin: 0 auto; align-items: start; }
.page { position: relative; display: grid; gap: .4rem; align-content: start; color: var(--ink); text-decoration: none; border: var(--outline); box-shadow: var(--pop); transition: transform .15s ease, box-shadow .15s ease; }
.page:hover { transform: translate(-2px, -4px) rotate(-1deg); box-shadow: 9px 10px 0 var(--ink); }
.page time { font: 400 1.25rem/1 var(--osd); letter-spacing: .05em; color: var(--purple); }
.page h3 { margin: 0; font: 400 1.35rem/1.05 var(--display); }
.page p { margin: 0; line-height: 1.45; }
.page-feature {
  padding: 1.8rem 1.8rem 1.6rem 2.4rem; border-radius: 6px 6px 22px 6px; background: #fff; rotate: -1.2deg;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(25,198,255,.3) 31px 33px);
  background-position: 0 14px;
}
.page-feature::before { position: absolute; top: 18px; bottom: 18px; left: -14px; width: 22px; content: ""; background: radial-gradient(circle at 50% 50%, var(--ink) 0 5px, transparent 6px) 0 0 / 22px 34px repeat-y; }
.page-feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: .98; margin: .1rem 0 .3rem; }
.page-feature p { font-size: 1.15rem; font-weight: 600; }
.page-tag { position: absolute; top: -16px; right: 20px; padding: .3rem .6rem; border: 3px solid var(--ink); border-radius: 8px; background: var(--slime); font: 400 .95rem/1 var(--display); rotate: 5deg; box-shadow: 3px 3px 0 var(--ink); }
.page-more { margin-top: .6rem; font-weight: 700; text-decoration: underline wavy var(--pink) 2px; text-underline-offset: 5px; }
.page-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.page-stack li { display: grid; }
.page-card { padding: 1rem 1.1rem 1.1rem; border-radius: 8px; font-size: .95rem; }
.page-stack li:nth-child(1) .page-card { background: var(--yellow); rotate: 1.5deg; }
.page-stack li:nth-child(2) .page-card { background: #ffb3d9; rotate: -1deg; }
.page-stack li:nth-child(3) .page-card { background: var(--slime-hi); rotate: -1.5deg; }
.page-stack li:nth-child(4) .page-card { background: #a8e9ff; rotate: 1deg; }
.page-card h3 { font-size: 1.15rem; }
.notes-foot { position: relative; z-index: 2; margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; text-align: center; }

/* ---------- CH 06: MERCH (vending machine) ---------- */
.shop-section { --band: var(--blue); position: relative; padding: var(--pad-y) var(--pad-x); background: var(--blue); }
.shop-section::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: repeating-conic-gradient(rgba(255,255,255,.07) 0 25%, transparent 0 50%) 0 0 / 60px 60px; }
.shop-section .section-head h2 { color: var(--slime); }
.shop-section .section-head p { color: var(--paper); }
.vending { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 1rem 1.1rem 1.2rem; border: 6px solid var(--ink); border-radius: 26px 26px 14px 14px; background: var(--red); box-shadow: var(--pop-big); }
.vend-sign { margin: 0 0 .9rem; padding: .5rem; border: 4px solid var(--ink); border-radius: 12px; background: var(--ink); color: var(--paper); font: 400 clamp(1.6rem, 3.6vw, 2.4rem)/1 var(--display); text-align: center; letter-spacing: .04em; }
.vend-sign span:first-child { color: var(--yellow); } .vend-sign span:last-child { color: var(--slime); }
.vend-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 1rem; }
.vend-glass { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: .9rem; list-style: none; border: 4px solid var(--ink); border-radius: 14px; background: linear-gradient(135deg, #bfeeff 0 40%, #e6f8ff 40% 48%, #bfeeff 48%); }
.vend-glass li { display: grid; }
.vend-glass[hidden] { display: none; }
.vend-empty { display: grid; grid-template-columns: 1fr; place-content: center; justify-items: center; gap: .3rem; min-height: 260px; text-align: center; }
.vend-empty span { font-size: 3rem; animation: float 3s ease-in-out infinite; }
.vend-empty b { font: 400 2rem/1 var(--display); }
.vend-empty small { max-width: 24ch; font-weight: 700; }
.slot { position: relative; display: grid; justify-items: center; gap: .35rem; padding: .7rem .6rem .6rem; border: 3px solid var(--ink); border-radius: 10px; background: rgba(255,255,255,.55); color: var(--ink); text-decoration: none; }
a.slot:hover { background: #fff; transform: translateY(-3px); }
.slot[data-soon] .slot-art { filter: saturate(.75); }
.slot-art { position: relative; display: grid; place-items: center; width: 100px; height: 92px; }
.slot-art svg { width: 100%; height: 100%; overflow: visible; }
.slot-art svg path { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.slot-art .tee { fill: var(--yellow); } .slot-art .hoodie { fill: #8a5a36; } .slot-art .hood { fill: none; } .slot-art .cap { fill: var(--purple); } .slot-art .brim { fill: var(--slime); }
.slot-art img { position: absolute; top: 46%; left: 50%; width: 34px; translate: -50% -50%; }
.slot-art:has(.cap) img { top: 52%; width: 30px; }
.slot-sticker img { position: static; translate: none; width: 74px; padding: 6px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; rotate: -10deg; box-shadow: 3px 3px 0 var(--ink); }
.slot-name { font: 400 1.05rem/1 var(--display); text-align: center; }
.slot-price { display: inline-flex; gap: .4rem; align-items: center; padding: .15rem .5rem; border-radius: 6px; background: var(--ink); color: var(--yellow); font: 400 1.15rem/1 var(--osd); letter-spacing: .05em; }
.slot-price i { font-style: normal; color: var(--slime); }
.slot[data-soon]::after { position: absolute; top: 8px; right: -6px; padding: .15rem .4rem; content: "SOON"; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); font: 400 .75rem/1 var(--display); rotate: 10deg; }
.vend-panel { display: grid; align-content: start; justify-items: center; gap: .8rem; padding: .9rem; border: 4px solid var(--ink); border-radius: 14px; background: #d42a2a; text-align: center; color: #fff; }
.vend-screen { width: 100%; margin: 0; padding: .6rem; border: 3px solid var(--ink); border-radius: 8px; background: #0d2a0d; color: var(--slime); font: 400 1.5rem/1 var(--osd); letter-spacing: .06em; animation: blink 2.4s steps(2) infinite; }
.vend-coin { width: 14px; height: 54px; border: 3px solid var(--ink); border-radius: 8px; background: var(--ink); box-shadow: 0 0 0 5px #9aa0a6, 0 0 0 8px var(--ink); margin: .4rem 0; }
.vend-note { margin: 0; font-weight: 700; line-height: 1.3; }
.vend-panel .chunky { font-size: 1rem; }
.vend-dono { color: #fff; font-weight: 700; font-size: .95rem; }
.vend-tray { display: block; width: 55%; margin: 1rem auto 0; padding: .55rem; border: 4px solid var(--ink); border-radius: 8px; background: var(--ink); color: #555; font: 400 1rem/1 var(--display); text-align: center; letter-spacing: .3em; }

/* ---------- small additions ---------- */
/* Guide: today gets the full listing, the rest of the week stays one compact line */
.guide-day:not(.is-today) .program:not(.program-off) { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; padding: .6rem 1rem; }
.guide-day:not(.is-today) .program:not(.program-off) > p { display: none; }
.guide-day:not(.is-today) .p-rate { margin: 0 0 0 auto; }
.guide-day:not(.is-today) .g-day { padding: .45rem; font-size: 1.35rem; }
.guide-day:not(.is-today) .program-off { min-height: 0; padding-block: .6rem; }
.is-today .program:not(.program-off) { padding: 1rem 1.2rem 1.1rem; }
.is-today .program h3 { font-size: 1.6rem; }
.box-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.box-link { font-weight: 700; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.guide-note b { color: var(--slime); font-weight: 400; }
.g-day .g-date { padding: 0; background: none; color: inherit; opacity: .75; font: 400 1.05rem/1 var(--osd); }
.footer-small { font-weight: 600; font-size: .9rem; opacity: .8; }

/* ---------- CH 02 extras ---------- */
.page-note { margin: .2rem 0 .3rem; font: 600 1.3rem/1.35 var(--body); }
.page-photo { width: 100%; max-height: 260px; margin: .4rem 0; object-fit: cover; border: 3px solid var(--ink); border-radius: 10px; }
.notes-empty { position: relative; z-index: 2; text-align: center; font-weight: 700; }

/* ---------- CH 04: LYNUP extras ---------- */
.box-burst b { font-size: 1.15rem; line-height: .95; text-align: center; }
.lyn-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.3rem; max-width: 980px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0; list-style: none; counter-reset: none; }
.lyn-step { position: relative; padding: 2.2rem 1.3rem 1.3rem; border: var(--outline); border-radius: 8px; background: var(--paper); box-shadow: var(--pop); }
.lyn-step-0 { rotate: -1.2deg; } .lyn-step-1 { rotate: .8deg; background: #fffbe0; } .lyn-step-2 { rotate: -.4deg; }
.lyn-num { position: absolute; top: -24px; left: 16px; display: grid; place-items: center; width: 52px; height: 52px; border: var(--outline); border-radius: 50%; background: var(--slime); box-shadow: 3px 3px 0 var(--ink); font: 400 1.8rem/1 var(--display); }
.lyn-step-1 .lyn-num { background: var(--yellow); } .lyn-step-2 .lyn-num { background: var(--pink); color: #fff; }
.lyn-step h3 { margin: 0 0 .4rem; font: 400 1.5rem/1 var(--display); }
.lyn-step p { margin: 0; font-weight: 600; line-height: 1.4; }
.lyn-score { position: relative; z-index: 2; max-width: 980px; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 1rem 1.2rem 1.1rem; border: 6px solid var(--ink); border-radius: 18px; background: #111; box-shadow: var(--pop-big); color: var(--paper); text-align: center; }
.lyn-score-title { margin: 0 0 .6rem; color: var(--yellow); font: 400 1.5rem/1 var(--osd); letter-spacing: .2em; }
.lyn-score dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin: 0; }
.lyn-score dl div { display: grid; gap: .2rem; padding: .7rem .5rem; border: 3px solid #333; border-radius: 10px; background: #0a0a0a; }
.lyn-score dd { order: -1; margin: 0; color: var(--slime); font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--osd); text-shadow: 0 0 12px rgba(142,224,0,.6); }
.lyn-score dt { font-weight: 700; font-size: .95rem; }
.lyn-score-note { margin: .7rem 0 0; color: #aaa; font-size: .85rem; }
.lyn-duo { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; max-width: 980px; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.lyn-card { position: relative; display: grid; align-content: start; justify-items: start; gap: .6rem; padding: 1.6rem 1.4rem 1.4rem; border: var(--outline); border-radius: 20px; box-shadow: var(--pop); }
.lyn-viewer { background: var(--cyan); rotate: -.6deg; }
.lyn-streamer { background: var(--yellow); rotate: .6deg; }
.lyn-card-tag { position: absolute; top: -14px; right: 18px; padding: .2rem .6rem; border: 3px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--slime); font: 400 1.1rem/1 var(--osd); letter-spacing: .08em; }
.lyn-card h3 { margin: 0; font: 400 clamp(1.5rem, 3vw, 2rem)/1 var(--display); }
.lyn-card p { margin: 0 0 .4rem; font-weight: 600; line-height: 1.4; }

/* ---------- CH 06 extras ---------- */
.slot-photo { width: 92px; height: 86px; object-fit: cover; border: 3px solid var(--ink); border-radius: 8px; }
.slot[data-soldout]::after { position: absolute; top: 40%; left: 50%; translate: -50% -50%; padding: .2rem .5rem; content: "SOLD OUT"; border: 3px solid var(--ink); border-radius: 6px; background: var(--red); color: #fff; font: 400 1rem/1 var(--display); rotate: -12deg; }
.slot[data-soldout] .slot-art { opacity: .5; }
a.slot::after { position: absolute; top: 8px; right: -6px; padding: .15rem .4rem; content: "BUY"; border: 2px solid var(--ink); border-radius: 6px; background: var(--slime); font: 400 .75rem/1 var(--display); rotate: 10deg; }

/* ---------- FOOTER ---------- */
.site-footer { position: relative; margin-top: -2px; background: var(--slime); color: var(--ink); }
.slime-floor { position: absolute; top: -60px; left: 0; width: 100%; height: 62px; }
.slime-floor path { fill: var(--slime); stroke: var(--ink); stroke-width: 4; vector-effect: non-scaling-stroke; }
.footer-inner { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 2rem var(--pad-x) 2.4rem; text-align: center; font-weight: 700; }
.footer-big { margin: 0; font: 400 clamp(1.8rem, 4vw, 2.8rem)/1 var(--display); color: var(--paper); text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink); }
.footer-inner p { margin: 0; }

/* ---------- SLIME CURTAIN + STATIC ---------- */
body.is-surfing .static-flash { animation: static-burst .35s steps(3); }
body.is-wobbly main { animation: whole-page-wobble .6s ease-in-out 3; }

/* ---------- reveal on scroll ---------- */
.motion-ready [data-reveal] > * { opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.motion-ready [data-reveal].is-revealed > * { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes letter-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes jiggle { 0%, 100% { transform: rotate(-4deg) scale(1); } 10% { transform: rotate(4deg) scale(1.06); } 20% { transform: rotate(-3deg) scale(.98); } 30% { transform: rotate(-4deg) scale(1); } }
@keyframes heartbeat { 0%, 100% { scale: 1; } 15% { scale: 1.15; } 30% { scale: .96; } 45% { scale: 1.08; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splat-spin { to { rotate: 360deg; } }
@keyframes pattern-drift { to { background-position: 38px 38px, 57px 57px; } }
@keyframes bubble-pop { 0%, 70%, 100% { scale: 1; } 78% { scale: 1.12; } 86% { scale: .95; } }
@keyframes flip-in { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes splat-in { from { scale: 0; rotate: -60deg; } to { scale: 1; rotate: 0deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes think-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes antenna-wiggle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@keyframes static-burst { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,225,77,0); } 50% { box-shadow: 0 0 0 6px rgba(255,225,77,.9); } }
@keyframes holo { to { background-position: 250% 250%; } }
@keyframes whole-page-wobble { 0%, 100% { transform: none; } 25% { transform: skewX(2deg) rotate(.4deg); } 75% { transform: skewX(-2deg) rotate(-.4deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .remote-buttons { order: 3; width: 100%; margin-left: 0; justify-content: center; }
    .hero { padding-top: 180px; }
  .tv-osd { top: 170px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-bottom: 100px; gap: 3rem; }
  .hero-star { width: min(88%, 460px); }
  .tv-osd { display: none; }
  .tv-room, .card-layout, .notebook { grid-template-columns: 1fr; }
  .film-strip { overflow-x: auto; }
  .tv-stack { max-width: 520px; width: 100%; justify-self: center; }
  .fridge-grid { grid-template-columns: 1fr; }
  .fb-col { flex-basis: 260px; }
  .fridge-door { padding-right: 3.6rem; }
  .vend-body { grid-template-columns: 1fr; }
  .trading-card { justify-self: center; }
  .box-side { display: none; }
  .box-front { transform: rotate(-1.5deg); }
  .note-blue { margin-left: 0; }
  .d-bolt { left: 78%; top: 40%; }
  }
@media (max-width: 620px) {
  body { font-size: 16px; }
  .remote { top: 26px; gap: .6rem; }
  .network-bug { font-size: 1.2rem; }
  .remote-buttons a { padding: .3rem .5rem; font-size: .8rem; }
    .hero { padding-top: 210px; }
  .remote-buttons { gap: .4rem; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -1rem; padding: .3rem 1rem .6rem; scrollbar-width: none; scroll-snap-type: x proximity; }
  .remote-buttons::-webkit-scrollbar { display: none; }
  .remote-buttons a { flex: none; scroll-snap-align: start; }
  .guide-day:not(.is-today) { grid-template-columns: 74px minmax(0, 1fr); }
  .guide-day:not(.is-today) .g-day { display: grid; justify-items: center; gap: .15rem; padding: .35rem; font-size: 1.1rem; }
  .guide-day:not(.is-today) .program:not(.program-off) { gap: .1rem .6rem; }
  .guide-day:not(.is-today) .p-rate { display: none; }
  .guide-day { grid-template-columns: 1fr; gap: .45rem; }
  .g-day { display: flex; justify-content: flex-start; gap: .6rem; padding: .45rem .8rem; font-size: 1.25rem; }
  .is-today .g-day { rotate: 0deg; }
  .g-programs { grid-template-columns: 1fr; }
  .guide-bar { flex-wrap: wrap; gap: .4rem 1rem; }
  .guide-sample { right: 12px; }
  .wobble-word { font-size: 15.5vw; }
  .section-head h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .find-title { font-size: clamp(2rem, 10vw, 3rem); }
    .tv-feet { padding: 0 30px; }
  .speech-bubble { font-size: .95rem; left: 0; }
  .tagline-flip { min-height: 2.7em; }
  .stat { grid-template-columns: 1fr; gap: .25rem; }
  .sticker { width: 140px; height: 124px; }
  .tv-stack-top { padding: 0; }
  .main-tv-body { padding: 10px; gap: 8px; }
  .main-tv-panel { width: 46px; }
  .ch-pad button { width: 20px; }
  .main-tv-panel .speaker, .main-tv-panel .tv-brand { display: none; }
  .film-frame { width: 130px; }
  .fb-col { flex-basis: 100%; }
  .fridge-door { padding: 1.2rem 2.6rem .9rem .9rem; }
  .fridge-handle { right: .6rem; width: 16px; }
  .fridge-badge { display: none; }
  .poetry { height: 230px; }
  .page-stack { grid-template-columns: 1fr; }
  .page-feature { padding: 1.4rem 1.2rem 1.3rem 1.7rem; }
  .vend-glass { gap: .5rem; padding: .6rem; }
  .slot-art { width: 76px; height: 70px; }
  .slot-name { font-size: .9rem; }
  .sticker b { font-size: 1.25rem; }
  .box-burst { right: -10px; width: 110px; height: 110px; }
  .box-burst b { font-size: .9rem; }
}

/* ---------- calm mode / reduced motion ---------- */
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }
body.motion-paused .tape { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


.fn-rotate > [hidden] { display: none !important; }
.fridge-badge { top: .55rem; bottom: auto; right: 3.9rem; }
@media (max-width: 620px) { .fridge-badge { display: none; } }


/* ---------- fridge: week strip + report card ---------- */
.fn-week { --mag: var(--slime); background: #fff; rotate: -1.2deg; }
.wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: .45rem 0 .5rem; padding: 0; list-style: none; text-align: center; }
.wk li { display: grid; gap: 1px; padding: .3rem 0 .25rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); font-size: .75rem; }
.wk b { font: 400 .95rem/1 var(--display); }
.wk span { font: 400 1.05rem/1 var(--osd); }
.wk i { font: 400 .78rem/1 var(--osd); font-style: normal; color: #6b6275; white-space: nowrap; }
.wk .is-on { background: var(--slime-hi); }
.wk .is-on i { color: var(--ink); }
.wk .is-off { background: #ffd0d0; }
.wk .is-today { outline: 3px solid var(--red); outline-offset: 1px; border-radius: 50%; }
.fn-report { --mag: var(--orange); background: #fffdf5 repeating-linear-gradient(transparent 0 21px, rgba(25,198,255,.35) 21px 22px); rotate: 1.4deg; }
.rc { width: 100%; margin: .35rem 0 .3rem; border-collapse: collapse; font-size: .85rem; }
.rc th { padding: .15rem 0; font-weight: 600; text-align: left; }
.rc td { padding: .15rem .3rem; text-align: right; font: 400 1rem/1 var(--osd); }
.rc .rc-g { color: var(--red); font: 400 1.2rem/1 var(--marker); }
.rc-note { display: block; color: #6b6275; font: 400 .85rem/1.2 var(--marker); rotate: -1deg; }

/* ---------- fridge guestbook ---------- */
.fn-guestbook { --mag: var(--pink); background: #fffdf5; rotate: -.6deg; }
.gb-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; margin: .5rem 0 .7rem; padding: 0; list-style: none; }
.gb-note { display: grid; align-content: start; gap: .15rem; min-height: 86px; padding: .5rem .55rem; border: 2px solid var(--ink); box-shadow: 2px 3px 0 rgba(22,16,30,.5); font-size: .88rem; animation: gb-in .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.gb-note b { font: 400 1rem/1.05 var(--display); overflow-wrap: anywhere; }
.gb-note small { color: #4a4250; font-size: .7rem; line-height: 1.2; overflow-wrap: anywhere; }
.gb-sticker { font-size: 1.4rem; line-height: 1; }
.gb-yellow { background: var(--yellow); } .gb-pink { background: #ffb3d9; } .gb-cyan { background: #a8e9ff; } .gb-slime { background: var(--slime-hi); } .gb-orange { background: #ffb366; } .gb-paper { background: var(--paper); }
.gb-tilt-0 { rotate: -2deg; } .gb-tilt-1 { rotate: 1.5deg; } .gb-tilt-2 { rotate: -.8deg; } .gb-tilt-3 { rotate: 2.2deg; }
@keyframes gb-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
.gb-empty { margin: .4rem 0 .7rem; font-weight: 700; }
.gb-open { cursor: pointer; }
.gb-dialog { width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 6px solid var(--ink); border-radius: 18px; background: #fffdf5 repeating-linear-gradient(transparent 0 27px, rgba(25,198,255,.25) 27px 28px); box-shadow: var(--pop-big); color: var(--ink); }
.gb-dialog::backdrop { background: rgba(22,16,30,.55); }
.gb-dialog form { display: grid; gap: .8rem; padding: 1.1rem 1.2rem 1.2rem; }
.gb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; font: 400 1.4rem/1 var(--display); }
.gb-close { width: 36px; height: 36px; border: 3px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 1rem; cursor: pointer; }
.gb-dialog fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gb-dialog fieldset[hidden] { display: none; }
.gb-dialog legend { margin-bottom: .35rem; color: var(--purple); font: 400 1.05rem/1 var(--osd); letter-spacing: .06em; }
.gb-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.gb-chips label { cursor: pointer; }
.gb-chips input { position: absolute; opacity: 0; pointer-events: none; }
.gb-chips span { display: inline-grid; place-items: center; min-width: 2.3rem; height: 2.3rem; padding: 0 .3rem; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font-size: 1.2rem; }
.gb-chips-text span { height: auto; padding: .25rem .6rem; border-radius: 999px; font: 600 .85rem/1.2 var(--body); }
.gb-chips input:checked + span { background: var(--slime); box-shadow: 2px 2px 0 var(--ink); translate: 0 -1px; }
.gb-chips input:focus-visible + span { outline: 3px dashed var(--pink); outline-offset: 2px; }
.gb-swatch span { width: 2.3rem; min-width: 0; padding: 0; border-radius: 50%; }
.gb-chips .gb-swatch.gb-yellow span { background: var(--yellow); } .gb-chips .gb-swatch.gb-pink span { background: #ffb3d9; } .gb-chips .gb-swatch.gb-cyan span { background: #a8e9ff; } .gb-chips .gb-swatch.gb-slime span { background: var(--slime-hi); } .gb-chips .gb-swatch.gb-orange span { background: #ffb366; } .gb-chips .gb-swatch.gb-paper span { background: var(--paper); }
.gb-swatch { background: none !important; }
.gb-swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }
.gb-me { display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.gb-me[hidden] { display: none; }
.gb-preview { justify-self: center; width: 170px; rotate: -2deg; animation: none; }
.gb-preview:empty { display: none; }
.gb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0; }
.gb-actions .fn-btn { cursor: pointer; font-size: 1.05rem; }
.gb-msg { font-weight: 700; }

/* ---------- hero: live stream sticker on the photo ---------- */
.hero-live { position: absolute; left: -2%; bottom: 6%; z-index: 4; rotate: -5deg; }
.hl { display: grid; gap: .2rem; min-width: 210px; padding: .7rem .95rem .75rem; border: var(--outline); border-radius: 14px; background: var(--paper); box-shadow: var(--pop); color: var(--ink); text-decoration: none; transition: transform .15s ease; }
.hl:hover { transform: rotate(3deg) scale(1.05); }
.hl-kicker { color: var(--purple); font: 400 1rem/1 var(--osd); letter-spacing: .1em; }
.hl b { font: 400 1.35rem/1 var(--display); }
.hl-count { justify-self: start; padding: .15rem .45rem; border-radius: 6px; background: var(--ink); color: var(--slime); font: 400 1.6rem/1 var(--osd); letter-spacing: .04em; }
.hl em { justify-self: start; padding: .15rem .55rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--purple); color: #fff; font: 400 .85rem/1.2 var(--display); font-style: normal; }
.hl-live { background: var(--red); color: #fff; }
.hl-live .hl-kicker { color: var(--yellow); }
.hl-live b { display: inline-flex; align-items: center; gap: .4rem; }
.hl-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
@media (max-width: 900px) { .hero-live { left: auto; right: 0; bottom: -4%; } .hl { min-width: 0; } }

/* ---------- tablet + phone polish ---------- */
@media (min-width: 701px) and (max-width: 900px) {
  /* keep the hero side-by-side on tablets */
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1.5rem; padding-top: 175px; }
  .wobble-word { font-size: 6.9vw; }
  .hero-show { font-size: 4.2vw; }
  .hero-star { width: 100%; }
  .hero-tagline { font-size: 1.05rem; }
  .hero-actions .chunky { font-size: .95rem; }
}
@media (max-width: 900px) {
  /* fridge notes flow two-up instead of odd full-width rows */
  .fridge-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.1rem; align-items: start; }
  .fb-col { display: contents; }
}
@media (max-width: 560px) {
  .fridge-board { grid-template-columns: 1fr; }
  /* the shared poetry board keeps its real shape; scroll it sideways */
  .freezer { overflow-x: auto; overscroll-behavior-x: contain; }
  .poetry { width: 760px; height: 190px; }
  .freezer-label span::after { content: " · swipe →"; }
  .hero-live { right: -4px; bottom: -2%; }
  .hl b { font-size: 1.1rem; }
  .hl-count { font-size: 1.3rem; }
}

/* ---------- gift shop: coming soon + Fourthwall cart ---------- */
.vend-window { position: relative; }
.vend-soon { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: .4rem; padding: 1rem; border-radius: 14px; background: repeating-linear-gradient(-45deg, rgba(22,16,30,.82) 0 22px, rgba(22,16,30,.9) 22px 44px); color: var(--paper); text-align: center; backdrop-filter: blur(1px); }
.vend-soon b { padding: .2rem .8rem; border: 4px solid var(--ink); border-radius: 10px; background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font: 400 clamp(1.6rem, 4vw, 2.6rem)/1 var(--display); rotate: -4deg; }
.vend-soon span { max-width: 28ch; font-weight: 700; }
.vend-count { padding: .2rem .6rem; border-radius: 8px; background: #000; color: var(--slime); font: 400 clamp(1.6rem, 3.6vw, 2.4rem)/1 var(--osd); letter-spacing: .05em; }
button.slot { width: 100%; font: inherit; cursor: pointer; }
button.slot:hover { background: #fff; transform: translateY(-3px); }
button.slot::after { position: absolute; top: 8px; right: -6px; padding: .15rem .4rem; content: "BUY"; border: 2px solid var(--ink); border-radius: 6px; background: var(--slime); font: 400 .75rem/1 var(--display); rotate: 10deg; }
.vend-cart-btn b { margin-left: .2rem; padding: 0 .35rem; border-radius: 999px; background: var(--ink); color: var(--yellow); font-weight: 400; }
.shop-dialog { width: min(760px, calc(100vw - 1.5rem)); max-height: calc(100vh - 2rem); padding: 1.2rem; border: 6px solid var(--ink); border-radius: 20px; background: var(--paper); box-shadow: var(--pop-big); color: var(--ink); }
.shop-dialog::backdrop { background: rgba(22,16,30,.6); }
.shop-x { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.shop-pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem; }
.shop-pd-imgs { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; border: 4px solid var(--ink); border-radius: 12px; background: #fff; }
.shop-pd-imgs img { flex: none; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.shop-pd-imgs span { display: grid; place-items: center; width: 100%; aspect-ratio: 1; font-size: 4rem; }
.shop-pd-info { display: grid; align-content: start; gap: .7rem; }
.shop-pd-info h3 { margin: 0; padding-right: 2.5rem; font: 400 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); }
.shop-pd-price { font: 400 1.8rem/1 var(--osd); color: var(--purple); }
.shop-pd-info label { display: grid; gap: .25rem; font-weight: 700; }
.shop-pd-info select, .shop-pd-info input { padding: .55rem .7rem; border: 3px solid var(--ink); border-radius: 10px; font: 600 1rem var(--body); background: #fff; }
.shop-pd-desc { margin: 0; font-size: .95rem; line-height: 1.45; }
.cart-dialog { width: min(520px, calc(100vw - 1.5rem)); }
.cart-h { margin: 0 0 .8rem; font: 400 1.8rem/1 var(--display); }
.cart-lines { display: grid; gap: .6rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.cart-lines li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto auto; align-items: center; gap: .6rem; padding: .5rem; border: 3px solid var(--ink); border-radius: 12px; background: #fff; }
.cart-lines img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.cart-lines span { display: grid; }
.cart-lines small { color: #6b6275; }
.cart-qty { display: inline-flex !important; align-items: center; gap: .4rem; font-weight: 700; }
.cart-qty button { width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; }
.cart-total { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .8rem; font-weight: 700; }
.cart-total b { font: 400 1.6rem var(--osd); }
.cart-total small { color: #6b6275; font-weight: 600; }
.cart-go { width: 100%; }
.cart-fine, .cart-empty { margin: .7rem 0 0; color: #6b6275; font-weight: 600; text-align: center; }
.cart-msg { margin: .7rem 0 0; padding: .5rem .7rem; border: 3px solid var(--ink); border-radius: 10px; background: #ffd0d0; font-weight: 700; }
@media (max-width: 620px) { .shop-pd { grid-template-columns: 1fr; } .cart-lines li { grid-template-columns: 44px minmax(0, 1fr) auto; } .cart-lines li > b { grid-column: 2 / -1; text-align: right; } }

/* ---------- trading card: tilt, glare, colors ---------- */
.card-stage { display: grid; justify-items: center; gap: .6rem; perspective: 1100px; }
.trading-card { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: rotate .3s, transform .5s cubic-bezier(.2, .9, .3, 1); }
.trading-card.is-tilting { rotate: 0deg; transition: rotate .3s, transform .08s linear; }
.card-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; mix-blend-mode: overlay; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.85), transparent 45%); transition: opacity .2s; }
.trading-card.is-tilting .card-glare { opacity: 1; }
.trading-card.is-tilting .card-holo { opacity: .7; background-position: var(--mx, 50%) var(--my, 50%); animation: none; }
.card-art img.is-custom { transform: none; object-position: 50% 50%; }
.card-slime .card-front { background: var(--slime-hi); } .card-cyan .card-front { background: #a8e9ff; } .card-pink .card-front { background: #ffb3d9; } .card-orange .card-front { background: #ffb366; }
.card-hint { margin: 0; font: 400 1rem var(--marker); color: var(--ink); opacity: .7; rotate: -2deg; }
@media (hover: none) { .card-hint { display: none; } }
