/* DBD Random Picker — landing
   Dirección: vestida de noche electoral. Un solo tipo (TikTok Sans), suelo negro,
   rojo sangre solo en la acción y en la opción que lidera. */

:root {
  --bg: #0e0d0d;
  --surface: #1b1918;
  --surface-2: #272322;
  --ink: #f2f1ef;
  --muted: #a39b94;
  --accent: #d32626;
  --accent-ink: #ffffff;
  --field: #4a0f10;
  --paper: #e4e3e1;

  --font: 'TikTok Sans', 'Segoe UI', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.5rem, 11.4vw, 11rem);

  --m: 24px;
  --gap: 24px;
  --section: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 720px) { :root { --m: 16px; --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { position: relative; z-index: 1; background: var(--bg); }

.head {
  font-size: var(--step-head);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ── Botones ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0;
  font-size: var(--step-small); font-weight: 700; text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.96); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn[hidden] { display: none; }

/* ── Navegación ────────────────────────────────────── */
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--m);
}
.nav-mark { font-weight: 800; font-stretch: 125%; text-transform: uppercase; text-decoration: none; font-size: var(--step-small); letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: var(--step-small); color: var(--ink); transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav .btn { justify-self: end; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  padding: 4vh var(--m) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: var(--gap);
  overflow: clip;
}
.hero-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--step-display);
  font-weight: 800; font-stretch: 150%;
  line-height: 0.88; letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative; z-index: 2;
}
.hero-print {
  grid-column: 5 / 9;
  margin-top: -1.6vw;
  background: var(--field);
  aspect-ratio: 3 / 4;
  align-self: start;
  position: relative; z-index: 1;
  overflow: clip;
  margin-bottom: -20%;
}
.hero-print img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; }
.hero-print figcaption {
  position: absolute; left: 16px; top: 16px;
  font-size: var(--step-small); font-weight: 700; color: var(--ink);
}
.hero-lead, .hero-fact {
  position: absolute; bottom: 32px;
  max-width: 330px; font-size: var(--step-body);
}
.hero-lead { left: var(--m); }
.hero-fact { right: var(--m); text-align: right; }

