/* =================================================================
   kagerou.glass — yamero.css
   The shared "Internet Yamero" design system.
   A blend of jirai-kei (地雷系), NGO/Needy Girl Overdose, and the
   decorated-bio aesthetic of typical JP accounts — wrapped around an
   NGO-liminal void. See DESIGN.md.

   Load order on every page:
     <link yamero.css>  →  <link page.css>   (page layers over shared)
     <svg .yamero-defs> at top of <body>      (filter hosts, CSP-safe)
     <script /js/yamero.js defer>             (furniture, external = CSP)
   ================================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Void & surfaces */
  --void:   #0a0710;
  --base:   #0d0a10;
  --panel:  #161019;
  --raise:  #1d1422;

  /* Ink */
  --ink:       #f2e7ef;
  --ink-soft:  #ddc9d8;
  --ink-dim:   #9c8699;
  --ink-faint: #6d5b68;

  /* Jirai / NGO core */
  --pink:      #ff86bf;
  --pink-hot:  #ff5fa6;
  --pink-soft: #ffb3d6;
  --lilac:     #c2a4f2;
  --lilac-soft:#d9c6f7;
  --cyan:      #76e6e0;
  --cyan-hot:  #3ff0e6;
  --green:     #a6f0a0;
  --crimson:   #e8447e;

  /* Liminal fluorescent */
  --fluoro: #d8ffe6;
  --tube:   #eaf7ff;
  --pool:   #2aa9b0;

  /* Web-1.0 irony */
  --link-blue: #5b78ff;
  --visited:   #b18cff;

  /* Lines & glows */
  --line:      rgba(255, 134, 191, 0.20);
  --line-soft: rgba(255, 134, 191, 0.11);
  --line-hair: rgba(255, 134, 191, 0.06);
  --line-cyan: rgba(118, 230, 224, 0.22);
  --pink-glow: rgba(255, 95, 166, 0.16);
  --cyan-glow: rgba(118, 230, 224, 0.18);

  /* Type */
  --f-display: 'Dela Gothic One', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --f-head:    'Zen Kaku Gothic New', system-ui, sans-serif;
  --f-body:    'Zen Kaku Gothic New', system-ui, -apple-system, sans-serif;
  --f-digital: 'DotGothic16', 'JetBrains Mono', monospace;
  --f-mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --f-system:  'MS PGothic', Tahoma, 'Hiragino Kaku Gothic Pro', sans-serif;
  --f-frag:    'Zen Kaku Gothic New', system-ui, sans-serif;        /* light gothic — fragments (EN) */
  --f-frag-ja: 'Shippori Mincho', 'Zen Kaku Gothic New', serif;     /* JP mincho — fragments (JA) */

  /* 8-bit pixel hearts */
  --px-heart-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='%23ff86bf'%3E%3Crect x='2' width='4' height='2'/%3E%3Crect x='8' width='4' height='2'/%3E%3Crect y='2' width='14' height='2'/%3E%3Crect y='4' width='14' height='2'/%3E%3Crect x='2' y='6' width='10' height='2'/%3E%3Crect x='4' y='8' width='6' height='2'/%3E%3Crect x='6' y='10' width='2' height='2'/%3E%3C/svg%3E");
  --px-heart-cyan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='%2376e6e0'%3E%3Crect x='2' width='4' height='2'/%3E%3Crect x='8' width='4' height='2'/%3E%3Crect y='2' width='14' height='2'/%3E%3Crect y='4' width='14' height='2'/%3E%3Crect x='2' y='6' width='10' height='2'/%3E%3Crect x='4' y='8' width='6' height='2'/%3E%3Crect x='6' y='10' width='2' height='2'/%3E%3C/svg%3E");
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background-color: var(--base);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg fill-opacity='0.085'%3E%3Cg transform='translate(24,34) scale(1.7)' fill='%23ff86bf'%3E%3Crect x='2' width='4' height='2'/%3E%3Crect x='8' width='4' height='2'/%3E%3Crect y='2' width='14' height='2'/%3E%3Crect y='4' width='14' height='2'/%3E%3Crect x='2' y='6' width='10' height='2'/%3E%3Crect x='4' y='8' width='6' height='2'/%3E%3Crect x='6' y='10' width='2' height='2'/%3E%3C/g%3E%3Cg transform='translate(150,44) rotate(-12) scale(1.7)'%3E%3Cg fill='%23ff86bf'%3E%3Crect x='1' y='1' width='6' height='4'/%3E%3Crect y='2' width='1' height='2'/%3E%3C/g%3E%3Cg fill='%2376e6e0'%3E%3Crect x='8' y='1' width='6' height='4'/%3E%3Crect x='14' y='2' width='1' height='2'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(44,150) rotate(-20) scale(1.5)' fill='%2376e6e0'%3E%3Crect x='4' y='1' width='9' height='4'/%3E%3Crect x='1' y='2' width='3' height='2'/%3E%3Crect y='1' width='1' height='4'/%3E%3Crect x='13' y='2' width='5' height='1'/%3E%3Crect x='6' y='1' width='1' height='1'/%3E%3Crect x='8' y='1' width='1' height='1'/%3E%3Crect x='10' y='1' width='1' height='1'/%3E%3C/g%3E%3Cg transform='translate(228,132) scale(1.8)' fill='%23c2a4f2'%3E%3Crect x='2' width='4' height='1'/%3E%3Crect x='1' y='1' width='6' height='1'/%3E%3Crect y='2' width='8' height='4'/%3E%3Crect x='1' y='6' width='6' height='1'/%3E%3Crect x='2' y='7' width='4' height='1'/%3E%3C/g%3E%3Cg transform='translate(120,224) scale(1.7)' fill='%23ff5fa6'%3E%3Crect x='3' width='2' height='8'/%3E%3Crect y='3' width='8' height='2'/%3E%3C/g%3E%3Cg transform='translate(248,244) scale(1.4)' fill='%2376e6e0'%3E%3Crect x='2' width='4' height='2'/%3E%3Crect x='8' width='4' height='2'/%3E%3Crect y='2' width='14' height='2'/%3E%3Crect y='4' width='14' height='2'/%3E%3Crect x='2' y='6' width='10' height='2'/%3E%3Crect x='4' y='8' width='6' height='2'/%3E%3Crect x='6' y='10' width='2' height='2'/%3E%3C/g%3E%3Cg transform='translate(28,256) scale(1.5)' fill='%23a6f0a0'%3E%3Crect x='2' width='4' height='1'/%3E%3Crect x='1' y='1' width='6' height='1'/%3E%3Crect y='2' width='8' height='4'/%3E%3Crect x='1' y='6' width='6' height='1'/%3E%3Crect x='2' y='7' width='4' height='1'/%3E%3C/g%3E%3Cg transform='translate(186,196) rotate(28) scale(1.3)'%3E%3Cg fill='%23c2a4f2'%3E%3Crect x='1' y='1' width='6' height='4'/%3E%3Crect y='2' width='1' height='2'/%3E%3C/g%3E%3Cg fill='%23a6f0a0'%3E%3Crect x='8' y='1' width='6' height='4'/%3E%3Crect x='14' y='2' width='1' height='2'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(96,96) scale(1.2)' fill='%23c2a4f2'%3E%3Crect x='3' width='2' height='8'/%3E%3Crect y='3' width='8' height='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 300px;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.8;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Liminal glow + vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(255, 95, 166, 0.13), transparent 60%),
    radial-gradient(70% 50% at 10% 28%, rgba(194, 164, 242, 0.09), transparent 60%),
    radial-gradient(64% 50% at 92% 72%, rgba(118, 230, 224, 0.06), transparent 60%),
    radial-gradient(140% 120% at 50% 45%, transparent 52%, rgba(0,0,0,0.55) 100%);
}
/* CRT scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
}

.yamero-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =================================================================
   Liminal floor — receding fluorescent grid into fog
   ================================================================= */
