/* Couac ! — interface joueur
   Palette « kermesse » : scène cobalt, encre violette, jaune ticket, corail micro. */
:root {
  --stage: #2b3ae8;
  --stage-deep: #1d27b8;
  --ink: #17123f;
  --paper: #fdfcff;
  --ticket: #ffd23f;
  --coral: #ff5a7a;
  --mint: #3ddc97;
  --sky: #9fb0ff;
  --muted: #5b577d;
  --radius-lg: 22px;
  --radius-sm: 12px;
  --border: 3px solid var(--ink);
  --lift: 0 5px 0 var(--ink);
  --font: 'Bricolage Grotesque', ui-rounded, 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--stage);
  background-image: radial-gradient(circle at 50% -20%, #4a58ff 0, transparent 60%);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ticket); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app {
  max-width: 34rem;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
#app.wide { max-width: 64rem; }

/* ---------- Marque ---------- */
.wordmark {
  font-size: clamp(3.4rem, 18vw, 6rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ticket);
  margin: 0;
  transform: rotate(-4deg);
  text-shadow: 0 5px 0 var(--ink);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.wordmark small { font-size: 0.5em; vertical-align: 0.35em; }
.tagline { color: var(--paper); font-size: 1.15rem; margin: 18px 0 0; max-width: 26ch; }
.hero { padding: 28px 6px 22px; }

/* ---------- Surfaces ---------- */
.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--lift);
  padding: 18px;
}
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.25rem; margin: 0 0 12px; font-weight: 750; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.on-stage { color: var(--paper); }
.center { text-align: center; }
.spacer { flex: 1; }

/* ---------- Champs ---------- */
label.field { display: block; font-weight: 650; }
label.field span { display: block; margin-bottom: 6px; }
.input {
  width: 100%;
  padding: 13px 14px;
  border: var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 1.1rem;
  min-height: 52px;
}
.input.code {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 800;
  font-size: 1.5rem;
  text-align: center;
}
.input::placeholder { color: #9a97b5; letter-spacing: normal; font-weight: 500; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px;
  border: var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  font-weight: 750;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s, box-shadow 0.06s;
  touch-action: manipulation;
  user-select: none;
}
.btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: var(--ticket); }
.btn.hot { background: var(--coral); color: #fff; }
.btn.go { background: var(--mint); }
.btn.ghost { background: transparent; border-color: var(--paper); color: var(--paper); box-shadow: none; }
.btn.block { width: 100%; }
.btn.big { min-height: 62px; font-size: 1.25rem; }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 0.95rem; box-shadow: 0 3px 0 var(--ink); }
.link { background: none; border: 0; padding: 6px; text-decoration: underline; cursor: pointer; font-weight: 600; }
.on-stage .link, .link.on-stage { color: var(--paper); }

.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; margin: 16px 0; }
.divider::before, .divider::after { content: ''; flex: 1; border-top: 2px dashed #c9c6de; }

/* ---------- Barre haute ---------- */
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--paper); margin-bottom: 14px; min-height: 40px; }
.topbar .mini-mark { white-space: nowrap; font-weight: 800; font-stretch: 75%; font-size: 1.5rem; color: var(--ticket); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.14); color: var(--paper); white-space: nowrap;
}
.pill.mic-on { background: var(--coral); color: #fff; animation: pulse 1s ease-in-out infinite; }
.pill.dark { background: var(--ink); color: var(--paper); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 90, 122, 0.35); } }

