/*
 * Theme „Weihnachten“, Heiligabend-Gala: Festtafeln der Leinwand (Spec docs/superpowers/specs/2026-11-07-weihnachten-gala-design.md, G2/G4/G5).
 * Alles gilt nur unter `[data-pq-theme="christmas"]`; „Ohne“ und die anderen Themes bleiben unberührt. Rundenkarte, Wertung, Podest, Geo,
 * Glücksrad, Sortier-Zeilen und Endstand stehen in theme-christmas-cards.css, das Handy in theme-christmas-phone.css.
 *
 * Grundsatz: Was gelesen wird, steht auf einer eigenen, deckenden Tafel (Tannengrün-Nacht mit Samtglanz, Goldrahmen); die Kulisse kann so
 * hell (Dämmerung, Nachtstufe 0) oder dunkel (Kerzenschein, Stufe 5) sein, wie sie will – der Kontrast hängt nur an der Tafel.
 * Kontraste (WCAG): Creme #fff6e3 auf Tannengrün #12261c 14,9 : 1, gedämpft #e8dcc2 12,3 : 1, Goldziffern #f3d98b 12,1 : 1;
 * Creme auf Samtrot #7a1424 11,0 : 1; dunkle Schrift #2a1804 auf Gold #d9b25a 8,6 : 1 (hellster Halt #f3d98b 12,6 : 1, dunkelster #b98d3a 5,6 : 1).
 * Bewegung nur mit transform/opacity, einmalig oder ≤ 3/s, still bei reduzierter Bewegung, hohem Kontrast und „Animationen aus“
 * (`.pq-figures-still` am Wurzelelement).
 */

