:root {
  --ink: #071408;
  --paper: #f7ff75;
  --acid: #b9ff00;
  --lime: #62ff3a;
  --green: #00d95f;
  --forest: #07552d;
  --yellow: #ffe600;
  --white: #fbfff0;
  --amp: 0;
  --shx: 0px;
  --shy: 0px;
  --shr: 0deg;
  --disp: "Anybody", Impact, system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  background: var(--acid);
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.42;
  overflow-x: hidden;
  position: relative;
}
body.locked { height: 100svh; overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--forest); text-decoration-thickness: 2px; }
.mono { font-family: var(--mono); }
.pink, .cyan, .hot { color: var(--forest); }
.lime { color: #b9ff00; }

/* Acid daylight backdrop: soft blobs, diagonal tape and halftone dots. */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(145deg, #f6ff5b 0%, #c9ff19 31%, #31ef67 70%, #ffe928 100%);
}
.acid-blob {
  position: absolute;
  width: 54vmax;
  aspect-ratio: 1;
  border-radius: 42% 58% 67% 33% / 49% 38% 62% 51%;
  filter: blur(34px);
  opacity: calc(.34 + var(--amp) * .45);
  mix-blend-mode: multiply;
  animation: blob-drift 14s ease-in-out infinite alternate;
}
.blob-one { left: -16vmax; top: -18vmax; background: #fff700; }
.blob-two { right: -18vmax; top: 17vh; background: #00c95c; animation-delay: -5s; }
.blob-three { left: 24vw; bottom: -28vmax; background: #8dff00; animation-delay: -9s; }
#stripes {
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(118deg, transparent 0 74px, rgba(7, 20, 8, .1) 74px 92px, transparent 92px 152px);
  transform: translateX(calc(var(--amp) * 35px));
  animation: tape-slide 18s linear infinite;
}
#dots {
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: radial-gradient(circle, rgba(7, 20, 8, .5) 1.4px, transparent 1.5px);
  background-size: 15px 15px;
  mask-image: linear-gradient(90deg, #000, transparent 42%, #000);
}
@keyframes blob-drift { to { transform: translate(9vw, 7vh) rotate(28deg) scale(1.12); } }
@keyframes tape-slide { to { translate: 152px 0; } }

main { position: relative; z-index: 3; width: 100vw; max-width: none; margin: 0; }
.panel {
  position: relative;
  min-height: 84vh;
  min-height: 84svh;
  padding: 9vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 5vh 0;
  border: 4px solid var(--ink);
  border-radius: 28px 6px 28px 6px;
  background: rgba(247, 255, 117, .8);
  box-shadow: 14px 14px 0 var(--ink), 25px 25px 0 rgba(255, 255, 255, .42);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 210px;
  aspect-ratio: 1;
  border: 26px solid var(--green);
  border-radius: 50%;
  opacity: .32;
  z-index: -1;
}
#head { min-height: 92vh; margin-top: 3vh; }
#mood { background: rgba(205, 255, 26, .86); }
#howgrumpy { background: rgba(69, 246, 98, .83); }
#verdict { background: rgba(255, 239, 30, .86); }
#tail { min-height: 70vh; background: rgba(185, 255, 0, .88); margin-bottom: 7vh; }

.kicker {
  font: 700 13px/1.3 var(--mono);
  letter-spacing: .19em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  color: var(--paper);
  background: var(--ink);
  transform: rotate(-1deg);
}
h1, h2 {
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 {
  font-size: clamp(74px, 13.5vw, 200px);
  max-width: 5ch;
  color: var(--ink);
  text-shadow: 7px 7px 0 var(--white), 13px 13px 0 var(--green);
}
h2 {
  font-size: clamp(46px, 6.2vw, 92px);
  max-width: 11ch;
  margin-bottom: 34px;
  text-shadow: 4px 4px 0 var(--white);
}
.lede {
  max-width: 48ch;
  margin-top: 36px;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
}
.body { max-width: 53ch; margin-top: 28px; font-size: 17px; }
.cue {
  margin-top: 6vh;
  font: 700 12px var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: cue-bounce .8s ease-in-out infinite alternate;
}
@keyframes cue-bounce { to { transform: translateY(8px); } }

/* Cat cameo in the hero, separate from the flashing jump scares. */
#head::before {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -5%;
  width: min(48%, 520px);
  aspect-ratio: 1;
  background: url("assets/img/grumpy-cat-cutout.png") center bottom / contain no-repeat;
  filter: drop-shadow(11px 8px 0 var(--green)) drop-shadow(-9px -5px 0 var(--white));
  transform: rotate(3deg);
}

.mood-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 34px;
  align-items: stretch;
}
.statblock {
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--green);
  font-size: 14px;
}
.statblock .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 17px;
  border-bottom: 2px solid var(--ink);
}
.statblock .row:last-child { border-bottom: 0; }
.statblock span { font-size: 11px; letter-spacing: .11em; opacity: .7; }
.statblock b { text-align: right; }
.statblock .big { font-size: 34px; color: var(--forest); }
.split-row { flex-direction: column; align-items: flex-start !important; }
.split-row i { font-style: normal; white-space: nowrap; }
.portrait {
  position: relative;
  border: 3px solid var(--ink);
  background: var(--yellow);
  padding: 12px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(1.5deg);
}
.portrait img { width: 100%; filter: contrast(1.06) saturate(1.1); }
.portrait figcaption { margin-top: 10px; font-size: 10px; }
.portrait-glow { position: absolute; inset: 12%; background: var(--lime); filter: blur(35px); z-index: -1; }
.laser-eye {
  position: absolute;
  width: 4.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 43%;
  background: var(--yellow);
  box-shadow: 0 0 12px 7px var(--green);
  animation: blink-eye .55s steps(2) infinite;
}
.laser-left { left: 39.5%; }
.laser-right { left: 64%; }
@keyframes blink-eye { 50% { opacity: .15; transform: scale(1.8); } }

