/* Unsubscribe from Slop+. Slopographic: black, bone, one acid accent. */
:root {
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1b1b1b;
  --bone: #f1ede4;
  --bone-2: #e6e1d5;
  --bone-dim: rgba(241, 237, 228, 0.66);
  --bone-faint: rgba(241, 237, 228, 0.42);
  --line: rgba(241, 237, 228, 0.14);
  --line-ink: rgba(10, 10, 10, 0.14);
  --slop: #d4ff3a;
  --slop-deep: #9fcc00;
  --warn: #ff6b4a;
  --cond: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --dock-h: 58px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 40vh at 85% 10%, rgba(212, 255, 58, 0.07), transparent 70%),
    radial-gradient(50vw 50vh at 5% 95%, rgba(212, 255, 58, 0.04), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -4%); }
  75% { transform: translate(-1%, 3%); }
}

::selection { background: var(--slop); color: var(--ink); }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--slop); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.skiplink {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--slop); color: var(--ink); padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skiplink:focus { top: 10px; }

/* ---------- chrome ---------- */

.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--bone); }
.wordmark span {
  font-family: var(--cond);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
.mark { width: 22px; height: 22px; }
.mark path { fill: var(--slop); }
.mark .shine { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: 0.8; }
.dept {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--bone-dim);
  white-space: nowrap;
}
.meta {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#stepLabel, #wasted { color: var(--bone); }

.progress {
  position: relative;
  height: 22px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: repeating-linear-gradient(-45deg, var(--slop) 0 12px, #c3f02a 12px 24px);
  background-size: 34px 34px;
  transition: width 0.7s cubic-bezier(0.3, 1.4, 0.5, 1), background-color 0.3s;
  animation: stripes 1.2s linear infinite;
}
@keyframes stripes { to { background-position: 34px 0; } }
.progress-fill { overflow: hidden; }
.progress-note {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
}
.progress-fill .progress-note { color: var(--ink); font-weight: 600; }
.progress.is-back .progress-fill { animation: stripes 1.2s linear infinite, backflash 0.9s ease; }
@keyframes backflash { 0%, 60% { background: var(--warn); } }

/* ---------- stage frame ---------- */

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px calc(var(--dock-h) + 90px);
}
#stage:focus { outline: none; }
.stage { animation: enter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

.kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.kicker-n { color: var(--slop); }
.title {
  margin: 0 0 14px;
  font-family: var(--cond);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(50px, 9vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--bone);
}
.title:focus { outline: none; }
.title em {
  font-stretch: 100%;
  text-transform: none;
  color: var(--slop);
  letter-spacing: -0.01em;
  font-size: 0.92em;
}
.title-xl { font-size: clamp(62px, 12.5vw, 136px); }
.deck {
  margin: 0 0 30px;
  max-width: 34em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.22;
  color: var(--bone-dim);
}
.note {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 56px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.35;
  color: var(--bone-faint);
}
.note-k {
  flex: none;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slop);
}
.fine { margin: 20px 0 0; max-width: 40em; font-size: 13px; color: var(--bone-faint); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.2s, box-shadow 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { cursor: not-allowed; opacity: 0.42; }
.btn-slop { background: var(--slop); color: var(--ink); box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.4); }
.btn-slop:hover:not(:disabled) { box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.18); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--bone); }
.btn-ghost:hover:not(:disabled) { border-color: var(--bone-faint); }
.btn-ghost-ink { background: transparent; border-color: var(--line-ink); color: var(--ink); }
.btn-ghost-ink:hover { border-color: rgba(10, 10, 10, 0.4); }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-grey { background: #3a3a3a; color: #a9a49a; }
.btn-giant {
  min-height: 64px;
  padding: 16px 30px;
  font-family: var(--cond);
  font-stretch: 75%;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.btn-mega {
  width: 100%;
  min-height: 96px;
  padding: 20px 28px;
  border-radius: 22px;
  font-family: var(--cond);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.btn-tiny, .btn-tiny-ink, .btn-shame {
  min-height: 32px;
  padding: 6px 4px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--bone-faint);
}
.btn-tiny-ink { color: rgba(10, 10, 10, 0.55); }
.btn-tiny:hover, .btn-shame:hover { color: var(--bone); }
.btn-tiny-ink:hover { color: var(--ink); }

/* ---------- panels: the annoying UI is bone-on-ink ---------- */

.panel {
  position: relative;
  background: var(--bone);
  color: var(--ink);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.panel h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.panel p { margin: 10px 0; }

/* ---------- 0. intro ---------- */

.stage-intro .btn-mega { margin-top: 6px; max-width: 640px; }
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.promises li { padding: 16px; background: var(--ink); font-size: 14px; color: var(--bone-dim); }
.promises b {
  display: block;
  font-family: var(--cond);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--slop);
}

/* ---------- 1. cookies ---------- */

.wall {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-2);
}
.wall.prefs { min-height: 640px; }
.faux { padding: 28px; filter: blur(3px); opacity: 0.55; }
.faux-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-faint); margin: 0 0 8px; }
.faux-h { font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: 54px; text-transform: uppercase; margin: 0 0 16px; line-height: 0.9; }
.faux-l { height: 12px; border-radius: 6px; background: var(--line); margin: 0 0 12px; }
.faux-l.short { width: 60%; }
.faux-btn { display: inline-block; margin-top: 10px; padding: 12px 22px; border-radius: 999px; background: var(--bone-faint); color: var(--ink); font-weight: 600; }
.cookie {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(620px, calc(100% - 28px));
  transform: translateX(-50%);
  padding-bottom: 54px;
}
.cookie.prefs-mode { top: 14px; bottom: 14px; display: flex; flex-direction: column; padding-bottom: 20px; }
.cookie-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-ico { font-family: var(--emoji); font-size: 28px; line-height: 1; }
.cookie-tag { font-family: var(--serif); font-style: italic; font-size: 19px; color: rgba(10, 10, 10, 0.55); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.cookie-actions .btn-giant { flex: 1 1 280px; }
.big-serif { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }
.reject-tiny {
  position: absolute;
  padding: 4px 6px;
  min-height: 24px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: rgba(10, 10, 10, 0.58);
  text-decoration: underline;
  cursor: pointer;
  transition: left 0.25s, right 0.25s, top 0.25s, bottom 0.25s;
}
.only-on { display: flex; gap: 8px; align-items: center; margin: 8px 0 4px; font-size: 13px; cursor: pointer; }
.only-on input { width: 16px; height: 16px; accent-color: var(--ink); }
.prefs-status { font-family: var(--mono); font-size: 11.5px; color: rgba(10, 10, 10, 0.7); }
.vendors {
  flex: 1 1 auto;
  min-height: 140px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  overscroll-behavior: contain;
}
.vendor { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--line-ink); }
.vendors.filter-on .vendor:not(.is-on) { display: none; }
.v-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v-name { font-weight: 600; font-size: 14px; }
.v-purpose { font-size: 12px; color: rgba(10, 10, 10, 0.58); }
.vendor.stubborn { background: rgba(212, 255, 58, 0.55); animation: stub 1s ease 2; }
@keyframes stub { 50% { background: var(--slop); } }
.switch {
  flex: none;
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  border: 0;
  background: #c9c3b6;
  cursor: pointer;
  transition: background-color 0.15s;
}
.switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"] .knob { transform: translateX(18px); background: var(--slop); }
.vendor-end { padding: 22px 6px 26px; text-align: center; }
.vendor-end p { font-family: var(--serif); font-style: italic; font-size: 18px; }
.save-wrap { display: flex; }
.btn-slop.ready { animation: ready 1.6s ease infinite; }
@keyframes ready { 50% { box-shadow: 0 0 0 8px rgba(159, 204, 0, 0.35); } }