.view-stage[data-pq-theme="christmas"] {
  --xg-pine: #12261c;
  --xg-pine-hi: #1b3a29;
  --xg-pine-lo: #0c1a13;
  --xg-velvet: #7a1424;
  --xg-velvet-hi: #a3203a;
  --xg-velvet-lo: #4e0a16;
  --xg-gold: #d9b25a;
  --xg-gold-hi: #f3d98b;
  --xg-gold-lo: #a37a2c;
  --xg-cream: #fff6e3;
  --xg-cream-dim: #e8dcc2;
  --xg-ink-on-gold: #2a1804;
  --xg-panel-bg:
    radial-gradient(ellipse 120% 90% at 50% -25%, rgb(255 236 190 / 0.14), transparent 62%),
    linear-gradient(to bottom, var(--xg-pine-hi), var(--xg-pine) 55%, var(--xg-pine-lo));
  --xg-velvet-bg:
    linear-gradient(to bottom, rgb(255 255 255 / 0.16), transparent 45%, rgb(0 0 0 / 0.22)),
    repeating-linear-gradient(100deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 6px),
    var(--xg-velvet);
  --xg-gold-bg: linear-gradient(to bottom, var(--xg-gold-hi), var(--xg-gold) 52%, #c49a45);
  --xg-sprig: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'><path d='M2 4 L128 64' stroke='%234a2f17' stroke-width='3' stroke-linecap='round'/><path d='M12.1 8.8 L14.0 24.8' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M12.1 8.8 L25.7 0.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M17.1 11.2 L19.0 26.8' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M17.1 11.2 L30.4 2.8' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M22.2 13.6 L24.0 28.9' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M22.2 13.6 L35.2 5.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M27.2 16.0 L29.0 30.9' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M27.2 16.0 L39.9 8.0' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M32.2 18.4 L34.0 32.9' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M32.2 18.4 L44.6 10.6' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M37.3 20.8 L39.0 35.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M37.3 20.8 L49.3 13.2' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M42.3 23.2 L44.0 37.0' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M42.3 23.2 L54.1 15.8' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M47.4 25.6 L49.0 39.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M47.4 25.6 L58.8 18.4' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M52.4 28.0 L54.0 41.1' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M52.4 28.0 L63.5 21.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M57.4 30.4 L59.0 43.1' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M57.4 30.4 L68.2 23.6' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M62.5 32.8 L64.0 45.1' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M62.5 32.8 L73.0 26.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M67.5 35.2 L68.9 47.1' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M67.5 35.2 L77.7 28.8' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M72.6 37.6 L73.9 49.2' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M72.6 37.6 L82.4 31.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M77.6 40.0 L78.9 51.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M77.6 40.0 L87.1 34.0' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M82.6 42.4 L83.9 53.2' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M82.6 42.4 L91.9 36.6' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M87.7 44.8 L88.9 55.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M87.7 44.8 L96.6 39.2' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M92.7 47.2 L93.9 57.3' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M92.7 47.2 L101.3 41.8' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M97.8 49.6 L98.9 59.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M97.8 49.6 L106.1 44.4' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M102.8 52.0 L103.9 61.4' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M102.8 52.0 L110.8 47.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M107.8 54.4 L108.9 63.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M107.8 54.4 L115.5 49.6' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M112.9 56.8 L113.9 65.4' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M112.9 56.8 L120.2 52.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M117.9 59.2 L118.9 67.5' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M117.9 59.2 L125.0 54.8' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M123.0 61.6 L123.9 69.5' stroke='%231f5a32' stroke-width='2.6' stroke-linecap='round'/><path d='M123.0 61.6 L129.7 57.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M2 4 L64 96' stroke='%234a2f17' stroke-width='3' stroke-linecap='round'/><path d='M8.2 13.2 L1.8 27.8' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M8.2 13.2 L24.1 12.7' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M11.3 17.8 L5.1 32.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M11.3 17.8 L26.8 17.3' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M14.4 22.4 L8.4 36.1' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M14.4 22.4 L29.4 22.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M17.5 27.0 L11.6 40.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M17.5 27.0 L32.0 26.6' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M20.6 31.6 L14.9 44.5' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M20.6 31.6 L34.7 31.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M23.7 36.2 L18.2 48.7' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M23.7 36.2 L37.3 35.8' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M26.8 40.8 L21.5 52.8' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M26.8 40.8 L39.9 40.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M29.9 45.4 L24.8 57.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M29.9 45.4 L42.6 45.0' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M33.0 50.0 L28.1 61.2' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M33.0 50.0 L45.2 49.6' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M36.1 54.6 L31.4 65.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M36.1 54.6 L47.9 54.3' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M39.2 59.2 L34.7 69.5' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M39.2 59.2 L50.5 58.9' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M42.3 63.8 L37.9 73.7' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M42.3 63.8 L53.1 63.5' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M45.4 68.4 L41.2 77.9' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M45.4 68.4 L55.8 68.1' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M48.5 73.0 L44.5 82.1' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M48.5 73.0 L58.4 72.7' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M51.6 77.6 L47.8 86.2' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M51.6 77.6 L61.0 77.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M54.7 82.2 L51.1 90.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M54.7 82.2 L63.7 81.9' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M57.8 86.8 L54.4 94.6' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M57.8 86.8 L66.3 86.5' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M60.9 91.4 L57.7 98.8' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M60.9 91.4 L68.9 91.2' stroke='%2324683a' stroke-width='2.6' stroke-linecap='round'/><path d='M2 4 L96 22' stroke='%234a2f17' stroke-width='3' stroke-linecap='round'/><path d='M13.1 6.1 L18.8 20.8' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M13.1 6.1 L23.8 -5.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M18.6 7.2 L24.1 21.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M18.6 7.2 L29.0 -3.9' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M24.1 8.2 L29.5 21.9' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M24.1 8.2 L34.1 -2.5' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M29.6 9.3 L34.8 22.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M29.6 9.3 L39.3 -1.0' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M35.2 10.4 L40.1 23.0' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M35.2 10.4 L44.5 0.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M40.7 11.4 L45.5 23.5' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M40.7 11.4 L49.6 1.9' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M46.2 12.5 L50.8 24.1' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M46.2 12.5 L54.8 3.4' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M51.8 13.5 L56.1 24.6' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M51.8 13.5 L59.9 4.8' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M57.3 14.6 L61.5 25.2' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M57.3 14.6 L65.1 6.3' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M62.8 15.6 L66.8 25.8' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M62.8 15.6 L70.2 7.7' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M68.4 16.7 L72.1 26.3' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M68.4 16.7 L75.4 9.2' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M73.9 17.8 L77.5 26.9' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M73.9 17.8 L80.6 10.6' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M79.4 18.8 L82.8 27.4' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M79.4 18.8 L85.7 12.1' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M84.9 19.9 L88.1 28.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><path d='M84.9 19.9 L90.9 13.5' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M90.5 20.9 L93.4 28.5' stroke='%232b7442' stroke-width='2.6' stroke-linecap='round'/><path d='M90.5 20.9 L96.0 15.0' stroke='%233f9156' stroke-width='2.6' stroke-linecap='round'/><circle cx='26' cy='30' r='7.5' fill='%23c8102e' stroke='%236e0716' stroke-width='1.6'/><circle cx='23.4' cy='27.1' r='2.2' fill='%23fff' fill-opacity='.85'/><circle cx='39' cy='25' r='6.5' fill='%23c8102e' stroke='%236e0716' stroke-width='1.6'/><circle cx='36.7' cy='22.5' r='1.9' fill='%23fff' fill-opacity='.85'/><circle cx='33' cy='41' r='6.5' fill='%23c8102e' stroke='%236e0716' stroke-width='1.6'/><circle cx='30.7' cy='38.5' r='1.9' fill='%23fff' fill-opacity='.85'/><circle cx='15' cy='15' r='6' fill='%23f3d98b' stroke='%239a7428' stroke-width='1.5'/><circle cx='13' cy='12.5' r='1.8' fill='%23fff'/></svg>");
  --xg-bow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'><defs><linearGradient id='v' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23c42a3f'/><stop offset='.55' stop-color='%238e1428'/><stop offset='1' stop-color='%235e0a1a'/></linearGradient></defs><path d='M54 40 L30 78 L40 76 L46 79 L58 44Z' fill='url(%23v)' stroke='%23e6c26a' stroke-width='2'/><path d='M66 40 L90 78 L80 76 L74 79 L62 44Z' fill='url(%23v)' stroke='%23e6c26a' stroke-width='2'/><path d='M60 40 C40 10 6 6 8 28 C10 48 40 50 60 40Z' fill='url(%23v)' stroke='%23e6c26a' stroke-width='2.4'/><path d='M60 40 C80 10 114 6 112 28 C110 48 80 50 60 40Z' fill='url(%23v)' stroke='%23e6c26a' stroke-width='2.4'/><path d='M22 22 C30 18 42 24 50 34' stroke='%23ff8597' stroke-opacity='.55' stroke-width='3' fill='none' stroke-linecap='round'/><path d='M98 22 C90 18 78 24 70 34' stroke='%23ff8597' stroke-opacity='.55' stroke-width='3' fill='none' stroke-linecap='round'/><rect x='51' y='30' width='18' height='20' rx='6' fill='%23a3182e' stroke='%23e6c26a' stroke-width='2.4'/><path d='M55 35 h8' stroke='%23ff8597' stroke-opacity='.6' stroke-width='2.4' stroke-linecap='round'/></svg>");
  --xg-mug: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110'><path d='M22 44 h50 v40 a14 14 0 0 1 -14 14 h-22 a14 14 0 0 1 -14 -14Z' fill='%239c1f33' stroke='%23f3d98b' stroke-width='3'/><path d='M72 54 h6 a10 10 0 0 1 0 20 h-6' fill='none' stroke='%23f3d98b' stroke-width='5'/><path d='M22 56 h50' stroke='%23f3d98b' stroke-width='2' stroke-dasharray='4 5'/><circle cx='35' cy='74' r='3.4' fill='%23fff6e3'/><circle cx='47' cy='80' r='3.4' fill='%23fff6e3'/><circle cx='59' cy='72' r='3.4' fill='%23fff6e3'/><path d='M28 48 h40' stroke='%23ffd0d6' stroke-opacity='.5' stroke-width='3' stroke-linecap='round'/><path d='M60 46 l10 -22' stroke='%23c9a24a' stroke-width='4' stroke-linecap='round'/><circle cx='71' cy='22' r='5' fill='%23e2843a' stroke='%238a4a18' stroke-width='1.5'/></svg>");
  --xg-star: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><path d='M20 2 L24.5 15 L38 15.5 L27.3 23.8 L31.2 37 L20 29 L8.8 37 L12.7 23.8 L2 15.5 L15.5 15Z' fill='%23f3d98b' stroke='%239a7428' stroke-width='1.6'/></svg>");
}

/*
 * Festtafel: Tannengrün-Nacht mit Samtglanz von oben, Goldrahmen als Doppellinie (Kante + feine Innenlinie), warmer Schein nach außen.
 * Die Tafel setzt ihre Schrift selbst (lokale Tokens), damit auch Kinder mit var(--ink)/var(--muted) hell auf dunkel stehen.
 */
.view-stage[data-pq-theme="christmas"] :is(
  .qe-roster-head,
  .quiz-elimination-question,
  .pq-stage-timebar,
  .pq-tippers__none,
  .pq-modlist__none,
  .qe-resolve-banner,
  .quiz-elimination-ready,
  .quiz-elimination-closed,
  .pq-lineup-title,
  .pq-lineup-sub,
  .pq-lineup-card,
  .pq-pick-title,
  .pq-pick-result
) {
  --ink: var(--xg-cream);
  --muted: var(--xg-cream-dim);
  --text-color: var(--xg-cream);
  --placeholder: var(--xg-cream-dim);
  --bg-elev: var(--xg-pine);
  --bg-soft: var(--xg-pine-hi);
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  border: calc(2.5 * var(--su, 1px)) solid var(--xg-gold);
  box-shadow:
    inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine),
    inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.5),
    0 0 calc(26 * var(--su, 1px)) rgb(217 178 90 / 0.22),
    0 calc(10 * var(--su, 1px)) calc(28 * var(--su, 1px)) rgb(0 0 0 / 0.45);
  color: var(--xg-cream);
}