#howgrumpy h2 { max-width: 8ch; }
.units { width: min(650px, 66%); border: 3px solid var(--ink); background: var(--paper); box-shadow: 9px 9px 0 var(--ink); }
.u { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 17px; border-bottom: 2px solid var(--ink); }
.u:last-child { border-bottom: 0; }
.uv { color: var(--forest); font-size: clamp(25px, 3vw, 44px); font-weight: 800; font-variant-numeric: tabular-nums; }
.ul { font-size: 11px; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.meltbox {
  position: absolute;
  right: 5%;
  bottom: 7%;
  width: min(32%, 330px);
  transform: rotate(5deg);
}
.meltbox img { position: relative; z-index: 2; filter: drop-shadow(10px 10px 0 var(--yellow)); }
.rage-rings { position: absolute; inset: -25%; border: 17px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 18px var(--yellow), 0 0 0 35px var(--ink), 0 0 0 52px rgba(255, 255, 255, .72); animation: ring-pulse .9s ease-in-out infinite alternate; }
@keyframes ring-pulse { to { transform: scale(1.08) rotate(8deg); } }
#mandala { display: none; }

.verdict-box {
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(270px, 1.3fr);
  max-width: 760px;
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--green);
  overflow: hidden;
  transform: rotate(-.5deg);
}
.verdict-face { border-right: 4px solid var(--ink); overflow: hidden; }
.verdict-face img { width: 100%; height: 100%; object-fit: cover; }
.verdict-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; }
.verdict-label { margin-bottom: 13px; font-size: 11px; letter-spacing: .15em; color: var(--forest); }
#verdict-text { margin-bottom: 24px; font-size: clamp(24px, 2.5vw, 38px); font-weight: 850; line-height: 1.05; }
.verdict-stats { max-width: 760px; margin-top: 30px; }

.stretch2 { max-width: 10ch; font-size: clamp(64px, 10vw, 150px); }
.final-line { margin-top: 26px; max-width: 30ch; font-size: clamp(19px, 2vw, 28px); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 7vh; }
.btn {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  padding: 15px 21px;
  border: 3px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  font: 700 13px var(--mono);
  letter-spacing: .09em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { color: var(--ink); background: var(--yellow); transform: translate(4px, 4px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); }
.hot-btn { background: var(--green); }
.complaint { max-width: 620px; margin: -3vh 0 6vh; padding: 18px; border: 3px dashed var(--ink); background: var(--yellow); }
.complaint label { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .14em; }
.complaint input { width: 100%; padding: 13px; border: 3px solid var(--ink); background: var(--white); color: var(--ink); font: 13px var(--mono); }
.complaint button { margin-top: 9px; padding: 11px; border: 3px solid var(--ink); background: var(--green); font: 700 11px var(--mono); cursor: pointer; }
.complaint p { margin-top: 12px; font-weight: 800; }
footer p { max-width: 55ch; font-size: 11px; opacity: .68; }

/* Teleporting cats */
#flash-cats { position: fixed; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.flash-cat {
  position: absolute;
  width: var(--size, 240px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(.2);
  opacity: 0;
  animation: cat-flash var(--life, 900ms) steps(2, end) forwards;
  filter: drop-shadow(8px 8px 0 var(--shadow, #ffe600));
}
.flash-cat img { width: 100%; height: 100%; object-fit: contain; }
.flash-cat b {
  position: absolute;
  left: 50%;
  bottom: 5%;
  translate: -50% 0;
  padding: 5px 9px;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 900 clamp(18px, 3vw, 42px)/1 var(--disp);
  white-space: nowrap;
}
@keyframes cat-flash {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--rot)) scale(.2); }
  15%, 70% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--rot)) scale(1); }
  85% { filter: brightness(2.5) saturate(2) drop-shadow(14px 14px 0 var(--shadow)); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--rot) * -1)) scale(1.35); }
}