/* ---------- Lobby ---------- */
.code-card { text-align: center; }
.code-big {
  font-size: clamp(3rem, 16vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 4px 0.18em;
  line-height: 1;
}
.players { list-style: none; margin: 0; padding: 0; }
.players li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px;
  border-bottom: 2px dashed #e1def0;
}
.players li:last-child { border-bottom: 0; }
.avatar {
  width: 40px; height: 40px; flex: none;
  border: var(--border); border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem;
}
.pname { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmeta { font-size: 0.85rem; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); display: inline-block; border: 2px solid var(--ink); }
.dot.off { background: #c9c6de; }
.count-line { font-weight: 750; font-size: 1.1rem; }
.icon-btn { border: 0; background: none; cursor: pointer; font-size: 1.1rem; padding: 8px; border-radius: 8px; }

.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--border); border-radius: 999px; overflow: hidden; background: #fff; }
.seg button { flex: 1; border: 0; background: none; padding: 10px 4px; font-weight: 700; font-size: 0.92rem; cursor: pointer; min-height: 44px; }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.seg button:disabled { cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--ink); border-radius: 999px; padding: 7px 12px;
  background: #fff; font-weight: 650; font-size: 0.92rem; cursor: pointer; min-height: 40px;
}
.chip[aria-pressed='true'] { background: var(--chip, var(--ticket)); box-shadow: 0 3px 0 var(--ink); }
.chip:disabled { cursor: default; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { font-size: 1.6rem; font-weight: 800; min-width: 2ch; text-align: center; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; }
.toggle input { width: 24px; height: 24px; accent-color: var(--ink); flex: none; }

.lobby-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .lobby-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

/* ---------- Micro ---------- */
.meter { height: 16px; border: var(--border); border-radius: 999px; background: #eceaf6; overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: var(--mint); transition: width 0.06s linear; }
.mic-status { font-weight: 700; }

/* ---------- Écrans de jeu ---------- */
.stage > * { max-width: 100%; }
.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--paper); gap: 14px; padding: 10px 0 20px; }
.round-tag { font-weight: 750; font-size: 1rem; }
.variant { background: var(--ticket); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 750; transform: rotate(-2deg); box-shadow: 0 4px 0 var(--ink); max-width: 26rem; }
.variant small { display: block; font-weight: 550; font-size: 0.92rem; }
.event { background: var(--coral); color: #fff; }
.big-emoji { font-size: clamp(5.5rem, 34vw, 9rem); line-height: 1; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25)); }
.pop { animation: pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.ch-name { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; font-stretch: 85%; line-height: 1.05; margin: 0; }
.ch-desc { font-size: 1.1rem; max-width: 28ch; margin: 0; opacity: 0.92; }
.emotion { font-size: 1.3rem; font-weight: 800; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 18px; border: var(--border); }
.headline { font-size: clamp(2rem, 10vw, 3rem); font-weight: 800; margin: 0; line-height: 1.05; }

.rings { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.rings span { position: absolute; inset: 0; border: 4px solid var(--ticket); border-radius: 50%; animation: ring 1.6s ease-out infinite; opacity: 0; }
.rings span:nth-child(2) { animation-delay: 0.53s; }
.rings span:nth-child(3) { animation-delay: 1.06s; }
.rings b { font-size: 4.5rem; }
@keyframes ring { from { transform: scale(0.45); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }

.countdown { font-size: clamp(8rem, 50vw, 13rem); font-weight: 800; line-height: 1; color: var(--ticket); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 0 8px 0 var(--ink); }
.tick { animation: tick 1s ease-out; }
@keyframes tick { from { transform: scale(1.5); } }

/* La bulle : l'élément signature, déformée par le niveau du micro */
.blob-wrap { position: relative; width: min(72vw, 290px); aspect-ratio: 1; display: grid; place-items: center; }
.blob {
  position: absolute; inset: 0;
  background: var(--coral);
  border: 4px solid var(--ink);
  border-radius: 46% 54% 51% 49% / 52% 45% 55% 48%;
  box-shadow: 0 8px 0 var(--ink);
  transform: scale(calc(0.82 + var(--lvl, 0) * 0.3)) rotate(calc(var(--lvl, 0) * 14deg));
  transition: transform 0.08s linear, border-radius 0.3s;
  animation: wobble 2.4s ease-in-out infinite;
}
@keyframes wobble { 50% { border-radius: 55% 45% 47% 53% / 46% 55% 45% 54%; } }
.blob-wrap .secs { position: relative; font-size: clamp(4.5rem, 24vw, 6.5rem); font-weight: 800; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; line-height: 1; }
.blob-wrap .secs small { display: block; font-size: 1rem; -webkit-text-stroke: 0; font-weight: 750; }
.progress { width: min(100%, 22rem); height: 14px; border: var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--ticket); transform-origin: left; }

.spinner { width: 72px; height: 72px; border: 8px solid rgba(255, 255, 255, 0.25); border-top-color: var(--ticket); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.waiting-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* Score */
.score-card { width: 100%; }
.score-big { font-size: clamp(5rem, 30vw, 8rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.score-big small { font-size: 0.3em; letter-spacing: 0; color: var(--muted); }
.feedback { font-size: 1.5rem; font-weight: 800; margin: 6px 0 10px; }
.bars { text-align: left; display: grid; gap: 7px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 7.2rem 1fr 2.4rem; align-items: center; gap: 10px; font-weight: 650; font-size: 0.95rem; }
.bar .track { height: 12px; background: #eceaf6; border-radius: 999px; border: 2px solid var(--ink); overflow: hidden; }
.bar .track i { display: block; height: 100%; background: var(--ink); transform-origin: left; animation: grow 0.7s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar b { text-align: right; }

.rank { list-style: none; margin: 0; padding: 0; width: 100%; text-align: left; }
.rank li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); font-weight: 700; }
.rank li + li { margin-top: 8px; }
.rank li.me { background: var(--ticket); }
.rank .pos { width: 2.2rem; font-size: 1.3rem; text-align: center; }
.rank .pts { font-size: 1.25rem; font-weight: 800; }
.rank .move { font-size: 0.85rem; width: 1.6rem; text-align: center; }
.rank .gain { font-size: 0.85rem; color: var(--muted); font-weight: 650; }

.winner-name { overflow-wrap: anywhere; font-size: clamp(2rem, 10.5vw, 4rem); font-weight: 800; margin: 0; line-height: 1; color: var(--ticket); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.trophy { font-size: 5rem; animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both, float 3s ease-in-out 0.6s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.actions { display: grid; gap: 12px; width: 100%; }

/* Frise : référence + curseur + voix en direct */
.timeline { display: block; width: min(100%, 26rem); height: 110px; border: 3px solid var(--ink); border-radius: 14px; background: rgba(23, 18, 63, 0.38); }
.timeline.short { height: 64px; }
.legend { margin: -4px 0 0; font-size: 0.9rem; font-weight: 650; display: flex; gap: 6px; align-items: center; justify-content: center; }
.lg { display: inline-block; width: 16px; height: 10px; border-radius: 3px; border: 2px solid var(--ink); }
.lg-ref { background: var(--ticket); margin-left: 4px; } .lg-me { background: var(--coral); margin-left: 10px; }
.blob-wrap.small { width: min(40vw, 160px); }
.blob-wrap.small .secs { font-size: clamp(3rem, 14vw, 4rem); }
.blob-wrap.small .secs small { font-size: 0.8rem; }

/* Malus */
.malus-banner { background: var(--ink); color: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 650; max-width: 26rem; }
.malus-banner.me { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--ink); transform: rotate(1.5deg); }
.malus-banner small { display: block; font-weight: 550; opacity: 0.95; }
.malus-tag { margin: 0; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 0.9rem; }
.pick-label { margin: 10px 0 6px; font-weight: 800; text-align: left; }
.victims { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; }
.victim { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 84px; padding: 8px; border: 3px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-weight: 700; cursor: pointer; }
.victim small { font-weight: 600; color: var(--muted); }
.victim[aria-pressed='true'] { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.victim[aria-pressed='true'] small { color: #fff; }
.malus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.malus-card { display: grid; gap: 2px; text-align: left; padding: 10px; border: 3px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 0.95rem; }
.malus-card small { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.malus-card .m-emoji { font-size: 1.6rem; line-height: 1; }
.malus-card[aria-pressed='true'] { background: var(--ticket); box-shadow: 0 4px 0 var(--ink); }
.malus-card.chosen { max-width: 22rem; text-align: center; justify-items: center; background: var(--ticket); box-shadow: 0 5px 0 var(--ink); cursor: default; }
.malus-card.chosen .m-emoji { font-size: 3rem; }
.malus-card.chosen small { font-size: 0.95rem; color: var(--ink); }
.malus-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; opacity: 0.8; }
.malus-list span { background: rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 4px 10px; font-size: 0.85rem; font-weight: 650; }
@media (min-width: 560px) { .malus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Réécoute à tour de rôle */
.showcase-avatar { border-radius: 50%; padding: 6px; }
.showcase-avatar .avatar { font-size: 2.6rem; border-width: 4px; box-shadow: 0 6px 0 var(--ink); }
.showcase-avatar.speaking { animation: talk 0.5s ease-in-out infinite alternate; }
@keyframes talk { to { transform: scale(1.06) rotate(-3deg); } }
.reveal-zone { min-height: 150px; display: grid; place-items: center; }
.eq { display: flex; gap: 6px; align-items: flex-end; height: 56px; justify-content: center; }
.eq i { width: 12px; background: var(--ticket); border: 2px solid var(--ink); border-radius: 6px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.15s; } .eq i:nth-child(3) { animation-delay: 0.3s; }
.eq i:nth-child(4) { animation-delay: 0.45s; } .eq i:nth-child(5) { animation-delay: 0.6s; }
@keyframes eq { 0%, 100% { height: 12px; } 50% { height: 54px; } }
.showcase-score { color: var(--ticket); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 6px 0 var(--ink); }
.showcase-score small { color: var(--paper); -webkit-text-stroke: 0; text-shadow: none; }
[hidden] { display: none !important; }

/* ---------- Superpositions ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(23, 18, 63, 0.82);
  display: grid; place-items: center; padding: 20px;
  color: var(--paper); text-align: center;
}
.overlay .card { color: var(--ink); max-width: 24rem; }
.dots span { display: inline-block; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: var(--ticket); animation: bounce 1s infinite; }
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 50% { transform: translateY(-10px); } }

#toasts { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(92vw, 26rem); }
.toast { background: var(--ink); color: var(--paper); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 650; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3); animation: pop 0.3s ease-out both; }
.toast.error { background: var(--coral); color: #fff; }

.notice { background: #fff3c4; border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.95rem; }
.notice.bad { background: #ffe0e6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 400px) {
  #game-top .mini-mark { display: none; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }
  .topbar .pill { font-size: 0.82rem; padding: 4px 9px; }
  .topbar .icon-btn { padding: 4px 6px; }
  .code-big { letter-spacing: 0.1em; margin-left: 0.1em; }
}
@media (max-width: 360px) {
  body { font-size: 1rem; }
  .card { padding: 14px; }
  .bar { grid-template-columns: 5.8rem 1fr 2.2rem; font-size: 0.85rem; }
}

/* ---------- Packs de la communauté ---------- */
.packs-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pack-card { display: grid; gap: 6px; text-align: left; cursor: pointer; background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--lift); padding: 16px; text-decoration: none; }
.pack-card:hover { transform: translateY(-2px); }
.pack-card .pe { font-size: 2.4rem; line-height: 1; }
.pack-card h3 { margin: 0; font-size: 1.2rem; }
.pack-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted); font-weight: 650; }
.tag-mine { background: var(--ticket); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-size: 0.78rem; font-weight: 800; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 2px solid var(--paper); background: transparent; color: var(--paper); border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; }
.tabs button[aria-pressed='true'] { background: var(--paper); color: var(--ink); }
.sound-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 2px dashed #e1def0; }
.sound-row:last-child { border-bottom: 0; }
.sound-row .se { font-size: 1.6rem; width: 2rem; text-align: center; }
.dots { letter-spacing: 1px; color: var(--muted); font-size: 0.8rem; }
.add-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.add-tabs button[aria-pressed='true'] { background: var(--ticket); }
.mi-results { max-height: 320px; overflow-y: auto; border: 2px solid #e1def0; border-radius: var(--radius-sm); }
.mi-results div { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid #eceaf6; }
.vote-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); }
.vote-row + .vote-row { margin-top: 8px; }
.vote-btn { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 800; cursor: pointer; min-height: 36px; }
.vote-btn[aria-pressed='true'] { background: var(--mint); }
.vote-btn.down[aria-pressed='true'] { background: var(--coral); color: #fff; }
.chip small { font-weight: 700; opacity: 0.7; margin-left: 4px; }
.chip-group-title { margin: 10px 0 6px; font-weight: 750; font-size: 0.92rem; display: flex; gap: 8px; align-items: center; }