/* ── Cómo funciona ─────────────────────────────────── */
.how { padding: var(--section) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.how-intro { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.how-intro .head { grid-column: 1 / 8; }
.how-intro p { grid-column: 8 / -1; max-width: 44ch; }
.how-diagram { grid-column: 1 / -1; width: 100%; height: auto; margin-top: 64px; }
.how-diagram rect { transition: transform 1.2s var(--ease); }
.how-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 40px; }
.how-steps h3 { font-size: var(--step-lead); font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.how-steps p { margin-top: 10px; max-width: 36ch; }

/* ── Escrutinio ────────────────────────────────────── */
.count { padding: var(--section) var(--m) 0; }
.count-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.count-top .head { grid-column: 1 / 7; }
.count-intro { grid-column: 8 / -1; max-width: 46ch; }

.count-status {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  background: var(--surface); padding: 16px 20px;
}
.rounds { display: flex; gap: 6px; }
.rounds li { padding: 8px 14px; background: var(--surface-2); color: var(--muted); font-size: var(--step-small); font-weight: 700; }
.rounds li.is-current { background: var(--ink); color: var(--bg); }
.rounds li.is-done { color: var(--ink); }
.clock { display: flex; align-items: center; gap: 16px; font-size: var(--step-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.clock-bar { width: clamp(120px, 22vw, 320px); height: 8px; background: var(--surface-2); overflow: hidden; }
.clock-bar span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; }
#clock-text { min-width: 4.5ch; }

.count-body { margin-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 380px); gap: 4px; }

.board { display: flex; flex-direction: column; gap: 4px; min-height: 560px; background: var(--bg); }
.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 7ch 9ch 6ch 9ch;
  grid-template-areas: "img name num votes pct status";
  align-items: center; column-gap: 20px;
  min-height: 72px; padding: 0 20px 0 8px;
  background: var(--surface);
  font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .2s;
}
.row:hover { background: var(--surface-2); }
.row > img, .row-glyph { grid-area: img; width: 56px; height: 56px; object-fit: cover; }
.row.is-perk > img { object-fit: contain; }
.row-name { grid-area: name; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-num { grid-area: num; } .row-votes { grid-area: votes; } .row-pct { grid-area: pct; }
.row-num, .row-votes, .row-pct { color: var(--muted); font-size: var(--step-body); text-align: right; }
.row-status {
  grid-area: status; justify-self: end; padding: 6px 10px; min-width: 8ch; text-align: center;
  background: var(--surface-2); font-size: var(--step-small); font-weight: 700;
}
.row-detail { grid-area: detail; display: none; font-size: var(--step-body); font-weight: 400; max-width: 60ch; }
.row.is-open {
  grid-template-columns: 136px auto auto minmax(0, 1fr) auto;
  grid-template-areas: "img name name name status" "img num votes pct pct" "img detail detail detail detail";
  min-height: 216px; align-content: center; row-gap: 10px; padding: 20px 20px 20px 16px;
  background: var(--accent); color: var(--accent-ink);
}
.row.is-open > img, .row.is-open .row-glyph { width: 136px; height: 136px; align-self: center; }
.row.is-open .row-name { font-size: var(--step-head); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1; white-space: normal; }
.row.is-open .row-num, .row.is-open .row-votes, .row.is-open .row-pct { color: var(--accent-ink); text-align: left; font-weight: 700; }
.row.is-open .row-detail { display: block; }
.row.is-open .row-status { background: var(--bg); color: var(--ink); align-self: start; }
.row.is-win .row-status { background: var(--ink); color: var(--bg); }
.row.is-empty { cursor: default; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; min-height: 216px; padding: 20px; }
.row.is-empty .row-name { font-size: var(--step-head); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1; }
.row.is-empty .row-detail { display: block; color: var(--muted); }
.row.is-empty:hover { background: var(--surface); }
.row.is-mine .row-name::after { content: ' · tu voto'; font-size: var(--step-small); font-weight: 700; text-transform: none; font-stretch: 100%; }
.row-glyph { display: grid; place-items: center; background: var(--surface-2); font-weight: 800; font-stretch: 125%; }
.row.is-open .row-glyph { font-size: var(--step-head); background: var(--bg); color: var(--ink); }

.loadout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px; min-height: 620px; }
.loadout-char { background: var(--field); position: relative; overflow: clip; min-height: 320px; }
.loadout-char img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; position: absolute; inset: 0; }
.loadout-char p { position: absolute; left: 20px; bottom: 20px; font-size: var(--step-head); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1; }
.loadout-perks { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.loadout-perks h3 { font-size: var(--step-lead); font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.loadout-perks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.loadout-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.loadout-perks li img { width: 72px; height: 72px; flex: none; }
.loadout-perks .none { color: var(--muted); }
.loadout-perks .btn { align-self: flex-start; margin-top: auto; }

.chat { background: var(--surface); display: flex; flex-direction: column; padding: 20px; gap: 14px; min-height: 620px; }
.chat-title { font-size: var(--step-body); font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.chat-log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; min-height: 240px; font-size: var(--step-small); }
.chat-log li { line-height: 1.4; }
.chat-log b { font-weight: 700; }
.chat-log .is-ignored { color: var(--muted); }
.chat-log .is-ignored em { font-style: normal; font-weight: 700; }
.chat-log .is-me b { color: var(--accent); }
.chat-form { display: flex; gap: 4px; }
.chat-form input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px;
  background: var(--bg); border: 2px solid var(--surface-2); border-radius: 0;
  font-size: var(--step-body);
}
.chat-form input:focus { outline: none; border-color: var(--ink); }
.chat-note { font-size: var(--step-small); color: var(--muted); min-height: 2.8em; }
.chat-note.is-ok { color: var(--ink); }
.chat-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.chat-actions .btn { flex: 1; }

.ballot { margin-top: 4px; background: var(--surface); padding: 20px; }
.ballot-title { font-size: var(--step-body); font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.ballot-list {
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px;
  max-height: 340px; overflow-y: auto;
}
.ballot-list button {
  display: flex; gap: 10px; align-items: baseline; text-align: left;
  padding: 8px 10px; background: var(--bg); border: 0; cursor: pointer;
  font-size: var(--step-small); transition: background-color .15s, color .15s;
}
.ballot-list button b { font-variant-numeric: tabular-nums; min-width: 2.5ch; color: var(--muted); }
.ballot-list button:hover { background: var(--surface-2); }
.ballot-list button.is-mine { background: var(--accent); color: var(--accent-ink); }
.ballot-list button.is-mine b { color: var(--accent-ink); }
.ballot-list button:disabled { cursor: default; opacity: .55; }

/* ── Roster ────────────────────────────────────────── */
.roster {
  position: relative;
  margin-top: var(--section);
  min-height: 100svh;
  background: var(--field);
  display: grid; place-items: center;
  overflow: clip;
  padding: 0 var(--m);
}
.roster-title {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900; font-stretch: 150%;
  line-height: 0.85; letter-spacing: -0.02em; text-transform: uppercase;
  pointer-events: none;
}
.print {
  position: absolute; z-index: 1;
  width: 19vw; aspect-ratio: 3 / 4;
  background: var(--paper); padding: 8px;
  transition: transform .2s var(--ease);
  cursor: pointer;
}
.print img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; background: var(--surface); }
.print-a { left: 4vw; top: 7%; transform: rotate(-8deg); }
.print-b { right: 5vw; top: 30%; transform: rotate(6deg); }
.print-c { width: 14vw; left: 40%; bottom: -5vw; transform: rotate(-3deg); }
.print:hover { transform: rotate(0deg); z-index: 2; }
.roster-note { position: absolute; left: var(--m); bottom: 24px; max-width: 46ch; font-size: var(--step-body); z-index: 4; }

/* ── Preguntas ─────────────────────────────────────── */
.faq { padding: var(--section) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.faq .head { grid-column: 3 / 11; }
.cards { grid-column: 3 / 11; margin-top: 48px; display: flex; flex-direction: column; }
.card {
  --tab-w: 200px; --tab-h: 40px; --step: min(150px, calc((100% - var(--tab-w)) / 5));
  position: relative;
  margin-top: calc(var(--tab-h) * -1);
  padding-bottom: var(--tab-h);
  padding-top: var(--tab-h);
  filter: none;
}
.card:first-child { margin-top: 0; }
.card:last-child { padding-bottom: 8px; }
.card:nth-child(3n+1) { --c: var(--surface); --t: var(--ink); }
.card:nth-child(3n+2) { --c: var(--surface-2); --t: var(--ink); }
.card:nth-child(3n) { --c: var(--field); --t: var(--ink); }
.card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--c);
  clip-path: polygon(
    calc(var(--k) * var(--step)) 0,
    calc(var(--k) * var(--step) + var(--tab-w)) 0,
    calc(var(--k) * var(--step) + var(--tab-w) + 16px) var(--tab-h),
    100% var(--tab-h), 100% 100%, 0 100%, 0 var(--tab-h),
    calc(var(--k) * var(--step) - 16px) var(--tab-h)
  );
}
.card:first-child::before { clip-path: polygon(0 0, var(--tab-w) 0, calc(var(--tab-w) + 16px) var(--tab-h), 100% var(--tab-h), 100% 100%, 0 100%); }
.card h3 { position: relative; font-size: inherit; font-weight: inherit; }
.card-btn {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer; color: var(--t);
  padding: 0 28px 20px;
}
.card-tab {
  position: absolute; top: calc(var(--tab-h) * -1); left: calc(var(--k) * var(--step));
  width: var(--tab-w); height: var(--tab-h);
  display: flex; align-items: center; padding: 0 20px;
  font-size: var(--step-small); font-weight: 700;
}
.card-q { display: block; padding-top: 18px; font-size: var(--step-lead); font-weight: 600; min-height: 56px; }
.card-a { position: relative; color: var(--t); padding: 0 28px 8px; display: none; }
.card-a p { max-width: 50ch; font-size: var(--step-body); }
.card.is-open .card-a { display: block; }
.card-btn:hover .card-q { text-decoration: underline; text-underline-offset: 4px; }

