/* Ruleta naživo – stôl s kolesom, stoličky s hlavami hráčov, zelené súkno so stávkami. */
.roul-page { background: radial-gradient(1100px 620px at 50% -12%, #12402a 0%, transparent 62%), radial-gradient(900px 500px at 95% 20%, #3a1018 0%, transparent 60%), var(--night); }
@media (min-width: 1201px) { .roul-main { grid-template-columns: 290px minmax(0, 1fr) 310px; } }
.table-col { min-width: 0; max-width: 820px; width: 100%; justify-self: center; display: grid; gap: 14px; }
.cnt { font-family: var(--f-num); font-size: 13px; font-weight: 600; background: var(--field); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; vertical-align: middle; margin-left: 4px; color: var(--muted); }
kbd { font-family: var(--f-mono); font-size: 11px; background: var(--field); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; padding: 0 4px; }
.hint { text-align: center; }

/* ---------------------------------------------------------------- fáza kola */
.phase-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 16px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #16203a, var(--night-4)); border: 1px solid var(--line); border-left: 5px solid var(--muted); transition: border-color .4s; }
.phase-bar[data-p="BETTING"] { border-left-color: var(--good); }
.phase-bar[data-p="SPINNING"] { border-left-color: var(--torch); }
.phase-bar[data-p="RESULT"] { border-left-color: var(--gold); }
.phase-bar[data-p="CLOSED"] { border-left-color: var(--bad); }
.ph-l { display: grid; gap: 2px; min-width: 0; }
.ph-name { font-family: var(--f-display); font-size: 28px; line-height: 1; white-space: nowrap; }
.phase-bar[data-p="BETTING"] .ph-name { color: var(--good); }
.phase-bar[data-p="SPINNING"] .ph-name { color: var(--torch); }
.phase-bar[data-p="RESULT"] .ph-name { color: var(--gold); }
.ph-r { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.ph-r b { font-family: var(--f-num); font-weight: 600; }
.ph-time { font-family: var(--f-num); font-weight: 600; font-size: 30px; font-variant-numeric: tabular-nums; margin-left: 12px; min-width: 2.2ch; text-align: right; }
.ph-time.hurry { color: var(--bad); animation: hurry .5s ease-in-out infinite alternate; }
@keyframes hurry { to { transform: scale(1.15); } }
.ph-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.06); }
.ph-prog i { display: block; height: 100%; width: 0; background: currentColor; transition: width 1s linear; color: var(--good); }
.phase-bar[data-p="SPINNING"] .ph-prog i { color: var(--torch); }
.phase-bar[data-p="RESULT"] .ph-prog i { color: var(--gold); }

/* ---------------------------------------------------------------- aréna: stôl, koleso, stoličky */
.arena { position: relative; aspect-ratio: 4 / 3; width: 100%; max-width: 760px; justify-self: center; margin: 20px auto 26px; border-radius: 50%; }
.table-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.t-print { font-family: var(--f-display); font-size: 22px; letter-spacing: 5px; fill: #ffe6a8; opacity: .42; }
.wheel-box { position: absolute; left: 50%; top: 50%; height: 70%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); }
.wheel-box canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)); }
.wheel-box::before { content: ""; position: absolute; inset: -3.5%; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.45) 60%, transparent 72%); z-index: -1; }
.result-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 40% 35%, #444, #111); border: 4px solid var(--gold); box-shadow: 0 0 30px rgba(255,213,79,.6); animation: badgeIn .6s cubic-bezier(.2,1.6,.4,1); pointer-events: none; }
.result-badge.red { background: radial-gradient(circle at 40% 35%, #ff6b6b, #b71c1c); }
.result-badge.green { background: radial-gradient(circle at 40% 35%, #4be08a, #0b7a3a); }
.result-badge span { font-family: var(--f-num); font-weight: 600; font-size: clamp(26px, 5vw, 48px); line-height: 1; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.5); }
.result-badge small { font-size: 11px; color: #fff; opacity: .85; }
@keyframes badgeIn { from { transform: translate(-50%, -50%) scale(.2); opacity: 0; } }
.dealer-say { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); background: var(--night-4); border: 1px solid #b8860b; color: #ffe6a8; border-radius: 999px; padding: 4px 14px; font-size: 13px;
  white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 6px 16px rgba(0,0,0,.4); z-index: 3; transition: opacity .3s; }
.dealer-say:empty { opacity: 0; }

.chairs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chair { position: absolute; width: 64px; transform: translate(-50%, -50%); display: grid; justify-items: center; transition: opacity .4s; pointer-events: auto; }
.chair .seat { position: relative; width: 50px; height: 50px; }
.chair .seat::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 0; height: 18px; background: linear-gradient(180deg, #a86a32, #6a3a14); border-radius: 3px; box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 4px 8px rgba(0,0,0,.4); }
.chair .seat::after { content: ""; position: absolute; left: 7px; right: 7px; top: 2px; height: 30px; background: linear-gradient(180deg, #8a1a1a, #5a0c0c); border: 2px solid #6a3a14; border-radius: 4px 4px 2px 2px; z-index: -1; }
.chair img { position: absolute; left: 50%; top: 2px; width: 34px; height: 34px; transform: translateX(-50%); image-rendering: pixelated; border-radius: 3px; box-shadow: 0 3px 6px rgba(0,0,0,.5); background: #222; }
.chair .nm { margin-top: 3px; font-size: 11px; font-weight: 600; background: rgb(var(--glass-rgb) / .85); border-radius: 3px; padding: 1px 6px; white-space: nowrap; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.chair .bt { font-family: var(--f-num); font-weight: 600; font-size: 11.5px; color: var(--gold); display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.chair .bt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #fff 0 25%, #e53935 26% 60%, #fff 61% 70%, #e53935 71%); }
.chair .web { position: absolute; right: -2px; top: -4px; font-size: 13px; filter: drop-shadow(0 1px 1px #000); }
.chair.me .nm { background: var(--torch); color: #1b1203; }
.chair.empty { opacity: .38; }
.chair.empty .seat::after { background: linear-gradient(180deg, #4a1212, #300808); }
.chair.pop { animation: chairPop .7s cubic-bezier(.2,1.6,.4,1); }
@keyframes chairPop { from { transform: translate(-50%, -50%) scale(.3); } }
.chair.won .nm { background: var(--good); color: #052a12; }
.chair .float { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--f-num); font-weight: 600; font-size: 14px; color: var(--good); text-shadow: 0 2px 3px #000; animation: floatUp 2.4s ease-out forwards; white-space: nowrap; }
@keyframes floatUp { to { transform: translate(-50%, -40px); opacity: 0; } }
.dealer { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); font-size: 11px; color: #ffe6a8; letter-spacing: .2em; opacity: .55; z-index: 1; pointer-events: none; }

/* ---------------------------------------------------------------- súkno so stávkami */
.felt-wrap { position: relative; border-radius: 10px; overflow-x: auto; overflow-y: hidden; }
.felt { --gl: rgba(255,233,170,.55); display: grid; grid-template-columns: 1.15fr repeat(12, 1fr); grid-template-rows: repeat(3, 54px) 60px 52px; gap: 0; min-width: 600px; padding: 14px;
  background: radial-gradient(ellipse at 50% 0%, #1f7a48, #135a33 70%, #0d4428); border: 3px solid #6a3a14; border-radius: 10px; box-shadow: inset 0 0 0 2px #8a5a2b, inset 0 10px 30px rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.45);
  user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.cellb { position: relative; display: grid; place-items: center; border: 1px solid var(--gl); margin: 0 -1px -1px 0; cursor: pointer; transition: background .15s, box-shadow .15s; font-family: var(--f-num); font-weight: 600; color: #fff; }
.cellb:hover, .cellb.hl { background: rgba(255,255,255,.12); }
.cellb .d { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.35), 0 2px 3px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.cellb.r .d { background: radial-gradient(circle at 40% 35%, #ff6b6b, #c62828); }
.cellb.b .d { background: radial-gradient(circle at 40% 35%, #555, #151515); }
.cellb.z { grid-row: 1 / 4; grid-column: 1; border-radius: 40px 0 0 40px; }
.cellb.z .d { background: radial-gradient(circle at 40% 35%, #4be08a, #0b7a3a); width: 40px; height: 40px; font-size: 18px; }
.cellb.out { font-family: var(--f-display); font-size: 21px; line-height: 1; letter-spacing: .5px; color: #fff3d0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.cellb.out small { font-family: var(--f-num); font-size: 11.5px; color: #ffe6a8; opacity: .9; font-weight: 400; letter-spacing: 0; }
.cellb .rhomb { width: 32px; height: 20px; transform: rotate(0); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.cellb .rhomb.r { background: #e53935; } .cellb .rhomb.b { background: #151515; outline: 1px solid #888; }
.felt-logo { grid-row: 4 / 6; grid-column: 1; display: grid; place-items: center; opacity: .55; }
.felt-logo img { width: 34px; height: 34px; }
.cellb.gold { box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 18px rgba(255,213,79,.55); z-index: 1; }
.cellb.gold::after { content: "★"; position: absolute; top: 1px; right: 3px; font-size: 12px; color: var(--gold); text-shadow: 0 0 6px rgba(255,213,79,.9); }
.cellb.win { animation: winCell .6s ease-in-out infinite alternate; z-index: 2; }
@keyframes winCell { to { background: rgba(255,213,79,.35); box-shadow: inset 0 0 0 3px #fff, 0 0 18px rgba(255,213,79,.9); } }
.cellb.lose-dim { opacity: .45; }
.felt.closed .cellb { cursor: default; }

/* žetóny */
.chip { --c: #e53935; --e: #fff; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-weight: 600; font-size: 10.5px; color: #fff;
  background: radial-gradient(circle, var(--c) 0 52%, var(--e) 53% 60%, var(--c) 61% 72%, transparent 73%), repeating-conic-gradient(var(--e) 0 15deg, var(--c) 15deg 45deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.45), 0 3px 6px rgba(0,0,0,.4); text-shadow: 0 1px 1px rgba(0,0,0,.6); line-height: 1; letter-spacing: -.3px; }
.chip[data-v="1"] { --c: #e8e4da; --e: #4a6aa8; color: #1b2a4a; text-shadow: none; }
.chip[data-v="2"] { --c: #e57aa8; --e: #fff; }
.chip[data-v="5"] { --c: #d32f2f; --e: #fff; }
.chip[data-v="10"] { --c: #1e63c8; --e: #fff; }
.chip[data-v="20"] { --c: #2e9e5a; --e: #fff; }
.chip[data-v="50"] { --c: #ef7d1a; --e: #fff; }
.chip[data-v="100"] { --c: #222; --e: #ffd54f; }
.chip[data-v="500"] { --c: #7b3fc0; --e: #ffd54f; }
.chip[data-v="1000"] { --c: #c9a227; --e: #fff6d0; color: #2a1600; text-shadow: none; }
.cellb > .chip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; width: 28px; height: 28px; font-size: 9.5px;
  box-shadow: 0 2px 0 rgba(0,0,0,.45), 0 4px 0 rgba(0,0,0,.25), 0 6px 8px rgba(0,0,0,.45); }
.cellb > .chip.stack2 { box-shadow: 0 -3px 0 var(--c), 0 -4px 0 rgba(0,0,0,.4), 0 2px 0 rgba(0,0,0,.45), 0 6px 8px rgba(0,0,0,.45); }
.cellb > .chip.stack3 { box-shadow: 0 -3px 0 var(--c), 0 -4px 0 rgba(0,0,0,.4), 0 -7px 0 var(--c), 0 -8px 0 rgba(0,0,0,.4), 0 2px 0 rgba(0,0,0,.45), 0 6px 8px rgba(0,0,0,.45); }
.cellb.out > .chip { left: auto; right: 8px; }
.chip.drop { animation: chipDrop .32s cubic-bezier(.3,1.6,.5,1); }
@keyframes chipDrop { from { transform: translate(-50%, -160%) scale(1.25); opacity: 0; } }
.cellb.out > .chip.drop { animation-name: chipDropR; }
@keyframes chipDropR { from { transform: translate(0, -160%) scale(1.25); opacity: 0; } }
.cellb.out > .chip { transform: translate(0, -50%); }
.fly-chip { position: fixed; z-index: 30; pointer-events: none; transition: transform .55s cubic-bezier(.5,0,.3,1), opacity .55s; }

.chip-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; transition: transform .15s; }
.chips button .chip { width: 46px; height: 46px; font-size: 13px; }
.chips button:hover { transform: translateY(-3px); }
.chips button[aria-checked="true"] { transform: translateY(-6px); }
.chips button[aria-checked="true"] .chip { box-shadow: 0 0 0 3px var(--gold), 0 0 16px rgba(255,213,79,.7), 0 6px 10px rgba(0,0,0,.5); }
.chips button[disabled] { opacity: .35; cursor: default; transform: none; }
.chip-act { display: flex; gap: 8px; }
.chip-act .btn { font-size: 18px; padding: 8px 12px; }

.felt-wrap .lock-over, .closed-over { position: absolute; inset: 0; border-radius: 10px; background: rgba(8,8,16,.78); backdrop-filter: blur(2px); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px; z-index: 5; }
.closed-over .big-lock { font-size: 40px; }
.closed-cd { font-family: var(--f-num); font-weight: 600; font-size: 30px; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- bočné panely */
.me-head { display: flex; align-items: center; gap: 12px; }
.me-head img { width: 44px; height: 44px; border-radius: 4px; image-rendering: pixelated; background: var(--field); }
.me-head div { display: grid; }
.me-head b { font-size: 16px; }
.row2 b.pos { color: var(--good); } .row2 b.neg { color: var(--bad); }
.row2.tot { border-top: 1px dashed var(--line); padding-top: 8px; }
.plist { display: grid; gap: 6px; max-height: 300px; overflow: auto; }
.pl { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; font-size: 13.5px; padding: 4px 6px; border-radius: 4px; background: rgb(var(--glass-rgb) / .5); animation: plIn .4s ease; }
@keyframes plIn { from { opacity: 0; transform: translateX(-10px); } }
.pl img { width: 28px; height: 28px; border-radius: 3px; image-rendering: pixelated; background: var(--field); }
.pl .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .n small { color: var(--muted); margin-left: 4px; }
.pl .v { font-family: var(--f-num); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--gold); }
.pl.me { outline: 1px solid var(--torch); }
.pl .tag { font-size: 11px; color: var(--muted); }
.empty-l { font-size: 13px; color: var(--muted); }

.jp-card { background: linear-gradient(180deg, #2e2008, #170f03) !important; border-color: #b8860b !important; text-align: center; }
.jp-card h3 { color: var(--gold); }
.jp-v { font-family: var(--f-num); font-weight: 600; font-size: 30px; color: var(--gold); text-shadow: 0 0 16px rgba(255,213,79,.45); font-variant-numeric: tabular-nums; }
.gold-line { display: flex; justify-content: center; align-items: center; gap: 10px; }
.gold-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-size: 17px; color: #fff; border: 3px solid var(--gold); box-shadow: 0 0 14px rgba(255,213,79,.6); background: #151515; }
.gold-n.r { background: #c62828; } .gold-n.g { background: #0b7a3a; }
.hist { display: flex; flex-wrap: wrap; gap: 5px; }
.hn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-num); font-weight: 600; font-size: 13px; color: #fff; background: #151515; box-shadow: inset 0 -2px 0 rgba(0,0,0,.35); }
.hn.r { background: #c62828; } .hn.g { background: #0b7a3a; }
.hn:first-child { width: 38px; height: 38px; font-size: 16px; box-shadow: 0 0 0 2px var(--gold); }
.hn.new { animation: badgeIn2 .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes badgeIn2 { from { transform: scale(.2); } }
.hist-bars { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--field); }
.hist-bars i { display: block; height: 100%; transition: width .5s; }
.hist-bars .r { background: #c62828; } .hist-bars .b { background: #444; } .hist-bars .g { background: #0b7a3a; }
.hotcold { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.hotcold b { color: var(--text); font-weight: 600; }
.pays { display: grid; gap: 5px; }
.pays div { display: flex; justify-content: space-between; font-size: 13.5px; }
.pays b { font-family: var(--f-num); font-weight: 600; color: var(--gold); }

/* ---------------------------------------------------------------- rozloženie */
@media (max-width: 1200px) { .table-col { grid-column: 1 / -1; order: -1; } }
@media (max-width: 700px) {
  .arena { margin: 18px auto 24px; }
  .wheel-box { height: 72%; }
  .chair { width: 52px; } .chair .seat { width: 40px; height: 40px; } .chair img { width: 28px; height: 28px; } .chair .nm { font-size: 10px; max-width: 64px; }
  .chair.empty { display: none; }
  .ph-name { font-size: 22px; } .ph-time { font-size: 24px; }
  .chips button .chip { width: 40px; height: 40px; font-size: 12px; }
}
/* 1.9.5 – obrázky namiesto emoji */
.icon-btn .gi { width: 22px; height: 22px; vertical-align: middle; }
h3 .gi { width: 1.35em; height: 1.35em; vertical-align: -.32em; margin-right: 3px; }
