/* ============================================================
   BlindTaste — look "flyer de soirée" (solide, bold, granuleux)
   ============================================================ */
:root {
  --bg: #0c0c0e;
  --ink: #f3f1e8;
  --muted: #9b988f;
  --faint: #6b6960;
  --paper: #16151a;
  --paper-2: #1e1d23;
  --line: #2e2c34;
  --line-2: #413e48;
  --lime: #c6f24e;
  --lime-d: #93bf2e;
  --coral: #ff5a47;
  --gold: #ffce3a;
  --radius: 18px;
  --radius-sm: 12px;
  --font-d: 'Space Grotesk', system-ui, sans-serif;
  --font: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain + vignette (texture, pas de blobs IA) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 55%, rgba(0,0,0,.55) 100%);
}
#bg-art {
  position: fixed; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: blur(54px) saturate(1.2) brightness(.32); opacity: .42;
  transition: background-image .6s ease, opacity .6s;
}

/* ---- Layout ---- */
.wrap { max-width: 680px; margin: 0 auto; padding: 24px 18px 80px; position: relative; z-index: 1; }
body.host .wrap { max-width: 760px; }

.brand { font-family: var(--font-d); font-weight: 800; letter-spacing: -.5px; font-size: 24px; display: flex; align-items: center; gap: 11px; text-transform: uppercase; }
.brand .dot { width: 16px; height: 16px; border-radius: 4px; background: var(--lime); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(8deg); } }
.tagline { color: var(--muted); font-size: 14px; margin: 6px 0 22px 27px; font-weight: 500; }

/* ---- Cards ---- */
.card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.card.pop-card { box-shadow: 6px 6px 0 var(--lime); }
.view { display: block; }
.hidden { display: none !important; }

.anim { animation: cardIn .45s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }

h1 { font-family: var(--font-d); font-weight: 800; font-size: 30px; letter-spacing: -1px; margin: 0 0 6px; text-transform: uppercase; }
h2 { font-family: var(--font-d); font-weight: 700; font-size: 19px; letter-spacing: -.3px; margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 4px 0; }
.sub.center, .center { text-align: center; }
.mt { margin-top: 14px; }
.err { color: var(--coral); font-size: 13.5px; min-height: 18px; margin-top: 8px; font-weight: 700; }
label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--faint); font-weight: 800; margin: 16px 0 8px; }