/* ── CTA ───────────────────────────────────────────── */
.cta {
  position: relative; display: block;
  margin-top: var(--section);
  min-height: 66svh;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none;
  clip-path: polygon(48px 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%, 0 48px);
  overflow: clip;
}
.cta-line { position: absolute; top: 40px; left: var(--m); right: calc(var(--m) + 72px); font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.cta-arrow { position: absolute; top: 40px; right: var(--m); width: 48px; height: 48px; transition: transform .2s var(--ease); }
.cta-word {
  position: absolute; left: var(--m); right: var(--m); bottom: 24px;
  font-size: 25vw; font-weight: 900; font-stretch: 125%;
  line-height: 0.74; letter-spacing: -0.04em; text-transform: uppercase;
  text-align: center;
}
.cta:hover, .cta:focus-visible { background: var(--ink); color: var(--bg); }
.cta:hover .cta-arrow { transform: translate(6px, -6px); }
.cta:focus-visible { outline-offset: -6px; outline-color: var(--accent); }

/* ── Pie ───────────────────────────────────────────── */
.foot {
  position: sticky; bottom: 0; z-index: 0;
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 40px var(--m) 20px;
  background: var(--paper); color: var(--bg);
}
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); font-size: var(--step-body); }
.foot-cols p, .foot-cols li { color: #4b4440; max-width: 30ch; }
.foot-cols .foot-first { color: var(--bg); font-weight: 700; margin-bottom: 6px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-mark { grid-row: 3; width: 100%; height: auto; }
.foot-mark text { font-family: var(--font); font-weight: 900; font-stretch: 125%; font-size: 112px; fill: var(--bg); }
.foot-legal { grid-row: 4; margin-top: 20px; font-size: var(--step-small); color: #4b4440; }

/* ── Teléfono ──────────────────────────────────────── */
@media (max-width: 900px) {
  .count-body { grid-template-columns: minmax(0, 1fr); }
  .row.is-empty .row-name { font-size: var(--step-lead); }
  .chat, .board, .loadout { min-height: 0; }
  .chat-log { min-height: 160px; max-height: 200px; }
  .row { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "img name status"; column-gap: 12px; min-height: 64px; font-size: var(--step-lead); padding-right: 12px; }
  .row > img, .row-glyph { width: 48px; height: 48px; }
  .row-num, .row-votes, .row-pct { display: none; }
  .row.is-open { grid-template-columns: 88px auto auto minmax(0, 1fr); grid-template-areas: "img name name status" "img num votes pct" "detail detail detail detail"; min-height: 200px; column-gap: 14px; }
  .row.is-open > img, .row.is-open .row-glyph { width: 88px; height: 88px; }
  .row.is-open .row-num, .row.is-open .row-votes, .row.is-open .row-pct { display: block; font-size: var(--step-body); }
  .row.is-open .row-name { font-size: var(--step-lead); }
  .loadout { grid-template-columns: 1fr; }
  .loadout-char { aspect-ratio: 1; }
}
@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 6vh; grid-template-rows: auto auto; }
  .hero-title { font-size: 15vw; }
  .hero-print { grid-column: 3 / 11; margin-bottom: 0; aspect-ratio: 4 / 5; }
  .hero-lead, .hero-fact { position: static; grid-column: 1 / -1; max-width: 40ch; text-align: left; }
  .hero-lead { margin-top: 32px; font-size: var(--step-lead); }
  .hero-fact { margin-top: 16px; color: var(--muted); }
  .how-intro .head, .how-intro p { grid-column: 1 / -1; }
  .how-intro p { margin-top: 24px; }
  .count-top .head, .count-intro { grid-column: 1 / -1; }
  .count-intro { margin-top: 16px; }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .how-steps { grid-template-columns: 1fr; row-gap: 28px; }
  .how-diagram { margin-top: 40px; }
  .count-status { padding: 12px; }
  .rounds li { padding: 8px 10px; }
  .ballot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster { min-height: 78svh; }
  .roster-title { font-size: 16vw; }
  .print { width: 40vw; }
  .print-a { left: 2vw; top: 4%; transform: rotate(-6deg); }
  .print-b { right: 2vw; left: auto; top: auto; bottom: 24%; transform: rotate(5deg); }
  .print-c { display: none; }
  .roster-note { right: var(--m); }
  .faq .head, .cards { grid-column: 1 / -1; }
  .card { --tab-w: 120px; --step: 48px; }
  .card-tab { font-size: var(--step-small); padding: 0 12px; }
  .card-btn, .card-a { padding-left: 20px; padding-right: 20px; }
  .cta { min-height: 52svh; clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%, 0 24px); }
  .cta-line { top: 28px; right: calc(var(--m) + 48px); }
  .cta-arrow { width: 32px; height: 32px; top: 28px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

/* ── Movimiento ────────────────────────────────────── */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 100ms); }
  .js .hero-lead, .js .hero-fact, .js .hero-print { opacity: 0; animation: fade-up .7s var(--ease) forwards; animation-delay: .55s; }
  .js .hero-print { animation-delay: .3s; }
  .hero-print img { animation: drift 18s ease-in-out infinite alternate; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .row.is-new { animation: row-in .35s var(--ease) both; }
  .chat-log li { animation: fade-up .3s var(--ease) both; }
  .clock-bar span { transition: transform .1s linear; }
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.1) translateY(-2%); } }

html:not(.js) .chat-form, html:not(.js) .chat-actions, html:not(.js) .ballot { display: none; }
