@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Liberation Serif'),local('LiberationSerif'),local('Tinos'),local('Noto Serif'),local('NotoSerif-Regular');font-weight:100 600;unicode-range:U+0030-0039}
@font-face{font-family:'SGZ Ziffern';src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Liberation Serif Bold'),local('LiberationSerif-Bold'),local('Tinos Bold'),local('Noto Serif Bold'),local('NotoSerif-Bold');font-weight:700 900;unicode-range:U+0030-0039}
:root {
  --akzent: #f2c14e; --akzent2: #ff6b74; --akzent3: #2a0c10; --tief: #1d0a0d; --panel: rgba(52, 16, 22, .93); --panel2: rgba(40, 12, 17, .97);
  --text: #fbefd9; --mute: #e8d6b8; --rand: rgba(242, 193, 78, .55); --knopf1: #6a2430; --knopf2: #461520; --knopfText: #fbefd9;
  --gruen: #8fe0a0; --rot: #ff8a80; --gold: #f2c14e;
  --kopf: 'SGZ Ziffern', Georgia, 'Times New Roman', serif;
  --filz1: #2a8a55; --filz2: #145c37; --filz3: #0b3d24; --bande1: #6b2b16; --bande2: #3b1408;
}
html[data-ansicht="nacht"] {
  --akzent: #7fe3ff; --akzent2: #ff6bd5; --tief: #0b0d18; --panel: rgba(18, 20, 40, .93); --panel2: rgba(14, 16, 32, .97);
  --text: #eef0fb; --mute: #c9cde4; --rand: rgba(127, 227, 255, .5); --knopf1: #2e3460; --knopf2: #1d2142;
  --filz1: #23607a; --filz2: #143e54; --filz3: #0a2333; --bande1: #2b2236; --bande2: #15101d;
}
html[data-ansicht="hell"] {
  --akzent: #8a3a12; --akzent2: #a3232e; --akzent3: #f8efe0; --tief: #e9dcc6; --panel: rgba(251, 246, 236, .95); --panel2: rgba(251, 246, 236, .98);
  --text: #2a140c; --mute: #4d3424; --rand: rgba(110, 60, 30, .45); --knopf1: #f1e2c6; --knopf2: #dcc49a; --knopfText: #2a140c;
  --gruen: #2e7d3a; --rot: #a3231b; --gold: #8a5a10;
  --filz1: #4ea873; --filz2: #2f7f52; --filz3: #1d5a38; --bande1: #9a5a34; --bande2: #6a3518;
}
body { background: var(--tief); color: var(--text); }
#kulisse { position: fixed; inset: 0; z-index: 0; overflow: clip; background: #3a1016 url(img/saal-abend.webp?v=1796600000) center / cover no-repeat; }
body.hoch #kulisse { background-image: url(img/saal-abend-hoch.webp?v=1796600000); }
html[data-ansicht="nacht"] #kulisse { background-image: url(img/saal-nacht.webp?v=1796600000); background-color: #0e1020; }
html[data-ansicht="nacht"] body.hoch #kulisse { background-image: url(img/saal-nacht-hoch.webp?v=1796600000); }
html[data-ansicht="hell"] #kulisse { background-image: url(img/saal-hell.webp?v=1796600000); background-color: #d9c3a0; }
html[data-ansicht="hell"] body.hoch #kulisse { background-image: url(img/saal-hell-hoch.webp?v=1796600000); }
#kulisse i { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 12%, rgba(255, 220, 160, .16), transparent 26%), radial-gradient(ellipse at 72% 10%, rgba(255, 210, 150, .14), transparent 24%);
  animation: rauch 9s ease-in-out infinite alternate; }
#kulisse b { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(255, 80, 100, .12), transparent 40%); animation: neon 5s steps(1) infinite; }
@keyframes rauch { from { opacity: .5; transform: translateX(0); } to { opacity: 1; transform: translateX(14px); } }
@keyframes neon { 0%, 46%, 50%, 100% { opacity: 1; } 47%, 49% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { #kulisse i, #kulisse b { animation: none; } }
#buehne { z-index: 1; }
#hud { z-index: 2; }
#logo::before { content: ''; display: block; width: 58px; height: 40px; margin: -2px auto 4px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cg transform='rotate(-12 20 22)'%3E%3Crect x='8' y='4' width='24' height='34' rx='3' fill='%23fffaf0' stroke='%23888'/%3E%3Ctext x='13' y='17' font-family='Georgia' font-weight='700' font-size='11' fill='%23141414'%3EA%3C/text%3E%3C/g%3E%3Cg transform='rotate(10 38 22)'%3E%3Crect x='26' y='4' width='24' height='34' rx='3' fill='%23fffaf0' stroke='%23888'/%3E%3Ctext x='31' y='17' font-family='Georgia' font-weight='700' font-size='11' fill='%23d0142c'%3EA%3C/text%3E%3Cpath d='M38 31c-4-3-7-5-7-8 0-2 2-3 3.5-3 1.5 0 2.5 1 3.5 2 1-1 2-2 3.5-2 1.5 0 3.5 1 3.5 3 0 3-3 5-7 8z' fill='%23d0142c'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
body.hoch #logo::before { display: none; }
body:not(.hoch) #logo { font-size: 28px; letter-spacing: .5px; }
@media (max-height: 560px) { body:not(.hoch) #logo { font-size: 19px; letter-spacing: 0; } body:not(.hoch) #logo::before { display: none; } }

#brettbox { touch-action: none; }
#feld { position: relative; z-index: 0; box-sizing: content-box; border-radius: calc(26px * var(--k, 1) + 10px);
  border: max(8px, calc(22px * var(--k, 1))) solid var(--bande1);
  background: url(img/filz.webp?v=1796600000) center / cover, radial-gradient(ellipse at 45% 35%, var(--filz1), var(--filz2) 60%, var(--filz3));
  box-shadow: 0 22px 46px rgba(0, 0, 0, .65), inset 0 0 calc(60px * var(--k, 1)) rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .35), 0 0 0 2px var(--bande2);
  touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
html[data-ansicht="nacht"] #feld { background-image: url(img/filz-nacht.webp?v=1796600000), radial-gradient(ellipse at 45% 35%, var(--filz1), var(--filz2) 60%, var(--filz3)); }
#feld::before { content: ''; position: absolute; inset: calc(-1 * max(8px, calc(22px * var(--k, 1)))); padding: max(8px, calc(22px * var(--k, 1))); border-radius: inherit; pointer-events: none; z-index: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  background: repeating-linear-gradient(100deg, rgba(255, 220, 180, .08) 0 3px, transparent 3px 11px), linear-gradient(160deg, var(--bande1), var(--bande2));
  box-shadow: inset 0 2px 0 rgba(255, 220, 160, .35), inset 0 -3px 0 rgba(0, 0, 0, .45); }
#feld.straehne { box-shadow: 0 22px 46px rgba(0, 0, 0, .65), inset 0 0 calc(60px * var(--k, 1)) rgba(0, 0, 0, .45), 0 0 0 3px #f2c14e, 0 0 34px rgba(255, 200, 80, .75); }
#brett { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; }
#karten { position: absolute; inset: 0; z-index: 1; overflow: visible; }

#kopfleiste { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: calc(14px * var(--k, 1)); padding: 0 calc(18px * var(--k, 1)); box-sizing: border-box; }
#glueck { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 4px 10px; border-radius: 8px; background: rgba(20, 6, 8, .86); border: 1px solid rgba(242, 193, 78, .5); pointer-events: auto; }
#glueck b { font: 800 max(11px, calc(17px * var(--k, 1)))/1 Georgia, serif; letter-spacing: .12em; color: #ff8a92; text-shadow: 0 0 8px rgba(255, 60, 80, .8); white-space: nowrap; }
#glueck.straehne b { color: #ffe27a; text-shadow: 0 0 10px rgba(255, 200, 60, .95); animation: neon 1.2s steps(1) infinite; }
#birnen { display: flex; gap: max(2px, calc(5px * var(--k, 1))); }
#birnen i { width: max(6px, calc(15px * var(--k, 1))); height: max(6px, calc(15px * var(--k, 1))); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #6a5a40, #2a2016); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); transition: background .3s, box-shadow .3s; }
#birnen i.an { background: radial-gradient(circle at 35% 35%, #fffbe0, #ffd34a 45%, #c27a10); box-shadow: 0 0 calc(10px * var(--k, 1)) rgba(255, 210, 80, .95); }
#handanz { container-type: inline-size; flex: 1 1 auto; min-width: 0; height: calc(70px * var(--k, 1) + 14px); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px;
  background: rgba(14, 30, 20, .86); border: 1px solid rgba(255, 255, 255, .18); text-align: center; overflow: hidden; }