/* ---- Inputs ---- */
input[type=text], .device-sel {
  width: 100%; padding: 15px 16px; font-size: 16px; color: var(--ink);
  background: #0e0d10; border: 2px solid var(--line); border-radius: var(--radius-sm); outline: none; font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
input[type=text]::placeholder { color: var(--faint); }
input[type=text]:focus, .device-sel:focus { border-color: var(--lime); box-shadow: 3px 3px 0 var(--lime-d); }
#codeInput { text-transform: uppercase; letter-spacing: 10px; font-weight: 800; font-size: 28px; text-align: center; font-family: var(--font-d); }

/* ---- Buttons (tactiles, ombre dure qui s'écrase) ---- */
button {
  font-family: var(--font-d); cursor: pointer; border: none; color: #0c0c0e; font-weight: 700; font-size: 16px;
  border-radius: var(--radius-sm); padding: 15px 18px; width: 100%; margin-top: 14px;
  background: var(--lime); box-shadow: 0 5px 0 var(--lime-d); letter-spacing: .2px;
  transition: transform .08s, box-shadow .08s, background .15s, filter .15s;
}
button:hover { filter: brightness(1.04); }
button:active { transform: translateY(5px); box-shadow: 0 0 0 var(--lime-d); }
button:disabled { background: var(--paper-2); color: var(--faint); box-shadow: none; cursor: not-allowed; }
button.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line-2); box-shadow: none; font-weight: 700; }
button.ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .04); }
button.ghost:active { transform: translateY(2px); }
button.tiny { width: auto; padding: 9px 14px; font-size: 13px; margin: 0; box-shadow: 0 3px 0 var(--lime-d); }
button.icon { width: 58px; height: 58px; padding: 0; font-size: 24px; border-radius: 14px; flex: 0 0 auto; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 8px; background: var(--paper-2); border: 1.5px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.pill.timer { background: var(--coral); border-color: var(--coral); color: #2a0a06; }

/* ---- Avatars ---- */
.ava { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 50%; overflow: hidden; position: relative; background: #0e0d10; box-shadow: 0 0 0 3px var(--pc); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava-em { background: color-mix(in srgb, var(--pc) 22%, #0e0d10); }
@keyframes pop { 0% { transform: scale(0) rotate(-22deg); } 65% { transform: scale(1.22) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
.pop { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes floaty { 50% { transform: translateY(-4px); } }

/* ---- Pickers ---- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 10px; padding: 0; margin: 0; cursor: pointer; background: var(--c); box-shadow: none; border: 3px solid transparent; transition: transform .1s, border-color .1s; }
.swatch:hover { transform: translateY(-3px) rotate(-6deg); }
.swatch.on { border-color: var(--ink); transform: translateY(-3px) scale(1.08); }
.swatch:active { transform: translateY(0); }
.ava-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 9px; }
.ava-pick { aspect-ratio: 1; width: 100%; margin: 0; padding: 0; font-size: 26px; border-radius: 12px; background: var(--paper-2); border: 2px solid transparent; box-shadow: none; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .1s, border-color .1s, background .15s; }
.ava-pick:hover { transform: translateY(-3px) rotate(-4deg); background: #26242c; }
.ava-pick:active { transform: translateY(0); }
.ava-pick.on { border-color: var(--lime); background: color-mix(in srgb, var(--lime) 18%, var(--paper-2)); }
.ava-pick.photo { font-size: 11px; font-weight: 800; color: var(--muted); flex-direction: column; gap: 2px; text-transform: uppercase; }
.ava-pick.photo span { font-size: 20px; }
.ava-pick.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.identity-row { display: flex; align-items: center; gap: 14px; }
.identity-row .preview { flex: 0 0 auto; }

/* ---- Lobby : code + QR ---- */
.join-card { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.join-left { flex: 1; min-width: 200px; }
.code-badge { font-family: var(--font-d); font-weight: 800; font-size: 50px; letter-spacing: 8px; color: var(--lime); line-height: 1.05; margin: 2px 0 6px; text-shadow: 4px 4px 0 #0c0c0e, 6px 6px 0 var(--lime-d); }
.join-url { color: var(--muted); font-size: 13.5px; word-break: break-all; }
.join-url b { color: var(--ink); }
.qr-box { background: #fff; padding: 11px; border-radius: 14px; line-height: 0; border: 3px solid var(--lime); }
.qr-box svg { width: 150px; height: 150px; display: block; }

/* ---- Joueurs ---- */
.players { display: flex; flex-direction: column; gap: 9px; }
.prow { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 13px; position: relative; animation: slamIn .4s cubic-bezier(.2, .9, .2, 1.05) both; }
.prow.off { opacity: .42; }
.prow .who2 { flex: 1; min-width: 0; }
.prow .nm2 { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 7px; }
.prow .tag-host { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #2a0a06; background: var(--gold); padding: 2px 6px; border-radius: 5px; }
.prow .pl { font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .pl.ok { color: var(--lime); }
.prow .tc2 { font-family: var(--font-d); font-weight: 800; font-size: 13px; color: var(--ink); background: var(--paper); padding: 5px 9px; border-radius: 8px; flex: 0 0 auto; }
.prow .kick { cursor: pointer; color: var(--faint); font-weight: 800; padding: 2px 7px; border-radius: 7px; flex: 0 0 auto; }
.prow .kick:hover { color: var(--coral); background: color-mix(in srgb, var(--coral) 18%, transparent); }
.empty { color: var(--faint); font-size: 14px; padding: 8px 2px; }

/* ---- Segments ---- */
.seg { display: flex; gap: 6px; background: #0e0d10; padding: 6px; border-radius: 12px; border: 1.5px solid var(--line); }
.seg button { flex: 1; margin: 0; padding: 11px 6px; font-size: 14px; font-weight: 800; background: transparent; color: var(--muted); box-shadow: none; border-radius: 8px; font-family: var(--font-d); }
.seg button:hover { background: var(--paper-2); }
.seg button:active { transform: none; }
.seg button.on { background: var(--lime); color: #0c0c0e; }

/* ---- En jeu (hôte) ---- */
.game-top { display: flex; align-items: center; justify-content: space-between; }
.now { display: flex; gap: 18px; align-items: center; }
.art-wrap { position: relative; width: 132px; height: 132px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); }
.art-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-mask { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 62px; font-weight: 800; color: var(--lime); background: #121116; transition: opacity .45s, transform .45s; opacity: 1; }
.art-wrap:not(.masked) .art-mask { opacity: 0; transform: scale(1.4) rotate(10deg); pointer-events: none; }
.meta { flex: 1; min-width: 0; }
.title { font-family: var(--font-d); font-weight: 800; font-size: 22px; letter-spacing: -.4px; transition: filter .4s; }
.artist { color: var(--muted); font-size: 15px; margin-top: 4px; transition: filter .4s; }
.masked { filter: blur(10px); user-select: none; }

.hint-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.hint-step { font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 8px; background: var(--paper-2); border: 1.5px solid var(--line); color: var(--faint); transition: all .25s; text-transform: uppercase; letter-spacing: .4px; }
.hint-step.on { color: #2a0a06; background: var(--gold); border-color: var(--gold); transform: rotate(-2deg); }
.hint-req { font-size: 12.5px; color: var(--muted); margin-left: auto; }

.seekbar { height: 9px; background: #0e0d10; border-radius: 999px; overflow: hidden; cursor: pointer; margin-top: 14px; border: 1.5px solid var(--line); }
.seek-fill { height: 100%; width: 0; background: var(--lime); transition: width .4s linear; }
.time-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 6px; font-variant-numeric: tabular-nums; font-family: var(--font-d); }
.controls { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 16px; }
.controls .icon { background: var(--paper-2); color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.controls .icon:active { transform: translateY(3px); }
.controls #playPause { width: 70px; height: 70px; font-size: 28px; background: var(--lime); color: #0c0c0e; box-shadow: 0 5px 0 var(--lime-d); }
.controls #playPause:active { transform: translateY(5px); box-shadow: 0 0 0; }
.progress { text-align: center; color: var(--muted); font-size: 13.5px; font-weight: 700; margin-top: 14px; }

/* Timer ring */
.timer-ring { position: relative; width: 46px; height: 46px; }
.timer-ring.low { animation: shake .5s infinite; }
.timer-ring svg { transform: rotate(-90deg); width: 46px; height: 46px; }
.timer-ring circle { fill: none; stroke-width: 4; }
.timer-ring circle.bg { stroke: var(--line); }
.timer-ring circle.fg { stroke: var(--coral); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.timer-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; font-family: var(--font-d); }

/* ---- Vote ---- */
.vote-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.hint-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 14px; }
.hint-card img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.hint-text { flex: 1; min-width: 0; }
.hint-line { font-size: 15px; color: var(--muted); }
.hint-line.big { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 3px; }
.hint-btn { margin-top: 12px; }

.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.vote-grid button { display: flex; align-items: center; gap: 10px; text-align: left; margin: 0; padding: 12px; background: var(--paper-2); color: var(--ink); border: 2px solid var(--line); box-shadow: none; font-weight: 700; font-size: 15px; border-radius: 13px; min-height: 64px; font-family: var(--font); }
.vote-grid button .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.vote-grid button:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--pc); }
.vote-grid button:active { transform: translateY(0); }
.vote-grid button.selected { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 24%, var(--paper-2)); animation: stampSmall .35s both; }
.vote-grid button.selected::after { content: "✓"; margin-left: auto; font-weight: 900; color: var(--pc); font-size: 18px; }
@keyframes stampSmall { 0% { transform: scale(1.08); } 60% { transform: scale(.97); } 100% { transform: scale(1); } }

.pausebtn { margin-top: 12px; }

/* ---- Reveal ---- */
.big-msg { text-align: center; padding: 14px 6px; }
.big-msg .emoji, .emoji { font-size: 64px; line-height: 1; display: inline-block; animation: stamp .55s cubic-bezier(.2, 1.3, .3, 1) both; }
.big-msg .t, .t { font-family: var(--font-d); font-weight: 800; font-size: 25px; margin-top: 10px; letter-spacing: -.4px; text-transform: uppercase; }
.big-msg .s, .s { color: var(--muted); font-size: 15px; margin-top: 8px; }
@keyframes stamp { 0% { transform: scale(2.4) rotate(-14deg); opacity: 0; } 60% { transform: scale(.9) rotate(4deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
.owners-reveal { text-align: center; }
.who { font-family: var(--font-d); font-weight: 800; font-size: 26px; margin-top: 6px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.who .ava { vertical-align: middle; animation: pop .5s both; }
.breakdown { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.breakdown .line { display: flex; align-items: center; gap: 9px; justify-content: space-between; padding: 10px 12px; background: var(--paper-2); border-radius: 11px; border: 1.5px solid var(--line); animation: slamIn .3s both; }
.breakdown .line .who3 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.breakdown .line .g { color: var(--faint); }
.breakdown .tag { font-family: var(--font-d); font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 7px; flex: 0 0 auto; }
.breakdown .tag.ok { color: #0c0c0e; background: var(--lime); }
.breakdown .tag.no { color: #2a0a06; background: var(--coral); }

/* ---- Leaderboard (sans bordure gauche) ---- */
.lb { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.lb .line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 13px; position: relative; overflow: hidden; animation: slamIn .5s cubic-bezier(.2, .9, .2, 1.05) both; }
@keyframes slamIn { 0% { opacity: 0; transform: translateX(-30px) scale(.95); } 70% { transform: translateX(4px) scale(1.01); } 100% { transform: translateX(0) scale(1); } }
.lb .line::before { content: ""; position: absolute; inset: 0; width: var(--bar, 0%); background: color-mix(in srgb, var(--pc) 20%, transparent); z-index: 0; transition: width 1s cubic-bezier(.2, .9, .2, 1); }
.lb .line > * { position: relative; z-index: 1; }
.lb .medal { font-size: 24px; width: 30px; text-align: center; flex: 0 0 auto; }
.lb .rank { font-family: var(--font-d); font-weight: 800; color: var(--faint); width: 30px; text-align: center; display: inline-block; }
.lb .nm { font-weight: 800; font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.lb .pts { font-family: var(--font-d); font-weight: 800; font-size: 21px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.lb .delta { color: var(--lime); font-weight: 800; font-size: 13px; flex: 0 0 auto; font-family: var(--font-d); animation: pop .5s both; }
.lb .quip { font-size: 11px; color: var(--coral); font-style: italic; font-weight: 600; }
.lb .line.me { border-color: var(--lime); }
.lb.podium .line:nth-child(1) { border-color: var(--gold); }
.lb.podium .line:nth-child(1) .medal { animation: floaty 1.4s ease-in-out infinite; }

/* ---- Réactions ---- */
.react-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.react { width: auto; margin: 0; padding: 9px 13px; font-size: 20px; background: var(--paper-2); border: 1.5px solid var(--line); box-shadow: none; border-radius: 11px; }
.react:hover { transform: translateY(-4px) scale(1.12) rotate(-6deg); background: #26242c; }
.react:active { transform: translateY(0); }
#reactions { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.reaction { position: absolute; bottom: 8vh; font-size: 44px; animation: floatUp 2.6s ease-out forwards; }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(0) scale(.5); } 12% { opacity: 1; transform: translateY(-10vh) scale(1.2) rotate(-8deg); } 100% { opacity: 0; transform: translateY(-64vh) scale(1) rotate(14deg); } }

/* ---- Bandeau de pression (dernier votant) ---- */
.pressure { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 120; max-width: 92vw; background: var(--coral); color: #2a0a06; font-weight: 800; font-size: 14.5px; padding: 12px 18px; border-radius: 12px; border: 2px solid #2a0a06; box-shadow: 4px 4px 0 #2a0a06; text-align: center; animation: shake .5s; }
.pressure.show { display: block; }
@keyframes shake { 0%, 100% { transform: translateX(-50%); } 20% { transform: translateX(calc(-50% - 7px)) rotate(-1.5deg); } 40% { transform: translateX(calc(-50% + 7px)) rotate(1.5deg); } 60% { transform: translateX(calc(-50% - 5px)); } 80% { transform: translateX(calc(-50% + 5px)); } }

/* ---- Toast & confetti ---- */
.toast { position: fixed; left: 50%; bottom: 26px; translate: -50% 30px; background: #1a1920; border: 1.5px solid var(--line-2); color: var(--ink); padding: 13px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; z-index: 100; max-width: 86vw; text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* ---- Sortie audio ---- */
.device-sel { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.device-sel option { background: #16151a; color: var(--ink); }

/* ---- Palmarès de fin ---- */
.awards { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.award { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; animation: slamIn .5s both; }
.award.open { border-color: var(--line-2); }
.award-head { display: flex; align-items: center; gap: 12px; padding: 13px; cursor: pointer; }
.award-icon { font-size: 28px; flex: 0 0 auto; }
.award-meta { flex: 1; min-width: 0; }
.award-title { font-family: var(--font-d); font-weight: 800; font-size: 16px; }
.award-desc { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.award-win { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; background: var(--paper); padding: 5px 10px 5px 5px; border-radius: 10px; }
.award-winx { display: flex; flex-direction: column; line-height: 1.15; }
.award-winx b { font-size: 13px; }
.award-winx span { font-size: 11px; color: var(--lime); font-weight: 800; }
.award-chev { color: var(--faint); font-size: 13px; transition: transform .2s; flex: 0 0 auto; }
.award.open .award-chev { transform: rotate(180deg); }
.award-rank { padding: 0 13px 13px; display: flex; flex-direction: column; gap: 7px; }
.arow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--paper); border-radius: 10px; }
.arow.me { box-shadow: inset 0 0 0 1.5px var(--lime); }
.arow .amedal { width: 26px; text-align: center; flex: 0 0 auto; font-size: 18px; }
.arow .arank { width: 26px; text-align: center; flex: 0 0 auto; font-weight: 800; color: var(--faint); font-family: var(--font-d); }
.arow .anm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 14px; }
.arow .aval { flex: 0 0 auto; font-family: var(--font-d); font-weight: 800; font-size: 13px; color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .code-badge { font-size: 42px; }
  .now { gap: 14px; }
  .art-wrap { width: 108px; height: 108px; }
  .vote-grid { grid-template-columns: 1fr; }
  .join-card { justify-content: center; text-align: center; }
  .join-left { text-align: center; }
  .qr-box svg { width: 132px; height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .05ms !important; }
}