#stickers { display: contents; }
.doc-sticker { color: var(--ink) !important; opacity: .16 !important; text-shadow: none !important; mix-blend-mode: multiply !important; }
#trails { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.trail { position: absolute; width: 11px; height: 11px; border: 2px solid var(--ink); animation: trail-fade .65s ease-out forwards; }
@keyframes trail-fade { to { opacity: 0; transform: translateY(-24px) rotate(90deg) scale(2.5); } }
.popword { position: absolute; translate: -50% -50%; pointer-events: none; white-space: nowrap; color: var(--ink) !important; background: var(--yellow); border: 3px solid var(--ink); padding: 5px 9px; font: 900 28px var(--disp); animation: pop-word .75s ease-out forwards; }
@keyframes pop-word { from { opacity: 1; transform: scale(.5) rotate(var(--rot)); } to { opacity: 0; transform: translateY(-55px) scale(1.2) rotate(var(--rot)); } }

#hud { position: fixed; left: 14px; right: 14px; top: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
#hud-len, #mute { border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 8px 11px; font: 700 11px var(--mono); letter-spacing: .11em; }
#mute { pointer-events: auto; cursor: pointer; }
#ministats { position: fixed; right: 14px; top: 50%; z-index: 25; display: flex; flex-direction: column; gap: 5px; padding: 10px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); transform: translate(calc(100% + 30px), -50%); opacity: 0; transition: .3s; pointer-events: none; }
#ministats.on { transform: translate(0, -50%); opacity: 1; }
#ministats .m { display: flex; justify-content: flex-end; gap: 7px; align-items: baseline; }
#ministats span { font-size: 13px; font-weight: 800; }
#ministats i { width: 54px; font-size: 8px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

body.quake main, body.quake #bg, body.quake #hud { animation: quake .5s linear both; }
@keyframes quake { 20% { translate: -7px 2px; } 40% { translate: 8px -3px; } 60% { translate: -6px 4px; } 80% { translate: 5px -2px; } }

/* Sound gate */
#splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; min-height: 100svh; background: linear-gradient(135deg, #eaff24, #36f46a 56%, #ffe600); transition: opacity .5s; }
#splash.gone { opacity: 0; pointer-events: none; }
.splash-card { position: relative; width: 100%; flex: 1 1 auto; overflow: hidden; pointer-events: none; }
.splash-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(116deg, transparent 0 80px, rgba(7, 20, 8, .13) 80px 100px); }
.splash-card > img, .splash-ghost { position: absolute; left: 50%; top: -3%; width: min(58vh, 560px); height: min(58vh, 560px); object-fit: contain; translate: -50% 0; }
.splash-card > img { z-index: 2; filter: drop-shadow(12px 10px 0 var(--forest)); }
.splash-ghost { background: url("assets/img/grumpy-cat-cutout.png") center / contain no-repeat; opacity: .42; }
.sg-lime { translate: calc(-50% - 22px) 8px; filter: sepia(1) saturate(8) hue-rotate(45deg); }
.sg-yellow { translate: calc(-50% + 22px) -5px; filter: sepia(1) saturate(10) hue-rotate(5deg); }
.splash-card h1 { position: absolute; left: 5vw; bottom: 5%; z-index: 4; max-width: 5ch; font-size: clamp(62px, 10vw, 150px); color: var(--ink); text-shadow: 7px 7px 0 var(--white), 13px 13px 0 var(--green); transform: rotate(-3deg); }
.splash-word { position: absolute; z-index: 3; color: var(--ink); font: 900 clamp(35px, 7vw, 100px)/1 var(--disp); opacity: .25; }
.word-1 { right: 8%; top: 10%; transform: rotate(10deg); }
.word-2 { right: 14%; top: 40%; transform: rotate(-9deg); }
.word-3 { right: 5%; top: 66%; transform: rotate(7deg); }
.splash-ui { position: relative; z-index: 5; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 0 20px 7vh; margin-top: -3vh; }
.splash-ui .btn { padding: 18px 34px; font-size: 16px; }
.splash-ui p { font-size: 12px; letter-spacing: .09em; }
.quiet { appearance: none; border: 0; background: transparent; color: var(--ink); font-size: 11px; letter-spacing: .18em; text-decoration: underline; cursor: pointer; }

