/* ===== v11: dialog wydatku – „Zużyjesz:” w jednym rzędzie z „+”, polskie liczebniki, brak środków, szybki zakup ===== */
.acConf2 .cfLbl{text-align:center!important;margin:14px 22px 8px!important}
.acConf2 .cfCosts{flex-wrap:nowrap!important;gap:8px!important;margin:0 16px!important}
.acConf2 .cfCost{flex:0 1 auto;min-width:0;gap:8px!important;padding:8px 14px!important;position:relative}
.acConf2 .cfCost svg{width:28px!important;height:28px!important;flex:none}
.acConf2 .cfCost span{font:800 16px/1.15 system-ui!important;color:#fff;white-space:nowrap}
.acConf2 .cfCost small{position:absolute;left:50%;top:100%;transform:translate(-50%,5px);white-space:nowrap;font:800 11.5px system-ui;color:#ff8aa3}
.acConf2 .cfCost.lack{background:linear-gradient(180deg,#3a0b18,#240611)!important;border-color:#ff5a7a!important;box-shadow:0 0 16px #ff5a7a44!important}
.acConf2 .cfCost.lack span{color:#ffd0da}
.acConf2 .cfCosts:has(.lack){margin-bottom:20px!important}
.acConf2 .cfPlus{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f5c54222;border:1.5px solid #f5c54288;font:900 20px/1 system-ui!important;color:#ffe08a}
.acConf2 .cfBal{grid-template-columns:24px minmax(0,1fr) auto auto auto!important}.acConf2 .cfBal b{font-size:15px!important;white-space:nowrap}
.acConf2 .cfFixes{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 20px 0}.acConf2 .cfFix{min-width:220px}
.qbBox .acCb{width:min(440px,94vw)}.qbBox h3{text-transform:none}
.qbL{display:grid;gap:8px;margin:12px 18px}.qbI{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;text-align:left;padding:10px 14px;border-radius:12px;border:1.5px solid #3b3f9a;background:#0e0b34;color:#fff;cursor:pointer}
.qbI:hover,.qbI:focus-visible{border-color:#f5c542;background:#1a1440}.qbI.ok{border-color:#7dffb066}.qbI b{font:800 16px system-ui}.qbI span{display:flex;align-items:center;gap:5px;font:700 13px system-ui;color:#ffe08a}.qbI span svg{width:18px;height:18px}.qbI em{grid-column:1/-1;font:600 12px system-ui;color:#9aa3d8;font-style:normal}
.qbHi{outline:3px solid #f5c542!important;outline-offset:3px;box-shadow:0 0 30px #f5c54288!important;transition:outline-color .3s}
.qbIc{width:80px;height:80px}
/* ===== v11: strony na całą dostępną szerokość; na bardzo szerokich ekranach rozsądny limit i wyśrodkowanie ===== */
.pages>.page{max-width:1640px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.misBox{max-width:none!important;width:100%}
/* Misje: 7 kafelków serii równo na całą szerokość, czytelniejsze teksty */
.misBox .mcal{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:clamp(6px,.8vw,12px)!important}
.misBox .mday{min-width:0;padding:8px 6px 10px!important}
.misBox .mday>small{font:800 12.5px system-ui!important;letter-spacing:.04em}
.misBox .mday .rwBox .rwMain.ch img{height:clamp(52px,4.6vw,72px)!important}
.misBox .rwLb{font:800 12px/1.2 system-ui!important}
.misBox .rwSm{font:800 12.5px system-ui!important;padding:3px 8px!important}.misBox .rwSm svg{width:16px!important;height:16px!important}
.misBox .rwRest{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.misBox .mgrid{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr))!important;gap:12px!important}
.misBox .mcard{grid-template-columns:58px minmax(0,1fr) 110px!important}
.misBox .mcard b,.misBox .mcard h4{font-size:14px}
@media (max-width:820px){.misBox .mcal{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:480px){.misBox .mcal{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Sklep: wszystkie 5 skrzyń w jednym rzędzie na szerokich ekranach (bez pustego pola obok ostatniej) */
@media (min-width:1200px){#cshop.cshop{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (min-width:760px) and (max-width:1199px){#cshop.cshop{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}}
.qbI{width:100%;box-sizing:border-box}.qbI.poor{border-color:#ff6b8b55}.qbI .qbPoor{font-style:normal;color:#ff8da6}
/* Misje: szkielet wczytywania + błąd z ponowieniem */
.mSkel{display:grid;gap:16px}.mSkel i,.mSkH{display:block;border-radius:16px;background:linear-gradient(90deg,#1a1545 0%,#2a2366 50%,#1a1545 100%);background-size:200% 100%;animation:mSk 1.2s linear infinite}
.mSkH{height:150px}.mSkR{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.mSkR i{height:150px}.mSkG{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:14px}.mSkG i{height:110px}
@keyframes mSk{to{background-position:-200% 0}}.mErr{padding:40px;text-align:center;border:1px solid #ff6b8b66;border-radius:16px;background:#1a0f30}.mErr p{font-size:18px;margin:0 0 14px}
/* Wspólne okna gry (dialog.js) – zamiast natywnych confirm/alert/prompt */
.acDlg{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:16px;background:rgba(6,4,20,.72);backdrop-filter:blur(4px);opacity:0;transition:opacity .15s}
.acDlg.in{opacity:1}.acDlg .dlgB{width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;box-sizing:border-box;padding:22px 24px 20px;border-radius:20px;border:2px solid #f5c542;background:radial-gradient(120% 80% at 50% 0%,#2a1f63 0%,#140f38 60%,#0d0a28 100%);box-shadow:0 0 0 1px #00000080,0 24px 70px #000a,0 0 40px #f5c54233;color:#fff;transform:translateY(10px) scale(.97);transition:transform .16s;outline:none}
.acDlg.in .dlgB{transform:none}.acDlg.danger .dlgB,.acDlg.hold .dlgB{border-color:#ff6b8b;box-shadow:0 24px 70px #000a,0 0 40px #ff3b6b33}
.dlgH{display:flex;align-items:center;gap:12px;margin-bottom:10px}.dlgIc{font-style:normal;font-size:28px;line-height:1;width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#ffffff12;flex:none}
.dlgH h3{margin:0;font-size:21px;font-weight:800;line-height:1.25;letter-spacing:.2px;text-transform:none;color:#ffe08a}.acDlg.danger .dlgH h3,.acDlg.hold .dlgH h3{color:#ffb3c2}
.dlgM{margin:0 0 16px;font-size:16px;line-height:1.5;color:#d9ddff}.dlgM:empty{display:none}
.dlgCopy{display:flex;gap:8px;align-items:center;margin:0 0 16px;padding:10px 12px;border-radius:12px;background:#0a0726;border:1px solid #3b3f9a}.dlgCopy code{flex:1;min-width:0;overflow-wrap:anywhere;font:700 15px ui-monospace,monospace;color:#7dffb0}
.dlgF{display:block;margin:0 0 16px}.dlgIn{width:100%;box-sizing:border-box;height:46px;padding:0 14px;border-radius:12px;border:1.5px solid #4b4fb0;background:#0a0726;color:#fff;font:600 16px system-ui;outline:none}
.dlgIn:focus{border-color:#f5c542;box-shadow:0 0 0 3px #f5c54233}.dlgIn.bad{border-color:#ff6b8b;box-shadow:0 0 0 3px #ff6b8b33}.dlgErr{display:block;min-height:18px;margin-top:6px;font-size:13px;font-weight:700;color:#ff8da6}
.dlgBtns{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.dlgBtns .btn{min-height:44px;min-width:120px;font-size:15px;flex:1 1 140px}
.dlgBtns .btn.red{background:linear-gradient(180deg,#ff5a7a,#d62a52);color:#fff;border:0;box-shadow:0 6px 18px #d62a5255}.dlgBtns .btn.red:focus-visible,.dlgBtns .btn.gold:focus-visible,.dlgBtns .btn.ghost:focus-visible{outline:3px solid #fff;outline-offset:2px}
.dlgBtns .btn:disabled{opacity:.5;cursor:not-allowed}.dlgBtns .holdB{position:relative;overflow:hidden;touch-action:none;user-select:none}.dlgBtns .holdB i{position:absolute;inset:0 auto 0 0;width:0;background:#ffffff55}.dlgBtns .holdB span{position:relative}
@media (max-width:480px){.acDlg{align-items:end;padding:0}.acDlg .dlgB{border-radius:20px 20px 0 0;border-bottom:0;width:100%}.dlgBtns{flex-direction:column-reverse}.dlgBtns .btn{width:100%}}
/* Wybór bohatera v2 (wspólny): „← Zmień bohatera” jako wyraźny przycisk obok „GOTOWE · ZABLOKUJ”; większa podpowiedź kroku i nazwy skórek */
.cs2 .c2Act{display:flex;gap:12px;justify-content:center;align-items:stretch;flex:none;flex-wrap:wrap;max-width:100%}
.cs2 .c2Act .csLock{align-self:stretch}
.cs2 .c2Chg{min-height:46px;min-width:200px;padding:0 22px;border-radius:14px;border:2px solid #9ad1ff;background:#0e1240cc;color:#e6f3ff;font:800 15.5px Baloo,system-ui;letter-spacing:.04em;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.cs2 .c2Chg:hover,.cs2 .c2Chg:focus-visible{background:#1b2470;border-color:#fff;color:#fff}.cs2 .c2Chg[hidden]{display:none}
.cs2 .csLock{min-height:46px}
.c2Hint{font-size:15px!important;font-weight:700!important;line-height:1.4;color:#dfe3ff!important}
.cs2 .csS span{font-size:13px!important;line-height:1.2!important;padding:5px 6px!important}
.cs2 .csTitle{font-size:13px!important}.cs2 .csSkinN{font-size:15px!important}
#tip{font-size:14px!important;line-height:1.45!important;padding:8px 12px!important;max-width:min(360px,92vw)}
@media (max-width:1100px){.cs2 .c2Chg{min-width:170px;font-size:14.5px}}
/* „Wszędzie to powiększ” – drobne napisy i akcje do czytelnego rozmiaru (min. ~12 px opisy, 13–14 px akcje) */
.btn.sm{font-size:13.5px!important;min-height:34px}.chip,button.chip{font-size:13.5px!important;min-height:32px}
label.chk{font-size:14px!important}label.chk small.mut,label.chk small{font-size:12.5px!important}
.reglink{font-size:13.5px!important}.hcInv{font-size:13px!important}
.hxCard .hxRole{font-size:12px!important}.hxCard .hxSk,.hxCard .hxSel{font-size:12px!important}.hxName small{font-size:12.5px!important;line-height:1.25}.hxCard .hxSk{top:42px;left:8px;right:auto!important;bottom:auto!important}
.page h3 small,.page h4 small,.page h3 small.mut,.page h3 small b{font-size:12.5px!important}
.page li small,.page small.lg,.mine small.lg{font-size:12px!important}
.hcc b{font-size:12.5px!important}.evrow small,.page small.mut{font-size:max(12px,.95em)}
.shC small{font-size:13px!important}.gmSub{font-size:12px!important}
#tip{font-size:14px!important}
/* przyciski „wstecz” / „pokaż więcej” – wyraźne */
.pgBack,.navBack,.backB,.moreB,.showMore{font-size:14px!important;min-height:36px}
.pgBack{font-size:14px!important;padding:8px 16px!important;min-height:38px}.pgBack b,.pgBack span{font-size:inherit!important}

/* skrzynie-fix: stara klasa kafelka skrzyni .ch (tło #140f42, ramka, overflow) nie może rysować kwadratu pod skrzynią w Misjach ani w oknie „Otrzymujesz” */
.rwMain.ch,.mGotI.ch{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;border-radius:0!important;cursor:inherit}.rwMain.ch img,.mGotI.ch img{width:auto!important;max-width:none!important}
/* misje-odbierz (23.10): kolumna nagrody – ikona, kwota i etykieta zawsze widoczne, „Odbierz” pod nimi w slocie o stałej wysokości (w toku / do odebrania / odebrano – ta sama wysokość); karty równej wysokości */
.misBox .mgrid{grid-auto-rows:1fr}.misBox .mcard{height:100%;box-sizing:border-box}
.misBox .mChest{align-self:stretch;justify-content:center;gap:6px}.misBox .mChest .rwBox{flex:none}
.misBox .mClaim{flex:none;height:30px;display:flex;align-items:center;justify-content:center;width:100%}.misBox .mClaim:empty{visibility:hidden}
.misBox .mClaim .btn{margin:0;height:30px;min-height:0;padding:0 14px;line-height:30px;white-space:nowrap;max-width:100%}
