:root {
  --gold: #e9c46a;
  --gold2: #f6dc9a;
  --gold-d: #a37b2c;
  --ink: #0b0c10;
  --panel: #171a21;
  --panel2: #1f232c;
  --line: rgba(255, 255, 255, .09);
  --txt: #ece8df;
  --mut: #8f95a3;
  --red: #e2544a;
  --green: #3fbf7f;
  --blue: #5aa2f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: 'Outfit', system-ui, 'Segoe UI', sans-serif;
  color: var(--txt);
  background:
    radial-gradient(ellipse 70% 60% at 50% 46%, rgba(233, 196, 106, .10), transparent 70%),
    radial-gradient(ellipse at 50% 30%, #272b36 0%, #12141a 55%, #06070a 100%);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; touch-action: manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Kopfzeile ---------- */
#top {
  position: fixed; inset: 0 0 auto 0; height: 52px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  background: linear-gradient(#14161cdd, #14161c88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand .spade { font-size: 26px; color: var(--gold); line-height: 1; }
.brand b { font-family: 'Playfair Display', serif; font-size: 18px; letter-spacing: .3px; display: block; line-height: 1.1; }
.brand small { color: var(--mut); font-size: 12px; white-space: nowrap; }
.tools { display: flex; align-items: center; gap: 8px; }
.tb {
  height: 34px; padding: 0 13px; border-radius: 17px; font-size: 13.5px; font-weight: 500;
  background: var(--panel2); border: 1px solid var(--line); transition: background .15s, transform .1s, border-color .15s;
}
.tb:hover { background: #2a2f3a; border-color: rgba(255, 255, 255, .2); }
.tb:active { transform: scale(.96); }
.tb.ic { width: 34px; padding: 0; font-size: 16px; }
.tb.gold { background: linear-gradient(#f0d184, #d2a747); color: #2a1e05; border-color: #f6dc9a; font-weight: 600; }
.tb.gold:hover { background: linear-gradient(#f6dc9a, #dcb355); }
.tb.on { background: #3a3220; border-color: var(--gold); color: var(--gold2); }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: #1f3a2b; color: #8fe0b4; }
.pill.off { background: #40201d; color: #f3a9a2; }

.pop {
  position: fixed; top: 60px; right: 16px; z-index: 40; width: 290px; padding: 16px;
  background: #171a21f2; border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.pop h3 { font-family: 'Playfair Display', serif; font-size: 17px; margin-bottom: 10px; color: var(--gold2); }
.pop label { display: block; font-size: 12.5px; color: var(--mut); margin-bottom: 10px; }
.pop input:not([type=range]), .pop select {
  display: block; width: 100%; margin-top: 4px; height: 38px; padding: 0 10px; border-radius: 10px;
  background: #0f1116; border: 1px solid var(--line); font-size: 15px; color: var(--txt); user-select: text;
}
.pop input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--gold); }
.pop .hint { font-size: 11.5px; color: var(--mut); margin-top: 10px; line-height: 1.4; }
.rk { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rk:last-child { border: 0; }
.rk i { color: var(--mut); font-style: normal; font-size: 12px; }
.rk .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk .n.out { color: var(--mut); }
.rk .s { color: var(--mut); font-size: 12.5px; }
.rk .d { font-weight: 600; min-width: 62px; text-align: right; }
.plus { color: var(--green); } .minus { color: var(--red); }

.btn {
  height: 40px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  background: var(--panel2); border: 1px solid var(--line); transition: transform .1s, filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(.97); }
.btn.gold { background: linear-gradient(#f3d58b, #cfa343); color: #2a1e05; border-color: #f6dc9a; box-shadow: 0 6px 18px rgba(233, 196, 106, .25); }
.btn.ghost { background: #ffffff10; }
.btn.big { height: 50px; font-size: 17px; width: 100%; }
.pop .btn { width: 100%; }

/* ---------- Bühne ---------- */
#stage { position: absolute; left: 50%; top: 52px; width: 1600px; height: 900px; transform-origin: 50% 0; }
#stage > div, #stage > section { position: absolute; }

#table {
  left: 200px; top: 122px; width: 1200px; height: 590px; border-radius: 295px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 22%, transparent 70%, rgba(0, 0, 0, .35)),
    linear-gradient(135deg, #4a2c17, #2a170b 45%, #3b2212 70%, #1c0f07);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 2px #120a05, inset 0 2px 3px rgba(255, 255, 255, .18), inset 0 -6px 14px rgba(0, 0, 0, .6);
  padding: 34px;
}
#felt {
  position: relative; width: 100%; height: 100%; border-radius: 261px; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 75% 85% at 50% 42%, #23855c 0%, #186644 48%, #0d3f2a 100%);
  box-shadow: inset 0 0 0 3px #caa24e, inset 0 0 0 5px #6b5220, inset 0 12px 40px rgba(0, 0, 0, .55), inset 0 -8px 30px rgba(0, 0, 0, .35);
}
#line { position: absolute; inset: 46px; border-radius: 215px; border: 2px solid rgba(255, 255, 255, .075); }
#mark {
  position: absolute; left: 0; right: 0; top: 366px; text-align: center; font-family: 'Playfair Display', serif;
  letter-spacing: 7px; font-size: 15px; color: rgba(255, 255, 255, .13);
}

/* ---------- Karten ---------- */
.card { width: 92px; height: 128px; perspective: 700px; position: absolute; }
.card .ci { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3, .8, .3, 1); transform: rotateY(180deg); }
.card.up .ci { transform: rotateY(0); }
.card.now .ci { transition: none; }
.cf, .cb { position: absolute; inset: 0; border-radius: 7.5%/5.4%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cf { background: #fff center/100% 100% no-repeat; box-shadow: 0 3px 8px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .25); }
.cb {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 50% 50%, #101a33 0 15%, transparent 15.5%),
    repeating-linear-gradient(45deg, rgba(233, 196, 106, .5) 0 1px, transparent 1px 8%),
    repeating-linear-gradient(-45deg, rgba(233, 196, 106, .5) 0 1px, transparent 1px 8%),
    linear-gradient(160deg, #23355f, #0d1630);
  border: 4px solid #f3efe6;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .45), inset 0 0 0 1px #c9a24b, inset 0 0 0 3px #0d1630, inset 0 0 0 4px rgba(233, 196, 106, .6);
}
.cb::after {
  content: '♠'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  color: var(--gold); font-size: 150%; line-height: 1; text-shadow: 0 1px 2px #000;
}
#board .card { margin: -64px 0 0 -46px; transition: translate .35s, filter .35s, opacity .3s; }
.card.hl { translate: 0 -12px; }
.card.hl .cf { box-shadow: 0 0 0 3px var(--gold), 0 0 22px 4px rgba(233, 196, 106, .75), 0 8px 14px rgba(0, 0, 0, .5); }
.card.dim { filter: brightness(.45) saturate(.7); }

.hole { display: flex; transform: translate(-50%, -50%); pointer-events: none; }
.hole .card { position: relative; width: 62px; height: 86px; font-size: 13px; transition: translate .35s, filter .35s, width .3s, height .3s, margin .3s; }
.hole .card + .card { margin-left: -24px; }
.hole .card:nth-child(1) { rotate: -5deg; }
.hole .card:nth-child(2) { rotate: 5deg; }
.hole.open .card { width: 76px; height: 106px; }
.hole.open .card + .card { margin-left: -18px; }
.hole.me .card { width: 108px; height: 150px; font-size: 22px; }
.hole.me .card + .card { margin-left: -30px; }
.hole.me .card:nth-child(1) { rotate: -6deg; }
.hole.me .card:nth-child(2) { rotate: 6deg; translate: 0 4px; }
.hole.folded .card { filter: brightness(.42) saturate(.5); }
.hole .card.hl { translate: 0 -10px; }
#board .card { font-size: 19px; }

/* ---------- Chips ---------- */
.stack { display: flex; align-items: flex-end; gap: 3px; justify-content: center; }
.col { position: relative; width: 30px; }
.chip {
  position: absolute; left: 0; width: 30px; height: 30px; border-radius: 50%; transform: scaleY(.8);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .22) 0 12%, transparent 40%),
    radial-gradient(circle, var(--c) 0 45%, transparent 46%),
    radial-gradient(circle, transparent 0 49%, rgba(255, 255, 255, .92) 50% 56%, transparent 57%),
    repeating-conic-gradient(var(--c) 0 20deg, var(--s) 20deg 45deg);
  box-shadow: 0 3px 0 var(--d), 0 4px 0 rgba(0, 0, 0, .55), 0 7px 7px rgba(0, 0, 0, .4);
}
.bet { transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; }
.amt {
  font-size: 14px; font-weight: 600; padding: 2px 10px; border-radius: 11px; color: #fff;
  background: rgba(5, 20, 13, .72); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap;
}
#pot { left: 800px; top: 292px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .3s; }
#pot .lbl {
  font-size: 17px; font-weight: 600; padding: 4px 16px; border-radius: 16px; color: var(--gold2);
  background: rgba(5, 20, 13, .78); border: 1px solid rgba(233, 196, 106, .35); white-space: nowrap;
}
#pot .lbl small { color: #b9c9bf; font-weight: 500; font-size: 13px; margin-right: 6px; letter-spacing: .5px; }

#dealer {
  width: 36px; height: 36px; border-radius: 50%; margin: -18px 0 0 -18px; display: grid; place-items: center;
  font-weight: 700; font-size: 16px; color: #1a1408;
  background: radial-gradient(circle at 35% 30%, #fff, #e6dfcc 60%, #b9ae90);
  box-shadow: 0 0 0 2px #c9a24b, 0 3px 0 #7d6a3a, 0 6px 9px rgba(0, 0, 0, .5);
  transition: left .7s cubic-bezier(.5, 0, .2, 1), top .7s cubic-bezier(.5, 0, .2, 1), opacity .3s;
}

/* ---------- Plätze ---------- */
.seat { position: absolute; width: 0; height: 0; }
.seat > * { position: absolute; }
.empty {
  left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  border: 2px dashed rgba(233, 196, 106, .55); background: rgba(10, 12, 16, .55); color: var(--gold);
  cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s, border-color .18s;
}
.empty .p { font-size: 34px; font-weight: 400; line-height: 1; margin-top: -4px; }
.empty .l { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); font-size: 13px; white-space: nowrap; color: var(--gold2); opacity: 0; transition: opacity .18s; }
.empty:hover { transform: scale(1.1); background: rgba(233, 196, 106, .16); border-color: var(--gold2); box-shadow: 0 0 34px rgba(233, 196, 106, .4); }
.empty:hover .l { opacity: 1; }
.seat.locked .empty { border-color: rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .22); cursor: default; pointer-events: none; transform: scale(.72); }
.seat.locked .empty .p { font-size: 15px; margin: 0; }
.seat.taken .empty { display: none; }
.seat:not(.taken) .pod, .seat:not(.taken) .tag, .seat:not(.taken) .hn { display: none; }

.pod {
  left: -92px; top: -32px; width: 184px; height: 64px; border-radius: 32px; display: flex; align-items: center;
  background: linear-gradient(#262a34, #14161c); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: opacity .3s, box-shadow .3s, border-color .3s;
}
.av { position: relative; width: 64px; height: 64px; flex: none; margin-left: -1px; border-radius: 50%; display: grid; place-items: center; background: var(--a, #555); box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .35); }
.av .ini { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 27px; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .45); }
.ring { position: absolute; inset: -5px; width: 74px; height: 74px; transform: rotate(-90deg); opacity: 0; transition: opacity .25s; }
.ring circle { fill: none; stroke-width: 4; }
.ring .rt { stroke: rgba(0, 0, 0, .55); }
.ring .rp { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 213.6; }
.plate { padding: 0 14px 0 10px; min-width: 0; flex: 1; }
.nm { font-size: 14px; font-weight: 500; color: #cfd3dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk { font-size: 19px; font-weight: 700; color: var(--gold2); line-height: 1.15; }
.seat.me .nm { color: #fff; }
.seat.act .pod { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 36px rgba(233, 196, 106, .55), 0 10px 24px rgba(0, 0, 0, .55); }
.seat.act .ring { opacity: 1; }
.seat.fold .pod, .seat.out .pod { opacity: .48; }
.seat.offline .av { filter: grayscale(1) brightness(.7); }
.seat.win .pod { border-color: var(--gold2); animation: glow 1s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 0 0 2px var(--gold), 0 0 20px rgba(233, 196, 106, .4); } to { box-shadow: 0 0 0 3px var(--gold2), 0 0 55px rgba(246, 220, 154, .85); } }

.tag {
  left: -34px; top: -46px; transform: translate(-50%, -50%); padding: 3px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600;
  white-space: nowrap; letter-spacing: .3px; background: #3a4150; color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); opacity: 0;
}
.tag.on { opacity: 1; animation: tagIn .28s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes tagIn { from { transform: translate(-50%, -20%) scale(.6); opacity: 0; } }
.tag.t-fold { background: #4a4f5b; color: #c9cdd6; }
.tag.t-check, .tag.t-call { background: #2c62a8; }
.tag.t-bet, .tag.t-raise { background: #c98a1b; }
.tag.t-allin { background: #c23a31; animation: tagIn .28s cubic-bezier(.2, 1.4, .4, 1), shake .5s .28s; }
.tag.t-blind { background: #2f3644; color: #c9cdd6; }
.tag.t-out { background: #2f3644; color: #aab; }
@keyframes shake { 20% { translate: -3px 0; } 40% { translate: 3px 0; } 60% { translate: -2px 0; } 80% { translate: 2px 0; } }
.hn {
  left: 0; top: 47px; transform: translate(-50%, -50%); padding: 3px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: linear-gradient(#f3d58b, #cfa343); color: #2a1e05; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s;
}
.hn.on { opacity: 1; }
.hn.lose { background: #2b303b; color: #c9cdd6; }
.bubble {
  left: 0; top: -62px; transform: translate(-50%, -100%); max-width: 240px; padding: 7px 12px; border-radius: 14px; font-size: 14px; line-height: 1.3;
  background: #f4f1e8; color: #17181c; box-shadow: 0 8px 20px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s; width: max-content; z-index: 3;
  user-select: text; overflow-wrap: anywhere;
}
.bubble.on { opacity: 1; }
.seat.low .bubble { top: 62px; transform: translate(-50%, 0); }

/* ---------- Mitte ---------- */
#banner {
  left: 800px; top: 276px; transform: translate(-50%, -50%); text-align: center; opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap;
}
#banner.on { opacity: 1; animation: bannerIn .5s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes bannerIn { from { transform: translate(-50%, -30%) scale(.8); opacity: 0; } }
#banner b { display: block; font-family: 'Playfair Display', serif; font-style: italic; font-size: 34px; color: var(--gold2); text-shadow: 0 3px 14px rgba(0, 0, 0, .8), 0 0 30px rgba(233, 196, 106, .35); }
#banner span { display: inline-block; margin-top: 4px; font-size: 16px; font-weight: 500; color: #e6efe9; padding: 3px 14px; border-radius: 13px; background: rgba(5, 20, 13, .7); }
#msg { left: 800px; top: 420px; transform: translate(-50%, -50%); text-align: center; font-size: 19px; color: rgba(255, 255, 255, .8); line-height: 1.5; pointer-events: none; transition: opacity .3s; }
#msg b { display: block; font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold2); font-weight: 600; }
#myhand {
  left: 800px; top: 792px; transform: translate(-50%, -50%); font-size: 13.5px; font-weight: 600; padding: 3px 13px; border-radius: 12px; white-space: nowrap;
  background: rgba(8, 10, 14, .85); border: 1px solid rgba(233, 196, 106, .4); color: var(--gold2); opacity: 0; transition: opacity .25s; z-index: 9;
}
#myhand.on { opacity: 1; }
#fx { pointer-events: none; inset: 0; }
#fx > * { position: absolute; }
.float { font-size: 24px; font-weight: 700; color: var(--gold2); text-shadow: 0 2px 8px #000; transform: translate(-50%, -50%); white-space: nowrap; }
.spark { width: 7px; height: 7px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 8px var(--gold); margin: -3px; }

/* ---------- Chat ---------- */
#chat { left: 18px; bottom: 16px; width: 286px; height: 164px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(12, 14, 18, .72); border: 1px solid var(--line); backdrop-filter: blur(6px); z-index: 12; }
#log { flex: 1; overflow-y: auto; padding: 8px 11px; font-size: 13px; line-height: 1.45; color: #a9afbc; user-select: text; scrollbar-width: thin; scrollbar-color: #3a3f4b transparent; }
#log p b { color: var(--gold2); font-weight: 600; }
#log p.c { color: #eceae4; }
#chatForm { border-top: 1px solid var(--line); }
#chatIn { width: 100%; height: 34px; padding: 0 11px; background: rgba(0, 0, 0, .3); border: 0; font-size: 13.5px; outline: none; user-select: text; }
#chatIn::placeholder { color: #6d7382; }

/* ---------- Aktionen ---------- */
#actions { right: 18px; bottom: 16px; width: 474px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; z-index: 12; }
#status { font-size: 14px; color: #aab0bd; text-align: right; min-height: 18px; }
#extra { display: flex; gap: 8px; }
#raise { width: 316px; padding: 9px 10px; border-radius: 14px; background: rgba(12, 14, 18, .82); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.quick { display: flex; gap: 5px; margin-bottom: 8px; }
.quick button { flex: 1; height: 27px; border-radius: 8px; font-size: 12.5px; font-weight: 500; background: #272b35; border: 1px solid var(--line); transition: background .12s; }
.quick button:hover { background: #3a3f4c; }
.slide { display: flex; gap: 9px; align-items: center; }
#rSlider { flex: 1; accent-color: var(--gold); height: 22px; }
#rNum { width: 96px; height: 32px; border-radius: 9px; text-align: right; padding: 0 9px; font-weight: 600; font-size: 15px; background: #0d0f13; border: 1px solid var(--line); user-select: text; }
#btns { display: flex; gap: 8px; width: 100%; }
.act {
  flex: 1; height: 58px; border-radius: 15px; font-size: 16.5px; font-weight: 700; position: relative; color: #fff;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 8px 20px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .1s, filter .15s; white-space: nowrap; padding: 0 8px;
}
.act:hover { filter: brightness(1.12); }
.act:active { transform: scale(.96) translateY(1px); }
.act kbd { position: absolute; right: 8px; top: 5px; font: 600 10px 'Outfit', sans-serif; opacity: .55; }
.act.fold { background: linear-gradient(#5a6070, #383d49); }
.act.call { background: linear-gradient(#3f86d8, #2459a3); }
.act.raise { background: linear-gradient(#f0c75f, #c58d1c); color: #261a03; border-color: #f6dc9a; }
.act[disabled] { opacity: .35; pointer-events: none; }
#btns.go { animation: rise .3s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }

/* ---------- Start-Dialog ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(5, 6, 9, .72); backdrop-filter: blur(7px); padding: 16px; }
.card-modal {
  width: min(410px, 100%); padding: 34px 30px 30px; border-radius: 24px; text-align: center;
  background: linear-gradient(#1c2028, #111318); border: 1px solid rgba(233, 196, 106, .3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); animation: pop .3s ease-out;
}
.crest { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: #1a1305; background: radial-gradient(circle at 35% 30%, #f8e3a8, #cfa343 65%, #94701f); box-shadow: 0 8px 26px rgba(233, 196, 106, .35); }
.card-modal h1 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--gold2); }
.card-modal p { color: #a9afbc; font-size: 15px; line-height: 1.5; margin: 8px 0 20px; }
#joinName { width: 100%; height: 50px; border-radius: 12px; padding: 0 14px; font-size: 18px; text-align: center; background: #0b0d11; border: 1px solid var(--line); margin-bottom: 12px; user-select: text; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 70; padding: 10px 18px; border-radius: 14px; background: #f4f1e8; color: #17181c; font-weight: 500; font-size: 14.5px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .brand small, #bRank, #conn { display: none; }
  .tb { padding: 0 10px; font-size: 12.5px; }
}

/* Ebenen der Bühne */
#board, #bets, #holes, #seats { left: 0; top: 0; }
.hole, .bet, #board .card { position: absolute; }
.seat.v0 .tag { left: -150px; top: 0; }
.seat.right .tag { left: 34px; }
.seat.v0 .tag { left: -150px; top: 0; }
.seat.low .hn { top: -47px; }
.seat.low.hasHn .tag { opacity: 0; }

/* Hochkant am Handy: Hinweis zum Drehen */
#rotate { display: none; }
@media (orientation: portrait) and (max-width: 700px) {
  #rotate {
    display: grid; place-items: center; position: fixed; inset: 52px 0 0 0; z-index: 50; text-align: center; padding: 30px;
    background: rgba(8, 9, 12, .93); font-size: 18px; line-height: 1.5; color: var(--txt);
  }
  #rotate b { display: block; font-family: 'Playfair Display', serif; font-size: 26px; color: var(--gold2); margin-bottom: 6px; }
  #rotate i { display: block; font-style: normal; font-size: 54px; margin-bottom: 12px; animation: turn 2.4s ease-in-out infinite; }
}
@keyframes turn { 0%, 20% { rotate: 0deg; } 60%, 100% { rotate: 90deg; } }
@media (max-height: 520px) {
  #top { height: 40px; }
  .brand small { display: none; }
}

/* ================= Tisch-Designs ================= */
body {
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  --felt-a: #23855c; --felt-b: #186644; --felt-c: #0d3f2a;
  --rail-a: #4a2c17; --rail-b: #2a170b; --rail-c: #3b2212; --rail-d: #1c0f07;
  --trim: #caa24e; --trim-d: #6b5220; --lbl: rgba(5, 20, 13, .76); --glow: rgba(233, 196, 106, .10);
}
body[data-table="mitternacht"] { --felt-a: #2c64a6; --felt-b: #1b467c; --felt-c: #0c2445; --rail-a: #30343e; --rail-b: #15171c; --rail-c: #24272f; --rail-d: #0a0b0e; --trim: #cfd8e6; --trim-d: #5b6473; --lbl: rgba(6, 14, 30, .78); --glow: rgba(120, 170, 255, .10); }
body[data-table="rubin"] { --felt-a: #a83644; --felt-b: #7c202d; --felt-c: #430f19; --rail-a: #3d2219; --rail-b: #1e0f0a; --rail-c: #301912; --rail-d: #120806; --trim: #e6c170; --trim-d: #7a5d24; --lbl: rgba(30, 6, 10, .78); --glow: rgba(255, 120, 120, .09); }
body[data-table="noir"] { --felt-a: #41444c; --felt-b: #27292f; --felt-c: #111216; --rail-a: #202126; --rail-b: #0c0c0e; --rail-c: #19191d; --rail-d: #050506; --trim: #e9c46a; --trim-d: #7a6126; --lbl: rgba(0, 0, 0, .72); --glow: rgba(233, 196, 106, .08); }
body[data-table="violett"] { --felt-a: #7049b8; --felt-b: #4d3088; --felt-c: #28174a; --rail-a: #2c2436; --rail-b: #15101b; --rail-c: #231b2c; --rail-d: #0c0910; --trim: #dcc8f6; --trim-d: #6a5587; --lbl: rgba(16, 8, 30, .78); --glow: rgba(180, 130, 255, .10); }
body[data-table="ozean"] { --felt-a: #1f8f93; --felt-b: #146a70; --felt-c: #093e44; --rail-a: #5a4630; --rail-b: #33271a; --rail-c: #463624; --rail-d: #21180f; --trim: #f0dfb4; --trim-d: #7d6c45; --lbl: rgba(4, 22, 24, .78); --glow: rgba(110, 230, 230, .09); }

body { background: radial-gradient(ellipse 70% 60% at 50% 46%, var(--glow), transparent 70%), radial-gradient(ellipse at 50% 30%, #272b36 0%, #12141a 55%, #06070a 100%); }
#table {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 22%, transparent 70%, rgba(0, 0, 0, .35)),
    linear-gradient(135deg, var(--rail-a), var(--rail-b) 45%, var(--rail-c) 70%, var(--rail-d));
  transition: background .4s;
}
#felt {
  background: var(--noise), radial-gradient(ellipse 75% 85% at 50% 42%, var(--felt-a) 0%, var(--felt-b) 48%, var(--felt-c) 100%);
  box-shadow: inset 0 0 0 3px var(--trim), inset 0 0 0 5px var(--trim-d), inset 0 12px 40px rgba(0, 0, 0, .55), inset 0 -8px 30px rgba(0, 0, 0, .35);
}
.amt, #pot .lbl, #banner span { background: var(--lbl); }

/* ================= Chip-Designs ================= */
/* Casino: schmale Einsätze am Rand */
body[data-chips="casino"] .chip:not([class*="k-"]), .chip.k-casino {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .22) 0 12%, transparent 40%),
    radial-gradient(circle, var(--c) 0 36%, transparent 37%),
    radial-gradient(circle, transparent 0 40%, var(--s) 41% 45%, transparent 46%),
    radial-gradient(circle, var(--c) 0 58%, transparent 59%),
    repeating-conic-gradient(from -6deg, var(--s) 0 12deg, var(--c) 12deg 45deg);
}
/* Gold: Metallrand, farbige Mitte */
body[data-chips="gold"] .chip:not([class*="k-"]), .chip.k-gold {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .3) 0 10%, transparent 38%),
    radial-gradient(circle, var(--c) 0 48%, transparent 49%),
    radial-gradient(circle, transparent 0 52%, rgba(60, 40, 5, .55) 53% 55%, transparent 56%),
    conic-gradient(#f8e3a8, #b0822a, #f6dc9a, #8a6519, #f8e3a8, #b0822a, #f6dc9a, #8a6519, #f8e3a8);
  box-shadow: 0 3px 0 #7a5a17, 0 4px 0 rgba(0, 0, 0, .55), 0 7px 7px rgba(0, 0, 0, .4);
}
/* Schlicht: flach, ein weißer Ring */
body[data-chips="schlicht"] .chip:not([class*="k-"]), .chip.k-schlicht {
  background:
    radial-gradient(circle, var(--c) 0 50%, transparent 51%),
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 60%, transparent 61%),
    var(--c);
}
/* Neon: dunkler Chip mit leuchtendem Ring */
body[data-chips="neon"] .chip:not([class*="k-"]), .chip.k-neon {
  background:
    radial-gradient(circle, #15161b 0 44%, transparent 45%),
    radial-gradient(circle, color-mix(in srgb, var(--c) 70%, white) 0 56%, transparent 57%),
    #15161b;
  box-shadow: 0 3px 0 #000, 0 4px 0 rgba(0, 0, 0, .6), 0 0 9px color-mix(in srgb, var(--c) 70%, white), 0 7px 7px rgba(0, 0, 0, .4);
}

/* ================= Auswahl in den Einstellungen ================= */
.pop.wide { width: 340px; max-height: calc(100vh - 76px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3f4b transparent; }
.pop h4 { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin: 16px 0 8px; font-weight: 600; }
.pop .h2 { margin-top: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pick { width: 54px; padding: 0; text-align: center; font-size: 10.5px; color: var(--mut); }
.pick .sw { display: block; width: 54px; height: 36px; border-radius: 18px; border: 4px solid #2a170b; box-shadow: 0 0 0 2px transparent; transition: box-shadow .15s, transform .15s; margin-bottom: 4px; position: relative; }
.pick:hover .sw { transform: translateY(-2px); }
.pick.on .sw { box-shadow: 0 0 0 2px var(--gold); }
.pick.on { color: var(--gold2); }
.pick .sw.c { border: 0; background: #0f1116; border-radius: 12px; }
.pick .sw.c .chip { left: 12px; top: 3px; }

/* ================= Konto / Discord ================= */
.btn.discord { background: #5865f2; border-color: #7983f5; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; box-shadow: 0 6px 18px rgba(88, 101, 242, .3); }
.or { display: flex; align-items: center; gap: 12px; color: var(--mut); font-size: 13px; margin: 16px 0 12px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#account { margin-bottom: 12px; }
#account .who { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #0f1116; border: 1px solid var(--line); font-size: 13.5px; }
#account .who img { width: 34px; height: 34px; border-radius: 50%; }
#account .who span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#account .who small { display: block; color: var(--mut); font-size: 11.5px; }
#account .who button { color: var(--mut); font-size: 12px; text-decoration: underline; }
.av.pic { background-size: cover; background-position: center; }
.av.pic .ini { display: none; }

/* ================= Statistik ================= */
.grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.grid div { padding: 9px 8px; border-radius: 12px; background: #0f1116; border: 1px solid var(--line); text-align: center; }
.grid b { display: block; font-size: 19px; color: var(--gold2); font-weight: 700; line-height: 1.2; }
.grid span { font-size: 11px; color: var(--mut); }
.tp { display: grid; grid-template-columns: 20px 26px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.tp:last-child { border: 0; }
.tp i { color: var(--mut); font-style: normal; font-size: 12px; }
.tp img, .tp .ph { width: 26px; height: 26px; border-radius: 50%; background: #2a2f3a; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.tp .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp.me .n { color: var(--gold2); font-weight: 600; }
.tp .w { font-size: 12px; color: var(--mut); white-space: nowrap; }
.tp .d { font-weight: 600; min-width: 58px; text-align: right; }

/* ================= Turnier ================= */
#tourBox {
  left: 18px; top: 14px; padding: 10px 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 210px; z-index: 11;
  background: rgba(12, 14, 18, .8); border: 1px solid rgba(233, 196, 106, .4); backdrop-filter: blur(6px); box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
#tourBox b { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
#tLevel { font-size: 19px; font-weight: 700; color: #fff; }
#tNext { font-size: 13.5px; color: #cfd3dc; }
#tLeft { font-size: 12.5px; color: var(--mut); }
#tourBox.soon #tNext { color: #f0903c; }
.tag.t-place { background: #5a2a2a; color: #f3c2bd; }
#tePlaces { margin: 4px 0 18px; text-align: left; }
#tePlaces div { display: flex; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: 15.5px; }
#tePlaces div:nth-child(1) { background: rgba(233, 196, 106, .16); color: var(--gold2); font-weight: 600; }
#tePlaces i { font-style: normal; width: 26px; color: var(--mut); }
#teWinner { font-size: 36px; }
#tourEnd .card-modal p { margin: 2px 0 16px; }
@media (max-width: 900px) { #bRank { display: none; } }

/* ================= Platz-Knöpfe am Tisch ================= */
#seatCtl { right: 18px; top: 652px; display: flex; gap: 8px; z-index: 12; }
.mini {
  height: 32px; padding: 0 14px; border-radius: 16px; font-size: 13px; font-weight: 500; color: #cfd3dc;
  background: rgba(12, 14, 18, .74); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.mini:hover { background: #2a2f3a; color: #fff; border-color: rgba(255, 255, 255, .25); }
.mini:active { transform: scale(.96); }

/* ================= Spielerkarte ================= */
.pod { cursor: pointer; }
.pod:hover { border-color: rgba(255, 255, 255, .3); }
#pcard {
  width: 300px; translate: -50% 0; padding: 14px; border-radius: 16px; z-index: 20;
  background: #171a21f7; border: 1px solid rgba(233, 196, 106, .38); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); animation: cardIn .16s ease-out;
}
@keyframes cardIn { from { opacity: 0; scale: .96; } }
#pcard .hd { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
#pcard .hd img, #pcard .hd .ph { width: 44px; height: 44px; border-radius: 50%; background: #2a2f3a; display: grid; place-items: center; font: 700 19px 'Playfair Display', serif; flex: none; }
#pcard .hd b { font-size: 17px; display: block; }
#pcard .hd small { color: var(--mut); font-size: 12.5px; }
#pcard .btn { width: 100%; height: 38px; margin-top: 6px; }
#pcard .two { display: flex; gap: 8px; }
#pcard .hint { font-size: 12px; color: var(--mut); margin-top: 8px; }
#pcard .grid b { font-size: 16px; }
.lnk { color: var(--mut); font-size: 12px; text-decoration: underline; margin-top: 9px; display: inline-block; }
.lnk:hover { color: var(--txt); }

/* ================= Freundesliste ================= */
.fr { border-bottom: 1px solid var(--line); padding: 7px 0; }
.fr:last-child { border: 0; }
.fr .top { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; cursor: pointer; font-size: 13.5px; }
.fr .top.req { grid-template-columns: 26px 1fr auto; cursor: default; }
.fr .top img, .fr .top .ph { width: 26px; height: 26px; border-radius: 50%; background: #2a2f3a; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.fr .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr .n small { display: block; color: var(--mut); font-size: 11.5px; }
.fr .w { font-size: 12px; color: var(--mut); white-space: nowrap; }
.fr .d { font-weight: 600; min-width: 58px; text-align: right; }
.fr .more { display: none; margin-top: 8px; }
.fr.open .more { display: block; }
.fr .acts { display: flex; gap: 6px; }
.fr .acts button { height: 28px; padding: 0 10px; border-radius: 9px; font-size: 12px; font-weight: 600; background: #272b35; border: 1px solid var(--line); }
.fr .acts .yes { background: linear-gradient(#f3d58b, #cfa343); color: #2a1e05; border-color: #f6dc9a; }
#bStats.badge { position: relative; }
#bStats.badge::after { content: ''; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #14161c; }

/* ================= Beste fünf Karten (Blatt-Anzeige überfahren) ================= */
#myhand { cursor: help; }
#myhand:hover { border-color: var(--gold2); }
.card.peek, .hole .card.peek, .hole.me .card.peek, .hole.me .card.hl { translate: 0 -12px; }
.card.peek .cf { box-shadow: 0 0 0 3px var(--gold), 0 0 22px 4px rgba(233, 196, 106, .75), 0 8px 14px rgba(0, 0, 0, .5); }
.card.peekdim { filter: brightness(.5) saturate(.7); }

/* ================= Runde neu starten / beenden ================= */
#seatCtl { align-items: center; }
#roundMenu {
  position: absolute; right: 0; bottom: 40px; min-width: 230px; padding: 6px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px;
  background: #171a21f7; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); animation: cardIn .14s ease-out;
}
#roundMenu button { text-align: left; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; color: var(--txt); }
#roundMenu button:hover { background: #2a2f3a; }
#reList { margin: 4px 0 18px; text-align: left; }
#reList div { display: flex; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: 15.5px; align-items: baseline; }
#reList div:nth-child(1) { background: rgba(233, 196, 106, .14); }
#reList i { font-style: normal; width: 26px; color: var(--mut); }
#reList span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#reList b { font-weight: 700; }
#reList p { color: var(--mut); font-size: 14px; text-align: center; }
#roundEnd .card-modal p#reSub { margin: 4px 0 16px; }
#roundEnd .btn.big + .btn.big { margin-top: 8px; }

/* ================= Chat wirklich in der Fensterecke ================= */
#chat { position: fixed; left: 12px; bottom: 12px; transform-origin: 0 100%; z-index: 25; }

/* ================= SB / BB: bei jedem Spieler an derselben Stelle ================= */
.blind {
  left: -48px; top: 10px; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: .2px; color: #fff; opacity: 0; scale: .4; pointer-events: none;
  border: 2px solid #f4f1e8; box-shadow: 0 2px 6px rgba(0, 0, 0, .55); transition: opacity .25s, scale .3s cubic-bezier(.2, 1.4, .4, 1);
}
.blind.on { opacity: 1; scale: 1; }
.blind.sb { background: linear-gradient(#5aa2f0, #2a62b4); }
.blind.bb { background: linear-gradient(#f3c14e, #cf8a16); color: #2a1a02; }
.seat:not(.taken) .blind { display: none; }

/* ================= Platz-Knöpfe und Turnier-Anzeige: oben links direkt unter der Leiste ================= */
#cornerTL { position: fixed; left: 12px; top: 62px; z-index: 25; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transform-origin: 0 0; }
#seatCtl { position: relative; right: auto; top: auto; }
#tourBox { position: static; }
#roundMenu { top: 40px; bottom: auto; left: 0; right: auto; }
#seatCtl { z-index: 2; }
#dealer { opacity: 0; }

/* ================= „Spiel starten“ mitten auf dem Tisch ================= */
#bStart {
  position: absolute; left: 800px; top: 512px; translate: -50% -50%; height: 58px; padding: 0 40px; font-size: 20px; border-radius: 29px; z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 6px rgba(233, 196, 106, .14), 0 0 40px rgba(233, 196, 106, .35); animation: startPulse 1.8s ease-in-out infinite;
}
@keyframes startPulse { 50% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 10px rgba(233, 196, 106, .08), 0 0 60px rgba(233, 196, 106, .55); } }
#pot { opacity: 0; }

/* ================= Bots ================= */
.seat.botseat .empty { transform: scale(.72); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .32); background: rgba(10, 12, 16, .42); }
.seat.botseat .empty:hover { transform: scale(.92); border-color: var(--gold); color: var(--gold); background: rgba(233, 196, 106, .12); box-shadow: 0 0 24px rgba(233, 196, 106, .3); }
.seat.botseat .empty .l { top: 100px; font-size: 15px; }
.seat.bot .av { background: linear-gradient(135deg, #6a7384, #2b303a); }
.seat.bot .ini { font-family: inherit; font-size: 30px; text-shadow: none; }

/* =====================================================================
   Aufgeräumte Oberfläche (15.11.): Leiste = Allgemeines, „Tisch“-Menü = Spielleitung,
   Einstellungen = Persönliches, Statistik mit Reitern
   ===================================================================== */
#conn:not(.off) { display: none; }

/* Platz-Knöpfe */
.mini.main { color: var(--gold2); border-color: rgba(233, 196, 106, .5); font-weight: 600; }
.mini.main:hover, .mini.on { background: #3a3220; border-color: var(--gold); color: var(--gold2); }

/* Menüs allgemein */
.pop section { padding: 13px 0 12px; border-top: 1px solid var(--line); }
.pop section:first-of-type { border-top: 0; padding-top: 0; }
.pop section:last-of-type { padding-bottom: 0; }
.pop section h4 { margin-top: 0; }
.pop section.off { opacity: .38; pointer-events: none; }
.pop .state { font-size: 13px; color: #cfd3dc; margin-bottom: 9px; line-height: 1.45; }
.pop .hint { margin-top: 8px; }
.btnrow { display: flex; gap: 8px; }
.pop .btnrow .btn { flex: 1; width: auto; padding: 0 10px; font-size: 13.5px; height: 38px; }
.pop .btn.ghost { background: #262a34; }
.pop .btn.ghost:hover { background: #323744; filter: none; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.pop .row2 label { margin-bottom: 8px; }

/* „Tisch“-Menü hängt unter den Platz-Knöpfen */
.pop.left { position: absolute; top: 42px; left: 0; right: auto; width: 340px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3f4b transparent; border-color: rgba(233, 196, 106, .3); }

/* Reiter in der Statistik */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #0f1116; margin-bottom: 14px; }
.tabs button { flex: 1; height: 32px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--mut); transition: background .15s, color .15s; }
.tabs button:hover { color: var(--txt); }
.tabs button.on { background: #2a2f3a; color: var(--gold2); }
#frBadge { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: 6px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.tabp .hint { margin-top: 10px; }

/* Einstellungen */
.inline { display: flex; gap: 8px; margin-top: 4px; }
.pop .inline input { margin-top: 0; flex: 1; min-width: 0; }
.pop .inline .btn { width: auto; height: 38px; padding: 0 13px; font-size: 13px; }
.pop label.check { display: flex; align-items: center; gap: 9px; color: var(--txt); font-size: 14px; cursor: pointer; margin-bottom: 10px; }
.pop label.check input { width: 18px; height: 18px; display: inline-block; margin: 0; padding: 0; accent-color: var(--gold); }
#account .who .ph { width: 34px; height: 34px; border-radius: 50%; background: #2a2f3a; display: grid; place-items: center; font-weight: 700; flex: none; }

/* Rückfrage */
#ask { z-index: 80; }
.card-modal.small { width: min(390px, 100%); padding: 26px 24px 22px; }
.card-modal h2 { font-family: 'Playfair Display', serif; font-size: 23px; color: var(--gold2); }
.card-modal.small p { margin: 8px 0 18px; }
.card-modal .two { display: flex; gap: 10px; }
.card-modal .two .btn { flex: 1; width: auto; height: 46px; font-size: 15.5px; }

/* Feinschliff Menüs */
#cornerTL { z-index: 26; }
.pop.left { max-height: calc((100vh - 86px) / var(--k, 1)); padding: 14px 16px; }
.pop.left h3 { margin-bottom: 8px; }
.pop.left section { padding: 10px 0 10px; }
.pop.left .state { margin-bottom: 8px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.pop .row3 label { margin-bottom: 0; }
.pop .row3 .btn { width: auto; height: 38px; padding: 0 12px; font-size: 13px; }
.pop.left .row2 label { margin-bottom: 8px; }
.picks { gap: 6px; }
.pick { width: 46px; font-size: 10px; }
.pick .sw { width: 46px; height: 32px; border-width: 3px; border-radius: 16px; }
.pick .sw.c .chip { left: 8px; top: 1px; }

/* =====================================================================
   15.11. nachmittags: Pause, Bedenkzeit, Sprechblasen, Sticker, Gewinne im Protokoll
   ===================================================================== */

/* Gewinne im Protokoll */
#log p.w { color: #eceae4; margin: 4px -11px; padding: 3px 11px 3px 9px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(233, 196, 106, .16), rgba(233, 196, 106, 0) 85%); }
#log p.w b { color: #fff; font-weight: 600; }
#log p.w strong { color: var(--gold2); font-weight: 700; font-size: 14.5px; letter-spacing: .2px; }
#log p.w em { font-style: normal; color: #a9afbc; }

/* Pause */
#pauseVeil { position: absolute; inset: 0; z-index: 14; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse 720px 400px at 50% 47%, rgba(6, 8, 11, .86), rgba(6, 8, 11, .55) 55%, rgba(6, 8, 11, 0) 100%); animation: veilIn .25s ease-out; }
@keyframes veilIn { from { opacity: 0; } }
.pv { pointer-events: auto; display: flex; flex-direction: column; align-items: center; text-align: center; translate: 0 -28px; }
.pv i { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); position: relative; margin-bottom: 12px; box-shadow: 0 0 30px rgba(233, 196, 106, .3); }
.pv i::before, .pv i::after { content: ''; position: absolute; top: 15px; width: 7px; height: 20px; border-radius: 2px; background: var(--gold2); }
.pv i::before { left: 15px; } .pv i::after { right: 15px; }
.pv b { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 600; color: var(--gold2); line-height: 1.1; text-shadow: 0 4px 20px rgba(0, 0, 0, .8); }
.pv span { font-size: 16px; color: #cfd3dc; margin: 6px 0 20px; }
.pv .btn { height: 52px; padding: 0 34px; font-size: 18px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 34px rgba(233, 196, 106, .3); }

/* Bedenkzeit-Wahl */
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #0f1116; }
.seg button { flex: 1; height: 32px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--mut); white-space: nowrap; transition: background .15s, color .15s; }
.seg button:hover { color: var(--txt); }
.seg button.on { background: #3a3220; color: var(--gold2); box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .45); }

/* Sprechblasen: immer außen neben dem Spieler, nie über Karten */
.bubble {
  left: auto; right: auto; top: auto; bottom: auto; transform: none; max-width: 228px; padding: 8px 13px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 1.32;
  background: linear-gradient(#fbf9f2, #ebe6d8); color: #17181c; box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .15); scale: .5;
  transition: opacity .16s, scale .26s cubic-bezier(.2, 1.5, .4, 1); z-index: 6;
}
.bubble.on { scale: 1; }
.bubble span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bubble::after { content: ''; position: absolute; width: 12px; height: 12px; background: #f3efe5; rotate: 45deg; border-radius: 2px; }
/* unten Mitte (ich) und oben Mitte: rechts neben dem Spieler */
.seat[data-v="0"] .bubble, .seat[data-v="4"] .bubble { left: 108px; top: 0; translate: 0 -50%; transform-origin: 0 50%; }
.seat[data-v="4"] .bubble { max-width: 166px; }
.seat[data-v="0"] .bubble { max-width: 196px; }
.seat[data-v="0"] .bubble::after, .seat[data-v="4"] .bubble::after { left: -5px; top: calc(50% - 6px); }
/* unten links: links daneben · unten rechts: rechts daneben */
.seat[data-v="1"] .bubble { right: 108px; bottom: -14px; transform-origin: 100% 100%; }
.seat[data-v="1"] .bubble::after { right: -5px; bottom: 12px; }
.seat[data-v="7"] .bubble { left: 108px; bottom: -14px; transform-origin: 0 100%; }
.seat[data-v="7"] .bubble::after { left: -5px; bottom: 12px; }
/* links und rechts außen: über dem Spieler */
.seat[data-v="2"] .bubble { left: -56px; bottom: 66px; transform-origin: 20% 100%; }
.seat[data-v="2"] .bubble::after { left: 30px; bottom: -5px; }
.seat[data-v="6"] .bubble { right: -92px; bottom: 66px; transform-origin: 80% 100%; }
.seat[data-v="6"] .bubble::after { right: 44px; bottom: -5px; }
/* oben links und oben rechts: schräg unter dem Spieler, neben den Karten */
.seat[data-v="3"] .bubble { right: 6px; top: 46px; transform-origin: 85% 0; }
.seat[data-v="3"] .bubble::after { right: 30px; top: -5px; }
.seat[data-v="5"] .bubble { left: 6px; top: 46px; transform-origin: 15% 0; }
.seat[data-v="5"] .bubble::after { left: 30px; top: -5px; }

/* Sticker-Auswahl in der Spielerkarte */
.tray { margin: 2px 0 10px; padding: 10px; border-radius: 12px; background: #0f1116; }
.tray .th { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.tray .tg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stb { height: 44px; border-radius: 11px; font-size: 25px; line-height: 1; background: #20242d; border: 1px solid var(--line); font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; transition: transform .12s cubic-bezier(.2, 1.6, .4, 1), background .12s, border-color .12s; }
.stb:hover { transform: scale(1.14) rotate(-6deg); background: #2e3340; border-color: rgba(233, 196, 106, .6); }
.stb:active { transform: scale(.94); }
.stb[disabled] { opacity: .35; pointer-events: none; }
.tg.cool .stb { opacity: .45; pointer-events: none; }
#pcard .tray .hint { margin-top: 8px; }

/* Zielen */
body.aiming #stage { cursor: crosshair; }
body.aiming .seat.taken:not(.me) .pod { cursor: crosshair; border-color: var(--gold2); animation: aimPulse 1s ease-in-out infinite alternate; }
body.aiming .seat.taken:not(.me) .pod:hover { scale: 1.06; }
@keyframes aimPulse { from { box-shadow: 0 0 0 2px rgba(233, 196, 106, .5), 0 0 14px rgba(233, 196, 106, .25); } to { box-shadow: 0 0 0 4px rgba(246, 220, 154, .9), 0 0 36px rgba(233, 196, 106, .7); } }
#aimHint { position: absolute; left: 800px; top: 520px; translate: -50% -50%; z-index: 15; display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 24px; white-space: nowrap; pointer-events: none; background: rgba(12, 14, 18, .92); border: 1px solid rgba(233, 196, 106, .5); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); font-size: 15px; font-weight: 500; animation: cardIn .16s ease-out; }
#aimHint i { font-style: normal; font-size: 26px; line-height: 1; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; }
#aimHint small { color: var(--mut); font-size: 12px; margin-left: 4px; }

/* Fliegende Sticker und ihre Wirkung */
#fx { z-index: 13; }
.fxs, .fxe { font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; line-height: 1; transform: translate(-50%, -50%); white-space: nowrap; }
.fxs { font-size: 46px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); will-change: translate, rotate, scale; }
.fxe { font-size: 22px; }
.fxe.big { font-size: 90px; }
.snowball { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #dfeaf5 55%, #a9c0d8); box-shadow: inset -3px -4px 6px rgba(80, 110, 150, .35); }
.petal { width: 11px; height: 15px; margin: -7px -5px; border-radius: 80% 10% 80% 10%; background: linear-gradient(135deg, #f0506a, #a8182f); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.foam { margin: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f6e7b0); }
.conf { margin: -4px; border-radius: 2px; }
.halo { width: 84px; height: 84px; margin: -42px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(246, 220, 154, .9), 0 0 34px 8px rgba(233, 196, 106, .7), inset 0 0 22px rgba(246, 220, 154, .5); }
.splat { width: 78px; height: 70px; margin: -35px -39px; border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; }
.splat.tom { background: radial-gradient(circle at 38% 34%, #ff7a5a, #d42a1f 55%, #8f140f); box-shadow: 12px -9px 0 -7px #c8261c, -15px 8px 0 -8px #b81f17, 9px 15px 0 -9px #d42a1f, -10px -14px 0 -10px #d42a1f, inset -6px -8px 12px rgba(80, 0, 0, .4); }
.splat.tom i { position: absolute; top: 58px; width: 9px; height: var(--h, 26px); border-radius: 0 0 6px 6px; background: linear-gradient(#c8261c, #a31b14); transform-origin: 50% 0; animation: drip 1.5s cubic-bezier(.3, 0, .5, 1) both; }
@keyframes drip { from { scale: 1 0; } to { scale: 1 1; } }
.splat.eggw { background: radial-gradient(circle at 40% 36%, #fff, #f4f1e6 60%, #dcd7c6); box-shadow: 13px -8px 0 -8px #f4f1e6, -14px 10px 0 -8px #efebdf, 6px 16px 0 -10px #f4f1e6, 0 3px 8px rgba(0, 0, 0, .35); }
.splat.eggw b { position: absolute; left: 22px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffe58a, #f6b21b 60%, #d98a06); box-shadow: 0 2px 4px rgba(120, 70, 0, .4); animation: yolk 1.8s .25s cubic-bezier(.3, 0, .4, 1) both; }
@keyframes yolk { to { translate: 4px 22px; scale: .92 1.12; } }
.drop { margin: -4px; border-radius: 50%; }
.drop.tom { background: #d42a1f; }
.shell { margin: -5px; background: #f4efe2; clip-path: polygon(0 100%, 30% 0, 100% 60%); box-shadow: inset -2px -2px 0 #d8d0bb; }
.flake { margin: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #dbe8f4); }
.frost { width: 72px; height: 72px; margin: -36px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; text-shadow: 0 0 8px #9fd0ff; background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(190, 225, 255, .6) 60%, rgba(160, 205, 250, .15)); box-shadow: 0 0 22px rgba(170, 215, 255, .8); }
.fuse { width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #ffd35a; box-shadow: 0 0 10px 4px #ff8a1f, 0 0 22px 8px rgba(255, 90, 0, .5); animation: fuseF .12s linear infinite alternate; }
@keyframes fuseF { to { scale: 1.6; opacity: .6; } }
.flash { width: 240px; height: 240px; margin: -120px; border-radius: 50%; background: radial-gradient(circle, #fff, #ffd87a 35%, rgba(255, 120, 20, .6) 60%, transparent 72%); }
.ring2 { width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 5px solid rgba(255, 200, 120, .9); }
.ember { margin: -3px; border-radius: 50%; background: #ffb13d; box-shadow: 0 0 8px 2px #ff6a00; }
.smoke { margin: -18px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(120, 120, 126, .85), rgba(50, 50, 56, .7)); filter: blur(2px); }
.soot { width: 70px; height: 70px; margin: -35px; border-radius: 50%; background: radial-gradient(circle, rgba(15, 15, 18, .95), rgba(15, 15, 18, .6) 60%, transparent 75%); }
.stink { width: 5px; height: 20px; margin: -10px -2px; border-radius: 4px; background: linear-gradient(#b4d85a, #6f9a1e); filter: blur(.6px); }
@media (prefers-reduced-motion: reduce) { .fuse, .splat.tom i, .splat.eggw b { animation: none; } }
.seat .bubble { transform: none; min-width: 46px; text-align: left; }
.seat[data-v="2"] .bubble::after, .seat[data-v="5"] .bubble::after { left: 18px; }
.seat[data-v="6"] .bubble::after, .seat[data-v="3"] .bubble::after { right: 18px; }
.seat[data-v="2"] .bubble { left: -78px; }
.seat[data-v="6"] .bubble { right: -78px; }

/* Der Rahmen der Zug-Knöpfe darf keine Klicks schlucken (lag über dem Spieler unten rechts) */
#actions { pointer-events: none; }
#actions > * { pointer-events: auto; }

/* „Neue Runde“ auf dem Tisch, wenn noch Chipstände einer alten Runde da sind */
#bFresh { position: absolute; left: 800px; top: 578px; translate: -50% -50%; height: 40px; padding: 0 22px; border-radius: 20px; font-size: 14.5px; z-index: 10; white-space: nowrap; background: rgba(12, 14, 18, .82); }
#bFresh.solo { top: 512px; }