.shake { animation: shake 0.45s ease; }
.cookie.shake { animation: shakeX 0.45s ease; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes shakeX { 20% { transform: translateX(calc(-50% - 8px)); } 40% { transform: translateX(calc(-50% + 7px)); } 60% { transform: translateX(calc(-50% - 5px)); } 80% { transform: translateX(calc(-50% + 3px)); } }

/* ---------- 2. confirmshaming ---------- */

.shame { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 640px; }
.shame-q { align-self: flex-start; margin: 0; font-size: 18px; color: var(--bone-dim); }
.shame .btn-mega { box-shadow: 0 20px 60px -20px rgba(212, 255, 58, 0.55); }
.btn-shame { font-size: 12px; color: var(--bone-faint); }

/* ---------- 3. runaway ---------- */

.arena-tip { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--bone-faint); }
.dodge-count { color: var(--slop); }
.arena {
  position: relative;
  height: 360px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--ink-2);
  overflow: hidden;
  touch-action: manipulation;
}
.btn-run {
  position: absolute;
  left: 0;
  top: 0;
  min-height: 52px;
  padding: 14px 26px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  transition: left 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2), top 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2), transform 0.3s;
  white-space: nowrap;
}
.btn-run.tired { transform: rotate(-7deg) translateY(4px); background: var(--bone-2); }
.btn-run:disabled { opacity: 1; background: var(--slop); }
.quip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--slop);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
.quip.pop { animation: quip 1.4s ease both; }
@keyframes quip { 0% { opacity: 0; transform: translate(-50%, 6px); } 12%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
.btn-run.tired .quip.pop, .btn-run:disabled .quip.pop { animation: quipStay 0.3s ease both; }
@keyframes quipStay { from { opacity: 0; } to { opacity: 1; } }
.arena-foot { display: flex; justify-content: center; margin-top: 18px; }

/* ---------- 4. password ---------- */

.pwpanel { max-width: 640px; }
.pw-label { display: block; margin: 0 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: inherit; opacity: 0.7; }
.pw {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
}
.pw:focus { outline: none; box-shadow: 0 0 0 4px var(--slop); }
.slopkeys { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.slopkeys-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-right: 4px; width: 100%; }
.key {
  min-width: 40px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid var(--line-ink);
  border-radius: 10px;
  background: #fff;
  font-family: var(--emoji);
  font-size: 19px;
  cursor: pointer;
}
.key:hover { background: var(--slop); }
.key-sky { font-family: var(--sans); font-size: 13px; font-weight: 600; padding: 6px 12px; }
.sky { min-height: 1.4em; font-size: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.strength-row { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; }
.strength { flex: 1; height: 8px; border-radius: 99px; background: rgba(10, 10, 10, 0.1); overflow: hidden; }
.strength-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.3s; }
.strength-label { font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.rules { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.rules li { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; transition: background-color 0.2s; }
.rules li[hidden] { display: none; }
.rules li.reveal { animation: enter 0.35s ease both; }
.rules li.ok { background: rgba(159, 204, 0, 0.2); }
.rules li.no { background: rgba(255, 107, 74, 0.16); }
.rules li.more { font-family: var(--mono); font-size: 11.5px; opacity: 0.55; padding: 2px 12px; }
.rule-mark { font-weight: 700; width: 1em; flex: none; }
.ok .rule-mark { color: #4c6b00; }
.no .rule-mark { color: #c23a1b; }
.pw-ok { font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- 5. captcha ---------- */

.captcha {
  max-width: 520px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.captcha-head { background: var(--slop); padding: 16px 18px 18px; border-radius: 3px; }
.captcha-head p { margin: 0; font-size: 18px; line-height: 1.25; }
.captcha-head strong { display: block; font-family: var(--cond); font-stretch: 75%; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; margin-top: 2px; }
.captcha-sub { display: block; margin-top: 6px; font-size: 13.5px; }
.captcha-round { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; opacity: 0.7; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.tile {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background:
    radial-gradient(circle at 30% 25%, hsla(var(--hue), 70%, 75%, 0.9), transparent 60%),
    linear-gradient(160deg, hsl(var(--hue), 35%, 30%), hsl(calc(var(--hue) + 40), 45%, 14%));
  transition: transform 0.15s, opacity 0.6s, filter 0.6s;
}
.tile-shrimp {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 235, 150, 0.95), rgba(255, 170, 60, 0.6) 30%, transparent 62%),
    linear-gradient(160deg, #3b2a5c, #120c22);
}
.tile-e { position: absolute; inset: 0 0 16px; display: grid; place-items: center; font-family: var(--emoji); font-size: clamp(34px, 9vw, 52px); line-height: 1; }
.tile-e i { position: absolute; right: 12%; top: 12%; font-style: normal; font-size: 0.45em; }
.tile-t {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3px 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile[aria-pressed="true"] { transform: scale(0.86); }
.tile[aria-pressed="true"]::after {
  content: "✓";
  position: absolute; left: 6px; top: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slop); color: var(--ink); font-weight: 700; font-size: 14px;
}
.tile.clearing { opacity: 0; filter: brightness(3) blur(4px); }
.tile.fresh { animation: fresh 0.6s ease both; }
@keyframes fresh { from { opacity: 0; filter: blur(8px); } }
.tile:focus-visible { outline: 3px solid var(--slop); outline-offset: -3px; }
.captcha-foot { display: flex; align-items: center; gap: 12px; padding: 12px 6px 4px; flex-wrap: wrap; }
.captcha-icons { font-size: 18px; opacity: 0.5; letter-spacing: 0.2em; }
.captcha-msg { flex: 1 1 160px; margin: 0; font-size: 13px; color: #b0341a; min-height: 1.2em; }
.btn-verify {
  margin-left: auto;
  border-radius: 4px;
  background: var(--ink);
  color: var(--slop);
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
}
.li { padding: 14px 8px 4px; }
.li-who { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.li-who b { display: block; }
.li-who small { display: block; font-size: 12px; opacity: 0.6; }
.li-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); font-size: 22px; font-family: var(--emoji); }
.li-text, .survey-text {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10, 10, 10, 0.25);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  resize: vertical;
}
.li-text:focus, .survey-text:focus { outline: none; box-shadow: 0 0 0 3px var(--slop); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { background: var(--slop); border-color: var(--ink); }
.meter { height: 10px; border-radius: 99px; background: rgba(10, 10, 10, 0.12); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--warn); transition: width 0.3s, background-color 0.3s; }
.meter-fill.pass { background: var(--slop-deep); }
.meter-label { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; }

/* ---------- 6. loading ---------- */

.loader { max-width: 620px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--ink-2); }
.spinner { font-family: var(--emoji); font-size: 44px; width: 60px; height: 60px; display: grid; place-items: center; animation: spin 1.1s linear infinite; margin-bottom: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.load-bar { height: 16px; border-radius: 99px; background: var(--ink-3); overflow: hidden; border: 1px solid var(--line); }
.load-fill { display: block; height: 100%; width: 0; background: var(--slop); transition: width 0.15s linear; }
.load-pct { display: block; margin-top: 10px; font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: 64px; line-height: 1; color: var(--slop); font-variant-numeric: tabular-nums; }
.load-msg { font-family: var(--serif); font-style: italic; font-size: 22px; margin: 6px 0 16px; min-height: 1.3em; }
.morale { padding: 14px 16px; border-radius: 12px; background: rgba(212, 255, 58, 0.08); border: 1px solid rgba(212, 255, 58, 0.3); margin-bottom: 16px; animation: enter 0.4s ease both; }
.morale p { margin: 0 0 10px; font-size: 14px; color: var(--bone-dim); }
.morale b { color: var(--slop); }
.morale-bar { height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.morale-fill { display: block; height: 100%; width: 0; background: var(--slop); transition: width 0.1s; }
.morale-label { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-faint); }

/* ---------- 7. retention ---------- */

.offer-stage { max-width: 600px; }
.offer {
  position: relative;
  padding: 30px 28px 22px;
  border-radius: 22px;
  background: var(--slop);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 30px 90px -20px rgba(212, 255, 58, 0.35);
  animation: popIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.85) rotate(-2deg); } }
.offer-more { background: var(--bone); }
.offer .btn-giant { align-self: stretch; background: var(--ink); color: var(--slop); }
.offer-k { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.offer-clock { font-weight: 600; font-variant-numeric: tabular-nums; }
.offer:has(.sticker) .offer-k { padding-right: 100px; }
.offer-h { margin: 0; font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 14vw, 120px); line-height: 0.82; text-transform: uppercase; }
.offer-more .offer-h { font-size: clamp(44px, 9vw, 76px); }
.more-pct { display: inline-block; color: var(--ink); background: var(--slop); padding: 0 0.12em; transform: rotate(-3deg); }
.offer-p { margin: 4px 0 8px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.2; max-width: 26em; }
.sticker {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--slop);
  font-family: var(--cond);
  font-stretch: 75%;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  transform: rotate(14deg);
  animation: wobble 2.4s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.06); } }

.chat { border-radius: 20px; background: var(--bone); color: var(--ink); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: var(--ink); color: var(--bone); }
.chat-head b { display: block; }
.chat-head small { display: block; font-size: 12px; color: var(--bone-faint); }
.bot-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--slop); font-family: var(--emoji); font-size: 20px; }
.chat-log { height: 300px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; animation: enter 0.3s ease both; }
.msg-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg-human { align-self: flex-start; background: var(--slop); border-bottom-left-radius: 4px; }
.msg-you { align-self: flex-end; background: var(--ink); color: var(--bone); border-bottom-right-radius: 4px; }
.typing { display: flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 10, 10, 0.4); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { transform: translateY(-4px); } }
.chat .chips { padding: 0 16px; margin: 0 0 10px; }
.chat-row { display: flex; gap: 8px; padding: 0 16px 16px; }
.chat-in { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(10, 10, 10, 0.25); background: #fff; color: var(--ink); }
.chat-in:focus { outline: none; box-shadow: 0 0 0 3px var(--slop); }
.chat-exit { padding: 0 16px; }
.chat-exit:not(:empty) { padding-bottom: 16px; }

/* ---------- 8. survey ---------- */

.survey { max-width: 680px; }
.survey-opts { border: 0; margin: 0 0 20px; padding: 0; }
.survey-opts legend { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-ink); margin-bottom: 6px; cursor: pointer; font-size: 15px; }
.opt:hover { background: rgba(212, 255, 58, 0.35); }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.opt:has(input:checked) { background: var(--slop); border-color: var(--ink); }
.survey-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 8px 0 12px; }
.count { margin: 0; font-family: var(--mono); font-size: 11.5px; color: #b0341a; flex: 1 1 240px; }
.count.ok { color: #4c6b00; }
.survey .btn-ghost { border-color: var(--ink); color: var(--ink); }
.form-msg { min-height: 1.3em; font-family: var(--serif); font-style: italic; font-size: 19px; }

/* ---------- 9. popups ---------- */

.popstage { position: relative; min-height: 380px; display: grid; place-items: start; }
.perm {
  width: min(400px, 100%);
  padding: 18px;
  border-radius: 12px;
  background: #2b2b2b;
  color: #eee;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  animation: dropIn 0.35s ease both;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-12px); } }
.perm-url { margin: 0 0 12px; font-size: 14px; }
.perm-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.perm-row { display: flex; gap: 8px; justify-content: flex-end; }
.btn-perm { min-height: 38px; padding: 8px 18px; border-radius: 999px; border: 1px solid #555; background: transparent; color: #a8c7fa; font-weight: 500; font-size: 14px; }
.btn-perm.primary { background: #a8c7fa; color: #062e6f; border-color: #a8c7fa; }
.perm-fine { margin: 14px 0 0; font-size: 11.5px; color: #999; }
.nl, .rate {
  position: relative;
  width: min(480px, 100%);
  padding: 30px 26px 22px;
  border-radius: 22px;
  background: var(--bone);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  animation: popIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.nl.again { animation: popIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both, shake 0.5s 0.45s ease; }
.nl p, .rate p { margin: 0; }
.nl-h { margin: 4px 0; font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: 58px; line-height: 0.86; text-transform: uppercase; }
.nl-x {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(10, 10, 10, 0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.nl-x:hover { background: rgba(10, 10, 10, 0.08); color: var(--ink); }
.nl-in { align-self: stretch; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(10, 10, 10, 0.25); background: #fff; color: var(--ink); margin: 6px 0 4px; }
.nl .btn-slop { align-self: stretch; background: var(--ink); color: var(--slop); }
.stars { display: flex; gap: 8px; margin: 18px 0 8px; }
.star {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.06);
  color: rgba(10, 10, 10, 0.25);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 1.4, 0.4, 1), color 0.2s;
  touch-action: manipulation;
}
.star:hover, .star.lit { color: #e6b800; }
.star.lit { background: var(--slop); color: var(--ink); }
.rate-msg { min-height: 1.4em; font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- 10. terms ---------- */

.terms {
  height: 420px;
  overflow-y: auto;
  padding: 26px 28px;
  border-radius: 14px;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  overscroll-behavior: contain;
  box-shadow: inset 0 -30px 30px -30px rgba(0, 0, 0, 0.4);
}
.terms:focus-visible { outline: 3px solid var(--slop); outline-offset: 3px; }
.terms.slipped { animation: slip 0.4s ease; }
@keyframes slip { 30% { box-shadow: inset 0 0 0 4px var(--warn); } }
.terms-h { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.terms h3 { margin: 18px 0 4px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.terms p { margin: 0; }
.agree {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 28px 0 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--slop);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.agree input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.terms-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.slip { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--warn); min-height: 1.2em; }

/* ---------- 11. sure ---------- */

.sure { max-width: 680px; }
.sure-q { margin: 0 0 8px; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2; font-weight: 500; }
.sure-q u { text-decoration-color: var(--slop); text-decoration-thickness: 3px; }
.sure-tr { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--bone-dim); }
.sure-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.sure-row.swapped .btn-giant { flex: 1 1 280px; }

/* ---------- finale ---------- */

.stage-finale .deck { font-size: clamp(24px, 3.4vw, 34px); color: var(--bone); }
.resub { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; max-width: 600px; font-size: 14.5px; }
.resub input { width: 20px; height: 20px; accent-color: var(--slop); flex: none; }
.resub-msg { display: block; min-height: 1.4em; margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--bone-dim); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.stats li { padding: 16px; background: var(--ink); }
.stats b { display: block; font-family: var(--cond); font-stretch: 62%; font-weight: 900; font-size: 46px; line-height: 1; color: var(--slop); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-faint); }
.share { max-width: 640px; }
.share-text { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); color: var(--bone); font-family: var(--mono); font-size: 13px; line-height: 1.5; resize: none; }
.share-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.copied { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--slop); }
.end-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.confetti { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.confetti span {
  position: absolute;
  top: -60px;
  font-family: var(--emoji);
  line-height: 1;
  animation: fall linear both;
}
@keyframes fall {
  from { transform: translate(0, 0) rotate(0); }
  to { transform: translate(var(--x), 115vh) rotate(var(--r)); }
}

/* ---------- toasts + dock ---------- */

.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(27, 27, 27, 0.96);
  border: 1px solid var(--line);
  border-left: 4px solid var(--slop);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  font-size: 13.5px;
  line-height: 1.35;
  animation: toastIn 0.3s ease both;
  transition: opacity 0.4s, transform 0.4s;
}
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--dock-h);
  padding: 8px 24px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.escape {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--bone-faint);
}
.escape:hover { color: var(--slop); }
.skip {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  cursor: pointer;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.skip[aria-disabled="true"] { color: var(--bone-faint); cursor: not-allowed; }
.skip[aria-disabled="false"] { background: var(--slop); border-color: var(--slop); color: var(--ink); animation: ready 1.6s ease infinite; }

@media (min-width: 980px) {
  .toasts { left: auto; right: 20px; transform: none; width: 340px; }
  .toast.out { transform: translateX(10px); }
  @keyframes toastIn { from { opacity: 0; transform: translateX(14px); } }
}

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  .dept { display: none; }
}
@media (max-width: 600px) {
  :root { --dock-h: 56px; }
  .top { padding: 10px 16px; gap: 10px; }
  .wordmark span { font-size: 19px; }
  .meta { font-size: 10.5px; gap: 6px; }
  main { padding: 26px 16px calc(var(--dock-h) + 90px); }
  .note { flex-direction: column; gap: 6px; font-size: 16.5px; margin-top: 44px; }
  .promises { grid-template-columns: 1fr; }
  .promises li { display: flex; align-items: baseline; gap: 12px; }
  .promises b { display: inline; font-size: 34px; min-width: 52px; }
  .panel { padding: 18px; border-radius: 16px; }
  .wall { min-height: 560px; }
  .faux { padding: 20px; }
  .cookie { width: calc(100% - 20px); bottom: 10px; padding-bottom: 50px; }
  .cookie.prefs-mode { top: 10px; bottom: 10px; }
  .wall.prefs { min-height: 860px; }
  .btn-giant { font-size: 19px; min-height: 58px; padding: 14px 20px; }
  .arena { height: 330px; }
  .captcha-head strong { font-size: 28px; }
  .tile-t { font-size: 8.5px; }
  .offer { padding: 26px 20px 18px; }
  .sticker { width: 72px; height: 72px; font-size: 12px; right: 12px; top: 12px; }
  .chat-log { height: 280px; }
  .nl-h { font-size: 48px; }
  .star { width: 50px; height: 50px; font-size: 32px; }
  .stars { gap: 6px; }
  .terms { height: 380px; padding: 20px 18px; font-size: 17px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats b { font-size: 38px; }
  .dock { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .escape { font-size: 10.5px; letter-spacing: 0; }
  .hide-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .toasts { top: 96px; bottom: auto; }
  .toast { padding: 9px 12px; font-size: 13px; }
  .toast:not(:last-child) { display: none; }
  .skip { padding: 8px 12px; font-size: 10.5px; }
}
@media (max-width: 370px) {
  .meta-sep, .meta > span:last-child { display: none; }
}

/* ---------- reduced motion: calmer, not broken ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body::after { animation: none; }
  .progress-fill { animation: none; }
  .spinner { animation: none; }
  .confetti span { animation: fadeStill 2.4s ease both !important; animation-duration: 2.4s !important; }
  @keyframes fadeStill { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
}
