/* ⚔️ «Битва банд» (js/bandy.js, #1841) — вид «Топ-10 месяца»: золото, пьедестал, кольца, медали. Текст ≥14px, кнопки ≥44px. */
.bd-ov { position: fixed; inset: 0; z-index: 1800; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; color: #fbf1de;
  background: radial-gradient(90% 40% at 50% 0, rgba(70, 20, 28, .9), transparent 70%), linear-gradient(#1b0c10, #110708 70%); background-color: #110708; }
.bd-body { max-width: 560px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px calc(40px + env(safe-area-inset-bottom, 0px));
  font: 500 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.bd-top { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 10px; }
.bd-back { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(242, 196, 109, .4); background: rgba(255, 238, 208, .05); color: #f2c46d; font-size: 22px; cursor: pointer; }
.bd-h { margin: 0; font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 27px; font-weight: 700; color: #f7d58c; letter-spacing: -.01em; }
.bd-timer { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bd-timer span { padding: 6px 11px; border-radius: 999px; background: rgba(255, 238, 208, .06); border: 1px solid rgba(242, 196, 109, .28); font-size: 14px; color: #e3d3ba; }
.bd-timer b { color: #f7d58c; }
.bd-prize { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 14px 14px; text-align: center; color: #2a1408;
  background: linear-gradient(160deg, #fff0c2, #f2c46d 38%, #c28b2f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 12px 30px rgba(0, 0, 0, .5), 0 0 34px rgba(242, 196, 109, .25); }
.bd-prize-n { font-family: ui-serif, Georgia, serif; font-size: 44px; line-height: 1; font-weight: 700; }
.bd-bolt { display: inline-block; animation: t10Glow 2.4s ease-in-out infinite; }
.bd-prize-l { margin-top: 6px; font-size: 17px; font-weight: 800; }
.bd-prize-s { margin-top: 2px; font-size: 14px; font-weight: 700; opacity: .8; }
.bd-shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-18deg); animation: t10Shine 3.6s ease-in-out infinite; }
.bd-arena { display: grid; grid-template-columns: 1fr 54px 1fr; align-items: end; gap: 4px; margin: 22px 0 6px; }
.bd-side { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.bd-flag { width: 100%; max-width: 150px; aspect-ratio: 3 / 2; border-radius: 10px; border: 1.5px dashed; display: grid; place-items: center; overflow: hidden; text-align: center; font-size: 14px; line-height: 1.25; padding: 6px; color: #e3d3ba; }
.bd-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.bd-flag:has(img) { padding: 0; border-style: solid; }
.bd-blue .bd-flag { border-color: rgba(96, 165, 250, .7); background: linear-gradient(160deg, rgba(59, 130, 246, .28), rgba(30, 58, 138, .15)); }
.bd-red .bd-flag { border-color: rgba(248, 113, 113, .7); background: linear-gradient(160deg, rgba(239, 68, 68, .28), rgba(127, 29, 29, .15)); }
.bd-ring { position: relative; margin-top: 10px; display: grid; place-items: center; }
.bd-crown { position: absolute; top: -18px; z-index: 1; font-size: 22px; }
.bd-ava, .bd-sa { position: relative; overflow: hidden; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.bd-ava img, .bd-sa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-ava em, .bd-sa em { font-style: normal; }
.bd-ava { width: 74px; height: 74px; font-size: 28px; border: 3px solid; }
.bd-blue .bd-ava { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(147, 197, 253, .3), 0 0 24px rgba(59, 130, 246, .7); }
.bd-red .bd-ava { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(252, 165, 165, .3), 0 0 24px rgba(239, 68, 68, .7); }
.bd-medal { margin-top: -14px; position: relative; font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.bd-lead { max-width: 100%; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-role { font-size: 14px; color: #cbb89c; text-align: center; }
.bd-step { position: relative; overflow: hidden; width: 100%; margin-top: 4px; padding: 10px 6px; border-radius: 14px 14px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 10px 24px rgba(0, 0, 0, .45); }
.bd-blue .bd-step { min-height: 118px; background: linear-gradient(170deg, #bfdbfe, #3b82f6 38%, #1e3a8a); }
.bd-red .bd-step { min-height: 104px; background: linear-gradient(170deg, #fecaca, #ef4444 38%, #7f1d1d); }
.bd-red .bd-shine { animation-delay: .6s; }
.bd-team { max-width: 100%; text-align: center; line-height: 1.1; overflow-wrap: anywhere; font-family: ui-serif, Georgia, serif; font-size: 24px; font-weight: 700; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.bd-stat { padding: 3px 9px; border-radius: 999px; background: rgba(10, 6, 20, .55); font-size: 14px; font-weight: 800; white-space: nowrap; }
.bd-vs { align-self: center; margin-bottom: 70px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: ui-serif, Georgia, serif; font-size: 20px; font-weight: 800; color: #2a1408;
  background: radial-gradient(circle at 35% 30%, #fff3c9, #f2c46d 50%, #a8721f); box-shadow: 0 0 0 3px rgba(242, 196, 109, .3), 0 0 26px rgba(242, 196, 109, .6); }
.bd-rule { margin: 8px 0 0; text-align: center; font-size: 14px; color: #cbb89c; }
.bd-mine { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; text-align: center; font-size: 15px; font-weight: 700; background: rgba(242, 196, 109, .1); border: 1.5px solid rgba(242, 196, 109, .5); }
.bd-mine small { font-size: 14px; font-weight: 500; color: #cbb89c; }
.bd-joins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.bd-join, .bd-go { min-height: 52px; padding: 0 10px; border-radius: 26px; border: 0; font: inherit; font-size: 16px; font-weight: 800; line-height: 1.15; color: #fff; cursor: pointer; }
.bd-join.bd-blue, .bd-go.bd-blue { background: linear-gradient(180deg, #60a5fa, #2563eb); box-shadow: 0 6px 18px rgba(37, 99, 235, .45), inset 0 1px 0 rgba(255, 255, 255, .4); }
.bd-join.bd-red, .bd-go.bd-red { background: linear-gradient(180deg, #f87171, #dc2626); box-shadow: 0 6px 18px rgba(220, 38, 38, .45), inset 0 1px 0 rgba(255, 255, 255, .4); }
.bd-join:disabled { cursor: default; opacity: .45; box-shadow: none; }
.bd-join.is-mine:disabled { opacity: 1; background: transparent; border: 2px solid currentColor; }
.bd-join.bd-blue.is-mine { color: #93c5fd; }
.bd-join.bd-red.is-mine { color: #fca5a5; }
.bd-closed { margin: 10px 0 0; text-align: center; font-size: 15px; color: #e3d3ba; }
.bd-bank { margin-top: 16px; padding: 14px; border-radius: 18px; text-align: center;
  background: radial-gradient(90% 80% at 50% 0, rgba(242, 196, 109, .2), transparent 70%), rgba(40, 19, 21, .92); border: 1px solid rgba(242, 196, 109, .4); }
.bd-bank-l { font-size: 15px; font-weight: 700; color: #e3d3ba; }
.bd-bank-n { font-family: ui-serif, Georgia, serif; font-size: 34px; line-height: 1.15; color: #f7d58c; }
.bd-live { margin-top: 6px; font-size: 15px; font-weight: 700; }
.bd-dot { display: inline-block; vertical-align: middle; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.bd-how { margin-top: 4px; font-size: 14px; color: #cbb89c; }
.bd-h2 { margin: 22px 0 4px; font-family: ui-serif, Georgia, serif; font-size: 21px; color: #f7d58c; }
.bd-tabs { display: flex; gap: 8px; margin: 8px 0 10px; overflow-x: auto; }
.bd-tab { flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid rgba(242, 196, 109, .35); background: transparent; color: #e3d3ba; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.bd-tab.on { background: rgba(242, 196, 109, .16); color: #f7d58c; border-color: rgba(242, 196, 109, .7); }
.bd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bd-row { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: 14px; background: rgba(40, 19, 21, .92); border: 1px solid rgba(242, 196, 109, .22); border-left: 4px solid; }
.bd-row.bd-blue { border-left-color: #3b82f6; }
.bd-row.bd-red { border-left-color: #ef4444; }
.bd-row.is-me { box-shadow: inset 0 0 0 2px #f2c46d; }
.bd-pl { flex: 0 0 28px; text-align: center; font-size: 18px; font-weight: 800; color: #f7d58c; }
.bd-sa { flex: 0 0 40px; width: 40px; height: 40px; font-size: 17px; border: 2px solid; }
.bd-row.bd-blue .bd-sa { border-color: #93c5fd; }
.bd-row.bd-red .bd-sa { border-color: #fca5a5; }
.bd-mid { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bd-nm { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-ct { font-size: 14px; color: #cbb89c; }
.bd-chip { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; color: #fff; }
.bd-chip.bd-blue { background: #2563eb; }
.bd-chip.bd-red { background: #dc2626; }
.bd-empty { padding: 12px 0; text-align: center; font-size: 15px; color: #cbb89c; }
/* окно поверх экрана */
.bd-dim { position: fixed; inset: 0; z-index: 1850; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 2, 3, .66); }
.bd-sheet { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 22px 16px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0;
  background: linear-gradient(#2a1216, #1a0b0e); border-top: 1.5px solid rgba(242, 196, 109, .45); color: #fbf1de; font: 500 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
@media (min-width: 600px) { .bd-dim { align-items: center; } .bd-sheet { border-radius: 24px; border: 1.5px solid rgba(242, 196, 109, .45); } }
.bd-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 238, 208, .08); color: #e3d3ba; font-size: 20px; cursor: pointer; }
.bd-sheet h3 { margin: 0 44px 4px 0; font-family: ui-serif, Georgia, serif; font-size: 23px; line-height: 1.2; }
.bd-sheet p { margin: 8px 0; font-size: 16px; color: #e3d3ba; }
.bd-sheet p b { color: #f7d58c; }
.bd-em { width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; }
.bd-em.bd-blue { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.bd-em.bd-red { background: linear-gradient(180deg, #f87171, #dc2626); }
.bd-gold { background: linear-gradient(180deg, #f7d58c, #e2a94a); color: #2a1408; }
.bd-go { display: block; width: 100%; margin-top: 14px; font-size: 17px; }
.bd-later { display: block; width: 100%; min-height: 48px; margin-top: 8px; border-radius: 24px; border: 1.5px solid rgba(242, 196, 109, .4); background: transparent; color: #f2c46d; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.bd-serr { padding: 10px 12px; border-radius: 12px; background: rgba(239, 68, 68, .15); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca !important; font-size: 15px !important; }
@media (prefers-reduced-motion: reduce) { .bd-shine, .bd-bolt { animation: none; } .bd-shine { display: none; } }
/* флаг-эмодзи, кнопка главаря, перетягивание (фаза битвы), окно «Флаг и название» */
.bd-flag-e { font-size: 46px; line-height: 1; }
.bd-flag.has { border-style: solid; }
.bd-flag:has(img) { padding: 0; }
.bd-brand { display: block; width: 100%; min-height: 48px; margin-top: 10px; padding: 0 12px; border-radius: 24px; border: 1.5px solid rgba(242, 196, 109, .5); background: rgba(242, 196, 109, .1); color: #f7d58c; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.bd-tug { position: relative; display: flex; justify-content: space-between; align-items: center; height: 28px; margin: 10px 0 0; padding: 0 10px; border-radius: 14px; overflow: hidden; background: linear-gradient(90deg, #b91c1c, #ef4444); font-size: 14px; font-weight: 800; color: #fff; }
.bd-tug i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #1e3a8a, #3b82f6); border-right: 2px solid #f7d58c; }
.bd-tug span { position: relative; }
.bd-lbl { display: block; margin: 12px 0 6px; font-size: 15px; font-weight: 700; color: #e3d3ba; }
.bd-inp { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid rgba(242, 196, 109, .4); background: rgba(255, 238, 208, .06); color: #fbf1de; font: inherit; font-size: 16px; }
.bd-flags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bd-fl { min-height: 52px; border-radius: 14px; border: 1.5px solid rgba(242, 196, 109, .25); background: rgba(255, 238, 208, .05); font-size: 26px; cursor: pointer; }
.bd-fl.on { border-color: #f2c46d; background: rgba(242, 196, 109, .2); box-shadow: 0 0 0 2px rgba(242, 196, 109, .35); }

/* ── главная: блок «Битвы» между «Все модели» и «Топ-10» + слайд в карусели фонда (✅ Армана 17.10 22:24) ── */
.bdh { position: relative; margin: 6px 0 18px; padding: 14px 12px 12px; border-radius: 20px; cursor: pointer; color: #fbf1de;
  background: radial-gradient(70% 60% at 0 30%, rgba(59,130,246,.22), transparent 70%), radial-gradient(70% 60% at 100% 30%, rgba(239,68,68,.22), transparent 70%), rgba(40,19,21,.92);
  border: 1px solid rgba(242,196,109,.45); box-shadow: 0 10px 26px rgba(0,0,0,.4); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.bdh-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bdh-t { font-family: ui-serif, Georgia, serif; font-size: 24px; font-weight: 700; color: #f7d58c; }
.bdh-more { font-size: 15px; font-weight: 700; color: #f2c46d; }
.bdh-sub { margin-top: 2px; font-size: 14px; color: #cbb89c; }
.bdh-prize { position: relative; overflow: hidden; margin: 10px 0 0; padding: 9px 10px; border-radius: 14px; text-align: center; color: #2a1408;
  background: linear-gradient(160deg,#fff0c2,#f2c46d 38%,#c28b2f); box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 0 24px rgba(242,196,109,.25); }
.bdh-prize b { font-family: ui-serif, Georgia, serif; font-size: 28px; line-height: 1.05; }
.bdh-prize span { display: block; font-size: 14px; font-weight: 800; }
.bdh-ar { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: end; gap: 4px; margin-top: 14px; }
.bdh-s { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.bdh-av { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; border: 3px solid; }
.bdh-b .bdh-av { background: #1d4ed8; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(147,197,253,.3), 0 0 18px rgba(59,130,246,.7); }
.bdh-r .bdh-av { background: #b91c1c; border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(252,165,165,.3), 0 0 18px rgba(239,68,68,.7); }
.bdh-cr { position: absolute; top: -16px; font-size: 18px; }
.bdh-md { margin-top: -12px; font-size: 20px; line-height: 1; position: relative; }
.bdh-nm { max-width: 100%; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdh-st { width: 100%; margin-top: 4px; padding: 6px 4px; border-radius: 12px 12px 5px 5px; display: flex; flex-direction: column; align-items: center; color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 8px 18px rgba(0,0,0,.4); }
.bdh-b .bdh-st { min-height: 64px; background: linear-gradient(170deg,#bfdbfe,#3b82f6 38%,#1e3a8a); }
.bdh-r .bdh-st { min-height: 56px; background: linear-gradient(170deg,#fecaca,#ef4444 38%,#7f1d1d); }
.bdh-st b { font-family: ui-serif, Georgia, serif; font-size: 19px; }
.bdh-st span { font-size: 14px; font-weight: 800; }
.bdh-vs { align-self: center; margin-bottom: 40px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: ui-serif, Georgia, serif; font-weight: 800; font-size: 17px; color: #2a1408;
  background: radial-gradient(circle at 35% 30%,#fff3c9,#f2c46d 50%,#a8721f); box-shadow: 0 0 0 3px rgba(242,196,109,.3), 0 0 20px rgba(242,196,109,.6); }
.bdh-j { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bdh-j button { min-height: 48px; border: 0; border-radius: 24px; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.15; padding: 0 8px; }
.bdh-j .b { background: linear-gradient(180deg,#60a5fa,#2563eb); box-shadow: 0 5px 14px rgba(37,99,235,.45); }
.bdh-j .r { background: linear-gradient(180deg,#f87171,#dc2626); box-shadow: 0 5px 14px rgba(220,38,38,.45); }
.ps-slide.bds { position: relative; overflow: hidden; border: 1px solid rgba(242,196,109,.5); border-radius: 20px; padding: 14px 12px; color: #fbf1de; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(105deg, rgba(37,99,235,.55), transparent 42%, transparent 58%, rgba(220,38,38,.55)), radial-gradient(80% 70% at 50% 0, rgba(242,196,109,.22), transparent 70%), #1b0c10; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.bds-t { font-family: ui-serif, Georgia, serif; font-size: 23px; font-weight: 700; color: #fbf1de; }
.bds-t b { color: #f7d58c; white-space: nowrap; }
.bds-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bds-p { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 104px; }
.bds-p .bdh-av { width: 58px; height: 58px; }
.bds-p small { font-size: 14px; font-weight: 700; color: #e3d3ba; }
.bds .bds-go { min-height: 46px; padding: 0 22px; border-radius: 23px; border: 0; font-size: 16px; font-weight: 800; color: #2a1408; background: linear-gradient(180deg,#f7d58c,#e2a94a); box-shadow: 0 6px 16px rgba(226,169,74,.4); }
.bds .bds-go { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; font-size: 17px; }
.ps-slide.bds { gap: 12px; }
.bds-t { font-size: 25px; line-height: 1.2; }
.bds-sub { font-size: 15px; color: #e3d3ba; margin-top: -4px; }
.bds-p { width: 116px; }
.bds-p .bdh-av { width: 76px; height: 76px; font-size: 28px; }
.bds-p small { font-size: 15px; }
.bds-p b { font-size: 15px; color: #fbf1de; white-space: nowrap; }
.bdh-sub span { white-space: nowrap; }
.bdh-ring { position: relative; display: grid; place-items: center; }
.bdh-ring .bdh-cr { position: absolute; top: -16px; z-index: 1; }
.bdh-av { overflow: hidden; }
.bdh-av em { font-style: normal; }
.bdh-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bdh-mine { margin: 10px 0 0; text-align: center; font-size: 15px; font-weight: 800; color: #f7d58c; }
.bds-t, .bds-sub, .bds-p b, .bds-p small { display: block; }
.bds .bds-row { display: flex; }
.bd-host { margin: 12px 0 0; padding: 14px 12px; border-radius: 16px; text-align: center; font-size: 17px; font-weight: 800; color: #2a1408; background: linear-gradient(160deg, #fff0c2, #f2c46d 40%, #c28b2f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55); }

/* #1951 цвет банды на работах и в профиле (макет ✅ 18.10): второе кольцо снаружи тарифного, рамка работ, метка */
.bd-ring { border-radius: 50%; }
.bd-ring.bd-blue { box-shadow: 0 0 0 2px #1b0c10, 0 0 0 5px #4f8cff, 0 0 12px 3px rgba(79,140,255,.6); }
.bd-ring.bd-red { box-shadow: 0 0 0 2px #1b0c10, 0 0 0 5px #ff4a5c, 0 0 12px 3px rgba(255,74,92,.55); }
.bd-fr { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bd-fr.bd-blue { box-shadow: inset 0 0 0 4px #4f8cff, inset 0 0 26px rgba(79,140,255,.55); }
.bd-fr.bd-red { box-shadow: inset 0 0 0 4px #ff4a5c, inset 0 0 26px rgba(255,74,92,.5); }
.bd-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 10px; border-radius: 14px; font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: none; }
.bd-chip.bd-blue { background: rgba(30,64,175,.55); color: #c9dcff; border: 1px solid #4f8cff; }
.bd-chip.bd-red { background: rgba(153,27,27,.55); color: #ffd0d5; border: 1px solid #ff4a5c; }
.fd-nm + .bd-chip { margin: -2px 0 8px; }
.bd-g.bd-blue .aw-cv { box-shadow: 0 0 0 3px #4f8cff, 0 0 14px rgba(79,140,255,.45); }
.bd-g.bd-red .aw-cv { box-shadow: 0 0 0 3px #ff4a5c, 0 0 14px rgba(255,74,92,.4); }
@media (prefers-reduced-motion: reduce) { .bd-ring, .bd-fr { transition: none; } }

/* #1952 Главная с 1.11: слайды Битвы вместо фонда месяца (макет ✅ 18.10) — карточка как у фонда (.prize-banner) */
.ps-battle { display: flex; flex-direction: column; align-items: stretch; gap: 0; color: #fbf1de; }
.ps-battle > * { display: block; }
.bb-vs { display: grid !important; grid-template-columns: 1fr 40px 1fr; align-items: center; margin-top: 12px; }
.bb-sd { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.bb-fl { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; border: 3px solid; overflow: hidden; }
.bb-fl img { width: 100%; height: 100%; object-fit: cover; }
.bb-blue .bb-fl { background: #1d4ed8; border-color: #93c5fd; box-shadow: 0 0 18px rgba(59,130,246,.7); }
.bb-red .bb-fl { background: #b91c1c; border-color: #fca5a5; box-shadow: 0 0 18px rgba(239,68,68,.7); }
.bb-sn { max-width: 100%; margin-top: 4px; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-pt { font-family: ui-serif, Georgia, serif; font-size: 30px; line-height: 1.05; }
.bb-blue .bb-pt { color: #bcd6ff; } .bb-red .bb-pt { color: #ffc2c2; }
.bb-pl { font-size: 14px; color: #cdb89a; }
.bb-x { font-family: ui-serif, Georgia, serif; font-size: 18px; font-weight: 700; color: #f2c46d; text-align: center; }
.bb-bar { display: flex !important; height: 16px; margin: 14px 2px 4px; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.bb-bar i { display: block; min-width: 0; transition: width .6s; }
.bb-bb { background: linear-gradient(90deg,#1e40af,#60a5fa); } .bb-rr { background: linear-gradient(90deg,#f87171,#991b1b); }
.bb-pc { display: flex !important; justify-content: space-between; padding: 0 4px; font-size: 14px; font-weight: 800; }
.bb-pc span:first-child { color: #93c5fd; } .bb-pc span:last-child { color: #fca5a5; }
.bb-bank { margin-top: 12px; padding: 10px; border-radius: 14px; background: linear-gradient(180deg,#f2c46d,#d99a2b); color: #2a1408; text-align: center; }
.bb-bank b { display: block; font-family: ui-serif, Georgia, serif; font-size: 28px; line-height: 1.05; }
.bb-bank span { font-size: 14px; font-weight: 800; }
.bb-prize { margin-top: 8px; font-size: 15px; text-align: center; }
.bb-left { margin-top: 8px; font-size: 15px; font-weight: 700; color: #d8c8b0; text-align: center; }
.bb-ld { display: flex !important; flex-direction: column; align-items: center; margin-top: 12px; }
.bb-la { position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; border: 3px solid; }
.bb-la img, .bb-a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-la em, .bb-a em { font-style: normal; }
.bb-t-blue .bb-la { border-color: #93c5fd; box-shadow: 0 0 16px rgba(59,130,246,.7); }
.bb-t-red .bb-la { border-color: #fca5a5; box-shadow: 0 0 16px rgba(239,68,68,.7); }
.bb-ln { margin-top: 6px; font-size: 16px; font-weight: 800; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-lr { font-size: 14px; color: #cdb89a; }
.bb-list { margin-top: 10px; text-align: left; }
.bb-m { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-top: 1px solid rgba(242,196,109,.15); font-size: 15px; }
.bb-n { width: 18px; color: #f2c46d; font-weight: 800; }
.bb-a { position: relative; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff; }
.bb-mn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-p { font-weight: 800; } .bb-t-blue .bb-p { color: #bcd6ff; } .bb-t-red .bb-p { color: #ffc2c2; }
.bb-wait { margin: 8px 0; font-size: 14px; color: #cdb89a; text-align: center; }
.bb-go { margin-top: 10px; min-height: 46px; border-radius: 14px; display: grid !important; place-items: center; font-size: 15px; font-weight: 800; color: #2a1408; background: linear-gradient(180deg,#f2c46d,#e0a43a); }

/* #1958 плашка банды на карточке «Лучшие ученики» (✅ Армана 16:23): внизу слева, справа от кружка фото */
.bd-tag { position: absolute; bottom: 9px; z-index: 2; max-width: calc(100% - 50px); padding: 3px 9px; border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.25; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1.5px solid rgba(255,255,255,.55); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.bd-tag.bd-blue { background: #1d4ed8; }
.bd-tag.bd-red { background: #b91c1c; }
/* #1962 главарь (вариант 1): золотая рамка, корона над кружком фото, золотая плашка под картинкой */
.bd-lead-frame { border-radius: 16px; box-shadow: 0 0 0 3px #f2c46d, 0 0 18px rgba(242,196,109,.6); }
.bd-lead-ava { border: 3px solid #f2c46d !important; box-shadow: 0 0 12px rgba(242,196,109,.9); }
.bd-crown { position: absolute; top: auto; right: auto; bottom: 38px; height: auto; width: auto; display: block; z-index: 3; transform: translateX(-50%); font-size: 22px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); pointer-events: none; }
.bd-lead-bar { margin-top: 6px; padding: 6px 8px; border-radius: 10px; background: linear-gradient(180deg,#f6d27a,#d99a2b); color: #2a1408; font-size: 14px; font-weight: 800; line-height: 1.25; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 14px rgba(242,196,109,.55); }
/* #1966 окно «Назвать банду»: счётчик и подсказка */
.bd-lbl2 { display: flex; justify-content: space-between; gap: 8px; }
#bdCnt { font-variant-numeric: tabular-nums; } #bdCnt.bad { color: #ffb3b3; }
.bd-hint { margin: 6px 0 0; font-size: 14px; color: #cdb89a; line-height: 1.4; }
/* #1969 главарь без названия — «👑 Главарь» в цвете банды */
.bd-lead-bar.bd-blue { background: linear-gradient(180deg,#3b82f6,#1d4ed8); color: #fff; box-shadow: 0 0 14px rgba(59,130,246,.55); }
.bd-lead-bar.bd-red { background: linear-gradient(180deg,#ef4444,#b91c1c); color: #fff; box-shadow: 0 0 14px rgba(239,68,68,.5); }
/* #2024: красные слева (главарь красных выше в Топе) — полоса перетягивания и проценты меняются местами вместе с бандой */
.bd-tug.is-rl { background: linear-gradient(90deg, #1e3a8a, #3b82f6); }
.bd-tug.is-rl i { background: linear-gradient(90deg, #b91c1c, #ef4444); }
.bb-pc.is-rl span:first-child { color: #fca5a5; } .bb-pc.is-rl span:last-child { color: #93c5fd; }
/* #2024: пьедестал выше у левой банды (главарь выше в Топе), цвет остаётся за бандой */
.bd-side.is-top .bd-step { min-height: 118px; } .bd-side.is-2 .bd-step { min-height: 104px; }
.bdh-s.is-top .bdh-st { min-height: 64px; } .bdh-s.is-2 .bdh-st { min-height: 56px; }
/* #2033: длинное название банды («БАНДА GPT», nl) переносится — плашка растёт по содержимому, 👥 и ❤ не обрезаются; пьедестал левой всё равно выше */
.bd-team.is-long { font-size: 20px; }

/* #2167: место главаря — «Отказаться», «Стать главарём», кворум, отмена */
.bd-refuse { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 0 12px; border-radius: 22px; border: 1px solid rgba(248, 113, 113, .45); background: transparent; color: #fca5a5; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.bd-seat { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 0 8px; border-radius: 22px; border: 1.5px solid rgba(242, 196, 109, .6); background: rgba(242, 196, 109, .14); color: #f7d58c; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.bd-quorum { margin: 8px 0 0; text-align: center; font-size: 14px; color: #e3d3ba; }
.bd-cancel { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; text-align: center; font-size: 15px; font-weight: 700; color: #fecaca; background: rgba(185, 28, 28, .18); }
.bd-go.bd-danger { background: #b91c1c; color: #fff; }
