/* Quiz infernal Animateur — écran de la salle (show.js).
   Scène fixe de 1920 × 1080 px, mise à l'échelle de son cadre : tout est en px « de scène ».
   Les couleurs et polices viennent du thème (variables posées par show.js sur .qs). */

.qs-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.qs-frame.is-preview { border-radius: 10px; background: transparent; }
.qs-fit { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 0 0; }

.qs {
	--fs: 1;
	--pad: 96px;
	position: absolute; inset: 0; overflow: hidden;
	color: var(--c-text); background: var(--c-bg);
	font-family: var(--f-body), "Atkinson Hyperlegible", system-ui, sans-serif;
	font-size: calc(40px * var(--fs)); line-height: 1.25;
	-webkit-font-smoothing: antialiased;
	container-type: size;
}
.qs * { box-sizing: border-box; }
.qs-bg { position: absolute; inset: 0; background: var(--c-bg); }
.qs.bg-gradient .qs-bg { background: radial-gradient(1400px 900px at 50% -10%, var(--c-bg2), transparent 70%), radial-gradient(900px 700px at 105% 110%, color-mix(in srgb, var(--c-accent2) 22%, transparent), transparent 70%), var(--c-bg); }
.qs.bg-image .qs-bg { background-size: cover; background-position: center; }
.qs-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, 0)); }
.qs-pattern { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.pat-dots .qs-pattern { background-image: radial-gradient(color-mix(in srgb, var(--c-text) 14%, transparent) 2.5px, transparent 3px); background-size: 44px 44px; }
.pat-grid .qs-pattern { background-image: linear-gradient(color-mix(in srgb, var(--c-accent) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-accent) 16%, transparent) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to top, #000 0%, transparent 75%); }
.pat-stripes .qs-pattern { background-image: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--c-text) 5%, transparent) 0 26px, transparent 26px 52px); }
.pat-stars .qs-pattern { background-image: radial-gradient(2px 2px at 120px 90px, #fff, transparent), radial-gradient(2px 2px at 640px 220px, #fff, transparent), radial-gradient(3px 3px at 1500px 140px, #fff, transparent), radial-gradient(2px 2px at 1100px 700px, #fff, transparent), radial-gradient(2px 2px at 300px 860px, #fff, transparent), radial-gradient(3px 3px at 1780px 900px, #fff, transparent), radial-gradient(2px 2px at 900px 400px, #fff, transparent), radial-gradient(2px 2px at 1650px 520px, #fff, transparent); opacity: .55; }
.pat-waves .qs-pattern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60'%3E%3Cpath d='M0 30 Q60 0 120 30 T240 30' fill='none' stroke='white' stroke-opacity='.10' stroke-width='3'/%3E%3C/svg%3E"); background-size: 240px 60px; }
.pat-chalk .qs-pattern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 1; }
.pat-wood .qs-pattern { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 3px, transparent 3px 11px, rgba(0, 0, 0, .06) 11px 13px, transparent 13px 29px); opacity: 1; }
.pat-confetti .qs-pattern { background-image: radial-gradient(circle at 20% 30%, var(--c-accent) 0 6px, transparent 7px), radial-gradient(circle at 70% 60%, var(--c-accent2) 0 5px, transparent 6px), radial-gradient(circle at 45% 85%, var(--c-good) 0 4px, transparent 5px), radial-gradient(circle at 85% 15%, var(--c-text) 0 3px, transparent 4px); background-size: 260px 220px; opacity: .45; }
.pat-checker .qs-pattern { background-image: conic-gradient(color-mix(in srgb, var(--c-text) 6%, transparent) 25%, transparent 0 50%, color-mix(in srgb, var(--c-text) 6%, transparent) 0 75%, transparent 0); background-size: 96px 96px; opacity: 1; }
.pat-halftone .qs-pattern { background-image: radial-gradient(color-mix(in srgb, var(--c-text) 18%, transparent) 30%, transparent 32%); background-size: 22px 22px; mask-image: linear-gradient(135deg, #000, transparent 60%); opacity: 1; }
.pat-sunburst .qs-pattern { background-image: repeating-conic-gradient(from 0deg at 50% 50%, color-mix(in srgb, var(--c-accent) 9%, transparent) 0 6deg, transparent 6deg 12deg); opacity: 1; }
.pat-scanlines .qs-pattern { background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 5px); opacity: 1; }

/* Filtres de l'animateur : mode sombre / clair forcé. */
.qs.mode-dark { --c-bg: #050505 !important; --c-bg2: #111 !important; --c-surface: #151515 !important; --c-text: #fff !important; --c-muted: #c9c9c9 !important; }
.qs.mode-light { --c-bg: #ffffff !important; --c-bg2: #f1f1f1 !important; --c-surface: #f4f4f4 !important; --c-text: #0b0b0b !important; --c-muted: #3f3f3f !important; }
.qs.mode-dark .qs-pattern, .qs.mode-light .qs-pattern { display: none; }
.qs.mode-light .qs-bg::after, .qs.mode-dark .qs-bg::after { display: none; }

.qs-body { position: absolute; inset: 0; padding: var(--pad) calc(var(--pad) + 16px); display: flex; flex-direction: column; }
.qs-view { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; }
.layout-center .qs-view { align-items: center; text-align: center; }
.layout-left .qs-view { align-items: flex-start; text-align: left; }
.layout-card .qs-view { align-items: center; text-align: center; }
.layout-card .qs-card { background: color-mix(in srgb, var(--c-surface) 88%, transparent); border-radius: var(--r); padding: 64px 80px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); width: 100%; max-width: 1640px; display: flex; flex-direction: column; align-items: center; }
.qs-card { display: contents; }
.layout-card .qs-card { display: flex; }
.layout-left .qs-card { align-items: flex-start; }

.qs-title { font-family: var(--f-title), var(--f-body), sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.qs.upper .qs-title { text-transform: uppercase; }
.qs.glow .qs-title, .qs.glow .qs-kicker { text-shadow: 0 0 18px color-mix(in srgb, var(--c-accent) 70%, transparent), 0 0 42px color-mix(in srgb, var(--c-accent2) 45%, transparent); }
.qs-kicker { font-family: var(--f-title), sans-serif; color: var(--c-accent); font-size: calc(36px * var(--fs)); letter-spacing: .04em; margin-bottom: 22px; display: flex; gap: 22px; align-items: center; }
.qs.upper .qs-kicker { text-transform: uppercase; }
.layout-left .qs-kicker::before { content: ""; width: 72px; height: 8px; border-radius: 4px; background: var(--c-accent2); }
.qs-sub { color: var(--c-muted); font-size: calc(44px * var(--fs)); margin-top: 26px; text-wrap: balance; }
.qs-muted { color: var(--c-muted); }

/* Grands titres : carte de ronde, attente, fin. */
.qs-hero { font-size: calc(170px * var(--fs)); }
.qs-hero-s { font-size: calc(110px * var(--fs)); }
.qs-round-num { font-family: var(--f-title), sans-serif; font-size: calc(64px * var(--fs)); color: var(--c-accent); letter-spacing: .06em; margin-bottom: 18px; }
.qs.upper .qs-round-num { text-transform: uppercase; }
.qs-meta { display: flex; gap: 28px; margin-top: 44px; color: var(--c-muted); font-size: calc(36px * var(--fs)); flex-wrap: wrap; justify-content: inherit; }
.qs-meta span { border: 2px solid color-mix(in srgb, var(--c-text) 22%, transparent); padding: 10px 26px; border-radius: 999px; }

/* Question. */
.qs-q { font-family: var(--f-body), sans-serif; font-weight: 700; margin: 0; line-height: 1.18; text-wrap: balance; max-width: 1640px; }
.qs-q.s-xl { font-size: calc(92px * var(--fs)); }
.qs-q.s-l { font-size: calc(76px * var(--fs)); }
.qs-q.s-m { font-size: calc(62px * var(--fs)); }
.qs-q.s-s { font-size: calc(50px * var(--fs)); }
.qs-q strong { color: var(--c-accent); }
.qs-q-row { display: flex; gap: 60px; width: 100%; align-items: center; flex: 1; min-height: 0; }
.qs-q-row > .qs-q-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: inherit; }
.layout-center .qs-q-row > .qs-q-main, .layout-card .qs-q-row > .qs-q-main { align-items: center; }
.qs-q-row.has-side > .qs-q-main { align-items: flex-start; text-align: left; }
.qs-side { flex: 0 0 auto; width: 40%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.qs-side img, .qs-side video { max-width: 100%; max-height: 640px; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); background: #fff1; }
.qs-side img.blur-1 { filter: blur(10px); }
.qs-side img.blur-2 { filter: blur(22px); }
.qs-side img.blur-3 { filter: blur(40px); }
.qs-side img { transition: filter .8s ease; }
.qs-hidden-img { width: 100%; max-width: 560px; aspect-ratio: 4 / 3; border-radius: var(--r); border: 4px dashed color-mix(in srgb, var(--c-text) 30%, transparent); display: grid; place-items: center; color: var(--c-muted); font-size: calc(120px * var(--fs)); }

.qs-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 56px; width: 100%; max-width: 1640px; text-align: left; }
.qs-choices.one-col { grid-template-columns: minmax(0, 1fr); max-width: 1200px; }
.qs-choice { display: flex; align-items: center; gap: 28px; background: color-mix(in srgb, var(--c-surface) 92%, transparent); border: 3px solid color-mix(in srgb, var(--c-text) 12%, transparent); border-radius: var(--r); padding: 22px 34px; min-height: 120px; font-size: calc(48px * var(--fs)); font-weight: 700; transition: opacity .5s, transform .5s, background .5s, border-color .5s; }
.qs-choice.s-s { font-size: calc(38px * var(--fs)); }
.qs-letter { flex: none; width: 76px; height: 76px; border-radius: calc(var(--r) * .6); display: grid; place-items: center; background: var(--c-accent); color: var(--c-bg); font-family: var(--f-title), sans-serif; font-size: calc(44px * var(--fs)); }
.qs-choice.is-right { border-color: var(--c-good); background: color-mix(in srgb, var(--c-good) 26%, var(--c-surface)); transform: scale(1.03); }
.qs-choice.is-right .qs-letter { background: var(--c-good); }
.qs-choice.is-wrong { opacity: .32; }
.qs-parts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; justify-content: inherit; }
.qs-part { border: 3px solid color-mix(in srgb, var(--c-accent) 60%, transparent); color: var(--c-accent); padding: 12px 30px; border-radius: 999px; font-size: calc(38px * var(--fs)); font-weight: 700; }
.qs-hint { margin-top: 40px; color: var(--c-muted); font-size: calc(40px * var(--fs)); }

/* Réponse. */
.qs-answer { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; align-items: inherit; }
.qs-answer-main { font-family: var(--f-title), var(--f-body), sans-serif; font-size: calc(96px * var(--fs)); color: var(--c-good); line-height: 1.05; text-wrap: balance; }
.qs.glow .qs-answer-main { text-shadow: 0 0 24px color-mix(in srgb, var(--c-good) 60%, transparent); }
.qs-answer-row { display: flex; gap: 22px; align-items: baseline; font-size: calc(58px * var(--fs)); flex-wrap: wrap; justify-content: inherit; }
.qs-answer-row .lbl { color: var(--c-muted); font-size: calc(40px * var(--fs)); }
.qs-answer-row .val { font-weight: 700; color: var(--c-good); }
.qs-list { columns: 2; column-gap: 80px; margin: 30px 0 0; padding: 0; list-style: none; font-size: calc(48px * var(--fs)); text-align: left; }
.qs-list li { break-inside: avoid; padding: 6px 0; font-weight: 700; color: var(--c-good); }
.qs-list li span { color: var(--c-muted); font-weight: 400; margin-right: 18px; }
.qs-explain { margin-top: 30px; color: var(--c-muted); font-size: calc(38px * var(--fs)); max-width: 1500px; text-wrap: pretty; }

/* Média. */
.qs-media { position: relative; width: 980px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); flex: none; }
.qs-media.small { width: 820px; }
.qs-media iframe, .qs-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qs-cover { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c-accent2) 35%, var(--c-surface)), var(--c-surface)); color: var(--c-text); z-index: 2; transition: opacity .6s; }
.qs-cover.off { opacity: 0; pointer-events: none; }
.qs-cover-in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.qs-eq { display: flex; gap: 12px; height: 150px; align-items: flex-end; }
.qs-eq i { width: 26px; background: var(--c-accent); border-radius: 8px; height: 30%; }
.qs-cover.playing .qs-eq i { animation: qs-eq 1s ease-in-out infinite; }
.qs-eq i:nth-child(2) { animation-delay: -.3s !important; }
.qs-eq i:nth-child(3) { animation-delay: -.6s !important; }
.qs-eq i:nth-child(4) { animation-delay: -.15s !important; }
.qs-eq i:nth-child(5) { animation-delay: -.45s !important; }
@keyframes qs-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.qs-cover-t { font-family: var(--f-title), sans-serif; font-size: calc(54px * var(--fs)); }
.qs-plays { font-size: calc(32px * var(--fs)); color: var(--c-muted); }
.qs-audio-only { width: 860px; aspect-ratio: auto; height: 380px; }

