/* ekwipunek-sklep (22.10.2026): skrzynia z Misji → Ekwipunek, wyszukiwarka Sklepu, zakładka Kuźnia, licznik i opis Odłamków, „Co może wypaść” w Sklepie, kolejna skrzynia w oknie otwierania */
/* (1) plakietka „Ekwipunek”, gdy menu jest przewinięte poza ekran */
#ekwDock{position:fixed;right:22px;top:22px;z-index:9400;display:none;align-items:center;gap:10px;padding:10px 18px 10px 14px;border-radius:999px;background:linear-gradient(#1d2a72,#121a4d);border:2px solid #f5c542;box-shadow:0 0 24px #f5c54266,0 8px 22px #000a;color:#fff;font:800 17px Baloo,system-ui;pointer-events:none}
#ekwDock.on{display:flex;animation:ekwDockIn .35s cubic-bezier(.3,1.6,.5,1)}
#ekwDock.out{opacity:0;transform:translateY(-12px);transition:.35s}
#ekwDock svg{width:28px;height:28px;color:#ffe08a;fill:currentColor}
#ekwDock .ekwDn{font-style:normal;min-width:26px;height:26px;padding:0 7px;border-radius:13px;background:#ff3f7a;color:#fff;font:800 14px/26px Barlow,system-ui;text-align:center;box-shadow:0 0 10px #ff3f7a}
#ekwDock .ekwDn:empty{display:none}
@keyframes ekwDockIn{from{opacity:0;transform:translateY(-16px) scale(.85)}to{opacity:1;transform:none}}
.ekwPlus{position:fixed;z-index:9450;transform:translate(-50%,-100%);font:900 22px Baloo,system-ui;color:#ffe08a;text-shadow:0 0 10px #f5c542,0 2px 0 #7a4f05;pointer-events:none;animation:ekwPlus 1.4s ease-out forwards;font-style:normal}
@keyframes ekwPlus{0%{opacity:0;margin-top:6px}15%{opacity:1}100%{opacity:0;margin-top:-34px}}
#toast div.ekwToast{pointer-events:auto;display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:10px 12px 10px 10px;border:2px solid #f5c542;background:linear-gradient(#1c2d74,#14255e);box-shadow:0 0 22px #f5c54255,0 8px 22px #000a;white-space:normal!important;overflow:visible!important;text-overflow:unset!important;text-align:left;max-width:min(440px,calc(100vw - 24px));width:min(440px,calc(100vw - 24px));box-sizing:border-box;animation:ekwToastIn .35s cubic-bezier(.3,1.5,.5,1)}
#toast div.ekwToast img{width:52px;height:52px;object-fit:contain;flex:none;filter:drop-shadow(0 0 8px #f5c54288)}
#toast div.ekwToast span{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
#toast div.ekwToast b{color:#ffe08a;font:800 17px/1.25 Baloo,system-ui;white-space:normal!important;overflow:visible!important;text-overflow:unset!important;word-break:break-word}
#toast div.ekwToast small{color:#cfd6ff;font:500 13px/1.25 system-ui;white-space:normal!important;overflow:visible!important;text-overflow:unset!important;word-break:break-word}
#toast div.ekwToast .btn{flex:none;min-height:40px;padding:0 16px;font-size:15px}
@keyframes ekwToastIn{from{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#ekwDock.on,.ekwPlus,#toast div.ekwToast{animation:none}}

/* (2) wyszukiwarka w Sklepie – jak „Szukaj bohatera…” */
.shopQ{position:relative;display:flex;align-items:center;gap:10px;max-width:560px;margin:0 auto 14px}
.shopQ svg{position:absolute;left:14px;top:50%;width:20px;height:20px;margin-top:-10px;color:#8f9be0;pointer-events:none}
.shopQ input{flex:1;min-width:0;background:#081030;border:1px solid #3a4aa0;border-radius:10px;padding:11px 14px 11px 44px;color:#fff;font:500 16px system-ui;min-height:46px;box-sizing:border-box}
.shopQ input:focus{outline:none;border-color:#7ef9ff;box-shadow:0 0 0 3px #7ef9ff33}
.shopQ input::placeholder{color:#8f9be0}
.shopQ small{flex:none;color:#cfd6ff;font:700 13px system-ui;min-width:0}
.shopQ small:empty{display:none}
.sqHide{display:none!important}
[data-page=sklep] section.card.sqEmpty{display:none!important}
.sqNo{text-align:center;padding:22px}
.sqNo p{margin:0 0 10px;font:700 17px system-ui;color:#cfd6ff}
@media (max-width:600px){.shopQ{margin:0 0 12px}.shopQ input{font-size:16px}}

/* (4) Ekwipunek: licznik Odłamków przy tytule i zakładka Kuźnia */
[data-page=skrzynki]{position:relative}
.ekwShards{position:absolute;right:0;top:4px;display:flex;align-items:center;gap:7px;padding:6px 12px 6px 9px;border-radius:999px;background:#0b1440;border:1px solid #6ff3ff88;box-shadow:0 0 14px #6ff3ff33;color:#fff;cursor:help;-webkit-tap-highlight-color:transparent}
.ekwShards svg{width:24px;height:24px;flex:none}
.ekwShards b{font:800 18px Baloo,system-ui;color:#bff8ff;min-width:2ch;text-align:right}
.ekwShards small{font:700 13px system-ui;color:#cfd6ff}
.ekwShards .ekwInfo{font-style:normal;width:20px;height:20px;border-radius:50%;background:#ffffff1f;color:#bff8ff;font:800 12px/20px system-ui;text-align:center}
.ekwShards .chTip,.ekwMay>.chTip,#forge .fgSh .chTip{display:none}
.stabs button.ekwKzT{border-color:#f5c54288;color:#ffe08a;box-shadow:0 0 12px #f5c54233}
.stabs button.ekwKzT.on{color:#2a1600}
.ekwKzI{margin-right:5px}
#forge .fgSh{cursor:help}
#tip .ekwShTip dd{line-height:1.4}
@media (max-width:600px){.ekwShards{top:2px;padding:5px 10px 5px 8px}.ekwShards b{font-size:17px}}

/* (3) okno otwierania: kolejna skrzynia bez wracania do Ekwipunku */
#chestOv .cxNext{white-space:normal;line-height:1.15}
#chestOv .cxNext small{display:block;font-size:12px;opacity:.85;font-weight:700}
#chestOv .cxLeft{display:block;margin-top:4px;color:#cfd6ff;font:700 14px system-ui}
#chestOv .cxLeft:empty{display:none}
#chestOv .cxBar.chain{left:12px;right:12px;justify-content:center;flex-wrap:wrap}
@media (max-width:600px){#chestOv .cxBar.chain .btn{padding:11px 16px;font-size:17px}#chestOv .cxBar.chain .cxNext{flex:1 1 auto;max-width:250px}}

/* telefon: duże dymki (Odłamki, „Co może wypaść”) wyśrodkowane, z marginesem 12px i nad bocznymi przyciskami (czat, dźwięk) */
@media (max-width:600px){#tip.rich,#tip.rich:has(.ctip){max-width:calc(100vw - 24px)}#tip.rich.on{z-index:2147483001}}

