/* Levelpage · Teilnehmer-Ansicht (mobil) und Mini-Games. Maße und Farben aus dem Figma-Abschnitt „Customer User View". */

.pl {
  --pl-bg: #dbedff; --pl-foot: #e9f4ff; --pl-ink: #090e76; --pl-text: #000; --pl-cta: #3532f9; --pl-cta-ink: #fff;
  --pl-logo: #cde6ff; --pl-link: #2d6aa8; --pl-chip: rgba(255, 255, 255, .6); --pl-chip-ink: #4f4f4f;
  --c1: #fff; --c2: #beddf3; --c3: #7667f8; --c4: #ffc250; --c4d: #ffa600;
  position: relative; display: flex; flex-direction: column; min-height: 100%; background: var(--pl-bg) center/cover no-repeat;
  color: var(--pl-text); font: 400 15px/23.5px Inter, system-ui, sans-serif; overflow: hidden; isolation: isolate;
}
.pl.pl-dark { --pl-chip: rgba(255, 255, 255, .5); --pl-chip-ink: #1d2233; --pl-link: #c9d6ff; }
.pl.pl-white { --pl-bg: #fff; }
.pl-main { flex: 1; display: flex; flex-direction: column; padding: 37px 30px 28px; min-height: 0; }
.pl-main.pl-center { align-items: center; text-align: center; }
.pl-main.pl-tight { padding: 22px 0 22px; align-items: center; }
.pl-screen { display: contents; }
.pl-in > * { animation: pl-in .36s cubic-bezier(.2, .7, .2, 1) both; }
.pl-in > *:nth-child(2) { animation-delay: .04s; } .pl-in > *:nth-child(3) { animation-delay: .08s; } .pl-in > *:nth-child(4) { animation-delay: .12s; } .pl-in > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes pl-in { from { opacity: 0; transform: translateY(10px); } }

.pl-h1 { margin: 0 6px 22px; font: 800 28px/35px Inter, sans-serif; color: var(--pl-ink); letter-spacing: -.01em; text-wrap: balance; }
.pl-center .pl-h1 { margin: 0 0 22px; }
.pl-p { margin: 0 6px 28px; max-width: 290px; }
.pl-center .pl-p { margin: 0 auto 24px; }
.pl-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; border-radius: 8px; background: var(--pl-chip); color: var(--pl-chip-ink); font: 700 14px/20px Nunito, sans-serif; }
.pl-chip b { font-weight: 800; color: #2b2b2b; }
.pl-chip.pl-chip-sm { padding: 3px 6px; background: color-mix(in srgb, var(--pl-cta) 12%, transparent); color: #333; }
.pl-dark .pl-chip.pl-chip-sm { background: rgba(255, 255, 255, .85); }
.pl-chips { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
.pl-tight > .pl-brand { margin-bottom: 22px; }
.pl-brand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 190px; height: 64px; padding: 0 22px; border-radius: 18px; background: var(--pl-logo); color: #111; font: 800 21px/1 Nunito, sans-serif; }
.pl-dark .pl-brand { color: #fff; }
.pl-brand img { max-width: 165px; max-height: 44px; display: block; }
.pl-brand .pl-glyph { font-size: 22px; line-height: 1; color: var(--pl-cta); }
.pl-brand.pl-brand-sm { min-width: 0; height: 56px; border-radius: 6px; font-size: 18px; padding: 0 16px; }
/* Platzhalter für die Marke: Die gelbe Pille bringt Fläche und Rand selbst mit */
.pl-brand.pl-slot, .pl-brand.pl-slot.pl-brand-sm { min-width: 0; padding: 0; border-radius: 0; background: none; }

.pl-form { margin: 0 0 27px; background: #fff; border: 1px solid #e6e7eb; border-radius: 16px; color: #111; overflow: hidden; }
.pl-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 24px; border-bottom: 1px solid #e6e7eb; }
.pl-row:focus-within { background: #f7f9ff; }
.pl-row .pl-emo { flex: none; width: 20px; font-size: 18px; text-align: center; }
.pl-row .pl-pre { font-size: 14px; color: #111; margin-right: -6px; }
.pl-row input[type=text], .pl-row input[type=email], .pl-row input[type=tel] { flex: 1; min-width: 0; height: 58px; border: 0; background: none; font: 400 14px Inter, sans-serif; color: #111; outline: none; }
.pl-row input::placeholder { color: #b5b5b5; }
.pl-row.err { box-shadow: inset 3px 0 0 #ff5a5a; background: #fff6f6; }
.pl-consent { display: flex; align-items: center; gap: 14px; padding: 15px 24px; font: 400 12px/15px Inter, sans-serif; color: #686868; cursor: pointer; }
.pl-consent u { text-underline-offset: 2px; }
.pl-consent.err { color: #d93636; }
.pl-check { appearance: none; flex: none; width: 21px; height: 21px; margin: 0; border: 1px solid #e5e7eb; border-radius: 6px; background: #fafafa; cursor: pointer; display: grid; place-items: center; }
.pl-check:checked { background: var(--pl-cta); border-color: var(--pl-cta); }
.pl-check:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.pl-consent.err .pl-check { border-color: #ff5a5a; }
.pl-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 65px; padding: 14px 24px; border: 0; border-radius: 10px; background: var(--pl-cta); color: var(--pl-cta-ink); font: 700 15px/1.4 Nunito, sans-serif; cursor: pointer; transition: transform .12s, filter .15s; }
.pl-cta:hover { filter: brightness(1.08); } .pl-cta:active { transform: scale(.985); }
.pl-cta.pl-cta-sm { min-height: 46px; }
.pl-cta.pl-ghost { background: transparent; color: var(--pl-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pl-ink) 35%, transparent); }
.pl-safe { margin: 20px 0 0; text-align: center; font: 400 12px/20px Inter, sans-serif; color: color-mix(in srgb, var(--pl-text) 84%, transparent); }
.pl-timer { align-self: flex-start; margin: -8px 6px 20px; padding: 4px 12px; border-radius: 8px; background: #ffe58f; color: #a25a00; font: 500 15px/23px Inter, sans-serif; font-variant-numeric: tabular-nums; }
.pl-demo { align-self: center; margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px dashed color-mix(in srgb, var(--pl-ink) 45%, transparent); border-radius: 10px; background: rgba(255, 255, 255, .5); color: var(--pl-ink); font: 700 13px/1.2 Nunito, sans-serif; cursor: pointer; }
.pl-dark .pl-demo { background: rgba(255, 255, 255, .08); }
.pl-demo:hover { background: rgba(255, 255, 255, .85); }
.pl-demo small { font: 600 10px/1 Inter, sans-serif; letter-spacing: .06em; padding: 3px 5px; border-radius: 4px; background: var(--pl-ink); color: var(--pl-bg); }

.pl-foot { flex: none; background: var(--pl-foot); padding: 23px 16px 15px; text-align: center; }
.pl-links { display: flex; justify-content: center; gap: 28px; font: 400 14px/20px Inter, sans-serif; }
.pl-links a { color: var(--pl-link); text-decoration: underline; text-underline-offset: 2px; }
.pl-use { display: inline-flex; align-items: center; gap: 8px; margin-top: 21px; padding: 5px 11px; border-radius: 4px; background: #dbedff; color: #2d6aa8; font: 400 14px/20px Inter, sans-serif; }

/* Umfrage */
.pl-prog { height: 4px; margin: -12px 0 44px; border-radius: 4px; background: #eef0f5; overflow: hidden; }
.pl-prog i { display: block; height: 100%; border-radius: 4px; background: var(--pl-cta); transition: width .35s; }
.pl-q { margin: 0 0 42px; font: 600 24px/33px Inter, sans-serif; color: #000; text-align: center; text-wrap: balance; }
.pl-opts { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.pl-opt { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 13px; border: 1px solid #e6e7eb; border-radius: 6px; background: #f9f9f9; font: 400 15px/20px Inter, sans-serif; color: #222; cursor: pointer; text-align: left; }
.pl-opt:hover { border-color: #c9ccd6; }
.pl-opt .pl-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e7e7ea; display: grid; place-items: center; color: transparent; }
.pl-opt.multi .pl-dot { border-radius: 7px; }
.pl-opt.on { border-color: var(--pl-cta); background: color-mix(in srgb, var(--pl-cta) 10%, #fff); }
.pl-opt.on .pl-dot { background: var(--pl-cta); color: #fff; }
.pl-opt.emoji { min-height: 65px; }
.pl-opt.emoji .pl-dot { display: none; }
.pl-opt input { flex: 1; min-width: 0; border: 0; background: none; font: italic 400 15px Inter, sans-serif; outline: none; }
.pl-area { width: 100%; min-height: 134px; margin-bottom: 30px; padding: 12px 14px; border: 1px solid var(--pl-cta); border-radius: 6px; background: #f9f9f9; font: 400 15px/22px Inter, sans-serif; resize: vertical; outline: none; }
.pl-area::placeholder { font-style: italic; color: #9a9a9a; }

/* Gewinn */
.pl-ring { position: relative; width: 262px; height: 262px; margin: 6px auto 12px; border-radius: 50%; background: var(--c4); display: grid; place-items: center; animation: pl-pop .7s cubic-bezier(.2, 1.5, .4, 1) both; }
.pl-ring::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--pl-bg); box-shadow: 0 0 0 5px var(--c4d), inset 0 6px 18px rgba(0, 0, 0, .08); }
.pl-ring span { position: relative; font-size: 104px; line-height: 1; animation: pl-float 3.2s ease-in-out .7s infinite; }
.pl-ring.pl-ring-lose { background: #cfd6e2; --c4d: #b3bccb; }
.pl-big { position: relative; }
@keyframes pl-pop { from { transform: scale(.3) rotate(-18deg); opacity: 0; } }
@keyframes pl-float { 50% { transform: translateY(-9px) rotate(4deg); } }
.pl-h1.pl-win { margin-bottom: 21px; }
.pl-done { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pl-done .pl-h1 { margin: 0; }
.pl-done .pl-tick { font-size: 30px; }

/* E-Mail und Gutschein */
.pl-mailbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e6e7eb; font: 400 12px/16px Inter, sans-serif; color: #555; }
.pl-mailbar .av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pl-cta); color: #fff; display: grid; place-items: center; font: 800 13px Nunito, sans-serif; }
.pl-mailbar b { display: block; font: 600 13px/17px Inter, sans-serif; color: #111; }
.pl-mail { padding: 26px 28px 30px; }
.pl-tabs { display: inline-flex; gap: 2px; padding: 5px; margin: 14px 0 28px; border-radius: 10px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .7); }
.pl-tab { padding: 10px 12px; border: 0; border-radius: 6px; background: none; font: 600 16px/24px Inter, sans-serif; color: #667085; cursor: pointer; }
.pl-tab.on { background: #fff; color: #344054; box-shadow: 0 1px 3px rgba(16, 24, 40, .1), 0 1px 2px rgba(16, 24, 40, .06); }
.pl-voucher { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 136px; padding: 26px 18px 22px; border-radius: 6px; background: #fff; color: #111; text-align: center; }
.pl-code { font: 600 24px/32px Inter, sans-serif; letter-spacing: .01em; transition: filter .6s, opacity .6s; }
.pl-code.blur { filter: blur(9px); opacity: .8; user-select: none; }
.pl-until { font: 400 15px/20px Inter, sans-serif; color: #7b7f88; }
.pl-copy { position: absolute; right: 12px; bottom: 10px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--pl-cta); cursor: pointer; display: grid; place-items: center; }
.pl-copy:hover { background: #f0f2ff; }
.pl-voucher .ean { width: min(250px, 100%); height: auto; }
.pl-vbtn { margin: 10px 0 0; min-height: 44px; border-radius: 6px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--pl-cta) 60%, #7667f8); }
.pl-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 15px 18px; border-radius: 10px; background: rgba(255, 255, 255, .62); box-shadow: 0 2px 6px rgba(16, 24, 40, .06); font: 400 14px/20px Inter, sans-serif; text-align: left; }
.pl-note svg { flex: none; margin-top: 8px; }
.pl-locs { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; }
.pl-locs li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .62); font: 400 13px/18px Inter, sans-serif; }
.pl-addr { padding: 26px 28px 6px; background: var(--pl-foot); font: 400 14px/20px Inter, sans-serif; color: #475467; }
.pl-off { margin: auto 0; text-align: center; }

/* ---------- Spiele allgemein ---------- */
.g { position: relative; width: 100%; max-width: 393px; margin: 0 auto; user-select: none; -webkit-user-select: none; }
.g-hint { margin: 10px 0 0; text-align: center; font: 600 12px/16px Inter, sans-serif; color: color-mix(in srgb, var(--pl-ink) 62%, transparent); transition: opacity .3s; }
.g-hint.off { opacity: 0; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 26px; border: 0; border-radius: 999px; background: var(--c4); color: #3a2600; font: 800 16px/1 Nunito, sans-serif; cursor: pointer; box-shadow: inset 0 -4px 0 var(--c4d), 0 6px 14px rgba(10, 20, 60, .16); transition: transform .1s; }
.g-btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--c4d), 0 3px 8px rgba(10, 20, 60, .16); }
.g-btn[disabled] { opacity: .55; cursor: default; }

/* Glücksrad */
.g-wheel { margin-top: -4px; }
.wh-svg { display: block; width: 100%; height: auto; touch-action: none; overflow: visible; }
.wh-rot { will-change: transform; }
.wh-seg { transition: opacity .35s; }
.wh-seg.dim { opacity: .38; }
.wh-emoji { transform-box: fill-box; transform-origin: center; }
.wh-emoji.hit { animation: wh-hit .7s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes wh-hit { 50% { scale: 1.55; } to { scale: 1.3; } }
.wh-coin { cursor: grab; outline: none; }
.wh-coin.grab { cursor: grabbing; }
.wh-coin:focus-visible .wh-coin-ring { opacity: 1; stroke: var(--pl-ink); }
.wh-coin-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wh-coin:not(.used):not(.grab) .wh-coin-ring { animation: wh-ring 1.8s ease-out infinite; }
.wh-coin.used { pointer-events: none; opacity: .55; transition: opacity .3s; }
.wh-coin.nudge > * { animation: wh-nudge .5s; }
@keyframes wh-ring { 0% { opacity: .7; scale: .9; } 80%, 100% { opacity: 0; scale: 1.35; } }
@keyframes wh-nudge { 30% { translate: 14px -3px; } 60% { translate: 0 0; } 80% { translate: 7px -1px; } }
.mini-wheel { display: block; }
.spinny .mini-wheel-rot, .card:hover .mini-wheel-rot { animation: mini-rot 5s linear infinite; }
@keyframes mini-rot { to { transform: rotate(360deg); } }

/* Slotmachine */
.g-slot { display: flex; justify-content: center; padding: 6px 0 4px; }
.sl-cab { position: relative; width: 284px; padding: 14px 16px 18px; border-radius: 30px 30px 22px 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--c3) 86%, #fff) 0%, var(--c3) 38%, color-mix(in srgb, var(--c3) 78%, #000) 100%); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -8px 0 rgba(0, 0, 30, .18), 0 16px 30px rgba(20, 20, 80, .22); }
.sl-top { position: relative; height: 58px; margin-bottom: 12px; border-radius: 18px; background: var(--c4); box-shadow: inset 0 -5px 0 var(--c4d), inset 0 2px 0 rgba(255, 255, 255, .5); display: grid; place-items: center; }
.sl-sign { font: 900 21px/1 Nunito, sans-serif; letter-spacing: .14em; color: #4a2c00; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.sl-bulbs { position: absolute; inset: -5px 10px auto; display: flex; justify-content: space-between; }
.sl-bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 30, .12); animation: sl-bulb 1.2s steps(1) infinite; }
.sl-bulbs i:nth-child(odd) { animation-delay: .6s; }
.g-slot.fast .sl-bulbs i { animation-duration: .3s; } .g-slot.fast .sl-bulbs i:nth-child(odd) { animation-delay: .15s; }
@keyframes sl-bulb { 50% { background: #ffe9a6; box-shadow: 0 0 9px 3px rgba(255, 220, 120, .95); } }
.sl-win { position: relative; display: flex; gap: 6px; padding: 8px; height: 204px; border-radius: 16px; background: #1c1b4a; box-shadow: inset 0 4px 10px rgba(0, 0, 0, .5); }
.sl-reel { position: relative; flex: 1; border-radius: 10px; background: linear-gradient(180deg, #d9dcec 0, #fff 22%, #fff 78%, #d9dcec 100%); overflow: hidden; }
.sl-strip { will-change: transform; }
.sl-sym { height: 62.67px; display: grid; place-items: center; font-size: 36px; line-height: 1; }
.sl-reel.blur .sl-strip { filter: blur(2.2px); }
.sl-reel.bump { animation: sl-bump .28s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes sl-bump { 0% { transform: translateY(7px); } }
.sl-reel.hit { animation: sl-hit .5s ease-in-out 3; }
@keyframes sl-hit { 50% { box-shadow: inset 0 0 0 4px var(--c4); background: #fff8e0; } }
.sl-line { position: absolute; left: 2px; right: 2px; top: 50%; height: 66px; margin-top: -33px; border: 3px solid var(--c4); border-radius: 12px; opacity: .55; pointer-events: none; transition: opacity .2s, box-shadow .2s; }
.g-slot.won .sl-line { opacity: 1; box-shadow: 0 0 18px 2px var(--c4); }
.sl-base { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.sl-slot { flex: 1; height: 12px; border-radius: 8px; background: rgba(0, 0, 30, .28); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
.sl-lever { position: relative; flex: none; width: 46px; height: 204px; margin: 84px 0 0 -6px; touch-action: none; cursor: grab; }
.sl-lever::before { content: ""; position: absolute; left: 0; top: 96px; width: 22px; height: 44px; border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--c3) 70%, #000); }
.sl-arm { position: absolute; left: 19px; top: 30px; width: 8px; height: 88px; border-radius: 4px; background: linear-gradient(90deg, #c4c8d8, #f4f5fa 45%, #9da2b8); transform-origin: 50% 100%; }
.sl-knob { position: absolute; left: 5px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0, var(--c4) 28%, var(--c4d) 100%); box-shadow: 0 4px 8px rgba(0, 0, 30, .25); }
.sl-lever:focus-visible { outline: 2px solid var(--pl-ink); outline-offset: 2px; border-radius: 12px; }
.g-slot.lost .sl-cab { animation: g-shake .4s; }
@keyframes g-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* Rubbellos */
.g-scratch { padding: 8px 20px 0; }
.sc-card { position: relative; padding: 18px 18px 16px; border-radius: 22px; background: linear-gradient(150deg, color-mix(in srgb, var(--c3) 88%, #fff), color-mix(in srgb, var(--c3) 82%, #000)); color: #fff; box-shadow: 0 16px 30px rgba(20, 20, 80, .2); overflow: hidden; }
.sc-card::before, .sc-card::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--pl-bg); }
.sc-card::before { left: -11px; } .sc-card::after { right: -11px; }
.sc-head { display: flex; align-items: baseline; justify-content: space-between; }
.sc-title { font: 900 26px/1 Nunito, sans-serif; letter-spacing: -.01em; }
.sc-no { font: 500 11px/1 Inter, sans-serif; letter-spacing: .08em; opacity: .75; }
.sc-rule { margin: 6px 0 14px; font: 500 13px/18px Inter, sans-serif; opacity: .9; }
.sc-area { position: relative; border-radius: 14px; background: #fff; overflow: hidden; touch-action: none; cursor: crosshair; }
.sc-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.sc-cell { aspect-ratio: 1; border-radius: 12px; background: color-mix(in srgb, var(--c2) 55%, #fff); display: grid; place-items: center; font-size: 44px; line-height: 1; }
.sc-cell.pop { animation: pl-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.sc-cell.match { box-shadow: inset 0 0 0 3px var(--c4); background: #fff7df; }
.sc-foil, .sc-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-foil { transition: opacity .55s; }
.sc-foil.gone { opacity: 0; pointer-events: none; }
.sc-dust { pointer-events: none; }
.sc-meter { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 600 12px/16px Inter, sans-serif; }
.sc-meter i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.sc-meter i b { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--c4); transition: width .2s; }
.sc-coin { position: absolute; z-index: 5; width: 46px; height: 46px; margin: -30px 0 0 -12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6d8 0, var(--c4) 35%, var(--c4d) 100%); box-shadow: 0 5px 10px rgba(0, 0, 30, .3), inset 0 0 0 3px rgba(255, 255, 255, .35); display: grid; place-items: center; font: 900 17px Nunito, sans-serif; color: rgba(90, 50, 0, .7); pointer-events: none; opacity: 0; transition: opacity .15s; rotate: -14deg; }
.sc-coin.on { opacity: 1; }

/* Pixel Shooter und Verlosung (Canvas) */
.g-canvas { display: block; width: 100%; height: auto; touch-action: none; border-radius: 18px; }
.g-shooter { padding: 4px 16px 0; }
.g-shooter .g-canvas { background: #0b1120; box-shadow: 0 14px 28px rgba(10, 16, 50, .3), inset 0 0 0 2px rgba(255, 255, 255, .08); cursor: pointer; image-rendering: pixelated; }
.g-shooter .g-hint { margin-top: 10px; }
.g-catch { padding: 4px 16px 0; }
.g-catch .g-canvas { background: #12143a; box-shadow: 0 14px 28px rgba(10, 16, 50, .28), inset 0 0 0 2px rgba(255, 255, 255, .08); cursor: pointer; }
/* Läuft das Spiel, braucht die Fläche keinen Fokusrahmen mehr */
.g-catch.on .g-canvas { outline: none; }
.g-snow { padding: 4px 16px 0; }
.g-snow .g-canvas { background: #12143a; box-shadow: 0 14px 28px rgba(10, 16, 50, .28), inset 0 0 0 2px rgba(255, 255, 255, .08); cursor: crosshair; }
.g-snow.on .g-canvas { outline: none; }
.g-lottery { padding: 0 16px; text-align: center; }
.g-lottery .g-btn { margin-top: 18px; position: relative; }

/* Adventskalender */
.g-advent { padding: 0 22px; }
.pl-game:has(.g-advent) + .pl-chips { margin-top: 20px; }
.kal-wrap { position: relative; padding: 16px 12px 14px; border-radius: 22px; background: linear-gradient(170deg, color-mix(in srgb, var(--c3) 30%, #0d1440), #0d1440 70%); box-shadow: 0 16px 30px rgba(10, 16, 60, .28); overflow: hidden; }
.kal-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kal-head { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 4px 12px; color: #fff; }
.kal-head b { font: 900 20px/1 Nunito, sans-serif; }
.kal-head span { font: 600 11px/1 Inter, sans-serif; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.kal-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; perspective: 700px; }
.kal-door { position: relative; aspect-ratio: 1.36; padding: 0; border: 0; border-radius: 9px; background: #060a26; cursor: pointer; transform-style: preserve-3d; }
.kal-in { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; font-size: 26px; line-height: 1; background: radial-gradient(circle at 50% 40%, #2a3270, #060a26 75%); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6); }
.kal-in span { opacity: 0; transform: scale(.4); transition: opacity .3s .25s, transform .5s cubic-bezier(.2, 1.6, .4, 1) .25s; }
.kal-flap { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; font: 900 19px/1 Nunito, sans-serif; transform-origin: 0 50%; transition: transform .75s cubic-bezier(.3, .9, .3, 1); backface-visibility: hidden; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 30, .14); }
.kal-flap::after { content: ""; position: absolute; right: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: currentColor; opacity: .5; }
.kal-door.open .kal-flap { transform: rotateY(-118deg); }
.kal-door.open .kal-in span { opacity: 1; transform: none; }
.kal-door.past .kal-in span { opacity: .75; transform: none; transition: none; font-size: 20px; }
.kal-door.past .kal-flap { transition: none; }
.kal-door.future { cursor: not-allowed; }
.kal-door.future .kal-flap { filter: saturate(.55) brightness(.82); }
.kal-door.today { z-index: 2; }
.kal-door.today:not(.open) .kal-flap { animation: kal-pulse 1.5s ease-in-out infinite; }
.kal-door.today:not(.open)::after { content: "Heute"; position: absolute; left: 50%; top: -8px; translate: -50% 0; padding: 2px 6px; border-radius: 999px; background: #fff; color: #0d1440; font: 800 9px/1.2 Nunito, sans-serif; letter-spacing: .04em; z-index: 3; }
@keyframes kal-pulse { 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 22px 6px var(--c4); scale: 1.06; } }
.kal-door.shake { animation: g-shake .4s; }
.kal-door.win .kal-in { box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6), 0 0 26px 6px var(--c4); }
.kal-msg { position: relative; min-height: 18px; margin: 11px 4px 0; text-align: center; font: 600 12px/18px Inter, sans-serif; color: rgba(255, 255, 255, .86); }

@media (prefers-reduced-motion: reduce) {
  .pl-in > *, .pl-ring, .pl-ring span, .sl-bulbs i, .kal-door.today:not(.open) .kal-flap, .wh-coin-ring, .mini-wheel-rot { animation: none !important; }
}