.liminal-floor {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 260vw;
  height: 46vh;
  transform: translateX(-50%) perspective(40vh) rotateX(70deg);
  transform-origin: bottom center;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(118,230,224,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,134,191,0.16) 1px, transparent 1px);
  background-size: 5vh 5vh, 5vh 5vh;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  mask-image: linear-gradient(to top, #000 0%, transparent 78%);
  opacity: 0.6;
}

/* Bloom behind a light source */
.bloom { position: relative; }
.bloom::after {
  content: '';
  position: absolute;
  inset: -40% -20%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(234,247,255,0.16), rgba(255,95,166,0.10) 45%, transparent 72%);
  pointer-events: none;
}

/* =================================================================
   Glitch / chromatic aberration
   ================================================================= */
.glitch {
  text-shadow: -0.026em 0 rgba(255,95,166,0.6), 0.026em 0 rgba(118,230,224,0.6);
}
.glitch:hover, .glitch.is-glitching { animation: glitch 0.42s steps(2, end) 1; }
@keyframes glitch {
  0%   { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  20%  { transform: translate(-2px,1px); }
  40%  { transform: translate(2px,-1px); clip-path: inset(12% 0 40% 0); }
  60%  { transform: translate(-1px,0); clip-path: inset(60% 0 8% 0); }
  80%  { transform: translate(1px,1px); }
  100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
}

/* Heat-haze (陽炎) — a cheap, compositor-only "rising heat" shimmer.
   (Replaces the old SMIL feTurbulence filter, which froze when paused
   and was expensive when animated.) */
.heat-haze { animation: hazebob 5.5s ease-in-out infinite; will-change: transform; }
@keyframes hazebob {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50%      { transform: translateY(-1.5px) scaleY(1.014); }
}

/* =================================================================
   Pixel hearts & seals
   ================================================================= */
.pxh {
  display: inline-block;
  width: 0.95em; height: 0.82em;
  background: var(--px-heart-pink) center/contain no-repeat;
  image-rendering: pixelated;
  vertical-align: -0.05em;
}
.pxh--cyan { background-image: var(--px-heart-cyan); }

.seal {
  display: inline-block;
  width: 1.9rem; height: 1.62rem;
  font-size: 0; color: transparent;
  text-decoration: none;
  background: var(--px-heart-pink) center/contain no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 5px rgba(255,95,166,0.6));
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), filter 0.2s ease;
}
.seal:hover {
  transform: scale(1.18) rotate(-6deg);
  background-image: var(--px-heart-cyan);
  filter: drop-shadow(0 0 9px rgba(118,230,224,0.85));
  animation: glitch 0.42s steps(2,end) 1;
}
.seal:active { transform: scale(0.94); }

