/* Gladiatorz Levelaufstieg */
.gzLevelupOverlay{
  position:fixed;
  inset:0;
  z-index:2147482500;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 50% 44%, rgba(122,77,18,.34), rgba(0,0,0,.78) 62%, rgba(0,0,0,.88));
  animation:gzLevelupFadeIn .22s ease both;
  color:#f7e7ba;
  pointer-events:auto;
}
.gzLevelupOverlay.isClosing{animation:gzLevelupFadeOut .20s ease both;}
.gzLevelupGlow{
  position:absolute;
  width:min(54vw,760px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,209,93,.34), rgba(185,115,26,.13) 42%, rgba(0,0,0,0) 68%);
  filter:blur(2px);
  animation:gzLevelupGlow 2.4s ease-in-out infinite;
}
.gzLevelupBox{
  position:relative;
  width:min(560px, calc(100vw - 36px));
  border-radius:26px;
  padding:30px 34px 28px;
  text-align:center;
  background:
    linear-gradient(180deg, rgba(55,31,11,.96), rgba(13,10,7,.98)),
    radial-gradient(circle at 50% 0, rgba(255,231,155,.18), transparent 58%);
  border:1px solid rgba(255,225,141,.56);
  box-shadow:
    0 26px 90px rgba(0,0,0,.72),
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 0 42px rgba(218,156,49,.20);
  overflow:hidden;
  transform-origin:center;
  animation:gzLevelupPop .44s cubic-bezier(.2,1.25,.32,1) both;
}
.gzLevelupBox:before,
.gzLevelupBox:after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,225,141,.70), transparent);
}
.gzLevelupBox:before{top:13px;}
.gzLevelupBox:after{bottom:13px;}
.gzLevelupKicker{
  font-size:28px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#ffe7a1;
  text-shadow:0 2px 0 rgba(0,0,0,.65), 0 0 24px rgba(255,200,83,.36);
}
.gzLevelupLevel{
  margin:18px auto 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  font-weight:900;
  line-height:1;
}
.gzLevelupLevel span{
  font-size:32px;
  opacity:.52;
  color:#c8a568;
}
.gzLevelupLevel em{
  font-style:normal;
  font-size:30px;
  color:#be8a2d;
  opacity:.9;
}
.gzLevelupLevel strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:96px;
  height:96px;
  border-radius:50%;
  font-size:54px;
  color:#2d1605;
  background:radial-gradient(circle at 35% 28%, #fff2b8, #d79a2c 58%, #70400e 100%);
  border:2px solid rgba(255,239,179,.78);
  box-shadow:0 0 0 6px rgba(141,84,16,.35), 0 10px 34px rgba(0,0,0,.45), 0 0 36px rgba(255,194,65,.35);
  text-shadow:0 1px 0 rgba(255,255,255,.3);
}
.gzLevelupSub{
  font-size:18px;
  font-weight:900;
  color:#f3d58e;
  margin-bottom:10px;
}
.gzLevelupRank{
  margin:6px auto 13px;
  display:inline-flex;
  gap:6px;
  align-items:center;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(126,72,18,.38);
  border:1px solid rgba(255,224,151,.22);
  font-size:13px;
  color:#ead29b;
}
.gzLevelupRank b{color:#ffe7a1;}
.gzLevelupRewards{
  margin:16px auto 10px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.gzLevelupReward{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:10px 12px;
  border-radius:15px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(255,228,164,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  text-align:left;
}
.gzLevelupReward span{
  flex:0 0 auto;
  min-width:42px;
  color:#ffe7a1;
  font-size:20px;
  font-weight:900;
  text-align:center;
  text-shadow:0 0 14px rgba(255,200,83,.32);
}
.gzLevelupReward b{
  color:#ead8aa;
  font-size:13px;
  line-height:1.15;
}
.gzLevelupUnlock{
  margin:12px auto 18px;
  padding:10px 14px;
  border-radius:16px;
  background:rgba(255,214,111,.09);
  border:1px solid rgba(255,228,164,.16);
}
.gzLevelupUnlock small{
  display:block;
  margin-bottom:4px;
  text-transform:uppercase;
  font-weight:900;
  font-size:10px;
  letter-spacing:.08em;
  color:#d8ad54;
}
.gzLevelupUnlock div{
  color:#ffe8ad;
  font-weight:800;
  font-size:13px;
}
.gzLevelupBtn{
  min-width:150px;
  min-height:42px;
  font-size:15px;
  font-weight:900;
}
.gzLevelupSparks{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
}
.gzLevelupSparks i{
  position:absolute;
  left:50%;
  top:50%;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ffe29a;
  box-shadow:0 0 14px rgba(255,213,111,.8);
  opacity:0;
  animation:gzLevelupSpark 1.45s ease-in-out infinite;
}
.gzLevelupSparks i:nth-child(1){--x:-230px;--y:-130px;animation-delay:.05s;}
.gzLevelupSparks i:nth-child(2){--x:230px;--y:-105px;animation-delay:.22s;}
.gzLevelupSparks i:nth-child(3){--x:-190px;--y:120px;animation-delay:.42s;}
.gzLevelupSparks i:nth-child(4){--x:210px;--y:130px;animation-delay:.64s;}
.gzLevelupSparks i:nth-child(5){--x:-40px;--y:-205px;animation-delay:.86s;}
.gzLevelupSparks i:nth-child(6){--x:52px;--y:205px;animation-delay:1.04s;}
@keyframes gzLevelupFadeIn{from{opacity:0}to{opacity:1}}
@keyframes gzLevelupFadeOut{from{opacity:1}to{opacity:0}}
@keyframes gzLevelupPop{from{opacity:0;transform:translateY(18px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes gzLevelupGlow{0%,100%{transform:scale(.96);opacity:.72}50%{transform:scale(1.05);opacity:1}}
@keyframes gzLevelupSpark{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1)}}
@media (max-width:640px){
  .gzLevelupBox{padding:26px 20px 24px;border-radius:22px;}
  .gzLevelupKicker{font-size:23px;}
  .gzLevelupLevel strong{min-width:82px;height:82px;font-size:46px;}
  .gzLevelupRewards{grid-template-columns:1fr;}
}
