/* Live Quiz – thème (joueur + animateur)
   Couleurs : bandeau #0d6e85 (logo blanc sur fond transparent, img/logo.png), accent #42b9d3, texte #012243.
   Pour votre charte : changez les variables de :root ci-dessous et remplacez img/logo.png. */
:root {
  --teal: #0d6e85;
  --teal-dark: #0a5568;
  --cyan: #42b9d3;
  --cyan-soft: #e3f4f8;
  --navy: #012243;
  --muted: #5d7186;
  --line: #cdd7e2;
  --bg: #f2f6f9;
  --paper: #ffffff;
  --ok: #2e9e6a;
  --bad: #d64550;
  --partial: #e39b2d;
  --gold: #e7b416;
  --silver: #aab4c3;
  --bronze: #c27c4a;
  --c0: #e05a66;
  --c1: #2b8fd6;
  --c2: #ec9f2f;
  --c3: #2aa57a;
  --c4: #8466c4;
  --c5: #0d6b84;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(1, 34, 67, .08);
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--navy); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.num { font-family: Montserrat, "Open Sans", sans-serif; font-variant-numeric: tabular-nums; }

.btn {
  border: 0; border-radius: 6px; padding: .8em 1.4em; font-weight: 700; letter-spacing: .02em;
  background: var(--teal); color: #fff; transition: background .15s, transform .08s;
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.accent { background: var(--cyan); }
.btn.accent:hover { background: #2fa7c2; }
.btn.ghost { background: #e6edf3; color: var(--navy); }
.btn.ghost:hover { background: #d8e2ec; }

.logo { display: block; height: 100%; width: auto; }
.underline { width: 4.2em; height: 4px; background: var(--cyan); border-radius: 2px; }

.letter {
  flex: none; width: 2em; height: 2em; border-radius: 6px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--c);
}
.c0 { --c: var(--c0); } .c1 { --c: var(--c1); } .c2 { --c: var(--c2); }
.c3 { --c: var(--c3); } .c4 { --c: var(--c4); } .c5 { --c: var(--c5); }

/* ================================================================ JOUEUR (téléphone) */
.player { min-height: 100%; display: flex; flex-direction: column; }
.player header.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  height: 60px; padding: 8px 16px; background: var(--teal); color: #fff;
}
.player header.top .logo { height: 40px; }
.player .me { font-weight: 700; font-size: 15px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player main { flex: 1; display: flex; flex-direction: column; padding: 16px; max-width: 640px; width: 100%; margin: 0 auto; }
.screen { flex: 1; display: flex; flex-direction: column; }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.big { font-size: clamp(26px, 7.5vw, 40px); font-weight: 800; line-height: 1.15; }
.sub { font-size: 17px; color: var(--muted); line-height: 1.4; }
.sub b { color: var(--navy); }

.card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.join-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.join-card h1 { margin: 0; font-size: 24px; }
.join-card .underline { margin: 2px 0 4px; }
.join-card p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.rules-card { width: 100%; max-width: 420px; margin-top: 4px; text-align: left; background: var(--paper); border-radius: var(--radius); border-top: 4px solid var(--cyan); padding: 14px 18px 16px; box-shadow: var(--shadow); }
.rules-card h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rules-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rules-card li { font-size: 15px; line-height: 1.4; color: var(--muted); }
.rules-card li b { font-family: Montserrat, sans-serif; font-weight: 800; color: var(--teal); }
.rules-card .ex { display: block; font-size: 13px; font-style: italic; margin-top: 2px; }
.field { width: 100%; padding: 13px 16px; border-radius: 6px; border: 2px solid var(--line); font: inherit; font-size: 20px; font-weight: 700; color: var(--navy); text-align: center; background: #fff; }
.field:focus { outline: none; border-color: var(--cyan); }
.field.pin { letter-spacing: .25em; font-family: Montserrat, "Open Sans", sans-serif; }
.error { color: var(--bad); font-weight: 600; font-size: 15px; min-height: 1.2em; margin: 0; }

.spinner { width: 44px; height: 44px; border-radius: 50%; border: 5px solid var(--cyan-soft); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.count-big { font-family: Montserrat, sans-serif; font-size: 120px; font-weight: 800; line-height: 1; color: var(--teal); animation: pop .9s ease-out infinite; }
@keyframes pop { 0% { transform: scale(1.35); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 100% { transform: scale(.95); opacity: .9; } }

.qhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 700; color: var(--teal); }
.timer { font-family: Montserrat, sans-serif; font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 800; min-width: 2.5em; text-align: right; color: var(--navy); }
.timer.low { color: var(--bad); }
.bar { height: 6px; border-radius: 3px; background: #dbe5ec; overflow: hidden; margin-bottom: 14px; }
.bar > i { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: left; }
.qtext { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.qimg { width: 100%; border-radius: 8px; display: block; margin-bottom: 6px; background: #fff; box-shadow: var(--shadow); }
.zoom-hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; text-align: center; }
.multi-hint { font-size: 14px; color: var(--muted); margin: 0 0 10px; }

.choices { display: flex; flex-direction: column; gap: 10px; padding-bottom: 90px; }
.choice {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: #fff; color: var(--navy); border: 2px solid var(--line); border-radius: 10px; padding: 12px;
  font-size: 16px; line-height: 1.3;
}
.choice .tick { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; }
.choice.sel { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); }
.choice.sel .tick { background: var(--c); border-color: var(--c); }
.choice.sel .tick::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.choice:disabled { cursor: default; }

.submit-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(242, 246, 249, 0), var(--bg) 35%); }
.submit-bar .btn { width: 100%; max-width: 608px; display: block; margin: 0 auto; font-size: 19px; padding: .85em; }
.submit-bar .btn:disabled { opacity: 1; background: #b9c7d3; color: #fff; }
.submit-bar .error { text-align: center; margin-bottom: 8px; }

.verdict { border-radius: var(--radius); padding: 20px 18px; text-align: center; margin-bottom: 14px; color: #fff; }
.verdict.ok { background: var(--ok); }
.verdict.partial { background: var(--partial); }
.verdict.bad { background: var(--bad); }
.verdict.none { background: #8193a5; }
.verdict .big { font-size: 30px; }
.verdict .pts { font-family: Montserrat, sans-serif; font-size: 22px; font-weight: 800; margin-top: 6px; }
.recap { display: flex; flex-direction: column; gap: 8px; }
.recap .row { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 15px; line-height: 1.3; }
.recap .row.good { background: #e8f6ef; border-color: #b9e3cd; }
.recap .mark { margin-left: auto; flex: none; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 20px; background: #e6edf3; color: var(--muted); white-space: nowrap; }
.recap .row.good .mark { background: #cfeedd; color: var(--ok); }
.recap .mark.me-ok { background: var(--ok) !important; color: #fff !important; }
.recap .mark.me-bad { background: var(--bad); color: #fff; }
.standing { display: flex; justify-content: space-around; margin-top: 16px; text-align: center; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.standing b { display: block; font-family: Montserrat, sans-serif; font-size: 28px; color: var(--teal); }
.standing span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.medal { font-size: 92px; line-height: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(1, 34, 67, .94); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 8px; }
.lightbox img { max-width: 100%; max-height: 100%; touch-action: pinch-zoom; }
.net { position: fixed; top: 0; left: 0; right: 0; background: var(--partial); color: #fff; font-weight: 700; text-align: center; padding: 6px; font-size: 14px; z-index: 60; }

/* ================================================================ ANIMATEUR (écran partagé, 16:9) */
.host-body { overflow: hidden; display: grid; place-items: center; background: #dfe7ee; }
.stage {
  position: relative; container-type: size; overflow: hidden; background: var(--bg);
  width: min(100vw, calc(100vh * 16 / 9)); height: min(100vh, calc(100vw * 9 / 16));
}
.stage .view { position: absolute; inset: 0; padding-bottom: 5.6cqw; display: flex; flex-direction: column; }
.stage .view > :not(.h-top):not(.controls) { margin-left: 3cqw; margin-right: 3cqw; }
.h-top {
  flex: none; height: 6cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
  padding: 0 2.4cqw 0 2cqw; margin-bottom: 1.8cqw; background: var(--teal); color: #fff; font-size: 1.5cqw;
}
.h-top .logo { height: 4.5cqw; }
.h-right { display: flex; align-items: center; gap: 1.8cqw; }
.pill { background: rgba(255, 255, 255, .16); color: #fff; border-radius: 99px; padding: .3em 1em; font-weight: 700; }

.controls { position: absolute; right: 1.5cqw; bottom: 1.1cqw; display: flex; gap: .8cqw; align-items: center; z-index: 10; font-size: 1.2cqw; }
.controls .btn { padding: .7em 1.3em; }
.controls .hint { color: var(--muted); font-size: .9em; margin-right: .5em; }

h1.title { font-size: 3.6cqw; margin: 0; line-height: 1.05; }

/* salle d'attente */
.lobby { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3cqw; min-height: 0; }
.lobby-left { display: flex; flex-direction: column; gap: 1.2cqw; min-height: 0; }
.lobby-left .underline { width: 8cqw; height: .45cqw; }
.lobby-left p { font-size: 1.35cqw; margin: 0; color: var(--muted); line-height: 1.45; }
.lobby-cover { width: 100%; border-radius: .8cqw; box-shadow: var(--shadow); min-height: 0; object-fit: cover; flex: 1; }
/* encadré « pour jouer » : texte + QR code en haut, adresse sur toute la largeur, toujours sur une ligne
   (www.liryc-education.fr/quiz ≈ 14,8 em en Montserrat 800 : 2,6cqw → 38,5cqw pour 40,4cqw disponibles) */
.join-box {
  background: var(--teal); color: #fff; border-radius: 1cqw; padding: 1.8cqw 2cqw 1.6cqw;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l1 qr" "url url" "l2 l2"; column-gap: 2cqw; align-items: center;
}
.join-box .lbl { font-size: 1.4cqw; opacity: .85; font-weight: 600; }
.join-box .l1 { grid-area: l1; font-size: 1.6cqw; line-height: 1.3; opacity: .95; }
.join-box .l2 { grid-area: l2; }
.join-box .url { grid-area: url; font-family: Montserrat, sans-serif; font-size: 2.6cqw; font-weight: 800; line-height: 1.15; margin: 1.3cqw 0 .3cqw; white-space: nowrap; }
.join-box .url span { color: var(--cyan); }
.join-box .qr { grid-area: qr; width: 10cqw; height: 10cqw; background: #fff; border-radius: .8cqw; padding: .8cqw; }
.join-box .qr svg { width: 100%; height: 100%; display: block; }
.lobby-right { display: flex; flex-direction: column; gap: 1.3cqw; min-height: 0; }
.lobby.crowd { grid-template-columns: .8fr 1.2fr; }
.lobby.crowd .lobby-cover, .lobby.crowd .lobby-left p { display: none; } /* place pour l'encadré + les règles */
.lobby-left .underline { flex: none; }
.lobby.crowd .join-box { margin-top: auto; }
.lobby.crowd .join-box .url { font-size: 2.1cqw; } /* colonne plus étroite : 31,1cqw pour 32,4cqw */
.lobby.crowd .join-box .l1 { font-size: 1.4cqw; }
.lobby.crowd .join-box .qr { width: 9cqw; height: 9cqw; }
/* règles du jeu : bandeau de 4 cartes sous les deux colonnes */
.lobby { grid-template-rows: minmax(0, 1fr) auto; row-gap: 1.6cqw; }
.lobby .rules { grid-column: 1 / -1; }
.rules-h { font-size: 1.05cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .6cqw; }
.rules-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.rule { background: var(--paper); border: 1px solid var(--line); border-top: .3cqw solid var(--cyan); border-radius: .7cqw; padding: .8cqw 1.1cqw .9cqw; font-size: 1.2cqw; line-height: 1.35; color: var(--muted); }
.rule b { display: block; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.9cqw; line-height: 1.2; color: var(--teal); margin-bottom: .2cqw; }
.count-line { font-size: 1.7cqw; font-weight: 700; display: flex; align-items: baseline; gap: .6em; color: var(--muted); }
.count-line b { font-family: Montserrat, sans-serif; font-size: 3.4cqw; color: var(--teal); }
/* La taille du texte est réduite par le script pour que tous les pseudos tiennent (jusqu'à ~150). */
.chips { display: flex; flex-wrap: wrap; gap: .5em; align-content: flex-start; overflow: hidden; flex: 1; min-height: 0; font-size: 1.3cqw; }
.chip {
  background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 99px; padding: .35em .9em; font-weight: 600; font-size: 1em;
  animation: chipin .35s ease-out both;
}
.chip:hover { background: #fdecee; border-color: var(--bad); text-decoration: line-through; }
@keyframes chipin { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* compte à rebours */
.ready { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw; text-align: center; }
.ready .k { font-size: 1.9cqw; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; }
.ready .qt { font-size: 3cqw; font-weight: 800; max-width: 80%; line-height: 1.2; }
.ready .n { font-family: Montserrat, sans-serif; font-size: 11cqw; font-weight: 800; line-height: 1; color: var(--cyan); }

/* question et correction */
.qwrap { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.6cqw; min-height: 0; }
.qwrap .img { min-height: 0; display: flex; align-items: flex-start; }
.qwrap .img img { width: 100%; max-height: 100%; object-fit: contain; border-radius: .6cqw; background: #fff; box-shadow: 0 .4cqw 1.6cqw rgba(1, 34, 67, .14); }
.qwrap .img .ex-img, .qwrap .img.show-ex .q-img { display: none; }
.qwrap .img.show-ex .ex-img { display: block; }
/* « Masquer le texte » (touche M) : l'image occupe toute la largeur, centrée */
.stage.bigimg .qwrap { grid-template-columns: 1fr; }
.stage.bigimg .htiles { display: none; }
.stage.bigimg .qwrap .img { justify-content: center; }
.stage.bigimg .qwrap .img img { width: auto; max-width: 100%; height: 100%; }
.htiles { display: flex; flex-direction: column; gap: .75cqw; min-height: 0; }
.htiles .q { font-size: 1.5cqw; font-weight: 700; line-height: 1.3; margin-bottom: .3cqw; }
.tile {
  position: relative; display: flex; align-items: center; gap: 1cqw; background: #fff; color: var(--navy);
  border-radius: .6cqw; padding: .75cqw 1cqw; font-size: 1.3cqw; font-weight: 600; line-height: 1.25; overflow: hidden;
  border: 1px solid var(--line); border-left: .55cqw solid var(--c); flex: 1; max-height: 7.2cqw; box-shadow: var(--shadow);
  transition: opacity .3s;
}
.tile .letter { font-size: 1.2cqw; width: 2.3cqw; height: 2.3cqw; border-radius: .4cqw; }
.tile .txt { position: relative; z-index: 1; flex: 1; }
.tile .fill { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--c) 16%, transparent); width: 0; transition: width .8s ease-out; }
.tile .cnt { position: relative; z-index: 1; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.4cqw; min-width: 2.2em; text-align: right; }
.tile .verd { position: relative; z-index: 1; font-size: 1.6cqw; font-weight: 900; width: 1.4em; text-align: center; }
.tile.good { border-color: var(--ok); box-shadow: 0 0 0 .2cqw var(--ok); }
.tile.good .verd { color: var(--ok); }
.tile.wrong { opacity: .5; }
.tile.wrong .verd { color: var(--bad); }
.clock { display: flex; align-items: center; gap: 1.2cqw; }
.ring { width: 4.4cqw; height: 4.4cqw; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: rgba(255, 255, 255, .22); }
.ring .fg { stroke: var(--cyan); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.6cqw; font-variant-numeric: tabular-nums; }
.ring.low .fg { stroke: #ff8a95; }
.ring.low span { color: #ffd0d6; }
.answered { font-size: 1.3cqw; font-weight: 600; text-align: right; line-height: 1.1; opacity: .9; }
.answered b { font-family: Montserrat, sans-serif; font-size: 2.1cqw; display: block; }
.summary { font-size: 1.4cqw; font-weight: 700; margin-top: .4cqw; color: var(--muted); }

/* classement */
.board { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .9cqw; }
.board h2 { font-size: 3cqw; margin: 0; }
.board .underline { width: 6cqw; height: .4cqw; margin-bottom: 1.2cqw; }
.brow {
  width: 62%; display: flex; align-items: center; gap: 1.4cqw; background: #fff; border: 1px solid var(--line); border-radius: .8cqw;
  padding: .9cqw 1.6cqw; font-size: 1.9cqw; font-weight: 700; box-shadow: var(--shadow); animation: slidein .5s ease-out both;
}
.brow .rk { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .8em; flex: none; font-family: Montserrat, sans-serif; }
.brow .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow .gain { font-size: .7em; color: var(--ok); font-weight: 800; }
.brow .sc { font-family: Montserrat, sans-serif; font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; color: var(--teal); }
@keyframes slidein { from { transform: translateX(-6cqw); opacity: 0; } to { transform: none; opacity: 1; } }

/* podium */
.podium-title { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8cqw; }
.podium-title h2 { font-size: 3cqw; margin: 0; }
.podium-title .underline { width: 6cqw; height: .4cqw; }
.podium { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2cqw; padding: 0 8cqw; }
.step { display: flex; flex-direction: column; align-items: center; gap: 1cqw; }
.step .who { font-size: 2.4cqw; font-weight: 800; text-align: center; min-height: 3.2em; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transform: translateY(2cqw) scale(.8); transition: all .6s cubic-bezier(.2, 1.4, .4, 1); }
.step .who small { display: block; font-family: Montserrat, sans-serif; font-size: .6em; color: var(--teal); margin-top: .3em; }
.step.shown .who { opacity: 1; transform: none; }
.step .block { width: 100%; border-radius: .8cqw .8cqw 0 0; display: grid; place-items: start center; padding-top: 1.5cqw; font-family: Montserrat, sans-serif; font-size: 6cqw; font-weight: 800; color: #fff; box-shadow: inset 0 -1cqw 0 rgba(0, 0, 0, .12); }
.step.p1 .block { height: 21cqw; background: linear-gradient(var(--gold), #c99400); }
.step.p2 .block { height: 15cqw; background: linear-gradient(var(--silver), #7d8898); }
.step.p3 .block { height: 10.5cqw; background: linear-gradient(var(--bronze), #96562b); }

/* fin */
.final { flex: 1; display: grid; grid-template-columns: .8fr 1.6fr; gap: 2.5cqw; min-height: 0; }
.final ol { margin: 0; padding: 0; list-style: none; overflow: hidden; min-height: 0; font-size: 1.35cqw; column-gap: 1.6cqw; }
.final li { display: flex; gap: .8em; padding: .35em .6em; border-radius: .4em; break-inside: avoid; }
.final li:nth-child(odd) { background: #fff; }
.final li span:first-child { width: 2em; color: var(--muted); }
.final li span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.final li span:last-child { font-family: Montserrat, sans-serif; color: var(--teal); font-weight: 700; }

/* écrans hors partie */
.host-panel { position: absolute; inset: 0; display: flex; flex-direction: column; }
.host-panel .h-top { height: 64px; font-size: 16px; }
.host-panel .h-top .logo { height: 46px; }
.host-panel .wrap { flex: 1; display: grid; place-items: center; padding: 16px; }
.host-panel .card { width: min(520px, 100%); display: flex; flex-direction: column; gap: 12px; }
.host-panel h1 { margin: 0; font-size: 24px; }
.host-panel p { margin: 0; color: var(--muted); }
.quiz-pick { display: flex; flex-direction: column; gap: 8px; }
.quiz-pick button { text-align: left; padding: 14px 16px; border-radius: 8px; border: 2px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; }
.quiz-pick button:hover { border-color: var(--cyan); }
.quiz-pick small { display: block; color: var(--muted); font-weight: 500; }

canvas.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }
body > canvas.confetti { position: fixed; }
