/* WIND GAME BM60 (26.10.2026): «Бонусный баланс» card (pages/bonuses) + header label «Бонусный / Реальный».
   Own classes only (.bm60*, .bm60-hb); no :has(), no [class*=]. Dark = default, light = html[data-theme="light"]. */
.bm60{--bm-bg:radial-gradient(120% 140% at 0% 0%,#4a1424 0%,#25101a 45%,#140a10 100%);--bm-line:rgba(244,196,90,.38);--bm-text:#f7efe4;
  --bm-muted:rgba(247,239,228,.68);--bm-gold:#f4c45a;--bm-gold2:#e2962b;--bm-cell:rgba(255,255,255,.045);--bm-cell-line:rgba(255,255,255,.08);
  --bm-track:rgba(255,255,255,.1);--bm-ok:#7fd99a;--bm-warn:#ffb36b;--bm-real:#9fd3ff}
html[data-theme="light"] .bm60{--bm-bg:radial-gradient(120% 140% at 0% 0%,#fff3e3 0%,#fff9f4 50%,#fdecea 100%);--bm-line:rgba(170,52,70,.28);
  --bm-text:#2b1117;--bm-muted:#6d4b53;--bm-gold:#c98612;--bm-gold2:#a8650b;--bm-cell:rgba(120,30,45,.045);--bm-cell-line:rgba(120,30,45,.12);
  --bm-track:rgba(120,30,45,.12);--bm-ok:#1f8a4c;--bm-warn:#b4560d;--bm-real:#1f6aa8}
#bm60.bm60{position:relative;box-sizing:border-box;margin:0 0 18px;padding:22px 24px 20px;border-radius:22px;border:1px solid var(--bm-line);
  background:var(--bm-bg);color:var(--bm-text);box-shadow:0 18px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);overflow:hidden;
  font-family:inherit;line-height:1.35;min-width:0}
html[data-theme="light"] #bm60.bm60{box-shadow:0 12px 30px rgba(120,30,45,.12),inset 0 1px 0 #fff}
#bm60.bm60::before{content:"";position:absolute;inset:auto -60px -90px auto;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(244,196,90,.16),transparent 65%);pointer-events:none}
#bm60.bm60[data-mode="real"]::before{background:radial-gradient(circle,rgba(120,190,255,.12),transparent 65%)}
#bm60 .bm60-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;position:relative}
#bm60 .bm60-brand{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 320px}
#bm60 .bm60-emblem{width:64px;height:64px;flex:0 0 64px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
#bm60 .bm60-titles{min-width:0}
#bm60 .bm60-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--bm-gold);text-transform:uppercase}
#bm60 h2{margin:2px 0 4px;font-size:24px;line-height:1.15;font-weight:800;color:var(--bm-text);letter-spacing:0}
#bm60 .bm60-sub{margin:0;color:var(--bm-muted);font-size:14px;max-width:560px}
#bm60 .bm60-toggle{display:flex;align-items:center;gap:14px;padding:10px 12px 10px 16px;border-radius:16px;border:1px solid var(--bm-cell-line);
  background:var(--bm-cell);cursor:pointer;flex:0 0 auto;max-width:100%;box-sizing:border-box}
#bm60 .bm60-toggle-txt{display:flex;flex-direction:column;min-width:0}
#bm60 .bm60-toggle-txt b{font-size:15px;font-weight:800;color:var(--bm-text)}
#bm60 .bm60-state{font-size:12px;font-weight:700;color:var(--bm-gold)}
#bm60[data-mode="real"] .bm60-state{color:var(--bm-real)}
#bm60 .bm60-switch{position:relative;flex:0 0 58px;width:58px;height:32px;padding:0;border-radius:999px;border:1px solid var(--bm-cell-line);
  background:var(--bm-track);cursor:pointer;transition:background .18s ease,border-color .18s ease}
#bm60 .bm60-switch[aria-checked="true"]{background:linear-gradient(135deg,var(--bm-gold),var(--bm-gold2));border-color:transparent}
#bm60 .bm60-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.35);
  transition:transform .18s ease}
