/* battle.css — ⚔️ «Огородные войны» (2026-09-29). Все классы с префиксом bt- */
.bt-wait{text-align:center;padding:30px 12px;color:#5B6A55;font-size:14px}
.bt-wait.bt-light{color:#F4F1E6;padding-top:40vh}
.bt-btn{border:0;border-radius:12px;padding:10px 16px;font:inherit;font-weight:800;font-size:14px;cursor:pointer;color:#FFFDF6;background:#2F7D3F;min-height:44px;box-shadow:0 8px 16px -12px rgba(31,81,48,.9);transition:transform .12s,filter .2s}
.bt-btn:active{transform:scale(.97)}.bt-btn:hover{filter:brightness(1.06)}
.bt-btn:disabled{opacity:.5;cursor:default;filter:grayscale(.6)}
.bt-btn.bt-red{color:#FFFDF6;background:#D9412B;box-shadow:0 10px 20px -12px rgba(217,65,43,.9)}
.bt-btn.bt-ghost{background:#FFFDF6;color:#1F5130;box-shadow:inset 0 0 0 1.5px #CFE6C1}
.bt-btn.bt-big{width:100%;font-size:16px;padding:13px}
.bt-hint{font-size:13px;color:#5B6A55;line-height:1.45}
.bt-note{font-size:13px;color:#40523C;background:#EEF5E4;border-radius:12px;padding:9px 12px;line-height:1.4}
.bt-lbl{font-size:13px;font-weight:800;margin:4px 0 6px;color:#22301F}
.bt-chips{display:flex;flex-wrap:wrap;gap:6px}
.bt-chips span{background:#F1E7D6;border-radius:10px;padding:5px 10px;font-size:13px;font-weight:700;color:#22301F}
.bt-chips span.bt-pink{background:#FCEDE8}
.bt-card{background:#FFFDF6;border-radius:20px;padding:16px 18px;display:flex;flex-direction:column;gap:10px;box-shadow:0 12px 26px -20px rgba(31,81,48,.7);color:#22301F}
.bt-card>b{font-size:15px}.bt-card>b small{font-weight:600;color:#6B7B67;font-size:12px;margin-left:6px}
.bt-row{display:flex;gap:8px;flex-wrap:wrap}
.bt-col{display:flex;flex-direction:column;gap:8px}
.bt-red{color:#B3321F}.bt-green{color:#1F7A35}.bt-grey{color:#8A948A}
.bt-ball{display:inline-block;border-radius:50%;flex-shrink:0;box-shadow:inset 0 -3px 0 rgba(0,0,0,.15)}

/* подменю */
.bt-subnav{display:flex;align-items:center;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.bt-subnav button{border:1.5px solid #E2DCCB;background:#FFFDF6;border-radius:12px;padding:9px 16px;font:inherit;font-weight:700;font-size:14px;cursor:pointer;color:#22301F;min-height:42px}
.bt-subnav button.on{background:#1F5130;color:#FFFDF6;border-color:#1F5130}
.bt-test{margin-left:auto;font-size:12px;font-weight:700;color:#9A2A18;background:#FCEDE8;border-radius:10px;padding:4px 10px}

/* Долина — на ПК выходит за обычную ширину колонки сайта */
.bt-valley{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
/* ширина: на ПК вся вкладка «Клубы» широкая — см. clubs.css */
.bt-map{position:relative;width:100%;aspect-ratio:1024/776;border-radius:24px;overflow:hidden;background:#CFE3B0;box-shadow:inset 0 0 0 2px #B9D39A}
.bt-mapbg{position:absolute;inset:0;width:100%;height:100%}
.bt-mark{position:absolute;transform:translate(-50%,-38%);border:0;background:none;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;font:inherit;color:#22301F}
.bt-mico{width:64px;height:64px;border-radius:50%;background:#FFFDF6;display:flex;align-items:center;justify-content:center;transition:transform .15s}
.bt-mark:hover .bt-mico{transform:scale(1.07)}
.bt-mlab{background:#FFFDF6;border-radius:12px;padding:5px 10px;display:flex;flex-direction:column;align-items:center;gap:1px;box-shadow:0 6px 14px -10px rgba(31,81,48,.8);max-width:170px;text-align:center}
.bt-mlab b{font-size:13px;line-height:1.2}.bt-mlab i{font-style:normal;font-size:11.5px;font-weight:800}
.bt-mtag{font-size:10.5px;font-weight:800;padding:1px 7px;border-radius:7px;background:#DCEFD3;color:#1F5130}
.bt-mtag.bt-red{background:#FBD9CF;color:#9A2A18}
.bt-mapcol{min-width:0}
.bt-map{container-type:inline-size}
.bt-legend{display:flex;align-items:center;gap:6px 14px;margin-top:8px;padding:0 6px;font-size:12px;font-weight:700;color:#5E6B55;flex-wrap:wrap}
.bt-legend span{display:flex;align-items:center;gap:4px;color:#22301F}
.bt-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.bt-oh{display:flex;align-items:center;gap:12px}
.bt-oh div{display:flex;flex-direction:column}.bt-oh b{font-size:18px}.bt-oh span{font-size:12.5px;color:#5B6A55}
.bt-oico{width:48px;height:48px;border-radius:50%;background:#E9F1DD;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bt-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bt-two div{background:#EEF5E4;border-radius:12px;padding:8px 10px;display:flex;flex-direction:column}.bt-two small{font-size:11.5px;color:#5B6A55}.bt-two b{font-size:13px}
.bt-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.bt-slots button{border:1.5px solid #E2DCCB;background:#FFFDF6;border-radius:10px;padding:7px 4px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;color:#22301F;min-height:40px}
.bt-slots button.on{border-color:#D9412B;background:#FBD9CF}
.bt-brow{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px dashed #E4DDCB}
.bt-brow div{flex:1;display:flex;flex-direction:column;min-width:0}.bt-brow b{font-size:14px}.bt-brow span{font-size:12px;font-weight:700}
@media (max-width:900px){.bt-valley{grid-template-columns:1fr}.bt-map{aspect-ratio:3/4}.bt-mico{width:44px;height:44px}.bt-mico svg{width:28px;height:28px}.bt-mlab{padding:3px 6px}.bt-mlab b{font-size:11px}.bt-mlab i,.bt-mtag{display:none}}

/* лавка */
.bt-shop{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.bt-shopgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-top:12px}
.bt-shopc{background:#FFFDF6;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 22px -18px rgba(31,81,48,.7)}
.bt-shopc.season{box-shadow:0 0 0 3px #F2A33A,0 10px 22px -18px rgba(31,81,48,.7)}
.bt-sh{display:flex;align-items:center;gap:10px}.bt-sh div{display:flex;flex-direction:column}.bt-sh b{font-size:15px}.bt-sh small{font-size:12px;color:#6B7B67;font-weight:700}
.bt-shopc .bt-chips span{font-size:11.5px;padding:3px 8px;background:#EEF5E4}
.bt-desc{font-size:12.5px;color:#5B6A55;line-height:1.35;min-height:34px}
.bt-price{font-size:13px;color:#5B6A55}.bt-price b{font-size:16px;color:#22301F}
.bt-qty{display:flex;gap:6px;align-items:center}
.bt-qty>button:not(.bt-btn){width:40px;height:40px;border-radius:10px;border:1.5px solid #E2DCCB;background:#FFFDF6;font:inherit;font-size:18px;font-weight:800;cursor:pointer;color:#22301F}
.bt-qty span{width:30px;text-align:center;font-weight:800}.bt-qty .bt-btn{flex:1}
.bt-basket{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bt-slot{border-radius:12px;background:#F7F3E7;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11.5px;font-weight:700;text-align:center;padding:2px}
.bt-slot.empty{background:none;border:1.5px dashed #CFC7B2;color:#9A9384}
.bt-wear{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px dashed #E4DDCB;flex-wrap:wrap}
.bt-wear small{width:56px;font-size:12px;font-weight:800;color:#5B6A55}.bt-wear div{flex:1;display:flex;flex-direction:column;min-width:120px}.bt-wear div b{font-size:14px}.bt-wear div span{font-size:12px;color:#5B6A55}
.bt-wear .bt-btn{font-size:12.5px;padding:8px 10px;min-height:38px}
.bt-ok{font-size:12.5px;color:#1F7A35;font-weight:800}
.bt-sk{display:flex;justify-content:space-between;font-size:13px}
.bt-bar{height:8px;border-radius:4px;background:#D8E6C8;overflow:hidden}.bt-bar i{display:block;height:8px;background:#2F7D3F}.bt-bar.blue i{background:#3B6FB6}
@media (max-width:900px){.bt-shop{grid-template-columns:1fr}}

/* бой — во весь экран */
body.bt-lock{overflow:hidden}
#bt-ov{position:fixed;inset:0;z-index:10040;background:#F4F1E6;overflow:auto;font-family:inherit;color:#22301F}
.bt-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:16px;padding:10px 24px;background:#1F5130;color:#F4F1E6}
.bt-back{background:none;border:0;color:#DCEBD3;font:inherit;font-weight:700;font-size:14px;cursor:pointer;min-height:40px;padding:0 4px}
.bt-ht{display:flex;flex-direction:column;line-height:1.2}.bt-ht b{font-size:18px}.bt-ht span{font-size:12.5px;opacity:.8}
.bt-hmid{margin:0 auto;background:rgba(255,255,255,.12);border-radius:14px;padding:7px 14px;font-size:14px}
.bt-hmid b{font-size:17px;font-variant-numeric:tabular-nums}
.bt-teams{display:flex;justify-content:space-between;gap:12px;padding:10px 24px 8px;flex-wrap:wrap}
.bt-tl{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bt-tl.r{justify-content:flex-end}.bt-tl>b{font-size:13px}
.bt-tm{display:flex;flex-direction:column;gap:2px;width:124px}.bt-tm small{font-size:11.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-tm i{height:6px;border-radius:3px;background:#E4DDCB;overflow:hidden}.bt-tm i b{display:block;height:6px;background:#E07A1F}
.bt-tl.r .bt-tm i b{background:#3A3A44}.bt-tm.out{opacity:.45}
.bt-fieldwrap{display:flex;justify-content:center;padding:0 12px}
.bt-field{position:relative;border-radius:18px;background:#8A6A45;box-shadow:0 0 0 8px #8A6A45,inset 0 0 0 2px #6E5335;margin:8px 0 14px}
.bt-cell{position:absolute;border-radius:9px;background:#A6CD84;margin:1.5px}
.bt-cell.a{background:#9CC57A}
.bt-cell.rng{box-shadow:inset 0 0 0 3px rgba(217,65,43,.55)}
.bt-cell.mv{cursor:pointer;outline:2px dashed rgba(255,253,246,.85);outline-offset:-5px}
.bt-cell.mv:hover{filter:brightness(1.08)}
.bt-cell.ghost{outline:3px solid #FFFDF6;outline-offset:-5px;background-image:radial-gradient(circle,rgba(255,253,246,.5) 0 18%,transparent 19%)}
.bt-nettle{position:absolute;inset:0;border-radius:9px;font-style:normal;display:flex;align-items:flex-end;justify-content:flex-start;padding:3px;box-sizing:border-box;pointer-events:none;
  /* 2026-09-30 · крапива ярче: сочная зелёная грядка с зубчатыми листьями и жгучими ворсинками (рисует код, без картинки) */
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20stroke%3D%22%231B5E20%22%20stroke-width%3D%221.2%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2034%20L6%2028%20L8%2027%20L4%2021%20L7%2020%20L4%2013%20L8%2014%20L9%207%20L12%2012%20L14%209%20L15%2016%20L18%2015%20L16%2022%20L19%2023%20L15%2028%20L17%2030%20Z%22%20fill%3D%22%232E8B2E%22/%3E%3Cpath%20d%3D%22M28%2022%20L24%2017%20L26%2016%20L23%2010%20L26%2010%20L25%203%20L29%207%20L31%202%20L33%208%20L36%206%20L35%2013%20L38%2014%20L34%2019%20L36%2021%20Z%22%20fill%3D%22%2343A33A%22/%3E%3C/g%3E%3Cpath%20d%3D%22M10%2033%20L11%2012%20M28%2021%20L29%205%22%20stroke%3D%22%23A5D68A%22%20stroke-width%3D%221%22%20fill%3D%22none%22/%3E%3Cg%20fill%3D%22%23fff%22%20opacity%3D%22.85%22%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%22.9%22/%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2220%22%20r%3D%22.9%22/%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2212%22%20r%3D%22.9%22/%3E%3Ccircle%20cx%3D%2234%22%20cy%3D%2210%22%20r%3D%22.9%22/%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2235%22%20r%3D%22.9%22/%3E%3C/g%3E%3Cpath%20d%3D%22M20%2038%20L18%2033%20L21%2034%20L22%2029%20L24%2034%20L26%2032%20L25%2038%20Z%22%20fill%3D%22%232E8B2E%22%20stroke%3D%22%231B5E20%22%20stroke-width%3D%221%22/%3E%3C/svg%3E") 0 0/40px 40px repeat,radial-gradient(ellipse at 50% 60%,#9BE06A 0%,#5DB844 55%,#3C8F2E 100%);
  box-shadow:inset 0 0 0 2px #2E6B1F,inset 0 -6px 10px -4px rgba(20,60,15,.45),0 0 0 2px rgba(255,255,255,.55),0 3px 8px -3px rgba(20,60,15,.6);
  animation:btNettle 3.2s ease-in-out infinite}
.bt-nettle b{white-space:nowrap;background:#1F5E1B;color:#EAFBD8;border-radius:7px;padding:1px 6px;font-size:10.5px;font-weight:800;line-height:1.35;box-shadow:0 1px 0 rgba(255,255,255,.35)}
@keyframes btNettle{0%,100%{background-position:0 0,0 0}50%{background-position:2px -1px,0 0}}
@media (prefers-reduced-motion:reduce){.bt-nettle{animation:none}}
.bt-fence{position:absolute;border-radius:6px;background:repeating-linear-gradient(0deg,#A77B4A 0 9px,#7F5A33 9px 13px);box-shadow:0 0 0 2px #5E4226;z-index:2}
.bt-fence.h{background:repeating-linear-gradient(90deg,#A77B4A 0 9px,#7F5A33 9px 13px)}
.bt-fence[onclick]{cursor:crosshair}.bt-fence.tg{box-shadow:0 0 0 3px #D9412B}
.bt-ftag{position:absolute;z-index:2;font-size:10.5px;font-weight:800;color:#F4F1E6;background:rgba(94,66,38,.9);border-radius:6px;padding:1px 6px;pointer-events:none;white-space:nowrap}
.bt-prop{position:absolute;z-index:1;pointer-events:none}
.bt-arc{position:absolute;left:0;top:0;pointer-events:none;z-index:3;overflow:visible}
.bt-f{position:absolute;z-index:4;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;cursor:default}
.bt-f[onclick]{cursor:crosshair}
.bt-fa{position:relative;border-radius:50%;background:#5E8F4E;color:#FFFDF6;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #E07A1F,0 6px 10px -6px rgba(0,0,0,.5);transition:transform .15s}
.bt-f.d .bt-fa{background:#C9C4B6;box-shadow:0 0 0 3px #3A3A44,0 6px 10px -6px rgba(0,0,0,.5)}
.bt-f.me .bt-fa{background:#2F7D3F}
.bt-f.boss .bt-fa{box-shadow:0 0 0 4px #F2A33A,0 6px 10px -6px rgba(0,0,0,.5)}
.bt-f.tg .bt-fa{box-shadow:0 0 0 3px #3A3A44,0 0 0 7px #D9412B}
.bt-f[onclick]:hover .bt-fa{transform:scale(1.08)}
.bt-f.out{opacity:.4}
.bt-fn{font-size:11.5px;font-weight:800;color:#FFFDF6;background:rgba(34,48,31,.72);border-radius:7px;padding:1px 6px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.bt-hp{width:52%;max-width:64px;height:5px;border-radius:3px;background:rgba(0,0,0,.35);overflow:hidden}.bt-hp i{display:block;height:5px;background:#F2A33A}
.bt-f.d .bt-hp i{background:#FFFDF6}
.bt-splat{position:absolute;right:-7px;top:-6px;width:20px;height:17px;background:#D9412B;border-radius:48% 52% 45% 55%/55% 45% 55% 45%}
.bt-bdg{position:absolute;left:50%;transform:translateX(-50%);top:-14px;font-style:normal;font-size:9.5px;font-weight:800;background:#FFFDF6;color:#22301F;border-radius:6px;padding:0 5px;white-space:nowrap}
.bt-bdg.stink{background:#C7D98A}.bt-bdg.mark{background:#F2A33A}
.bt-pet{position:absolute;left:-10px;bottom:-5px;width:20px;height:20px;border-radius:50%;background:#F2C94C;color:#5E4226;font-size:9px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #FFFDF6}
.bt-proj{position:absolute;left:0;top:0;width:16px;height:16px;border-radius:50%;z-index:6;box-shadow:0 0 0 2px #FFFDF6;pointer-events:none}
.bt-boom{position:absolute;top:-10px;left:50%;transform:translateX(-50%);font-style:normal;font-weight:900;font-size:16px;text-shadow:0 1px 0 #fff,0 0 6px #fff;animation:btBoom 1s ease-out forwards;pointer-events:none;z-index:7}
@keyframes btBoom{from{opacity:1;margin-top:0}to{opacity:0;margin-top:-26px}}
.bt-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(280px,.8fr);gap:14px;padding:0 24px 24px;max-width:1760px;margin:0 auto}
.bt-ammo{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:7px}
.bt-am{border:2px solid #E4DDCB;background:#FFFDF6;border-radius:12px;padding:7px 4px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;font:inherit;color:#22301F;min-height:84px}
.bt-am b{font-size:11.5px;line-height:1.1;text-align:center}.bt-am small{font-size:10.5px;color:#5B6A55}
.bt-am.on{border-color:#D9412B;background:#FCEDE8}.bt-am:disabled{opacity:.4}
.bt-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.bt-zones button{border:2px solid #E4DDCB;background:#FFFDF6;border-radius:12px;padding:7px 4px;cursor:pointer;font:inherit;color:#22301F;display:flex;flex-direction:column;align-items:center;min-height:56px}
.bt-zones button.on{border-color:#D9412B;background:#FCEDE8}.bt-zones small{font-size:11.5px;color:#5B6A55}.bt-zones button:disabled{opacity:.5}
.bt-cover{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bt-cover span{font-size:12.5px;font-weight:800}
.bt-cover button{border:2px solid #E4DDCB;background:#FFFDF6;border-radius:10px;padding:6px 12px;font:inherit;font-weight:700;font-size:12.5px;cursor:pointer;color:#22301F;min-height:38px}
.bt-cover button.on{border-color:#3B6FB6;background:#E7EEF8}
.bt-sent{font-size:13px;font-weight:800;color:#1F5130;background:#DCEFD3;border-radius:10px;padding:7px 10px}
.bt-log{gap:4px}.bt-log div{font-size:12.5px;line-height:1.35;border-bottom:1px dashed #E4DDCB;padding-bottom:4px}
.bt-go .bt-log{box-shadow:none;padding:6px 0 0;background:none}
.bt-center{display:flex;justify-content:center;padding:24px 16px}
.bt-lobby{max-width:560px;width:100%}.bt-big{font-size:22px}
.bt-res.win{box-shadow:0 0 0 3px #F2C94C,0 12px 26px -20px rgba(31,81,48,.7)}
.bt-res{grid-column:span 2}
@media (max-width:1100px){.bt-panel{grid-template-columns:1fr 1fr}.bt-go{grid-column:span 2}.bt-res{grid-column:span 2}}
@media (max-width:760px){.bt-panel{grid-template-columns:1fr;padding:0 10px 18px}.bt-go,.bt-res{grid-column:auto}.bt-head{padding:8px 10px;gap:8px}.bt-ht{min-width:0;flex:1}.bt-ht b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bt-ht span{display:none}.bt-hl{display:none}.bt-hq{display:flex}.bt-hmid{margin:0}.bt-teams{display:none}.bt-hmid{font-size:12.5px;padding:5px 9px}}

/* попап */
.bt-sov{position:fixed;inset:0;z-index:10080;background:rgba(20,35,22,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.bt-spop{position:relative;width:100%;max-width:440px;max-height:88vh;overflow:auto;background:#FFFDF6;border-radius:22px;padding:22px 18px 18px;box-shadow:0 24px 50px -20px rgba(0,0,0,.5);color:#22301F}
.bt-spop h3{margin:0 0 8px;text-align:center;color:#1F5130}
.bt-p{text-align:center;color:#4B5F47;margin:0 0 12px;font-size:14px}
.bt-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;border:0;background:#F1F5EE;cursor:pointer;color:#4B5F47}
.bt-hq{display:none;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.18);align-items:center;justify-content:center;font-weight:900}
.bt-helptxt p{font-size:14px;line-height:1.5;margin:0 0 10px}

/* этап 3: постройки, осада, сезон */
.bt-bld{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px dashed #E4DDCB}
.bt-bld div{flex:1;display:flex;flex-direction:column;min-width:0}.bt-bld b{font-size:13.5px}.bt-bld small{font-size:12px;color:#5B6A55;line-height:1.3}
.bt-bld .bt-btn{font-size:12.5px;padding:7px 10px;min-height:38px;white-space:nowrap}
.bt-more summary{cursor:pointer;font-weight:800;font-size:13px;color:#1F5130;padding:6px 0}
.bt-siege{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bt-siege button{border:1.5px solid #E2DCCB;background:#FFFDF6;border-radius:12px;padding:7px 8px;font:inherit;text-align:left;cursor:pointer;color:#22301F;display:flex;flex-direction:column;gap:2px}
.bt-siege button b{font-size:12.5px}.bt-siege button small{font-size:11.5px;color:#5B6A55;line-height:1.3}
.bt-siege button.on{border-color:#D9412B;background:#FCEDE8}
.bt-srow{display:flex;justify-content:space-between;font-size:13.5px;padding:4px 0;border-top:1px dashed #E4DDCB}
/* ── 2026-09-29 · Долина: компактная панель объекта, штурм по шагам, бои и сезон отдельно ── */
.bt-season{display:flex;align-items:center;gap:12px;width:100%;border:0;cursor:pointer;text-align:left;font:inherit;color:#22301F;margin-bottom:12px;
  background:linear-gradient(90deg,#FFF4D6,#FFFDF6 70%);border-radius:16px;padding:10px 14px;box-shadow:inset 0 0 0 1.5px #F2DFA6}
.bt-season:hover{filter:brightness(1.02)}
.bt-sic{font-size:24px;line-height:1}
.bt-stx{flex:1;min-width:0;display:flex;flex-direction:column}.bt-stx b{font-size:14.5px}.bt-stx small{font-size:12.5px;color:#6B5A2A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bt-sgo{font-size:13px;font-weight:800;color:#8A6A12;white-space:nowrap}
.bt-bstrip{margin-bottom:14px}
.bt-bstrip.empty{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#FFFDF6;border-radius:16px;padding:10px 14px;font-size:13px;color:#5B6A55}
.bt-bstrip.empty b{color:#22301F;font-size:14px}
.bt-bsh{display:flex;align-items:center;gap:8px;margin-bottom:8px}.bt-bsh b{font-size:15px}
.bt-bsh em{font-style:normal;font-size:12px;font-weight:800;background:#D9412B;color:#FFFDF6;border-radius:99px;padding:2px 9px}
.bt-bsl{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}
.bt-bc{flex:0 0 250px;scroll-snap-align:start;display:flex;align-items:center;gap:10px;background:#FFFDF6;border-radius:16px;padding:10px 12px;border-left:5px solid #C9C3B2;box-shadow:0 10px 20px -18px rgba(31,81,48,.8)}
.bt-bc.live{border-left-color:#D9412B;background:#FFF6F2}.bt-bc.soon{border-left-color:#E0A21B}.bt-bc.win{border-left-color:#2F7D3F}.bt-bc.lose{border-left-color:#9AA39A}
.bt-bct{flex:1;min-width:0;display:flex;flex-direction:column}
.bt-bct small{font-size:11.5px;font-weight:800;color:#5B6A55}.bt-bct b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bt-bct span{font-size:12px;color:#5B6A55}
.bt-bc.live .bt-bct span{color:#B3321F;font-weight:800}.bt-bc.win .bt-bct span{color:#1F7A35;font-weight:800}
.bt-bc .bt-btn{min-height:38px;padding:7px 12px;font-size:13px;white-space:nowrap}
.bt-obj{gap:12px}
.bt-own{font-style:normal;font-weight:800;font-size:11.5px;border-radius:99px;padding:2px 8px;margin-right:4px;background:#3A3A44;color:#FFFDF6}
.bt-own.mine{background:#2F7D3F}.bt-own.club{background:#3B6FB6}
.bt-dots{letter-spacing:1px;color:#22301F}.bt-dots i{font-style:normal;color:#D6D0C0}
.bt-gain{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bt-gain div{background:#EEF5E4;border-radius:12px;padding:8px 10px;display:flex;flex-direction:column;gap:1px}
.bt-gain small{font-size:11px;color:#5B6A55;font-weight:600}.bt-gain b{font-size:14px;color:#1F5130;line-height:1.25}
.bt-def{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.bt-def small{font-size:12px;font-weight:800;color:#5B6A55;margin-right:2px}
.bt-def span{background:#F1E7D6;border-radius:99px;padding:3px 9px;font-size:12.5px;font-weight:700}
.bt-att{border-radius:16px;background:#FFF7F3;box-shadow:inset 0 0 0 1.5px #F6D3C8;padding:12px;display:flex;flex-direction:column;gap:9px}
.bt-att-h{font-weight:900;font-size:15px;color:#9A2A18}
.bt-step{display:flex;align-items:center;gap:7px;font-size:13.5px}
.bt-step i,.bt-sg summary i{font-style:normal;width:20px;height:20px;border-radius:50%;background:#D9412B;color:#FFFDF6;font-size:11.5px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.bt-days{display:flex;gap:6px;flex-wrap:wrap}
.bt-days button{flex:1 1 0;min-width:84px;border:1.5px solid #E8D9CF;background:#FFFDF6;border-radius:12px;padding:6px 8px;font:inherit;cursor:pointer;color:#22301F;display:flex;flex-direction:column;align-items:center;line-height:1.2}
.bt-days button b{font-size:13.5px}.bt-days button small{font-size:11px;color:#8A7A6E}
.bt-days button.on{border-color:#D9412B;background:#D9412B;color:#FFFDF6}.bt-days button.on small{color:#FDE3DC}
.bt-days button.bt-tst{flex:0 0 auto;border-style:dashed}
.bt-time{display:flex;align-items:center;gap:8px;background:#FFFDF6;border:1.5px solid #E8D9CF;border-radius:12px;padding:0 10px;min-height:44px}
.bt-time:focus-within{border-color:#D9412B}
.bt-time select{flex:1;border:0;background:transparent;font:inherit;font-size:15px;font-weight:800;color:#22301F;min-height:42px;cursor:pointer;outline:0}
.bt-time i{font-style:normal;font-size:11.5px;color:#8A7A6E;white-space:nowrap}
.bt-sg{flex-direction:column;align-items:stretch;gap:0}
.bt-sg summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;padding:2px 0}
.bt-sg summary::-webkit-details-marker{display:none}
.bt-sg summary span{margin-left:auto;font-size:12px;color:#8A7A6E}
.bt-sg summary::after{content:'▾';color:#8A7A6E;margin-left:4px;transition:transform .2s}.bt-sg[open] summary::after{transform:rotate(180deg)}
.bt-siege2{display:flex;flex-direction:column;gap:5px;margin-top:8px}
.bt-siege2 button{display:flex;align-items:center;gap:9px;border:1.5px solid #E8D9CF;background:#FFFDF6;border-radius:12px;padding:7px 10px;font:inherit;text-align:left;cursor:pointer;color:#22301F}
.bt-siege2 button.on{border-color:#D9412B;background:#FCEDE8}
.bt-ck{width:20px;height:20px;border-radius:6px;border:1.5px solid #D6C8BD;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:#FFFDF6;flex-shrink:0}
.bt-siege2 button.on .bt-ck{background:#D9412B;border-color:#D9412B}
.bt-sn{flex:1;min-width:0;display:flex;flex-direction:column}.bt-sn b{font-size:13px}.bt-sn small{font-size:11.5px;color:#6B6258;line-height:1.3}
.bt-siege2 em{font-style:normal;font-weight:800;font-size:12.5px;white-space:nowrap}
.bt-total{display:flex;align-items:flex-end;justify-content:space-between;border-top:1px dashed #EBCFC4;padding-top:8px}
.bt-total div{display:flex;flex-direction:column}.bt-total small{font-size:11.5px;color:#8A7A6E;font-weight:700}
.bt-total b{font-size:22px;font-weight:900;line-height:1.15}.bt-total span{font-size:12px;color:#6B6258}
.bt-go2{width:100%;min-height:50px;font-size:15px}
.bt-go2:disabled{background:#E7DCD6;color:#8A7A6E;box-shadow:none;cursor:default}
.bt-facts{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11.5px;color:#8A7A6E;justify-content:center}
.bt-prz{display:flex;gap:6px;margin:10px 0}.bt-prz span{flex:1;text-align:center;background:#FFF4D6;border-radius:12px;padding:8px 4px;font-weight:800;font-size:13.5px}
@media (max-width:900px){.bt-bc{flex-basis:230px}.bt-season{padding:9px 12px}.bt-sgo{font-size:12px}}
/* Как играть */
.bt-subnav .bt-howto{margin-left:auto;background:#FFF4D6;border-color:#F2DFA6;color:#6B5A2A}
.bt-subnav .bt-howto + .bt-test{margin-left:0}
.bt-spop-w{max-width:560px}
.bt-guide{display:flex;flex-direction:column;gap:8px;text-align:left}
.bt-gs{display:flex;gap:10px;background:#F5F9EE;border-radius:14px;padding:10px 12px}
.bt-gs>i{font-style:normal;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:#2F7D3F;color:#FFFDF6;font-weight:900;font-size:13px;display:flex;align-items:center;justify-content:center}
.bt-gs b{font-size:14px}.bt-gs p{margin:2px 0 0;font-size:13px;line-height:1.45;color:#40523C}
.bt-gs.win{background:#FFF4D6}.bt-gs.win>i{background:#E0A21B}
.bt-tips{display:flex;flex-direction:column;gap:5px;font-size:12.5px;line-height:1.4;color:#40523C;border-top:1px dashed #E4DDCB;padding-top:8px}
.bt-tips b{font-size:13.5px;color:#22301F}
/* ── 2026-09-29 · подсказки в бою, обучение, осада, корзинка в лобби ── */
.bt-hpn{font-size:10.5px;font-weight:900;color:#FFFDF6;background:rgba(34,48,31,.78);border-radius:6px;padding:0 5px;line-height:15px;margin-top:1px}
.bt-f.d .bt-hpn{background:rgba(58,58,68,.85)}
.bt-coach{max-width:1760px;margin:0 auto 12px;padding:0 24px;display:flex;flex-direction:column;gap:6px}
.bt-cst{display:flex;flex-wrap:wrap;gap:6px}
.bt-cst span{display:flex;align-items:center;gap:6px;background:#FFFDF6;border:1.5px solid #E2DCCB;border-radius:99px;padding:5px 12px 5px 5px;font-size:13px;font-weight:700;color:#40523C}
.bt-cst span i{font-style:normal;width:22px;height:22px;border-radius:50%;background:#E0A21B;color:#fff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center}
.bt-cst span.ok{border-color:#9BD08A;background:#EEF8E8;color:#1F7A35}.bt-cst span.ok i{background:#2F7D3F}
.bt-ctip{background:#FFF4D6;border-radius:14px;padding:9px 14px;font-size:13.5px;font-weight:600;color:#5B4A12;line-height:1.4;box-shadow:inset 0 0 0 1.5px #F2DFA6}
.bt-cwarn{align-self:flex-start;background:#D9412B;color:#fff;font-weight:800;font-size:13px;border-radius:10px;padding:5px 12px;animation:btBlink 1s ease-in-out infinite}
@keyframes btBlink{50%{opacity:.6}}
.bt-siegebar{max-width:1760px;margin:0 auto 10px;padding:0 24px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px}
.bt-siegebar b{color:#9A2A18}
.bt-siegebar span{border-radius:99px;padding:4px 11px;font-weight:700;background:#F1E7D6;color:#40523C}
.bt-siegebar span.now{background:#D9412B;color:#fff}.bt-siegebar span.done{background:#E3EFD9;color:#1F7A35;text-decoration:none;opacity:.8}
.bt-ev-sg{color:#9A2A18;font-weight:800}.bt-ev-fl{color:#1F7A35;font-weight:800}
.bt-tut .bt-spop{text-align:center;max-width:400px}
.bt-tut-ic{font-size:54px;line-height:1;margin:4px 0 6px}
.bt-tut .bt-p{font-size:14.5px;line-height:1.5}
.bt-tut-dots{display:flex;justify-content:center;gap:6px;margin:12px 0}
.bt-tut-dots i{width:8px;height:8px;border-radius:50%;background:#E2DCCB}.bt-tut-dots i.on{background:#2F7D3F;width:22px;border-radius:4px}
.bt-tut .bt-row{justify-content:center}
.bt-kwarn{background:#FCEDE8;color:#9A2A18;border-radius:12px;padding:8px 12px;font-size:13px;font-weight:700;line-height:1.4}
.bt-kit{width:100%;background:#E0A21B;box-shadow:0 8px 16px -12px rgba(160,110,10,.9)}
@media (max-width:760px){.bt-coach,.bt-siegebar{padding:0 10px}.bt-cst span{font-size:12px}.bt-ctip{font-size:12.5px}}
.bt-bdg.aim{background:#D9412B;color:#fff}
.bt-team{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px}
.bt-team b{color:#22301F}.bt-team span{background:#F1E7D6;border-radius:99px;padding:3px 10px;color:#6B6258;font-weight:700}.bt-team span.ok{background:#E3EFD9;color:#1F7A35}
/* ── 2026-09-29 · арт: картинка поверх запасного SVG/эмодзи ── */
.bt-pic{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle}
.bt-pic>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
.bt-pic>img~*{visibility:hidden}
.bt-pic .bt-wemo{font-size:22px;line-height:1}
.bt-respic:not(:has(img)){display:none}.bt-tutpic:not(:has(img)){height:auto!important}
/* 2026-09-30 · картинки итога боя и обучения — в рамке со скруглением: слева в итоге, во всю ширину в обучении */
.bt-reshead{display:flex;gap:22px;align-items:center}
.bt-resbody{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.bt-resbody .bt-row{margin-top:4px}
.bt-res{--rc:#F2C94C;--rbg:#FFF6D8}.bt-res.lose{--rc:#E9A08F;--rbg:#FDECE7}
.bt-respic{width:240px!important;height:165px!important;margin:8px 6px 8px 8px;border-radius:20px;overflow:hidden;background:var(--rbg);
  box-shadow:0 0 0 4px #FFFDF6,0 0 0 7px var(--rc),0 16px 26px -16px rgba(31,81,48,.65);transform:rotate(-2deg);transition:transform .25s}
.bt-respic:hover{transform:rotate(0) scale(1.02)}
.bt-respic>img{object-fit:cover}
.bt-resbadge{display:inline-flex;align-items:center;gap:5px;background:var(--rbg);color:#7A4B12;border:1.5px solid var(--rc);border-radius:999px;padding:3px 11px;font-size:12.5px;font-weight:800}
.bt-res.lose .bt-resbadge{color:#9A3A26}
.bt-tutpic{width:100%!important;height:auto!important;aspect-ratio:440/280;margin:2px 0 10px;border-radius:18px;overflow:hidden;background:#EEF5E6;
  box-shadow:0 0 0 3px #FFFDF6,0 0 0 5.5px #CFE3B0,0 14px 22px -16px rgba(31,81,48,.6)}
.bt-tutpic>img{object-fit:cover}
.bt-tutpic:not(:has(img)){aspect-ratio:auto;background:none;box-shadow:none;margin:0 auto 6px}
@media (max-width:560px){.bt-reshead{flex-direction:column;align-items:stretch;gap:14px}.bt-respic{width:auto!important;height:auto!important;aspect-ratio:320/220;margin:6px 6px 4px;transform:none}}
.bt-mapimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bt-roads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
@media (max-width:900px){.bt-roads path:nth-child(1){stroke-width:9px}.bt-roads path:nth-child(2){stroke-width:5.5px}}
.bt-nimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.bt-cell:has(.bt-nettle){background-color:transparent!important}
.bt-field.has-bg{box-shadow:0 0 0 8px rgba(110,83,53,.55)}
.bt-field.has-bg .bt-cell{background-color:rgba(255,255,255,.06)!important}.bt-field.has-bg .bt-cell:not(.rng){box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.bt-wear{align-items:center}
.bt-bld{align-items:center}
/* 2026-09-29 · питомец в бою */
.bt-petimg{position:absolute;left:-16px;bottom:-8px;width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));z-index:2;animation:btPetBob 2.4s ease-in-out infinite}
.bt-petimg.shield{filter:drop-shadow(0 0 4px #F2A33A) drop-shadow(0 2px 3px rgba(0,0,0,.35))}
@keyframes btPetBob{50%{transform:translateY(-3px)}}
.bt-petcard{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;border-radius:14px;background:#F6F0FF;box-shadow:inset 0 0 0 1.5px #E2D6FA}
.bt-petcard.on{background:#EDE3FF;box-shadow:inset 0 0 0 2px #8B5CF6}
.bt-petcard img{width:46px;height:46px;object-fit:contain;flex-shrink:0}
.bt-petcard div{flex:1;min-width:0;display:flex;flex-direction:column}.bt-petcard b{font-size:13.5px}.bt-petcard small{font-size:11.5px;color:#5B4A7A;line-height:1.35}
.bt-petcard .bt-btn{min-height:38px;padding:7px 12px;font-size:13px;white-space:nowrap;background:#7C3AED}.bt-petcard .bt-btn.bt-ghost{background:#FFFDF6;color:#6D28D9;box-shadow:inset 0 0 0 1.5px #C4B5FD}
/* 2026-09-29 · ПК: крупные фигурки, имя и чистота сбоку */
.bt-f.wide{flex-direction:row;gap:10px;justify-content:center}
.bt-f.wide .bt-finfo{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.bt-f.wide .bt-fn{font-size:13px;max-width:100%}
.bt-f.wide .bt-hp{width:100%;max-width:90px;height:7px}.bt-f.wide .bt-hp i{height:7px}
.bt-f.wide .bt-hpn{font-size:12px;line-height:17px;padding:0 7px;white-space:nowrap}
.bt-f.wide .bt-fa{box-shadow:0 0 0 4px #E07A1F,0 8px 14px -8px rgba(0,0,0,.55)}
.bt-f.wide.d .bt-fa{box-shadow:0 0 0 4px #3A3A44,0 8px 14px -8px rgba(0,0,0,.55)}
.bt-f.wide.boss .bt-fa{box-shadow:0 0 0 5px #F2A33A,0 8px 14px -8px rgba(0,0,0,.55)}
.bt-f.wide.tg .bt-fa{box-shadow:0 0 0 4px #3A3A44,0 0 0 9px #D9412B}
/* 2026-09-29 · картинка бойца заполняет кружок целиком и обрезается по кругу */
.bt-pic.bt-round{border-radius:50%;overflow:hidden}
.bt-pic.bt-round>img{object-fit:cover}
/* 2026-09-29 · плашка «вернуться в бой» после перезагрузки */
#bt-resume{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:10030;display:flex;align-items:center;gap:10px;
  background:#1F5130;color:#FFFDF6;border-radius:18px;padding:8px 8px 8px 16px;box-shadow:0 14px 30px -12px rgba(0,0,0,.55);font-weight:800;font-size:14px;max-width:calc(100vw - 24px);animation:btUp .3s ease-out}
#bt-resume .bt-btn{background:#D9412B;min-height:40px;padding:8px 14px;white-space:nowrap}
#bt-resume .bt-rx{background:none;border:0;color:#cfe3c4;font-size:16px;cursor:pointer;padding:6px}
@keyframes btUp{from{transform:translate(-50%,20px);opacity:0}}
@media (max-width:600px){#bt-resume{font-size:12.5px;bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
#bt-resume>span{flex:1;min-width:0;line-height:1.3}
@media (max-width:600px){#bt-resume{left:12px;right:12px;transform:none;animation:none}}
/* 2026-09-29 · нарисованные объекты на карте — без кружка, подложки и обводки, прямо на местности.
   Чей объект — флажок на колышке рядом с картинкой (зелёный с нашей эмблемой — наш, синий — другой клуб, чёрный с лапкой — вороны)
   и зелёная табличка у нашего. Выбранный — приподнят и над ним прыгает стрелка. */
.bt-mart{position:relative;display:block;width:min(118px,12.5cqw);height:min(118px,12.5cqw);transition:transform .2s;filter:drop-shadow(0 10px 8px rgba(31,81,48,.35))}
.bt-mart img{width:100%;height:100%;object-fit:contain;display:block}
.bt-mart.sel{transform:translateY(-6px) scale(1.1);filter:drop-shadow(0 18px 10px rgba(31,81,48,.4))}
.bt-mark:hover .bt-mart{transform:translateY(-3px) scale(1.05)}.bt-mark:hover .bt-mart.sel{transform:translateY(-6px) scale(1.12)}
.bt-mflag{position:absolute;right:-14px;bottom:10px;width:40px;height:60px;pointer-events:none}
.bt-mflag svg{width:100%;height:100%;display:block;overflow:visible}
.bt-mflag em{position:absolute;left:8px;top:6px;width:32px;height:22px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:14px;line-height:1}
.bt-mflag.mine{width:46px;height:69px;right:-18px}.bt-mflag.mine em{left:9px;top:7px;width:37px;height:26px;font-size:16px}
.bt-mflag.mine .bt-mcloth{transform-origin:10px 26px;animation:btWave 2.4s ease-in-out infinite}
@keyframes btWave{0%,100%{transform:skewY(0) scaleX(1)}50%{transform:skewY(-5deg) scaleX(.94)}}
.bt-mptr{position:absolute;left:50%;top:-16px;transform:translateX(-50%);color:#D9412B;font-size:20px;line-height:1;text-shadow:0 2px 0 #FFFDF6,0 0 6px #FFFDF6;animation:btPtr 1s ease-in-out infinite;z-index:2}
@keyframes btPtr{0%,100%{margin-top:0}50%{margin-top:-7px}}
.bt-mlab.mine{background:#2F7D3F;color:#FFFDF6}
.bt-mark.sel .bt-mlab{box-shadow:0 0 0 2px #D9412B,0 6px 14px -10px rgba(31,81,48,.8)}
@media (prefers-reduced-motion:reduce){.bt-mflag.mine .bt-mcloth,.bt-mptr{animation:none}}
.bt-oart{width:64px;height:64px;flex-shrink:0}.bt-oart img{width:100%;height:100%;object-fit:contain}
@media (max-width:900px){.bt-mart{width:66px;height:66px}.bt-mflag{width:26px;height:39px;right:-10px;bottom:4px}.bt-mflag em{left:5px;top:4px;width:21px;height:14px;font-size:10px}.bt-mflag.mine{width:30px;height:45px;right:-12px}.bt-mflag.mine em{left:6px;top:4px;width:24px;height:17px;font-size:11px}.bt-mptr{top:-14px;font-size:15px}.bt-mlab{max-width:96px}.bt-mlab b{font-size:10.5px;line-height:1.15}}

/* 2026-09-29 · до 1200px панель «Объявить штурм» уходит под карту */
@media (max-width:1199px){.bt-valley{grid-template-columns:minmax(0,1fr)}}
.bt-cell.rng .bt-nettle{box-shadow:inset 0 0 0 3px rgba(217,65,43,.85),0 0 0 2px rgba(255,255,255,.55)}
@media (max-width:760px){.bt-nettle{background-size:28px 28px,auto}.bt-nettle b{font-size:9px;padding:0 4px}}
/* 2026-09-30 · значки построек в плашках + нарисованные постройки на поле */
span.bt-fchip{display:inline-flex!important;align-items:center;gap:5px}
.bt-fchip .bt-pic{background:none!important;padding:0!important;border-radius:0!important;width:22px;height:22px}
.bt-fchip .bt-wemo{font-size:15px}
.bt-prop .bt-pic>img{filter:drop-shadow(0 6px 5px rgba(20,30,10,.45))}
.bt-flagp{z-index:2}
.bt-fchip .bt-wemo{background:none!important;padding:0!important}
/* 2026-09-30 · нарисованные знамёна у объектов Долины (картинка поверх запасного флажка, см. mapFlag) */
.bt-mflag .bt-mfpic{position:absolute;inset:0;width:100%;height:100%}
.bt-mflag:not(.noimg){width:44px;height:64px;right:-16px;bottom:8px}
.bt-mflag.mine:not(.noimg){width:52px;height:76px;right:-20px}
.bt-mfpic>img{object-fit:contain;filter:drop-shadow(0 4px 3px rgba(20,30,10,.4))}
.bt-mflag.mine:not(.noimg) .bt-mfpic>img{transform-origin:15% 100%;animation:btFlagSway 2.6s ease-in-out infinite}
@keyframes btFlagSway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2.5deg)}}
.bt-mf-other .bt-mfpic>img,.bt-lgpic.other>img{filter:hue-rotate(95deg) saturate(1.2) drop-shadow(0 4px 3px rgba(20,30,10,.4))}
.bt-mflag i.bt-mfem{position:absolute;right:-4px;bottom:-2px;width:22px;height:22px;border-radius:50%;background:#FFFDF6;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:13px;z-index:2;box-shadow:0 0 0 2px var(--fc,#2F7D3F),0 2px 4px rgba(0,0,0,.3)}
.bt-mflag.noimg i.bt-mfem{display:none}
.bt-mf-other i.bt-mfem{--fc:#3B6FB6}
.bt-lgpic{width:16px;height:22px}.bt-lgpic>img{object-fit:contain}
@media (max-width:900px){.bt-mflag:not(.noimg){width:28px;height:40px;right:-10px;bottom:4px}.bt-mflag.mine:not(.noimg){width:32px;height:46px;right:-12px}.bt-mflag i.bt-mfem{width:16px;height:16px;font-size:9px}}
@media (prefers-reduced-motion:reduce){.bt-mflag .bt-mfpic>img{animation:none}}

/* 2026-10-01 · нет картинки знамени ворон — берём знамя клуба и «перекрашиваем» в чёрное */
.bt-crowfb img{filter:grayscale(1) brightness(.38) contrast(1.15) drop-shadow(0 4px 3px rgba(20,30,10,.4))!important}
.bt-mf-crows.bt-crowfb em{display:none}

/* 2026-10-01 — кнопка «✕ отменить штурм» на карточке боя */
.bt-bc .bt-cancel{min-width:0;width:34px;height:34px;padding:0;margin-left:6px;color:#b91c1c;border-color:#f5caca;flex:0 0 auto}
.bt-bc .bt-cancel:hover{background:#fee2e2}
/* осадные штуки на поле (2026-10-01) */
.bt-siegep.used{opacity:.45;filter:grayscale(.5)}
.bt-siegep.now .bt-pic{animation:btSgPulse 1.2s ease-in-out infinite}
.bt-siegep.smoke-on{opacity:.8;z-index:2}
@keyframes btSgPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}

/* 🗺 2026-10-03 · локации */
.bt-locs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;margin:0 0 4px;scrollbar-width:thin}
.bt-locs button{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:8px 14px 8px 10px;border-radius:14px;border:2px solid #CFE3BE;background:#FFFDF4;color:#22301F;font:inherit;cursor:pointer;text-align:left}
.bt-locs button.on{border-color:#2F7D3F;background:#E8F5E1;box-shadow:0 4px 12px -6px rgba(31,81,48,.5)}
.bt-locs button.lock{opacity:.6}
.bt-locs .bt-lic{font-size:22px;line-height:1}
.bt-locs .bt-ltx{display:flex;flex-direction:column;line-height:1.15}.bt-locs .bt-ltx b{font-size:13.5px}.bt-locs .bt-ltx small{font-size:11.5px;color:#6B7A62}

/* 4.10: карта новой локации без вертикальной версии — на телефоне 4:3, как нарисована */
@media (max-width:900px){.bt-map.wide{aspect-ratio:1024/776}}

/* 4.10 (Марина: «анимация питомцев, тачки-тарана и катапульты неплавно зациклена, с дёрганьем»).
   Причина — поле перерисовывается каждые 3 с, и анимация каждый раз начиналась с нуля. Теперь battle.js
   продолжает её с того же места (btSyncAnims), а сами качания стали мягче и с явными началом/концом. */
.bt-petimg{animation:btPetBob 2.4s ease-in-out infinite;will-change:transform}
@keyframes btPetBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.bt-siegep .bt-pic{transform-origin:50% 100%}
.bt-siegep.now .bt-pic{animation:btSgPulse 1.6s ease-in-out infinite;will-change:transform}
@keyframes btSgPulse{0%,100%{transform:scale(1) rotate(0)}25%{transform:scale(1.03) rotate(-1.5deg)}50%{transform:scale(1.06) rotate(0)}75%{transform:scale(1.03) rotate(1.5deg)}}

/* ⚔️ 4.10 — карточка «Твой клуб идёт на штурм / На твой клуб напали — записаться» */
.bt-inv{position:relative;width:100%;max-width:400px;max-height:92vh;overflow:auto;border-radius:24px;background:#FFFDF6;box-shadow:0 30px 60px -22px rgba(0,0,0,.6);color:#22301F;animation:btInvIn .32s cubic-bezier(.2,.9,.3,1.2)}
@keyframes btInvIn{from{transform:translateY(24px) scale(.96);opacity:0}}
.bt-inv-x{position:absolute;top:10px;right:10px;z-index:3;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#22301F;font-size:15px;cursor:pointer}
.bt-inv-top{position:relative;height:170px;background-size:cover;background-position:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:12px;border-radius:24px 24px 0 0}
.bt-inv-badge{position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:100px;font-weight:900;font-size:13px;letter-spacing:.3px;color:#fff;background:#E07A1F;box-shadow:0 6px 14px -6px rgba(0,0,0,.5)}
.bt-inv.def .bt-inv-badge{background:#C0392B}
.bt-inv-obj{filter:drop-shadow(0 10px 14px rgba(0,0,0,.45));animation:btInvBob 3s ease-in-out infinite}
.bt-inv-obj .bt-pic{display:inline-flex;align-items:center;justify-content:center}
.bt-inv-obj img{width:100%;height:100%;object-fit:contain}
@keyframes btInvBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.bt-inv-name{color:#FFFDF6;font-size:19px;font-weight:900;text-shadow:0 2px 6px rgba(0,0,0,.6);margin-top:2px;text-align:center;padding:0 12px}
.bt-inv-body{padding:16px 18px 18px;text-align:center}
.bt-inv-body h3{margin:0 0 12px;font-size:20px;font-weight:900}
.bt-inv.att h3{color:#B45309}.bt-inv.def h3{color:#B91C1C}
.bt-inv-vs{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px}
.bt-inv-vs>i{font-style:normal;font-weight:900;font-size:15px;color:#fff;background:#3A3A44;border-radius:100px;padding:5px 9px;flex-shrink:0}
.bt-inv-side{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px;border-radius:16px;background:#F3EFE3}
.bt-inv-side.me{background:#E8F4E1;box-shadow:inset 0 0 0 2px #8BC06A}
.bt-inv-side b{font-size:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-inv-side small{font-size:12px;color:#5b6b52}
.bt-inv-chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:8px}
.bt-inv-chips span{padding:6px 12px;border-radius:100px;background:#FFF4E5;font-size:13.5px;color:#7a4a12}
.bt-inv-bar{height:8px;border-radius:8px;background:#EDE7D6;overflow:hidden;margin:0 6px 12px}
.bt-inv-bar i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#8BC06A,#2F7D3F)}
.bt-inv-hint{margin:0 0 14px;font-size:13.5px;color:#5b6b52;line-height:1.45}
.bt-inv-go{width:100%}
.bt-inv-row{display:flex;justify-content:center;gap:16px;margin-top:10px}
.bt-inv-link{border:0;background:none;color:#5b6b52;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.bt-inv,.bt-inv-obj{animation:none}}
.bt-inv-side b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2;text-align:center}
.bt-inv-link{white-space:nowrap}.bt-inv-row{flex-wrap:wrap;gap:6px 16px}
@media (max-width:420px){.bt-inv-vs{gap:6px}.bt-inv-vs>i{padding:4px 7px;font-size:13px}.bt-inv-top{height:150px}}

/* 👑 5.10: VIP-снаряды в корзинке — с описанием */
.bt-vipammo{margin-top:10px;padding:10px;border-radius:14px;background:linear-gradient(160deg,#fff3c4,#fde68a);box-shadow:inset 0 0 0 1.5px #f5b301}
.bt-va-h{font-weight:800;font-size:13.5px;color:#7c2d12;margin-bottom:6px}.bt-va-h small{font-weight:600;color:#92400e;font-size:11.5px;margin-left:4px}
.bt-va{display:flex;align-items:center;gap:9px;padding:6px 4px;border-top:1px dashed rgba(180,120,0,.35)}.bt-va:first-of-type{border-top:0}
.bt-va b{display:block;font-size:13px;color:#4a2a05}.bt-va b i{font-style:normal;color:#b45309}.bt-va span{display:block;font-size:12px;line-height:1.3;color:#6b4a12}
body.dark .bt-vipammo{background:linear-gradient(160deg,#4a3a17,#6b5114)}body.dark .bt-va-h,body.dark .bt-va b{color:#fde68a}body.dark .bt-va span,body.dark .bt-va-h small{color:#f3d58a}

/* 🌙 6.10 · Ночная тема: Долина, Лавка, «Как играть», бой, приглашения */
body.dark .bt-wait,body.dark .bt-hint,body.dark .bt-desc,body.dark .bt-price,body.dark .bt-oh span,body.dark .bt-two small,body.dark .bt-wear small,body.dark .bt-wear div span,body.dark .bt-sh small,body.dark .bt-card>b small,body.dark .bt-bld small,body.dark .bt-siege button small,body.dark .bt-bct small,body.dark .bt-bct span,body.dark .bt-gain small,body.dark .bt-def small,body.dark .bt-sn small,body.dark .bt-total small,body.dark .bt-total span,body.dark .bt-facts,body.dark .bt-days button small,body.dark .bt-time i,body.dark .bt-sg summary span,body.dark .bt-am small,body.dark .bt-zones small,body.dark .bt-legend,body.dark .bt-locs .bt-ltx small,body.dark .bt-inv-side small,body.dark .bt-inv-hint,body.dark .bt-inv-link,body.dark .bt-grey{color:#b6b0d8}
body.dark .bt-card,body.dark .bt-shopc,body.dark .bt-bc,body.dark .bt-bstrip.empty,body.dark .bt-spop,body.dark .bt-inv{background:linear-gradient(160deg,rgba(33,29,72,.95),rgba(22,38,40,.93));color:#f0eefb;box-shadow:0 0 0 1px rgba(134,239,172,.16),0 14px 28px -20px rgba(0,0,0,.85)}
body.dark .bt-shopc.season{box-shadow:0 0 0 3px #F2A33A,0 14px 28px -20px rgba(0,0,0,.85)}
body.dark .bt-res{background:linear-gradient(160deg,rgba(33,29,72,.95),rgba(22,38,40,.93))}
body.dark .bt-res.win{box-shadow:0 0 0 3px #F2C94C}
body.dark .bt-lbl,body.dark .bt-chips span,body.dark .bt-legend span,body.dark .bt-bstrip.empty b,body.dark .bt-tips b,body.dark .bt-team b,body.dark .bt-dots,body.dark .bt-price b,body.dark .bt-mark{color:#f0eefb}
body.dark .bt-spop h3,body.dark .bt-more summary,body.dark .bt-gain b,body.dark .bt-sent{color:#86efac}
body.dark .bt-p,body.dark .bt-gs p,body.dark .bt-tips,body.dark .bt-note{color:#d6d2ee}
body.dark .bt-green,body.dark .bt-ok,body.dark .bt-bc.win .bt-bct span,body.dark .bt-ev-fl{color:#4ade80}
body.dark .bt-red,body.dark .bt-bc.live .bt-bct span,body.dark .bt-ev-sg,body.dark .bt-siegebar b{color:#fca5a5}
body.dark .bt-btn.bt-red{color:#fff}
/* внутренние плашки */
body.dark .bt-note,body.dark .bt-two div,body.dark .bt-gain div,body.dark .bt-gs,body.dark .bt-chips span,body.dark .bt-shopc .bt-chips span,body.dark .bt-def span,body.dark .bt-slot,body.dark .bt-inv-side,body.dark .bt-team span,body.dark .bt-siegebar span{background:rgba(255,255,255,.07);color:#e9e6fb}
body.dark .bt-chips span.bt-pink{background:rgba(217,65,43,.18)}
body.dark .bt-slot.empty{background:none;border-color:rgba(167,139,250,.35);color:#8f89b5}
body.dark .bt-inv-side.me,body.dark .bt-team span.ok,body.dark .bt-siegebar span.done,body.dark .bt-cst span.ok{background:rgba(74,222,128,.16);color:#86efac;box-shadow:inset 0 0 0 2px rgba(74,222,128,.45)}
body.dark .bt-gs.win,body.dark .bt-season,body.dark .bt-prz span,body.dark .bt-ctip,body.dark .bt-inv-chips span{background:linear-gradient(90deg,#3a2f14,#2a2347);color:#fde68a;box-shadow:inset 0 0 0 1.5px #7a5f22}
body.dark .bt-stx small,body.dark .bt-sgo{color:#f3d58a}
body.dark .bt-att{background:rgba(217,65,43,.1);box-shadow:inset 0 0 0 1.5px rgba(217,65,43,.4)}
body.dark .bt-att-h{color:#fca5a5}
body.dark .bt-kwarn,body.dark .bt-test{background:rgba(217,65,43,.18);color:#fca5a5}
body.dark .bt-bc.live{background:linear-gradient(160deg,rgba(80,24,30,.9),rgba(33,29,72,.95))}
body.dark .bt-petcard{background:rgba(139,92,246,.16);box-shadow:inset 0 0 0 1.5px rgba(167,139,250,.4)}
body.dark .bt-petcard.on{background:rgba(139,92,246,.28);box-shadow:inset 0 0 0 2px #a78bfa}
body.dark .bt-petcard small{color:#d8ccff}
/* кнопки-переключатели */
body.dark .bt-btn.bt-ghost,body.dark .bt-petcard .bt-btn.bt-ghost{background:rgba(134,239,172,.1);color:#bbf7d0;box-shadow:inset 0 0 0 1.5px rgba(134,239,172,.35)}
body.dark .bt-subnav button,body.dark .bt-slots button,body.dark .bt-siege button,body.dark .bt-siege2 button,body.dark .bt-days button,body.dark .bt-am,body.dark .bt-zones button,body.dark .bt-cover button,body.dark .bt-qty>button:not(.bt-btn),body.dark .bt-locs button,body.dark .bt-time,body.dark .bt-cst span{background:rgba(33,29,72,.9);border-color:rgba(167,139,250,.3);color:#e9e6fb}
body.dark .bt-time select{color:#f0eefb}body.dark .bt-time select option{background:#1f1c44;color:#f0eefb}
body.dark .bt-subnav button.on{background:linear-gradient(135deg,#22c55e,#15803d);border-color:transparent;color:#fff}
body.dark .bt-subnav .bt-howto{background:linear-gradient(135deg,#3a2f14,#4a3a17);border-color:#7a5f22;color:#fde68a}
body.dark .bt-slots button.on,body.dark .bt-siege button.on,body.dark .bt-siege2 button.on,body.dark .bt-am.on,body.dark .bt-zones button.on{background:rgba(217,65,43,.22);border-color:#ef4444}
body.dark .bt-days button.on{background:#D9412B;border-color:#D9412B;color:#fff}
body.dark .bt-cover button.on{background:rgba(59,111,182,.3);border-color:#60a5fa}
body.dark .bt-locs button.on{background:rgba(74,222,128,.16);border-color:#4ade80}
body.dark .bt-go2:disabled{background:rgba(255,255,255,.1);color:#8f89b5}
/* разделители, шкалы */
body.dark .bt-brow,body.dark .bt-wear,body.dark .bt-bld,body.dark .bt-srow,body.dark .bt-tips,body.dark .bt-log div,body.dark .bt-total,body.dark .bt-va{border-color:rgba(167,139,250,.22)}
body.dark .bt-bar,body.dark .bt-inv-bar,body.dark .bt-tm i{background:rgba(255,255,255,.12)}
body.dark .bt-dots i,body.dark .bt-tut-dots i{color:rgba(255,255,255,.2)}body.dark .bt-tut-dots i{background:rgba(255,255,255,.2)}body.dark .bt-tut-dots i.on{background:#4ade80}
/* карта Долины: подписи остаются светлыми табличками — на картинке они читаются лучше */
body.dark .bt-map{box-shadow:inset 0 0 0 2px rgba(134,239,172,.25)}
body.dark .bt-oico{background:rgba(74,222,128,.15)}
/* попапы */
body.dark .bt-sov{background:rgba(5,8,20,.6)}
body.dark .bt-x,body.dark .bt-inv-x{background:rgba(255,255,255,.12);color:#e9e6fb}
body.dark .bt-tutpic{background:#1f1c44;box-shadow:0 0 0 3px #1f1c44,0 0 0 5.5px rgba(134,239,172,.35)}
body.dark .bt-respic{box-shadow:0 0 0 4px #1f1c44,0 0 0 7px var(--rc)}
body.dark .bt-inv.att h3{color:#fbbf24}body.dark .bt-inv.def h3{color:#fca5a5}
/* бой во весь экран */
body.dark #bt-ov{background:radial-gradient(circle at 15% 10%,rgba(74,222,128,.1),transparent 45%),linear-gradient(160deg,#0b1120,#151233 60%,#1d1440);color:#f0eefb}
body.dark .bt-head{background:#14233a}
body.dark .bt-va b i{color:#fbbf24}
/* 🎃 6.10: снаряды из Лавки Хэллоуина */
.bt-hwammo{background:linear-gradient(160deg,#fff1e0,#fed7aa);box-shadow:inset 0 0 0 1.5px #f97316}.bt-hwammo .bt-va-h{color:#7c2d12}
body.dark .bt-hwammo{background:linear-gradient(160deg,#3b1f0f,#4a2a12)}

/* 👑 10.10: VIP на поле боя — корона над аватаркой и золотое кольцо */
.bt-crown{position:absolute;left:-6%;top:-26%;z-index:3;font-style:normal;font-size:max(15px,.62em);line-height:1;transform:rotate(-22deg);filter:drop-shadow(0 2px 2px rgba(0,0,0,.45));pointer-events:none}
.bt-f.vip .bt-fa,.bt-f.wide.vip .bt-fa{box-shadow:0 0 0 3px #FFD23C,0 0 14px 3px rgba(255,210,60,.65),0 6px 10px -6px rgba(0,0,0,.5)}
.bt-f.vip.tg .bt-fa{box-shadow:0 0 0 3px #FFD23C,0 0 0 7px #D9412B}
