/*
 * JLPT180 Avatar Panel / Pháp Tướng CSS owner.
 * P4.5: moved from assets/css/dashboard.css.
 * Scope: #phapTuongPanel / .pt3-* / #charDoll / side-box pet/phap-khi visuals.
 */
body.jlpt180-clean-lobby #phapTuongPanel{
border: 2px solid var(--jlpt-line) !important;
  box-shadow: var(--jlpt-shadow) !important;
  
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
grid-area: 2 / 2 / 3 / 3;
    position: relative;
    height: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(140,255,140,.28)), var(--jlpt-bg-stage) center / cover no-repeat !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel::before{
content: "";
    position: absolute;
    left: 21%;
    right: 8%;
    top: 43%;
    height: 44%;
    background: var(--jlpt-bg-glow) center / contain no-repeat;
    opacity: .95;
    pointer-events: none;
  }



  body.jlpt180-clean-lobby .pt3-wrap,
body.jlpt180-clean-lobby .pt3-ava-zone{
position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }



  body.jlpt180-clean-lobby .pt3-prog-bar{
position: absolute !important;
    left: 12px;
    right: 82px;
    top: 8px;
    height: 7px;
    z-index: 4;
  }



  body.jlpt180-clean-lobby .pt3-prog-bar .pb{
height: 7px !important;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.78) !important;
  }



  body.jlpt180-clean-lobby .pt3-prog-bar .pf{
height: 100%;
    background: linear-gradient(90deg, #28f3ff, #72ff53, #ffe25a, #ff62d0) !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:first-child{
position: relative !important;
    z-index: 5;
    width: 100% !important;
    height: 52px;
    padding: 7px 6px 7px 44px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }



  body.jlpt180-clean-lobby .pt3-char-name{
max-width: 280px;
    color: #102f7b !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    text-transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }



  body.jlpt180-clean-lobby .pt3-char-realm{
color: #073451 !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel button{
min-height: 36px;
    border: 0 !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #21d5e5, #0ba3b4) !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.28);
    box-shadow: 0 5px 14px rgba(38,107,255,.24);
  }



  body.jlpt180-clean-lobby .hero-display-wrapper{
position: absolute !important;
    left: 0;
    right: 0;
    top: 58px;
    bottom: 54px;
    min-height: 0 !important;
    z-index: 3;
  }



  body.jlpt180-clean-lobby .side-box-wrap-tt{
left: 56% !important;
    top: 47% !important;
    width: 126px !important;
    height: 126px !important;
    transform: none !important;
    z-index: 3 !important;
  }



  body.jlpt180-clean-lobby .epic-pet-box{
width: 126px !important;
    height: 126px !important;
    border: 0 !important;
    background: transparent !important;
  }



  body.jlpt180-clean-lobby .epic-pet-frame{
display: none !important;
  }



  body.jlpt180-clean-lobby .epic-pet-avatar,
body.jlpt180-clean-lobby .epic-pet-placeholder{
left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: none;
  }



  body.jlpt180-clean-lobby #charDoll{
left: 41% !important;
    top: 48% !important;
    width: 160px !important;
    height: 160px !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    filter: none;
  }



  body.jlpt180-clean-lobby .side-box-wrap-pk{
display: none !important;
  }



  body.jlpt180-clean-lobby .side-box-lbl{
display: none !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child{
position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child > div{
min-width: 126px;
    max-width: 170px;
    padding: 8px 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(101,70,204,.92), rgba(41,202,193,.92)) !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}



@media (min-width: 900px) and (max-height: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
padding: 10px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:first-child{
height: 46px;
    padding-left: 42px !important;
  }



  body.jlpt180-clean-lobby .pt3-char-name{
font-size: 18px !important;
  }



  body.jlpt180-clean-lobby .hero-display-wrapper{
top: 50px;
    bottom: 46px;
  }



  body.jlpt180-clean-lobby .side-box-wrap-tt{
left: 58% !important;
    top: 49% !important;
    width: 108px !important;
    height: 108px !important;
  }



  body.jlpt180-clean-lobby .epic-pet-box{
width: 108px !important;
    height: 108px !important;
  }



  body.jlpt180-clean-lobby #charDoll{
left: 42% !important;
    top: 50% !important;
    width: 142px !important;
    height: 142px !important;
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
order: 2;
    min-height: 270px !important;
    padding: 10px !important;
    border-radius: 17px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(145,255,147,.28)), var(--jlpt-bg-stage) center / cover no-repeat !important;
    overflow: hidden !important;
  }



  body.jlpt180-clean-lobby .pt3-wrap,
body.jlpt180-clean-lobby .pt3-ava-zone{
position: relative !important;
    width: 100% !important;
    min-height: 248px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:first-child{
width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 5px 76px 5px 8px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.86) !important;
  }



  body.jlpt180-clean-lobby .pt3-char-name{
max-width: 100%;
    color: #102f7b !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }



  body.jlpt180-clean-lobby .pt3-char-realm{
color: #0b3975 !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel button{
min-height: 30px;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #24d7e8, #108dae) !important;
    color: #fff !important;
  }



  body.jlpt180-clean-lobby .hero-display-wrapper{
min-height: 154px !important;
    margin-top: 6px;
  }



  body.jlpt180-clean-lobby .side-box-wrap-tt,
body.jlpt180-clean-lobby .side-box-wrap-pk{
display: none !important;
  }



  body.jlpt180-clean-lobby #charDoll{
width: 136px !important;
    height: 136px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child{
gap: 8px !important;
    margin-top: 8px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child > div{
min-width: 0;
    flex: 1 1 0;
    padding: 8px 9px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(101,70,204,.92), rgba(41,202,193,.92)) !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-radius: 24px !important;
    box-shadow: 0 10px 24px rgba(4, 72, 106, .16), inset 0 0 0 1px rgba(255,255,255,.82) !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel{
padding: 16px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:first-child{
display: flex !important;
    align-items: center !important;
  }



  body.jlpt180-clean-lobby .hero-display-wrapper{
top: 46px;
    bottom: 54px;
  }



  body.jlpt180-clean-lobby #charDoll{
left: calc(41% - 15px) !important;
    top: calc(48% - 10px) !important;
  }



  body.jlpt180-clean-lobby .side-box-wrap-tt{
left: calc(56% - 12px) !important;
    top: calc(47% - 6px) !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child{
align-items: center;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child > div{
min-height: 34px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px !important;
    line-height: 1 !important;
  }
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
background: linear-gradient(180deg, rgba(220,255,248,.22), rgba(135,255,197,.18)), var(--jlpt-bg-stage) center / cover no-repeat !important;
  }



  body.jlpt180-clean-lobby .pt3-prog-bar{
display: none !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:first-child{
height: 58px;
    padding: 8px 88px 8px 48px !important;
  }



  body.jlpt180-clean-lobby .pt3-char-name{
max-width: 360px;
    color: #ffffff !important;
    font-size: 23px !important;
    line-height: 1 !important;
    text-shadow: 0 0 5px #00f0ff, 0 0 12px #7a4dff, 0 0 20px #ff4fd8, 0 2px 0 rgba(5,35,83,.45) !important;
  }



  body.jlpt180-clean-lobby .pt3-char-realm{
color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    text-shadow: 0 0 5px #ffe56b, 0 0 12px #35f7ff, 0 0 18px #7d4dff, 0 1px 0 rgba(5,35,83,.45) !important;
  }



  body.jlpt180-clean-lobby .hero-display-wrapper{
top: 50px;
    bottom: 48px;
  }



  body.jlpt180-clean-lobby #phapTuongPanel::before{
left: 24%;
    right: 10%;
    top: 43%;
    height: 48%;
    opacity: 1;
  }



  body.jlpt180-clean-lobby #charDoll{
left: 42% !important;
    top: 43% !important;
    width: 200px !important;
    height: 200px !important;
    z-index: 6 !important;
  }



  body.jlpt180-clean-lobby .side-box-wrap-tt{
left: 56% !important;
    top: 48% !important;
    width: 150px !important;
    height: 118px !important;
    z-index: 4 !important;
  }



  body.jlpt180-clean-lobby .epic-pet-box{
width: 150px !important;
    height: 118px !important;
  }



  body.jlpt180-clean-lobby .pt3-ava-zone > div:last-child > div{
background: linear-gradient(135deg, rgba(88,74,210,.95), rgba(32,189,190,.95)) !important;
  }
}



body.jlpt180-clean-lobby #phapTuongPanel{
background: linear-gradient(180deg, rgba(238, 247, 255, .94), rgba(246, 238, 255, .9)), var(--jlpt-bg-stage) center / cover no-repeat !important;
  border-color: rgba(120, 198, 255, .62) !important;
  box-shadow: 0 10px 24px rgba(56, 189, 248, .14), inset 0 0 0 1px rgba(255,255,255,.82) !important;
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
background: linear-gradient(180deg, rgba(238, 247, 255, .96), rgba(246, 238, 255, .92)), var(--jlpt-bg-stage) center / cover no-repeat !important;
    box-shadow: 0 12px 28px rgba(56, 189, 248, .16), inset 0 0 0 1px rgba(255,255,255,.84) !important;
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
background: linear-gradient(135deg, rgba(194, 181, 255, .38), rgba(147, 197, 253, .34), rgba(255, 255, 255, .96)), var(--jlpt-bg-stage) center / cover no-repeat !important;
    border-color: rgba(147, 197, 253, .72) !important;
    box-shadow: 0 14px 30px rgba(59, 130, 246, .18), inset 0 0 0 1px rgba(255,255,255,.86) !important;
  }
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
background:
      linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06)),
      var(--jlpt-bg-bicanh) center / cover no-repeat !important;
    border-color: rgba(125,211,252,.62) !important;
    box-shadow: 0 16px 34px rgba(14,165,233,.10), inset 0 0 0 1px rgba(255,255,255,.82) !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel::before{
opacity: .42 !important;
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-radius: 22px !important;
    border: 2px solid rgba(147,197,253,.75) !important;
    background: linear-gradient(160deg, rgba(194,230,255,.14) 0%, rgba(225,210,255,.12) 100%),
                var(--jlpt-bg-stage) center / cover no-repeat !important;
    box-shadow: 0 8px 24px rgba(59,130,246,.16), inset 0 0 0 1px rgba(255,255,255,.86) !important;
  }
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-color: rgba(255, 183, 213, .46) !important;
    box-shadow:
      0 12px 26px rgba(6, 93, 128, .13),
      0 0 0 1px rgba(255,255,255,.72) inset,
      0 0 24px rgba(255, 143, 189, .08) !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel{
border-color: rgba(255, 184, 213, .52) !important;
    background:
      radial-gradient(circle at 14% 12%, rgba(255, 214, 232, .28), transparent 28%),
      linear-gradient(180deg, rgba(244, 252, 255, .76), rgba(255, 244, 250, .48)),
      var(--jlpt-bg-stage) center / cover no-repeat !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel::after{
content: "✿";
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 2;
    color: rgba(255, 143, 189, .34);
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 2px 0 rgba(255,255,255,.55);
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-color: rgba(255, 183, 213, .46) !important;
    box-shadow: 0 10px 24px rgba(8, 86, 120, .12), 0 0 18px rgba(255, 143, 189, .08) !important;
  }
}