#bm60 .bm60-switch[aria-checked="true"] .bm60-knob{transform:translateX(26px)}
#bm60 .bm60-switch:disabled{opacity:.55;cursor:not-allowed}
#bm60 .bm60-switch:focus-visible{outline:2px solid var(--bm-gold);outline-offset:3px}
#bm60 .bm60-pill{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;font-size:13px;font-weight:800;
  border:1px solid var(--bm-line);color:var(--bm-gold);background:var(--bm-cell)}
#bm60 .bm60-pill.is-real{color:var(--bm-real)}
#bm60 .bm60-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0;position:relative}
#bm60 .bm60-stat{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:14px;background:var(--bm-cell);border:1px solid var(--bm-cell-line);min-width:0}
#bm60 .bm60-stat small{font-size:12px;color:var(--bm-muted);font-weight:600}
#bm60 .bm60-stat b{font-size:19px;font-weight:800;color:var(--bm-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bm60 .bm60-stat.is-gold b{color:var(--bm-gold)}
#bm60[data-mode="real"] .bm60-stat.is-gold b{opacity:.8}
#bm60 .bm60-stat span{font-size:12px;color:var(--bm-muted)}
#bm60 .bm60-progress{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:var(--bm-cell);border:1px solid var(--bm-cell-line);position:relative}
#bm60 .bm60-progress-top{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:var(--bm-muted);flex-wrap:wrap}
#bm60 .bm60-progress-top b{color:var(--bm-text)}
#bm60 .bm60-pct{font-weight:800;color:var(--bm-gold)}
#bm60 .bm60-bar{height:12px;margin:9px 0 7px;border-radius:999px;background:var(--bm-track);overflow:hidden}
#bm60 .bm60-bar i{display:block;height:100%;min-width:4px;border-radius:inherit;background:linear-gradient(90deg,var(--bm-gold2),var(--bm-gold));
  box-shadow:0 0 12px rgba(244,196,90,.45)}
#bm60[data-mode="real"] .bm60-bar i{filter:saturate(.35);opacity:.75}
#bm60 .bm60-left{font-size:12px;color:var(--bm-muted)}
#bm60 .bm60-block{margin:16px 0 0;position:relative}
#bm60 h3{margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--bm-muted)}
#bm60 .bm60-chips{display:flex;flex-wrap:wrap;gap:8px}
#bm60 .bm60-chip{display:flex;flex-direction:column;gap:2px;padding:9px 12px;border-radius:12px;background:var(--bm-cell);border:1px solid var(--bm-cell-line);
  min-width:0;max-width:100%;box-sizing:border-box}
#bm60 .bm60-chip b{font-size:14px;color:var(--bm-text)}
#bm60 .bm60-chip span{font-size:12px;color:var(--bm-muted)}
#bm60 .bm60-chip.is-wait{border-color:var(--bm-line)}
#bm60 .bm60-link{align-self:flex-start;margin-top:4px;padding:5px 10px;border-radius:9px;border:0;font:inherit;font-size:12px;font-weight:800;cursor:pointer;
  color:#2a1404;background:linear-gradient(135deg,var(--bm-gold),var(--bm-gold2))}
#bm60 .bm60-hist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
#bm60 .bm60-hist li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:baseline;padding:8px 12px;border-radius:10px;background:var(--bm-cell)}
#bm60 .bm60-hist-src{font-size:14px;color:var(--bm-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bm60 .bm60-hist b{font-size:14px;color:var(--bm-ok);white-space:nowrap}
#bm60 .bm60-hist small{font-size:12px;color:var(--bm-muted);white-space:nowrap}
#bm60 .bm60-notes{margin:14px 0 0;display:grid;gap:6px;position:relative}
#bm60 .bm60-note{margin:0;font-size:13px;color:var(--bm-muted)}
#bm60 .bm60-note.is-ok{color:var(--bm-ok);font-weight:700}
#bm60 .bm60-note.is-warn{color:var(--bm-warn);font-weight:700}
#bm60 .bm60-guest{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 0;position:relative}
#bm60 .bm60-guest p{margin:0;color:var(--bm-muted);font-size:14px;flex:1 1 260px}
#bm60 .bm60-btn{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 20px;border-radius:12px;font-weight:800;text-decoration:none;
  color:#2a1404;background:linear-gradient(135deg,var(--bm-gold),var(--bm-gold2))}
