/* MaturaTest PRO 2 - układ z projektu (etap 1) */
.mt-pro2 .hud .brand,.mt-pro2 #mainScroll>.sbar,.mt-pro2 #mainScroll>.tools-row,.mt-pro2 #mainScroll>.fcard{display:none!important}
.mt-pro2 .hud{gap:4px}
.mt-pro2 .p2-sw{display:flex;align-items:center;gap:7px;height:44px;padding:0 10px 0 6px;margin-right:auto;border:2px solid #e3e8f2;border-bottom-width:4px;border-radius:14px;background:#fff;font:800 15px Figtree,Inter,sans-serif;color:#1f2430;cursor:pointer;max-width:48%}
.mt-pro2 .p2-sw span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-pro2 .p2-sw svg{flex:none;color:#6f7889}
@media (max-width:430px){.mt-pro2 .stat.days{display:none}.mt-pro2 .stat{padding:6px 3px}}
/* nagłówek działu jak w projekcie */
.mt-pro2 .unit-head{position:relative;padding:16px 14px;border-radius:20px;box-shadow:0 5px 0 rgba(0,0,0,.22)!important;flex-wrap:wrap}
.mt-pro2 .unit-head .t{font-size:11.5px;letter-spacing:.08em;opacity:.9}
.mt-pro2 .unit-head .n{font-size:19px;font-weight:900}
.mt-pro2 .p2-pill{margin-left:auto;align-self:center;padding:9px 12px;border-radius:12px;border:2px solid rgba(255,255,255,.55);font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
@media (max-width:430px){.mt-pro2 .p2-pill{padding:7px 9px;font-size:11px}}
/* ścieżka */
.mt-pro2 .path{position:relative}
.mt-pro2 .p2-deco{position:absolute;width:60px;height:60px;opacity:.9;pointer-events:none}
.mt-pro2 .p2-deco.l{left:6%;top:38%}
.mt-pro2 .p2-deco.r{right:6%;top:12%}
html.mt-pro2 .path .node.done{background:var(--uc,#2d55c7)!important;border:0!important;box-shadow:0 6px 0 color-mix(in srgb,var(--uc,#2d55c7) 65%,#000)!important;color:#fff!important}
html.mt-pro2 .path .node.done::before{display:none}
html.mt-pro2 .path .node.done svg{display:block!important;width:34px;height:34px;color:#fff}
html.mt-pro2 .path .node:has(.ring){background:#ffd84d!important;box-shadow:0 7px 0 #d9a900!important}
.mt-pro2 .ring{border-color:#e3e8f2;border-top-color:#ffc800;border-right-color:#ffc800}
/* menu: 5 zakładek, awatar w Profilu */
.mt-pro2 .tabs{grid-template-columns:repeat(5,1fr)}
.mt-pro2 .p2-mtab::before{background-image:url(/pro/misje.png)}
.mt-pro2 .tab[data-tab=profile]::before{background-image:var(--p2av,url(/pro/biret.png));border-radius:10px}
.mt-pro2 #tabSheets{font-size:0}.mt-pro2 #tabSheets::after{content:"Arkusze";font-size:11px}
@media (min-width:1024px){.mt-pro2 #tabSheets{font-size:16px}.mt-pro2 #tabSheets::after{content:none}}
/* przypięta misja dnia */
.mt-pro2 .p2-mis{display:flex;align-items:center;gap:10px;position:absolute;left:12px;right:12px;bottom:calc(var(--safe-b,0px) + 84px);z-index:6;padding:10px 12px;border-radius:18px;background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px;font:inherit;text-align:left;cursor:pointer;box-shadow:0 6px 18px rgba(27,61,156,.12)}
.mt-pro2 .p2-mt{flex:1;min-width:0}
.mt-pro2 .p2-mr{display:flex;justify-content:space-between;gap:8px;font-size:14px}.mt-pro2 .p2-mr b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-pro2 .p2-mr span{color:#8a93a6;font-weight:800}
.mt-pro2 .p2-mb{display:block;height:12px;margin-top:6px;border-radius:99px;background:#e3e8f2;overflow:hidden}.mt-pro2 .p2-mb i{display:block;height:100%;border-radius:99px;background:#ffd84d;box-shadow:inset 0 -3px 0 #e5b800}
.mt-pro2 #mainScroll{padding-bottom:96px}
@media (min-width:1024px){.mt-pro2 .p2-mis{display:none!important}.mt-pro2 #mainScroll{padding-bottom:0}}
/* arkusz */
.p2-ov{position:fixed;inset:0;z-index:9000;background:rgba(16,35,92,.35);display:flex;align-items:flex-end;justify-content:center}
.p2-sheet{width:100%;max-width:520px;max-height:85vh;overflow:auto;background:#f6f8fc;border-radius:22px 22px 0 0;padding:14px 14px calc(env(safe-area-inset-bottom,0px) + 18px);font-family:Figtree,Inter,sans-serif;animation:p2up .25s ease-out}
@media (min-width:1024px){.p2-ov{align-items:center}.p2-sheet{border-radius:22px}}
@keyframes p2up{from{transform:translateY(40px);opacity:0}}
.p2-sh-top{display:flex;justify-content:space-between;align-items:center;margin:2px 4px 12px;font-size:20px;font-weight:900;color:#1b3d9c}
.p2-x{border:0;background:none;font-size:28px;line-height:1;color:#6f7889;cursor:pointer}
.p2-subjs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.p2-subj{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px;background:#fff;border:2px solid #e3e8f2;border-bottom-width:4px;font:800 14px Figtree,Inter,sans-serif;color:#1f2430;text-align:left;cursor:pointer}
.p2-subj.on{border-color:#9fb6f2;background:#edf2fe;color:#1b3d9c}
.p2-sheet .tools-row,.p2-sheet .fcard,.p2-sheet .qcard,.p2-sheet .soc{display:block;margin:0 0 12px}
.p2-sheet .tools-row{display:flex;flex-wrap:wrap;gap:8px}
.p2-emo{width:1.25em;height:1.25em;vertical-align:-.25em;display:inline-block;margin:0 .05em}
.mt-pro2 #bsheet span[style*="64px"]>svg{display:none}
.mt-pro2 #bsheet span[style*="64px"]{background:url(/pro/seria.png) center/contain no-repeat}
.mt-pro2 #bsheet span[style*="b7bfcc"]{filter:grayscale(1);opacity:.55}
.mt-pro2 #bsheet .cal .d.on{background:#ff8a1f;box-shadow:inset 0 -4px 0 #d9650b;color:#fff}
.mt-pro2 #bsheet .mini{border-bottom-width:5px}

/* bazgroły z brudnopisu przy ścieżce (jak na stronie głównej) */
.mt-pro2 .p2-dd{position:absolute;width:120px;height:120px;pointer-events:none;z-index:0}
.mt-pro2 .p2-dd svg{width:100%;height:100%;overflow:visible;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.38}
.mt-pro2 .p2-dd path{stroke-dasharray:none!important;stroke-dashoffset:0!important}
.mt-pro2 .p2-dd .dd2{stroke-width:1.2;opacity:.7}
.mt-pro2 .p2-dd .dd-pen{stroke:#2d55c7;color:#2d55c7}
.mt-pro2 .p2-dd .dd-red{stroke:#e5372f;color:#e5372f}
.mt-pro2 .p2-dd .dd-pencil{stroke:#5d6678;color:#5d6678;stroke-width:1.4}
.mt-pro2 .p2-dd .ddt text{font-family:"Caveat Brush",var(--hand,cursive);font-weight:700;fill:currentColor;stroke:none}
.mt-pro2 .p2-dd .ddt path{stroke-width:2.6}
.mt-pro2 .p2-dd .ddt{width:auto;height:auto;max-width:160px}
.mt-pro2 .path .node-wrap{position:relative;z-index:1}
@media (max-width:430px){.mt-pro2 .p2-dd{width:84px;height:84px}.mt-pro2 .p2-dd.l{left:0!important}.mt-pro2 .p2-dd.r{right:0!important}}
/* skrzynie: bez ramki */
html.mt-pro2 .chest-node{border:0!important;outline:0!important;background:none!important;box-shadow:none!important}
html.mt-pro2 .chest-node.opened::before{opacity:1;filter:none}
html.mt-pro2 .chest-node>*:not(.chest-svg){transform:scale(.9)}
/* panel Misje jak w projekcie */
.p2-misje .p2-mh,.p2-sheet .p2-mh{display:flex;justify-content:space-between;align-items:baseline;margin:6px 4px 8px}
.p2-mh h3{margin:0;font-size:19px;font-weight:900;color:#1f2430}
.p2-mh span{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:800;color:#8a6400}
.p2-card{background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px;border-radius:18px;overflow:hidden;margin-bottom:14px}
.p2-qr{display:flex;align-items:center;gap:12px;padding:14px}
.p2-qr+.p2-qr{border-top:1px solid #eef1f7}
.p2-qm{flex:1;min-width:0}
.p2-qt{display:flex;justify-content:space-between;gap:8px;font-size:15px}.p2-qt b{font-weight:900}.p2-qt span{color:#8a93a6;font-weight:800;font-size:13px}
.p2-qb{height:14px;margin-top:7px;border-radius:99px;background:#e3e8f2;overflow:hidden}.p2-qb i{display:block;height:100%;border-radius:99px;background:#ffd84d;box-shadow:inset 0 -4px 0 #e5b800}
.p2-qb.ok i{background:#2f9e44;box-shadow:inset 0 -4px 0 #1f7a33}
.p2-qk{flex:none;width:42px;height:42px;border-radius:12px;background:#fff4cc;display:grid;place-items:center}
.p2-qk.ok{background:#2f9e44;color:#fff;font-weight:900;font-size:20px}
.p2-empty{padding:14px;margin:0;color:#6f7889;font-weight:700}
.p2-sheet .soc.p2-card{padding:6px 14px}
/* test unitu: okrągły, większy, z pucharem */
html.mt-pro2 .path .node.test{width:84px!important;height:80px!important;border-radius:50%!important}
html.mt-pro2 .path .node.test.done svg{display:none!important}
html.mt-pro2 .path .node.test.done::before{display:block!important;content:"";width:50px;height:50px;background:url(/pro/puchar.png) center/contain no-repeat}
html.mt-pro2 .path .node.test.done::after{content:"";position:absolute;right:-2px;bottom:-2px;width:26px;height:26px;border-radius:50%;background:#2f9e44 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%273.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 12.5l4 4L18 8%27/%3E%3C/svg%3E") center/16px no-repeat;border:3px solid #fff}
.mt-pro2 .p2-dd svg{opacity:.5}
/* LIGA */
.mt-pro2 #mainScroll .page-head h2.hand{font-family:Figtree,Inter,sans-serif;font-weight:900;font-size:26px;color:#1b3d9c}
.mt-pro2 .tiers{display:flex;justify-content:center;align-items:center;gap:6px}
.mt-pro2 .tiers .tier img{width:44px;height:44px;opacity:.7}
.mt-pro2 .tiers .tier.on img{width:70px;height:70px;opacity:1}
.mt-pro2 .tiers .tier i{background:none!important;border:0!important;box-shadow:none!important}
.mt-pro2 .p2-lbox{background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px;border-radius:18px;overflow:hidden}
.mt-pro2 .p2-lbox .league-row{margin:0;border:0;border-radius:0;background:#fff;min-height:60px;padding:8px 14px;box-shadow:none}
.mt-pro2 .p2-lbox .league-row+.league-row{border-top:1px solid #eef1f7}
.mt-pro2 .p2-lbox .league-row.me{background:#eef3ff;box-shadow:inset 4px 0 0 #2d55c7}
.mt-pro2 .p2-lbox .league-row .av{border-radius:13px;overflow:hidden}
.mt-pro2 .p2-lbox .pos{font-weight:900;color:#6f7889}
.mt-pro2 .p2-lbox .pos.p2-m1,.mt-pro2 .p2-lbox .pos.p2-m2,.mt-pro2 .p2-lbox .pos.p2-m3{width:28px;height:28px;border-radius:50%;color:#fff!important;display:grid;place-items:center;font-size:14px}
.mt-pro2 .p2-m1{background:#ffc800}.mt-pro2 .p2-m2{background:#b8c1d1}.mt-pro2 .p2-m3{background:#cd7f32}
.mt-pro2 .p2-lbox .xp{font-weight:900;color:#6f7889}
.mt-pro2 .p2-zone{padding:6px 14px;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.mt-pro2 .p2-zone.up{background:#e9f8ec;color:#1f7a33;border-top:2px solid #b4e8bf}
.mt-pro2 .p2-zone.down{background:#fdecea;color:#b3261e}
/* PROFIL */
.mt-pro2 .p2-hero{position:relative;margin:-12px -16px 0;height:240px;display:flex;justify-content:center;align-items:flex-end;overflow:hidden}
.mt-pro2 .p2-hero img{display:block;width:240px;height:240px}
.mt-pro2 .p2-edit{position:absolute;top:14px;right:14px;width:46px;height:46px;border-radius:14px;background:#fff;border:2px solid #e3e8f2;border-bottom-width:4px;display:grid;place-items:center;cursor:pointer}
.mt-pro2 .p2-pinfo h2{margin:14px 0 0;font-size:26px;font-weight:900}
.mt-pro2 .p2-pinfo p{margin:2px 0 0;color:#6f7889;font-weight:700;font-size:14px}
.mt-pro2 .p2-pinfo h3{margin:18px 0 8px;font-size:19px;font-weight:900}
.mt-pro2 .p2-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.mt-pro2 .p2-st{display:flex;align-items:center;gap:8px;padding:12px;border-radius:16px;background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px}
.mt-pro2 .p2-st img{width:40px;height:40px;flex:none}
.mt-pro2 .p2-st b{display:block;font-size:19px;font-weight:900;line-height:1.1}.mt-pro2 .p2-st span{font-size:12px;font-weight:800;color:#6f7889}
.mt-pro2 .p2-st.y{background:#ffc800;border-color:#ffc800;box-shadow:0 4px 0 #d9a900}.mt-pro2 .p2-st.y span{color:#5c4400}
.mt-pro2 .p2-st.b{background:#2d55c7;border-color:#2d55c7;box-shadow:0 4px 0 #1b3d9c;color:#fff}.mt-pro2 .p2-st.b span{color:#c9d7ff}.mt-pro2 .p2-st.b b{font-size:16px}
.mt-pro2 #mainScroll .p2-hero~.page-head{display:none}
.mt-pro2 #mainScroll .p2-hero~.list .shop-card .av-btn{display:none}
.mt-pro2 #mainScroll .card{border-bottom-width:5px;border-radius:18px}
@media (min-width:1024px){.mt-pro2 .p2-hero{margin:0;border-radius:22px}}
html.mt-pro2 #tabs .tab.p2-mtab::before{background-image:url(/pro/misje.png)}
html.mt-pro2 #tabs .tab[data-tab=profile]::before{background-image:var(--p2av,url(/pro/biret.png));border-radius:10px}
/* skrzynia na 3D krążku */
html.mt-pro2 .chest-node{width:84px!important;height:78px!important;border-radius:50%!important;background:#fff4cc!important;box-shadow:0 6px 0 #e8c968,inset 0 0 0 3px #ffe28a!important;display:grid!important;place-items:center}
html.mt-pro2 .chest-node::before{width:54px!important;height:54px!important}
html.mt-pro2 .chest-node.ready{background:#ffd84d!important;box-shadow:0 7px 0 #d9a900!important}
html.mt-pro2 .chest-node.lock{background:#e3e8f0!important;box-shadow:0 6px 0 #c8d0dc!important}
html.mt-pro2 .chest-node.opened{background:#e9f8ec!important;box-shadow:0 6px 0 #b4e8bf,inset 0 0 0 3px #b4e8bf!important}
/* ===== LEKCJA (karta 2) ===== */
.mt-pro2 #lesson{background:#fbfcfe;background-image:linear-gradient(#e6ecf6 1px,transparent 1px),linear-gradient(90deg,#e6ecf6 1px,transparent 1px);background-size:24px 24px}
.mt-pro2 #lesson .lz-top .bar{height:16px;background:#e3e8f2}
.mt-pro2 #lesson .lz-top .bar i{background:#ffd84d!important;box-shadow:inset 0 -4px 0 #e5b800}
.mt-pro2 #lesson .opt{border-bottom-width:5px;border-radius:16px;box-shadow:none;font-weight:700;background:#fff}
.mt-pro2 #lesson .opt.sel{border-color:#2d55c7;background:#edf2fe;box-shadow:none}
.mt-pro2 #lesson .opt.right{border-color:#2f9e44;background:#e9f8ec;color:#1f6b30;box-shadow:none}
.mt-pro2 #lesson .opt.wrong{border-color:#e5372f;background:#fdecea;box-shadow:none}
.mt-pro2 #lesson .opt .k{border-radius:9px}
.mt-pro2 #lesson .opt.right .k{border-color:#2f9e44;color:#1f6b30}
.mt-pro2 #lesson .foot .btn.p,.mt-pro2 #done .foot .btn.p{background:#2d55c7;box-shadow:0 5px 0 #1b3d9c;border-radius:16px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.mt-pro2 #lesson .foot .btn.p:disabled{background:#e3e8f2;color:#8a93a6;box-shadow:0 5px 0 #cfd6e3}
.mt-pro2 .fb.good{background:#d7f5dd;border-top:2px solid #b4e8bf}
.mt-pro2 .fb.bad{background:#fdecea;border-top:2px solid #f2c6c3}
.mt-pro2 .fb .h{font-size:21px;font-weight:900}
.mt-pro2 .fb.good .h{color:#1f6b30}.mt-pro2 .fb.bad .h{color:#b3261e}
.mt-pro2 .fb .btn.p,.mt-pro2 .fb button.btn{border-radius:16px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.mt-pro2 .fb.good .btn.p{background:#2f9e44;box-shadow:0 5px 0 #1f7a33}
.mt-pro2 .fb.bad .btn.p{background:#e5372f;box-shadow:0 5px 0 #b3261e}
/* ===== WYNIK (karta 3) ===== */
.mt-pro2 #doneBody img.owl[src*="owl_yay"]{content:url(/pro/puchar.png);width:170px!important;height:170px!important;animation:p2pop .6s cubic-bezier(.3,.7,.4,1.3) both}
.mt-pro2 #doneBody{background:radial-gradient(circle at 50% 120px,#fff4cc 0 90px,transparent 91px) no-repeat}
@keyframes p2pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
.mt-pro2 #doneBody h1.hand{font-family:Figtree,Inter,sans-serif;font-weight:900;font-size:30px;color:#1b3d9c}
.mt-pro2 #doneBody .lead{font-weight:700;color:#6f7889;font-size:15px}
.mt-pro2 #doneBody .cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:420px}
.mt-pro2 #doneBody .mini{border:0;border-radius:16px;padding:3px;background:#ffc800;box-shadow:0 4px 0 #d9a900}
.mt-pro2 #doneBody .mini.b{background:#2d55c7;box-shadow:0 4px 0 #1b3d9c}
.mt-pro2 #doneBody .mini.c{background:#ff8a1f;box-shadow:0 4px 0 #d9650b}
.mt-pro2 #doneBody .mini .l{padding:5px 4px 6px;text-align:center;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#5c4400}
.mt-pro2 #doneBody .mini.b .l,.mt-pro2 #doneBody .mini.c .l{color:#fff}
.mt-pro2 #doneBody .mini .v{display:flex;align-items:center;justify-content:center;gap:4px;padding:10px 4px;border-radius:13px;background:#fff;font-family:Figtree,Inter,sans-serif;font-size:21px;font-weight:900;color:#b88600}
.mt-pro2 #doneBody .mini.b .v{color:#1b3d9c}.mt-pro2 #doneBody .mini.c .v{color:#b8460b}
.mt-pro2 #doneBody .mini .v::before{content:"";width:22px;height:22px;background:url(/pro/gwiazda.png) center/contain no-repeat}
.mt-pro2 #doneBody .mini.b .v::before{background-image:url(/pro/misje.png)}
.mt-pro2 #doneBody .mini.c .v::before{background-image:url(/pro/budzik.png)}
.mt-pro2 #doneBody .chest .p2-emo{width:130px;height:130px}
.mt-pro2 #doneBody .xp-parts,.mt-pro2 #doneBody .ink-got{font-weight:700;color:#6f7889}
/* ===== pełne ekrany ===== */
.p2-full-ov{align-items:stretch}
.p2-full{position:relative;width:100%;max-width:520px;height:100%;overflow:auto;background:#f6f8fc;font-family:Figtree,Inter,sans-serif;color:#1f2430;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 24px);box-sizing:border-box;animation:p2up .25s ease-out}
@media (min-width:1024px){.p2-full-ov{align-items:center}.p2-full{height:auto;max-height:92vh;border-radius:24px}}
.p2-full header{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.p2-back{width:44px;height:44px;border:0;background:none;font-size:34px;line-height:1;color:inherit;cursor:pointer}
.p2-loading,.p2-muted{padding:30px 10px;text-align:center;color:#6f7889;font-weight:700}
/* sezon */
.p2-season{background:#10235c;color:#fff;text-align:center}
.p2-season header{justify-content:space-between}
.p2-until{padding:6px 12px;border-radius:99px;background:#ffd84d;color:#1f2430;font-size:12px;font-weight:900;letter-spacing:.06em}
.p2-gift{width:140px;height:140px;display:block;margin:0 auto}
.p2-season h1{margin:6px 0 4px;font-family:"Caveat Brush",var(--hand,cursive);font-weight:400;font-size:42px;color:#ffd84d}
.p2-lead{margin:0 0 16px;color:#c9d7ff;font-weight:600;font-size:15px;line-height:1.4}
.p2-calbox{padding:14px;border-radius:20px;background:rgba(255,255,255,.08);border:2px solid rgba(255,255,255,.14);text-align:left}
.p2-calh{display:flex;justify-content:space-between;font-weight:800;font-size:14px;margin-bottom:10px}.p2-calh b{color:#ffd84d}
.p2-cal{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.p2-day{position:relative;aspect-ratio:1;border-radius:10px;display:grid;place-items:center;font-weight:900;background:rgba(255,255,255,.12);color:#c9d7ff}
.p2-day img{width:62%;height:62%}.p2-day span{position:absolute;top:2px;left:5px;font-size:10px}
.p2-day.ok{background:#ffd84d;color:#1f2430}
.p2-day.now{background:#e5372f;box-shadow:0 0 0 3px #fff}.p2-day.now span{color:#fff}
.p2-day.miss{opacity:.45}
.p2-calbox p{margin:10px 0 0;font-size:12px;color:#c9d7ff;font-weight:600}
.p2-cke{display:flex;align-items:center;gap:12px;margin-top:12px;padding:14px;border-radius:20px;background:#fff;color:#1f2430;text-align:left}
.p2-cke img{width:52px;height:52px}.p2-cke b{display:block;font-weight:900}.p2-cke span{font-size:13px;color:#5b6478;font-weight:600}
.p2-go{display:block;width:100%;margin-top:18px;padding:15px;border:0;border-radius:16px;background:#ffd84d;box-shadow:0 5px 0 #d9a900;color:#1f2430;font:900 17px Figtree,sans-serif;letter-spacing:.04em;cursor:pointer}
.mt-pro2 .p2-scard{display:flex;align-items:center;gap:12px;width:calc(100% - 32px);margin:12px 16px 4px;padding:12px 14px;border:0;border-radius:20px;background:#10235c;box-shadow:0 5px 0 #08153b;color:#fff;font:inherit;text-align:left;cursor:pointer}
.mt-pro2 .p2-scard img{width:54px;height:54px;flex:none}.mt-pro2 .p2-scard b{display:block;font-size:17px;font-weight:900;color:#ffd84d}.mt-pro2 .p2-scard span span{font-size:13px;color:#c9d7ff;font-weight:600}.mt-pro2 .p2-scard i{margin-left:auto;font-size:28px;font-style:normal}
/* znajomi */
.p2-friends h1{margin:0;font-size:24px;font-weight:900;color:#1b3d9c}
.p2-friends h2{margin:16px 4px 8px;font-size:19px;font-weight:900}
.p2-frow{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 8px}
.p2-fa{width:62px;flex:none;text-align:center}.p2-fa span{position:relative;display:block}.p2-fa img{width:58px;height:58px;border-radius:18px;border:2px solid #fff;display:block;margin:0 auto}
.p2-fa i{position:absolute;right:0;bottom:-2px;width:16px;height:16px;border-radius:50%;background:#2f9e44;border:3px solid #f6f8fc}
.p2-fa b{display:block;margin-top:4px;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.p2-fr{display:flex;align-items:center;gap:10px;padding:10px 14px}.p2-fr+.p2-fr{border-top:1px solid #eef1f7}
.p2-fr.me{background:#eef3ff;box-shadow:inset 4px 0 0 #2d55c7}
.p2-fr .p2-n{width:22px;text-align:center;font-weight:900;color:#6f7889}
.p2-fr>img{width:44px;height:44px;border-radius:13px;flex:none}
.p2-fr>div{flex:1;min-width:0}.p2-fr b{display:block;font-weight:900}.p2-fr>div span{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:700;color:#6f7889}.p2-fr>div span img{width:16px;height:16px}
.p2-fr em{font-style:normal;font-weight:900;color:#6f7889;font-size:14px}
.p2-nudge{flex:none;height:36px;padding:0 10px;border-radius:12px;border:2px solid #2d55c7;border-bottom-width:4px;background:#fff;color:#2d55c7;font:900 12px Figtree,sans-serif;cursor:pointer}
.p2-add{padding:14px}.p2-add p{margin:0 0 10px;font-weight:700}.p2-add form{display:flex;gap:8px}
.p2-add input{flex:1;min-width:0;height:46px;border:2px solid #e3e8f2;border-radius:14px;padding:0 12px;font:700 15px Figtree,sans-serif}
.p2-add button{height:46px;padding:0 16px;border:0;border-radius:14px;background:#2d55c7;box-shadow:0 4px 0 #1b3d9c;color:#fff;font:900 14px Figtree,sans-serif;cursor:pointer}
.p2-msg{color:#b3261e;margin-top:8px!important}
.p2-fbtn{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 14px;padding:12px 14px;border-radius:18px;background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px;font:inherit;text-align:left;cursor:pointer;font-family:Figtree,Inter,sans-serif}
.p2-fbtn img{width:44px;height:44px;flex:none}.p2-fbtn b{display:block;font-weight:900;font-size:16px;color:#1f2430}.p2-fbtn span span{font-size:13px;color:#6f7889;font-weight:700}.p2-fbtn i{margin-left:auto;font-style:normal;font-size:26px;color:#8a93a6}
/* ===== EDYTOR AWATARA (karta 9) ===== */
.mt-pro2 .av-ed{background:#f6f8fc;font-family:Figtree,Inter,sans-serif}
.mt-pro2 .av-ed .ave-top b{font-size:20px;font-weight:900;color:#1b3d9c}
.mt-pro2 .av-ed .ave-save{background:#2f9e44!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:9px 14px!important;box-shadow:0 4px 0 #1f7a33!important;font-weight:900!important;letter-spacing:.04em;text-transform:uppercase}
.mt-pro2 .av-ed .ave-pv{background:transparent!important;padding:6px 0 14px!important;display:grid;place-items:center}
.mt-pro2 .av-ed .ave-pv img{width:190px!important;height:190px!important;border-radius:52px;border:5px solid #fff;box-shadow:0 7px 0 #dfe6f1}
.mt-pro2 .av-ed .ave-tabs{display:flex!important;gap:8px;padding:0 14px 12px!important;border:0!important;background:transparent!important}
.mt-pro2 .av-ed .ave-tabs button{flex:1;padding:9px 0!important;border-radius:12px!important;background:#fff!important;border:2px solid #e3e8f2!important;color:#6f7889!important;font:900 13px Figtree,sans-serif!important;box-shadow:none!important}
.mt-pro2 .av-ed .ave-tabs button svg{display:none}
.mt-pro2 .av-ed .ave-tabs button.on{background:#2d55c7!important;border-color:#2d55c7!important;color:#fff!important;box-shadow:0 4px 0 #1b3d9c!important}
.mt-pro2 .av-ed .ave-bd{background:#fff;margin:0 14px 14px;border:2px solid #e3e8f2;border-bottom-width:5px;border-radius:18px;padding:12px!important}
.mt-pro2 .av-ed .ave-lb{font-size:15px;font-weight:900;color:#1f2430}
.mt-pro2 .av-ed .ave-gr{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.mt-pro2 .av-ed .ave-th{position:relative;border-radius:16px!important;border:2px solid transparent!important;padding:0!important;overflow:visible!important;background:none!important}
.mt-pro2 .av-ed .ave-th img{border-radius:16px;width:100%;display:block}
.mt-pro2 .av-ed .ave-th.on{outline:3px solid #2d55c7;outline-offset:2px}
.mt-pro2 .av-ed .ave-nm{font-size:11px;font-weight:800;color:#6f7889}
.mt-pro2 .av-ed .ave-lk{position:absolute;left:50%;top:-8px;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:2px 7px;border-radius:99px;background:#fff;border:2px solid #9fb6f2;color:#1b3d9c;font-size:11px;font-weight:900;white-space:nowrap}
.mt-pro2 .av-ed .ave-sw button{border-radius:12px!important}
.mt-pro2 .av-ed .ave-sw button.on{outline:3px solid #2d55c7;outline-offset:2px}
/* ramka z akcji Zimowe powtórki */
.fr-winter{box-shadow:0 0 0 3px #fff,0 0 0 6px #7fd0f5,0 0 14px 5px rgba(127,208,245,.55);animation:frice 2.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.fr-winter{animation:none}}
a.p2-fbtn{text-decoration:none;color:inherit}
.mt-pro2 .p2-botnote{margin:10px 6px 0;font-size:12px;font-weight:700;color:#6f7889}
/* poprawka ekranu wyniku */
.mt-pro2 #doneBody{background:none!important}
.mt-pro2 #doneBody img.owl[src*="owl_yay"]{filter:drop-shadow(0 0 0 transparent);background:radial-gradient(circle,#fff4cc 0 62%,transparent 63%);border-radius:50%;padding:10px}
.mt-pro2 #doneBody .mini .l{background:transparent!important;border:0!important;margin:0!important}
.mt-pro2 #doneBody .mini.a .l{color:#5c4400!important}
.mt-pro2 #doneBody .mini.b .l,.mt-pro2 #doneBody .mini.c .l{color:#fff!important}
.mt-pro2 #doneBody .mini.b{background:#2d55c7!important;box-shadow:0 4px 0 #1b3d9c!important;border:0!important}
.mt-pro2 #doneBody .mini.c{background:#ff8a1f!important;box-shadow:0 4px 0 #d9650b!important;border:0!important}
.mt-pro2 #doneBody .mini.a{background:#ffc800!important;box-shadow:0 4px 0 #d9a900!important;border:0!important}
/* lekcja słuchania na ścieżce angielskiego */
html.mt-pro2 .path .p2-lnode{background:#7fd0f5!important;box-shadow:0 6px 0 #3ea5d6!important;border-radius:50%!important}
html.mt-pro2 .path .p2-lnode::before{content:"";width:46px;height:46px;background:url(/pro/ustna.png) center/contain no-repeat}
/* odtwarzacz nagrania w lekcji */
.mt-pro2 #lesson .passage{border:2px solid #b9e3f7;border-bottom-width:5px;border-radius:18px;background:#eef9ff;padding:12px 14px}
.mt-pro2 #lesson .passage summary{font-weight:900;color:#1b3d9c}
.mt-pro2 #lesson .play{display:flex;gap:10px;margin:10px 0}
.mt-pro2 #lesson .play button{flex:1;min-height:52px;border:0;border-radius:16px;font:900 16px Figtree,sans-serif;cursor:pointer}
.mt-pro2 #lesson .play [data-say]{background:#2d55c7;color:#fff;box-shadow:0 5px 0 #1b3d9c}
.mt-pro2 #lesson .play [data-stop]{flex:0 0 96px;background:#fff;color:#2d55c7;border:2px solid #2d55c7;border-bottom-width:4px}
/* zdania ze słuchu */
html.mt-pro2 .path .p2-znode{background:#c6a9ff!important;box-shadow:0 6px 0 #8f6be0!important}
.p2-lg{display:flex;flex-direction:column}
.p2-lgtop{display:flex;align-items:center;gap:10px}
.p2-lgbar{flex:1;height:16px;border-radius:99px;background:#e3e8f2;overflow:hidden}.p2-lgbar i{display:block;height:100%;background:#ffd84d;box-shadow:inset 0 -4px 0 #e5b800;border-radius:99px}
.p2-lg h2{margin:16px 4px 14px;font-size:22px;font-weight:900}
.p2-lgplay{display:flex;gap:12px;margin:0 4px 18px}
.p2-pl{width:96px;height:96px;border:0;border-radius:24px;background:#7fd0f5;box-shadow:0 6px 0 #3ea5d6;display:grid;place-items:center;cursor:pointer}.p2-pl img{width:62px;height:62px}
.p2-pl.s{width:64px;height:64px;align-self:flex-end;font-size:30px;background:#fff;border:2px solid #e3e8f2;box-shadow:0 5px 0 #dfe6f1}
.p2-opts{display:grid;gap:10px}
.p2-opts button,.p2-bank button,.p2-ans button{font:700 16px Figtree,sans-serif;color:#1f2430;background:#fff;border:2px solid #e3e8f2;border-bottom-width:5px;border-radius:16px;cursor:pointer}
.p2-opts button{min-height:56px;padding:10px 14px;text-align:left}.p2-opts button.on{border-color:#2d55c7;background:#edf2fe}
.p2-ans{min-height:60px;display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;border-bottom:2px solid #e3e8f2;margin-bottom:14px}
.p2-bank{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.p2-bank button,.p2-ans button{padding:9px 12px}.p2-bank button:disabled{opacity:.25}
.p2-lgfoot{margin-top:auto;padding-top:18px}
.p2-chk{display:block;width:100%;padding:15px;border:0;border-radius:16px;background:#2d55c7;box-shadow:0 5px 0 #1b3d9c;color:#fff;font:900 16px Figtree,sans-serif;letter-spacing:.04em;cursor:pointer}
.p2-chk:disabled{background:#e3e8f2;color:#8a93a6;box-shadow:0 5px 0 #cfd6e3}
.p2-chk.ok{background:#2f9e44;box-shadow:0 5px 0 #1f7a33}.p2-chk.bad{background:#e5372f;box-shadow:0 5px 0 #b3261e}
.p2-fb{margin-bottom:12px;padding:12px 14px;border-radius:16px}.p2-fb b{display:block;font-size:19px;font-weight:900}.p2-fb span{display:block;font-weight:700;margin-top:4px}.p2-fb em{display:block;font-style:normal;font-size:13px;margin-top:2px;opacity:.8}
.p2-fb.ok{background:#d7f5dd;color:#1f6b30}.p2-fb.bad{background:#fdecea;color:#b3261e}
.p2-lgend{text-align:center;padding-top:40px}.p2-lgend img{width:150px;height:150px}.p2-lgend h1{margin:10px 0 4px;font-size:28px;font-weight:900;color:#1b3d9c}.p2-lgend p{font-weight:700;color:#6f7889}
.p2-go2{display:block;width:100%;margin-top:12px;padding:13px;border-radius:16px;border:2px solid #2d55c7;border-bottom-width:5px;background:#fff;color:#2d55c7;font:900 15px Figtree,sans-serif;cursor:pointer}
html.mt-pro2 .path .p2-listen,html.mt-pro2 .path .p2-zdania{margin-top:20px;margin-bottom:20px}
html.mt-pro2 .path .node-wrap{margin-top:14px;margin-bottom:14px}
html.mt-pro2 .path .node-wrap:has(.chest-node){margin-top:24px;margin-bottom:24px}
html.mt-pro2 .path .p2-locked .p2-lnode{background:#e3e8f0!important;box-shadow:0 6px 0 #c8d0dc!important}
html.mt-pro2 .path .p2-locked .p2-lnode::before{background-image:url(/pro/klodka.png)!important;width:34px!important;height:34px!important;opacity:.85}
.p2-skip{display:block;width:100%;margin-top:10px;padding:10px;border:0;background:none;color:#6f7889;font:800 14px Figtree,sans-serif;cursor:pointer;text-decoration:underline}
.p2-sayt{margin:0 4px 14px;padding:14px;border-radius:16px;background:#fff;border:2px solid #e3e8f2;font-size:20px;font-weight:800}
.p2-mic{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:0;border-radius:18px;background:#2d55c7;box-shadow:0 5px 0 #1b3d9c;color:#fff;font:900 17px Figtree,sans-serif;cursor:pointer}
.p2-mic img{width:44px;height:44px}.p2-mic.rec{background:#e5372f;box-shadow:0 5px 0 #b3261e;animation:p2pulse 1s ease-in-out infinite}
@keyframes p2pulse{50%{transform:scale(1.02)}}
.p2-heard{margin:12px 4px 0;font-weight:700;color:#4b5468}
.p2-askh{margin:0 4px 14px;font-weight:700;color:#6f7889}