@media (min-width: 900px){
body.jlpt180-clean-lobby #phapTuongPanel{
border: 2px solid rgba(74, 201, 226, .72) !important;
    background:
      linear-gradient(180deg, rgba(6, 60, 96, .16), rgba(255,255,255,.06) 42%, rgba(255, 235, 247, .22)),
      var(--jlpt-bg-stage) center / cover no-repeat !important;
    box-shadow: 0 15px 34px rgba(7, 86, 128, .20), inset 0 1px 0 rgba(255,255,255,.65) !important;
  }



  body.jlpt180-clean-lobby .pt3-char-name,
body.jlpt180-clean-lobby .pt3-char-realm{
display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: rgba(17, 54, 88, .26) !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(7, 22, 44, .58), 0 1px 0 rgba(0,0,0,.20) !important;
    
  }



  body.jlpt180-clean-lobby #phapTuongPanel button{
box-shadow: 0 9px 18px rgba(9, 126, 164, .26), inset 0 1px 0 rgba(255,255,255,.32) !important;
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-width: 2px !important;
    box-shadow: 0 13px 28px rgba(8, 86, 120, .16), 0 0 20px rgba(255, 143, 189, .11) !important;
  }
}



@media (max-width: 899px){
body.jlpt180-clean-lobby #phapTuongPanel{
border-width: 2px !important;
    box-shadow:
      0 12px 24px rgba(8, 86, 120, .14),
      0 0 18px rgba(255, 143, 189, .10),
      inset 0 1px 0 rgba(255,255,255,.70) !important;
  }



  body.jlpt180-clean-lobby #phapTuongPanel{
border-color: rgba(102, 217, 236, .70) !important;
    background:
      radial-gradient(circle at 14% 12%, rgba(255, 214, 232, .26), transparent 28%),
      linear-gradient(180deg, rgba(244, 252, 255, .72), rgba(255, 244, 250, .44)),
      var(--jlpt-bg-stage) center / cover no-repeat !important;
  }
}