/* Grumpy security gate: intentionally different from the reference entry. */
.gate-eyebrow {
  position: absolute;
  left: 50%;
  top: 4%;
  z-index: 7;
  translate: -50% 0;
  width: max-content;
  padding: 8px 12px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 11px;
  letter-spacing: .13em;
}
.splash-cat-cluster { position: absolute; inset: 6% 9% 0; z-index: 3; pointer-events: none; }
.splash-cat-cluster img { position: absolute; bottom: -8%; width: min(35vw, 440px); filter: drop-shadow(10px 10px 0 var(--forest)); }
.splash-cat-cluster img:nth-child(1) { left: 6%; rotate: -11deg; }
.splash-cat-cluster img:nth-child(2) { left: 27%; bottom: -1%; rotate: -3deg; }
.splash-cat-cluster img:nth-child(3) { right: 25%; bottom: 0; rotate: 5deg; }
.splash-cat-cluster img:nth-child(4) { right: 3%; rotate: 13deg; }
.splash-card > .splash-mega-cat {
  left: auto;
  right: -4vw;
  top: 9%;
  z-index: 6;
  width: min(56vw, 920px);
  height: 88%;
  object-fit: contain;
  object-position: right bottom;
  translate: 0 0;
  filter: drop-shadow(-15px 13px 0 var(--forest));
}
.splash-card h1 { left: 4vw; top: 14%; bottom: auto; z-index: 8; max-width: 6ch; font-size: clamp(90px, 12.5vw, 190px); line-height: .7; }
.splash-card .word-1 { right: 7%; top: 13%; }
.splash-card .word-2 { right: 3%; top: 47%; }
.splash-card .word-3 { right: 5%; top: 72%; font-size: clamp(28px, 4vw, 66px); }
.splash-ui { z-index: 10; }
.splash-ui .hot-btn { background: var(--yellow); min-width: 330px; }

/* Two-section chaos edition */
#head h1 { max-width: 6ch; font-size: clamp(92px, 14vw, 210px); line-height: .7; }
.hero-cat-pack { position: absolute; right: -3%; bottom: 0; z-index: 1; width: 69%; height: 68%; pointer-events: none; }
.hero-cat-pack img { position: absolute; bottom: -5%; width: 50%; filter: drop-shadow(8px 8px 0 var(--green)); }
.hero-cat-pack img:nth-child(1) { left: 0; rotate: -8deg; }
.hero-cat-pack img:nth-child(2) { left: 27%; bottom: 1%; rotate: 2deg; width: 56%; }
.hero-cat-pack img:nth-child(3) { right: -2%; rotate: 10deg; }
#head > :not(.hero-cat-pack) { position: relative; z-index: 3; }
#head .lede { width: 45%; }
.hero-x-link { display: inline-flex; width: fit-content; margin-top: 20px; padding: 11px 15px; border: 3px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.hero-x-link:hover { background: var(--green); transform: translate(2px, 2px) rotate(-1deg); box-shadow: 3px 3px 0 var(--ink); }
.token-bar { width: min(620px, 46%); margin-top: 17px; padding: 11px; border: 3px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--green); }
.token-label { display: inline-block; margin-bottom: 6px; padding: 3px 7px; background: var(--ink); color: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.token-bar code { display: block; color: var(--ink); font: 700 10px/1.35 var(--mono); overflow-wrap: anywhere; user-select: all; }
.token-actions { display: flex; gap: 8px; margin-top: 10px; }
.token-actions a { flex: 1 1 0; padding: 8px 10px; border: 2px solid var(--ink); background: var(--green); color: var(--ink); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-align: center; text-decoration: none; }
.token-actions a:last-child { background: var(--yellow); }
.token-actions a:hover { background: var(--ink); color: var(--yellow); }

#chaos {
  display: block;
  min-height: auto;
  padding: 9vh 4vw 7vh;
  background: rgba(214, 255, 26, .92);
  overflow: visible;
}
#chaos h2 { max-width: 12ch; margin-bottom: 42px; }
.chaos-marquee {
  position: absolute;
  left: -4px;
  right: -4px;
  top: 0;
  height: 43px;
  border: 4px solid var(--ink);
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .12em;
  line-height: 35px;
}
.chaos-marquee div { width: max-content; animation: emergency-scroll 8s linear infinite; }
@keyframes emergency-scroll { to { transform: translateX(-50%); } }