/* Frage: große Tafel mit breitem Goldrahmen und je einem Tannenzweig mit Beeren an zwei Ecken (oben links, unten rechts). */
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-question {
  position: relative;
  padding: calc(14 * var(--su, 1px)) calc(48 * var(--su, 1px));
  border-width: calc(4 * var(--su, 1px));
  border-color: var(--xg-gold);
  border-radius: calc(20 * var(--su, 1px));
  box-shadow:
    inset 0 0 0 calc(4 * var(--su, 1px)) var(--xg-pine),
    inset 0 0 0 calc(6 * var(--su, 1px)) rgb(243 217 139 / 0.6),
    0 0 calc(34 * var(--su, 1px)) rgb(217 178 90 / 0.32),
    0 calc(12 * var(--su, 1px)) calc(30 * var(--su, 1px)) rgb(0 0 0 / 0.5);
  color: var(--xg-cream);
  text-shadow: 0 calc(2 * var(--su, 1px)) 0 rgb(0 0 0 / 0.35);
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-question::before,
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-question::after {
  content: "";
  position: absolute;
  width: calc(10 * var(--pq-k, 10px));
  aspect-ratio: 140 / 100;
  background: var(--xg-sprig) center / contain no-repeat;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-question::before {
  left: calc(-2.4 * var(--pq-k, 10px));
  top: calc(-2.2 * var(--pq-k, 10px));
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-question::after {
  right: calc(-2.4 * var(--pq-k, 10px));
  bottom: calc(-2.2 * var(--pq-k, 10px));
  transform: rotate(180deg);
}

/*
 * Rundenkopf als Bauchbinde: Samtband mit Schwalbenschwanz-Enden und Schleife vorn. Probelauf-Hinweis im selben Stil als Goldband
 * (dunkle Schrift), damit er nicht mit dem Rundenkopf verwechselt wird.
 */
.view-stage[data-pq-theme="christmas"] .pq-stage .pq-roundhead,
.view-stage[data-pq-theme="christmas"] .pq-stage .qe-testrun {
  --xg-notch: 0.55em;
  position: relative;
  box-sizing: border-box;
  margin-inline: 0;
  padding: 0.18em calc(var(--xg-notch) + 0.7em) 0.2em;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--xg-notch)) 50%, 100% 100%, 0 100%, var(--xg-notch) 50%);
  box-shadow: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.view-stage[data-pq-theme="christmas"] .pq-stage .pq-roundhead {
  background-color: var(--xg-velvet);
  background-image:
    linear-gradient(to bottom, var(--xg-gold) 0 calc(3 * var(--su, 1px)), transparent calc(3 * var(--su, 1px)) calc(100% - 3 * var(--su, 1px)), var(--xg-gold) calc(100% - 3 * var(--su, 1px))),
    var(--xg-velvet-bg);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .pq-stage .qe-testrun {
  background-color: var(--xg-gold);
  background-image: var(--xg-gold-bg);
  color: var(--xg-ink-on-gold);
}
/* Schleife vor dem Rundenkopf (eigenes Element im Kopf, damit der Zuschnitt des Bandes sie nicht abschneidet). */
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-header:has(> .pq-roundhead) {
  position: relative;
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-header > .pq-roundhead + * {
  position: relative;
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-header::before {
  content: "";
  order: -1;
  align-self: center;
  flex: none;
  width: calc(7 * var(--pq-k, 10px));
  aspect-ratio: 120 / 80;
  margin-right: calc(-2.4 * var(--pq-k, 10px));
  position: relative;
  z-index: 1;
  background: var(--xg-bow) center / contain no-repeat;
  filter: drop-shadow(0 calc(3 * var(--su, 1px)) calc(4 * var(--su, 1px)) rgb(0 0 0 / 0.35));
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .quiz-elimination-header:not(:has(> .pq-roundhead))::before {
  content: none;
}

/*
 * Zeitanzeige als Lichterkette: Die Füllung (scaleX nach der Restzeit, stageTimebar.js) liegt als warmes Licht hinter einer Schablone mit
 * Birnen-Fenstern; wo die Füllung zurückweicht, sind die Birnen aus (dunkles Glas). Farbige Gläser (rot, gold, grün, blau) und Fassungen
 * an einem durchhängenden Draht liegen still darüber. Restsekunden in Goldziffern. Letzte 5 s: Licht rot, flackert (1,25/s).
 */
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar {
  --xg-bulb: calc(2.7 * var(--pq-k, 10px));
  /* Zahl der Antworten nicht am Goldrahmen kleben lassen (Foto-Abgleich). */
  padding-inline: calc(26 * var(--su, 1px));
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar__track {
  position: relative;
  height: calc(3.4 * var(--pq-k, 10px));
  border-radius: 0;
  background: #2b2620;
  overflow: hidden;
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar__fill {
  background: linear-gradient(to bottom, #fffbe8, #ffe39a 50%, #f4b24a);
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar__track::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(calc(0.17 * var(--xg-bulb)) calc(0.2 * var(--xg-bulb)) at 40% 50%, rgb(255 255 255 / 0.75), transparent) 0 0 / var(--xg-bulb) 100% repeat-x,
    radial-gradient(calc(0.3 * var(--xg-bulb)) calc(0.38 * var(--xg-bulb)) at calc(0.5 * var(--xg-bulb)) 62%, rgb(255 40 60 / 0.5) 0 94%, transparent 100%) 0 0 / calc(4 * var(--xg-bulb)) 100% repeat-x,
    radial-gradient(calc(0.3 * var(--xg-bulb)) calc(0.38 * var(--xg-bulb)) at calc(0.5 * var(--xg-bulb)) 62%, rgb(40 200 90 / 0.5) 0 94%, transparent 100%) var(--xg-bulb) 0 / calc(4 * var(--xg-bulb)) 100% repeat-x,
    radial-gradient(calc(0.3 * var(--xg-bulb)) calc(0.38 * var(--xg-bulb)) at calc(0.5 * var(--xg-bulb)) 62%, rgb(255 200 60 / 0.35) 0 94%, transparent 100%) calc(2 * var(--xg-bulb)) 0 / calc(4 * var(--xg-bulb)) 100% repeat-x,
    radial-gradient(calc(0.3 * var(--xg-bulb)) calc(0.38 * var(--xg-bulb)) at calc(0.5 * var(--xg-bulb)) 62%, rgb(40 120 255 / 0.68) 0 94%, transparent 100%) calc(3 * var(--xg-bulb)) 0 / calc(4 * var(--xg-bulb)) 100% repeat-x,
    linear-gradient(to right, transparent calc(50% - 0.14 * var(--xg-bulb)), #8a6a2c calc(50% - 0.14 * var(--xg-bulb)) calc(50% + 0.14 * var(--xg-bulb)), transparent calc(50% + 0.14 * var(--xg-bulb))) 0 22% / var(--xg-bulb) 16% repeat-x,
    radial-gradient(ellipse 75% 60% at 50% -18%, transparent 0 80%, #3c6b3f 82% 94%, transparent 96%) 0 0 / var(--xg-bulb) 46% repeat-x,
    radial-gradient(calc(0.3 * var(--xg-bulb)) calc(0.38 * var(--xg-bulb)) at 50% 62%, transparent 0 94%, var(--xg-pine) 100%) 0 0 / var(--xg-bulb) 100% repeat-x;
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar__left {
  color: var(--xg-gold-hi);
  font-weight: 800;
  text-shadow: 0 0 0.3em rgb(255 200 90 / 0.45);
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar.is-urgent .pq-stage-timebar__fill {
  background: linear-gradient(to bottom, #ffd0cc, #ff5a4e 50%, #c41717);
  animation: xg-flicker 0.8s steps(2, jump-none) infinite;
}
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar.is-urgent .pq-stage-timebar__left {
  color: #ffb3a8;
}
@keyframes xg-flicker {
  from { opacity: 1; }
  to { opacity: 0.55; }
}
/* „Antworten geschlossen“ an der Stelle der Zeit: alle Birnen aus, der Hinweis in Gold. */
.view-stage[data-pq-theme="christmas"] .pq-stage-timebar.is-closed .pq-stage-timebar__left {
  color: var(--xg-gold-hi);
}

/*
 * Antwortkacheln: Systemfarbe und Buchstabe bleiben; dazu Goldkante (statt zweiter Systemfarbe), Kugelglanz (Fensterreflex oben links wie
 * auf einer Christbaumkugel) und der Buchstabe im Goldmedaillon. Richtig: Goldglanz läuft einmal über die Kachel, ✓ rechts; falsch:
 * gedämpft wie heute, dazu ✕ (Zustand nicht nur an der Farbe).
 */
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt {
  background: linear-gradient(to bottom, var(--xg-gold-hi), var(--xg-gold) 42%, var(--xg-gold-lo));
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt::before {
  background-image:
    radial-gradient(ellipse 4.5% 11% at 6.5% 24%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0) 100%),
    radial-gradient(ellipse 12% 34% at 8% 30%, rgb(255 255 255 / 0.32), rgb(255 255 255 / 0.06) 70%, transparent 100%),
    radial-gradient(ellipse 70% 120% at 30% -30%, rgb(255 255 255 / 0.24), transparent 60%),
    linear-gradient(to bottom, transparent 55%, rgb(0 0 0 / 0.2));
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .pq-mark b {
  display: inline-grid;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff8dc, var(--xg-gold-hi) 28%, var(--xg-gold) 62%, var(--xg-gold-lo));
  box-shadow: inset 0 0 0 calc(2 * var(--su, 1px)) rgb(90 60 10 / 0.55), 0 calc(2 * var(--su, 1px)) calc(6 * var(--su, 1px)) rgb(0 0 0 / 0.35);
  color: var(--xg-ink-on-gold);
  font-size: 0.82em;
  line-height: 1;
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt:is(.is-revealed, .is-correct) {
  background: linear-gradient(to bottom, #ffffff, var(--xg-gold-hi) 45%, var(--xg-gold));
}
/* Falsche Kacheln der Auflösung: auf der dunklen Tafel etwas deckender als auf Weiß, damit Text und ✕ lesbar bleiben. */
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt.is-dimmed {
  opacity: 0.5;
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt:is(.is-revealed, .is-correct)::after,
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt.is-dimmed::after {
  position: absolute;
  top: 50%;
  right: calc(var(--pq-tip) + 0.35em);
  z-index: 1;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt:is(.is-revealed, .is-correct)::after {
  content: "✓";
  color: var(--xg-gold-hi);
  font-size: 1.15em;
  text-shadow: 0 calc(2 * var(--su, 1px)) 0 rgb(0 0 0 / 0.35);
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt.is-dimmed::after {
  content: "✕";
  color: inherit;
  font-size: 0.9em;
}
/* Goldglanz über der richtigen Kachel: eigenes Element (Rahmen der Karte schneidet ab), läuft einmal. */
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt:is(.is-revealed, .is-correct) .pq-opt-label {
  position: relative;
}
.view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt:is(.is-revealed, .is-correct) .pq-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 240 190 / 0.5) 40%, rgb(255 255 255 / 0.7) 50%, rgb(255 240 190 / 0.5) 60%, transparent);
  opacity: 0;
  transform: translateX(-120%) skewX(-16deg);
  animation: xg-sweep 1.5s 0.25s ease-out 1 both;
  pointer-events: none;
}
@keyframes xg-sweep {
  0% { opacity: 0; transform: translateX(-120%) skewX(-16deg); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(260%) skewX(-16deg); }
}

/*
 * Joker-Ansagen der Captains als Bauchbinde im Fluss zwischen Frage und Zeitbalken (Lage wie in allen Themes, pubquiz-captain-joker.css),
 * nie über Frage oder Antworten. Samtbänder mit Goldkante, Teamfarbe als breite Kante links.
 */
.view-stage[data-pq-theme="christmas"] .pq-joker-box--stage {
  position: static;
  transform: none;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(8 * var(--su, 1px)) calc(14 * var(--su, 1px));
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: calc(2.5 * var(--pq-k, 10px));
}
.view-stage[data-pq-theme="christmas"] .pq-joker-line {
  padding: calc(4 * var(--su, 1px)) calc(18 * var(--su, 1px));
  border-left: 0.45em solid var(--pq-team, var(--xg-gold));
  border-radius: calc(10 * var(--su, 1px));
  background-color: var(--xg-velvet);
  background-image: var(--xg-velvet-bg);
  box-shadow: inset 0 0 0 calc(2 * var(--su, 1px)) var(--xg-gold), 0 calc(6 * var(--su, 1px)) calc(18 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-cream);
}

/* ---------- Warteraum als Gala-Einladung (G4) ---------- */

/* Kopf „Wer spielt mit?“ auf einer Goldtafel mit tannengrüner Innenlinie und Zweigen an beiden oberen Ecken. */
.view-stage[data-pq-theme="christmas"] .qe-roster-head {
  --ink: var(--xg-ink-on-gold);
  --muted: #4a3410;
  position: relative;
  background-color: var(--xg-gold);
  background-image:
    radial-gradient(ellipse 60% 120% at 20% -40%, rgb(255 255 255 / 0.45), transparent 60%),
    var(--xg-gold-bg);
  border: calc(3 * var(--su, 1px)) solid #8a6420;
  box-shadow:
    inset 0 0 0 calc(5 * var(--su, 1px)) var(--xg-gold),
    inset 0 0 0 calc(7 * var(--su, 1px)) var(--xg-pine),
    0 0 calc(30 * var(--su, 1px)) rgb(243 217 139 / 0.35),
    0 calc(12 * var(--su, 1px)) calc(30 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-ink-on-gold);
}
.view-stage[data-pq-theme="christmas"] .qe-roster-head::before,
.view-stage[data-pq-theme="christmas"] .qe-roster-head::after {
  content: "";
  position: absolute;
  top: calc(-2 * var(--pq-k, 10px));
  width: calc(11 * var(--pq-k, 10px));
  aspect-ratio: 140 / 100;
  background: var(--xg-sprig) center / contain no-repeat;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .qe-roster-head::before {
  left: calc(-2.6 * var(--pq-k, 10px));
}
.view-stage[data-pq-theme="christmas"] .qe-roster-head::after {
  right: calc(-2.6 * var(--pq-k, 10px));
  transform: scaleX(-1);
}
.view-stage[data-pq-theme="christmas"] .qe-roster-head .stage-question {
  color: var(--xg-ink-on-gold);
  text-shadow: 0 calc(2 * var(--su, 1px)) 0 rgb(255 248 220 / 0.55);
}
.view-stage[data-pq-theme="christmas"] .qe-roster-head :is(.qe-roster-count, .pq-teamcounts, .pq-facts) {
  color: var(--xg-ink-on-gold);
}
/* Teamzähler aus der Ferne lesbar (war winzig neben dem großen Titel). */
.view-stage[data-pq-theme="christmas"] .qe-roster-head .pq-teamcounts {
  font-size: max(1em, calc(2.4 * var(--pq-k, 10px)));
  font-weight: 800;
}

/*
 * QR-Code und Adresse an einem großen Geschenkanhänger: Kartonfarbe mit abgeschrägten oberen Ecken, Loch mit Kordel und roter Schleife,
 * leicht schräg aufgehängt. Der Code steht auf einem weißen Feld mit Goldrahmen (sichere Erkennung).
 * Kontrast: Braun #3b2412 auf Karton #ecd6ab 10,4 : 1.
 */
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay {
  transform: rotate(-2.5deg);
  transform-origin: 50% 0;
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay .stage-slide-qr-card {
  --xg-cut: calc(26 * var(--su, 1px));
  position: relative;
  padding-top: calc(30 * var(--su, 1px));
  border: 0;
  border-radius: 0 0 calc(10 * var(--su, 1px)) calc(10 * var(--su, 1px));
  background-color: #ecd6ab;
  background-image:
    radial-gradient(circle calc(7 * var(--su, 1px)) at 50% calc(15 * var(--su, 1px)), #3b2412 0 60%, #b08a52 62% 100%, transparent 100%),
    linear-gradient(to bottom, rgb(255 255 255 / 0.25), transparent 30%, rgb(120 80 30 / 0.12)),
    repeating-linear-gradient(35deg, rgb(120 80 30 / 0.04) 0 3px, transparent 3px 7px);
  clip-path: polygon(var(--xg-cut) 0, calc(100% - var(--xg-cut)) 0, 100% var(--xg-cut), 100% 100%, 0 100%, 0 var(--xg-cut));
  filter: drop-shadow(0 calc(8 * var(--su, 1px)) calc(14 * var(--su, 1px)) rgb(0 0 0 / 0.35));
  color: #3b2412;
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay :is(.stage-slide-qr-title, .stage-slide-qr-under-label, .event-countdown-qr-url, .stage-slide-qr-code, .stage-slide-qr-fallback) {
  color: #3b2412;
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay .stage-slide-qr-title {
  font-size: clamp(0.9rem, 1.6vw, calc(18 * var(--su, 1px)));
  letter-spacing: 0.04em;
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay .event-countdown-qr {
  padding: calc(8 * var(--su, 1px));
  border: calc(3 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(10 * var(--su, 1px));
  background: #ffffff;
  box-shadow: 0 0 0 calc(2 * var(--su, 1px)) #8a6420;
}
/* Kordel und Schleife über dem Anhänger (am Aufhänger, nicht am zugeschnittenen Karton). */
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay::before,
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay::before {
  z-index: 1;
  top: calc(-34 * var(--su, 1px));
  width: calc(4 * var(--su, 1px));
  height: calc(50 * var(--su, 1px));
  margin-left: calc(-2 * var(--su, 1px));
  border-radius: calc(2 * var(--su, 1px));
  background: repeating-linear-gradient(160deg, #c8102e 0 calc(4 * var(--su, 1px)), #fff6e3 calc(4 * var(--su, 1px)) calc(8 * var(--su, 1px)));
}
.view-stage[data-pq-theme="christmas"] .stage-slide-qr-overlay::after {
  z-index: 2;
  top: calc(-58 * var(--su, 1px));
  width: calc(84 * var(--su, 1px));
  aspect-ratio: 120 / 80;
  margin-left: calc(-42 * var(--su, 1px));
  background: var(--xg-bow) center / contain no-repeat;
  filter: drop-shadow(0 calc(3 * var(--su, 1px)) calc(4 * var(--su, 1px)) rgb(0 0 0 / 0.35));
}

/* Teamnamen unter den Figuren als Schleifenbänder: Band in Teamfarbe mit Goldsaum, Schrift auf tannengrünem Mittelstreifen, Schwalbenschwanz. */
.view-stage[data-pq-theme="christmas"] .pq-audience__team {
  --xg-notch: 0.45em;
  padding: 0.22em calc(var(--xg-notch) + 0.55em) 0.24em;
  border: 0;
  border-radius: 0;
  background-color: var(--xg-pine);
  background-image: linear-gradient(to bottom,
    var(--pq-team, var(--xg-velvet)) 0 16%, var(--xg-gold) 16% 21%, transparent 21% 79%, var(--xg-gold) 79% 84%, var(--pq-team, var(--xg-velvet)) 84%);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--xg-notch)) 50%, 100% 100%, 0 100%, var(--xg-notch) 50%);
  color: var(--xg-cream);
}

/* ---------- Team-Show und Captain-Wahl: Teamspalten als Festtafeln in Teamfarbe mit Goldrand ---------- */
.view-stage[data-pq-theme="christmas"] .pq-lineup-col {
  --ink: var(--xg-cream);
  --bg-elev: var(--xg-pine);
  border: calc(2.5 * var(--su, 1px)) solid var(--xg-gold);
  border-top: clamp(6px, 1.1cqh, 14px) solid var(--pq-team, var(--xg-gold));
  background-color: var(--xg-pine);
  background-image:
    radial-gradient(ellipse 110% 50% at 50% 0%, color-mix(in srgb, var(--pq-team, var(--xg-gold)) 45%, transparent), transparent 75%),
    linear-gradient(to bottom, color-mix(in srgb, var(--pq-team, var(--xg-pine)) 28%, var(--xg-pine)), var(--xg-pine) 45%, var(--xg-pine-lo));
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.45), 0 calc(10 * var(--su, 1px)) calc(26 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .pq-lineup-col.is-current {
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.7), 0 0 calc(34 * var(--su, 1px)) color-mix(in srgb, var(--pq-team, var(--xg-gold)) 60%, transparent);
}
.view-stage[data-pq-theme="christmas"] .pq-lineup-colhead {
  color: var(--xg-cream);
}
/* Kleiner Goldstern über jeder Spalte (Spitze des Baums der Mannschaft). */
.view-stage[data-pq-theme="christmas"] .pq-lineup-col::after {
  content: "";
  position: absolute;
  top: calc(0.4 * var(--pq-k, 10px));
  right: calc(0.8 * var(--pq-k, 10px));
  width: calc(2.4 * var(--pq-k, 10px));
  aspect-ratio: 1;
  background: var(--xg-star) center / contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] :is(.pq-lineup-title, .pq-lineup-sub) {
  color: var(--xg-cream);
}

/* Captain-Wahl und „Eure Captains“: Titel auf Festtafeln, Teamkarten tannengrün mit Teamfarbe oben und Goldrand. */
.view-stage[data-pq-theme="christmas"] :is(.pq-capprog__title, .pq-capinfo__title) {
  justify-self: center;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  padding: 0.1em 0.8em 0.15em;
  border: calc(2.5 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(16 * var(--su, 1px));
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.5), 0 calc(10 * var(--su, 1px)) calc(28 * var(--su, 1px)) rgb(0 0 0 / 0.45);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .pq-capprog__card {
  --ink: var(--xg-cream);
  --muted: var(--xg-cream-dim);
  border-color: var(--xg-gold);
  border-top-color: var(--pq-team, var(--xg-gold));
  background-color: var(--xg-pine);
  background-image: linear-gradient(to bottom, color-mix(in srgb, var(--pq-team, var(--xg-pine)) 30%, var(--xg-pine)), var(--xg-pine) 60%, var(--xg-pine-lo));
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.4), 0 calc(10 * var(--su, 1px)) calc(28 * var(--su, 1px)) rgb(0 0 0 / 0.45);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .pq-capprog__num {
  color: var(--xg-gold-hi);
  text-shadow: 0 0 0.25em rgb(255 200 90 / 0.45);
}
.view-stage[data-pq-theme="christmas"] .pq-capinfo__team {
  --ink: var(--xg-cream);
  --muted: var(--xg-cream-dim);
  background-color: var(--xg-pine);
  background-image: linear-gradient(to bottom, color-mix(in srgb, var(--pq-team, var(--xg-pine)) 30%, var(--xg-pine)), rgb(12 26 19 / 0.97) 70%);
  box-shadow: inset 0 0 0 calc(2.5 * var(--su, 1px)) var(--xg-gold);
  color: var(--xg-cream);
}

/* ---------- Leere und blasse Folien bekommen Tafeln (G5) ---------- */

/* Schätzfrage und Buzzer: Fläche unter der Frage als Festtafel, Einheit, Erklärung und richtige Zahl auf eigenen Tafeln. */
.view-stage[data-pq-theme="christmas"] .pq-stage > :is(.pq-stage-estimate, .pq-unit, .pq-explanation, .pq-stage-buzz--stage) {
  --ink: var(--xg-cream);
  --muted: var(--xg-cream-dim);
  box-sizing: border-box;
  border: calc(2.5 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(16 * var(--su, 1px));
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(4.5 * var(--su, 1px)) rgb(243 217 139 / 0.45), 0 calc(10 * var(--su, 1px)) calc(28 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .pq-stage > .pq-stage-estimate {
  display: grid;
  place-content: center;
}
.view-stage[data-pq-theme="christmas"] .pq-stage > :is(.pq-unit, .pq-explanation) {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: calc(6 * var(--su, 1px)) calc(26 * var(--su, 1px));
}
.view-stage[data-pq-theme="christmas"] .pq-stage--ended > .pq-correct {
  flex: 0 0 auto;
  margin: auto;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.1em 0.7em 0.15em;
  border: calc(4 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(20 * var(--su, 1px));
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  box-shadow: inset 0 0 0 calc(4 * var(--su, 1px)) var(--xg-pine), inset 0 0 0 calc(6 * var(--su, 1px)) rgb(243 217 139 / 0.55), 0 0 calc(40 * var(--su, 1px)) rgb(217 178 90 / 0.35), 0 calc(12 * var(--su, 1px)) calc(30 * var(--su, 1px)) rgb(0 0 0 / 0.5);
  color: var(--xg-gold-hi);
}
.view-stage[data-pq-theme="christmas"] .pq-buzz-result {
  color: var(--xg-cream);
}
/* Auflösung: Fläche hinter dem Raster als dunkle Tafel (statt Weiß), falsche Kacheln treten zurück. */
.view-stage[data-pq-theme="christmas"] .pq-stage > .pq-show-grid:has(.is-dimmed) {
  background-color: rgb(12 26 19 / 0.94);
  background-image: radial-gradient(ellipse 60% 70% at 50% 40%, rgb(255 236 190 / 0.1), transparent 70%);
  box-shadow: inset 0 0 0 calc(2.5 * var(--su, 1px)) rgb(217 178 90 / 0.8);
}

/* Nach der Auflösung steht die Einheit schon in „Richtig: 2.962 m“: der Hinweis „Antwort in m“ entfällt (mehr Platz für die Tipps). */
.view-stage[data-pq-theme="christmas"] .pq-stage--ended > .pq-unit:has(+ .pq-correct) {
  display: none;
}

/*
 * Pause der Runde („Glühwein-Pause“): große Festtafel mit Zweigen an zwei Ecken, statt des Pause-Symbols ein Glühweinbecher mit Dampf,
 * Restzeit in großen Goldziffern. Der Dampf steigt langsam (transform/opacity), still ohne Bewegung.
 */
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-inner {
  --ess-title-color: var(--xg-cream);
  --ess-sub-color: var(--xg-cream-dim);
  position: relative;
  box-sizing: border-box;
  min-width: min(46vw, calc(820 * var(--su, 1px)));
  padding: calc(28 * var(--su, 1px)) calc(56 * var(--su, 1px)) calc(30 * var(--su, 1px));
  border: calc(4 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(22 * var(--su, 1px));
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  box-shadow:
    inset 0 0 0 calc(4 * var(--su, 1px)) var(--xg-pine),
    inset 0 0 0 calc(6 * var(--su, 1px)) rgb(243 217 139 / 0.6),
    0 0 calc(40 * var(--su, 1px)) rgb(217 178 90 / 0.35),
    0 calc(14 * var(--su, 1px)) calc(34 * var(--su, 1px)) rgb(0 0 0 / 0.5);
  color: var(--xg-cream);
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-inner::before,
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-inner::after {
  content: "";
  position: absolute;
  width: calc(12 * var(--pq-k, 10px));
  aspect-ratio: 140 / 100;
  background: var(--xg-sprig) center / contain no-repeat;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-inner::before {
  left: calc(-2.8 * var(--pq-k, 10px));
  top: calc(-2.6 * var(--pq-k, 10px));
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-inner::after {
  right: calc(-2.8 * var(--pq-k, 10px));
  bottom: calc(-2.6 * var(--pq-k, 10px));
  transform: rotate(180deg);
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon {
  position: relative;
  width: clamp(5rem, 10vw, calc(160 * var(--su, 1px)));
  aspect-ratio: 100 / 110;
  margin-bottom: calc(10 * var(--su, 1px));
  background: var(--xg-mug) center bottom / contain no-repeat;
  opacity: 1;
  animation: none;
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon > svg {
  visibility: hidden;
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::before,
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::after {
  content: "";
  position: absolute;
  bottom: 62%;
  width: 14%;
  height: 34%;
  border-radius: 50%;
  border-left: calc(4 * var(--su, 1px)) solid rgb(255 246 227 / 0.75);
  opacity: 0;
  animation: xg-steam 3.2s ease-out infinite;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::before { left: 30%; }
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::after { left: 50%; animation-delay: 1.6s; }
@keyframes xg-steam {
  0% { opacity: 0; transform: translateY(20%) scaleY(0.8); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-60%) scaleY(1.1); }
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-title {
  color: var(--xg-cream);
  font-size: clamp(2.2rem, 4.6vw, calc(64 * var(--su, 1px)));
  letter-spacing: 0.01em;
  text-shadow: 0 calc(2 * var(--su, 1px)) 0 rgb(0 0 0 / 0.35);
}
.view-stage[data-pq-theme="christmas"] .ess--kind-pause .pause-countdown__time {
  color: var(--xg-gold-hi);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 0.3em rgb(255 200 90 / 0.4), 0 calc(3 * var(--su, 1px)) 0 rgb(0 0 0 / 0.35);
}

/*
 * Kategorienwahl, Glücksrad-Walze und Kartenzug: Kategorien als Weihnachtskarten – tiefe Karte in der Farbe der Kategorie (mit Tannengrün
 * abgedunkelt, damit Creme darauf ≥ 4,5 : 1 hält), Goldrahmen als Doppellinie, Symbol im goldenen Ring, Stern in der Ecke. Nicht gewählte
 * Karten treten entsättigt zurück (statt blass durchsichtig). Countdown-Ring in Gold mit dunkler Mitte.
 */
.view-stage[data-pq-theme="christmas"] .pq-pick-title {
  align-self: start;
  height: fit-content;
}
.view-stage[data-pq-theme="christmas"] :is(.pq-pick-card, .pq-card) {
  --xg-card: color-mix(in srgb, var(--pq-cat, var(--xg-velvet)) 30%, var(--xg-pine));
  position: relative;
  border: calc(3 * var(--su, 1px)) solid var(--xg-gold);
  background-color: var(--xg-card);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, color-mix(in srgb, var(--pq-cat, var(--xg-velvet)) 55%, transparent), transparent 75%),
    linear-gradient(to bottom, rgb(255 255 255 / 0.08), transparent 40%, rgb(0 0 0 / 0.22));
  box-shadow:
    inset 0 0 0 calc(4 * var(--su, 1px)) var(--xg-card),
    inset 0 0 0 calc(5.5 * var(--su, 1px)) rgb(243 217 139 / 0.55),
    0 calc(10 * var(--su, 1px)) calc(26 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-cream);
  text-shadow: 0 calc(2 * var(--su, 1px)) 0 rgb(0 0 0 / 0.35);
}
.view-stage[data-pq-theme="christmas"] :is(.pq-pick-card, .pq-card--front)::after {
  content: "";
  position: absolute;
  top: calc(1 * var(--pq-k, 10px));
  right: calc(1 * var(--pq-k, 10px));
  width: calc(3.2 * var(--pq-k, 10px));
  aspect-ratio: 1;
  background: var(--xg-star) center / contain no-repeat;
  pointer-events: none;
}
.view-stage[data-pq-theme="christmas"] .pq-pick--stage :is(.pq-pick-card, .pq-card--front) .pq-pick-symbol {
  display: grid;
  place-items: center;
  width: 1.5em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgb(255 246 227 / 0.16), rgb(0 0 0 / 0.18) 70%);
  box-shadow: inset 0 0 0 calc(3 * var(--su, 1px)) var(--xg-gold), 0 0 calc(16 * var(--su, 1px)) rgb(243 217 139 / 0.3);
  text-shadow: none;
}
.view-stage[data-pq-theme="christmas"] .pq-pick-card[aria-pressed="true"],
.view-stage[data-pq-theme="christmas"] .pq-pick-card.is-hop {
  border-color: var(--xg-gold-hi);
  box-shadow:
    inset 0 0 0 calc(4 * var(--su, 1px)) var(--xg-card),
    inset 0 0 0 calc(5.5 * var(--su, 1px)) var(--xg-gold-hi),
    0 0 calc(36 * var(--su, 1px)) rgb(243 217 139 / 0.6);
}
/* Deckend bleiben (Foto-Abgleich: halbtransparent ließ das Fenster durchscheinen), nur entsättigt und dunkler. */
.view-stage[data-pq-theme="christmas"] .pq-pick-card.is-dimmed {
  opacity: 1;
  filter: saturate(0.25) brightness(0.62);
}
.view-stage[data-pq-theme="christmas"] .pq-card--back {
  background-image:
    var(--xg-star),
    repeating-linear-gradient(45deg, rgb(243 217 139 / 0.18) 0 calc(3 * var(--su, 1px)), transparent calc(3 * var(--su, 1px)) calc(18 * var(--su, 1px))),
    var(--xg-velvet-bg);
  background-size: 34% auto, auto, auto;
  background-position: center, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  background-color: var(--xg-velvet);
  color: transparent;
  text-shadow: none;
  opacity: 1;
}
.view-stage[data-pq-theme="christmas"] .pq-card-level {
  color: var(--xg-gold-hi);
}
.view-stage[data-pq-theme="christmas"] .pq-pick-ring {
  background: conic-gradient(var(--xg-gold) calc(var(--pq-left) * 360deg), rgb(12 26 19 / 0.55) 0);
  box-shadow: 0 0 0 calc(3 * var(--su, 1px)) #8a6420, 0 calc(8 * var(--su, 1px)) calc(20 * var(--su, 1px)) rgb(0 0 0 / 0.35);
}
.view-stage[data-pq-theme="christmas"] .pq-pick-seconds {
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  color: var(--xg-cream);
  box-shadow: inset 0 0 0 calc(2 * var(--su, 1px)) rgb(243 217 139 / 0.5);
}
.view-stage[data-pq-theme="christmas"] .pq-pick--stage .pq-reel {
  --ink: var(--xg-cream);
  border-block-color: var(--xg-gold);
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  box-shadow: 0 calc(10 * var(--su, 1px)) calc(28 * var(--su, 1px)) rgb(0 0 0 / 0.4);
  color: var(--xg-cream);
}

/*
 * „Schnellster Finger“: Beschriftungen um die Leisten (Nah/Fern, Tempo-Hinweis, „Richtige Reihenfolge“) standen direkt auf der Stube; sie
 * bekommen kleine Festtafeln. Die Leisten selbst und die Zahlen der Auflösung gestaltet theme-christmas-cards.css.
 */
.view-stage[data-pq-theme="christmas"] [data-pq-order-stage] :is(.pq-order__end, .pq-order__hint, .pq-order__solution-label) {
  justify-self: center;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
  padding: calc(2 * var(--su, 1px)) calc(16 * var(--su, 1px));
  border: calc(2 * var(--su, 1px)) solid rgb(217 178 90 / 0.85);
  border-radius: 999px;
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  color: var(--xg-cream);
}
/* Plätze und Lösungszeile („B – A – D – C“) auf eigener Goldrahmen-Tafel: dunkle Schrift stand sonst auf der nächtlichen Stube. */
.view-stage[data-pq-theme="christmas"] [data-pq-order-stage] .pq-order__solution-cell {
  padding: calc(4 * var(--su, 1px)) calc(18 * var(--su, 1px));
  border: calc(2 * var(--su, 1px)) solid var(--xg-gold);
  border-radius: calc(14 * var(--su, 1px));
  background-color: var(--xg-pine);
  background-image: var(--xg-panel-bg);
  color: var(--xg-gold-hi);
}
.view-stage[data-pq-theme="christmas"] [data-pq-order-stage] .pq-order__solution { color: var(--xg-gold-hi); }
/* Auflösung: Die Teamwertung darunter wurde abgeschnitten (4 Leisten mit Mindesthöhe 36k + Nah/Fern + Bühne > Leinwand). Nach der
 * Auflösung stehen die Leisten kompakter und die Endmarken entfallen (die Reihenfolge steht in der Lösungszeile); die Bühne passt. */
.view-stage[data-pq-theme="christmas"] .pq-stage--ended.pq-stage--order .pq-bars--stage > .pq-bars__list {
  min-height: calc(17 * var(--pq-k, 10px));
}
.view-stage[data-pq-theme="christmas"] .pq-stage--ended.pq-stage--order [data-pq-order-stage] .pq-order__end {
  display: none;
}

/* Bewegung aus: reduzierte Bewegung, hoher Kontrast, Schalter „Animationen“ aus. */
@media (prefers-reduced-motion: reduce), (prefers-contrast: more) {
  .view-stage[data-pq-theme="christmas"] .pq-stage-timebar.is-urgent .pq-stage-timebar__fill,
  .view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt .pq-mark::after {
    animation: none;
  }
  .view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::before,
  .view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::after {
    animation: none;
    opacity: 0;
  }
}
:root.pq-figures-still .view-stage[data-pq-theme="christmas"] .pq-stage-timebar__fill,
:root.pq-figures-still .view-stage[data-pq-theme="christmas"] .pq-show-grid .stage-quiz-opt .pq-mark::after,
:root.pq-figures-still .view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::before,
:root.pq-figures-still .view-stage[data-pq-theme="christmas"] .ess--kind-pause .ess-icon::after {
  animation: none;
}