/* =================================================================
   Capsule pill button (primary action)
   ================================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 1.4rem;
  font-family: var(--f-digital);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base);
  background: linear-gradient(120deg, var(--cyan), var(--pink) 55%, var(--pink-hot));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 22px -6px var(--pink-hot), 0 0 22px -10px var(--cyan), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 26px -6px var(--pink-hot), 0 0 22px -8px var(--cyan), inset 0 1px 0 rgba(255,255,255,0.4); }
.pill:active { transform: translateY(0); }
.pill--ghost {
  color: var(--pink-soft);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}
.pill--ghost:hover { color: var(--cyan); border-color: var(--line-cyan); box-shadow: 0 0 18px -8px var(--cyan); }

/* =================================================================
   Fake-OS window (.win) — Y2K card chrome
   ================================================================= */
.win {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--lilac);
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(255,95,166,0.25), 0 0 0 1px var(--void) inset;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.55rem;
  background: linear-gradient(90deg, var(--pink-hot), var(--lilac));
  color: var(--void);
  font-family: var(--f-digital);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--lilac);
}
.win-bar .win-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
/* macOS-style traffic-light controls, jirai-tinted, on the left */
.win-controls { display: inline-flex; gap: 0.42rem; order: -1; margin-right: 0.6rem; }
.win-controls span {
  width: 0.72rem; height: 0.72rem;
  border-radius: 50%;
  font-size: 0; color: transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.28), inset 0 1px 1px rgba(255,255,255,0.4);
}
.win-controls span:nth-child(1) { background: #ff6b8a; }
.win-controls span:nth-child(2) { background: #ffcf6e; }
.win-controls span:nth-child(3) { background: #6fe3dd; }
.win-body { padding: 1.1rem 1.2rem; }

/* =================================================================
   Dialog / popup aside
   ================================================================= */
.dialog {
  display: inline-block;
  background: var(--raise);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  padding: 0.7rem 0.95rem;
  font-family: var(--f-digital);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-soft);
  box-shadow: 3px 3px 0 rgba(118,230,224,0.18);
}
.dialog b { color: var(--cyan); }

/* =================================================================
   Marquee ticker
   ================================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: none;
  background: transparent;
  font-family: var(--f-digital);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  padding: 0.5rem 0;
  /* fade in/out at both ends so it floats rather than cuts the page */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 26s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker em { color: var(--pink); font-style: normal; }
.ticker b { color: var(--cyan); font-weight: 400; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* =================================================================
   Decoration — sparkles, blinky badges, corners (JP-account deco)
   ================================================================= */
.sparkle { color: var(--cyan); text-shadow: 0 0 6px rgba(118,230,224,0.6); }
.deco { font-family: var(--f-digital); color: var(--pink); letter-spacing: 0.1em; }

.blinky {
  display: inline-block;
  padding: 0.16rem 0.5rem;
  font-family: var(--f-digital);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  background: var(--raise);
  color: var(--pink-soft);
  animation: blink 1.3s steps(1) infinite;
}
@keyframes blink { 0%,60% { opacity: 1; } 61%,100% { opacity: 0.35; } }

.kaomoji { font-family: var(--f-digital); color: var(--lilac-soft); }

/* =================================================================
   Web-1.0 footer furniture
   ================================================================= */
.web-furniture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.1rem;
  margin-top: 1.4rem;
  font-family: var(--f-digital);
  font-size: 0.66rem;
  color: var(--ink-dim);
}
.hit-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hit-counter .count {
  font-family: var(--f-digital);
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: var(--void);
  border: 1px solid var(--line-cyan);
  padding: 0.1rem 0.4rem;
}
.webring { display: inline-flex; align-items: center; gap: 0.5rem; }
.webring a { color: var(--pink); text-decoration: none; }
.webring a:hover { color: var(--cyan); }
.badge88 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 31px;
  font-family: var(--f-digital);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--lilac);
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(255,134,191,0.12) 6px 12px),
    var(--panel);
  text-decoration: none;
  box-shadow: 1px 1px 0 var(--void);
}
.badge88:hover { border-color: var(--cyan); color: var(--cyan); }