#handanz b { font: 800 max(12px, min(calc(26px * var(--k, 1)), 11cqi))/1.05 Georgia, serif; color: #fff3d6; white-space: normal; text-align: center; max-width: 100%; }
#handanz span { font: 600 max(11px, min(calc(16px * var(--k, 1)), 6.6cqi))/1.2 var(--kopf); font-variant-numeric: lining-nums tabular-nums; font-kerning: none; color: #e8dcc0; white-space: normal; line-height: 1.1; }
#feld.gut #handanz { border-color: #f2c14e; box-shadow: 0 0 14px rgba(242, 193, 78, .6); }
#feld.gut #handanz b { color: #ffe27a; }
#feld.schlecht #handanz b { color: #ffb0a8; }
#pott { flex: 0 0 auto; position: relative; width: calc(84px * var(--k, 1)); height: calc(70px * var(--k, 1)); pointer-events: auto; }
#pott i { position: absolute; bottom: 0; width: calc(34px * var(--k, 1)); border-radius: 50% / 18%;
  background: repeating-linear-gradient(0deg, #c8202a 0 calc(5px * var(--k, 1)), #f4ead2 calc(5px * var(--k, 1)) calc(6px * var(--k, 1))); box-shadow: 0 3px 5px rgba(0, 0, 0, .5); }
#pott i:nth-child(1) { left: 0; height: calc(44px * var(--k, 1)); }
#pott i:nth-child(2) { left: calc(26px * var(--k, 1)); height: calc(60px * var(--k, 1)); background: repeating-linear-gradient(0deg, #1f3c8a 0 calc(5px * var(--k, 1)), #f4ead2 calc(5px * var(--k, 1)) calc(6px * var(--k, 1))); }
#pott i:nth-child(3) { left: calc(50px * var(--k, 1)); height: calc(34px * var(--k, 1)); background: repeating-linear-gradient(0deg, #222 0 calc(5px * var(--k, 1)), #e6c25a calc(5px * var(--k, 1)) calc(6px * var(--k, 1))); }
#pott.wackel { animation: wackel .4s; }
@keyframes wackel { 30% { transform: translateY(-4px) rotate(-3deg); } 60% { transform: translateY(1px) rotate(2deg); } }

.karte { position: absolute; width: var(--kw); height: var(--kh); perspective: 600px; transition: transform .14s; will-change: transform; }
.karte .vorn, .karte .hinten { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .35s, filter .2s; border-radius: 50%; }
.karte svg { display: block; width: 100%; height: 100%; }
.karte .hinten { transform: rotateY(180deg); }
.karte.zu .vorn { transform: rotateY(-180deg); }
.karte.zu .hinten { transform: rotateY(0); }
.karte.sel { transform: translateY(calc(-6px * var(--k, 1))) scale(1.05); z-index: 2; }
.karte.sel .vorn { filter: drop-shadow(0 0 calc(3px * var(--k, 1) + 1px) #ffd34a) drop-shadow(0 0 calc(3px * var(--k, 1) + 1px) #ffd34a); }
.karte.rat .vorn { filter: drop-shadow(0 0 calc(3px * var(--k, 1) + 1px) #8cffaa) drop-shadow(0 0 8px rgba(120, 255, 160, .9)); }
.karte.treffer .vorn { filter: drop-shadow(0 0 calc(4px * var(--k, 1) + 1px) #ffe27a) drop-shadow(0 0 12px rgba(255, 220, 90, .95)) brightness(1.15); }
.karte.abr .vorn { filter: drop-shadow(0 0 calc(4px * var(--k, 1) + 1px) #ff7a5a) drop-shadow(0 0 10px rgba(255, 110, 80, .9)); }
.karte.joker .vorn { filter: drop-shadow(0 0 6px rgba(255, 220, 120, .8)); }
.karte.neu-joker .vorn { animation: joker .6s ease-out; }
@keyframes joker { 0% { transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { transform: scale(1); } }
.karte.fliegt { z-index: 5; }
.karte .chip { position: absolute; left: 68%; top: -4%; width: 40%; aspect-ratio: 1; transform: translateX(-50%); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); z-index: 2; transition: transform .45s ease-in, opacity .45s; }
.karte .chip svg { width: 100%; height: 100%; }
.karte .chip.neu { animation: chipFall .5s ease-in; }
@keyframes chipFall { from { transform: translate(-50%, -160%) scale(1.4); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.karte .chip.weg { transform: translate(-50%, -260%) scale(.6); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .karte, .karte .vorn, .karte .hinten, .karte .chip { transition: none; } .karte.neu-joker .vorn, .karte .chip.neu, #pott.wackel { animation: none; } }

.re-schrift { position: absolute; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap; font: 800 30px/1 Georgia, serif; color: #fff3d6;
  text-shadow: 0 0 3px rgba(0, 0, 0, .95), 0 3px 6px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .7), 0 0 18px rgba(255, 200, 80, .6); animation: schrift 1.5s ease-out forwards; }
@keyframes schrift { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
.re-flieger { position: fixed; z-index: 60; pointer-events: none; transform: translate(-50%, -50%); margin: 0; white-space: nowrap;
  font: 800 20px/1 'SGZ Ziffern', Georgia, serif; color: #ffe08a; text-shadow: 0 2px 4px rgba(0, 0, 0, .85), 0 0 12px rgba(255, 200, 80, .7); transition: transform .8s cubic-bezier(.5, 0, .7, 1), opacity .8s; }
.re-plopp { animation: plopp .35s; }
@keyframes plopp { 40% { transform: scale(1.12); } }
.re-aus { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); padding: 18px 30px; border-radius: 14px; text-align: center; pointer-events: none;
  background: rgba(30, 8, 12, .94); border: 2px solid #ff8a80; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); transition: opacity .35s; }
.re-aus b { display: block; font: 800 30px/1.1 Georgia, serif; color: #ffb0a8; }
.re-aus span { display: block; margin-top: 6px; font: 600 16px/1.3 var(--kopf); font-variant-numeric: lining-nums tabular-nums; color: #f6e6cc; }
.re-aus.weg { opacity: 0; }
#meld { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 7; max-width: min(92%, 560px); padding: 8px 16px; border-radius: 10px;
  background: rgba(30, 10, 14, .95); border: 1px solid var(--rand); color: #fbefd9; font: 600 14px/1.35 system-ui, sans-serif; text-align: center;
  opacity: 0; transition: opacity .25s; pointer-events: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
#meld.an { opacity: 1; }
#meld.warn { border-color: #ff8a80; }
html[data-ansicht="hell"] #meld { background: rgba(252, 248, 240, .97); color: #2a140c; }

.re-tab { border-collapse: collapse; margin: 6px 0 10px; font-size: 14px; }
.re-tab th, .re-tab td { padding: 3px 10px; border-bottom: 1px solid var(--rand); text-align: left; }
.re-tab td:nth-child(n+2) { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.re-mini { display: inline-block; width: 46px; height: 47px; vertical-align: middle; }
.re-mini svg { width: 100%; height: 100%; display: block; }
.re-chipbild { width: 42px; height: 42px; }
.mo-start figure .re-mini { width: 50px; height: 52px; }

body { --mo-bg1: #5a1a24; --mo-bg2: #3a0f16; --mo-bg3: #22080c; --mo-rand: #f2c14e; --mo-rand-weich: rgba(242, 193, 78, .32); --mo-akzent: #f2c14e; --mo-akzent2: #ff8a92;
  --mo-hell: #fff1d0; --mo-text: #fbefd9; --mo-leise: #e8d6b8; --mo-leiser: #bfa98c; --mo-band1: #ffd36a; --mo-band2: #c2861e; --mo-band-t: #2a1406; }

@media (pointer: coarse) { #ov details > summary { min-height: 44px; display: flex; align-items: center; justify-content: center; } #ov .dlg.mo-tafel .reihe .knopf { height: auto; min-height: 44px; } }
@media (pointer: coarse) and (max-height: 440px) { #ov .dlg.mo-tafel:not(.pause) .mo-leiter { display: none; } }
@media (max-height: 560px) { body:not(.hoch) #hud { padding-left: 6px; padding-right: 6px; } body:not(.hoch) #knoepfe { gap: 4px; } body:not(.hoch) #knoepfe button { min-width: 40px; min-height: 42px; } }
#ov .rechnung { table-layout: fixed; } #ov .rechnung td:first-child { white-space: normal; overflow-wrap: anywhere; } #ov .rechnung td:last-child { width: 34%; }
@media (max-height: 520px) {
  .menue .schildkopf { font-size: 26px; } .menue .unter { display: none; }
  .menue .modi { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
  .menue .modus { display: grid; grid-template-columns: 30px 1fr; grid-template-areas: 'ic b' 'ic sp'; column-gap: 8px; align-items: center; text-align: left; padding: 7px 10px; }
  .menue .modus svg { grid-area: ic; width: 26px; height: 26px; margin: 0; } .menue .modus b { grid-area: b; font-size: 16px; } .menue .modus span { grid-area: sp; font-size: 12px; margin: 0; } .menue .modus em { display: none; }
  .menue h3, .menue [id^="mListe"] { display: none; }
}
@media (max-width: 520px) and (orientation: portrait) {
  .menue .schildkopf { font-size: 30px; letter-spacing: .02em; } .menue .unter { font-size: 13px; line-height: 1.3; margin-bottom: 6px; }
  .menue .modi { gap: 8px; margin: 8px 0 6px; }
  .menue .modus { display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: 'ic b em' 'ic sp sp'; column-gap: 8px; align-items: center; text-align: left; padding: 8px 10px; }
  .menue .modus svg { grid-area: ic; width: 26px; height: 26px; margin: 0; } .menue .modus b { grid-area: b; font-size: 17px; }
  .menue .modus span { grid-area: sp; font-size: 12px; margin: 0; } .menue .modus em { grid-area: em; font-size: 14px; margin: 0; white-space: nowrap; }
  .menue h3 { margin: 8px 0 2px; font-size: 15px; }
}
* { scrollbar-width: thin; scrollbar-color: #a8323e transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: #a8323e; border-radius: 4px; } ::-webkit-scrollbar-track { background: transparent; }
.dlg.mo-tafel .zu { width: 42px; height: 42px; }
.menue .modus:not(.tag) { background-color: var(--knopf2); }
html[data-ansicht="hell"] .menue .modus:not(.tag) { color: var(--text); background: linear-gradient(var(--knopf1), var(--knopf2)); background-color: var(--knopf2); }
html[data-ansicht="hell"] .menue .modus:not(.tag) svg { color: var(--akzent); }
@media (pointer: coarse) { .dlg.mo-tafel button, .dlg.mo-tafel .knopf, .dlg.mo-tafel .reihe .knopf, .dlg.mo-tafel summary { min-height: 40px !important; } }
.sgzzu-x { background: rgba(10, 12, 18, .9) !important; }
@media (max-height: 430px) { .dlg.ende .mo-tipp, .dlg.ende .mo-leiter, .dlg.ende .mo-kopf { display: none; } .dlg.ende h2 { margin: 0; } .dlg.ende .mo-kacheln { margin: 4px 0; }
  .dlg.ende .reihe .knopf, .dlg.ende summary { min-height: 50px !important; } }

#kette { position: absolute; left: 50%; top: calc(var(--k, 1) * 150px); z-index: 5; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: calc(10px * var(--k, 1) + 4px); padding: calc(8px * var(--k, 1) + 4px) calc(18px * var(--k, 1) + 6px);
  border-radius: 14px; background: rgba(20, 8, 12, .88); border: 2px solid #f2c14e; box-shadow: 0 0 24px rgba(255, 200, 80, .6), inset 0 0 18px rgba(255, 200, 80, .25); visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s .3s; }
#kette.an { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); transition: opacity .3s, transform .3s, visibility 0s; }
#kette b { font: 800 max(12px, calc(20px * var(--k, 1))) / 1 Georgia, serif; letter-spacing: .12em; color: #ffe9b0; }
#kette strong { font: 900 max(22px, calc(54px * var(--k, 1))) / 1 'SGZ Ziffern', Georgia, serif; color: #ffe27a; text-shadow: 0 0 12px rgba(255, 190, 40, .95); grid-row: span 2; }
#kette span { display: flex; flex-direction: column-reverse; gap: 1px; align-items: center; min-height: 4px; }
#kette span i { width: max(14px, calc(30px * var(--k, 1))); height: max(3px, calc(6px * var(--k, 1))); border-radius: 50% / 40%; background: repeating-linear-gradient(90deg, #c8202c 0 6px, #f4ead2 6px 9px); box-shadow: 0 1px 0 rgba(0, 0, 0, .5); animation: chipAuf .25s ease-out; }
#kette span i:nth-child(3n+2) { background: repeating-linear-gradient(90deg, #1d4fae 0 6px, #f4ead2 6px 9px); }
#kette span i:nth-child(3n) { background: repeating-linear-gradient(90deg, #1b7f41 0 6px, #f4ead2 6px 9px); }
#kette[data-stufe="3"], #kette[data-stufe="4"] { border-color: #ff8fc8; box-shadow: 0 0 34px rgba(255, 120, 200, .8), inset 0 0 18px rgba(255, 120, 200, .3); }
#kette.stoss strong { animation: kettePlopp .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes kettePlopp { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }
@keyframes chipAuf { 0% { transform: translateY(-10px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.karte.lockt .vorn { filter: drop-shadow(0 0 calc(3px * var(--k, 1) + 1px) #8cffaa); animation: lockt 1s ease-in-out infinite; }
@keyframes lockt { 50% { filter: drop-shadow(0 0 calc(6px * var(--k, 1) + 2px) #8cffaa); } }
#birnen i.neu { animation: birneAn .5s ease-out; }
@keyframes birneAn { 0% { transform: scale(1.9); box-shadow: 0 0 22px #fff3b0; } 100% { transform: scale(1); } }
#feld.beben { animation: beben .45s; }
@keyframes beben { 20% { transform: translate(3px, -2px); } 40% { transform: translate(-3px, 2px); } 60% { transform: translate(2px, 1px); } 80% { transform: translate(-1px, -1px); } }
.re-walzen { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); pointer-events: none; padding: calc(10px * var(--k, 1) + 6px); border-radius: 18px;
  background: linear-gradient(#5a1019, #2a060b); border: 3px solid #e6c25a; box-shadow: 0 0 0 4px #3a0a10, 0 0 40px rgba(255, 200, 80, .7), 0 20px 40px rgba(0, 0, 0, .6); animation: walzenAuf .3s cubic-bezier(.3, 1.5, .5, 1); transition: opacity .35s, transform .35s; }
.re-walzen.weg { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.re-w-kopf { text-align: center; font: 800 max(13px, calc(24px * var(--k, 1))) / 1.2 Georgia, serif; letter-spacing: .14em; color: #ffe27a; text-shadow: 0 0 10px rgba(255, 190, 40, .9); margin-bottom: calc(8px * var(--k, 1) + 2px); animation: neon .5s steps(1) infinite; }
.re-w-fenster { display: flex; gap: calc(8px * var(--k, 1) + 2px); }
.re-walze { width: max(44px, calc(var(--k, 1) * 120px)); height: max(44px, calc(var(--k, 1) * 124px)); overflow: hidden; border-radius: 10px; background: linear-gradient(#e9dfc6, #fffaf0 30%, #fffaf0 70%, #e9dfc6); box-shadow: inset 0 6px 10px rgba(0, 0, 0, .45), inset 0 -6px 10px rgba(0, 0, 0, .45); }
.re-walze.steht { animation: walzeHalt .3s; }
.re-w-band { height: 900%; }
.re-w-band i { display: block; height: calc(100% / 9); padding: 6%; box-sizing: border-box; }
.re-w-band svg { width: 100%; height: 100%; display: block; }
@keyframes walzeHalt { 30% { box-shadow: inset 0 0 0 3px #ffe27a, 0 0 18px #ffe27a; } }
@keyframes walzenAuf { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #kette.stoss strong, #kette span i, .karte.lockt .vorn, #birnen i.neu, #feld.beben, .re-walzen, .re-w-kopf { animation: none; } }

#hud { --gh1: #8a1a28; --gh2: #3c0910; --gh3: #61111b; --birne: #ffd34a; --led: #ffb43a; --led2: #ff5a3c; --chrom: #e6c25a;
  background: linear-gradient(160deg, var(--gh1), var(--gh2) 55%, var(--gh3)); border: 3px solid var(--chrom);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(0, 0, 0, .55), inset 0 0 0 6px rgba(255, 220, 140, .18), inset 0 2px 0 rgba(255, 255, 255, .25); }
html[data-ansicht="nacht"] #hud { --gh1: #1f2a5a; --gh2: #0b0f26; --gh3: #18204a; --birne: #9fe8ff; --chrom: #c8d4f0; }
html[data-ansicht="hell"] #hud { --gh1: #fff6e2; --gh2: #ead3a6; --gh3: #f6e6c4; --chrom: #b8923a; }
#hud::after { content: ''; position: absolute; inset: 3px; border-radius: inherit; border: 4px dotted var(--birne); pointer-events: none; opacity: .9;
  filter: drop-shadow(0 0 3px var(--birne)); animation: lampen 1.1s steps(1) infinite; }
@keyframes lampen { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
#logo { position: relative; border-radius: 12px; padding: 8px 6px 6px; background: radial-gradient(ellipse at 50% 30%, rgba(255, 220, 140, .22), rgba(0, 0, 0, .35) 70%); }
#logo span, #logo b { text-shadow: 0 2px 0 #2a0c10, 0 0 14px rgba(255, 200, 80, .7); }
html[data-ansicht="hell"] #logo span { color: #3a160c; text-shadow: 0 1px 0 #fff, 0 0 10px rgba(255, 200, 80, .6); }
#hud .wert { position: relative; background: linear-gradient(#050203, #160a0c 55%, #070304); border: 2px solid var(--chrom);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .95), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 1px 0 rgba(255, 255, 255, .2); overflow: hidden; }
#hud .wert::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(170deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 38%),
  repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
#hud .wert span { color: #f1d9a0; }
#hud .wert { display: flex; flex-direction: column; justify-content: space-between; } #hud .wert b { margin-top: auto; }
#hud .wert b { font-family: 'SGZ Ziffern', Georgia, serif; color: var(--led); text-shadow: 0 0 6px rgba(255, 160, 40, .9), 0 0 16px rgba(255, 120, 20, .45); }
body.hoch #hud .wert b, body.hoch #hud .wert.klein b { font-size: 19px; letter-spacing: -.02em; }
@media (max-height: 560px) { body:not(.hoch) #hud .wert b { letter-spacing: -.02em; } body:not(.hoch) #hud > #wZeit b, body:not(.hoch) #hud > #wPunkte b { font-size: 18px; } }
html[data-ansicht="hell"] .re-schrift { color: #3a0a10 !important; text-shadow: 0 0 2px #fffaf0, 0 0 4px #fffaf0, 0 0 8px rgba(255, 250, 230, .98), 0 0 14px rgba(255, 240, 200, .9), 0 0 22px rgba(255, 240, 200, .75); }
#hud #wPunkte b { color: #ff6a4a; text-shadow: 0 0 6px rgba(255, 80, 50, .95), 0 0 18px rgba(255, 50, 30, .5); }
html[data-ansicht="nacht"] #hud .wert b { color: #8ff0ff; text-shadow: 0 0 6px rgba(100, 230, 255, .9), 0 0 16px rgba(80, 200, 255, .45); }
#hud .wert.re-zaehlt b { animation: zaehltAuf .5s ease-out; }
@keyframes zaehltAuf { 0% { filter: brightness(2.2); transform: scale(1.12); } 100% { filter: none; transform: none; } }
html[data-ansicht="hell"] #info, html[data-ansicht="hell"] #modus { color: #4d2414; }
#knoepfe button { background: radial-gradient(ellipse at 50% 30%, #ffe9a8, #e2a22a 45%, #9a5a10) !important; color: #2a1004 !important; border: 2px solid #5a3008 !important;
  box-shadow: 0 3px 0 #4a2606, 0 0 10px rgba(255, 190, 60, .55), inset 0 2px 2px rgba(255, 255, 255, .6) !important; }
#knoepfe button#bRat { background: radial-gradient(ellipse at 50% 30%, #d8ffd8, #4cc46a 45%, #1d6a32) !important; color: #06240e !important; border-color: #0e3a1a !important; box-shadow: 0 3px 0 #0e3a1a, 0 0 10px rgba(90, 230, 120, .55), inset 0 2px 2px rgba(255, 255, 255, .6) !important; }
#knoepfe button#bPause { background: radial-gradient(ellipse at 50% 30%, #ffd0d0, #e0444e 45%, #7a1018) !important; color: #2a0306 !important; border-color: #4a060c !important; box-shadow: 0 3px 0 #4a060c, 0 0 10px rgba(255, 80, 90, .55), inset 0 2px 2px rgba(255, 255, 255, .6) !important; }
#knoepfe button svg { color: inherit !important; }
#knoepfe button:active { box-shadow: 0 1px 0 #4a2606, 0 0 16px rgba(255, 200, 80, .9) !important; }
#zahltafel { position: relative; border-radius: 10px; padding: 6px 8px 7px; background: linear-gradient(#0a0405, #1c0b0e); border: 2px solid var(--chrom); box-shadow: inset 0 3px 10px rgba(0, 0, 0, .9); }
#zahltafel h4 { margin: 0 0 4px; text-align: center; font: 800 12px/1.2 Georgia, serif; letter-spacing: .22em; color: #ffe27a; text-shadow: 0 0 8px rgba(255, 190, 40, .8); }
#zahltafel { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 4px; flex: 0 0 auto; }
#zahltafel h4, #zahltafel .x2, #zahltafel div.str { grid-column: 1 / -1; }
#zahltafel div { display: flex; justify-content: space-between; gap: 3px; padding: 0 3px; border-radius: 4px; font: 600 11px/1.5 var(--kopf); color: #e8d6b8; white-space: nowrap; min-width: 0; }
#zahltafel div span { overflow: hidden; text-overflow: clip; }
#zahltafel div b { font: 700 11px/1.5 'SGZ Ziffern', Georgia, serif; color: var(--led, #ffb43a); }
#hud > .wert, #hud > #eigen, #hud > #logo, #hud > #knoepfe { flex-shrink: 0; }
#zahltafel div.str { color: #ff9fd0; } #zahltafel div.str b { color: #ff9fd0; }
#zahltafel div.str.aus { opacity: .55; }
#zahltafel div.wahl { background: rgba(140, 255, 170, .16); box-shadow: inset 0 0 0 1px rgba(140, 255, 170, .6); }
#zahltafel div.blinkt { animation: zahlBlink .22s steps(1) 6; background: rgba(255, 214, 90, .28); color: #fff3d6; }
#zahltafel div.blinkt b { color: #fff3d6; }
@keyframes zahlBlink { 50% { background: rgba(255, 214, 90, .75); color: #2a1004; } }
#zahltafel .x2 { display: none; text-align: center; font: 800 11px/1.3 var(--kopf); color: #ff9fd0; letter-spacing: .08em; }
#zahltafel.straehne .x2 { display: block; animation: neon .8s steps(1) infinite; }
body.hoch #zahltafel { display: none; }
@media (max-height: 780px) { body:not(.hoch) #zahltafel { display: none; } }
#handanz { background: linear-gradient(#050203, #160a0c 55%, #070304) !important; border: 2px solid #e6c25a !important; box-shadow: inset 0 3px 10px rgba(0, 0, 0, .95), 0 0 10px rgba(255, 200, 80, .25); }
#handanz b { color: #ffb43a; text-shadow: 0 0 8px rgba(255, 160, 40, .85); }
#feld.gut #handanz b { color: #ffe27a; }
@media (prefers-reduced-motion: reduce) { #hud::after, #hud .wert.re-zaehlt b, #zahltafel div.blinkt, #zahltafel.straehne .x2 { animation: none; } }

.mo-leiter { margin-bottom: 26px; }
.mo-leiter-bahn em:nth-of-type(even) b { bottom: auto; top: 22px; }
.mo-leiter-bahn em:first-of-type b { left: -2px; transform: none; }
.mo-leiter-bahn em:last-of-type b { left: auto; right: -2px; transform: none; }
.mo-leiter p { margin-top: 30px; }
@media (min-width: 900px) and (min-height: 620px) {
  #ov .dlg.mo-tafel { width: min(740px, 94vw); padding: 28px 36px 26px; border-radius: 24px; }
  #ov .dlg.mo-tafel .mo-kopf { font-size: 15px; padding-bottom: 12px; }
  #ov .dlg.mo-tafel .mo-zahl b { font-size: 76px; }
  #ov .dlg.mo-tafel .mo-zahl span { font-size: 15px; }
  #ov .dlg.mo-tafel .mo-kacheln { gap: 16px; margin: 20px 0 16px; }
  #ov .dlg.mo-tafel .mo-kachel { padding: 14px 10px 12px; border-radius: 14px; }
  #ov .dlg.mo-tafel .mo-kachel span { font-size: 13px; }
  #ov .dlg.mo-tafel .mo-kachel b { font-size: 31px; line-height: 1.2; }
  #ov .dlg.mo-tafel .mo-kachel > small { font-size: 13px; margin-top: 3px; }
  #ov .dlg.mo-tafel .mo-leiter { margin: 26px 10px 28px; }
  #ov .dlg.mo-tafel .mo-leiter-bahn { height: 12px; }
  #ov .dlg.mo-tafel .mo-leiter-bahn em b { font-size: 13px; }
  #ov .dlg.mo-tafel .mo-leiter p { font-size: 16px; }
  #ov .dlg.mo-tafel .reihe { margin-top: 22px; gap: 16px; }
  #ov .dlg.mo-tafel .reihe .knopf { min-height: 50px; min-width: 170px; font-size: 17px; }
  #ov .dlg.mo-tafel p, #ov .dlg.mo-tafel .rechnung td { font-size: 15px; }
  .rd-level { width: min(540px, calc(100% - 24px)); }
  .rd-level.mo-mini { padding: 16px 22px 14px; border-radius: 18px; }
  .rd-level .mo-mini-kopf { font-size: 15px; } .rd-level .mo-mini-kopf b { font-size: 34px; }
  .rd-level .mo-kacheln { gap: 12px; margin: 12px 0 8px; } .rd-level .mo-kachel { padding: 10px 8px 9px; }
  .rd-level .mo-kachel span { font-size: 13px; } .rd-level .mo-kachel b, .rd-level .mo-kacheln.mo-klein .mo-kachel b { font-size: 25px; }
  .rd-level .rd-abr { font-size: 17px; } .rd-level .rd-abr .mo-abr td { padding: 4px 6px; }
  .rd-level .rd-summe { font-size: 24px; padding-top: 6px; }
  .rd-level .mo-sterne { margin-top: 10px; }
  .rd-level .mo-gruende { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 6px; }
  .rd-level .mo-gruende > * { font-size: 14px !important; } .rd-level .mo-mini-fuss { font-size: 15px; margin-top: 6px; }
  .mo-start { width: min(580px, 92%); }
  .mo-start h3 { font-size: 38px; }
  .mo-start > p { font-size: 17px; }
  .mo-start-kopf, .mo-start-neu > span { font-size: 14px; }
}
#brettbox:has(.rd-level) #meld { opacity: 0; visibility: hidden; }
.re-tab td.re-bsp { text-align: left !important; white-space: nowrap; padding-top: 4px; padding-bottom: 4px; }
.re-bsp i { display: inline-block; width: 26px; height: 27px; margin-right: -5px; vertical-align: middle; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.re-bsp i svg { width: 100%; height: 100%; display: block; }
@media (max-width: 560px) {
  .re-tab, .re-tab tbody { display: block; } .re-tab tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--rand); }
  .re-tab th, .re-tab td { border-bottom: 0; padding: 3px 6px; } .re-tab th:nth-child(2) { display: none; }
  .re-tab td.re-bsp { grid-column: 1 / -1; order: 3; padding-top: 0; padding-bottom: 6px; }
  .re-bsp i { width: 32px; height: 33px; margin-right: -2px; } }
.karte .chip.gold { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6)) drop-shadow(0 0 6px rgba(255, 200, 60, .85)); animation: goldPuls 1.6s ease-in-out infinite; }
@keyframes goldPuls { 50% { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px rgba(255, 220, 90, 1)); } }
@media (prefers-reduced-motion: reduce) { .karte .chip.gold { animation: none; } }
.karte .chip.gold.neu { animation: chipFall .5s ease-in, goldPuls 1.6s ease-in-out .5s infinite; }
.karte .chip.gold { width: 47%; }
#ov .dlg.menue { position: relative; border: 3px solid #e6c25a; box-shadow: 0 18px 40px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(0, 0, 0, .55), inset 0 0 0 6px rgba(255, 220, 140, .14); }
#ov .dlg.menue::after { content: ''; position: absolute; inset: 4px; border-radius: inherit; border: 4px dotted #ffd34a; pointer-events: none; filter: drop-shadow(0 0 3px #ffd34a); animation: lampen 1.1s steps(1) infinite; }
html[data-ansicht="nacht"] #ov .dlg.menue::after { border-color: #9fe8ff; filter: drop-shadow(0 0 3px #9fe8ff); }
#ov .dlg.menue .schildkopf { text-shadow: 0 2px 0 #2a0c10, 0 0 18px rgba(255, 200, 80, .75); }
@media (prefers-reduced-motion: reduce) { #ov .dlg.menue::after { animation: none; } }

.re-show { position: absolute; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: calc(4px * var(--k, 1) + 2px);
  padding: calc(6px * var(--k, 1) + 3px) calc(12px * var(--k, 1) + 4px); border-radius: 14px; background: rgba(20, 6, 10, .88); border: 2px solid #e6c25a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 200, 80, .45); animation: showdown 1.7s ease-out forwards; }
.re-show b { font: 800 max(14px, calc(26px * var(--k, 1))) / 1 Georgia, serif; color: #fff3d6; white-space: nowrap; text-shadow: 0 2px 4px rgba(0, 0, 0, .9); letter-spacing: .02em; }
.re-show.gross b { font-size: max(16px, calc(32px * var(--k, 1))); }
.re-show span { display: flex; gap: calc(8px * var(--k, 1) + 3px); }
.re-show em { display: flex; gap: 2px; padding: 2px 3px 4px; border-bottom: 3px solid #ffd34a; border-radius: 3px; }
.re-show i { display: block; width: max(28px, calc(52px * var(--k, 1))); height: max(28px, calc(52px * var(--k, 1))); }
.re-show i svg { width: 100%; height: 100%; display: block; }
.re-show em i { animation: showJeton .4s ease-out backwards; }
.re-show em:nth-child(2) i { animation-delay: .12s; } .re-show em:nth-child(3) i { animation-delay: .24s; }
@keyframes showdown { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 20% { transform: translate(-50%, -50%) scale(1); } 78% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -80%); } }
@keyframes showJeton { from { transform: translateY(-14px) rotate(-25deg); opacity: 0; } }
html[data-ansicht="hell"] .re-show { background: rgba(255, 248, 232, .92); } html[data-ansicht="hell"] .re-show b { color: #3a0a10; text-shadow: none; }
.karte.frisch .vorn { animation: frisch .7s ease-out; }
@keyframes frisch { 0% { filter: drop-shadow(0 0 0 rgba(160, 230, 255, 0)); } 35% { filter: drop-shadow(0 0 calc(5px * var(--k, 1) + 2px) #a8ecff) brightness(1.2); } 100% { filter: none; } }
.karte.glanz .vorn { animation: glanz .95s ease-in-out; }
@keyframes glanz { 50% { filter: brightness(1.45) drop-shadow(0 0 calc(4px * var(--k, 1) + 1px) rgba(255, 250, 220, .95)); } }
#feld.heiss { box-shadow: 0 22px 46px rgba(0, 0, 0, .65), inset 0 0 calc(70px * var(--k, 1)) rgba(255, 110, 30, .45), 0 0 0 3px #ff9a3c, 0 0 40px rgba(255, 130, 40, .8); transition: box-shadow .3s; }
.re-zielflug { position: fixed; z-index: 60; pointer-events: none; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 800 15px/1 'SGZ Ziffern', Georgia, serif; color: #2a1004; background: radial-gradient(circle at 35% 30%, #fff6c8, #ffd34a 55%, #c48a12); border: 2px solid #fff3c0;
  box-shadow: 0 0 16px rgba(255, 210, 80, .95), 0 3px 6px rgba(0, 0, 0, .6); transition: transform .85s cubic-bezier(.5, -.4, .7, 1); }
#hud .wert.re-ziel { animation: zielPlopp .6s ease-out; }
@keyframes zielPlopp { 0% { box-shadow: 0 0 0 0 rgba(255, 214, 90, .9); } 40% { box-shadow: 0 0 0 6px rgba(255, 214, 90, .55), 0 0 22px rgba(255, 214, 90, .9); } 100% { box-shadow: none; } }
#eigen[data-knapp] .wert:nth-child(3) b { color: #ff6a5a !important; text-shadow: 0 0 10px rgba(255, 60, 40, .9); animation: knapp 1s ease-in-out infinite; }
#eigen[data-knapp="letzter"] .wert:nth-child(3) b { animation-duration: .5s; }
@keyframes knapp { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .re-show, .re-show em i, .karte.frisch .vorn, .karte.glanz .vorn, #hud .wert.re-ziel, #eigen[data-knapp] .wert:nth-child(3) b { animation: none; } .re-zielflug { transition: none; } }

#jpz { display: flex; align-items: baseline; gap: 5px; font-style: normal; margin-top: 1px; }
#jpz small { font: 800 max(9px, calc(11px * var(--k, 1)))/1 Georgia, serif; letter-spacing: .1em; color: #ffd34a; }
#jpz span { font: 800 max(11px, calc(17px * var(--k, 1)))/1 'SGZ Ziffern', Georgia, serif; color: #ffb43a; text-shadow: 0 0 8px rgba(255, 160, 40, .85); }
#croupier { position: absolute; left: calc(100% + 26px); bottom: 12%; width: 132px; display: none; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 3; }
#croupier.da { display: flex; }
#croupier i { display: block; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 4px solid #e6c25a; background: #1b0b0e; box-shadow: 0 8px 18px rgba(0, 0, 0, .6), 0 0 16px rgba(255, 200, 80, .35); transform-origin: 50% 90%; }
#croupier img { width: 100%; height: 100%; display: block; }
#croupier b { font: 700 13px/1.1 Georgia, serif; color: #2a1004; background: linear-gradient(#ffe8a0, #d9a52a); padding: 3px 10px; border-radius: 6px; white-space: nowrap; box-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
#croupier p { order: -1; margin: 0; width: 150px; min-height: 0; padding: 8px 10px; border-radius: 12px; background: rgba(255, 248, 232, .95); color: #2a0c10; font: 600 13px/1.25 Georgia, serif; text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; position: relative; }
#croupier p::after { content: ''; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: rgba(255, 248, 232, .95); }
#croupier.spricht p { opacity: 1; transform: none; }
#croupier.nickt i { animation: nickt .6s ease-in-out; }
#croupier.staunt i { animation: staunt .7s ease-out; }
@keyframes nickt { 30% { transform: rotate(-6deg); } 65% { transform: rotate(4deg); } }
@keyframes staunt { 25% { transform: translateY(-12px) scale(1.08); } 55% { transform: translateY(0) scale(.98); } }
.re-stempel { position: absolute; left: 50%; top: 58%; z-index: 6; pointer-events: none; display: flex; flex-direction: column; align-items: center; padding: 10px 22px; border: 5px double #c8202c; border-radius: 12px;
  color: #c8202c; background: rgba(255, 248, 232, .92); transform: translate(-50%, -50%) rotate(-9deg); animation: stempel 2.3s ease-out forwards; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.re-stempel small { font: 800 max(11px, calc(16px * var(--k, 1)))/1 Georgia, serif; letter-spacing: .14em; }
.re-stempel b { font: 800 max(16px, calc(34px * var(--k, 1)))/1.1 Georgia, serif; white-space: nowrap; }
@keyframes stempel { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(2.4); } 14% { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(.94); } 20% { transform: translate(-50%, -50%) rotate(-9deg) scale(1); } 82% { opacity: 1; } 100% { opacity: 0; } }
.re-rad { position: absolute; left: 50%; top: 52%; z-index: 7; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 18px 16px; border-radius: 22px;
  background: rgba(20, 6, 10, .92); border: 3px solid #e6c25a; box-shadow: 0 14px 34px rgba(0, 0, 0, .7), 0 0 30px rgba(255, 200, 80, .5); animation: walzenAuf .35s ease-out; }
.re-rad.weg { opacity: 0; transition: opacity .35s; }
.re-rad-kopf { font: 800 max(15px, calc(30px * var(--k, 1)))/1 Georgia, serif; letter-spacing: .16em; color: #ffe27a; text-shadow: 0 0 12px rgba(255, 200, 80, .8); }
.re-rad-scheibe { position: relative; width: max(190px, calc(380px * var(--k, 1))); aspect-ratio: 1; }
.re-rad-scheibe svg { width: 100%; height: 100%; display: block; }
.re-rad-scheibe i { position: absolute; left: 50%; top: -6px; margin-left: -13px; width: 0; height: 0; border: 13px solid transparent; border-top: 26px solid #ffe27a; border-bottom: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7)); }
.re-rad-text { min-height: 2.6em; display: flex; flex-direction: column; align-items: center; text-align: center; }
.re-rad-text b { font: 800 max(16px, calc(30px * var(--k, 1)))/1.1 Georgia, serif; color: #ffe27a; }
.re-rad-text span { font: 600 max(12px, calc(17px * var(--k, 1)))/1.25 Georgia, serif; color: #f1d9a0; max-width: 18em; }
.re-rad.steht .re-rad-scheibe { animation: plopp .4s; }
.re-jackpot { position: absolute; left: 50%; top: 46%; z-index: 7; transform: translate(-50%, -50%); pointer-events: none; display: flex; flex-direction: column; align-items: center; padding: 14px 30px; border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, #3a0a10, #12040a); border: 4px solid #ffd34a; box-shadow: 0 0 40px rgba(255, 210, 80, .9), 0 14px 30px rgba(0, 0, 0, .7); animation: showdown 2.4s ease-out forwards; }
.re-jackpot small { font: 800 max(16px, calc(34px * var(--k, 1)))/1 Georgia, serif; letter-spacing: .2em; color: #ffe27a; animation: neon .8s steps(1) infinite; }
.re-jackpot b { font: 800 max(30px, calc(78px * var(--k, 1)))/1.05 'SGZ Ziffern', Georgia, serif; color: #ffb43a; text-shadow: 0 0 18px rgba(255, 160, 40, .95); }
.re-jackpot span { font: 600 max(12px, calc(17px * var(--k, 1)))/1.2 Georgia, serif; color: #f1d9a0; }
#zahltafel div.hdt span::after { content: ' ×2'; color: #9fe8ff; font-weight: 800; }
#zahltafel div.hdt { box-shadow: inset 0 0 0 1px rgba(159, 232, 255, .7); border-radius: 3px; }
.re-album { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 14px; }
.re-album div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; border-radius: 10px; border: 2px solid rgba(230, 194, 90, .55); background: rgba(0, 0, 0, .25); text-align: center; }
.re-album div.fehlt { filter: grayscale(1) brightness(.6); border-style: dashed; }
.re-album div.selten { border-color: #ffd34a; box-shadow: 0 0 12px rgba(255, 210, 80, .5); }
.re-album b { font: 700 14px/1.15 Georgia, serif; } .re-album small { font-size: 12px; opacity: .85; }
.re-album .re-bsp { justify-content: center; }
@media (prefers-reduced-motion: reduce) { #croupier i, .re-stempel, .re-rad, .re-jackpot, .re-jackpot small { animation: none; } }
.re-album .re-bsp i { width: 30px; height: 30px; }
#ov .dlg.mo-tafel .zu { width: 46px; height: 46px; }
@media (pointer: coarse) { #ov .dlg.mo-tafel button, #ov .dlg.mo-tafel .knopf, #ov .dlg.mo-tafel .reihe .knopf { min-height: 44px !important; } }
@media (pointer: coarse) and (max-height: 430px) { #ov .dlg.ende.mo-tafel .reihe .knopf, #ov .dlg.ende.mo-tafel summary { min-height: 52px !important; } }
#m_lern { display: none !important; }
#lo-lern { margin: 8px 0 0; min-height: 66px; justify-content: center; }
body.reno-lern #bNeu, body.reno-lern #bRat, body.reno-lern #zahltafel, body.reno-lern #wZeit { display: none !important; }
#feld .sgzl-ziel { z-index: 3; outline-offset: 2px; }
#lernEnde .lernlob { margin: 8px 0; font-size: 16px; line-height: 1.45; }
:root { --sgzl-grund: rgba(26, 14, 12, .96); --sgzl-text: #fff3d6; --sgzl-akzent: #f2c45c; --sgzl-akzent-text: #2a1804; }
#hud .sgzl { margin: 6px 0; }
body.reno-lern #modus { display: none !important; }
body.reno-lern:not(.hoch) #hud { overflow-y: auto; scrollbar-width: none; }
body.hoch.reno-lern #hud { grid-template-areas: 'logo logo punkte punkte' 'e1 e1 e2 e2' 'lern lern lern lern' 'kn kn kn kn'; }
body.hoch #hud .sgzl { grid-area: lern; margin: 2px 0; padding: 8px 56px 8px 10px; }
body.hoch #hud .sgzl-titel { font-size: 15px; } body.hoch #hud .sgzl-text { font-size: 13px; line-height: 1.32; } body.hoch #hud .sgzl-punkte { display: none; }
body.hoch #hud .sgzl-weiter { min-height: 42px; margin-top: 6px; }
@media (max-height: 880px) and (min-aspect-ratio: 1/1) {
  body.reno-lern:not(.hoch) #hud .sgzl { padding: 8px 52px 8px 10px; margin: 4px 0; } #hud .sgzl-titel { font-size: 15px; } #hud .sgzl-text { font-size: 13.5px; line-height: 1.34; }
  #hud .sgzl-punkte { display: none; } #hud .sgzl-weiter { min-height: 40px; margin-top: 6px; }
}
@media (max-height: 780px) and (min-aspect-ratio: 1/1) { body.reno-lern:not(.hoch) #logo { display: none; } }
#feld .karte * { pointer-events: none; }
@media (max-height: 560px) and (min-aspect-ratio: 1/1) {
  body.reno-lern:not(.hoch) #buehne { grid-template-columns: 330px 1fr; }
  body.reno-lern:not(.hoch) #wPunkte { display: none; }
  body.reno-lern:not(.hoch) #eigen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.reno-lern:not(.hoch) #eigen .wert { margin: 0; }
  body.reno-lern:not(.hoch) #hud .sgzl { padding: 6px 50px 8px 10px; margin: 4px 0; } body.reno-lern:not(.hoch) #hud .sgzl-kopf { margin-bottom: 0; }
  body.reno-lern:not(.hoch) #hud .sgzl-titel { font-size: 14px; margin-bottom: 2px; } body.reno-lern:not(.hoch) #hud .sgzl-text { font-size: 13px; line-height: 1.3; }
  body.reno-lern:not(.hoch) #hud .sgzl-weiter { min-height: 40px; margin-top: 4px; white-space: nowrap; }
}
@media (min-width: 701px) {
  .menue .modi.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .menue:has(.modi.n4) { width: min(900px, 100%); }
}
@media (min-width: 701px) and (min-height: 761px) {
  .menue:has(#mListe_woche) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; align-content: start; }
  .menue:has(#mListe_woche) > * { grid-column: 1 / -1; }
  .menue:has(#mListe_woche) > h3 { grid-row: 5; margin: 10px 0 2px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menue:has(#mListe_woche) > [id^="mListe"] { grid-row: 6; min-width: 0; }
  .menue:has(#mListe_woche) > h3:nth-of-type(1), .menue:has(#mListe_woche) > #mListe_blitz { grid-column: 1; }
  .menue:has(#mListe_woche) > h3:nth-of-type(2), .menue:has(#mListe_woche) > #mListe_tag { grid-column: 2; }
  .menue:has(#mListe_woche) > h3:nth-of-type(3), .menue:has(#mListe_woche) > #mListe_woche { grid-column: 3; }
  .menue [id^="mListe"] .liste { font-size: 13px; } .menue [id^="mListe"] .liste td { padding: 3px 4px; }
  .menue [id^="mListe"] .liste td:nth-child(2) { max-width: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 701px) and (min-height: 761px) and (max-height: 900px) { .menue [id^="mListe"] .liste tr:nth-child(n+4) { display: none; } }
@media (min-width: 701px) and (max-height: 760px) { .menue h3, .menue [id^="mListe"] { display: none; } }
@media (max-width: 700px) and (max-height: 900px) { .menue h3, .menue [id^="mListe"] { display: none; } }
@media (max-width: 700px) { .menue .modi.n4 { grid-template-columns: 1fr; } }
@media (max-height: 520px) { .menue .modi, .menue .modi.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .menue:has(.modi.n4) { width: min(900px, 100%); } }
@media (min-width: 701px) and (max-height: 640px) { .menue > .unter { display: none; } .menue .modus span { display: none; } .menue .modus { padding-top: 8px; padding-bottom: 8px; } }
