/* ui-27: profil, misje, ranking, igrzyska, serwer, sezon, arena live – bez skoków układu, słabe telefony */
/* --- równe kafelki trybów (Stwórz serwer) --- */
.rmNew .rnTiles{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.rmNew .rnTiles>.rnTile{grid-column:auto!important;min-width:0;width:100%;height:100%;min-height:118px;aspect-ratio:auto}
.rmNew .rnTile .rnArt{height:70px!important;flex:0 0 70px}
.rmNew .rnTile b,.rmNew .rnTile small{white-space:normal;overflow-wrap:anywhere;word-break:normal}
@media (max-width:720px){.rmNew .rnTiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:340px){.rmNew .rnTiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* --- ranking na stronie głównej: stała wysokość, nie kurczy się przy scrollu --- */
/* pakiet-27: #mine chowało się gdy wiersz gracza był w #top5 (IntersectionObserver) → karta 253→220 px. Zostawiamy miejsce. */
/* poprawki-28: NIE height:auto na .home – to rozciągało cały hero i chowało wejście do gier (plM / GRAJ TERAZ). Przywróć lock viewport jak przed pakiet-27. */
.home{height:calc(100vh - 76px)!important;min-height:560px;align-content:stretch}
.rcol .rank,.rank{flex:0 0 auto!important;max-height:none!important;min-height:253px;height:253px!important;box-sizing:border-box}
.rcol .rank #top5{flex:0 0 auto;height:calc(5 * 31px + 4 * 3px)!important;max-height:calc(5 * 31px + 4 * 3px)!important;min-height:calc(5 * 31px + 4 * 3px)!important}
.rcol .rank .mine{flex:0 0 32px!important;min-height:32px!important;height:32px!important;box-sizing:border-box}
.rcol .rank .mine[hidden]{display:flex!important;visibility:hidden;pointer-events:none;margin-top:6px} /* ui5 ukrywa duplikat – miejsce zostaje, wysokość karty stała */

/* --- Igrzyska: większa TYLKO karta (emblem), nie cały hero --- */
/* poprawki-28: emb.css min-height:720px na .hero pchało plM poniżej foldu na 1366x768 – odblokuj, hero wypełnia home */
html[class*=emb] .hero{min-height:0!important;height:100%!important}
html[class*=emb] .hbtns{z-index:4} /* wejście do gier zawsze nad tłem, pod tipem emblemu */
/* style2: .hero{height:740px!important} poniżej 600px – za wysoki, ucina tryby; obniż hero (home na phone i tak height:auto) */
@media (max-width:600px){
  html[class*=emb] .hero{height:620px!important;min-height:0!important}
}
.emblem .ePrize img{width:88px!important;height:auto;filter:drop-shadow(0 0 16px #f5c542cc)}
.emblem .ePrize b{font-size:19px!important}
.emblem .tsb,.emblem .tsign .btn{font-size:18px!important;padding:13px 24px!important;box-shadow:0 0 24px #f5c54299,0 6px 0 #8a5a10}
.emblem .eWrap{gap:10px;cursor:help}
/* większa karta Igrzysk – wyśrodkowana, bez CLS (absolute) */
html[class*=emb] .emblem{top:8px;width:min(600px,94%)!important;z-index:3}
.emb3 .eT1,.emblem .eT1{font-size:50px!important;letter-spacing:.04em}
.emb3 .eT2,.emblem .eT2{font-size:14px!important;letter-spacing:.26em}
.emb3 .ePlate,.emblem .ePlate{padding:12px 22px 20px!important;border-width:3px}
.emblem .eCrown,.emblem .ecrown{width:84px!important;height:60px!important;margin-bottom:-16px}
.emblem .eClock .u b{font-size:30px!important}
.emblem .eClock .u{min-width:48px}
/* większa nagroda zostaje (poniżej), LIVE badge zostaje duży */
/* czerwony badge LIVE · godzina – wyraźnie większy */
html[class*=emb] .emblem .live,.emblem .live.eLive,.emblem .live{
  font-size:18px!important;font-weight:900;letter-spacing:.06em;
  padding:8px 18px!important;margin-top:-16px;z-index:3;
  border:2px solid #ffb0b0!important;border-radius:999px;
  background:linear-gradient(180deg,#ff2d4a,#b01028)!important;
  box-shadow:0 0 22px #ff2d4acc,0 4px 0 #6a0818!important;
  color:#fff!important;text-shadow:0 1px 0 #4008
}
.emblem .live b{font:900 18px/1 Barlow,system-ui;letter-spacing:.1em}
/* live badge pinned on bottom edge of plate (visible + prominent) */
html[class*=emb] .emblem .live{position:relative;margin-top:-22px!important;z-index:5!important}
.emblem .live i{width:10px;height:10px;margin-right:8px;box-shadow:0 0 10px #fff}
.rcol .ev1 .evbig img{width:110px!important;height:auto;filter:drop-shadow(0 0 12px #f5c542aa)}
.rcol .ev1 .evbig{gap:12px;align-items:center}
.rcol .ev2 .btn{font-size:14px;padding:10px 16px;box-shadow:0 0 16px #f5c54266}
@media (max-width:720px){
  html[class*=emb] .emblem{width:96%!important;top:6px}
  .emblem .eWrap{transform:scale(.88)!important;transform-origin:50% 0;margin-bottom:-48px}
  .emb3 .eT1,.emblem .eT1{font-size:40px!important}
  .emblem .live,.emblem .live.eLive{font-size:16px!important;padding:8px 16px!important;margin-top:-20px!important}
  .emblem .live b{font-size:16px}
  .emblem .ePrize img{width:68px!important}
  .emblem .tsb,.emblem .tsign .btn{font-size:15px!important;padding:11px 16px!important}
}
@media (max-width:400px){
  .emblem .eWrap{transform:scale(.86)!important;margin-bottom:-56px}
  .emb3 .eT1,.emblem .eT1{font-size:36px!important}
  .emblem .live,.emblem .live.eLive{font-size:15px!important;padding:7px 14px!important}
}

/* --- profil: kafelki ze statystykami + tooltips --- */
.pfTiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0}
.pfTile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 8px;border-radius:14px;background:linear-gradient(165deg,#1a2458,#0c1438);border:1px solid #3a4aa0;box-shadow:inset 0 0 0 1px #ffffff0a,0 4px 14px #0006;transition:transform .15s,border-color .15s,box-shadow .15s;animation:pgUp .4s both;animation-delay:var(--d,0ms)}
.pfTile:hover,.pfTile:focus-within{transform:translateY(-2px);border-color:#7ec8ff;box-shadow:0 0 18px #3af5}
.pfTile span{font-size:20px;line-height:1;filter:drop-shadow(0 0 6px #9b5cff88)}
.pfTile b{font:800 22px/1 Barlow,system-ui;color:#fff;font-variant-numeric:tabular-nums}
.pfTile small{font:700 10px/1.1 Barlow,system-ui;letter-spacing:.06em;color:#a9b8ee;text-transform:uppercase;text-align:center}
.pfTile[data-tip]:hover::after,.pfTile[data-tip]:focus::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);z-index:5;min-width:160px;max-width:220px;padding:8px 10px;border-radius:10px;background:#0b0826f2;border:1px solid #7a5cff;color:#eef;font:600 12px/1.35 Barlow,system-ui;text-transform:none;letter-spacing:0;box-shadow:0 8px 24px #000a;pointer-events:none;white-space:normal;text-align:center}
@media (max-width:900px){.pfTiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:340px){.pfTiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* profil: Najczęściej grani + Odznaki na górze */
.pfWrap .pfHeroRow{display:grid;grid-template-columns:1.4fr .9fr;gap:10px;margin:10px 0}
@media (max-width:820px){.pfWrap .pfHeroRow{grid-template-columns:1fr}}
.pfBdg{display:flex;flex-wrap:wrap;gap:10px}
.pfB{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:86px;padding:12px 8px 10px;border-radius:14px;background:radial-gradient(circle at 50% 28%,#ffffff22 0%,transparent 55%),linear-gradient(160deg,#241a6a,#0c1238 70%);border:1px solid #5a6acc;transition:transform .2s,box-shadow .2s;isolation:isolate;overflow:hidden}
.pfB::before{content:"";position:absolute;inset:-40% -30% auto;height:70%;background:linear-gradient(115deg,transparent 30%,#fff6 48%,transparent 62%);opacity:.35;pointer-events:none;transform:translateX(-120%);animation:pfBshine 4.5s ease-in-out infinite}
.pfB span{font-size:32px;line-height:1;filter:drop-shadow(0 0 10px #f5c542aa) drop-shadow(0 2px 4px #000a);z-index:1}
.pfB b{font:800 11px/1.15 Barlow,system-ui;text-align:center;color:#eef2ff;z-index:1;text-shadow:0 1px 2px #0008}
.pfB.on,.pfB:not(.lock){box-shadow:0 0 18px #9b5cff66,inset 0 1px 0 #ffffff22}
.pfB.lock{opacity:.42;filter:grayscale(.75)}
.pfB.lock::before{animation:none;opacity:0}
.pfB.lock span{filter:grayscale(.5) brightness(.7)}
.pfB.r-gold{border-color:#f5c542;box-shadow:0 0 22px #f5c54288,inset 0 0 12px #f5c54222}
.pfB.r-epic{border-color:#c77dff;box-shadow:0 0 22px #9b5cff88,inset 0 0 12px #9b5cff22}
.pfB.r-rare{border-color:#5ec8ff;box-shadow:0 0 18px #3af8,inset 0 0 10px #3af3}
.pfB:hover{transform:translateY(-3px) scale(1.03)}
@keyframes pfBshine{0%,55%{transform:translateX(-120%)}80%,100%{transform:translateX(160%)}}

/* polecenia */
.pfRef{margin:10px 0;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#1a1450,#0c1a40 60%,#142060);border:1px solid #7a5cff;box-shadow:0 0 24px #7b4bff44,inset 0 0 0 1px #ffffff10}
.pfRef h3{margin:0 0 6px;display:flex;align-items:center;gap:8px}
.pfRef .pfRefL{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
.pfRef code,.pfRef .pfRefCode{padding:6px 10px;border-radius:8px;background:#0006;border:1px solid #5a4ab0;font:700 13px/1.2 ui-monospace,monospace;color:#ffe08a;word-break:break-all}
.pfRef .pfRefStats{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.pfRef .pfRefStats span{padding:4px 10px;border-radius:999px;background:#ffffff10;font:700 12px Barlow,system-ui;color:#cfd8ff}

/* misje: karty + koło VIP */
.misBox .mcard{border-radius:16px!important;background:linear-gradient(160deg,#152056,#0a1238)!important;border:1px solid #3a4aa0!important;box-shadow:0 4px 16px #0005}
.misBox .mcard.ok{border-color:#f5c542!important;box-shadow:0 0 20px #f5c54255!important}
.misBox .mbar{height:8px;border-radius:999px;background:#ffffff12;overflow:hidden}
.misBox .mbar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#5ec8ff,#9b5cff)}
/* VIP Koło fortuny – pełna karta: tło skarbiec/koloseum, koło, SUPER SPIN pod kołem */
.card.mWheel,.mWheel{position:relative;overflow:hidden;margin:14px 0;padding:18px 20px 16px;border-radius:20px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%,#f5c54240 0%,#f5c54214 28%,transparent 58%),
    radial-gradient(ellipse 80% 55% at 50% 100%,#9b5cff33 0%,transparent 55%),
    linear-gradient(165deg,#2a1848 0%,#15102e 42%,#0a0618 100%);
  border:1.5px solid #f5c542!important;box-shadow:0 0 32px #f5c54266,0 0 30px #f5c54222,inset 0 1px 0 #ffe08a33!important}
/* sunburst / soft light rays – covers WHOLE card */
.card.mWheel::before,.mWheel::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    repeating-conic-gradient(from -8deg at 50% 46%,#ffe08a22 0deg 5deg,transparent 5deg 16deg),
    radial-gradient(circle at 50% 46%,#ffe08a18 0%,transparent 42%);
  opacity:.85;mix-blend-mode:screen}
/* subtle sparkles (static dots) */
.card.mWheel::after,.mWheel::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%,#ffe08acc 40%,transparent 50%),
    radial-gradient(1.2px 1.2px at 88% 22%,#fff8 40%,transparent 50%),
    radial-gradient(1.6px 1.6px at 22% 78%,#f5c542bb 40%,transparent 50%),
    radial-gradient(1.1px 1.1px at 78% 72%,#c77dffcc 40%,transparent 50%),
    radial-gradient(1.3px 1.3px at 64% 12%,#ffe08aaa 40%,transparent 50%),
    radial-gradient(1px 1px at 40% 88%,#fff6 40%,transparent 50%),
    radial-gradient(1.4px 1.4px at 8% 48%,#f5c54299 40%,transparent 50%),
    radial-gradient(1.2px 1.2px at 92% 55%,#ffe08a99 40%,transparent 50%);
  opacity:.9}
.card.mWheel>*,.mWheel>*{position:relative;z-index:1}
.mWheel h3,.mWheel .mWhead{margin:0 0 6px;color:#ffe08a;font:900 18px/1.15 Barlow,system-ui;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 0 18px #f5c54288,0 2px 0 #0008;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.mWheel h3 small,.mWheel .mWhead small{font:700 11px/1 Barlow,system-ui;letter-spacing:.04em;text-transform:none;color:#c8d4ff;opacity:.9;padding:3px 8px;border-radius:999px;background:#ffffff12;border:1px solid #f5c54255}
.mWheel .mWsub{text-align:center;margin:0 0 4px;color:#c8d4ffcc;font:600 12px/1.4 Barlow,system-ui}
/* gold VIP crown in header – size locked to title */
.mWheel .mWcrown{width:22px;height:19px;flex:0 0 auto;display:block;filter:drop-shadow(0 0 6px #f5c542cc) drop-shadow(0 1px 0 #0008);transform:translateY(-1px)}
/* stage: reserves space for rim/bulbs/pointer so SUPER SPIN never overlaps */
.acWstage{position:relative;display:flex;justify-content:center;align-items:center;
  width:100%;max-width:380px;margin:4px auto 0;padding:28px 22px 18px;box-sizing:border-box}
.acWheel{--wr:148px;position:relative;width:min(420px,88vw);height:min(420px,88vw);margin:0;border-radius:50%;overflow:visible;touch-action:none;background:#0a0618;isolation:isolate;flex:0 0 auto}
.acWheel .acWrim{position:absolute;inset:-14px;border-radius:50%;pointer-events:none;z-index:4;
  background:conic-gradient(from 0deg,#8a6a20,#f5c542 8%,#ffe08a 14%,#f5c542 22%,#6a4a10 30%,#f5c542 38%,#ffe08a 46%,#c8921a 55%,#5a3a08 65%,#f5c542 75%,#ffe08a 85%,#8a6a20 100%);
  box-shadow:0 0 0 2px #2a1808,0 0 28px #f5c54277;
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 14px),#000 calc(100% - 13px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 14px),#000 calc(100% - 13px))}
.acWheel .acWbulbs{position:absolute;inset:-14px;border-radius:50%;pointer-events:none;z-index:5}
.acWheel .acWbulbs i{position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff,#ffe08a 40%,#c8921a 70%,#5a3a08);
  box-shadow:0 0 6px #f5c542aa;
  transform:rotate(calc(var(--i)*12.857deg)) translateY(calc(var(--R, 160px) * -1));
  animation:acWbulb 1.4s linear infinite;animation-delay:calc(var(--i)*-50ms);opacity:.85}
/* chase around rim during spin – casino marquee */
.acWheel.spinning .acWbulbs i{animation:acWchase .55s linear infinite;animation-delay:calc(var(--i)*-19.6ms);opacity:1}
.acWheel.spinning.crawl .acWbulbs i{animation-duration:.95s;animation-delay:calc(var(--i)*-34ms)}
@keyframes acWbulb{0%,100%{opacity:.35;filter:brightness(.7)}40%{opacity:1;filter:brightness(1.4);box-shadow:0 0 10px #ffe08acc}60%{opacity:.55}}
@keyframes acWchase{
  0%,100%{opacity:.18;filter:brightness(.5);box-shadow:0 0 2px #f5c54244;background:radial-gradient(circle at 35% 30%,#ffe08a88,#8a5a1088 70%)}
  8%{opacity:1;filter:brightness(1.8);box-shadow:0 0 14px #ffe08aee,0 0 22px #f5c542aa;background:radial-gradient(circle at 35% 30%,#fff,#ffe08a 45%,#f5c542)}
  22%{opacity:.55;filter:brightness(.9);box-shadow:0 0 6px #f5c54288}
}
.acWheel .acWspin{position:absolute;inset:0;border-radius:50%;overflow:hidden;z-index:1;transition:none;will-change:auto;
  box-shadow:inset 0 0 24px #000a,0 0 0 3px #f5c54266}
.acWheel.spinning .acWspin{will-change:transform}
.acWheel .acWshine{position:absolute;inset:0;border-radius:50%;pointer-events:none;z-index:1;
  background:conic-gradient(from 200deg,transparent 0 60%,#ffffff22 70%,transparent 80% 100%);mix-blend-mode:soft-light}
.acWheel .acWptr{position:absolute;top:-6px;left:50%;z-index:7;width:28px;height:36px;filter:drop-shadow(0 3px 6px #000c);
  transform:translateX(-50%);transform-origin:50% 8%;will-change:transform}
.acWheel .acWptr b{display:block;width:0;height:0;margin:0 auto;border-left:14px solid transparent;border-right:14px solid transparent;border-top:28px solid #ffe08a;
  filter:drop-shadow(0 0 8px #f5c542cc)}
.acWheel .acWptr::after{content:"";position:absolute;left:50%;top:18px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#f5c542 50%,#8a5a10);box-shadow:0 0 8px #f5c542}
.acWheel .acWptr.tick{animation:acWptrTick .09s ease-out 1}
.acWheel .acWptr.struggle{animation:acWptrStruggle .22s cubic-bezier(.2,.8,.2,1.4) 1}
@keyframes acWptrTick{0%{transform:translateX(-50%) rotate(0)}40%{transform:translateX(-50%) rotate(-14deg)}100%{transform:translateX(-50%) rotate(0)}}
@keyframes acWptrStruggle{0%{transform:translateX(-50%) rotate(0)}25%{transform:translateX(-50%) rotate(-22deg)}55%{transform:translateX(-50%) rotate(10deg)}80%{transform:translateX(-50%) rotate(-8deg)}100%{transform:translateX(-50%) rotate(0)}}
.acWheel.crawl .acWptr{filter:drop-shadow(0 3px 6px #000c) drop-shadow(0 0 10px #ffe08a88)}
.acWheel .acWhub{position:absolute;left:50%;top:50%;width:22%;height:22%;transform:translate(-50%,-50%);border-radius:50%;z-index:6;pointer-events:none;
  background:radial-gradient(circle at 35% 28%,#fff8,#ffe08a 28%,#f5c542 50%,#8a4aef 78%,#2a1050);
  box-shadow:0 0 0 3px #2a1808,0 0 0 5px #f5c54288,0 0 22px #9b5cffaa,inset 0 -4px 8px #0006}
.acWheel .acWhub em{position:absolute;inset:22%;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff,#c77dff 45%,#5a20a0);box-shadow:0 0 12px #c77dffcc}
.acWheel .acWglow{position:absolute;inset:6px;border-radius:50%;pointer-events:none;z-index:4;opacity:0;transition:opacity .2s}
.acWheel.land .acWglow{opacity:1;animation:acWland 1.5s ease-out 1}
.acWheel.landBig .acWglow{animation:acWlandBig 1.8s ease-out 1}
@keyframes acWland{0%{box-shadow:0 0 0 0 #f5c54200}20%{box-shadow:0 0 36px 14px #f5c542cc}100%{box-shadow:0 0 0 0 #f5c54200}}
@keyframes acWlandBig{0%{box-shadow:0 0 0 0 #c77dff00}15%{box-shadow:0 0 40px 16px #c77dffee,0 0 60px 24px #f5c54299}100%{box-shadow:0 0 0 0 #c77dff00}}
.acWheel .acWlab{position:absolute;inset:0;pointer-events:none;z-index:2}
.acWheel .acWseg{position:absolute;left:50%;top:50%;width:0;height:0;transform:rotate(var(--a))}
.acWheel .acWarm{position:absolute;left:0;top:0;width:var(--wf,72px);transform:translate(-50%,calc(-1 * var(--wr)));display:block;box-sizing:border-box}
/* face: pełny kontr-obrót (--faceRot); ikona przy obręczy, napis pod nią; chTip ukryty (treść w #tip) */
.acWheel .acWface{position:relative;left:0;top:0;margin:0;transform:rotate(var(--faceRot,0deg));transform-origin:50% 50%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;width:100%;max-width:100%;text-align:center;overflow:visible;box-sizing:border-box;pointer-events:auto;cursor:help}
.acWheel .acWface .chTip{display:none!important}
.acWheel .acWface small{font:800 var(--wfs,14px)/1.05 Barlow,system-ui;color:#fff;text-shadow:0 1px 3px #000,0 0 8px #000d;letter-spacing:.01em;max-width:100%;overflow:hidden;text-overflow:clip;white-space:nowrap;display:block}
/* phone: etykieta między ikoną a hubem, bez „…”, bez kolizji – ciasny face + krótki SHORT */
.acWheel.acWnarrow .acWface{gap:var(--wgap,0px);overflow:visible}
.acWheel.acWnarrow .acWface small{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.05;word-break:keep-all;hyphens:none;padding:0 1px}
.acWheel.acWnoLab .acWface small{display:none!important}
.acWheel.acWnoLab .acWface{gap:0}
.acWheel .acWicoImg{width:var(--wi,72px)!important;height:var(--wi,72px)!important;max-width:var(--wi,72px);max-height:var(--wi,72px);min-width:0;min-height:0;object-fit:contain;filter:drop-shadow(0 1px 2px #000a);display:block;flex:none;box-sizing:border-box;image-rendering:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.acWheel .acWseg.rare .acWicoImg{filter:drop-shadow(0 1px 2px #000a) drop-shadow(0 0 4px #c77dff66)}
/* BEZ kafli/tła — ostre SVG/ikony na klinie; ten sam box co skrzynie */
.acWheel .acWicoSym{display:grid;place-items:center;width:var(--wi,72px)!important;height:var(--wi,72px)!important;max-width:var(--wi,72px);max-height:var(--wi,72px);min-width:0!important;min-height:0!important;overflow:visible;contain:none;border-radius:0;background:none!important;border:none!important;font:900 calc(var(--wi,72px) * 0.52)/1 Barlow,system-ui;color:#ffe08a;text-shadow:0 1px 2px #000;box-shadow:none!important;flex:none;box-sizing:border-box;line-height:1;padding:6%;filter:drop-shadow(0 1px 2px #000c)}
.acWheel .acWicoKey,.acWheel .acWicoEn,.acWheel .acWicoSh,.acWheel .acWicoPg{padding:8%!important;font-size:0!important}
.acWheel .acWicoKey svg,.acWheel .acWicoEn svg,.acWheel .acWicoSh svg,.acWheel .acWicoSym .acWicoSvg,.acWheel .acWicoSym>svg{width:100%;height:100%;display:block;overflow:visible;shape-rendering:geometricPrecision}
.acWheel .acWicoMys{width:var(--wi,72px)!important;height:var(--wi,72px)!important;max-width:var(--wi,72px);max-height:var(--wi,72px);min-width:0!important;min-height:0!important}
.acWheel .acWseg.win .acWface{filter:drop-shadow(0 0 10px #f5c542);transform:rotate(var(--faceRot,0deg)) scale(1.08)}
.acWheel .acWseg.win .acWface small{color:#ffe08a}
.acWheel .acWseg.flip .acWface{flex-direction:column-reverse}
.acWheel .acWfx{position:absolute;inset:0;pointer-events:none;z-index:7;border-radius:50%;overflow:visible}
.acWheel .acWfx i{position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-3.5px;border-radius:50%;background:var(--c,#ffe08a);opacity:0;box-shadow:0 0 6px var(--c,#ffe08a)}
.acWheel .acWfx i.coin{width:10px;height:10px;border-radius:50%;border:1px solid #fff8;box-shadow:0 0 8px var(--c,#ffe08a),inset 0 0 4px #fff6}
.acWheel .acWfx i.conf{width:8px;height:4px;border-radius:1px;margin:-2px -4px}
.acWheel .acWfx.on i{animation:acWpart .95s ease-out forwards}
.acWheel .acWfx.big.on i{animation-duration:1.15s}
@keyframes acWpart{0%{opacity:1;transform:translate(0,0) scale(1) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.25) rotate(120deg)}}
/* Buuu: comic deflate – grey + wobble */
.acWheel.buuu{animation:acWbuuu 1.1s ease-in-out 1;filter:grayscale(.85) brightness(.72) contrast(.9)}
.acWheel.buuu .acWbulbs i{animation:none!important;opacity:.25;filter:grayscale(1)}
.acWheel.buuu .acWglow{opacity:.6;animation:none;box-shadow:0 0 24px 8px #6666}
@keyframes acWbuuu{0%{transform:scale(1)}18%{transform:scale(1.04) rotate(-1.5deg)}40%{transform:scale(.92) rotate(1.2deg)}65%{transform:scale(1.02) rotate(-.6deg)}100%{transform:scale(1) rotate(0)}}
/* SUPER SPIN – clearly BELOW the wheel, centred, comfortable gap, no overlap */
/* mWbtns layout now inside .mWbody grid */
.mWheel .acWspinBtn{min-width:min(260px,86vw);padding:14px 28px;font:900 16px/1 Barlow,system-ui;letter-spacing:.12em;text-transform:uppercase;
  background:linear-gradient(180deg,#ffe08a 0%,#f5c542 40%,#c8921a 70%,#8a5a10 100%)!important;color:#1a1000!important;
  border:1px solid #ffe08a!important;box-shadow:0 0 24px #f5c54299,0 5px 0 #6a3a08,inset 0 1px 0 #fff8!important;
  text-shadow:0 1px 0 #ffe08a88}
.mWheel .acWspinBtn:not(:disabled):hover{filter:brightness(1.06);box-shadow:0 0 32px #f5c542cc,0 5px 0 #6a3a08,inset 0 1px 0 #fff8!important}
.mWheel .acWspinBtn:disabled{opacity:.72;filter:grayscale(.15);box-shadow:0 0 12px #f5c54244,0 3px 0 #4a2a08!important;cursor:default}
.mWheel .mWcd{text-align:center;margin:8px 0 0;font:700 13px/1.3 Barlow,system-ui;color:#9ad0ff}
.mWheel .mWres{text-align:center;margin-top:8px;font:800 15px Barlow,system-ui;color:#ffe08a;min-height:1.2em;text-shadow:0 0 10px #f5c54266}
@media (max-width:600px){
  .acWstage{padding:24px 14px 14px;max-width:100%}
  .acWheel{width:min(320px,86vw);height:min(320px,86vw)}
  /* rozmiary ikon/fontu ustawia syncR (--wi/--wfs) – nie ściskaj do huba */
  .acWheel .acWbulbs i{width:7px;height:7px;margin:-3.5px}
  .mWheel{padding:16px 12px 14px}
  .mWheel h3,.mWheel .mWhead{font-size:15px}
  .mWheel .mWcrown{width:18px;height:16px}
  .mWheel .acWspinBtn{padding:12px 18px;font-size:14px;letter-spacing:.08em}
  .mWheel .mWbtns{margin-top:0}
}
@media (min-width:1100px){
  /* wide desktop: wheel + button stacked, still centred; extra breathing room */
  .acWstage{padding:30px 28px 20px}
  .mWheel .mWbtns{margin-top:0}
}
@media (prefers-reduced-motion:reduce){
  .acWheel .acWbulbs i,.acWheel .acWfx i,.acWheel .acWptr,.acWheel.buuu,.acWrevB,.acWrevBurst,.acWrevFx i{animation:none!important}
}
/* FxLite / weak phones: static, cheap card background (no ray animation, no bulb blink) */

/* ===== poprawki-28: layout koło + legenda ===== */
/* Left = wheel+SUPER SPIN stack; legend beside. Never height:% of auto (collapses to 0).
   Never reuse global .hero/.ava/.skin on mystery icons (home .hero is 740px!important on phone). */
.mWheel .mWbody{
  display:grid;
  grid-template-columns:minmax(360px,1.15fr) minmax(300px,1fr);
  gap:8px 24px;
  align-items:center;
  justify-content:center;
  margin:4px auto 0;
  width:100%;
  max-width:980px;
  box-sizing:border-box;
  padding:0 8px;
}
.mWheel .acWleft{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:6px;min-width:0;width:100%;max-width:100%;
}
.mWheel .acWstage{
  display:flex;align-items:center;justify-content:center;
  padding:28px 28px 8px;
  margin:0;width:100%;max-width:100%;
  box-sizing:border-box;overflow:visible;
}
.mWheel .acWheel{
  --wr:165px;
  --wf:72px;
  --wi:72px;
  --ws:52px;
  --wfs:14px;
  --spin:0deg;
  width:min(420px,100%);
  height:auto;
  aspect-ratio:1;
  max-width:100%;
  box-sizing:border-box;
  flex:0 0 auto;
  margin:0 auto;
}
.mWheel .mWbtns{
  display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;
  margin:0;width:100%;max-width:280px;
  padding:0;position:relative;z-index:2;
}
.mWheel .acWleg{
  min-width:0;max-width:480px;width:100%;
  display:flex;flex-direction:column;gap:6px;
  padding:4px 2px 0;align-self:center;
}
.mWheel .acWleg h4{margin:0 0 2px;font:900 12px/1.2 Barlow,system-ui;letter-spacing:.08em;text-transform:uppercase;color:#ffe08a;text-shadow:0 0 12px #f5c54266}
.mWheel .acWlegList{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(7,auto);grid-auto-flow:column;gap:5px 10px;max-height:none;overflow:visible;padding:0}
.mWheel .acWlegRow{
  display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;align-items:center;
  padding:5px 7px;border-radius:10px;border:1.75px solid #c5cce0;
  background:linear-gradient(135deg,#ffffff0c,#0004);color:#e8ecff;
  cursor:pointer;text-align:left;font:inherit;
  transition:border-color .15s,box-shadow .15s,background .15s;
  min-height:0;opacity:1!important;filter:none!important;
  box-shadow:inset 0 1px 0 #ffffff28;
}
.mWheel .acWlegRow:hover,.mWheel .acWlegRow.on{border-color:#f5c542;box-shadow:inset 0 1px 0 #ffe08a55,0 0 14px #f5c54244;background:linear-gradient(135deg,#f5c54218,#0005)}
.mWheel .acWlegRow.r-leg{border:2px solid #c77dff;box-shadow:inset 0 1px 0 #e8b0ff66,0 0 10px #c77dff33}
.mWheel .acWlegRow.r-epic{border:2px solid #f5c542;box-shadow:inset 0 1px 0 #ffe08a66,0 0 8px #f5c54233}
.mWheel .acWlegRow.r-rare{border:2px solid #5ec8ff;box-shadow:inset 0 1px 0 #a8e4ff55,0 0 8px #5ec8ff33}
.mWheel .acWlegRow.r-buuu{border:1.75px solid #9aa0b0;box-shadow:inset 0 1px 0 #ffffff22}
.mWheel .acWlegRow.r-ok{border:1.75px solid #ffe08a;box-shadow:inset 0 1px 0 #ffe08a44}
.mWheel .acWlegIco{
  display:grid;place-items:center;width:28px;height:28px;
  overflow:hidden;flex:none;position:relative;
}
.mWheel .acWlegIco .acWicoImg{width:24px!important;height:22px!important;max-width:100%;max-height:100%;object-fit:contain;display:block}
.mWheel .acWlegIco .acWicoSym{width:24px!important;height:24px!important;font-size:12px!important;border-radius:7px;display:grid;place-items:center}
.mWheel .acWlegIco .acWicoMys{
  width:24px!important;height:24px!important;border-radius:7px!important;
  background:linear-gradient(160deg,#ffffff28,#0007)!important;
  border:1px solid #c77dff88;box-shadow:0 0 8px #c77dff44;
  font-size:inherit!important;flex:none!important;color:inherit!important;
  place-items:center;display:grid;position:relative!important;
  overflow:hidden!important;isolation:isolate;
  min-width:0!important;min-height:0!important;
  grid-column:auto!important;grid-row:auto!important;
}
.mWheel .acWlegIco .acWicoMys i{font:900 13px/1 Barlow,system-ui!important;color:#ffe08a;text-shadow:0 0 6px #f5c542;z-index:1}
.mWheel .acWlegIco .acWicoMys em{position:absolute;font-style:normal;font-size:8px!important;opacity:.55;bottom:0;right:1px;line-height:1}
.mWheel .acWlegIco .acWicoMys.mysHero{border-color:#c77dff;background:linear-gradient(160deg,#6a2a8a88,#2a0a40)!important}
.mWheel .acWlegIco .acWicoMys.mysSkin{border-color:#f5a542;background:linear-gradient(160deg,#8a4a2088,#3a1a08)!important}
.mWheel .acWlegIco .acWicoMys.mysAva,.mWheel .acWlegIco .acWicoMys.ava{
  border-color:#5ec8ff;background:linear-gradient(160deg,#2a6a6a88,#0a3030)!important;
  width:24px!important;height:24px!important;border-radius:7px!important;
}
.mWheel .acWlegIco .acWicoMys::before,.mWheel .acWlegIco .acWicoMys::after{
  content:none!important;display:none!important;background:none!important;
}
.mWheel .acWlegTxt{min-width:0;display:flex;flex-direction:column;gap:1px}
.mWheel .acWlegTxt b{font:800 11px/1.15 Barlow,system-ui;color:#fff;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis}
.mWheel .acWlegTxt small{
  font:600 9.5px/1.25 Barlow,system-ui;color:#c4ceee;
  white-space:normal;overflow:hidden;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;opacity:1;
}
.mWheel .acWlegPct{display:none!important}
.mWheel .acWlegCd{margin-top:4px;font:700 12px/1.3 Barlow,system-ui;color:#9ad0ff;text-align:center}
.mWheel .acWlegCd.muted{color:#aab4d8aa}
.mWheel .acWlegCd b{color:#ffe08a}
.acWheel .acWseg.hi .acWface{filter:drop-shadow(0 0 12px #f5c542);transform:rotate(var(--faceRot,0deg)) scale(1.05)}
.acWheel .acWicoMys{position:relative;display:grid;place-items:center;width:var(--wi,72px)!important;height:var(--wi,72px)!important;max-width:var(--wi,72px);max-height:var(--wi,72px);border-radius:0;background:none!important;border:none!important;box-shadow:none!important;flex:none;box-sizing:border-box;overflow:visible!important;isolation:isolate;min-width:0!important;min-height:0!important;contain:none;filter:drop-shadow(0 1px 2px #000c)}
.acWheel .acWicoMys i{font:900 calc(var(--wi,72px) * 0.48)/1 Barlow,system-ui;color:#ffe08a;text-shadow:0 1px 2px #000,0 0 8px #f5c542;z-index:1}
.acWheel .acWicoMys em{display:none!important}
.acWheel .acWicoMys.mysHero i{color:#e0b0ff;text-shadow:0 0 8px #c77dff}
.acWheel .acWicoMys.mysSkin i{color:#ffd080;text-shadow:0 0 8px #f5a542}
.acWheel .acWicoMys.mysAva i,.acWheel .acWicoMys.ava i{color:#9eecff;text-shadow:0 0 8px #5ec8ff}
.acWheel .acWicoMys.mysAva,.acWheel .acWicoMys.ava{
  width:var(--wi,72px)!important;height:var(--wi,72px)!important;border-radius:0!important;
  background:none!important;border:none!important;font:inherit!important;color:inherit!important;
}
.acWheel .acWicoMys::before,.acWheel .acWicoMys::after{
  content:none!important;display:none!important;background:none!important;
}
.acWheel .acWicoBuuu,.acWheel .acWicoFree,.acWheel .acWicoSh,.acWheel .acWicoKey,.acWheel .acWicoEn,.acWheel .acWicoPg{
  background:none!important;border:none!important;box-shadow:none!important;border-radius:0!important;
}
.acWheel .acWicoFree{filter:drop-shadow(0 1px 2px #000c) drop-shadow(0 0 4px #f5a54288)}
.acWheel .acWicoSh{filter:drop-shadow(0 1px 2px #000c) drop-shadow(0 0 4px #7ec8ff88)}

/* phone: sticky .top overlays scroll targets — leave room so KOŁO title stays visible */
@media (max-width:820px){
  #mWheel,.mWheel,section.mWheel,.mWheel .acWstage,.mWheel .acWheel{scroll-margin-top:240px}
}


/* wheelfix29 mystery: SVG fills --wi like chests; no tile; ? is badge only */
.acWheel .acWicoMys>svg,.acWheel .acWicoFree>svg,.acWheel .acWicoBuuu>svg{width:100%;height:100%;display:block;overflow:visible;shape-rendering:geometricPrecision}
.acWheel .acWicoMys,.acWheel .acWicoFree{padding:0!important;font-size:0!important}
.acWheel .acWicoMys i{display:none!important}
.mWheel .acWlegIco .acWicoMys>svg,.mWheel .acWlegIco .acWicoFree>svg{width:100%;height:100%;display:block}
.mWheel .acWlegIco .acWicoMys,.mWheel .acWlegIco .acWicoFree{padding:0!important;font-size:0!important;background:none!important;border:none!important;box-shadow:none!important}
.mWheel .acWlegIco .acWicoMys i{display:none!important}
#tip.rich .acWtipIco .acWicoMys>svg,#tip.rich .acWtipIco .acWicoFree>svg{width:36px;height:36px;display:block}

/* wheelfix29 mystery: real art greyscale + ? badge, no tile, size = --wi */
.acWheel .acWicoMys{position:relative;display:grid;place-items:center}
.acWheel .acWicoMysImg{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;display:block;filter:grayscale(1) brightness(.7) contrast(1.08);-webkit-user-drag:none;pointer-events:none}
.acWheel .acWicoMysAva{object-fit:cover;border-radius:50%}
.acWheel .acWicoMysQ{position:absolute;right:-4%;bottom:-4%;width:42%;height:42%;margin:0;border-radius:50%;display:grid;place-items:center;font:900 calc(var(--wi,72px) * .28)/1 Barlow,system-ui;color:#ffe08a;background:#12081e;border:1.5px solid #f5c542;box-shadow:0 1px 3px #000a;z-index:2;pointer-events:none}
.acWheel .acWicoMys.mysHero .acWicoMysQ{border-color:#e0b0ff;color:#e0b0ff}
.acWheel .acWicoMys.mysSkin .acWicoMysQ{border-color:#ffd080;color:#ffd080}
.acWheel .acWicoMys.mysAva .acWicoMysQ{border-color:#9eecff;color:#9eecff}
.mWheel .acWlegIco .acWicoMys{position:relative;width:24px!important;height:24px!important;padding:0!important;background:none!important;border:none!important;box-shadow:none!important}
.mWheel .acWlegIco .acWicoMysImg{width:100%!important;height:100%!important;object-fit:contain;filter:grayscale(1) brightness(.7) contrast(1.08);display:block}
.mWheel .acWlegIco .acWicoMysAva{object-fit:cover;border-radius:50%}
.mWheel .acWlegIco .acWicoMysQ{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;font:900 9px/1 Barlow,system-ui;border-radius:50%;display:grid;place-items:center;background:#12081e;border:1px solid #f5c542;color:#ffe08a;margin:0}
#tip.rich .acWtipIco .acWicoMys{position:relative;width:40px!important;height:40px!important}
#tip.rich .acWtipIco .acWicoMysImg{width:100%!important;height:100%!important;object-fit:contain;filter:grayscale(1) brightness(.7)}
#tip.rich .acWtipIco .acWicoMysQ{width:16px;height:16px;font-size:10px;right:-2px;bottom:-2px}
/* wheel-fix29: SVG jak pasek; tip nagrody (label+desc z serwera) */
.mWheel .acWlegIco .acWicoSvg,.mWheel .acWlegIco>svg,.mWheel .acWlegIco .acWicoSym>svg{width:85%;height:85%;display:block}
.mWheel .acWlegIco .acWicoEn,.mWheel .acWlegIco .acWicoKey,.mWheel .acWlegIco .acWicoPg,.mWheel .acWlegIco .acWicoSh,
.mWheel .acWlegIco .acWicoSym,.mWheel .acWlegIco .acWicoMys,
.mWheel .acWlegIco .acWicoMys.mysHero,.mWheel .acWlegIco .acWicoMys.mysSkin,
.mWheel .acWlegIco .acWicoMys.mysAva,.mWheel .acWlegIco .acWicoMys.ava{
  background:none!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important
}
.mWheel .acWlegIco .acWicoMys em{display:none!important}
.mWheel .acWlegIco .acWicoMys.mysHero i{color:#e0b0ff!important}
.mWheel .acWlegIco .acWicoMys.mysSkin i{color:#ffd080!important}
.mWheel .acWlegIco .acWicoMys.mysAva i{color:#9eecff!important}
.mWheel .acWlegRow .chTip{display:none!important}
.mWheel .acWlegRow{cursor:help}
#tip.rich .acWtip{display:flex;align-items:flex-start;gap:10px;text-align:left}
#tip.rich .acWtipIco{flex:none;width:44px;height:44px;display:grid;place-items:center}
#tip.rich .acWtipIco .acWicoImg{width:40px!important;height:40px!important;max-width:40px;max-height:40px;object-fit:contain;filter:none}
#tip.rich .acWtipIco .acWicoSym,#tip.rich .acWtipIco .acWicoMys{width:40px!important;height:40px!important;max-width:40px;max-height:40px;background:none!important;border:none!important;box-shadow:none!important;border-radius:0;font-size:22px;padding:0;filter:drop-shadow(0 1px 2px #000a)}
#tip.rich .acWtipIco .acWicoMys i{font-size:22px!important}
#tip.rich .acWtipIco svg{width:36px;height:36px;display:block}
#tip.rich .acWtipTxt{min-width:0}
#tip.rich .acWtipTxt b{display:block;font:800 14px/1.2 Barlow,system-ui;color:#ffe08a;margin:0 0 2px}
#tip.rich .acWtipTxt p{margin:0;font:600 12.5px/1.35 Barlow,system-ui;color:#d8dff5}

/* poprawki-28: jackpot reveal — duża karta, rarity tier, rays + confetti (lite = bez FX) */
.acWrev{position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:max(12px,2vh) 12px;box-sizing:border-box;background:#060312;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--rc,#b07aef) 35%,transparent) 0%,#140a28 34%,#060312 70%);animation:acWrevIn .28s ease-out;isolation:isolate;overflow:hidden}
body:has(.acWrev) .mWheel .acWheel,
body:has(.acWrev) .mWheel .acWleg,
body:has(.acWrev) .mWheel .acWstage,
body:has(.acWrev) .mWheel .acWspinBtn,
body:has(.acWrev) .mWheel .acWres{visibility:hidden!important;pointer-events:none!important}
body:has(.acWrev) #tip,.acWrev ~ #tip{display:none!important;visibility:hidden!important}
.acWrev.out{opacity:0;transition:opacity .25s}
.acWrevFlash{position:absolute;inset:0;pointer-events:none;z-index:0;background:#fff;opacity:0}
.acWrev.jackpot .acWrevFlash{animation:acWflash .55s ease-out 1}
.acWrevRays{position:absolute;left:50%;top:46%;width:160vmax;height:160vmax;margin:-80vmax 0 0 -80vmax;pointer-events:none;z-index:0;opacity:0;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--rc,#f5c542) 55%,transparent) 0 6deg,transparent 6deg 18deg);mask:radial-gradient(circle,transparent 8%,#000 22%,#000 42%,transparent 62%);-webkit-mask:radial-gradient(circle,transparent 8%,#000 22%,#000 42%,transparent 62%)}
.acWrev:not(.buuu) .acWrevRays{opacity:.45;animation:acWraysSpin 14s linear infinite,acWraysIn .5s ease-out}
.acWrev.jackpot .acWrevRays{opacity:.7;animation:acWraysSpin 10s linear infinite,acWraysIn .45s ease-out}
.acWrev.buuu .acWrevRays,.acWrev.buuu .acWrevFlash{display:none}
.acWrevB{position:relative;z-index:2;overflow:visible;isolation:isolate;width:min(560px,94vw);max-width:94vw;box-sizing:border-box;background:linear-gradient(165deg,#d4a8ff,#8a55d0 42%,#4a2488);border:3px solid color-mix(in srgb,var(--rc,#ffe08a) 92%,#fff);border-radius:28px;padding:36px 40px 32px;box-shadow:0 0 40px color-mix(in srgb,var(--rc,#f5c542) 70%,transparent),0 0 100px color-mix(in srgb,var(--rc,#c77dff) 45%,transparent),0 22px 56px #000c,inset 0 1px 0 #fffc;text-align:center;animation:acWrevZoom .6s cubic-bezier(.2,1.45,.35,1) both}
.acWrev.big .acWrevB,.acWrev.r-rare .acWrevB{width:min(600px,94vw)}
.acWrev.jackpot .acWrevB{width:min(640px,94vw);padding:40px 44px 34px;background:linear-gradient(165deg,#efc8ff,#a56cf0 40%,#6a28c0);border-color:#ffe08a;box-shadow:0 0 0 2px #fff6,0 0 48px #d36bffcc,0 0 120px #f5c54266,0 24px 60px #000d,inset 0 1px 0 #fffe;animation:acWrevZoomBig .75s cubic-bezier(.15,1.55,.35,1) both,acWrevGoldPulse 1.1s ease-in-out .55s 4}
.acWrev.r-epic .acWrevB{border-color:#f5c542;background:linear-gradient(165deg,#ffe08a,#d4a020 38%,#8a5510 100%);color:#2a1800}
.acWrev.r-epic .acWrevArt b{color:#3a2200;text-shadow:0 1px 0 #fff6}
.acWrev.r-epic .acWrevArt small{color:#5a3810}
.acWrev.r-rare .acWrevB{border-color:#7ad4ff;background:linear-gradient(165deg,#8ad8ff,#2a78c8 45%,#143a78)}
.acWrev.buuu .acWrevB{width:min(360px,88vw);padding:22px 24px;animation:acWrevDeflate .7s ease-out both;border-color:#777;background:linear-gradient(165deg,#5a5a68,#2e2e3a);filter:grayscale(.4) brightness(.95);box-shadow:0 0 24px #000a,0 14px 36px #000c}
.acWrevBurst{position:absolute;inset:-48%;pointer-events:none;z-index:0;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--rc,#ffe08a) 90%,#fff),color-mix(in srgb,var(--rc,#c77dff) 50%,transparent) 34%,transparent 60%);opacity:0;animation:acWburstFlash .95s ease-out 1;mix-blend-mode:screen}
.acWrev.jackpot .acWrevBurst{animation-duration:1.35s;inset:-55%}
.acWrev.buuu .acWrevBurst{background:radial-gradient(circle at 50% 45%,#8888,transparent 55%);mix-blend-mode:normal;animation-duration:.6s}
.acWrevArt{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:18px}
.acWrevTier{display:inline-block;margin:0 0 4px;padding:5px 14px;border-radius:999px;font:900 13px/1 Barlow,system-ui;letter-spacing:.14em;color:#0a0618;background:var(--tc,var(--rc,#f5c542));box-shadow:0 0 18px color-mix(in srgb,var(--tc,var(--rc)) 70%,transparent),0 2px 0 #0005;text-shadow:none}
.acWrev.r-leg .acWrevTier{color:#fff;background:linear-gradient(90deg,#d36bff,#9b5cff);font-size:14px;padding:6px 16px}
.acWrev.r-epic .acWrevTier{background:linear-gradient(90deg,#ffe08a,#f5c542);color:#3a2200}
.acWrev.r-rare .acWrevTier{background:linear-gradient(90deg,#9ae4ff,#5ec8ff);color:#062238}
.acWrev.r-ok .acWrevTier,.acWrev.r-coin .acWrevTier{background:linear-gradient(90deg,#fff3c4,#f5c542);color:#3a2200}
.acWrevArt img,.acWrevArt .acWicoImg{width:240px;height:240px;object-fit:contain;filter:drop-shadow(0 0 22px var(--rc,#f5c542aa));animation:acWrevPopImg .7s cubic-bezier(.2,1.55,.35,1) both}
.acWrev.jackpot .acWrevArt img,.acWrev.jackpot .acWrevArt .acWicoImg{width:280px;height:280px;filter:drop-shadow(0 0 36px var(--rc,#d36bff));animation-duration:.85s}
.acWrev.buuu .acWrevArt img,.acWrev.buuu .acWrevArt .acWicoImg,.acWrev.buuu .acWicoSym{width:96px;height:96px;font-size:72px;animation-duration:.55s}
.acWrevArt .ava{width:200px;height:200px;border-radius:50%;display:block;background-size:cover;box-shadow:0 0 28px var(--rc);animation:acWrevPopImg .7s cubic-bezier(.2,1.55,.35,1) both}
.acWrev.jackpot .acWrevArt .ava{width:240px;height:240px}
.acWrevArt .acWicoSym{font-size:140px;line-height:1;filter:drop-shadow(0 0 18px var(--rc));animation:acWrevPopImg .7s cubic-bezier(.2,1.55,.35,1) both}
.acWrevArt b{font:900 28px/1.15 Barlow,system-ui;color:#fff;text-shadow:0 0 22px color-mix(in srgb,var(--rc,#f5c542) 75%,transparent),0 2px 0 #0008}
.acWrev.jackpot .acWrevArt b{font-size:32px}
.acWrev.buuu .acWrevArt b{font-size:20px;color:#bbb;text-shadow:none}
.acWrevArt small{font:700 14px Barlow,system-ui;color:#d4dcff}
.acWrevBtn.btn.gold{min-width:min(220px,70vw);padding:14px 28px;font:900 18px/1 Barlow,system-ui;letter-spacing:.06em;border-width:2px;box-shadow:0 0 22px #f5c542aa,0 4px 0 #6a3a08,inset 0 1px 0 #fff8!important;background:linear-gradient(180deg,#ffe08a,#f5c542 45%,#d8961d)!important;color:#3a2300!important}
.acWrev.jackpot .acWrevBtn{min-width:min(260px,74vw);padding:16px 32px;font-size:20px;box-shadow:0 0 28px #ffe08acc,0 5px 0 #6a3a08,inset 0 1px 0 #fffc!important}
.acWrev.buuu .acWrevBtn{min-width:140px;padding:10px 18px;font-size:15px;filter:grayscale(.35);box-shadow:0 0 10px #0006,0 3px 0 #333!important}
.acWrevFx{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:visible}
.acWrevFx i{position:absolute;left:50%;top:42%;width:10px;height:10px;margin:-5px;border-radius:50%;background:var(--c,#ffe08a);opacity:0;box-shadow:0 0 10px var(--c);animation-delay:var(--d,0s)}
.acWrevFx i.coin{width:16px;height:16px;border-radius:50%;border:1.5px solid #fff8;background:radial-gradient(circle at 35% 30%,#fff6c9,#f5c542 55%,#a8700c)}
.acWrevFx i.conf{width:12px;height:5px;border-radius:1px;margin:-2px -6px}
.acWrevFx.on i{animation:acWrevPart 1.5s ease-out forwards}
.acWrevFx.big.on i,.acWrevFx.jackpot.on i{animation-duration:2s}
.acWrevFx.jackpot.on i.coin{width:18px;height:18px}
.acWrevFx.buuu.on i{animation-duration:.75s}
@keyframes acWrevIn{from{opacity:0}to{opacity:1}}
@keyframes acWrevZoom{0%{opacity:0;transform:scale(.45)}55%{opacity:1;transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes acWrevZoomBig{0%{opacity:0;transform:scale(.32) rotate(-5deg)}50%{opacity:1;transform:scale(1.12) rotate(1.5deg)}100%{transform:scale(1) rotate(0)}}
@keyframes acWrevDeflate{0%{opacity:0;transform:scale(1.12)}30%{opacity:1;transform:scale(.9) rotate(-2deg)}60%{transform:scale(1.03) rotate(1deg)}100%{transform:scale(1) rotate(0);filter:grayscale(.4) brightness(.95)}}
@keyframes acWburstFlash{0%{opacity:0}20%{opacity:1}100%{opacity:0}}
@keyframes acWflash{0%{opacity:.85}40%{opacity:.25}100%{opacity:0}}
@keyframes acWraysIn{from{opacity:0;transform:scale(.6)}to{opacity:inherit;transform:scale(1)}}
@keyframes acWraysSpin{to{transform:rotate(360deg)}}
@keyframes acWrevGoldPulse{0%,100%{box-shadow:0 0 0 2px #fff6,0 0 48px #d36bffcc,0 0 120px #f5c54266,0 24px 60px #000d,inset 0 1px 0 #fffe}50%{box-shadow:0 0 0 3px #ffe08a,0 0 64px #f5c542dd,0 0 140px #d36bff99,0 24px 60px #000d,inset 0 1px 0 #fffe}}
@keyframes acWrevPopImg{0%{opacity:0;transform:scale(.15)}55%{opacity:1;transform:scale(1.18)}78%{transform:scale(.94)}100%{transform:scale(1)}}
@keyframes acWrevPart{0%{opacity:1;transform:translate(0,0) scale(1) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.15) rotate(200deg)}}
@media (max-width:820px){
  .acWrevB{width:min(340px,92vw);padding:26px 20px 22px;border-radius:22px}
  .acWrev.big .acWrevB,.acWrev.r-rare .acWrevB,.acWrev.jackpot .acWrevB{width:min(360px,94vw);padding:28px 22px 24px}
  .acWrevArt img,.acWrevArt .acWicoImg{width:min(200px,52vw);height:min(200px,52vw)}
  .acWrev.jackpot .acWrevArt img,.acWrev.jackpot .acWrevArt .acWicoImg{width:min(230px,58vw);height:min(230px,58vw)}
  .acWrevArt .ava{width:min(160px,44vw);height:min(160px,44vw)}
  .acWrev.jackpot .acWrevArt .ava{width:min(190px,50vw);height:min(190px,50vw)}
  .acWrevArt .acWicoSym{font-size:min(110px,28vw)}
  .acWrevArt b{font-size:22px}
  .acWrev.jackpot .acWrevArt b{font-size:24px}
  .acWrevBtn.btn.gold{min-width:min(200px,72vw);padding:12px 22px;font-size:16px}
  .acWrev.jackpot .acWrevBtn{font-size:17px;padding:14px 24px}
  .acWrev.buuu .acWrevB{width:min(280px,88vw)}
}
@media (prefers-reduced-motion:reduce){
  .acWrev,.acWrevB,.acWrevBurst,.acWrevFlash,.acWrevRays,.acWrevArt img,.acWrevArt .ava,.acWrevArt .acWicoSym,.acWrevFx i{animation:none!important}
  .acWrevRays,.acWrevFlash,.acWrevFx{display:none!important}
  .acWrevB{opacity:1;transform:none}
}
html.acFxLite .acWrevRays,html.acLowFx .acWrevRays,
html.acFxLite .acWrevFlash,html.acLowFx .acWrevFlash,
html.acFxLite .acWrevFx,html.acLowFx .acWrevFx,
html.acFxLite .acWrevBurst,html.acLowFx .acWrevBurst{display:none!important;animation:none!important}
html.acFxLite .acWrevB,html.acLowFx .acWrevB{animation:none!important;opacity:1;transform:none}
html.acFxLite .acWrevArt img,html.acLowFx .acWrevArt img,
html.acFxLite .acWrevArt .ava,html.acLowFx .acWrevArt .ava,
html.acFxLite .acWrevArt .acWicoSym,html.acLowFx .acWrevArt .acWicoSym{animation:none!important}


@media (min-width:1500px){
  .mWheel .acWheel{--wr:148px;width:min(380px,100%);height:auto;aspect-ratio:1}
  .mWheel .acWstage{padding:30px 30px 12px}
}
@media (max-width:820px){
  .mWheel .mWbody{grid-template-columns:1fr;gap:6px;justify-items:center;padding:0 2px;max-width:100%}
  .mWheel .acWleft{width:100%;align-items:center}
  .mWheel .acWstage{padding:24px 24px 4px;width:100%;max-width:100%;box-sizing:border-box}
  .mWheel .acWheel{--wr:130px;width:min(340px,94vw);height:auto;aspect-ratio:1;margin:0 auto;max-width:100%}
  .mWheel .acWleg{max-width:100%;width:100%;min-width:0;padding:2px 0 0}
  .mWheel .acWlegList{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(7,auto);grid-auto-flow:column;gap:6px;max-height:none;overflow:visible}
  .mWheel .acWlegRow{grid-template-columns:28px minmax(0,1fr);padding:6px 7px;opacity:1!important;filter:none!important}
  .mWheel .acWlegRow *{opacity:1!important}
  .mWheel .acWlegTxt small{display:none}
  .mWheel .mWbtns{margin:0 auto;padding:0}
  .card.mWheel::before,.mWheel::before{opacity:.28;mix-blend-mode:normal;background:radial-gradient(ellipse 70% 55% at 50% 38%,#f5c54233 0%,transparent 62%)!important}
  .card.mWheel::after,.mWheel::after{opacity:.2}
  .card.mWheel,.mWheel{overflow:hidden}
}
@media (max-width:340px){
  .mWheel .acWlegList{grid-template-columns:1fr 1fr;grid-template-rows:repeat(7,auto);grid-auto-flow:column;gap:5px}
  .mWheel .acWlegRow{padding:4px 5px;grid-template-columns:24px 1fr}
  .mWheel .acWlegTxt b{font-size:10px}
  .mWheel .acWlegPct{display:none!important}
  .mWheel .acWstage{padding:18px 18px 4px}
}

/* ===== poprawki-28: seria 30 dni ===== */
.mstreak .mcal{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px}
.mstreak .mday.mile{border-color:#f5c54299;box-shadow:0 0 14px #f5c54233;background:linear-gradient(180deg,#3a2a1288,#0a1236)}
.mstreak .mday.mile30{border-color:#c77dffcc;box-shadow:0 0 18px #c77dff55;background:linear-gradient(180deg,#3a1a5a88,#0a0618)}
.mstreak .mday.locked{opacity:.42;filter:grayscale(.25)}
.mstreak .mday .mMileTag{display:inline-block;margin-top:2px;font:800 9px/1 Barlow,system-ui;letter-spacing:.06em;text-transform:uppercase;color:#ffe08a;background:#f5c54222;border:1px solid #f5c54255;border-radius:999px;padding:2px 6px}
.mstreak .mday.mile30 .mMileTag{color:#e8c8ff;background:#c77dff22;border-color:#c77dff66}
@media (max-width:820px){.mstreak .mcal{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (max-width:560px){.mstreak .mcal{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:380px){.mstreak .mcal{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

html.acFxLite .mWheel::before,html.acLowFx .mWheel::before{background:radial-gradient(ellipse 80% 60% at 50% 42%,#f5c54228 0%,transparent 60%);opacity:.7;mix-blend-mode:normal}
html.acFxLite .mWheel::after,html.acLowFx .mWheel::after{opacity:.45}
html.acFxLite .acWheel .acWbulbs i,html.acLowFx .acWheel .acWbulbs i,
html.acFxLite .acWheel .acWfx i,html.acLowFx .acWheel .acWfx i,
html.acFxLite .acWheel .acWptr,html.acLowFx .acWheel .acWptr,
html.acFxLite .acWheel.buuu,html.acLowFx .acWheel.buuu,
html.acFxLite .acWrevB,html.acLowFx .acWrevB,
html.acFxLite .acWrevBurst,html.acLowFx .acWrevBurst,
html.acFxLite .acWrevFx i,html.acLowFx .acWrevFx i{animation:none!important}
html.acFxLite .acWheel.spinning .acWbulbs i,html.acLowFx .acWheel.spinning .acWbulbs i{opacity:.7;filter:none}
html.acFxLite .acWheel .acWshine,html.acLowFx .acWheel .acWshine{opacity:.35}
html.acFxLite .acWrevFx,html.acLowFx .acWrevFx{display:none!important}
html.acFxLite .acWheel.buuu,html.acLowFx .acWheel.buuu{filter:grayscale(.7) brightness(.75)}

/* beat .card.neon purple so VIP card is gold-themed end-to-end */
.card.neon.mWheel{border-color:#f5c542!important;box-shadow:0 0 32px #f5c54266,0 0 30px #f5c54222,inset 0 1px 0 #ffe08a33!important;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%,#f5c54240 0%,#f5c54214 28%,transparent 58%),
    radial-gradient(ellipse 80% 55% at 50% 100%,#9b5cff33 0%,transparent 55%),
    linear-gradient(165deg,#2a1848 0%,#15102e 42%,#0a0618 100%)!important}

/* ranking: pasek XP + ładniejszy header */
.szBan{position:relative;overflow:hidden;background:linear-gradient(120deg,#1a1458 0%,#2a1a70 40%,#0c1848 100%)!important;border:1px solid #7a5cff!important;box-shadow:0 0 28px #7b4bff44}
.szBan::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 20% 0%,#9b5cff55,transparent 55%),radial-gradient(ellipse at 90% 100%,#f5c54233,transparent 50%);pointer-events:none}
.szMeBar,.rkXp{position:relative;height:12px;border-radius:999px;background:#ffffff14;overflow:hidden;margin:8px 0 4px}
.szMeBar i,.rkXp i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#5ec8ff,#9b5cff 60%,#f5c542);box-shadow:0 0 10px #9b5cff88}
.szMe .szMeLvl{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;background:#9b5cff33;border:1px solid #9b5cff88;font:800 12px Barlow,system-ui;color:#e8deff}

.mWheel .acWspinBtn{position:relative;overflow:hidden;isolation:isolate}
.mWheel .acWspinBtn::after{content:"";position:absolute;inset:-2px auto -2px 0;width:40%;z-index:0;pointer-events:none;
  background:linear-gradient(100deg,transparent,#ffffffb0 50%,transparent);transform:translateX(-140%) skewX(-18deg);
  animation:acWshineBtn 2.8s ease-in-out infinite}
.mWheel .acWspinBtn:disabled::after{animation:none;opacity:0}
.mWheel .acWspinBtn .acWspinLab{position:relative;z-index:1}
@keyframes acWshineBtn{0%,55%{transform:translateX(-140%) skewX(-18deg)}80%,100%{transform:translateX(320%) skewX(-18deg)}}
.acWheel .acWseg.rare .acWface{filter:drop-shadow(0 0 8px #c77dffaa)}
.acWheel .acWseg[data-id=legendarna] .acWicoImg{filter:drop-shadow(0 0 14px #c77dffee) drop-shadow(0 2px 4px #000a)}
html.acFxLite .mWheel .acWspinBtn::after,html.acLowFx .mWheel .acWspinBtn::after{animation:none!important;opacity:0}

/* sezon: etykiety DARMOWE / PREMIUM w tej samej siatce co kafelki (równa wysokość i rząd) */
.ppTrack{position:relative;overflow-x:auto;padding:6px 4px 14px 0!important;scroll-behavior:smooth}
.ppSheet{display:grid;grid-template-columns:92px repeat(var(--n),92px);grid-template-rows:28px 104px 104px;gap:8px;align-items:stretch;width:max-content;min-width:100%;box-sizing:border-box}
.ppCorner{grid-column:1;grid-row:1}
.ppNum{position:relative;width:100%;height:100%;min-height:28px;border-radius:8px;display:grid;place-content:center;font:900 .8rem system-ui;background:#ffffff14;color:#9aa6d6;box-sizing:border-box}
.ppNum.on{background:linear-gradient(#ffd36b,#ff9a1f);color:#2a1400}
.ppNum.cur{box-shadow:0 0 0 3px #fff,0 0 16px #ffd36b;padding-top:10px}
.ppNum.ms{color:#ffd24a;font-weight:900}
.ppLabT{box-sizing:border-box;height:100%;min-height:0;max-height:none;padding:8px 6px;margin:0;border-radius:14px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;overflow:hidden;align-self:stretch}
.ppLabFree{grid-column:1;grid-row:2}
.ppLabPrem{grid-column:1;grid-row:3}
.ppLabT b{display:block;font:900 12px/1.05 Barlow,system-ui;letter-spacing:.08em;text-transform:uppercase;margin:0;padding:0;white-space:nowrap;max-width:100%}
.ppLabT small{display:block;font:700 10px/1.15 Barlow,system-ui;letter-spacing:.02em;text-transform:none;opacity:.9;margin:0;padding:0 2px;max-width:100%;white-space:normal}
.ppLabIco,.ppLabT .ppLabIco{display:block!important;height:auto!important;min-height:0!important;max-height:22px!important;width:auto!important;padding:0!important;margin:0!important;border:none!important;background:none!important;box-shadow:none!important;font-size:15px!important;line-height:1!important;filter:drop-shadow(0 0 6px #f5c542aa);letter-spacing:0!important;text-transform:none!important}
.ppLabFree{background:linear-gradient(160deg,#1a4a8a,#0b1a40 80%)!important;border:1px solid #5ec8ff;color:#d8f0ff!important;box-shadow:0 0 14px #3af6,inset 0 1px 0 #ffffff33}
.ppLabPrem{background:linear-gradient(160deg,#7a5010,#2a1808 80%)!important;border:1px solid #f5c542;color:#ffe08a!important;box-shadow:0 0 16px #f5c54277,inset 0 1px 0 #ffe08a44;text-shadow:0 0 8px #f5c54288}
.ppColCell{display:flex;align-items:stretch;justify-content:center;height:100%}
.ppColCell .ppC{width:92px;height:100%;min-height:104px;box-sizing:border-box}
.ppTrack .ppNum{font-variant-numeric:tabular-nums}
.ppLab{display:none!important} /* stary absolutny układ – wyłączony */
@media (max-width:400px){
  .ppSheet{grid-template-columns:76px repeat(var(--n),84px);grid-template-rows:26px 96px 96px;gap:6px}
  .ppLabT{padding:6px 4px;gap:4px}
  .ppLabT b{font-size:11px;letter-spacing:.06em}
  .ppLabT small{font-size:9px}
  .ppLabIco{font-size:13px}
  .ppColCell .ppC{width:84px;min-height:96px}
}
@media (min-width:1366px){
  .ppSheet{grid-template-columns:96px repeat(var(--n),96px);grid-template-rows:28px 104px 104px;gap:8px}
  .ppColCell .ppC{width:96px}
}

.ppPrem{position:relative;z-index:5}
.ppPrem #ppBuy,.ppPrem .ppHave{position:relative}
.ppPrem .ppTip{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(300px,92vw);padding:12px 14px;border-radius:14px;background:linear-gradient(160deg,#1a1238f8,#0b0826f8);border:1px solid #f5c542;color:#eef;font:600 12px/1.45 Barlow,system-ui;box-shadow:0 10px 32px #000c,0 0 20px #f5c54244;text-align:left;pointer-events:none}
.ppPrem .ppTip b{color:#ffe08a;display:block;margin-bottom:4px;font-size:13px}
.ppPrem .ppTip.on,.ppTip.on,.ppPrem:hover .ppTip,.ppPrem:focus-within .ppTip,#ppBuy:hover + .ppTip,#ppBuy:focus + .ppTip{display:block!important}
.ppLvExplain{margin:8px 0 10px;padding:8px 12px;border-radius:12px;background:#ffffff0a;border:1px solid #5ec8ff44;font:600 12px/1.45 Barlow,system-ui;color:#c8d4ff}
.ppLvExplain b{color:#ffe08a}
.ppTrack .ppNum{font-variant-numeric:tabular-nums}

/* --- Arena Live (zakładka Turnieje): dołączenie + Punkty Wejścia --- */
[data-page=turnieje] .trHero,[data-page=turnieje] .pgHero,[data-page=turnieje] .szTrBan{border:1px solid #f5c54299;box-shadow:0 0 36px #f5c54244,inset 0 1px 0 #ffe08a33;background:radial-gradient(ellipse 70% 80% at 85% 20%,#f5c54233 0%,transparent 55%),radial-gradient(ellipse 50% 60% at 10% 80%,#9b5cff33 0%,transparent 50%),linear-gradient(135deg,#1a1040 0%,#0a0e28 100%)}
[data-page=turnieje] .trCta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
[data-page=turnieje] .trCta .btn.gold.big,[data-page=turnieje] #tSignB,.tourJoin .btn.gold{font:900 17px/1 Barlow,system-ui;letter-spacing:.06em;padding:14px 26px;border-radius:14px;box-shadow:0 0 28px #f5c54299,0 6px 0 #8a5a10,inset 0 1px 0 #fff8;text-transform:uppercase}
[data-page=turnieje] .trCta > .mut{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:linear-gradient(100deg,#0a4a48,#0a2848);border:1px solid #3ad0c8;color:#a8fff6;font:800 13px Barlow,system-ui;box-shadow:0 0 16px #3ad0c866}
[data-page=turnieje] .trCta > .mut svg,[data-page=turnieje] .tcost svg,[data-page=turnieje] .entryChip svg{width:20px;height:20px;flex:none;filter:drop-shadow(0 0 6px #3ad0c8)}
[data-page=turnieje] .tcost,[data-page=turnieje] .tEntry,[data-page=turnieje] .entryChip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:linear-gradient(90deg,#0a3a3a,#0a2040);border:1px solid #3ad0c8;color:#a8fff6;font:800 13px Barlow,system-ui;box-shadow:0 0 14px #3ad0c866}
[data-page=turnieje] .trPrizeImg,[data-page=turnieje] .ePrize img{width:110px!important;height:auto;filter:drop-shadow(0 0 20px #f5c542cc)}
[data-page=turnieje] .trInfo b.g,[data-page=turnieje] .trTxt h2{color:#ffe08a;text-shadow:0 0 14px #f5c54266}
[data-page=turnieje] .trCount{display:flex;gap:8px;margin:10px 0}
[data-page=turnieje] .trCount > div{min-width:58px;padding:8px 6px;border-radius:12px;background:#0006;border:1px solid #f5c54244;text-align:center;box-shadow:0 0 12px #f5c54222}
[data-page=turnieje] .trCount b{display:block;font:900 22px/1 Barlow,system-ui;color:#ffe08a}
[data-page=turnieje] .trCount small{font:700 10px Barlow,system-ui;color:#aab4d8;text-transform:uppercase;letter-spacing:.06em}

/* misje: jeden modal naraz */
.mGot{z-index:10050}
.mGot.ui5Got.arm .mGotB{pointer-events:auto}

@media (prefers-reduced-motion:reduce){
  .pfTile,.pfB,.rnTile,.acWheel .acWspin,.acWheel .acWglow{transition:none!important;animation:none!important}
}

/* ranking: pasek XP poziomu konta */
.szMeLvl{display:inline-block;margin:4px 0 2px;padding:3px 10px;border-radius:999px;background:linear-gradient(90deg,#7a5cff33,#f5c54222);border:1px solid #9b7cff88;font:800 12px Barlow,system-ui;color:#dce4ff;letter-spacing:.04em;box-shadow:0 0 10px #7a5cff44}
.szXpBar{position:relative;height:16px;margin:4px 0 8px;border-radius:999px;background:#0a1028;border:1px solid #9b7cff77;overflow:hidden;box-shadow:inset 0 0 12px #000a,0 0 10px #5a3cff33}
.szXpBar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#4a2aff,#b48cff 50%,#ffe08a);box-shadow:0 0 14px #7a5cffcc;transition:width .35s ease}
.szXpBar em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:800 10px Barlow,system-ui;color:#eef;text-shadow:0 1px 2px #000;letter-spacing:.03em;pointer-events:none}
.szBan{position:relative;overflow:hidden;background:radial-gradient(100% 120% at 90% -10%,#7a5cff55 0%,transparent 50%),radial-gradient(80% 100% at 0% 100%,#f5c54222 0%,transparent 45%),linear-gradient(125deg,#1a1450 0%,#0c1230 55%,#080c20 100%)!important;border:1px solid #9b7cff77;box-shadow:0 0 36px #5a3cff44,inset 0 1px 0 #ffffff18}
.szBan::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 40%,#ffffff08 50%,transparent 60%);opacity:.65}
.szBanTxt h2{text-shadow:0 0 18px #7a5cff88}

/* poprawki-28: misje w profilu – karty jak w zakładce Misje (nie stara lista) */
.pfMisSec{margin-top:12px}
.pfMisSec>h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.pfMis{display:block;margin:0;padding:0;list-style:none}
.pfMisBlk{margin:10px 0 14px}
.pfMisBlk h4{margin:0 0 8px;font:800 13px/1.2 Barlow,system-ui;letter-spacing:.08em;text-transform:uppercase;color:#a9b8ee}
.pfMisGrid.mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.pfMis .mcard{min-height:0}
.pfMisMore{margin:8px 0 0;text-align:right}
.pfMisMore a{font:700 13px Barlow,system-ui;color:#9ad0ff}
@media (max-width:520px){.pfMisGrid.mgrid{grid-template-columns:1fr}}
/* referral-30: visual steps + how + progress */
.pfRef .pfRefLead{margin:0 0 10px}
.pfRef .pfRefSteps{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pfRef .pfRefStep{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:12px 8px 12px;min-height:168px;box-sizing:border-box;border-radius:14px;background:#0b0826aa;border:1px solid #4a3a9a;box-shadow:inset 0 0 0 1px #ffffff08;overflow:hidden}
.pfRefIc{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;font-size:22px;line-height:1;background:linear-gradient(160deg,#2a1f70,#141038);border:1px solid #7a5cff88;box-shadow:0 0 14px #7b4bff44}
.pfRefSn{position:absolute;top:8px;left:8px;z-index:1;min-width:22px;height:22px;padding:0 5px;border-radius:999px;display:grid;place-items:center;font:800 11px/1 Barlow,system-ui;color:#1a1400;background:#f5c542;box-shadow:0 0 8px #f5c54266}
.pfRefStepTx{min-width:0;width:100%}
.pfRefStep b,.pfRefTier b{display:block;font:800 13px/1.25 Barlow,system-ui;color:#ffe08a;margin:0 0 3px;overflow-wrap:anywhere;word-break:normal;hyphens:manual}
.pfRefStep small,.pfRefTier small{display:block;font:600 11px/1.35 Barlow,system-ui;color:#b8c0ef;overflow-wrap:anywhere;word-break:normal}
.pfRefStepRw,.pfRefTierArt{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:6px;min-height:56px;margin:2px 0}
.pfRefRw{position:relative;display:grid;place-items:center;width:56px;height:56px;flex:none}
.pfRefRw > img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 4px 8px #0008)}
.pfRefRw .cart{width:56px;height:56px}
.pfRefRw .cart > img{width:100%;height:100%;object-fit:contain}
/* shop-identical złota glow (+ a touch more brightness so locked still reads gold) */
.pfRefChest.c-zlota .cart.t-zlota > img{
  filter:drop-shadow(0 0 14px #f5c542) drop-shadow(0 0 32px #ff9d1a88) brightness(1.12) saturate(1.25) !important;
}
.pfRefRw svg{width:40px;height:40px;display:block}
.pfRefCur{border-radius:14px;background:radial-gradient(circle at 50% 30%,#2a1f70,#0d0a28);border:1px solid #5a4ab0;box-shadow:0 0 12px #7b4bff33}
.pfRefCur.c-GAME{color:#7ff6ff;border-color:#3fd6ff88}
.pfRefCur.c-ENTRY{color:#7dff8a;border-color:#46e3a088}
.pfRefCur.c-VIPKI{color:#ffd34d;border-color:#f5c54288}
.pfRefQty{position:absolute;right:-4px;bottom:-2px;padding:2px 6px;border-radius:999px;font:900 12px/1 Barlow,system-ui;color:#1a1400;background:#f5c542;box-shadow:0 2px 8px #0008;white-space:nowrap}
.pfRefHow{margin:8px 0;border-radius:12px;border:1px solid #3a3480;background:#0b082688;overflow:hidden}
.pfRefHow>summary{cursor:pointer;list-style:none;padding:10px 12px;font:800 14px Barlow,system-ui;color:#cfd8ff;user-select:none}
.pfRefHow>summary::-webkit-details-marker{display:none}
.pfRefHow>summary::before{content:'▸ ';color:#f5c542}
.pfRefHow[open]>summary::before{content:'▾ '}
.pfRefHowB{padding:0 12px 12px;font:600 13px/1.45 Barlow,system-ui;color:#dce2ff}
.pfRefHowB p{margin:0 0 6px}
.pfRefProgress{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0;min-height:32px}
.pfRefProgress span{padding:5px 11px;border-radius:999px;background:#ffffff12;border:1px solid #5a4ab088;font:700 12px Barlow,system-ui;color:#cfd8ff}
.pfRefProgress b{color:#ffe08a;font-variant-numeric:tabular-nums}
.pfRefTierH{margin:12px 0 8px;font:800 14px Barlow,system-ui;color:#cfd8ff;letter-spacing:.02em}
.pfRef .pfRefTiers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pfRef .pfRefTier{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:14px 10px 12px;min-height:168px;box-sizing:border-box;border-radius:14px;background:#0b0826aa;border:1px solid #4a3a9a;box-shadow:inset 0 0 0 1px #ffffff08;overflow:hidden}
.pfRef .pfRefTier.done{border-color:#f5c542;box-shadow:0 0 16px #f5c54244,inset 0 0 0 1px #f5c54233}
.pfRef .pfRefTier.locked{opacity:.88}
/* bez grayscale – złota musi zostać złota także w stanie locked */
.pfRef .pfRefTier.locked .pfRefTierArt{filter:none}
.pfRef .pfRefTier.locked .pfRefTierArt .pfRefCur{opacity:.85}
.pfRef .pfRefTier.locked .pfRefChest:not(.c-zlota){opacity:.88}
.pfRef .pfRefTier.locked .pfRefChest.c-zlota{filter:none;opacity:1}
.pfRef .pfRefTier.locked .pfRefChest.c-zlota .cart.t-zlota > img{
  filter:drop-shadow(0 0 16px #f5c542) drop-shadow(0 0 28px #ffb000aa) brightness(1.15) saturate(1.3) !important;
  opacity:1;
}
.pfRef .pfRefTier.locked .pfRefChest.c-zlota .cshine{opacity:.85}
.pfRefTierSt{display:block;margin-top:auto;padding:3px 8px;border-radius:999px;font:800 11px/1.2 Barlow,system-ui;color:#cfd8ff;background:#ffffff10}
.pfRef .pfRefTier.done .pfRefTierSt{color:#1a1400;background:#f5c542}
.pfRefTierName{min-height:2.7em}
@media (max-width:900px){
  .pfRef .pfRefSteps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pfRef .pfRefTiers{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pfRef .pfRefStep,.pfRef .pfRefTier{min-height:150px}
}
@media (max-width:520px){
  .pfRef .pfRefSteps,.pfRef .pfRefTiers{grid-template-columns:1fr;gap:8px}
  .pfRef .pfRefStep,.pfRef .pfRefTier{
    min-height:0;flex-direction:column;align-items:center;justify-content:flex-start;
    text-align:center;padding:14px 12px 12px;gap:6px
  }
  .pfRefIc{width:40px;height:40px;font-size:20px}
  .pfRefStepRw,.pfRefTierArt{min-height:48px;margin:2px 0;justify-content:center}
  .pfRefStepTx{width:100%;min-width:0}
  .pfRefStep b,.pfRefTier b{font-size:14px;overflow-wrap:anywhere;word-break:normal}
  .pfRefStep small,.pfRefTierName{font-size:12px;min-height:0;overflow-wrap:anywhere;word-break:normal}
  .pfRefTierSt{margin-top:4px}
  .pfRefRw{width:52px;height:52px}
  .pfRefRw > img,.pfRefRw .cart{width:52px;height:52px}
  .pfRefRw svg{width:36px;height:36px}
  .pfRefSn{top:10px;left:10px}
}

/* sweep31: short landscape — keep Igrzyska START ZA clock on-screen */
@media (max-height: 430px){
  #acPartyBar{padding:4px 10px;margin:0 0 4px}
  #acPartyBar .ptH small{display:none}
  #acPartyBar .ptInv{height:28px;min-height:28px;padding:0 12px;font-size:14px}
  html[class*=emb] .emblem{top:0!important;width:min(480px,92%)!important}
  .emblem .eWrap{transform:scale(.68)!important;transform-origin:50% 0;margin-bottom:-110px!important}
  .emb3 .eT1,.emblem .eT1{font-size:32px!important}
  .emb3 .eT2,.emblem .eT2{font-size:11px!important;letter-spacing:.18em}
  .emblem .eCrown,.emblem .ecrown{width:48px!important;height:34px!important;margin-bottom:-10px}
  .emblem .eClock .u b{font-size:20px!important}
  .emblem .eClock .u{min-width:36px}
  .emblem .ePrize img{width:44px!important}
  .emblem .ePrize b{font-size:14px!important}
  .emblem .tsb,.emblem .tsign .btn{font-size:13px!important;padding:8px 12px!important}
  .emb3 .ePlate,.emblem .ePlate{padding:8px 14px 12px!important}
}
