/* COMPACT — a 90s bedroom wall, drawn with markers, lit like a deco marquee.
 *
 * Rules of the room:
 *  - nothing sits perfectly straight: most objects take a --tilt
 *  - outlines are ink (#1b1530), shadows are hard offsets, never blurs
 *  - flashing stays at or under ~1 blink per second (photosensitivity), and
 *    everything stops under prefers-reduced-motion
 *  - body copy stays readable: typewriter for Latin, Kiwi Maru for Japanese
 */

:root {
  --ink: #1b1530;
  --wall: #2a1f4d;
  --wall-2: #231a42;
  --paper: #fff6e0;
  --paper-2: #fff0c9;
  --pink: #ff4f9a;
  --teal: #19b3a6;
  --mustard: #ffc83d;
  --tomato: #ff5a36;
  --purple: #6b3fd6;
  --gold: #d4a53c;
  --mint: #8dffbf;
  --blue-line: rgba(59, 91, 219, .22);
  --shadow: 5px 6px 0 var(--ink);
  --shadow-sm: 3px 4px 0 var(--ink);
  --r-hand: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --r-hand-2: 20px 240px 18px 220px / 230px 16px 240px 18px;

  --f-body: "Courier Prime", "Kiwi Maru", ui-monospace, monospace;
  --f-deco: "Limelight", "Dela Gothic One", serif;
  --f-neon: "Monoton", "Dela Gothic One", cursive;
  --f-marker: "Permanent Marker", "Yusei Magic", cursive;
  --f-hand: "Caveat", "Yusei Magic", cursive;
  --f-crt: "VT323", "DotGothic16", monospace;
  --f-stencil: "Big Shoulders Stencil Display", Impact, sans-serif;
  color-scheme: dark;
}
.lang-ja {
  --f-body: "Kiwi Maru", "Courier Prime", sans-serif;
  --f-deco: "Limelight", "Dela Gothic One", serif;
  --f-marker: "Permanent Marker", "Yusei Magic", cursive;
  --f-hand: "Yusei Magic", "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.6 var(--f-body);
  color: var(--paper);
  background-color: var(--wall);
  /* wallpaper: a deco fan motif in faded gold over purple, plus grain */
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(255, 79, 154, .22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80' viewBox='0 0 120 80'%3E%3Cg fill='none' stroke='%23d4a53c' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M0 80 A60 60 0 0 1 120 80'/%3E%3Cpath d='M20 80 A40 40 0 0 1 100 80'/%3E%3Cpath d='M40 80 A20 20 0 0 1 80 80'/%3E%3Cpath d='M60 80 V20 M60 80 L18 38 M60 80 L102 38'/%3E%3Cpath d='M-60 40 A60 60 0 0 1 60 40 M60 40 A60 60 0 0 1 180 40' stroke-opacity='.08'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: auto, 120px 80px, 200px 200px;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
a { color: var(--mustard); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
button { font: inherit; }
:focus-visible { outline: 3px dashed var(--mustard); outline-offset: 4px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--mustard); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* glow-in-the-dark ceiling stars */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.stars i {
  position: absolute; left: var(--x); top: var(--y);
  width: 14px; height: 14px; transform: scale(var(--s)) rotate(12deg);
  background: #d9ffb0;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: .18; filter: drop-shadow(0 0 6px #b9ff7a);
  animation: glowstar 5s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes glowstar { 50% { opacity: .55; } }

main, header.top, footer.bottom { position: relative; z-index: 1; }
main { max-width: 1240px; margin: 0 auto; padding: 8px 20px 80px; }

/* ------------------------------------------------------------- type */
.deco-title {
  font: 400 clamp(56px, 11vw, 150px)/.9 var(--f-deco);
  margin: 0; color: var(--mustard); letter-spacing: .02em;
  text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--ink);
  display: flex; align-items: center; flex-wrap: wrap;
}
.deco-title.small { font-size: clamp(42px, 7vw, 88px); text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--ink); }
.lang-ja .deco-title.small { font-family: "Dela Gothic One", var(--f-deco); letter-spacing: 0; }
.dt-gap { display: inline-flex; width: clamp(40px, 7vw, 110px); justify-content: center; animation: bolt 1.6s steps(2) infinite; }
.dt-gap svg { width: 60%; height: auto; filter: drop-shadow(3px 3px 0 var(--ink)); }
@keyframes bolt { 50% { transform: rotate(8deg) scale(.9); opacity: .6; } }
.marker { font: 400 clamp(28px, 4vw, 46px)/1.1 var(--f-marker); margin: 0 0 12px; color: var(--paper); }
.marker.big { font-size: clamp(38px, 6vw, 70px); }
.hand-title { font: 700 clamp(30px, 4vw, 44px)/1 var(--f-hand); margin: 0 0 10px; color: var(--ink); }
.scrawl { font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--f-hand); color: var(--mustard); margin: 0; }
.lang-ja .scrawl { font-size: clamp(18px, 2.2vw, 24px); }
.tagline { font-size: 15px; letter-spacing: .04em; opacity: .9; max-width: 44ch; }
.fine { font-size: 13px; opacity: .75; }
.prose { font-size: 17px; line-height: 1.75; }
.prose p { margin: 0 0 1em; }
.prose img { border: 4px solid var(--ink); border-radius: 6px; height: auto; }

.label-tape {
  display: inline-block; font: 400 20px/1 var(--f-marker); letter-spacing: .04em;
  color: var(--ink); background: rgba(255, 246, 224, .92); padding: 9px 18px 7px;
  transform: rotate(-2deg); margin: 0 0 18px; box-shadow: var(--shadow-sm);
  clip-path: polygon(2% 8%, 98% 0, 100% 90%, 1% 100%, 3% 52%);
}
.tape-teal { background: var(--teal); } .tape-pink { background: var(--pink); }
.tape-mustard { background: var(--mustard); } .tape-purple { background: var(--purple); color: var(--paper); }

/* ---------------------------------------------------------- objects */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 400 18px/1 var(--f-marker); letter-spacing: .04em; text-decoration: none;
  color: var(--ink); background: var(--paper); border: 3px solid var(--ink);
  border-radius: var(--r-hand); padding: 13px 22px 11px; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 7px 8px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn-mustard { background: var(--mustard); } .btn-pink { background: var(--pink); } .btn-teal { background: var(--teal); }
.btn-paper { background: var(--paper); } .btn-big { font-size: 22px; padding: 16px 28px 14px; }
.btn-small { font-size: 15px; padding: 8px 14px 6px; box-shadow: var(--shadow-sm); }
.btn .ic-pause, .play.is-playing .ic-play { display: none; }
.play.is-playing .ic-pause { display: inline; }
.btn svg use { color: var(--ink); }

.sticker {
  display: inline-block; font: 400 15px/1 var(--f-marker); color: var(--ink); text-decoration: none;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; padding: 8px 14px 6px;
  box-shadow: var(--shadow-sm); transform: rotate(var(--r, -2deg)); cursor: pointer;
}
.sticker:hover { color: var(--ink); transform: rotate(3deg) scale(1.06); }
.s-pink { background: var(--pink); } .s-teal { background: var(--teal); } .s-mustard { background: var(--mustard); }
.s-tomato { background: var(--tomato); } .s-purple { background: var(--purple); color: var(--paper); } .s-paper { background: var(--paper); }

.paper {
  position: relative; color: var(--ink); background: var(--paper);
  border-radius: 3px 6px 4px 8px; box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg)); padding: 26px 26px 22px;
}
.paper.s-pink { background: #ffd1e5; } .paper.s-teal { background: #c9f1ec; }
.paper.s-mustard { background: #fff0b8; } .paper.s-purple { background: #e2d7ff; }
.lined {
  background-image:
    linear-gradient(90deg, transparent 38px, rgba(255, 90, 54, .45) 38px, rgba(255, 90, 54, .45) 40px, transparent 40px),
    repeating-linear-gradient(transparent 0 29px, var(--blue-line) 29px 31px);
  background-color: var(--paper);
  padding-left: 56px;
}
.tape {
  position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 236, 160, .7); box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
  clip-path: polygon(0 10%, 6% 0, 12% 12%, 20% 0, 100% 4%, 94% 50%, 100% 96%, 0 100%, 5% 55%);
}
.pin { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); filter: drop-shadow(2px 3px 0 rgba(0,0,0,.35)); }
.stamp {
  display: inline-block; font: 400 16px/1 var(--f-stencil); letter-spacing: .08em; color: var(--tomato);
  border: 3px solid var(--tomato); padding: 6px 10px 4px; transform: rotate(-8deg); border-radius: 4px;
  background: rgba(255, 246, 224, .85);
}
.stamp-low { color: var(--purple); border-color: var(--purple); }
.chip {
  display: inline-block; font: 400 14px/1 var(--f-marker); text-decoration: none; color: var(--paper);
  border: 2px dashed rgba(255, 246, 224, .5); border-radius: 999px; padding: 7px 13px 5px; margin: 3px;
}
.chip.on, .chip:hover { background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); }
.filter-chips, .city-switch { margin: 14px 0 0; }

