/* Poker: Fernseher (.pk…) und Handy (.pkh…). Dunkler Raum, grüner Filztisch mit Holzrand, Karten und Chips selbst gezeichnet.
   Bewegung nur mit transform und opacity (schwacher TV-Chip); /tv?standbild schaltet alles ab (design.css). */
:root { --pk-gold: #ffd166; --pk-rot: #d3263a; --pk-schwarz: #161a22; }

/* ── Karten (beide Ansichten): Größe über --w am Elternteil, Neigung über --r ── */
.pk-k { position: relative; flex: none; width: var(--w, 112px); height: calc(var(--w, 112px) * 1.4); border-radius: calc(var(--w, 112px) * .1);
  background: linear-gradient(160deg, #ffffff, #ecebe6); color: var(--pk-schwarz); font-family: "Outfit", "Segoe UI", sans-serif;
  box-shadow: 0 calc(var(--w, 112px) * .06) calc(var(--w, 112px) * .16) rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(0, 0, 0, .12); transform: rotate(var(--r, 0deg)); }
.pk-k.rot { color: var(--pk-rot); }
.pk-k b { position: absolute; left: 9%; top: 5%; font-size: calc(var(--w, 112px) * .3); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.pk-k i { position: absolute; left: 11%; top: 31%; font-style: normal; font-size: calc(var(--w, 112px) * .22); line-height: 1; }
.pk-k em { position: absolute; right: 8%; bottom: 5%; font-style: normal; font-size: calc(var(--w, 112px) * .6); line-height: 1; }
.pk-k.ruecken { background: radial-gradient(circle at 50% 50%, rgba(255, 209, 102, .5) 0 9%, transparent 10%),
  radial-gradient(circle at 50% 50%, transparent 0 17%, rgba(255, 209, 102, .35) 18% 20%, transparent 21%),
  repeating-linear-gradient(45deg, #8e1f2f 0 4px, #761625 4px 8px);
  box-shadow: inset 0 0 0 calc(var(--w, 112px) * .055) #f3efe6, inset 0 0 0 calc(var(--w, 112px) * .08) #c9a24b, 0 calc(var(--w, 112px) * .06) calc(var(--w, 112px) * .16) rgba(0, 0, 0, .5); }
.pk-k.leer { background: rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); }
@keyframes pk-auf { 0% { opacity: 0; transform: perspective(900px) translateY(-36px) rotateY(95deg) rotate(var(--r, 0deg)); }
  60% { opacity: 1; transform: perspective(900px) translateY(-6px) rotateY(-8deg) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: perspective(900px) rotateY(0) rotate(var(--r, 0deg)); } }

/* ── Fernseher ── */
.pk { position: absolute; inset: 0; overflow: hidden; font-family: "Outfit", "Segoe UI", sans-serif;
  background: radial-gradient(1300px 760px at 50% 46%, #0f231b 0%, #080b0f 62%, #05070a 100%); }
.pk-licht { position: absolute; left: 50%; top: -300px; width: 1600px; height: 1000px; margin-left: -800px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, rgba(255, 236, 200, .12), transparent 62%); }
.pk-pos { position: absolute; width: 0; height: 0; display: flex; align-items: center; justify-content: center; }
.pk-pos > * { flex: none; }

/* Tisch: Holzrand (1432 × 672), Filz innen (1360 × 600), Mitte bei 960/488 */
.pk-tisch { position: absolute; left: 244px; top: 152px; width: 1432px; height: 672px; border-radius: 50%;
  background: linear-gradient(180deg, #8a5532 0%, #5a3320 38%, #3a1f11 70%, #24130a 100%);
  box-shadow: 0 50px 110px rgba(0, 0, 0, .8), 0 0 0 3px #150c06, inset 0 4px 0 rgba(255, 222, 180, .28), inset 0 -8px 18px rgba(0, 0, 0, .55); }
.pk-tisch::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .12), inset 0 0 0 10px rgba(0, 0, 0, .18); }
.pk-filz { position: absolute; inset: 36px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse at 50% 36%, #1f7f55 0%, #145c3d 42%, #0b3a27 78%, #072519 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .4), inset 0 18px 50px rgba(0, 0, 0, .55), inset 0 -14px 44px rgba(0, 0, 0, .45); }
.pk-filz::before { content: ""; position: absolute; inset: 58px 84px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .07); }
.pk-filz::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px), radial-gradient(ellipse at 50% 30%, rgba(255, 240, 200, .10), transparent 60%); }

/* Kopf links/rechts */
.pk-info { position: absolute; left: 52px; top: 38px; display: flex; flex-direction: column; gap: 4px; }
.pk-info.rechts { left: auto; right: 52px; align-items: flex-end; text-align: right; }
.pk-info b { font-size: 30px; font-weight: 900; letter-spacing: 1px; }
.pk-info span { font-size: 22px; color: var(--text2); }
.pk-info small { font-size: 18px; font-weight: 700; color: var(--pk-gold); }
.pk-info.rechts small { color: var(--text3); font-weight: 600; }

/* Sitze: Namensschild, Karten zum Tisch hin, Sprechblase nach außen */
.pk-sitz { position: relative; flex: none; width: 236px; height: 84px; }
.pk-schild { position: relative; z-index: 2; height: 84px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 12px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(32, 38, 52, .97), rgba(14, 17, 25, .97)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pk-schild > i:not(.pk-zeit) { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 26px;
  color: #0b0d12; background: var(--f); box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), 0 0 20px -4px var(--f); }
.pk-schild > div { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pk-schild b { font-size: 24px; font-weight: 800; color: var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
.pk-schild span { font-size: 23px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-schild span small { font-size: 18px; color: var(--text2); }
.pk-marken { margin: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pk-marken em { font-style: normal; font-size: 14px; font-weight: 900; letter-spacing: 1px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .12); color: var(--text2); }
.pk-marken em.bb { background: rgba(255, 209, 102, .2); color: var(--pk-gold); }
.pk-marken em.aus { background: rgba(255, 93, 93, .18); color: #ff8a8a; }
.pk-zeit { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--pk-gold); transform-origin: left center; animation: pk-zeit var(--d) linear var(--v) both; }
@keyframes pk-zeit { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.pk-sitz.dran .pk-schild { transform: scale(1.07); border-color: var(--pk-gold); box-shadow: 0 0 0 3px var(--pk-gold), 0 0 56px -4px rgba(255, 209, 102, .75), 0 16px 32px rgba(0, 0, 0, .6); }
.pk-sitz.dran::before { content: ""; position: absolute; z-index: 1; left: -12px; right: -12px; top: -12px; bottom: -12px; border-radius: 32px; border: 3px solid var(--pk-gold);
  animation: pk-puls 1.5s ease-out infinite; opacity: 0; }
@keyframes pk-puls { from { opacity: .85; transform: scale(.95); } to { opacity: 0; transform: scale(1.14); } }
.pk-sitz.gepasst .pk-schild > * { opacity: .5; }
.pk-sitz.raus { opacity: .3; }
.pk-sitz.wartet .pk-schild { opacity: .6; }
.pk-sitz.weg .pk-schild > i { opacity: .45; }
.pk-sitz.sieger .pk-schild { border-color: var(--pk-gold); box-shadow: 0 0 0 3px var(--pk-gold), 0 0 70px rgba(255, 209, 102, .7), 0 16px 32px rgba(0, 0, 0, .6); }
.pk-sitz.sieger.neu .pk-schild { animation: pk-sieg .7s 1.1s cubic-bezier(.2, .8, .2, 1.5) both; }
@keyframes pk-sieg { 0% { transform: scale(1); } 40% { transform: scale(1.16); } 100% { transform: scale(1.04); } }

.pk-hand { position: absolute; z-index: 1; left: 0; right: 0; display: flex; justify-content: center; --w: 64px; }
.pk-hand.hoch { bottom: calc(100% - 24px); }
.pk-hand.tief { top: calc(100% - 2px); }
.pk-hand.offen { --w: 78px; }
.pk-hand.hoch.offen { bottom: calc(100% - 18px); }
.pk-hand.seite-r, .pk-hand.seite-l { top: 50%; bottom: auto; width: max-content; transform: translateY(-50%); }
.pk-hand.seite-r { left: calc(100% - 44px); right: auto; }
.pk-hand.seite-l { right: calc(100% - 44px); left: auto; }
.pk-hand .pk-k { margin: 0 -3px; }
.pk-k.gepasst { opacity: .28; }
.pk-k.neu-geben { animation: pk-geben .55s var(--v, 0s) cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes pk-geben { from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(-40deg) scale(.6); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
.pk-k.neu-weg { animation: pk-weg .5s ease backwards; }
@keyframes pk-weg { from { opacity: 1; transform: translateY(-16px) rotate(var(--r, 0deg)); } to { opacity: .28; transform: rotate(var(--r, 0deg)); } }
.pk-k.neu-auf { animation: pk-auf .65s var(--v, 0s) cubic-bezier(.2, .8, .2, 1) backwards; }
.pk-k.treffer { transform: translateY(-10px) rotate(var(--r, 0deg)); box-shadow: 0 0 0 3px var(--pk-gold), 0 0 30px rgba(255, 209, 102, .7), 0 10px 20px rgba(0, 0, 0, .5); }
.pk-k.matt { opacity: .5; }

.pk-aussen { position: absolute; z-index: 3; left: -60px; right: -60px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.pk-aussen.hoch { bottom: calc(100% + 10px); }
.pk-aussen.tief { top: calc(100% + 10px); }
.pk-blase { position: relative; padding: 6px 18px; border-radius: 999px; font-size: 22px; font-weight: 800; white-space: nowrap; background: #e9edf5; color: #10131a; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.pk-blase.fold { background: #3a404d; color: #c9cfdb; }
.pk-blase.call { background: #4fb3ff; color: #05121f; }
.pk-blase.raise { background: #ffb347; color: #1d1206; }
.pk-blase.allin { background: #ff4d5e; color: #fff; }
.pk-blase.neu { animation: pk-blase .45s cubic-bezier(.2, .8, .2, 1.6) backwards; }
@keyframes pk-blase { from { opacity: 0; transform: scale(.4) translateY(10px); } to { opacity: 1; transform: none; } }
.pk-blase.kurz { opacity: 0; animation: pk-kurz 2.8s ease both; }
@keyframes pk-kurz { 0% { opacity: 0; transform: scale(.5); } 12% { opacity: 1; transform: none; } 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
.pk-handname { padding: 6px 16px; border-radius: 12px; font-size: 22px; font-weight: 800; white-space: nowrap; background: rgba(10, 12, 18, .9); border: 1px solid rgba(255, 255, 255, .16); color: var(--text); }
.pk-handname.gold { background: linear-gradient(135deg, #ffe08a, #f6a823); color: #1d1206; border-color: transparent; box-shadow: 0 0 30px rgba(255, 209, 102, .5); }
.pk-handname.neu { animation: pk-blase .45s .5s cubic-bezier(.2, .8, .2, 1.6) both; }
.pk-plus { font-size: 30px; font-weight: 900; color: var(--pk-gold); text-shadow: 0 0 20px rgba(255, 209, 102, .6), 0 3px 8px rgba(0, 0, 0, .8); white-space: nowrap; }
.pk-plus.neu { animation: pk-plus .8s 1.1s cubic-bezier(.2, .8, .2, 1.4) both; }
@keyframes pk-plus { from { opacity: 0; transform: translateY(24px) scale(.6); } to { opacity: 1; transform: none; } }

/* Chips */
.pk-stapel { position: relative; flex: none; width: 40px; height: calc(14px + var(--n) * 6px); }
.pk-stapel i { position: absolute; left: 0; bottom: calc(var(--k) * 6px); width: 40px; height: 14px; border-radius: 50%;
  background: linear-gradient(90deg, var(--c) 0 18%, #f4f1ea 18% 26%, var(--c) 26% 74%, #f4f1ea 74% 82%, var(--c) 82%);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 255, 255, .3), 0 2px 3px rgba(0, 0, 0, .5); }
.pk-haufen { display: flex; align-items: flex-end; gap: 4px; }
.pk-einsatz { display: flex; align-items: flex-end; gap: 8px; }
.pk-einsatz b { font-size: 24px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-variant-numeric: tabular-nums; }
.pk-einsatz.neu { animation: pk-schieben .5s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes pk-schieben { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.7); } to { opacity: 1; transform: none; } }
.pk-geist { display: flex; opacity: 0; pointer-events: none; }
.pk-geist.sammeln { animation: pk-sammeln .6s .15s cubic-bezier(.5, 0, .3, 1) both; }
@keyframes pk-sammeln { from { opacity: 1; transform: none; } 80% { opacity: 1; } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.8); } }
.pk-geist.gewinn { animation: pk-gewinn .8s .8s cubic-bezier(.5, 0, .3, 1) both; }
@keyframes pk-gewinn { from { opacity: 0; transform: none; } 15% { opacity: 1; } 85% { opacity: 1; } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.7); } }
.pk-dealer { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 900; color: #15171c;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d6d6d6); box-shadow: inset 0 0 0 3px #b8b8b8, inset 0 0 0 5px #fff, 0 6px 12px rgba(0, 0, 0, .55); }
.pk-dealer.neu { animation: pk-schieben .7s cubic-bezier(.2, .8, .2, 1) backwards; }

/* Mitte */
.pk-pot { display: flex; align-items: center; gap: 16px; padding: 8px 22px 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .32); white-space: nowrap; }
.pk-pot-zahl { display: flex; flex-direction: column; line-height: 1; }
.pk-pot-zahl small { font-size: 15px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pk-pot-zahl b { font-size: 40px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pk-neben { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 17px; color: rgba(255, 255, 255, .7); border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 14px; }
.pk-brett { display: flex; gap: 14px; --w: 112px; }
.pk-lage { display: flex; align-items: center; gap: 16px; font-size: 24px; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.pk-lage b { font-size: 16px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; padding: 4px 12px; border-radius: 8px; background: rgba(0, 0, 0, .35); color: var(--pk-gold); }
.pk-lage em { font-style: normal; font-weight: 800; }
.pk-banner { position: relative; min-width: 640px; max-width: 1180px; text-align: center; padding: 12px 44px 10px; border-radius: 26px; overflow: hidden;
  background: rgba(6, 10, 9, .84); border: 1px solid rgba(255, 209, 102, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 60px -20px rgba(255, 209, 102, .5); }
.pk-banner.neu { animation: pk-banner .6s .9s cubic-bezier(.2, .8, .2, 1.3) both; }
@keyframes pk-banner { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }
.pk-banner h2 { margin: 0; font-size: 44px; line-height: 1.15; font-weight: 900; white-space: nowrap; }
.pk-banner h2 em { font-style: normal; }
.pk-banner p { margin: 4px 0 0; font-size: 24px; color: var(--text2); }
.pk-banner small { display: block; margin-top: 4px; font-size: 17px; color: var(--text3); letter-spacing: 1px; }
.pk-uhr { margin: 12px auto 0; width: 320px; height: 5px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.pk-uhr i { display: block; height: 100%; background: var(--pk-gold); transform-origin: left center; animation: pk-zeit var(--d) linear var(--v) both; }

/* Spielende */
.pk-ende { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(3, 5, 7, .74); animation: pk-hell .6s ease both; }
@keyframes pk-hell { from { opacity: 0; } to { opacity: 1; } }
.pk-ende-karte { position: relative; width: 860px; padding: 40px 56px 36px; border-radius: 34px; text-align: center;
  background: linear-gradient(180deg, #151b26, #0b0f16); border: 1px solid rgba(255, 209, 102, .4); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 120px -40px var(--f);
  animation: pk-banner .7s .2s cubic-bezier(.2, .8, .2, 1.3) both; }
.pk-ende-ueber { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--pk-gold); }
.pk-ende-karte h1 { margin: 10px 0 24px; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 84px; font-weight: 900; letter-spacing: -2px; color: var(--f); line-height: 1; }
.pk-ende-karte h1 i { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 48px; color: #0b0d12; background: var(--f);
  box-shadow: 0 0 0 5px var(--pk-gold), 0 0 50px rgba(255, 209, 102, .6); }
.pk-rang { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.pk-rang li { display: grid; grid-template-columns: 40px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 26px; }
.pk-rang li:first-child { background: rgba(255, 209, 102, .14); box-shadow: inset 0 0 0 2px rgba(255, 209, 102, .45); }
.pk-rang span { font-weight: 900; color: var(--text3); }
.pk-rang li:first-child span { color: var(--pk-gold); }
.pk-rang i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 20px; color: #0b0d12; background: var(--f); }
.pk-rang b { font-weight: 800; color: var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-rang em { font-style: normal; color: var(--text2); font-variant-numeric: tabular-nums; }
.pk-rang.eng li { padding: 4px 18px; font-size: 22px; }
.pk-konfetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pk-konfetti i { position: absolute; top: -40px; width: 14px; height: 24px; border-radius: 4px; animation: pk-fallen linear infinite both; }
@keyframes pk-fallen { from { transform: translateY(0) rotate(0); } to { transform: translateY(1200px) rotate(720deg); } }

/* ── Handy ── */
.pkh { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 100%; padding-top: 6px; }
.pkh > * { min-width: 0; }
.pkh-lage { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--linie); }
.pkh-lage p { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.pkh-lage small { display: block; margin-top: 3px; font-size: 15px; color: var(--text2); }
.pkh-lage.dran { background: linear-gradient(135deg, rgba(255, 209, 102, .26), rgba(255, 159, 67, .12)); border-color: var(--pk-gold); box-shadow: 0 0 30px -10px rgba(255, 209, 102, .7); }
.pkh-lage.dran p { color: var(--pk-gold); }
.pkh-lage.dran small { color: var(--text); }
.pkh-lage.gewinn { background: linear-gradient(135deg, rgba(255, 224, 138, .3), rgba(246, 168, 35, .16)); border-color: var(--pk-gold); }
.pkh-lage.gewinn p { color: var(--pk-gold); }
.pkh-zeit { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .08); }
.pkh-zeit i { display: block; height: 100%; background: var(--pk-gold); transform-origin: left center; }
.pkh-brett { display: flex; justify-content: center; gap: 6px; --w: min(15vw, 56px); }
.pkh-brett .pk-k.leer { background: rgba(255, 255, 255, .04); }
.pkh-brett .pk-k.treffer { box-shadow: 0 0 0 2px var(--pk-gold), 0 0 14px rgba(255, 209, 102, .6); }
.pkh-mein { display: flex; flex-direction: column; align-items: stretch; gap: 8px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.pkh-karten { display: flex; justify-content: center; gap: 14px; --w: min(34vw, 132px); perspective: 900px; }
.pkh.dran .pkh-karten { --w: min(29vw, 112px); }
.pkh-karte { position: relative; flex: none; width: var(--w); height: calc(var(--w) * 1.4); }
.pkh-karte .pk-k { position: absolute; left: 0; top: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  transform: perspective(700px) rotateY(0deg); }
.pkh-karte .pk-k.vorne { transform: perspective(700px) rotateY(180deg); }
.pkh-mein.offen .pk-k.vorne { transform: perspective(700px) rotateY(0deg); }
.pkh-mein.offen .pk-k.ruecken { transform: perspective(700px) rotateY(-180deg); }
.pkh-karte:first-child { transform: rotate(-3deg); } .pkh-karte:last-child { transform: rotate(3deg); }
.pkh-beste { margin: 0; font-size: 16px; color: var(--text2); text-align: center; }
.pkh-beste b { color: var(--text); }
.pkh-beste .auf { display: none; }
.pkh-mein.offen .pkh-beste .auf { display: inline; }
.pkh-mein.offen .pkh-beste .zu { display: none; }
.pkh-unter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; }
.pkh-zeigen { flex: none; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--linie); font-size: 14px; font-weight: 700; color: var(--text2); }
.pkh-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pkh-werte div { padding: 8px 4px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--linie); }
.pkh-werte small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.pkh-werte b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkh-aktionen { display: flex; flex-direction: column; gap: 10px; }
.pkh-reihe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px; }
.pkh-knopf { width: 100%; min-width: 0; padding: 16px 8px; border-radius: 18px; font-size: 20px; font-weight: 800; line-height: 1.1; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .12s; }
.pkh-knopf:active { transform: scale(.97); }
.pkh-knopf:disabled { opacity: .45; }
.pkh-knopf small { font-size: 12px; font-weight: 700; opacity: .75; }
.pkh-knopf.fold { background: rgba(255, 255, 255, .07); border: 1px solid var(--linie); color: var(--text); }
.pkh-knopf.fold.scharf { background: #b8362f; border-color: #b8362f; color: #fff; }
.pkh-knopf.call { background: linear-gradient(135deg, #3fd3b0, #1f8f77); color: #03140f; box-shadow: 0 10px 24px -10px rgba(47, 191, 159, .8); }
.pkh-knopf.raise { background: linear-gradient(135deg, #ffe08a, #ff9f43); color: #1d1206; box-shadow: 0 10px 24px -10px rgba(255, 159, 67, .8); }
.pkh-knopf.allin { padding: 12px 8px; font-size: 17px; background: transparent; border: 2px solid #ff4d5e; color: #ff8390; }
.pkh-knopf.allin.scharf { background: #ff4d5e; color: #fff; }
.pkh-erhoehen { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--linie); }
.pkh-betrag { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pkh-betrag span { font-size: 15px; color: var(--text2); }
.pkh-betrag b { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pkh-regelreihe { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.pkh-regelreihe button { height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 24px; font-weight: 800; }
.pkh input[type="range"] { width: 100%; min-width: 0; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; accent-color: var(--pk-gold); }
.pkh-schnell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pkh-schnell button { padding: 10px 0; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 15px; font-weight: 700; }
.pkh .fehler:empty { display: none; }
.pkh-tisch { display: flex; flex-direction: column; gap: 6px; }
.pkh-tisch h2 { margin: 6px 0 2px; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.pkh-sitz { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 15px; }
.pkh-sitz > i { width: 10px; height: 10px; border-radius: 50%; background: var(--f); }
.pkh-sitz > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pkh-sitz > em { font-style: normal; color: var(--text2); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pkh-sitz.dran { background: rgba(255, 209, 102, .1); box-shadow: inset 0 0 0 2px var(--pk-gold); }
.pkh-sitz.dran > em { color: var(--pk-gold); font-weight: 700; }
.pkh-sitz.gepasst, .pkh-sitz.raus { opacity: .45; }
.pkh-sitz.selbst > span::after { content: " (du)"; font-weight: 500; color: var(--text3); }
.pkh-tag { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 5px; font-size: 11px; font-weight: 800; background: rgba(255, 255, 255, .12); color: var(--text2); vertical-align: 2px; }
.pkh-ergebnis { margin: 0; font-size: 15px; color: var(--text2); text-align: center; }

/* Kombinationen (Handy): Übersicht über dem Spiel, eigene beste Hand golden */
.pkh-knoepfchen { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pkh-tischkopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pkh-kombis { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; background: rgba(4, 6, 12, .72);
  padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); animation: pk-kombis-ein .2s ease both; }
@keyframes pk-kombis-ein { from { opacity: 0; } }
.pkh-kombis-blatt { width: 100%; max-width: 520px; max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 12px;
  border-radius: 22px; background: #151a26; border: 1px solid var(--linie); box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); }
.pkh-kombis-blatt h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); text-align: center; }
.pkh-kombi { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.pkh-kombi .nr { font-size: 13px; font-weight: 800; color: var(--text3); text-align: right; font-variant-numeric: tabular-nums; }
.pkh-kombi .text { min-width: 0; display: flex; flex-direction: column; }
.pkh-kombi .text b { font-size: 15px; line-height: 1.15; }
.pkh-kombi .text small { font-size: 12px; color: var(--text2); }
.pkh-kombi .karten { display: flex; gap: 2px; --w: min(8.4vw, 34px); }
.pkh-kombi .pk-k { box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.pkh-kombi .pk-k i { display: none; }
.pkh-kombi.meine { background: rgba(255, 209, 102, .12); box-shadow: inset 0 0 0 2px var(--pk-gold); }
.pkh-kombis-blatt .gross { margin-top: 6px; }
.pkh-aufdecken { background: rgba(255, 255, 255, .07); border: 1px solid var(--linie); color: var(--text); }
.pkh-gezeigt { margin: 0; text-align: center; font-size: 14px; color: var(--text2); }