@media (max-width:1100px){#bm60 .bm60-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  #bm60.bm60{padding:16px 14px 14px;border-radius:18px;margin:0 0 14px}
  #bm60 .bm60-brand{flex-basis:100%;gap:12px}
  #bm60 .bm60-emblem{width:52px;height:52px;flex-basis:52px}
  #bm60 h2{font-size:20px}
  #bm60 .bm60-sub{font-size:13px}
  #bm60 .bm60-toggle{width:100%;justify-content:space-between}
  #bm60 .bm60-stats{gap:8px;margin-top:14px}
  #bm60 .bm60-stat{padding:10px 11px}
  #bm60 .bm60-stat b{font-size:16px}
  #bm60 .bm60-hist li{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}
  #bm60 .bm60-hist small{grid-column:1/-1}
}
/* header label next to the balance */
.mp-top-actions .bm60-hb{display:inline-flex;align-items:center;align-self:center;height:24px;padding:0 9px;margin:0 6px 0 0;border-radius:999px;
  font-size:11px;font-weight:800;line-height:1;letter-spacing:.02em;text-decoration:none;white-space:nowrap;flex:0 0 auto;
  color:#2a1404;background:linear-gradient(135deg,#f4c45a,#e2962b);box-shadow:0 2px 8px rgba(0,0,0,.25)}
.mp-top-actions .bm60-hb[data-mode="real"]{color:#eaf6ff;background:linear-gradient(135deg,#2f6f9e,#1d4a70)}
.mp-top-actions .bm60-hb[hidden]{display:none}
.mp-top-actions .bm60-hb .bm60-hb-s{display:none}
@media (max-width:820px){
  .mp-top-actions .bm60-hb{height:20px;padding:0 7px;font-size:10px;margin-right:4px}
  .mp-top-actions .bm60-hb .bm60-hb-l{display:none}
  .mp-top-actions .bm60-hb .bm60-hb-s{display:inline}
}
/* BM60b (26.10): withdrawal block + «Отказаться от бонуса» */
#bm60 .bm60-wd{margin:14px 0 0;padding:12px 14px;border-radius:14px;border:1px solid var(--bm-line);background:var(--bm-cell);position:relative;display:grid;gap:6px}
#bm60 .bm60-wd b{font-size:15px;color:var(--bm-warn)}
#bm60 .bm60-wd p{margin:0;font-size:13px;color:var(--bm-muted)}
#bm60 .bm60-wd small{font-size:12px;color:var(--bm-muted)}
#bm60 .bm60-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#bm60 .bm60-btn{border:0;font:inherit;font-size:14px;cursor:pointer;box-sizing:border-box;max-width:100%}
#bm60 .bm60-btn.is-ghost{color:var(--bm-text);background:transparent;border:1px solid var(--bm-line)}
#bm60 .bm60-btn.is-danger{color:#fff;background:linear-gradient(135deg,#d7354f,#9e1c33)}
#bm60 .bm60-btn:disabled{opacity:.6;cursor:not-allowed}
#bm60 .bm60-link.is-ghost{color:var(--bm-text);background:transparent;border:1px solid var(--bm-line)}
#bm60 .bm60-chip .bm60-acts{margin-top:4px}
#bm60 .bm60-chip .bm60-acts .bm60-link{margin-top:0}
#bm60 .bm60-confirm{margin:14px 0 0;padding:14px;border-radius:14px;border:1px solid rgba(215,53,79,.55);background:rgba(215,53,79,.08);position:relative;display:grid;gap:8px}
#bm60 .bm60-confirm b{font-size:15px;color:var(--bm-text)}
#bm60 .bm60-confirm ul{margin:0;padding-left:18px;display:grid;gap:3px;font-size:13px;color:var(--bm-muted)}
@media (max-width:640px){#bm60 .bm60-wd .bm60-btn,#bm60 .bm60-confirm .bm60-btn{flex:1 1 100%}}
/* withdrawal window (wd1): two ways out of the bonus lock */
.wd1-why .bm60-wdw{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.wd1-why .bm60-wdw a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:10px;font-size:13px;font-weight:800;text-decoration:none;
  color:#2a1404;background:linear-gradient(135deg,#f4c45a,#e2962b)}
.wd1-why .bm60-wdw a.is-ghost{color:inherit;background:transparent;border:1px solid rgba(244,196,90,.55)}
