.bp-hero-dates { font-size:13px !important; font-weight:800 !important; color:#ffffff !important; margin-bottom:14px !important; text-shadow:0 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5) !important; -webkit-text-stroke:0.4px rgba(0,0,0,0.4) !important; padding-left:2px !important; }
.bp-hero-level { font-size:40px; font-weight:900; color:#fff; line-height:1; margin-bottom:8px; text-shadow:0 4px 8px rgba(0,0,0,0.7), 0 0 16px rgba(0,0,0,0.4); -webkit-text-stroke:1px rgba(0,0,0,0.3); }
.bp-hero-level span { font-size:17px; opacity:0.75; font-weight:600; }
.bp-hero-bar { height:14px; background:rgba(0,0,0,0.4); border-radius:10px; overflow:hidden; border:2px solid rgba(255,255,255,0.4); }
.bp-hero-fill { height:100%; background:linear-gradient(90deg,#facc15,#fb923c,#f43f5e); border-radius:8px; transition:width .5s; box-shadow:0 0 12px rgba(250,204,21,0.7); }
.bp-hero-hint { font-size:12px; font-weight:700; color:#fff; margin-top:8px; text-align:right; text-shadow:0 2px 4px rgba(0,0,0,0.85), 0 0 6px rgba(0,0,0,0.5); -webkit-text-stroke:0.3px rgba(0,0,0,0.3); }

.bp-line-scroll::-webkit-scrollbar { display:none; }
.bp-line { display:flex; gap:0; align-items:flex-start; }
.bp-node { position:relative; flex-shrink:0; display:flex; flex-direction:column; align-items:center; width:82px; min-height:200px; justify-content:flex-start; }
.bp-item-label { height:16px; line-height:16px; font-size:10px; font-weight:800; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,0.95); text-align:center; max-width:82px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-bottom:4px; margin-top:4px; }
.bp-badge-zone { height:66px; display:flex; align-items:center; justify-content:center; margin-bottom:6px; padding-bottom:0; }
.bp-reward-badge { width:auto; min-width:46px; height:34px; padding:0 10px; border-radius:10px; font-size:12px; font-weight:900; display:inline-flex; align-items:center; justify-content:center; border:none; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,0.5); position:relative; }
.bp-reward-badge.bonus { background:linear-gradient(180deg,#4ade80,#16a34a,#15803d); box-shadow:0 0 12px rgba(34,197,94,0.85), 0 0 24px rgba(34,197,94,0.4), inset 0 2px 4px rgba(255,255,255,0.4); }
.bp-reward-badge.promo { background:linear-gradient(180deg,#60a5fa,#2563eb,#1d4ed8); box-shadow:0 0 12px rgba(59,130,246,0.85), 0 0 24px rgba(59,130,246,0.4), inset 0 2px 4px rgba(255,255,255,0.4); }
.bp-reward-badge.thing { background:linear-gradient(180deg,#c084fc,#a855f7,#7e22ce); box-shadow:0 0 12px rgba(168,85,247,0.85), 0 0 24px rgba(168,85,247,0.4), inset 0 2px 4px rgba(255,255,255,0.4); }
.bp-reward-badge.cert { background:linear-gradient(180deg,#fcd34d,#f59e0b,#b45309); box-shadow:0 0 12px rgba(245,158,11,0.85), 0 0 24px rgba(245,158,11,0.4), inset 0 2px 4px rgba(255,255,255,0.4); }

/* ФОТО-плашка — отдельный класс, никаких наследований */
.bp-photo-badge { width:56px; height:56px; border-radius:12px; overflow:hidden; border:none; box-shadow:0 0 14px rgba(168,85,247,0.8), 0 0 28px rgba(168,85,247,0.35); background:#f3f4f6; display:block; position:relative; }
.bp-photo-badge img { width:100%; height:100%; object-fit:cover; display:block; }

.bp-circle { width:58px; height:52px; border-radius:50%; background:linear-gradient(180deg,#d1d5db,#9ca3af); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:17px; color:#fff; position:relative; z-index:2; border:4px solid #fff; box-shadow:0 5px 0 rgba(0,0,0,0.2), 0 7px 14px rgba(0,0,0,0.25), inset 0 3px 6px rgba(255,255,255,0.5), inset 0 -3px 6px rgba(0,0,0,0.15); }
.bp-circle.done { background:linear-gradient(180deg,#4ade80,#16a34a); }
.bp-circle.current { background:linear-gradient(180deg,#fde047,#f59e0b); box-shadow:0 0 0 5px rgba(250,204,21,0.4), 0 5px 0 rgba(180,83,9,0.4), 0 7px 14px rgba(245,158,11,0.5), inset 0 3px 6px rgba(255,255,255,0.6); animation:bpPulse 1.5s infinite; }
@keyframes bpPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.06); } }
.bp-circle.claimed { background:linear-gradient(180deg,#4ade80,#16a34a); }

.bp-node-label { margin-top:6px; font-size:13px; font-weight:900; color:#fff; text-shadow:0 2px 4px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.5); -webkit-text-stroke:0.4px rgba(0,0,0,0.3); }
.bp-node-label.done { color:#86efac; }
.bp-node-label.current { color:#fde047; }

.bp-claim-inline { margin-top:6px; padding:6px 12px; background:linear-gradient(180deg,#22c55e,#16a34a); color:#fff; border:2px solid #fff; border-radius:10px; font-size:11px; font-weight:900; cursor:pointer; box-shadow:0 3px 0 rgba(20,83,45,0.4), 0 4px 10px rgba(34,197,94,0.5); }
.bp-claimed-label { margin-top:6px; padding:4px 10px; background:rgba(120,120,120,0.85); color:#fff; border-radius:8px; font-size:10px; font-weight:700; border:2px solid rgba(255,255,255,0.4); }

.bp-connector { position:absolute; left:50%; width:100%; height:6px; background:rgba(255,255,255,0.3); z-index:0; border-radius:3px; }
.bp-connector.done { background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow:0 0 8px rgba(34,197,94,0.7); }

.bp-roulette-cta { margin:12px 16px 16px; padding:18px 22px; background:linear-gradient(135deg,#f59e0b 0%,#ef4444 100%); border-radius:22px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; box-shadow:0 6px 0 rgba(120,53,15,0.4), 0 10px 24px rgba(239,68,68,0.4), inset 0 3px 6px rgba(255,255,255,0.4); border:3px solid #fff; position:relative; overflow:hidden; }
.bp-roulette-cta::before { content:""; position:absolute; top:0; left:0; right:0; height:40%; background:linear-gradient(180deg,rgba(255,255,255,0.35),transparent); pointer-events:none; }
.bp-roulette-cta-text { color:#fff; font-size:17px; font-weight:900; text-shadow:0 2px 4px rgba(0,0,0,0.35); }
.bp-roulette-cta-attempts { color:#fff; font-size:28px; font-weight:900; background:rgba(0,0,0,0.3); padding:8px 22px; border-radius:18px; box-shadow:inset 0 2px 4px rgba(0,0,0,0.3); }

.bp-info-block { margin:0 16px 16px; background:#fff; border-radius:16px; border:2px solid #f3f4f6; overflow:hidden; }
.bp-info-head { padding:14px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; }
.bp-info-title { font-size:13px; font-weight:800; color:#8b5cf6; }
.bp-info-arrow { font-size:14px; color:#8b5cf6; transition:transform 0.2s; }
.bp-info-content { display:none; padding:0 14px 14px; font-size:12px; color:#4b5563; line-height:1.7; }
.bp-info-section { font-weight:800; color:#111; margin:8px 0 6px; font-size:13px; }
body.dark .bp-info-block { background:#2a2a2a; border-color:#3a3a3a; }
body.dark .bp-info-content { color:#aaa; }
body.dark .bp-info-content b { color:#e8e8e8; }
body.dark .bp-info-section, body.dark .bp-info-title, body.dark .bp-info-arrow { color:#a78bfa; }

.bp-leaderboard { margin:16px; padding:20px; background:linear-gradient(180deg,#fff,#f9fafb); border-radius:22px; border:3px solid #fff; box-shadow:0 8px 20px rgba(0,0,0,0.08); }
.bp-lb-title { font-size:17px; font-weight:900; text-align:center; margin-bottom:14px; background:linear-gradient(90deg,#8b5cf6,#ec4899,#f59e0b); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.bp-lb-row { display:flex; align-items:center; gap:12px; padding:12px 8px; border-bottom:1px solid #f3f4f6; }
.bp-lb-row:last-child { border-bottom:none; }
.bp-lb-place { width:38px; height:38px; border-radius:50%; background:linear-gradient(180deg,#e5e7eb,#9ca3af); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:14px; color:#fff; box-shadow:0 3px 0 rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.4); }
.bp-lb-place.gold { background:linear-gradient(180deg,#fde047,#f59e0b); box-shadow:0 3px 0 rgba(120,53,15,0.4), inset 0 2px 4px rgba(255,255,255,0.5); }
.bp-lb-place.silver { background:linear-gradient(180deg,#f3f4f6,#9ca3af); }
.bp-lb-place.bronze { background:linear-gradient(180deg,#d97706,#92400e); }
.bp-lb-name { flex:1; font-size:14px; font-weight:800; }
.bp-lb-points { font-size:15px; font-weight:900; color:#8b5cf6; background:rgba(139,92,246,0.1); padding:4px 10px; border-radius:10px; }
body.dark .bp-leaderboard { background:linear-gradient(180deg,#2a2a2a,#1f1f1f); border-color:#3a3a3a; }
body.dark .bp-lb-row { border-bottom-color:#3a3a3a; }
body.dark .bp-lb-name { color:#e8e8e8; }
body.dark .bp-lb-points { background:rgba(139,92,246,0.2); color:#a78bfa; }


/* ==== Кнопка BP в каталоге ==== */


.bp-united { margin:0 0 16px; position:relative; overflow:hidden; background-size:cover; background-position:center; border-radius:22px; }
.bp-united-hero { position:relative; z-index:2; padding:22px 20px 8px; }
.bp-line-scroll { position:relative; z-index:2; overflow:auto hidden; padding:8px 16px 16px; }
.bp-hero-title { font-size:clamp(28px,6vw,40px); font-weight:900; color:white; margin-bottom:8px; text-shadow:0 4px 10px #000a; }
body { margin:0; background:#f7f7f7; color:#111; font:16px system-ui,sans-serif; }
*,*::before,*::after { box-sizing:border-box; }
.bp-web-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px max(14px,calc((100% - 820px)/2)); background:white; border-bottom:1px solid #ddd; }
.bp-web-header a { color:#111; font-weight:850; text-decoration:none; }
.bp-web-header button, .bp-login { font:inherit; background:white; border:1px solid #ddd; border-radius:8px; padding:9px 12px; cursor:pointer; }
.bp-web-main { max-width:820px; margin:24px auto; padding:0 14px 24px; }
.bp-web-main h1 { margin:0 0 14px; font-size:28px; }
.bp-node, .bp-roulette-cta { cursor:pointer; }
.bp-history { margin:14px 16px; padding:14px; background:white; border-radius:12px; }
.bp-history summary { font-weight:800; cursor:pointer; }
.bp-history ul { padding-left:22px; margin-bottom:0; }
.modal-overlay { display:none; position:fixed; inset:0; padding:16px; background:#0008; z-index:10001; align-items:center; justify-content:center; }
.modal-overlay.show { display:flex; }
.modal-box { width:min(100%,440px); max-height:90vh; overflow:auto; padding:20px; border-radius:18px; background:white; }
.modal-title { font-size:22px; font-weight:900; margin-bottom:12px; }
.modal-text { white-space:pre-line; }
.modal-btn { width:100%; margin-top:8px; min-height:44px; background:#111; color:white; font:inherit; border:0; border-radius:9px; cursor:pointer; }
.modal-box .input { width:100%; min-height:44px; font:inherit; padding:8px 10px; border:1px solid #ccc; border-radius:8px; margin:0 0 8px; }
.toast { position:fixed; max-width:min(90vw,560px); left:50%; bottom:20px; transform:translateX(-50%); padding:10px 15px; border-radius:10px; background:#111; color:white; z-index:10002; opacity:0; pointer-events:none; transition:opacity .2s; }
.toast.show { opacity:1; }
:focus-visible { outline:2px solid #7c3aed; outline-offset:3px; }
@media (max-width:480px) { .bp-web-main { padding-inline:10px; } .bp-roulette-cta,.bp-info-block,.bp-leaderboard,.bp-history { margin-inline:0; } }
@media (prefers-reduced-motion:reduce) { .bp-circle.current, .bp-reward-badge { animation:none !important; } }