.chaos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.chaos-card {
  position: relative;
  padding: 20px;
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
  transition: transform .16s, background .16s;
}
.chaos-card:hover { z-index: 4; transform: scale(1.025) rotate(0deg) !important; background: var(--yellow); }
.chaos-card:nth-child(1) { rotate: -1.2deg; }
.chaos-card:nth-child(2) { rotate: 1.5deg; background: var(--yellow); }
.chaos-card:nth-child(3) { rotate: -.6deg; background: var(--paper); }
.chaos-card:nth-child(4) { rotate: 1deg; background: var(--green); }
.chaos-card:nth-child(5) { rotate: -.7deg; }
.chaos-card:nth-child(6) { rotate: .5deg; background: var(--yellow); }
.card-label { margin-bottom: 13px; font-size: 10px; letter-spacing: .15em; font-weight: 700; }
.tiny-joke { margin-top: 15px; font-size: 13px; font-weight: 750; }
.mood-card .statblock { box-shadow: 5px 5px 0 var(--green); }
.image-fill-card { aspect-ratio: 1 / 1; padding: 0; overflow: hidden; }
.image-fill-card > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mood-card > img { object-position: center; }
.meter-card > img { object-position: center; }
.photo-card { padding: 11px; }
.photo-card .portrait { border: 0; box-shadow: none; padding: 0; rotate: 0deg; }
.photo-card .portrait figcaption { padding: 10px 5px 2px; }
.denied-stamp {
  position: absolute;
  right: -14px;
  bottom: 35px;
  padding: 8px 13px;
  border: 5px solid var(--ink);
  background: var(--green);
  box-shadow: 6px 6px 0 var(--ink);
  font: 900 clamp(30px, 4vw, 58px)/1 var(--disp);
  rotate: -13deg;
}
.meter-card .units { width: 100%; box-shadow: 5px 5px 0 var(--ink); }
.meter-card .u { padding: 9px 11px; }
.meter-card .uv { font-size: clamp(22px, 2.2vw, 34px); }
.meter-card .ul { font-size: 8px; }
.alarm-card { min-height: 100%; overflow: hidden; }
.alarm-card h3, .actions-card h3 { font-size: clamp(28px, 3.2vw, 48px); line-height: .92; margin-bottom: 14px; }
.alarm-card > p:not(.card-label):not(.rage-readout) { max-width: 28ch; margin-bottom: 18px; }
.siren {
  position: absolute;
  right: -30px;
  top: -35px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--yellow) 0 15deg, var(--ink) 15deg 30deg);
  animation: siren-spin .55s steps(4) infinite;
  opacity: .24;
}
@keyframes siren-spin { to { rotate: 360deg; } }
.panic-btn { background: var(--yellow); animation: panic-button .5s steps(2) infinite; }
@keyframes panic-button { 50% { background: var(--ink); color: var(--yellow); transform: rotate(-2deg) scale(1.03); } }
.rage-readout { margin-top: 17px; font-size: 10px; letter-spacing: .08em; }
.verdict-card { grid-column: span 2; }
.verdict-card .verdict-box { max-width: none; grid-template-columns: minmax(150px, .55fr) minmax(230px, 1.45fr); box-shadow: 6px 6px 0 var(--green); }
.verdict-card .verdict-stats { max-width: none; margin-top: 18px; box-shadow: 5px 5px 0 var(--green); }
.actions-card { grid-column: 1 / -1; }
.actions-card .ctas { margin: 20px 0 12px; }
.actions-card .ctas .btn { flex: 1 1 0; }
.actions-card .complaint { margin: 22px 0 5px; }
.actions-card footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; }
.x-link { display: inline-flex; padding: 9px 12px; border: 3px solid var(--ink); background: var(--green); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.x-link:hover { background: var(--yellow); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

body.rage-mode #bg { filter: saturate(2.3) contrast(1.2) hue-rotate(-24deg); }
body.rage-mode #stripes { background: repeating-linear-gradient(95deg, transparent 0 30px, rgba(7,20,8,.24) 30px 48px); animation-duration: 1.2s; }
body.rage-mode #dots { background-size: 7px 7px; opacity: .5; }
body.rage-mode .panel { animation: rage-panel .18s steps(2) infinite; }
body.rage-mode .chaos-card { box-shadow: 13px 13px 0 var(--ink); }
@keyframes rage-panel { 50% { transform: translate(2px, -2px) rotate(.15deg); } }

@media (max-width: 820px) {
  main { width: 100vw; max-width: none; }
  .panel { min-height: auto; padding: 11vh 6vw 9vh; margin: 4vh 0; border-width: 3px; box-shadow: 8px 8px 0 var(--ink); }
  #head { min-height: 88svh; }
  #head::before { width: 72%; right: -19%; bottom: 0; opacity: .8; }
  h1 { font-size: clamp(64px, 22vw, 104px); max-width: 4.4ch; text-shadow: 4px 4px 0 var(--white), 8px 8px 0 var(--green); }
  h2 { font-size: clamp(39px, 12vw, 58px); }
  .lede { max-width: 67%; font-size: 16px; }
  .mood-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 330px; }
  .split-row i { white-space: normal; }
  .units { width: 100%; }
  .meltbox { position: relative; right: auto; bottom: auto; width: 56%; margin: 75px auto 20px; }
  .verdict-box { grid-template-columns: 1fr; }
  .verdict-face { max-height: 290px; border-right: 0; border-bottom: 4px solid var(--ink); }
  .verdict-copy { padding: 22px; }
  .ctas { flex-direction: column; align-items: stretch; }
  .flash-cat { width: min(var(--size, 220px), 62vw); }
  #ministats { left: 0; right: 0; top: auto; bottom: 0; flex-direction: row; justify-content: space-around; transform: translateY(110%); border-width: 3px 0 0; box-shadow: none; }
  #ministats.on { transform: translateY(0); }
  #ministats .m { flex-direction: column; align-items: center; gap: 0; }
  #ministats i { width: auto; }
  .splash-card > img, .splash-ghost { width: min(50vh, 94vw); height: min(50vh, 94vw); }
  .splash-card h1 { left: 4vw; bottom: 10%; font-size: clamp(55px, 18vw, 86px); }
  .splash-word { display: none; }
  .splash-ui { padding-bottom: 5vh; }
  .gate-eyebrow { top: 3%; max-width: 88vw; width: auto; text-align: center; font-size: 8px; }
  .splash-cat-cluster { inset: 9% -5% 7%; }
  .splash-cat-cluster img { width: 57vw; bottom: -2%; }
  .splash-cat-cluster img:nth-child(1) { left: -18%; }
  .splash-cat-cluster img:nth-child(2) { left: 7%; bottom: 4%; }
  .splash-cat-cluster img:nth-child(3) { right: 5%; bottom: 4%; }
  .splash-cat-cluster img:nth-child(4) { right: -20%; }
  .splash-card > .splash-mega-cat { right: -20vw; top: 11%; width: 96vw; height: 78%; opacity: .96; }
  .splash-card h1 { left: 4vw; top: 14%; bottom: auto; z-index: 8; max-width: 5ch; font-size: clamp(68px, 20vw, 96px); }
  .splash-ui .hot-btn { min-width: 0; width: 100%; }
  #head h1 { font-size: clamp(72px, 22vw, 110px); }
  .hero-cat-pack { right: -12%; bottom: 0; width: 92%; height: 45%; }
  .hero-cat-pack img { width: 50%; }
  .hero-cat-pack img:nth-child(2) { left: 25%; width: 55%; }
  #head .lede { width: 72%; }
  .token-bar { width: 72%; }
  #chaos { padding: 10vh 5vw 7vh; overflow: hidden; }
  #chaos h2 { font-size: clamp(44px, 14vw, 66px); }
  .chaos-grid { grid-template-columns: 1fr; gap: 22px; }
  .chaos-card, .verdict-card, .actions-card { grid-column: 1; rotate: 0deg !important; }
  .actions-card footer { align-items: flex-start; flex-direction: column; }
  .verdict-card .verdict-box { grid-template-columns: 1fr; }
  .verdict-card .verdict-face { max-height: 240px; }
  .alarm-card h3, .actions-card h3 { font-size: 34px; }
  .chaos-marquee { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flash-cat { opacity: 1; transform: translate(-50%, -50%); }
}