/* Blocs d'écran (attente, pause, fin). */
.qs-blocks { display: flex; flex-direction: column; gap: 36px; width: 100%; align-items: center; }
.qs-block { width: 100%; }
.qs-block.al-left { text-align: left; }
.qs-block.al-center { text-align: center; }
.qs-block.al-right { text-align: right; }
.qs-block.t-title.sz-s { font-size: calc(64px * var(--fs)); }
.qs-block.t-title.sz-m { font-size: calc(96px * var(--fs)); }
.qs-block.t-title.sz-l { font-size: calc(130px * var(--fs)); }
.qs-block.t-title.sz-xl { font-size: calc(170px * var(--fs)); }
.qs-block.t-text { white-space: pre-line; text-wrap: balance; }
.qs-block.t-text.sz-s { font-size: calc(34px * var(--fs)); }
.qs-block.t-text.sz-m { font-size: calc(46px * var(--fs)); }
.qs-block.t-text.sz-l { font-size: calc(62px * var(--fs)); }
.qs-block.t-text.sz-xl { font-size: calc(80px * var(--fs)); }
.qs-block.c-accent { color: var(--c-accent); }
.qs-block.c-accent2 { color: var(--c-accent2); }
.qs-block.c-muted { color: var(--c-muted); }
.qs-block.t-image img { max-width: 100%; border-radius: var(--r); }
.qs-block.t-image.sz-s img { max-height: 200px; }
.qs-block.t-image.sz-m img { max-height: 340px; }
.qs-block.t-image.sz-l img { max-height: 520px; }
.qs-block.t-image.sz-xl img { max-height: 760px; }
.qs-logos { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; justify-content: center; }
.qs-block.al-left .qs-logos { justify-content: flex-start; }
.qs-block.al-right .qs-logos { justify-content: flex-end; }
.qs-logos img { object-fit: contain; }
.qs-block.sz-s .qs-logos img { height: 90px; max-width: 260px; }
.qs-block.sz-m .qs-logos img { height: 140px; max-width: 360px; }
.qs-block.sz-l .qs-logos img { height: 200px; max-width: 480px; }
.qs-block.sz-xl .qs-logos img { height: 280px; max-width: 620px; }
.qs-logos-t { color: var(--c-muted); font-size: calc(30px * var(--fs)); margin-bottom: 18px; letter-spacing: .08em; text-transform: uppercase; }
.qs-count { font-family: var(--f-title), sans-serif; font-variant-numeric: tabular-nums; color: var(--c-accent); }
.qs-block.t-countdown.sz-s .qs-count, .qs-block.t-clock.sz-s .qs-count { font-size: calc(70px * var(--fs)); }
.qs-block.t-countdown.sz-m .qs-count, .qs-block.t-clock.sz-m .qs-count { font-size: calc(120px * var(--fs)); }
.qs-block.t-countdown.sz-l .qs-count, .qs-block.t-clock.sz-l .qs-count { font-size: calc(180px * var(--fs)); }
.qs-block.t-countdown.sz-xl .qs-count, .qs-block.t-clock.sz-xl .qs-count { font-size: calc(240px * var(--fs)); }
.qs-block .qs-count-l { color: var(--c-muted); font-size: calc(36px * var(--fs)); margin-top: 6px; }
.qs-block.t-qr .qs-qr { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
.qs-block.t-qr .qs-qr svg { background: #fff; padding: 18px; border-radius: 16px; display: block; }
.qs-block.t-qr.sz-s .qs-qr svg { width: 220px; height: 220px; }
.qs-block.t-qr.sz-m .qs-qr svg { width: 320px; height: 320px; }
.qs-block.t-qr.sz-l .qs-qr svg { width: 440px; height: 440px; }
.qs-block.t-qr.sz-xl .qs-qr svg { width: 560px; height: 560px; }
.qs-block.t-spacer.sz-s { height: 20px; }
.qs-block.t-spacer.sz-m { height: 60px; }
.qs-block.t-spacer.sz-l { height: 120px; }
.qs-block.t-spacer.sz-xl { height: 200px; }

/* Question des arrivés tôt (écran d'attente). */
.qs-early { margin-top: 30px; border: 3px dashed color-mix(in srgb, var(--c-accent) 60%, transparent); border-radius: var(--r); padding: 28px 44px; max-width: 1500px; text-align: left; }
.qs-early-k { color: var(--c-accent); font-family: var(--f-title), sans-serif; font-size: calc(32px * var(--fs)); margin-bottom: 10px; }
.qs-early-q { font-size: calc(48px * var(--fs)); font-weight: 700; }
.qs-early .qs-choices { margin-top: 24px; gap: 16px; }
.qs-early .qs-choice { min-height: 0; padding: 12px 24px; font-size: calc(34px * var(--fs)); }
.qs-early .qs-letter { width: 54px; height: 54px; font-size: calc(30px * var(--fs)); }

/* Classement. */
.qs-board { width: 100%; max-width: 1500px; display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.qs-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; background: color-mix(in srgb, var(--c-surface) 90%, transparent); border-radius: var(--r); padding: 16px 34px; font-size: calc(46px * var(--fs)); animation: qs-in .5s both; }
.qs-row .rk { font-family: var(--f-title), sans-serif; color: var(--c-accent); font-variant-numeric: tabular-nums; }
.qs-row .nm { font-weight: 700; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-row .pt { font-family: var(--f-title), sans-serif; font-variant-numeric: tabular-nums; }
.qs-row.r1 { border: 3px solid var(--c-accent); }
.qs-board.dense .qs-row { padding: 8px 28px; font-size: calc(34px * var(--fs)); }
.qs-board.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; max-width: 1760px; }
.qs-podium { display: flex; align-items: flex-end; gap: 40px; margin-top: 50px; }
.qs-pod { width: 420px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.qs-pod .nm { font-weight: 700; font-size: calc(50px * var(--fs)); text-align: center; text-wrap: balance; }
.qs-pod .blk { width: 100%; border-radius: var(--r) var(--r) 0 0; background: color-mix(in srgb, var(--c-accent) 85%, transparent); color: var(--c-bg); display: grid; place-items: center; font-family: var(--f-title), sans-serif; font-size: calc(90px * var(--fs)); }
.qs-pod.p1 .blk { height: 380px; }
.qs-pod.p2 .blk { height: 280px; background: color-mix(in srgb, var(--c-text) 70%, transparent); }
.qs-pod.p3 .blk { height: 200px; background: color-mix(in srgb, var(--c-accent2) 80%, transparent); }
.qs-pod .pt { color: var(--c-muted); font-size: calc(38px * var(--fs)); }

/* Superpositions. */
.qs-overlay { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--pad); background: color-mix(in srgb, var(--c-bg) 94%, transparent); backdrop-filter: blur(8px); text-align: center; animation: qs-fade .35s both; }
.qs-black { position: absolute; inset: 0; z-index: 40; background: #000; animation: qs-fade .3s both; }
.qs-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; z-index: 12; background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.qs-timer i { display: block; height: 100%; background: var(--c-accent); transition: width .25s linear; }
.qs-timer.low i { background: var(--c-accent2); }
.qs-timer-n { position: absolute; right: calc(var(--pad) - 20px); top: 44px; z-index: 12; font-family: var(--f-title), sans-serif; font-size: calc(76px * var(--fs)); font-variant-numeric: tabular-nums; color: var(--c-accent); background: color-mix(in srgb, var(--c-surface) 85%, transparent); border-radius: 999px; min-width: 150px; padding: 8px 30px; text-align: center; }
.qs-timer-n.low { color: var(--c-accent2); animation: qs-pulse 1s infinite; }
.qs-collect-n { font-family: var(--f-title), sans-serif; font-size: calc(220px * var(--fs)); color: var(--c-accent); font-variant-numeric: tabular-nums; margin-top: 30px; }

/* Bandeaux permanents. */
.qs-top { position: absolute; left: var(--pad); right: var(--pad); top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 30px; z-index: 5; pointer-events: none; }
.qs-topic { background: color-mix(in srgb, var(--c-surface) 85%, transparent); border: 2px solid color-mix(in srgb, var(--c-accent) 55%, transparent); border-radius: 999px; padding: 8px 26px; font-size: calc(30px * var(--fs)); margin-left: auto; }
.qs-topic b { color: var(--c-accent); }
.qs-logo-top { height: 88px; max-width: 280px; object-fit: contain; }
.qs-brand { position: absolute; right: 28px; bottom: 26px; z-index: 30; display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--c-text); opacity: .72; pointer-events: none; font-family: "Atkinson Hyperlegible", system-ui, sans-serif; letter-spacing: .02em; }
.qs-brand img { width: 34px; height: 34px; }
.qs-venue-logo { position: absolute; left: 28px; bottom: 22px; z-index: 6; height: 70px; max-width: 240px; object-fit: contain; opacity: .9; pointer-events: none; }

/* Transitions. */
.qs-view.tr-fade { animation: qs-fade .45s both; }
.qs-view.tr-slide { animation: qs-slide .5s cubic-bezier(.2, .8, .2, 1) both; }
.qs-view.tr-zoom { animation: qs-zoom .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes qs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qs-slide { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes qs-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes qs-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes qs-pulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .qs-view, .qs-row, .qs-overlay { animation: none !important; } }

/* Aperçu (éditeur, console) : jamais d'animation. */
.is-preview .qs-view, .is-preview .qs-row, .is-preview .qs-overlay { animation: none !important; }

/* Texte d'un choix : il passe à la ligne dans sa case, jamais sous l'image voisine. */
.qs-choice > span:last-child { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.qs-q-row.has-side .qs-choices { gap: 18px; }
.qs-q-row.has-side .qs-choice { min-height: 96px; padding: 16px 26px; }
