/* Токены платформы (--bg, --surface, --ink, --accent и др.) приходят из shared/theme.css.
   Здесь стол, карты, фишки и экраны блэкджека по макету. */
:root {
  --felt: oklch(0.9 0.04 175);
  --felt-line: oklch(0.8 0.05 175);
  --felt-a: oklch(0.74 0.09 158); --felt-b: oklch(0.64 0.09 160); --felt-edge: oklch(0.5 0.08 160); --felt-ring: oklch(0.85 0.06 158 / 0.6); --felt-ink: oklch(0.2 0.03 160); --felt-dash: oklch(0.98 0.01 90 / 0.7);
  --card-bg: oklch(0.995 0.003 90);
  --card-line: oklch(0.7 0.01 260);
  --suit-red: oklch(0.5 0.19 27);
  --suit-black: oklch(0.24 0.02 260);
  --back: oklch(0.5 0.1 175);
  --danger: oklch(0.5 0.17 27);
  --danger-soft: oklch(0.94 0.04 27);
  --focus: oklch(0.55 0.18 260);
  --overlay: oklch(0.2 0.02 260 / .6);
  --game-shadow: 0 2px 0 oklch(0.85 0.01 90), 0 8px 20px -8px oklch(0.3 0.03 260 / .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --felt: oklch(0.3 0.05 175); --felt-line: oklch(0.4 0.05 175);
    --felt-a: oklch(0.42 0.075 158); --felt-b: oklch(0.32 0.065 160); --felt-edge: oklch(0.27 0.05 160); --felt-ring: oklch(0.5 0.07 160 / 0.5); --felt-ink: oklch(0.97 0.01 90); --felt-dash: oklch(0.85 0.03 160 / 0.6);
    --card-bg: oklch(0.93 0.008 90); --card-line: oklch(0.55 0.01 260);
    --back: oklch(0.45 0.09 175);
    --danger: oklch(0.78 0.12 27); --danger-soft: oklch(0.32 0.06 27);
    --focus: oklch(0.78 0.14 260);
  }
}
:root[data-theme="dark"] {
  --felt: oklch(0.3 0.05 175); --felt-line: oklch(0.4 0.05 175);
  --felt-a: oklch(0.42 0.075 158); --felt-b: oklch(0.32 0.065 160); --felt-edge: oklch(0.27 0.05 160); --felt-ring: oklch(0.5 0.07 160 / 0.5); --felt-ink: oklch(0.97 0.01 90); --felt-dash: oklch(0.85 0.03 160 / 0.6);
  --card-bg: oklch(0.93 0.008 90); --card-line: oklch(0.55 0.01 260);
  --back: oklch(0.45 0.09 175);
  --danger: oklch(0.78 0.12 27); --danger-soft: oklch(0.32 0.06 27);
  --focus: oklch(0.78 0.14 260);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
button, input { font-family: inherit; }
button { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, opacity .2s ease; }
button:not(:disabled):active { transform: scale(.97); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.noscript { margin: 0; padding: 12px 16px; background: var(--accent-soft); color: var(--ink); text-align: center; }

.app { max-width: 780px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; position: relative; }
.screen { flex: 1; display: flex; flex-direction: column; animation: fade-up .3s ease backwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop-in { from { transform: scale(.9); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes deal-in { from { opacity: 0; transform: translate(var(--sx, 0px), var(--sy, -34px)) scale(.55) rotate(-14deg); } 15% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes flip-in { from { transform: rotateY(90deg); opacity: .5; } to { transform: rotateY(0); opacity: 1; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 3px var(--accent); } 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Кнопки */
.btn {
  min-height: 44px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 400;
}
.btn.ghost { background: transparent; }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.btn.outline { border-color: var(--accent); background: transparent; font-weight: 700; }
.btn.big { min-height: 56px; font-size: 18px; border-radius: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn {
  width: 44px; height: 44px; flex: none; padding: 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.muted { color: var(--muted); }

/* Верхняя панель стола */
.topbar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; flex: none; }
.topbar .title { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bal-chip { height: 44px; padding: 0 12px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; font-weight: 700; font-size: 15px; white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }

/* Старт */
.poor-card { width: 100%; max-width: 420px; background: var(--danger-soft); border: 1.5px solid var(--danger); border-radius: 20px; padding: 16px; }
.poor-card b { display: block; font-size: 18px; }
.poor-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.4; }
.poor-card .btn { margin-top: 12px; }
.bal-line { text-align: center; color: var(--ink); font-weight: 700; font-size: 16px; }

/* Карточки экранов онлайна */
.page { padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 560px; margin: 0 auto; }
.page-head { display: flex; align-items: center; gap: 10px; }
.page-head h2 { margin: 0; font-size: 20px; flex: 1; min-width: 0; }
.you-chip { max-width: 40%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.card-box h3 { margin: 0 0 10px; font-size: 16px; }
.code-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.code-input {
  flex: 1 1 160px; min-width: 0; height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 28px; font-weight: 700; letter-spacing: 8px; text-align: center; text-transform: uppercase; padding: 0 8px;
}
.code-input:focus { border-color: var(--accent); }
.field-err { color: var(--danger); font-weight: 700; font-size: 14px; margin: 8px 0 0; }
.table-list .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.table-list .row:first-of-type { border-top: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--accent-soft); color: var(--ink); }
.row .who { flex: 1; min-width: 0; }
.row .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .who span { font-size: 14px; color: var(--muted); }
.dashed { border: 2px dashed var(--line); border-radius: 20px; padding: 16px; text-align: center; color: var(--muted); font-size: 15px; }
.msg { border-radius: 20px; padding: 16px; background: var(--surface); border: 1px solid var(--line); }
.msg.bad { background: var(--danger-soft); border: 1.5px solid var(--danger); }
.msg b { display: block; font-size: 17px; }
.msg span { display: block; font-size: 14px; margin-top: 2px; color: var(--muted); }
.msg .btn { margin-top: 10px; }
.seg { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.seg button { flex: 1; height: 48px; border-radius: 12px; border: 2px solid transparent; background: transparent; color: var(--ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.switch-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; min-height: 44px; width: 100%; text-align: left; color: var(--ink); cursor: pointer; }
.switch-row .t { flex: 1; }
.switch-row b { display: block; }
.switch-row span.s { font-size: 14px; color: var(--muted); }
.knob { width: 52px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex: none; transition: background-color .2s ease; }
.knob i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); transition: transform .2s ease; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; font-style: normal; color: var(--accent); }
.switch-row[aria-pressed="true"] .knob { background: var(--accent); }
.switch-row[aria-pressed="true"] .knob i { transform: translateX(22px); }
.code-big { text-align: center; }
.code-big small { font-size: 14px; color: var(--muted); }
.code-big .code { font-size: 46px; font-weight: 700; letter-spacing: 10px; margin: 4px 0 12px; padding-left: 10px; }
.code-big .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.seats { display: flex; flex-direction: column; gap: 8px; }
.seat { display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); animation: pop-in .25s ease both; }
.seat.empty { background: transparent; border: 2px dashed var(--line); color: var(--muted); animation: none; }
.seat .nm { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .tg { font-size: 14px; color: var(--muted); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.row-btns .btn { flex: 1 1 110px; }
.row-btns .btn.accent { flex: 2 1 200px; }

/* Игровой стол */
.game { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 10px 10px; width: 100%; max-width: 780px; margin: 0 auto; }
.felt { position: relative; flex: none; align-self: center; background: radial-gradient(ellipse at 50% 45%, var(--felt-a), var(--felt-b)); border: 5px solid var(--felt-edge); box-shadow: inset 0 0 0 2px var(--felt-ring), inset 0 6px 18px oklch(0.2 0.05 160 / 0.25); color: var(--felt-ink); }
.dealer-box { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dealer-box .lbl { color: var(--felt-ink); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pill { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 2px 8px; font-size: 14px; font-weight: 700; }
.row-cards { display: flex; }
.dealer-slot { width: 70px; height: 98px; border: 2px dashed var(--felt-dash); color: var(--felt-ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); font-weight: 700; }
.plate { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; background: transparent; padding: 2px; border: 0; color: var(--ink); }
.plate.active .stt { border-color: var(--accent); color: var(--accent); }
.plate .ring { padding: 3px; border-radius: 50%; }
.plate .ring[style*="conic"] { box-shadow: 0 0 0 3px var(--accent-soft); }
.plate .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; border: 1px solid var(--line); }
.plate .nm { font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 96px; text-align: center; overflow: hidden; text-overflow: ellipsis; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px 7px; line-height: 1.1; }
.plate .sm { font-size: 13px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1px 7px; }
.plate .stt { font-size: 11px; font-weight: 700; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 2px 6px; line-height: 1.1; max-width: 110px; }
.plate .stt.good { color: var(--accent); border-color: var(--accent); }
.plate .stt.bad { color: var(--danger); }
.me-box { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.me-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.me-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.me-label { white-space: nowrap; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.me-label.turn { background: var(--accent); color: var(--accent-ink); }
.me-ring { display: flex; padding: 4px; border-radius: 12px; }
.me-ring.turn { box-shadow: 0 0 0 3px var(--accent); background: oklch(1 0 0 / .18); animation: pulse-ring 1.8s ease-in-out infinite; }
.bet-col { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 6px; }
.chip-stack { display: flex; flex-direction: column-reverse; align-items: center; }
.bet-n { font-size: 13px; font-weight: 700; }
.center-res { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); text-align: center; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 2px 8px oklch(0.2 0.02 260 / .2); animation: pop-in .5s ease both; }
.center-res.good { border-color: var(--accent); }
.center-res.bad { border-color: var(--danger); }
.center-res .t { font-size: 18px; font-weight: 700; line-height: 1.15; }
@media (min-width: 700px) { .center-res .t { font-size: 22px; } }
.center-res.good .t { color: var(--accent); }
.center-res.bad .t { color: var(--danger); }
.center-res .s { font-size: 12px; color: var(--muted); line-height: 1.25; }
.bet-zone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bet-circle { width: 124px; height: 124px; border-radius: 50%; border: 3px dashed var(--accent); background: oklch(1 0 0 / .25); display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; padding-top: 6px; }
.bet-title { font-size: 24px; font-weight: 700; }
.bet-note { font-size: 13px; color: var(--felt-ink); opacity: .85; text-align: center; max-width: 220px; }
.you-line { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; }
.you-line .av { width: 30px; height: 30px; font-size: 13px; }
.chip-row { display: flex; justify-content: center; flex-wrap: wrap; }
.chip-btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid transparent; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chip-btn:disabled { border: 2px dashed var(--line); opacity: .4; filter: grayscale(1); cursor: default; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.act-row { display: flex; gap: 10px; }
.actions .act-row { gap: 20px; }
.act { flex: 1; height: 54px; border-radius: 14px; font-size: 20px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; border: 2px solid var(--accent); background: color-mix(in oklch, var(--accent) 80%, var(--surface)); color: var(--accent-ink); }
.act.take { background: var(--accent); color: var(--accent-ink); }
.act:disabled { border: 2px dashed var(--line); background: var(--surface); color: var(--muted); cursor: default; }
.act.hl { outline: 4px solid var(--ink); outline-offset: 3px; }
.act small { display: none; font-size: 12px; font-weight: 400; opacity: .85; }
.wait-text { min-height: 20px; text-align: center; font-size: 15px; font-weight: 700; color: var(--felt-ink); opacity: .85; }
.notice { background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: 14px; padding: 10px 14px; font-size: 15px; font-weight: 700; animation: slide-down .25s ease both; }
.notice.bad { background: var(--danger-soft); border-color: var(--danger); }
.result-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: slide-down .3s ease both; }
.result-panel .duel { background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; flex-wrap: wrap; }
.result-panel .broke { background: var(--danger-soft); border: 1.5px solid var(--danger); border-radius: 12px; padding: 10px 12px; font-size: 15px; line-height: 1.35; }
.next-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.next-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.sit-link { background: transparent; border: 0; color: var(--muted); text-decoration: underline; font-size: 14px; cursor: pointer; padding: 6px; min-height: 36px; }
.banner { margin: 0 10px; padding: 10px 14px; border-radius: 14px; font-size: 15px; font-weight: 700; background: var(--accent-soft); border: 1.5px solid var(--accent); }
.banner.bad { background: var(--danger-soft); border-color: var(--danger); }

/* Карты и фишки */
.pcard { position: relative; flex: none; box-sizing: border-box; background: var(--card-bg); border: 1px solid var(--card-line); box-shadow: 0 1px 3px oklch(0.2 0.02 260 / .28); overflow: hidden; user-select: none; }
.pcard.fresh { animation: deal-in .7s cubic-bezier(.22, .8, .3, 1) both; z-index: 6; }
.pcard.fresh[data-fx]::after { content: ''; position: absolute; inset: 0; background: var(--back); border: 1.5px solid oklch(1 0 0 / .85); border-radius: inherit; animation: back-off .7s linear both; animation-delay: inherit; }
@keyframes back-off { 0%, 55% { opacity: 1; } 75%, 100% { opacity: 0; } }
.shoe { position: absolute; left: calc(50% + 96px); top: 4px; z-index: 1; pointer-events: none; filter: drop-shadow(0 5px 6px oklch(0.15 0.03 160 / .45)); }
@media (min-width: 700px) { .shoe { left: calc(50% + 150px); top: 6px; } }
.shoe i { position: absolute; inset: 0; border-radius: 3px; background-color: var(--back); border: 1px solid oklch(1 0 0 / .85); box-shadow: 0 1px 3px oklch(0.2 0.02 260 / .35); background-image: linear-gradient(45deg, oklch(1 0 0 / .22) 25%, transparent 25%, transparent 75%, oklch(1 0 0 / .22) 75%), linear-gradient(-45deg, oklch(1 0 0 / .22) 25%, transparent 25%, transparent 75%, oklch(1 0 0 / .22) 75%); background-size: 5px 5px; }
.shoe i:nth-child(1) { transform: translate(-10px, 10px); } .shoe i:nth-child(2) { transform: translate(-8px, 8px); } .shoe i:nth-child(3) { transform: translate(-6px, 6px); } .shoe i:nth-child(4) { transform: translate(-4px, 4px); } .shoe i:nth-child(5) { transform: translate(-2px, 2px); }
.pcard.flip { animation: flip-in .55s cubic-bezier(.3, .7, .3, 1) both; }
.pcard .back { position: absolute; background-color: var(--back); border: 1.5px solid oklch(1 0 0 / .85); background-image: linear-gradient(45deg, oklch(1 0 0 / .22) 25%, transparent 25%, transparent 75%, oklch(1 0 0 / .22) 75%), linear-gradient(-45deg, oklch(1 0 0 / .22) 25%, transparent 25%, transparent 75%, oklch(1 0 0 / .22) 75%); }
.pcard .idx { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 700; }
.pcard .pip { position: absolute; line-height: 1; }
.pcard .face { position: absolute; display: flex; align-items: center; justify-content: center; font-weight: 700; background: oklch(0.5 0.02 90 / .07); }
.chip { flex: none; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 0 oklch(0.2 0.02 260 / .35); animation: chip-in .3s ease both; }
.chip .in { width: 72%; height: 72%; border-radius: 50%; border: 1.5px solid oklch(1 0 0 / .9); display: flex; align-items: center; justify-content: center; color: oklch(0.99 0 0); font-weight: 700; letter-spacing: -.5px; }

/* Окна */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 10; display: flex; align-items: flex-end; justify-content: center; animation: fade-in .22s ease both; }
.overlay.closing { animation: fade-out .18s ease forwards; }
.sheet { background: var(--surface); color: var(--ink); border-radius: 24px 24px 0 0; padding: 20px; width: 100%; max-height: 90%; overflow: auto; animation: sheet-up .3s cubic-bezier(.2, .8, .3, 1) both; }
.sheet h2 { margin: 0; font-size: 24px; }
.sheet .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sheet .rule { padding: 8px 0; border-top: 1px solid var(--line); }
.sheet .rule b { display: block; font-size: 15px; }
.sheet .rule span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.sheet .stack { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.sheet p.t { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.ask-num { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.ask-num b { font-size: 64px; line-height: 1; }
.ask-num span { font-size: 16px; color: var(--muted); }
.ask-bar { height: 10px; border-radius: 5px; background: var(--line); margin-bottom: 16px; overflow: hidden; }
.ask-bar i { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
@media (min-width: 700px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet { border-radius: 24px; max-width: 420px; }
  .act small { display: block; }
  .actions .act-row { max-width: 440px; margin: 0 auto; width: 100%; gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard.fresh[data-fx]::after { display: none; }          /* рубашку снимает только анимация: без анимаций её не рисуем вовсе */
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Онлайн: список столов, предпросмотр, баннеры */
.you-chip { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 6px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; white-space: nowrap; }
.tag-bots { font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 10px; padding: 2px 8px; }
.row.skel .avatar, .row.skel .who i { background: var(--line); }
.row.skel .who i { display: block; height: 12px; width: 50%; border-radius: 6px; }
.row.skel .who i.s { height: 10px; width: 30%; margin-top: 8px; }
.preview { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pv-table { position: relative; width: 170px; height: 150px; border-radius: 75px; background: radial-gradient(ellipse at 50% 45%, var(--felt-a), var(--felt-b)); border: 4px solid var(--felt-edge); box-sizing: border-box; }
.pv-dealer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; font-weight: 700; color: var(--muted); }
.pv-seat { position: absolute; width: 34px; height: 34px; border-radius: 50%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--surface); color: var(--ink); border: 2px dashed var(--muted); }
.pv-seat.me { background: var(--accent); color: var(--accent-ink); border: 0; }
.pv-seat.bot { background: var(--line); border: 0; }
.banner.flex { display: flex; align-items: center; gap: 10px; }
.banner.flex span { flex: 1; min-width: 0; }

/* Итог игры с ботом: окошко над своими картами */
.result-pop { position: absolute; left: 50%; transform: translateX(-50%); width: min(92%, 320px); box-sizing: border-box; text-align: center; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 6px 18px oklch(0.2 0.02 260 / .28); animation: pop-up .55s cubic-bezier(.22, .8, .3, 1) both; z-index: 2; }
.result-pop.good { border-color: var(--accent); }
.result-pop.bad { border-color: var(--danger); }
.result-pop .t { font-size: 20px; font-weight: 700; line-height: 1.15; }
.result-pop.good .t { color: var(--accent); }
.result-pop.bad .t { color: var(--danger); }
.result-pop .s { font-size: 13px; color: var(--muted); }
.result-pop .cap { font-size: 13px; font-weight: 700; background: var(--accent-soft); border-radius: 10px; padding: 4px 8px; margin-top: 4px; }
.result-pop .broke { background: var(--danger-soft); border: 1.5px solid var(--danger); border-radius: 12px; padding: 8px 10px; font-size: 13px; line-height: 1.3; margin-top: 4px; text-align: left; }
.pop-btns { display: flex; gap: 10px; margin-top: 8px; }
.pop-btns .btn { flex: 1; min-height: 46px; }
@keyframes pop-up { from { opacity: 0; transform: translate(-50%, 14px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