/* Live clock chip */
.clock {
  font-family: var(--f-digital);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =================================================================
   Reduced motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; padding-left: 0; }
  .blinky { animation: none; opacity: 1; }
  .glitch:hover, .glitch.is-glitching, .seal:hover { animation: none; }
  .heat-haze { animation: none; }
  .sticker { animation: none; }
  body.overdose, body.overdose .glitch { animation: none; }
  .float-heart { display: none; }
}

/* =================================================================
   Jirai-brand textures (Liz Lisa-style: damask, lace, bows, pearls)
   ================================================================= */
:root {
  /* Baroque rosette diaper — a damask wallpaper lattice */
  --tex-damask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%23ff86bf' stroke-opacity='0.5' stroke-width='1.1'%3E%3Ccircle r='2.6'/%3E%3Cellipse cy='-12' rx='4.4' ry='10'/%3E%3Cellipse cy='-12' rx='4.4' ry='10' transform='rotate(60)'/%3E%3Cellipse cy='-12' rx='4.4' ry='10' transform='rotate(120)'/%3E%3Cellipse cy='-12' rx='4.4' ry='10' transform='rotate(180)'/%3E%3Cellipse cy='-12' rx='4.4' ry='10' transform='rotate(240)'/%3E%3Cellipse cy='-12' rx='4.4' ry='10' transform='rotate(300)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(42 42)'/%3E%3Cuse href='%23f' transform='translate(0 0)'/%3E%3Cuse href='%23f' transform='translate(84 0)'/%3E%3Cuse href='%23f' transform='translate(0 84)'/%3E%3Cuse href='%23f' transform='translate(84 84)'/%3E%3Cg fill='%23c2a4f2' fill-opacity='0.4'%3E%3Ccircle cx='21' cy='21' r='1.4'/%3E%3Ccircle cx='63' cy='21' r='1.4'/%3E%3Ccircle cx='21' cy='63' r='1.4'/%3E%3Ccircle cx='63' cy='63' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
  /* A little ribbon bow, for stickers */
  --bow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='34' viewBox='0 0 48 34'%3E%3Cg fill='%23ff5fa6'%3E%3Cpath d='M24 17 L5 5 Q0 2 0 8 L0 26 Q0 32 5 29 Z'/%3E%3Cpath d='M24 17 L43 5 Q48 2 48 8 L48 26 Q48 32 43 29 Z'/%3E%3Crect x='19' y='10' width='10' height='14' rx='3'/%3E%3C/g%3E%3Ccircle cx='24' cy='17' r='3.4' fill='%23ffb3d6'/%3E%3C/svg%3E");
}

