/* Правки по встрече 13.10.2026 (Вадим) поверх сборки «аудит · a24» */

/* ── 4. Кэш-лобби: блок под шапкой прячется в одну кнопку при прокрутке ── */
#device-host .pd-cl-row{max-height:160px;overflow:hidden;transition:max-height .3s cubic-bezier(.2,.8,.2,1),opacity .2s ease,padding .3s cubic-bezier(.2,.8,.2,1)}
#device-host [data-cl=hidden] .pd-cl-row{max-height:0;opacity:0;padding-top:0!important;padding-bottom:0!important;pointer-events:none}
#device-host .pd-cl-flex{display:flex;align-items:center;gap:8px}
#device-host .pd-cl-flex>.pd-tabs{flex:1;min-width:0}
#device-host .pd-cl-fab{position:absolute;top:110px;right:16px;z-index:30;box-sizing:border-box;width:36px;height:36px;padding:0;border-radius:12px;background:rgba(40,41,47,.78);border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 20px rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;cursor:pointer;animation:pd-cl-in .22s ease both}
#device-host .pd-cl-btn{flex:none;box-sizing:border-box;width:36px;height:36px;padding:0;border-radius:12px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;cursor:pointer}
@keyframes pd-cl-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ── 16. Подтверждение перехода на сайт ── */
.pd-site-confirm{position:absolute;inset:0;z-index:4000;display:flex;align-items:center;justify-content:center;padding:0 24px;background:rgba(0,0,0,.74);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .15s cubic-bezier(.2,.8,.2,1)}
.pd-site-confirm.on{opacity:1}
.pd-site-confirm .pd-sc-card{box-sizing:border-box;width:100%;max-width:342px;padding:24px;border-radius:20px;border:1px solid #ffffff17;background:#0d0f12;box-shadow:0 24px 64px rgba(0,0,0,.7);text-align:left;transform:scale(.93);transition:transform .15s cubic-bezier(.2,.8,.2,1)}
.pd-site-confirm.on .pd-sc-card{transform:none}
.pd-site-confirm .pd-sc-kicker{font:700 12px/16px var(--pd-font,'Play',sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#a9adb7}
.pd-site-confirm .pd-sc-title{margin-top:8px;font:700 20px/24px var(--pd-font,'Play',sans-serif);color:#f0f2f5}
.pd-site-confirm .pd-sc-body{margin-top:12px;font:400 14px/20px var(--pd-font,'Play',sans-serif);color:#a9adb7}
.pd-site-confirm .pd-sc-actions{display:flex;gap:8px;margin-top:24px}
.pd-site-confirm .pd-sc-actions .pd-btn{flex:1}

/* ── 7, 9. Джекпот: выбор игры + рука, которая включает джекпот ── */
#device-host .bbj-trigger{display:grid;gap:8px}
#device-host .bbj-pick{position:relative}
#device-host .bbj-pick-btn,#device-host .bbj-pick-list>button{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;margin:0;border:0;text-align:left;cursor:pointer;color:#fff;font-family:var(--pd-font,'Play',sans-serif)}
#device-host .bbj-pick-btn{min-height:60px;padding:10px 12px 10px 16px;border-radius:12px;background:#0d0f12;box-shadow:inset 0 0 0 1px #ffffff1f}
#device-host .bbj-pick-btn:active{background:#121418}
#device-host .bbj-pick i,#device-host .bbw-meta i{flex:none;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.06)}
#device-host .bbj-pick-text{display:grid;gap:2px;flex:1;min-width:0}
#device-host .bbj-pick-text b{font-size:16px;line-height:20px;font-weight:700}
#device-host .bbj-pick-text small{font-size:12px;line-height:16px;color:#a9adb7}
#device-host .bbj-pick-arrow{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.18);transition:transform .2s ease}
#device-host .bbj-pick-arrow[data-open]{transform:rotate(180deg)}
#device-host .bbj-pick-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;overflow:hidden;border-radius:12px;background:#121418;box-shadow:inset 0 0 0 1px #ffffff24,0 18px 40px rgba(0,0,0,.65);animation:pd-cl-in .18s ease both}
#device-host .bbj-pick-list>button{min-height:52px;padding:8px 16px;background:none}
#device-host .bbj-pick-list>button+button{box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
#device-host .bbj-pick-list>button[aria-selected=true]{background:rgba(255,255,255,.06)}
#device-host .bbj-hand{position:relative;overflow:hidden;display:grid;justify-items:center;gap:8px;padding:16px 14px 16px;border-radius:16px;text-align:center;background:radial-gradient(ellipse 90% 70% at 50% 0,color-mix(in srgb,var(--bbj-tone) 16%,transparent),transparent 70%),#0d0f12;box-shadow:inset 0 0 0 1px #ffffff17}
#device-host .bbj-hand-kicker{font:700 12px/16px var(--pd-font,'Play',sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#a9adb7}
#device-host .bbj-hand-title{font:700 20px/24px var(--pd-font,'Play',sans-serif);color:#fff}
#device-host .bbj-cards{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap}
#device-host .bbj-hand .bbj-cards{margin:6px 0 4px}
#device-host .bbj-kicker-card{flex:none;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1.5px dashed rgba(255,255,255,.28);background:rgba(255,255,255,.03)}
#device-host .bbj-kicker-card span{font:700 11px/14px var(--pd-font,'Play',sans-serif);color:#a9adb7}
#device-host .bbj-hand-note{max-width:300px;font:400 12px/17px var(--pd-font,'Play',sans-serif);color:#a9adb7;text-wrap:pretty}

/* ── 10, 11. Джекпот: карточка выплаты (Вадим 13.10, финальная схема) ──
   игра → [аватар · 2 карты / ник] → VS → [аватар · 2 карты / ник]; справа: сумма сверху, борд на сукне напротив VS, дата снизу */
#device-host .bbw-list{display:flex;flex-direction:column;gap:10px}
#device-host .bbw-tile{box-sizing:border-box;display:grid;gap:12px;width:100%;margin:0;padding:14px 14px 16px;border:0;border-radius:18px;background:#0d0f12;box-shadow:inset 0 0 0 1px #ffffff17;text-align:left;cursor:pointer;color:#fff;font-family:var(--pd-font,'Play',sans-serif)}
#device-host .bbw-tile:active{filter:brightness(1.12)}
#device-host .bbw-record{margin-bottom:10px;padding:16px 14px 18px;border-radius:20px;background:radial-gradient(ellipse 80% 70% at 100% 0,rgba(215,25,33,.22),transparent 70%),radial-gradient(circle,rgba(255,255,255,.06) .7px,transparent 1.1px) 0 0/12px 12px,#0d0f12;box-shadow:inset 0 0 0 1px rgba(215,25,33,.45)}
#device-host .bbw-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#device-host .bbw-disc{display:inline-flex;align-items:center;gap:7px;padding:3px 10px 3px 8px;border-radius:999px;background:color-mix(in srgb,var(--bbw-tone) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--bbw-tone) 30%,transparent);font-size:11px;line-height:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#e9ecf1;white-space:nowrap}
#device-host .bbw-disc i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--bbw-tone);box-shadow:0 0 8px var(--bbw-tone)}
#device-host .bbw-body{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center}
#device-host .bbw-players{display:grid;gap:8px;align-content:center}
#device-host .bbw-seat{display:grid;grid-template-columns:72px auto;column-gap:8px;align-items:center}
#device-host .bbw-id{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}
#device-host .bbw-ava{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;overflow:hidden;background:radial-gradient(#2a2f37,#111419);box-shadow:0 0 0 1.5px #ffffff22,0 6px 14px #0008}
#device-host .bbw-ava img{display:block;width:100%;height:100%;object-fit:contain;padding:4%;box-sizing:border-box;transform:scale(1.12)}
#device-host .bbw-nick{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:11px;line-height:13px;font-weight:700;letter-spacing:.02em;color:#e9ecf1}
#device-host .bbw-vs-row{display:grid;grid-template-columns:72px auto;column-gap:8px}
#device-host .bbw-vs{grid-column:2;justify-self:center;padding:3px 10px;border-radius:5px;background:#d71921;font:700 12px/16px var(--pd-font,'Play',sans-serif);letter-spacing:.1em;color:#fff;box-shadow:0 4px 12px rgba(215,25,33,.4)}
#device-host .bbw-cards{display:flex;align-items:center;gap:3px}
#device-host .bbw-card{display:block;flex:none;filter:drop-shadow(0 2px 3px #0006)}
#device-host .bbw-card>span{box-shadow:none!important}
#device-host .bbw-side{display:grid;grid-template-rows:minmax(48px,1fr) auto minmax(48px,1fr);justify-items:center;min-width:0;align-self:stretch}
#device-host .bbw-jp{grid-row:1;align-self:end;margin-bottom:8px;font:700 11px/14px var(--pd-font,'Play',sans-serif);letter-spacing:.24em;text-transform:uppercase;color:#f0c75e;text-shadow:0 0 12px rgba(240,199,94,.35)}
#device-host .bbw-felt{grid-row:2;justify-self:stretch;display:flex;justify-content:center;padding:7px 5px;border-radius:12px;background:#0f3a28 url(../assets/felts/board-green.webp?v=2) center/cover no-repeat;box-shadow:0 0 0 2px #15171b,0 0 0 3px #ffffff14,inset 0 0 0 1px #00000066,inset 0 0 18px #00000080,inset 0 -6px 14px #0000004d}
#device-host .bbw-board{gap:3px}
#device-host .bbw-board .bbw-card{filter:drop-shadow(0 3px 4px #0007)}
#device-host .bbw-prize{grid-row:3;align-self:start;display:grid;justify-items:center;gap:2px;margin-top:8px;text-align:center;min-width:0}
#device-host .bbw-prize strong{font:700 20px/24px var(--pd-font,'Play',sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap;color:#f0c75e;text-shadow:0 0 18px rgba(240,199,94,.25)}
#device-host .bbw-date{font-size:11px;line-height:14px;color:#a9adb7;white-space:nowrap}
/* «Рекордная выплата» — та же карточка, чуть крупнее */
#device-host .bbw-record{padding:18px 14px 20px;gap:14px}
#device-host .bbw-record .bbw-ava{width:34px;height:34px}
#device-host .bbw-record .bbw-nick{font-size:12px;line-height:14px}
#device-host .bbw-record .bbw-players{gap:10px}
#device-host .bbw-record .bbw-vs{font-size:13px;padding:3px 11px}
#device-host .bbw-record .bbw-prize strong{font-size:24px;line-height:28px}
#device-host .bbw-record .bbw-jp{font-size:12px}

/* Вадим 13.10: углы карточки и центровка; красная дот-матрица за игроком, получившим выплату */
#device-host .bbw-tile{position:relative;isolation:isolate;padding:18px 14px}
#device-host .bbw-record{padding:48px 14px}
#device-host .bbw-corner-tr{position:absolute;top:12px;right:12px;z-index:2}
#device-host .bbw-corner-tl{position:absolute;top:12px;left:12px;z-index:2}
#device-host .bbw-corner-br{position:absolute;bottom:12px;right:14px;z-index:2}
#device-host .bbw-seat[data-win]{position:relative;isolation:isolate}
#device-host .bbw-tile{overflow:hidden}
/* красная дот-матрица пятном: ярко в центре, к краям затухает; без рамки и подложки */
#device-host .bbw-seat[data-win]::after{content:"";position:absolute;inset:-16px -22px;z-index:-1;pointer-events:none;background:radial-gradient(circle,#D71921 1.15px,transparent 1.7px) 0 0/6px 6px;-webkit-mask-image:radial-gradient(closest-side,#000 0%,rgba(0,0,0,.75) 35%,rgba(0,0,0,.25) 70%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0%,rgba(0,0,0,.75) 35%,rgba(0,0,0,.25) 70%,transparent 100%);opacity:.95}

/* ── Вадим 13.10: пьедестал на плитке «Соревнования» в «Наградах» — крупнее (картинка широкая и низкая, в квадрате 96 выглядела мелкой) ── */
#device-host .act-tile[data-wide] .act-art:has(img[src*="leaderboards-lb03"]){width:172px;height:132px;margin:-22px -20px -22px -18px}
#device-host .act-tile[data-wide] .act-art img[src*="leaderboards-lb03"]{width:172px;height:132px;max-width:none;max-height:none;object-fit:contain}

/* ── Кэш-лобби: разделитель «дисциплина · лимит» / «дисциплина» (Вадим 13.10) ── */
#device-host .pd-disc-div{position:sticky;top:0;z-index:3}
#device-host .pd-disc-div>i{display:block;height:1px;background:color-mix(in srgb,var(--pd-dd) 50%,transparent)}
#device-host .pd-disc-div>i:last-child{background:color-mix(in srgb,var(--pd-dd) 25%,transparent)}
#device-host .pd-disc-div>span{display:block;padding:4px 16px;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;color:var(--pd-dd)}

/* ── Награды: виджет рейкбека серый и неактивный до утверждения РБ-системы (Вадим 13.10) ── */
#device-host .fr-rb[data-locked]{filter:grayscale(1) brightness(.8);opacity:.6;cursor:default}
#device-host .fr-rb[data-locked]:active{transform:none}

/* ── «Настройки»: замок поверх раздела + переключатель языка (Вадим 13.10) ── */
#device-host .pd-section-lock{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:0 32px 120px;background:radial-gradient(60% 45% at 50% 42%,rgba(215,25,33,.14),transparent 70%),rgba(7,7,9,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:pd-sl-in .25s ease both}
@keyframes pd-sl-in{from{opacity:0}to{opacity:1}}
#device-host .pd-sl-lang{position:absolute;top:60px;right:16px;display:flex;gap:4px;padding:4px;border-radius:12px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.13)}
#device-host .pd-sl-lang button{min-width:44px;height:30px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#a9adb7;font:700 12px/16px var(--pd-font,'Play',sans-serif);letter-spacing:.08em;cursor:pointer}
#device-host .pd-sl-lang button[aria-pressed=true]{background:#D71921;color:#fff;box-shadow:0 4px 12px rgba(215,25,33,.35)}
#device-host .pd-sl-body{display:grid;justify-items:center;gap:14px;max-width:300px;text-align:center}
#device-host .pd-sl-lock{display:grid;place-items:center;width:132px;height:132px;margin-bottom:6px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#24262c,#0d0f12 70%);box-shadow:0 0 0 1px #ffffff1a,0 0 60px rgba(215,25,33,.28),inset 0 1px 0 #ffffff14}
#device-host .pd-sl-body b{font:700 20px/26px var(--pd-font,'Play',sans-serif);color:#f0f2f5}
#device-host .pd-sl-body small{font:400 14px/20px var(--pd-font,'Play',sans-serif);color:#a9adb7}