.empty-note { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 10px; }
.empty-note svg { filter: url(#wobble) drop-shadow(4px 5px 0 var(--ink)); }
.empty-note.big { padding: 70px 10px; }
.see-all { display: inline-block; margin-top: 14px; font: 600 22px/1 var(--f-hand); }
.back-link { display: inline-block; font: 600 22px/1 var(--f-hand); margin: 10px 0 18px; }
.flash-note { font: 600 21px/1.3 var(--f-hand); color: var(--teal); }
.flash-note.warn { color: var(--tomato); }
.paper .flash-note { color: var(--purple); }
.paper .flash-note.warn { color: var(--tomato); }
.blink-soft { animation: blinksoft 2s steps(1) infinite; }
@keyframes blinksoft { 50% { opacity: .55; } }

/* ------------------------------------------------------------ header */
header.top {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: 1280px; margin: 0 auto; padding: 14px 20px 6px;
}
.marquee { display: block; width: 210px; flex: none; transform: rotate(-2deg); }
.marquee svg { display: block; width: 100%; height: auto; filter: drop-shadow(4px 5px 0 var(--ink)); }
.mq-word { font: 400 50px/1 var(--f-deco); fill: var(--mustard); }
.mq-act { fill: var(--pink); }
.bulbs circle { fill: #fff3b0; }
.bulbs .b0 { animation: bulb 1.2s steps(1) infinite; }
.bulbs .b1 { animation: bulb 1.2s steps(1) infinite -.4s; }
.bulbs .b2 { animation: bulb 1.2s steps(1) infinite -.8s; }
@keyframes bulb { 0% { fill: #fff3b0; filter: url(#glow); } 34% { fill: #6d5a2c; filter: none; } }

.tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 4px; flex: 1; }
.tab {
  font: 400 15px/1 var(--f-marker); letter-spacing: .05em; color: var(--ink); text-decoration: none;
  padding: 10px 13px 8px; border: 2.5px solid var(--ink); border-radius: 10px 10px 3px 3px;
  transform: rotate(var(--r)); box-shadow: var(--shadow-sm); transition: transform .15s;
}
.lang-ja .tab { font-family: "Dela Gothic One", var(--f-marker); font-size: 14px; letter-spacing: 0; }
.tab:hover { color: var(--ink); transform: rotate(0) translateY(-4px); }
.tab.here { transform: rotate(0) translateY(-6px) scale(1.06); outline: 3px solid var(--paper); outline-offset: 2px; }
.tab-pink { background: var(--pink); } .tab-teal { background: var(--teal); } .tab-mustard { background: var(--mustard); }
.tab-tomato { background: var(--tomato); } .tab-paper { background: var(--paper); } .tab-purple { background: var(--purple); color: var(--paper); }
.tab-purple:hover { color: var(--paper); }
.tab-extras { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.lang-sticker { background: var(--mint); --r: 4deg; }
.bag-sticker { position: relative; background: var(--ink); border-color: var(--mustard); padding: 6px 10px 3px; }
.bag-sticker .count {
  position: absolute; top: -9px; right: -9px; background: var(--pink); color: var(--ink); font: 400 13px/1 var(--f-marker);
  border: 2px solid var(--ink); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center;
  animation: blinksoft 1.5s steps(1) infinite;
}
.menu-btn { display: none; }

@media (max-width: 860px) {
  header.top { justify-content: space-between; }
  .marquee { width: 170px; }
  .menu-btn {
    display: inline-flex; flex-direction: column; gap: 4px; align-items: center; background: var(--mustard);
    border: 3px solid var(--ink); border-radius: var(--r-hand); padding: 9px 12px 5px; box-shadow: var(--shadow-sm); cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; }
  .menu-btn b { font: 400 11px/1 var(--f-marker); color: var(--ink); }
  .tabs { display: none; flex-basis: 100%; padding: 12px 4px 16px; gap: 12px 8px; }
  .tabs.open { display: flex; }
  .tab { font-size: 17px; }
  .tab-extras { margin-left: 0; flex-basis: 100%; }
}

/* ------------------------------------------------------------ footer */
footer.bottom {
  margin-top: 40px; border-top: 6px double var(--gold);
  background: linear-gradient(transparent, rgba(0, 0, 0, .35));
}
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 34px 20px 110px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.foot-logo { font: 400 46px/1 var(--f-neon); margin: 0; color: var(--pink); text-shadow: 0 0 12px rgba(255, 79, 154, .8); }
.foot-logo span { display: inline-block; width: .4em; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 16px/1.4 var(--f-marker); align-content: start; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1 / -1; }
.socials li:nth-child(2n) .sticker { --r: 3deg; }
.footer-inner .fine { grid-column: 1 / -1; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: center; min-height: min(72vh, 780px); }
.hero-scene { position: relative; }
.scene { display: block; width: 100%; height: auto; overflow: visible; }
.scene .rays { transform-origin: 300px 470px; animation: rays 30s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.scene .fan path:first-child { filter: url(#crayon); }
.scene .led { animation: blinksoft 1s steps(1) infinite; }
.scene .pads rect { fill: #ffc83d; stroke: var(--ink); stroke-width: 2.5; }
.scene .pads .p0 { animation: pad 1.6s steps(1) infinite; }
.scene .pads .p1 { animation: pad 1.6s steps(1) infinite -.4s; }
.scene .pads .p2 { animation: pad 1.6s steps(1) infinite -.8s; }
.scene .pads .p3 { animation: pad 1.6s steps(1) infinite -1.2s; }
@keyframes pad { 0% { fill: #ff4f9a; } 25% { fill: #fff4d6; } }
.scene .strum { transform-origin: 352px 294px; animation: strum .5s ease-in-out infinite alternate; }
@keyframes strum { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.scene .tap { transform-origin: 312px 572px; animation: tap .5s ease-in-out infinite alternate; }
@keyframes tap { to { transform: rotate(-9deg); } }
.scene .head { transform-origin: 300px 240px; animation: bob 1s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-2.5deg) translateY(2px); } }
.scene .eye { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.scene .mouth { transform-box: fill-box; transform-origin: center; animation: sing .5s ease-in-out infinite alternate; }
@keyframes sing { from { transform: scale(.7, .35); } to { transform: scale(1, 1.2); } }
.scene .eq { display: none; }
.scene .eq rect { transform-box: fill-box; transform-origin: bottom; animation: eqbar .35s ease-in-out infinite alternate; }
.scene .eq rect:nth-child(2) { animation-delay: -.1s; } .scene .eq rect:nth-child(3) { animation-delay: -.25s; }
.scene .eq rect:nth-child(4) { animation-delay: -.05s; } .scene .eq rect:nth-child(5) { animation-delay: -.3s; } .scene .eq rect:nth-child(6) { animation-delay: -.18s; }
@keyframes eqbar { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
body.is-playing .scene .face { display: none; }
body.is-playing .scene .eq { display: inline; }
.scene .screen { animation: glitch 7s steps(1) infinite; }
@keyframes glitch { 0%, 96%, 100% { transform: none; } 97% { transform: translate(3px, -1px) skewX(-6deg); } 98.5% { transform: translate(-3px, 1px); } }
.scene .power { animation: blinksoft 2.4s steps(1) infinite; }
.scene .notes text { opacity: 0; animation: floatnote 3s ease-out infinite; }
.scene .notes .n1 { animation-delay: 1s; } .scene .notes .n2 { animation-delay: 2s; }
@keyframes floatnote { 0% { opacity: 0; transform: translateY(20px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-60px) rotate(18deg); } }

.gap-notes { list-style: none; margin: 0; padding: 0; }
.gn { position: absolute; font: 700 clamp(15px, 1.7vw, 23px)/1.05 var(--f-hand); color: var(--paper); max-width: 11em; }
.gn span { display: inline-block; background: var(--wall-2); padding: 3px 7px; border-radius: 6px; transform: rotate(var(--r, -3deg)); box-shadow: 2px 2px 0 var(--ink); }
.lang-ja .gn { font-size: clamp(12px, 1.3vw, 17px); }
.gn-arrow { position: absolute; width: 70px; height: 35px; color: var(--mustard); overflow: visible; }
.gn-1 { left: -2%; bottom: 17%; --r: -6deg; }
.gn-1 .gn-arrow { left: 70%; top: 100%; transform: rotate(40deg); }
.gn-2 { left: 2%; bottom: -3%; --r: 3deg; }
.gn-2 .gn-arrow { left: 100%; top: -10%; transform: rotate(-10deg); }
.gn-3 { right: -2%; bottom: 16%; --r: 5deg; text-align: right; }
.gn-3 .gn-arrow { right: 70%; top: 100%; transform: scaleX(-1) rotate(40deg); }
.gn-4 { right: 0; bottom: -4%; --r: -4deg; text-align: right; }
.gn-4 .gn-arrow { right: 100%; top: -12%; transform: scaleX(-1) rotate(-10deg); }

.hero-copy { position: relative; padding: 20px 0; }
.hero-copy .scrawl { transform: rotate(-3deg); display: inline-block; margin-bottom: 8px; color: var(--mint); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.next-up {
  display: inline-block; text-decoration: none; color: var(--paper); font-size: 15px;
  border: 2px dashed var(--mustard); border-radius: 8px; padding: 8px 12px;
}
.on-air { color: var(--tomato); font: 400 14px/1 var(--f-marker); margin-right: 8px; }
.doodle-star { position: absolute; animation: spin 6s linear infinite; }
.doodle-star svg { filter: drop-shadow(3px 3px 0 var(--ink)); }
.doodle-star.s1 { top: -10px; right: 6%; }
.doodle-star.s2 { bottom: 0; right: 30%; animation-duration: 9s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { order: -1; padding-bottom: 0; }
  .gn { font-size: 15px; }
  .gn-arrow { display: none; }
  .gn-1 { left: 0; bottom: 21%; } .gn-3 { right: 0; bottom: 21%; }
  .gn-2 { left: 0; bottom: 0; } .gn-4 { right: 0; bottom: 0; }
}

/* ticker */
.ticker { overflow: hidden; margin: 60px -20px 34px; background: var(--mustard); border-block: 4px solid var(--ink); transform: rotate(-1.2deg); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 400 20px/1 var(--f-marker); color: var(--ink); white-space: nowrap; padding: 12px 0 9px; }
@keyframes tick { to { transform: translateX(-33.333%); } }

/* --------------------------------------------------------- the wall */
.wall-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 30px; margin-top: 20px; }
.panel { position: relative; min-width: 0; }
.panel-release { grid-column: span 7; }
.panel-shows { grid-column: span 5; }
.panel-video { grid-column: span 5; }
.panel-journal { grid-column: span 7; }
.panel-podcast { grid-column: span 6; }
.panel-insta { grid-column: span 6; }
.panel-bsky { grid-column: span 12; }
.panel-shop { grid-column: span 12; }
@media (max-width: 900px) { .wall-grid > .panel { grid-column: 1 / -1; } }

/* record sleeve */
.sleeve { position: relative; display: block; width: 100%; max-width: 260px; text-decoration: none; transform: rotate(var(--tilt, 0deg)); color: var(--paper); }
.sleeve-big { max-width: 340px; }
.sleeve .cover {
  position: relative; z-index: 2; display: block; aspect-ratio: 1; background: var(--teal);
  border: 4px solid var(--ink); box-shadow: var(--shadow); overflow: hidden;
}
.sleeve .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-blank { display: grid; place-items: center; height: 100%; padding: 12px; text-align: center; font: 400 26px/1.1 var(--f-deco); color: var(--ink);
  background: repeating-conic-gradient(from 0deg at 50% 100%, var(--mustard) 0 10deg, var(--pink) 10deg 20deg); }
.sleeve .vinyl {
  position: absolute; z-index: 1; top: 4%; left: 8%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, #16121f 0 3px, #2d2640 3px 5px); border: 3px solid var(--ink);
  transition: transform .5s cubic-bezier(.3, 1.4, .6, 1);
}
.sleeve .vinyl i { position: absolute; inset: 34%; border-radius: 50%; background: var(--pink); border: 3px solid var(--ink); }
.sleeve .vinyl i::after { content: ""; position: absolute; inset: 42%; border-radius: 50%; background: var(--ink); }
.sleeve:hover .vinyl, .sleeve:focus .vinyl { transform: translateX(38%) rotate(200deg); }
.sleeve-label { display: block; margin-top: 12px; }
.sleeve-label b { display: block; font: 400 20px/1.1 var(--f-marker); }
.sleeve-label small { opacity: .8; }

.release-feature { display: flex; gap: 34px; align-items: flex-start; flex-wrap: wrap; }
.release-feature .sleeve { flex: 0 1 300px; }
.release-feature .sleeve-label { display: none; }
.rf-copy { flex: 1 1 240px; min-width: 0; }
.rf-meta { margin: 0 0 12px; opacity: .85; }
.mini-tracks { list-style: none; padding: 0; margin: 0 0 18px; }
.mini-tracks li { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(255, 246, 224, .25); }
.mini-tracks small { margin-left: auto; opacity: .6; }
.play-mini {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--pink);
  display: inline-grid; place-items: center; cursor: pointer; box-shadow: 2px 3px 0 var(--ink); padding: 0;
}
.play-mini svg { width: 18px; height: 18px; }
.play-mini.ghost { background: transparent; border-style: dashed; box-shadow: none; }
.play-mini .ic-pause { display: none; }
.play-mini.is-playing { background: var(--mustard); animation: blinksoft 1s steps(1) infinite; }

/* tickets */
.ticket-stack { display: grid; gap: 16px; }
.ticket-stack.wide { max-width: 860px; }
.ticket {
  display: grid; grid-template-columns: 86px 1fr auto; align-items: stretch; color: var(--ink);
  background: var(--mustard); border: 3px solid var(--ink); box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket:nth-child(2n) { background: var(--teal); transform: rotate(1deg); }
.ticket:nth-child(3n) { background: var(--pink); transform: rotate(-1deg); }
.ticket.city-la { background-image: linear-gradient(135deg, transparent 80%, rgba(255, 90, 54, .35) 80%); }
.stub-date { display: grid; place-content: center; text-align: center; border-right: 3px dashed var(--ink); padding: 10px 6px; }
.stub-date b { font: 400 22px/1 var(--f-stencil); }
.stub-date small { font: 400 20px/1 var(--f-crt); }
.stub-body { padding: 12px 16px; min-width: 0; }
.stub-city { margin: 0; font: 400 13px/1 var(--f-marker); letter-spacing: .08em; text-transform: uppercase; }
.stub-body h3 { margin: 4px 0; font: 400 22px/1.1 var(--f-deco); }
.stub-format, .stub-note { margin: 0; font-size: 14px; }
.stub-tear { display: grid; place-items: center; padding: 10px 16px; border-left: 3px dashed var(--ink); }
.admit { font: 400 14px/1.1 var(--f-stencil); text-align: center; opacity: .7; }
@media (max-width: 520px) { .ticket { grid-template-columns: 70px 1fr; } .stub-tear { grid-column: 1 / -1; border-left: 0; border-top: 3px dashed var(--ink); } }

/* CRT TV */
.crt-tv {
  display: block; text-decoration: none; background: #6d4b2b; border: 4px solid var(--ink); border-radius: 26px;
  padding: 18px 18px 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); color: var(--paper);
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 3px, transparent 3px 11px);
}
.crt-screen {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 30px / 24px; overflow: hidden;
  background: #111; border: 4px solid var(--ink); box-shadow: inset 0 0 40px rgba(0, 0, 0, .9);
}
.crt-screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) contrast(1.1); }
.crt-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, rgba(0,0,0,.28) 2px 4px); pointer-events: none; }
.crt-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; transition: transform .2s; }
.crt-play svg { filter: drop-shadow(3px 3px 0 var(--ink)); }
.crt-tv:hover .crt-play { transform: scale(1.15); }
.crt-ch { position: absolute; top: 10px; right: 16px; z-index: 2; font: 28px/1 var(--f-crt); color: var(--mint); text-shadow: 0 0 6px var(--mint); animation: blinksoft 2s steps(1) infinite; }
.crt-knobs { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }
.crt-knobs i { width: 18px; height: 18px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); }
.crt-caption { display: block; font: 400 18px/1.2 var(--f-marker); margin-top: -18px; max-width: 75%; }
.static { display: block; width: 100%; height: 100%; min-height: 120px;
  background: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, #444 1px 2px, #999 2px 3px);
  background-size: 7px 7px; animation: staticfx .2s steps(3) infinite; opacity: .55; }
@keyframes staticfx { 33% { background-position: 3px 5px; } 66% { background-position: -4px 2px; } }

/* notebook */
.notebook {
  position: relative; background: var(--paper); color: var(--ink); padding: 26px 28px 22px 64px; box-shadow: var(--shadow);
  transform: rotate(-1deg);
  background-image:
    linear-gradient(90deg, transparent 50px, rgba(255, 90, 54, .5) 50px 52px, transparent 52px),
    repeating-linear-gradient(transparent 0 33px, var(--blue-line) 33px 35px);
}
.notebook::before {
  content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 22px;
  background: radial-gradient(circle at 50% 50%, var(--wall) 5px, transparent 6px) 0 0 / 22px 34px;
}
.nb-title { font: 700 34px/1 var(--f-hand); margin: 0 0 12px; color: var(--purple); }
.post-lines { list-style: none; margin: 0; padding: 0; }
.post-line a { display: flex; gap: 12px; align-items: baseline; text-decoration: none; color: var(--ink); padding: 5px 0; line-height: 24px; }
.post-line a:hover .pl-title { background: linear-gradient(transparent 55%, rgba(255, 200, 61, .7) 55%); }
.pl-date { font: 400 15px/1 var(--f-marker); color: var(--tomato); flex: none; min-width: 5.5em; }
.pl-title { font: 700 20px/1.25 var(--f-hand); }
.lang-ja .pl-title { font-size: 17px; }
.pl-lang { font: 400 11px/1 var(--f-marker); border: 1.5px solid var(--ink); padding: 3px 5px 1px; border-radius: 4px; }
.post-lines.on-wall .post-line a { color: var(--paper); }

/* boombox */
.boombox { position: relative; padding-top: 30px; }
.bb-handle { position: absolute; top: 0; left: 20%; right: 20%; height: 44px; border: 8px solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; }
.bb-body {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 12px; align-items: center;
  background: var(--tomato); border: 4px solid var(--ink); border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
  background-image: linear-gradient(transparent 80%, rgba(0,0,0,.15) 80%);
}
.bb-speaker { aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--ink);
  background: radial-gradient(circle, var(--ink) 16%, #3a3550 17% 40%, var(--ink) 41% 44%, #574e73 45%);
  animation: thump .5s ease-in-out infinite alternate paused; }
body.is-playing .bb-speaker { animation-play-state: running; }
@keyframes thump { to { transform: scale(1.05); } }
.bb-dial { background: #1b1530; color: var(--mint); border: 3px solid var(--ink); border-radius: 8px; padding: 10px; font-family: var(--f-crt); font-size: 20px; line-height: 1.1; min-height: 96px; }
.bb-dial b { display: block; font-size: 24px; color: var(--mustard); }
.bb-title { display: block; }
.on-air-light { display: inline-block; font: 400 13px/1 var(--f-marker); color: #fff; background: #7a1d1d; padding: 4px 8px 2px; border-radius: 4px; margin-bottom: 6px; animation: onair 1.4s steps(1) infinite; }
.on-air-light.big { font-size: 20px; padding: 8px 14px 5px; }
@keyframes onair { 50% { background: #ff2e2e; box-shadow: 0 0 16px #ff2e2e; } }
.bb-deck { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
@media (max-width: 560px) { .bb-body { grid-template-columns: 1fr; } .bb-speaker { display: none; } }

/* polaroids */
.polaroid-pile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
.polaroid {
  position: relative; display: block; background: #fdfbf4; padding: 9px 9px 36px; text-decoration: none; color: var(--ink);
  box-shadow: 3px 5px 0 rgba(0, 0, 0, .55); transform: rotate(var(--tilt, 0deg)); transition: transform .2s;
}
.polaroid:hover { transform: rotate(0) scale(1.08); z-index: 3; color: var(--ink); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid .tape { width: 60px; height: 20px; top: -9px; }
.pol-cap { position: absolute; left: 10px; right: 10px; bottom: 6px; font: 600 15px/1.1 var(--f-hand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid-static { background: #fdfbf4; padding: 12px 12px 40px; box-shadow: var(--shadow); margin: 0 0 20px; transform: rotate(-1deg); }
.polaroid-static img { display: block; width: 100%; height: auto; }
.polaroid-static figcaption { font: 600 18px/1.2 var(--f-hand); color: var(--ink); padding-top: 8px; }

/* sticky notes */
.sticky-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.sticky {
  position: relative; color: var(--ink); padding: 26px 18px 14px; box-shadow: 4px 6px 0 rgba(0, 0, 0, .5);
  transform: rotate(var(--tilt, 0deg)); background: #ffe66d;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%);
}
.sticky.s-pink { background: #ff9fca; } .sticky.s-teal { background: #8fe3d9; } .sticky.s-mustard { background: #ffe66d; }
.sticky p { margin: 0 0 10px; font: 600 19px/1.3 var(--f-hand); overflow-wrap: anywhere; }
.lang-ja .sticky p { font-size: 16px; }
.sticky a { color: var(--purple); }
.sticky-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 8px; }
.sticky-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); }
.sticky-link { display: block; font-size: 13px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-meta { font: 400 13px/1 var(--f-marker); color: var(--ink) !important; text-decoration: none; opacity: .75; }

/* price tags */
.tag-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 24px; }
.price-tag {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 3px solid var(--ink); padding: 30px 14px 16px; box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg)); transition: transform .2s;
  clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
}
.price-tag:hover { color: var(--ink); transform: rotate(0) translateY(-6px); }
.pt-hole { position: absolute; top: 9px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--wall); border: 3px solid var(--ink); }
.pt-img { display: block; aspect-ratio: 1; background: var(--paper-2); border: 2px solid var(--ink); overflow: hidden; }
.pt-img img, .pt-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-img svg { padding: 20%; }
.pt-kind { font: 400 12px/1 var(--f-marker); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; color: var(--purple); }
.pt-title { font: 700 21px/1.1 var(--f-hand); }
.pt-price { font: 400 26px/1 var(--f-stencil); color: var(--tomato); }
.price-tag .stamp { position: absolute; top: 40%; left: 12%; font-size: 22px; }
.kind-vinyl { background: #ffe0ee; } .kind-cd { background: #dff6f3; } .kind-digital { background: #fff4c8; } .kind-cassette { background: #eae1ff; }
.neon-open { font: 400 .45em/1 var(--f-neon); color: #ff7ab8; text-shadow: 0 0 8px #ff4f9a, 0 0 20px #ff4f9a; margin-left: .4em; vertical-align: middle; animation: neon 3s steps(1) infinite; letter-spacing: 0; }
@keyframes neon { 0%, 60%, 64%, 100% { opacity: 1; } 62% { opacity: .2; } }

/* postcard join form */
.postcard {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 70px auto 0; max-width: 980px;
  background: #fbf3dc; color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink);
  transform: rotate(-1deg);
  background-image: repeating-linear-gradient(135deg, var(--tomato) 0 14px, #fbf3dc 14px 24px, var(--teal) 24px 38px, #fbf3dc 38px 48px);
  padding: 12px;
}
.postcard > div { background: #fbf3dc; padding: 26px; }
.pc-left { border-right: 3px dashed var(--ink); }
.pc-right { position: relative; display: grid; gap: 14px; align-content: start; }
.stamp-box { position: absolute; top: 14px; right: 14px; width: 70px; height: 84px; border: 3px dotted var(--ink); display: grid; place-items: center; background: var(--mustard); transform: rotate(4deg); }
.postcard-compact { max-width: 760px; }
@media (max-width: 720px) { .postcard { grid-template-columns: 1fr; } .pc-left { border-right: 0; border-bottom: 3px dashed var(--ink); } }

.line-input { display: grid; gap: 4px; font: 400 14px/1 var(--f-marker); letter-spacing: .03em; }
.line-input input, .line-input select, .line-input textarea {
  font: 18px/1.4 var(--f-body); color: var(--ink); background: transparent; border: 0; border-bottom: 3px solid var(--ink);
  padding: 8px 2px; border-radius: 0; width: 100%;
}
.line-input textarea { border: 3px solid var(--ink); border-radius: 4px; background: rgba(255,255,255,.5); }
.line-input input:focus, .line-input select:focus, .line-input textarea:focus { outline: none; border-color: var(--pink); background: rgba(255, 79, 154, .08); }
.city-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.city-pick legend { font: 400 14px/1 var(--f-marker); margin-bottom: 8px; }
.city-pick label { font: 700 20px/1 var(--f-hand); display: flex; gap: 6px; align-items: center; }
input[type=radio], input[type=checkbox] { accent-color: var(--pink); width: 18px; height: 18px; }

/* ----------------------------------------------------------- pages */
.page-head { padding: 24px 0 30px; }
.record-crate { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 50px 34px; padding: 20px 0; }
.stream-stickers { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 40px 0 0; }

.release-page { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 50px; align-items: start; }
.rp-art { position: sticky; top: 20px; }
.rp-kind { font: 400 14px/1 var(--f-marker); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.paper .rp-kind { color: var(--purple); }
.tracklist { margin: 26px 0; }
.tracklist ol { list-style: none; margin: 0; padding: 0; }
.track { display: grid; grid-template-columns: 40px 28px 1fr auto; gap: 8px 10px; align-items: center; padding: 6px 0; line-height: 31px; }
.t-num { font: 400 16px/1 var(--f-marker); color: var(--tomato); }
.t-title { font: 700 22px/1.2 var(--f-hand); }
.lang-ja .t-title { font-size: 18px; }
.t-dur { font: 20px/1 var(--f-crt); }
.lyrics { grid-column: 3 / -1; }
.lyrics summary { cursor: pointer; font: 400 13px/1 var(--f-marker); color: var(--purple); }
.lyric-text { white-space: pre-line; font: 600 19px/1.5 var(--f-hand); padding: 6px 0 12px; }
.buy-box { margin: 30px 0; }
.formats { display: grid; gap: 14px; }
.formats.small { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.format-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--ink); background: var(--paper);
  border: 3px solid var(--ink); border-radius: var(--r-hand-2); padding: 12px 16px; box-shadow: var(--shadow-sm);
}
.format-chip select { font: inherit; padding: 4px; border: 2px solid var(--ink); background: #fff; }
.fc-kind { font: 400 17px/1 var(--f-marker); min-width: 8em; }
.fc-price { font: 400 24px/1 var(--f-stencil); color: var(--tomato); }
.fc-more { margin-left: auto; color: var(--purple); font-size: 14px; }
.credits pre { white-space: pre-wrap; font: 14px/1.5 var(--f-body); }
.credits summary { cursor: pointer; font: 400 15px/1 var(--f-marker); }
@media (max-width: 820px) { .release-page { grid-template-columns: 1fr; } .rp-art { position: static; } }

.vhs-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 34px 28px; }
.vhs-box { display: block; text-decoration: none; color: var(--paper); transform: rotate(var(--tilt, 0deg)); transition: transform .2s; }
.vhs-box:hover { transform: rotate(0) scale(1.03); color: var(--paper); }
.vhs-art { position: relative; display: block; aspect-ratio: 16 / 10; background: #111; border: 4px solid var(--ink); overflow: hidden; box-shadow: var(--shadow); }
.vhs-art img { width: 100%; height: 100%; object-fit: cover; }
.vhs-play { position: absolute; inset: 0; display: grid; place-items: center; }
.vhs-play svg { filter: drop-shadow(3px 3px 0 var(--ink)); }
.vhs-spine { display: block; background: var(--ink); border: 4px solid var(--ink); border-top: 0; padding: 8px 12px; }
.vhs-spine b { display: block; font: 400 18px/1.15 var(--f-marker); }
.vhs-spine small { font: 18px/1 var(--f-crt); color: var(--mint); }

.video-page { display: grid; gap: 34px; }
.big-crt { background: #3a3550; border: 5px solid var(--ink); border-radius: 30px; padding: 22px; box-shadow: 10px 12px 0 var(--ink); }
.big-crt-screen { aspect-ratio: 16 / 9; background: #000; border: 5px solid var(--ink); border-radius: 22px / 18px; overflow: hidden; }
.big-crt-screen video, .big-crt-screen iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.big-crt-panel { display: flex; gap: 12px; align-items: center; padding-top: 14px; }
.big-crt-panel i { width: 22px; height: 22px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); }
.big-crt-panel span { margin-left: auto; font: 400 16px/1 var(--f-deco); color: var(--gold); letter-spacing: .1em; }
.video-copy { max-width: 760px; }
.more-row { margin-top: 60px; }

.clocks { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.clock { background: #111; border: 3px solid var(--ink); border-radius: 8px; padding: 6px 12px; box-shadow: var(--shadow-sm); }
.clock b { font: 400 12px/1 var(--f-marker); display: block; color: var(--paper); }
.clock time { font: 34px/1 var(--f-crt); color: #ff5050; text-shadow: 0 0 8px #ff2020; }
.show-section { margin: 20px 0 44px; }
.past-list { list-style: none; padding: 0; margin: 0; columns: 2 340px; }
.past-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed rgba(255, 246, 224, .25); }
.past-list span { font: 20px/1 var(--f-crt); color: var(--mint); margin-right: 6px; }

/* the gram */
.gram { max-width: 940px; margin: 0 auto; }
.gram-head { display: flex; gap: clamp(20px, 6vw, 80px); align-items: center; padding: 20px 0 30px; }
.gram-avatar { flex: none; width: clamp(96px, 20vw, 160px); aspect-ratio: 1; border-radius: 50%; padding: 6px;
  background: conic-gradient(var(--mustard), var(--pink), var(--purple), var(--teal), var(--mustard)); }
.gram-avatar svg { width: 100%; height: 100%; border-radius: 50%; background: var(--wall-2); border: 4px solid var(--wall); padding: 12%; }
.gram-handle { font: 400 30px/1 var(--f-marker); margin: 0 0 12px; }
.gram-stats { margin: 0 0 8px; }
.gram-bio { margin: 0; font: 600 20px/1.3 var(--f-hand); color: var(--mint); }
.gram-tabs { display: flex; justify-content: center; gap: 40px; border-top: 2px solid rgba(255, 246, 224, .3); margin-bottom: 6px; }
.gram-tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 14px 0; font: 400 14px/1 var(--f-marker); letter-spacing: .1em; color: rgba(255, 246, 224, .6); text-decoration: none; border-top: 3px solid transparent; margin-top: -2px; }
.gram-tabs a.on { color: var(--paper); border-top-color: var(--mustard); }
.gram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(3px, 1vw, 8px); }
.gram-cell { position: relative; display: block; aspect-ratio: 1; padding: 0; border: 0; background: #111; cursor: pointer; overflow: hidden; }
.gram-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gram-cell:hover img { transform: scale(1.05); }
.gram-hover { position: absolute; inset: 0; display: flex; gap: 6px; align-items: center; justify-content: center; font: 400 20px/1 var(--f-marker); color: #fff; background: rgba(27, 21, 48, .5); opacity: 0; transition: opacity .2s; }
.gram-cell:hover .gram-hover, .gram-cell:focus-visible .gram-hover { opacity: 1; }
.gram-badge { position: absolute; top: 8px; right: 10px; color: #fff; text-shadow: 0 1px 3px #000; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 96vw); width: 100%; color: var(--ink); }
.lightbox::backdrop { background: rgba(20, 14, 40, .88); }
.lb-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); background: var(--paper); border: 4px solid var(--ink); box-shadow: 10px 12px 0 #000; }
.lb-frame > img { width: 100%; max-height: 86vh; object-fit: contain; background: #111; display: block; }
.lb-side { display: flex; flex-direction: column; padding: 18px; min-height: 0; }
.lb-head { margin: 0 0 12px; border-bottom: 2px dashed var(--ink); padding-bottom: 10px; }
.lb-caption { flex: 1; font: 600 20px/1.35 var(--f-hand); white-space: pre-line; overflow: auto; }
.lb-foot { display: flex; gap: 10px; align-items: center; margin: 0; }
.lb-heart { background: none; border: 0; cursor: pointer; padding: 0; }
.lb-heart.on use { color: var(--pink); }
.lb-heart.on svg { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.4) rotate(-10deg); } }
.lb-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); cursor: pointer; font-size: 18px; }
.lb-nav { position: absolute; top: 45%; width: 44px; height: 56px; background: var(--paper); border: 3px solid var(--ink); font-size: 32px; cursor: pointer; line-height: 1; }
.lb-prev { left: -22px; } .lb-next { right: -22px; }
@media (max-width: 760px) { .lb-frame { grid-template-columns: 1fr; } .lb-prev { left: 4px; } .lb-next { right: 4px; } .lb-close { right: 4px; top: 4px; } }

/* journal */
.spiral-notebook { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.spiral { position: absolute; left: 0; top: 20px; bottom: 20px; width: 50px; z-index: 2;
  background: radial-gradient(ellipse 18px 8px at 26px 50%, transparent 55%, #c9c3d8 58% 78%, transparent 82%) 0 0 / 50px 36px; }
.nb-page { color: var(--ink); box-shadow: var(--shadow); padding: 34px 34px 30px 78px; min-height: 60vh; transform: rotate(-.4deg);
  background-image:
    radial-gradient(circle at 26px 18px, var(--wall) 7px, transparent 8px),
    linear-gradient(90deg, transparent 58px, rgba(255, 90, 54, .45) 58px 60px, transparent 60px),
    repeating-linear-gradient(transparent 0 33px, var(--blue-line) 33px 35px);
  background-size: 100% 36px, auto, auto; background-repeat: repeat-y, no-repeat, repeat; background-color: var(--paper);
  line-height: 35px; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { padding: 0 0 35px; }
.entry-link { display: block; text-decoration: none; color: var(--ink); }
.entry-link:hover .entry-title { color: var(--pink); }
.entry-date { display: block; font: 400 15px/35px var(--f-marker); color: var(--tomato); }
.entry-title { font: 700 32px/35px var(--f-hand); margin: 0; }
.lang-ja .entry-title, .entry.lang-ja .entry-title { font-size: 25px; }
.entry-excerpt { margin: 0; font-size: 16px; line-height: 35px; }
.entry-meta { font-size: 13px; color: var(--purple); }
.entry-img { float: right; width: 140px; aspect-ratio: 1; object-fit: cover; margin: 6px 0 10px 18px; border: 3px solid var(--ink); transform: rotate(3deg); background: #fff; padding: 4px; }
.pager { display: flex; justify-content: space-between; font: 700 24px/35px var(--f-hand); clear: both; }
.pager a { color: var(--purple); }
.post-head { margin-bottom: 20px; }
.post-title { font: 700 clamp(36px, 5vw, 56px)/1.05 var(--f-hand); margin: 0 0 10px; }
.lang-ja .post-title, article[lang=ja] .post-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.3; }
.post-tags a { color: var(--purple); margin-right: 8px; }
.twin { margin-top: 10px; }
.ghost-content { line-height: 35px; font-size: 17px; }
.ghost-content h2, .ghost-content h3 { font: 700 32px/35px var(--f-hand); margin: 35px 0 0; color: var(--purple); }
.ghost-content p { margin: 0 0 35px; }
.ghost-content a { color: var(--purple); }
.ghost-content blockquote { margin: 0 0 35px; padding-left: 18px; border-left: 5px solid var(--pink); font: 600 24px/35px var(--f-hand); }
.ghost-content figure { margin: 0 0 35px; }
.ghost-content img { background: #fff; padding: 8px; border: 3px solid var(--ink); box-shadow: var(--shadow-sm); }
.ghost-content figcaption { font: 600 17px/35px var(--f-hand); text-align: center; }
.ghost-content pre { background: var(--ink); color: var(--mint); padding: 14px; overflow-x: auto; line-height: 1.5; font: 18px/1.4 var(--f-crt); }
.ghost-content .kg-width-wide, .ghost-content .kg-width-full { margin-left: -20px; margin-right: -20px; }
.ghost-content .kg-embed-card iframe, .ghost-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 3px solid var(--ink); }
.ghost-content .kg-gallery-row { display: flex; gap: 8px; }
.ghost-content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.ghost-content .kg-bookmark-card a { display: flex; border: 3px solid var(--ink); text-decoration: none; color: var(--ink); background: #fff; line-height: 1.4; }
.ghost-content .kg-bookmark-content { padding: 12px; } .ghost-content .kg-bookmark-thumbnail img { width: 160px; height: 100%; object-fit: cover; border: 0; padding: 0; box-shadow: none; }
.ghost-content .kg-bookmark-icon, .ghost-content .kg-bookmark-publisher { display: none; }
.ghost-content .kg-callout-card { display: flex; gap: 10px; background: #fff0b8; padding: 0 16px; border: 2px dashed var(--ink); margin-bottom: 35px; }
.ghost-content .kg-audio-card, .ghost-content .kg-file-card { border: 3px solid var(--ink); padding: 8px; margin-bottom: 35px; background: #fff; }
.sign-off { font: 700 30px/35px var(--f-hand); text-align: right; color: var(--purple); }
@media (max-width: 640px) { .spiral-notebook { padding-left: 16px; } .spiral { width: 34px; background-size: 34px 36px; } .nb-page { padding: 24px 18px 24px 52px; background-image: none, linear-gradient(90deg, transparent 40px, rgba(255, 90, 54, .45) 40px 42px, transparent 42px), repeating-linear-gradient(transparent 0 33px, var(--blue-line) 33px 35px); } .entry-img { width: 90px; } }

/* podcast */
.radio-hero { display: flex; gap: 28px; align-items: center; }
.mic-doodle { flex: none; filter: url(#wobble) drop-shadow(4px 5px 0 var(--ink)); animation: bob 2s ease-in-out infinite; }
.sub-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.episode-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; max-width: 900px; }
.episode-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.ep-num { font: 400 30px/1 var(--f-stencil); color: var(--paper); background: var(--purple); border: 3px solid var(--ink); padding: 12px 10px 8px; transform: rotate(-4deg); }
.ep-body h2 { margin: 0; font: 700 28px/1.1 var(--f-hand); }
.lang-ja .ep-body h2 { font-size: 22px; }
.ep-body h2 a { color: var(--ink); text-decoration: none; }
.ep-meta { margin: 4px 0; font: 18px/1 var(--f-crt); color: var(--purple); }
.ep-notes { margin: 0; font-size: 14px; }
.play-big { width: 64px; height: 64px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; }
.play-big svg { width: 30px; height: 30px; } .play-big .ic-pause { display: none; } .play-big svg use { color: var(--ink); }
.play-big.is-playing { background: var(--pink); }
@media (max-width: 600px) { .episode-card { grid-template-columns: 1fr auto; } .ep-num { grid-column: 1 / -1; justify-self: start; } .radio-hero { flex-direction: column; align-items: flex-start; } }
.episode-page { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.cassette-big { position: relative; transform: rotate(-6deg); filter: drop-shadow(6px 8px 0 var(--ink)); }
.cassette-big svg { width: 100%; height: auto; }
.cb-label { position: absolute; top: 19%; left: 16%; font: 400 22px/1 var(--f-marker); color: var(--ink); }
.ep-player { display: flex; gap: 14px; align-items: center; margin: 10px 0 30px; }
@media (max-width: 760px) { .episode-page { grid-template-columns: 1fr; } .cassette-big { max-width: 220px; } }

/* shop */
.cur-switch a { color: var(--paper); } .cur-switch a.on { color: var(--mustard); font-weight: 700; }
.merch-table { position: relative; padding: 30px; background: #6d4b2b; border: 4px solid var(--ink); box-shadow: 10px 12px 0 var(--ink); border-radius: 6px;
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 90px), linear-gradient(transparent 96%, rgba(0,0,0,.25) 96%); background-size: auto, 100% 60px; }
.tipjar-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--paper); text-decoration: none; font: 400 20px/1 var(--f-marker); }
.jar { position: relative; width: 50px; height: 64px; border: 3px solid var(--ink); border-radius: 8px 8px 16px 16px; background: rgba(200, 240, 255, .35); overflow: hidden; }
.jar i { position: absolute; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); }
.jar i:nth-child(1) { left: 5px; } .jar i:nth-child(2) { left: 22px; bottom: 12px; } .jar i:nth-child(3) { left: 12px; bottom: 22px; animation: dropcoin 2.4s ease-in infinite; }
@keyframes dropcoin { 0% { transform: translateY(-60px); } 40%, 100% { transform: none; } }

.product-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.pp-main img { aspect-ratio: 1; object-fit: cover; }
.pp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pp-thumbs button { width: 70px; height: 70px; padding: 0; border: 3px solid var(--ink); cursor: pointer; background: #fff; }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-blank { background: var(--paper); border: 4px solid var(--ink); aspect-ratio: 1; display: grid; place-items: center; padding: 20%; }
.pp-price { font: 400 44px/1 var(--f-stencil); color: var(--tomato); margin: 0 0 20px; }
.add-form { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; margin-bottom: 26px; }
.add-form .qty input { width: 80px; }
@media (max-width: 800px) { .product-page { grid-template-columns: 1fr; } }

.receipt-wrap { display: flex; justify-content: center; padding: 10px 0 30px; }
.receipt {
  width: min(560px, 100%); background: #fdfdf6; color: var(--ink); padding: 34px 30px 40px; font-family: "Courier Prime", "Kiwi Maru", monospace;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, .5); transform: rotate(.8deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x;
}
.rc-head { text-align: center; border-bottom: 2px dashed var(--ink); padding-bottom: 14px; letter-spacing: .08em; }
.rc-lines { list-style: none; margin: 0; padding: 10px 0; border-bottom: 2px dashed var(--ink); }
.rc-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; }
.rc-lines li.soldout { text-decoration: line-through; color: var(--tomato); }
.rc-item b { display: block; } .rc-item small { opacity: .7; }
.rc-qty { display: flex; gap: 6px; align-items: center; }
.rc-qty input { width: 54px; font: inherit; border: 2px solid var(--ink); padding: 2px 4px; }
.linkish { background: none; border: 0; color: var(--tomato); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }
.rc-amt { font-weight: 700; }
.rc-region { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 0; border-bottom: 2px dashed var(--ink); align-items: center; }
.rc-region span { font-weight: 700; }
.rc-region label { display: flex; gap: 5px; align-items: center; }
.rc-sums { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 14px 0; }
.rc-sums dd { margin: 0; text-align: right; }
.rc-total { font-size: 22px; font-weight: 700; border-top: 3px double var(--ink); padding-top: 6px; }
.rc-pay { display: grid; gap: 12px; margin: 20px 0 10px; }
.rc-pay form, .rc-pay .btn { width: 100%; } .rc-pay .btn { justify-content: center; }
.rc-empty { text-align: center; padding: 20px; }
.rc-foot { text-align: center; letter-spacing: .2em; margin-top: 26px; }
.receipt .scrawl { color: var(--purple); text-align: center; padding: 12px 0; }
.receipt .cur-switch a { color: var(--ink); } .receipt .cur-switch a.on { color: var(--pink); }
.downloads { padding: 16px 0; border-bottom: 2px dashed var(--ink); }
.downloads ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.downloads small { display: block; margin-top: 6px; }

.form-page { display: flex; justify-content: center; padding: 30px 0; }
.note-form { width: min(620px, 100%); display: grid; gap: 18px; }
.note-form .btn { justify-self: start; }

.tipjar { display: flex; gap: 50px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 30px 0; }
.big-jar { position: relative; width: 200px; height: 280px; flex: none; }
.jar-lid { position: absolute; top: 0; left: 30px; right: 30px; height: 36px; background: var(--mustard); border: 4px solid var(--ink); border-radius: 8px; }
.jar-glass { position: absolute; top: 30px; bottom: 0; left: 0; right: 0; border: 5px solid var(--ink); border-radius: 30px 30px 50px 50px; background: rgba(190, 235, 255, .22); overflow: hidden; box-shadow: var(--shadow); }
.jar-glass::after { content: ""; position: absolute; left: 18px; top: 20px; width: 14px; height: 70%; border-radius: 10px; background: rgba(255,255,255,.35); }
.coin { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); border: 4px solid var(--ink); }
.c1 { bottom: 10px; left: 30px; } .c2 { bottom: 18px; left: 96px; } .c3 { left: 70px; bottom: 50px; animation: dropcoin 2.6s ease-in infinite; }
.bill { position: absolute; bottom: 30px; left: 40px; width: 110px; height: 50px; background: #9be59b; border: 4px solid var(--ink); transform: rotate(-18deg); }
.jar-label { position: absolute; top: 70px; left: 50%; transform: translateX(-50%) rotate(-4deg); background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 6px 12px; font: 400 22px/1 var(--f-marker); text-align: center; }
.amounts { display: flex; gap: 10px; flex-wrap: wrap; }
.amount-chip input { position: absolute; opacity: 0; }
.amount-chip span { display: inline-block; font: 400 22px/1 var(--f-stencil); padding: 10px 14px 8px; border: 3px solid var(--ink); border-radius: var(--r-hand); cursor: pointer; background: #fff; }
.amount-chip input:checked + span { background: var(--pink); box-shadow: var(--shadow-sm); }
.amount-chip input:focus-visible + span { outline: 3px dashed var(--purple); }

/* the name */
.name-story { display: grid; gap: 40px; max-width: 980px; margin: 0 auto; }
.stall-diagram svg { width: 100%; height: auto; border: 4px solid var(--ink); border-radius: 18px; box-shadow: 10px 12px 0 var(--ink); transform: rotate(-1deg); }
.stall-caption { text-align: center; margin-top: 16px; }
.story { max-width: 760px; justify-self: center; font-size: 18px; line-height: 31px; }
.drop::first-letter { font: 400 3.2em/1 var(--f-deco); float: left; margin: 4px 10px 0 0; color: var(--pink); }
.four-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.four-cards .marker { color: var(--ink); font-size: 30px; }
.four-cards small { font-size: .55em; opacity: .7; }
.fc-n { position: absolute; top: -16px; right: -10px; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--mustard); display: grid; place-items: center; font: 400 22px/1 var(--f-stencil); }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* the wall page */
.corkboard { position: relative; padding: 40px 30px; border: 14px solid #8a5a33; border-radius: 6px; box-shadow: inset 0 0 30px rgba(0,0,0,.5), 10px 12px 0 var(--ink);
  background: #c58f5a radial-gradient(circle, rgba(0,0,0,.18) 1px, transparent 1.5px) 0 0 / 9px 9px;
  columns: 3 260px; column-gap: 30px; }
.corkboard > * { break-inside: avoid; margin: 0 0 34px; display: block; }
.cork-note { display: block; text-decoration: none; color: var(--ink); padding: 28px 18px 16px 50px; line-height: 31px; }
.cork-note .entry-title { display: block; font: 700 25px/31px var(--f-hand); }
.cork-note .entry-excerpt { display: block; font-size: 14px; line-height: 31px; }

.error-page { text-align: center; padding: 50px 0; display: grid; gap: 22px; justify-items: center; }
.empty-stall svg { width: min(420px, 90vw); height: auto; border: 4px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); transform: rotate(-2deg); }

.thanks { text-align: center; }
.thanks .deco-title { justify-content: center; }

/* ----------------------------------------------------------- walkman */
.walkman { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(380px, calc(100vw - 32px)); transform: rotate(-1.5deg); }
.wm-body {
  display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 10px 12px; color: var(--ink);
  background: linear-gradient(#4a78c9, #3b5bdb); border: 4px solid var(--ink); border-radius: 16px; padding: 12px; box-shadow: 7px 9px 0 rgba(0,0,0,.6);
}
.wm-window { grid-row: span 2; display: flex; align-items: center; justify-content: space-around; background: #20183a; border: 3px solid var(--ink); border-radius: 10px; }
.wm-reel { width: 30px; height: 30px; border-radius: 50%; border: 4px dashed var(--paper); animation: spin 2s linear infinite paused; }
body.is-playing .wm-reel { animation-play-state: running; }
.wm-lcd { background: #a6c48a; border: 3px solid var(--ink); border-radius: 6px; padding: 5px 8px; min-width: 0; font-family: var(--f-crt); }
.wm-label { display: block; font-size: 14px; line-height: 1; opacity: .7; }
.wm-title { display: block; font-size: 22px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-bar { height: 6px; background: rgba(0,0,0,.2); margin-top: 4px; cursor: pointer; }
.wm-bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.wm-buttons { display: flex; gap: 6px; }
.wm-buttons button { flex: 1; height: 36px; background: #cfd6e6; border: 3px solid var(--ink); border-radius: 6px; cursor: pointer; font-size: 15px; box-shadow: 0 3px 0 var(--ink); display: grid; place-items: center; padding: 0; color: var(--ink); }
.wm-buttons button:active { transform: translateY(3px); box-shadow: none; }
#wm-toggle { background: var(--mustard); }
#wm-toggle svg use { color: var(--ink); }

/* -------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body.no-motion *, body.no-motion *::before, body.no-motion *::after { animation: none !important; }