/* Damask fill — apply to panels for the brand-wallpaper feel */
.tex-damask { background-image: var(--tex-damask); background-size: 84px 84px; }
.tex-dots {
  background-image: radial-gradient(rgba(255,134,191,0.12) 1.4px, transparent 1.6px);
  background-size: 13px 13px;
}

/* Scalloped lace trim (doily edge) on top & bottom of a panel */
.lace-edge { position: relative; }
.lace-edge::before, .lace-edge::after {
  content: '';
  position: absolute;
  left: -1px; right: -1px;
  height: 8px;
  background: radial-gradient(circle at 50% 100%, var(--pink) 0 4.5px, transparent 5px) repeat-x;
  background-size: 13px 8px;
  opacity: 0.55;
  pointer-events: none;
}
.lace-edge::before { top: -8px; }
.lace-edge::after { bottom: -8px; transform: rotate(180deg); }

/* Pearl string trim */
.pearl-edge { position: relative; }
.pearl-edge::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%; top: -3px;
  height: 6px;
  background: radial-gradient(circle, var(--lilac-soft) 0 2px, transparent 2.4px) repeat-x;
  background-size: 11px 6px;
  opacity: 0.6;
}

/* Stickers — absolutely placed, tilted decoration (break symmetry) */
.sticker {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.4));
  animation: sway 6s ease-in-out infinite;
}
.sticker--bow { width: 46px; height: 33px; background: var(--bow) center/contain no-repeat; }
.sticker--text {
  font-family: var(--f-digital);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: var(--raise);
  border: 1px solid var(--line-cyan);
  padding: 0.2rem 0.5rem;
  text-shadow: 0 0 6px rgba(118,230,224,0.5);
}
.sticker--stamp {
  font-family: var(--f-digital);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  border: 2px solid var(--crimson);
  border-radius: 4px;
  padding: 0.22rem 0.55rem;
  opacity: 0.85;
}
@keyframes sway { 0%,100% { transform: rotate(var(--rot,-8deg)); } 50% { transform: rotate(calc(var(--rot,-8deg) + 3deg)); } }

/* Artsy asymmetry helpers */
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.6deg); }
.off-l  { margin-left: clamp(0px, -4vw, 0px); }

/* =================================================================
   Easter egg — "overdose" mode (Konami / secret click)
   ================================================================= */
body.overdose { animation: od-hue 1.4s linear infinite; }
@keyframes od-hue { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
body.overdose .glitch { animation: glitch 0.5s steps(2,end) infinite; }
body.overdose .liminal-floor { opacity: 1; }

.od-toast {
  position: fixed;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 10000;
  font-family: var(--f-display);
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: #fff;
  background: linear-gradient(120deg, var(--cyan), var(--pink-hot));
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 0 30px var(--pink-hot);
  text-shadow: -0.02em 0 var(--cyan), 0.02em 0 var(--pink-hot);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.od-toast.show { opacity: 1; }

/* Floating heart spawned by easter eggs */
.float-heart {
  position: fixed;
  z-index: 9998;
  width: 18px; height: 16px;
  background: var(--px-heart-pink) center/contain no-repeat;
  image-rendering: pixelated;
  pointer-events: none;
  animation: floatup 2.6s ease-out forwards;
}
@keyframes floatup {
  0%   { opacity: 0; transform: translateY(0) scale(0.6) rotate(0deg); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-70vh) scale(1.2) rotate(20deg); }
}
