/* ============================================================
   ИГРОВИ ЕКРАН — маса, места, лог, действия
   ============================================================ */

.gwrap {
  position: relative;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  overflow: hidden;
}

/* ---------- Лента отгоре ---------- */
.gbar {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: calc(var(--safe-t) + 8px) var(--sp-3) 8px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff; z-index: 20;
}
.gbar .gtitle { font-weight: 900; font-size: 1rem; }
.gbar .gsub { font-size: .78rem; opacity: .75; }
.gbar .spacer { flex: 1; }
.gbar .pillbtn {
  min-height: 40px; padding: 0 14px; border-radius: 99px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.gbar .pillbtn.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }

/* ---------- Масата ---------- */
.table {
  position: relative;
  background: var(--table-felt, radial-gradient(120% 100% at 50% 0%, #1c6b4c 0%, #124a35 45%, #0a2d20 100%));
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}
.table::before {
  content: ""; position: absolute; inset: 10px;
  border: 2px solid rgba(255,255,255,.10); border-radius: 50% / 22%;
  pointer-events: none;
}
.table.round::before { border-radius: 46%; inset: 14px; }
.table .center {
  position: relative; display: grid; place-items: center; gap: var(--sp-2);
  width: 100%; height: 100%;
}

/* ---------- Места ---------- */
.seat {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill); padding: 5px 12px 5px 5px;
  max-width: 46vw; z-index: 12;
  transition: box-shadow .25s var(--ease), background .25s;
}
.seat.active { background: rgba(22,184,119,.3); box-shadow: 0 0 0 2px var(--brand), 0 0 20px rgba(22,184,119,.45); }
.seat.dealer::after {
  content: "D"; position: absolute; right: -8px; top: -8px;
  width: 24px; height: 24px; border-radius: 99px; background: #fff; color: #111;
  font-weight: 900; font-size: .72rem; display: grid; place-content: center; border: 2px solid var(--gold);
}
.seat .nm  { font-weight: 800; font-size: .88rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat .sub { font-size: .74rem; opacity: .85; display: flex; gap: 6px; align-items: center; }
.seat .team { font-size: .68rem; padding: 1px 6px; border-radius: 99px; background: rgba(255,255,255,.18); }
.seat.me   { border-color: var(--brand); }
.seat.pos-bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
.seat.pos-top    { top: 8px; left: 50%; transform: translateX(-50%); }
.seat.pos-left   { left: 8px; top: 50%; transform: translateY(-50%); }
.seat.pos-right  { right: 8px; top: 50%; transform: translateY(-50%); }
.seat.pos-tl { top: 8px; left: 8px; } .seat.pos-tr { top: 8px; right: 8px; }
.seat.pos-bl { bottom: 8px; left: 8px; } .seat.pos-br { bottom: 8px; right: 8px; }
.seat .timer { position: absolute; inset: -3px; border-radius: 99px; pointer-events: none;
  border: 3px solid transparent; }
.seat.active .timer { border-color: var(--gold); animation: seatPulse 1.4s ease-in-out infinite; }
@keyframes seatPulse { 50% { opacity: .35; } }

/* Балонче с реплика/обявяване */
.bubble {
  position: absolute; z-index: 30;
  background: #fff; color: #14201b; font-weight: 800; font-size: .85rem;
  padding: 8px 14px; border-radius: 14px; box-shadow: var(--shadow-2);
  animation: pop .2s var(--ease); max-width: 200px; text-align: center;
}
.bubble::after { content: ""; position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: #fff; }
.bubble.big { font-size: 1.05rem; padding: 10px 18px; }

/* ---------- Ръцете на другите играчи (гърбове) ---------- */
.opp-hand { position: absolute; display: flex; z-index: 6; pointer-events: none; }
.opp-hand .pcard { --cw: 38px; }
.opp-hand .pc-face, .opp-hand .pc-back { box-shadow: 0 1px 4px rgba(0,0,0,.5); }

.opp-hand.pos-top { top: 54px; left: 50%; transform: translateX(-50%); }
.opp-hand.pos-top .pcard + .pcard { margin-left: -22px; }

.opp-hand.pos-left  { left: 6px;  top: 50%; transform: translateY(-50%); flex-direction: column; }
.opp-hand.pos-right { right: 6px; top: 50%; transform: translateY(-50%); flex-direction: column; }
.opp-hand.pos-left .pcard + .pcard,
.opp-hand.pos-right .pcard + .pcard { margin-top: -36px; }

/* При Белот и трите места отиват най-горе, за да има място за картите им */
.belot-table .seat.pos-left,
.belot-table .seat.pos-right { top: 6px; transform: none; max-width: 30vw; }
.belot-table .seat.pos-left { left: 6px; }
.belot-table .seat.pos-right { right: 6px; }
.belot-table .seat.pos-top { top: 6px; }
.belot-table .seat .sub { display: none; }

@media (max-height: 720px) {
  .opp-hand .pcard { --cw: 30px; }
  .opp-hand.pos-left .pcard + .pcard,
  .opp-hand.pos-right .pcard + .pcard { margin-top: -30px; }
  .opp-hand.pos-top .pcard + .pcard { margin-left: -18px; }
}

/* ---------- Карти на масата ---------- */
.trick {
  position: relative;
  width: min(58vw, 290px); height: min(32vh, 210px);
  display: grid; place-items: center;
}
@media (max-height: 720px) { .trick { height: min(28vh, 170px); } }
.trick .slot { position: absolute; transition: all .3s var(--ease); }
.trick .slot.p0 { bottom: 0; left: 50%; transform: translateX(-50%) rotate(2deg); }
.trick .slot.p1 { left: 0;  top: 50%;  transform: translateY(-50%) rotate(-8deg); }
.trick .slot.p2 { top: 0;   left: 50%; transform: translateX(-50%) rotate(-2deg); }
.trick .slot.p3 { right: 0; top: 50%;  transform: translateY(-50%) rotate(8deg); }
.trick-win { animation: trickWin .5s var(--ease); }
@keyframes trickWin { 50% { transform: scale(1.12); filter: brightness(1.25); } }

/* ---------- Долен панел с действия ---------- */
.gactions {
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-3) var(--sp-3) calc(var(--sp-3) + var(--safe-b));
  display: flex; flex-direction: column; gap: var(--sp-3);
  color: #fff; z-index: 20;
  position: relative;
}
.gactions .hand { min-height: 0; }
.gstatus {
  text-align: center; font-weight: 800; font-size: .95rem;
  background: rgba(0,0,0,.3); border-radius: var(--r-pill); padding: 6px 14px;
  align-self: center; max-width: 100%;
}

/* ---------- Варианти на масата (Настройки) ---------- */
/* B — едра: по-големи карти и места, за по-лесно виждане */
.gwrap[data-tv="B"] .hand { --hand-cw: 112px !important; }
.gwrap[data-tv="B"] .seat { padding: 7px 14px 7px 7px; }
.gwrap[data-tv="B"] .seat .nm { font-size: 1rem; }
.gwrap[data-tv="B"] .seat .ava { --size: 54px; }
.gwrap[data-tv="B"] .gstatus { font-size: 1.1rem; padding: 9px 20px; }
.gwrap[data-tv="B"] .bidbtn { min-height: 74px; }
.gwrap[data-tv="B"] .bidbtn .g { font-size: 1.9rem; }
/* C — компактна: повече място за масата */
.gwrap[data-tv="C"] .hand { --hand-cw: 74px !important; }
.gwrap[data-tv="C"] .seat { padding: 3px 9px 3px 3px; }
.gwrap[data-tv="C"] .seat .ava { --size: 38px; }
.gwrap[data-tv="C"] .seat .nm { font-size: .8rem; }
.gwrap[data-tv="C"] .bidbtn { min-height: 50px; }

/* ---------- Наддаване (Белот) ---------- */
.bidgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 380px) { .bidgrid { grid-template-columns: repeat(2, 1fr); } }
.bidbtn {
  min-height: 60px; border-radius: var(--r-md);
  border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-weight: 900; cursor: pointer; padding: 4px;
}
.bidbtn .g { font-size: 1.5rem; line-height: 1; display: grid; place-content: center; min-height: 32px; }
.bidbtn .t { font-size: .72rem; opacity: .9; font-weight: 800; }
.bidbtn.red { color: #ff7a92; }
.bidbtn.special { background: rgba(255,255,255,.16); }
.suitrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.nticon { position: relative; display: grid; place-content: center; }
.nticon .slash {
  position: absolute; inset: 0; pointer-events: none;
}
.nticon .slash::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%;
  height: 3px; background: #ff5a5a; transform: rotate(-32deg); border-radius: 2px;
}
.aticon { display: grid; place-content: center; }
.bidbtn:disabled { opacity: .32; cursor: not-allowed; }
.bidbtn.pass  { background: rgba(255,255,255,.06); }
.bidbtn.kontra { background: rgba(255,90,90,.25); border-color: #ff5a5a; }
.bidbtn.rekontra { background: rgba(255,197,49,.25); border-color: var(--gold); }
.bidbtn:not(:disabled):active { transform: translateY(2px); }

/* Ниски екрани — свиваме панела с действията, за да остане място за масата */
@media (max-height: 720px) {
  .bidbtn { min-height: 46px; }
  .bidbtn .g { min-height: 22px; }
  .bidbtn .g svg { width: 22px; height: 22px; }
  .bidbtn .t { font-size: .66rem; }
  .gactions { padding: 8px 10px calc(8px + var(--safe-b)); gap: 8px; }
  .hand { --hand-cw: 74px !important; padding-top: 0; }
  .gstatus { font-size: .84rem; padding: 4px 12px; }
}

/* ---------- Табло с точки ---------- */
.score-mini {
  display: flex; gap: var(--sp-3); align-items: center;
  background: rgba(0,0,0,.4); border-radius: var(--r-md); padding: 6px 12px; font-weight: 800;
}
.score-mini .us  { color: var(--brand); }
.score-mini .them{ color: #ff9aa2; }

.scoretable { width: 100%; border-collapse: collapse; }
.scoretable th, .scoretable td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.scoretable th:first-child, .scoretable td:first-child { text-align: left; }
.scoretable tfoot td { font-weight: 900; border-top: 2px solid var(--line); }

/* ---------- Таймер за ход ---------- */
.turn-timer {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.35); border-radius: var(--r-pill);
  padding: 5px 12px 5px 6px; align-self: center; width: min(340px, 100%);
}
.turn-timer i {
  display: block; height: 10px; border-radius: 99px; flex: 1;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .12s linear;
}
.turn-timer span { font-weight: 900; font-size: .84rem; min-width: 34px; text-align: right; }
.turn-timer.warn i { background: linear-gradient(90deg, var(--warn), var(--danger)); }
.turn-timer.warn span { color: var(--danger); }
.turn-timer.warn { animation: timerPulse .7s ease-in-out infinite alternate; }
@keyframes timerPulse { to { box-shadow: 0 0 0 3px rgba(255,90,90,.35); } }

/* ---------- Ботът играе вместо теб ---------- */
.autopilot {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: rgba(255,197,49,.16); border: 1px solid var(--gold); color: #ffe07a;
  border-radius: var(--r-md); padding: 8px 12px; font-weight: 800; font-size: .9rem;
}

/* ---------- Емотикони ---------- */
.emobar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.emobar button {
  width: 44px; height: 44px; border-radius: 12px; font-size: 1.35rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer;
}

/* ---------- Табла ---------- */
.bg-board {
  --pt-w: min(7.2vw, 46px);
  display: grid; grid-template-columns: repeat(6, var(--pt-w)) 22px repeat(6, var(--pt-w));
  grid-template-rows: 1fr 1fr; gap: 0;
  background: linear-gradient(160deg,#8a5a2b,#5c3a19);
  border: 10px solid #3d2410; border-radius: 10px; padding: 6px;
  box-shadow: var(--shadow-2);
}
.bg-pt { position: relative; height: min(30vh, 210px); }
.bg-pt::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 92%);
  background: var(--pt-c, #d9bb8a);
}
.bg-pt.bot::before { clip-path: polygon(0 100%, 100% 100%, 50% 8%); }
.bg-pt.dark { --pt-c: #7a4a22; }
.bg-pt .stack { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; padding-top: 3px; }
.bg-pt.bot .stack { flex-direction: column-reverse; padding: 0 0 3px; }
.bg-checker {
  width: calc(var(--pt-w) - 8px); height: calc(var(--pt-w) - 8px); border-radius: 50%;
  border: 2px solid rgba(0,0,0,.35); flex: 0 0 auto;
  display: grid; place-content: center; font-size: .7rem; font-weight: 900;
}
.bg-checker.w { background: radial-gradient(circle at 35% 30%, #fff, #cfc7b5); color: #333; }
.bg-checker.b { background: radial-gradient(circle at 35% 30%, #555, #14100c); color: #eee; }
.bg-checker.sel { box-shadow: 0 0 0 3px var(--gold); }
.bg-bar { background: #3d2410; grid-row: span 2; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; padding: 6px 0; }
.dice { display: flex; gap: 10px; justify-content: center; }
.die {
  width: 46px; height: 46px; border-radius: 10px; background: #fffdf7; color: #14201b;
  display: grid; place-content: center; font-size: 1.5rem; font-weight: 900;
  box-shadow: var(--shadow-1); border: 2px solid #ddd6c4;
}
.die.used { opacity: .35; }
.die.rolling { animation: dieRoll .5s var(--ease); }
@keyframes dieRoll { 50% { transform: rotate(180deg) scale(1.2); } }

/* ---------- Не се сърди, човече ---------- */
.ludo-board {
  width: min(92vw, 520px); aspect-ratio: 1; position: relative;
  background: #f6f1e4; border-radius: 16px; box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr);
  padding: 6px; gap: 2px;
}
.ludo-cell { border-radius: 50%; background: #e4dcc8; position: relative; }
.ludo-cell.path { background: #fff; border: 1px solid #d8cfb8; }
.ludo-cell.home-r { background: #ffd3d3; } .ludo-cell.home-g { background: #d3f5dd; }
.ludo-cell.home-y { background: #fff2c2; } .ludo-cell.home-b { background: #d3e4ff; }
.ludo-cell.start-r { background: #ff5a5a; } .ludo-cell.start-g { background: #3ddc84; }
.ludo-cell.start-y { background: #ffc531; } .ludo-cell.start-b { background: #34c6ff; }
.ludo-cell.safe::after { content: "★"; position: absolute; inset: 0; display: grid; place-content: center;
  color: rgba(0,0,0,.28); font-size: .8em; }
.ludo-pawn {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.4); cursor: pointer;
  display: grid; place-content: center; font-size: .6em; font-weight: 900; color: rgba(0,0,0,.5);
  transition: transform .3s var(--ease); z-index: 3;
}
.ludo-pawn.r { background: radial-gradient(circle at 35% 30%, #ff9a9a, #d02020); }
.ludo-pawn.g { background: radial-gradient(circle at 35% 30%, #96f2b8, #16a05a); }
.ludo-pawn.y { background: radial-gradient(circle at 35% 30%, #ffe79a, #d09a08); }
.ludo-pawn.b { background: radial-gradient(circle at 35% 30%, #9ad3ff, #1470c0); }
.ludo-pawn.can { box-shadow: 0 0 0 3px var(--gold); animation: hintGlow 1.4s infinite; }
.ludo-center { grid-area: 5 / 5 / 8 / 8; display: grid; place-content: center; }

/* ---------- Покер ---------- */
.pot-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.45); border: 1px solid var(--gold); color: var(--gold);
  padding: 6px 14px; border-radius: 99px; font-weight: 900;
}
.board-cards { display: flex; gap: 6px; justify-content: center; }
.raise-row { display: flex; align-items: center; gap: 10px; }
.raise-row input[type=range] { flex: 1; accent-color: var(--brand); height: 34px; }

/* ---------- Слот машина ---------- */
.slot-machine {
  --slot-gap: 6px;
  width: min(560px, 100%); margin: 0 auto;
  background: linear-gradient(170deg, #241a2e 0%, #14101c 55%, #0c0912 100%);
  border: 3px solid var(--gold);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  box-shadow: 0 0 0 4px rgba(255,197,49,.16), var(--shadow-3);
  position: relative; overflow: hidden;
}
.slot-machine::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(100% 60% at 50% 0%, rgba(255,197,49,.16), transparent 70%);
}
.slot-machine.free-mode { border-color: #46e5ff; box-shadow: 0 0 0 4px rgba(70,229,255,.2), var(--shadow-3); }

.slot-top { text-align: center; margin-bottom: var(--sp-3); position: relative; }
.slot-title {
  font-size: clamp(1.5rem, 7vw, 2.2rem); font-weight: 900; letter-spacing: .1em;
  color: #ffe07a;
  text-shadow: 0 0 12px rgba(255,197,49,.65), 0 2px 0 #7a5405;
}
.slot-sub { font-size: .74rem; color: rgba(255,255,255,.6); letter-spacing: .04em; }

/* Лента за съобщения */
.slot-banner {
  display: none; text-align: center; margin-bottom: var(--sp-3);
  padding: 8px 12px; border-radius: var(--r-pill); font-weight: 900;
  background: rgba(255,197,49,.18); border: 1px solid var(--gold); color: #ffe07a;
}
.slot-banner.on { display: flex; justify-content: center; gap: 10px; align-items: center; }
.slot-banner.free { background: rgba(70,229,255,.16); border-color: #46e5ff; color: #bff1ff; }
.slot-banner.big { animation: bigWin .5s var(--ease) infinite alternate; }
@keyframes bigWin { to { transform: scale(1.045); box-shadow: 0 0 22px rgba(255,197,49,.6); } }
.slot-banner .fs-count { background: rgba(0,0,0,.35); border-radius: 99px; padding: 1px 10px; }

/* Прозорецът с барабаните */
.slot-window {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--slot-gap);
  background: #0a0710; border-radius: var(--r-md);
  padding: var(--slot-gap); position: relative;
  box-shadow: inset 0 6px 18px rgba(0,0,0,.75);
}
.slot-reel {
  position: relative; overflow: hidden; border-radius: 8px;
  background: linear-gradient(180deg, #1b1526, #120e1a);
  aspect-ratio: 1 / 3;
}
.slot-reel.bump { animation: reelBump .2s ease; }
@keyframes reelBump { 50% { transform: translateY(4px); } }
.slot-strip { display: flex; flex-direction: column; will-change: transform; }
.slot-cell {
  aspect-ratio: 1; flex: 0 0 auto; display: grid; place-items: center;
  border-bottom: 1px solid rgba(255,255,255,.05); position: relative;
}
.slot-cell svg { width: 76%; height: 76%; }
.slot-cell.win::after {
  content: ""; position: absolute; inset: 3px; border-radius: 8px;
  border: 3px solid var(--gold); box-shadow: 0 0 18px rgba(255,197,49,.75) inset;
  animation: cellWin .6s ease-in-out infinite alternate;
}
@keyframes cellWin { to { opacity: .35; } }
.slot-lines { position: absolute; inset: var(--slot-gap); pointer-events: none; z-index: 3; }

/* Табло */
.slot-meta { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; margin-top: var(--sp-3); }
.sm-box, .slot-win {
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: 7px 10px; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.sm-box span, .slot-win span { font-size: .66rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.sm-box b, .slot-win b { font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.slot-win { border-color: var(--gold); }
.slot-win b { color: var(--gold); font-size: 1.3rem; }

/* Бутони */
.slot-controls { display: grid; grid-template-columns: 62px 1fr 62px; gap: 10px; margin-top: var(--sp-3); align-items: center; }
.slot-btn {
  height: 62px; border-radius: var(--r-md); font-size: 1.8rem; font-weight: 900;
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.22); color: #fff; cursor: pointer;
}
.slot-btn:active { transform: translateY(2px); }
.slot-spin {
  height: 72px; border-radius: var(--r-lg); cursor: pointer; border: 0;
  background: linear-gradient(180deg, #ffe07a, #d99a06);
  color: #2b1f02; font-weight: 900;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 5px 0 #8a6104, 0 10px 20px rgba(0,0,0,.45);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.slot-spin .sp-txt { font-size: 1.4rem; letter-spacing: .1em; }
.slot-spin .sp-sub { font-size: .78rem; opacity: .78; }
.slot-spin:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 #8a6104, 0 4px 10px rgba(0,0,0,.45); }
.slot-spin:disabled { filter: saturate(.4) brightness(.8); cursor: wait; }
.slot-controls2 { display: flex; gap: 8px; margin-top: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.slot-controls2 .btn { color: #fff; border-color: rgba(255,255,255,.25); }

/* Таблица с изплащания */
.pt-list { display: flex; flex-direction: column; gap: 6px; }
.pt-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 10px; background: var(--surface);
}
.pt-row.special { background: var(--surface-2); }
.pt-ic { width: 52px; display: grid; place-items: center; flex: 0 0 auto; }
.pt-name { font-weight: 800; flex: 1; }
.pt-pay { display: flex; flex-direction: column; align-items: flex-end; font-size: .78rem; font-weight: 800; color: var(--gold); }
.pt-lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pt-line-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pt-line { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-flow: column; grid-template-rows: repeat(3, 1fr); gap: 2px; width: 76px; }
.pt-line i { width: 12px; height: 9px; border-radius: 2px; background: var(--surface-3); display: block; }
.pt-line i.on { box-shadow: 0 0 6px currentColor; }

/* ---------- Колело на късмета (SVG) ---------- */
.fwheel-wrap {
  position: relative;
  width: min(88vw, 380px); aspect-ratio: 1;
  margin: 0 auto;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.45));
}
.fwheel {
  width: 100%; height: 100%; display: block;
  transform-origin: 50% 50%;
}
.fwheel .fw-t1 {
  font: 900 13px "Segoe UI", system-ui, sans-serif;
  fill: #fff; letter-spacing: 0;
  paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 3.5px; stroke-linejoin: round;
}
.fwheel .fw-t1.jackpot { fill: #2a1c00; stroke: rgba(255,255,255,.75); }
.fwheel .fw-t2 {
  font: 800 7.5px "Segoe UI", system-ui, sans-serif;
  fill: rgba(255,255,255,.92); letter-spacing: .04em;
  paint-order: stroke; stroke: rgba(0,0,0,.45); stroke-width: 2.5px; stroke-linejoin: round;
}
.fwheel .fw-t1.jackpot + .fw-t2 { fill: #2a1c00; stroke: rgba(255,255,255,.6); }
/* Стрелка отгоре */
.fwheel-pin {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border: 15px solid transparent; border-top: 26px solid var(--gold);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.5));
}
.fwheel-pin::after {
  content: ""; position: absolute; top: -34px; left: -9px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 2px 4px rgba(0,0,0,.4);
}
/* Бутон в центъра */
.fwheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #2b4a3c, #10201a);
  border: 5px solid var(--gold); color: #fff;
  font-weight: 900; font-size: clamp(.7rem, 3.2vw, .95rem); letter-spacing: .04em;
  cursor: pointer; z-index: 4; display: grid; place-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.5), inset 0 0 14px rgba(0,0,0,.5);
  transition: transform .18s var(--ease);
}
.fwheel-hub:active { transform: translate(-50%, -50%) scale(.94); }
.fwheel-hub.off { opacity: .55; }
.fwheel-hub.spinning { animation: hubPulse .7s ease-in-out infinite; }
@keyframes hubPulse { 50% { box-shadow: 0 6px 16px rgba(0,0,0,.5), 0 0 26px var(--gold); } }
.wheel-actions { display: flex; flex-direction: column; gap: 12px; width: min(420px, 100%); align-items: center; }
.wheel-actions .btn { width: 100%; }
