/*
 * JLPT180 Leaderboard / Thiên Đạo Bảng CSS owner.
 * P4.15: moved from assets/css/dashboard.css.
 * Scope: .sc.sc-lb / .tdb-mobile-* / leaderboard mobile entry.
 */
body.jlpt180-clean-lobby .sc.sc-lb{
border: 2px solid var(--jlpt-line) !important;
  box-shadow: var(--jlpt-shadow) !important;
  
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
grid-area: 3 / 2 / 4 / 3;
    align-self: stretch;
    min-height: 0 !important;
    height: 100% !important;
    padding: 14px 12px 12px !important;
    border-radius: 18px !important;
    background: rgba(248, 255, 255, .94) !important;
    overflow: hidden !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb,
body.jlpt180-clean-lobby .sc.sc-lb *{
color: #073451;
    text-shadow: none;
  }




  body.jlpt180-clean-lobby .jlpt-lb-scroll-buttons{
position: absolute;
    left: -20px;
    bottom: 9px;
    display: grid;
    gap: 3px;
  }




  body.jlpt180-clean-lobby .jlpt-lb-scroll-buttons button{
width: 23px;
    height: 23px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 7px;
    background: linear-gradient(180deg, #46dcff, #2a7dff);
    color: #fff;
    font-size: 12px;
    line-height: 1;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
position: relative;
  }




  body.jlpt180-clean-lobby .jlpt-lb-scroll-buttons{
display: none !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb::after{
content: "Xem tất cả›";
    position: absolute;
    right: 22px;
    top: 20px;
    color: #006cff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    pointer-events: none;
  }




  body.jlpt180-clean-lobby .sc.sc-lb li,
body.jlpt180-clean-lobby .sc.sc-lb li:nth-of-type(n/**/+5),
body.jlpt180-clean-lobby .sc.sc-lb img{
width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb [class*="name"]{
min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}




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




@media (max-width: 899px){
body.jlpt180-clean-lobby .sc.sc-lb{
order: 5;
    max-height: 310px;
    min-height: 220px;
    padding: 14px 12px !important;
    border-radius: 17px !important;
    overflow: auto !important;
    background: rgba(245,255,255,.9) !important;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
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 .sc.sc-lb{
padding: 20px 18px 16px !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb::after{
right: 24px;
    top: 24px;
  }




  body.jlpt180-clean-lobby .sc.sc-lb [class*="rank"],
body.jlpt180-clean-lobby .sc.sc-lb img{
align-self: center !important;
    justify-self: center !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb [class*="name"]{
align-self: center !important;
    line-height: 1.15 !important;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb,
body.jlpt180-clean-lobby .jlpt180-aux-rank{
background: linear-gradient(180deg, #fffdf0, #eefaff) !important;
    overflow: hidden !important;
  }




  body.jlpt180-clean-lobby .jlpt180-aux-rank .ptb-wrap{
height: 100%;
    min-height: 0;
  }




  body.jlpt180-clean-lobby .jlpt180-aux-rank .ptb-list{
max-height: calc(100dvh - 250px);
    min-height: 0;
    overflow-y: auto;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
padding: 14px 14px 12px !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb li:nth-child(n/**/+5),
body.jlpt180-clean-lobby .sc.sc-lb img,
body.jlpt180-clean-lobby .sc.sc-lb [class*="avatar"] img{
width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: cover !important;
  }
}




body.jlpt180-clean-lobby .sc.sc-lb{
background: linear-gradient(180deg, rgba(243, 249, 255, .96), rgba(236, 255, 249, .92)) !important;
  border-color: rgba(121, 201, 255, .58) !important;
  box-shadow: 0 10px 24px rgba(4, 72, 106, .12), inset 0 0 0 1px rgba(255,255,255,.82) !important;
}




@media (max-width: 899px){
body.jlpt180-clean-lobby .sc.sc-lb{
background: linear-gradient(180deg, rgba(243, 249, 255, .98), rgba(236, 255, 249, .94)) !important;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
padding: 10px 12px !important;
    border-radius: 18px !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb::after{
top: 14px !important;
    right: 16px !important;
    font-size: 11px !important;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
background:
      linear-gradient(180deg, rgba(255,255,255,.88), rgba(243,250,255,.92)),
      var(--jlpt-bg-sidebar) center / cover no-repeat !important;
    border-color: rgba(125,211,252,.48) !important;
    box-shadow: 0 16px 34px rgba(4,72,106,.10), inset 0 0 0 1px rgba(255,255,255,.84) !important;
  }
}




body.jlpt180-clean-lobby .sc.sc-lb{
background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(243,250,255,.90)),
    var(--jlpt-bg-sidebar) center / cover no-repeat !important;
}




body.jlpt180-clean-lobby .sc.sc-lb .ptb-title,
body.jlpt180-clean-lobby .sc.sc-lb h1,
body.jlpt180-clean-lobby .sc.sc-lb h2,
body.jlpt180-clean-lobby .sc.sc-lb h3,
body.jlpt180-clean-lobby .sc.sc-lb .lb-title,
body.jlpt180-clean-lobby .sc.sc-lb [class*="title"]{
color: #073451 !important;
  text-shadow: none !important;
}




@media (max-width: 899px){
body.jlpt180-clean-lobby .sc.sc-lb{
border-radius: 22px !important;
    border: 2px solid rgba(125,211,252,.72) !important;
    background: linear-gradient(180deg, #f0fbff 0%, #f8fff8 100%) !important;
    box-shadow: 0 8px 24px rgba(14,165,233,.12), inset 0 0 0 1px rgba(255,255,255,.86) !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb .ptb-title,
body.jlpt180-clean-lobby .sc.sc-lb h1,
body.jlpt180-clean-lobby .sc.sc-lb h2,
body.jlpt180-clean-lobby .sc.sc-lb h3,
body.jlpt180-clean-lobby .sc.sc-lb [class*="title"]{
color: #073451 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
  }
}




@media (min-width: 900px){
body.jlpt180-clean-lobby .sc.sc-lb{
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 .sc.sc-lb{
border-color: rgba(255, 188, 216, .54) !important;
    background:
      radial-gradient(circle at 10% 8%, rgba(255, 222, 235, .36), transparent 26%),
      linear-gradient(180deg, rgba(255,255,255,.86), rgba(242, 250, 255, .72)) !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb::before{
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 .sc.sc-lb{
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 .sc.sc-lb{
border: 2px solid rgba(255, 183, 106, .68) !important;
    background:
      radial-gradient(circle at 12% 10%, rgba(255, 239, 205, .46), transparent 28%),
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(247, 252, 255, .78)) !important;
    box-shadow: 0 16px 34px rgba(96, 69, 22, .15), inset 0 1px 0 rgba(255,255,255,.96) !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb h2,
body.jlpt180-clean-lobby .sc.sc-lb h3,
body.jlpt180-clean-lobby .sc.sc-lb [class*="title" i]{
color: #17314d !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.82) !important;
  }




  body.jlpt180-clean-lobby .sc.sc-lb li{
border-color: rgba(237, 183, 104, .56) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(250, 246, 236, .72)) !important;
    box-shadow: 0 7px 15px rgba(99, 70, 22, .08) !important;
  }
}




@media (max-width: 899px){
body.jlpt180-clean-lobby .sc.sc-lb{
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 .sc.sc-lb{
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 .sc.sc-lb{
border-color: rgba(255, 188, 134, .70) !important;
    background:
      radial-gradient(circle at 12% 10%, rgba(255, 222, 235, .34), transparent 28%),
      linear-gradient(180deg, rgba(255,255,255,.88), rgba(255, 250, 242, .76)) !important;
  }
}




@media (max-width: 899px){
body.jlpt180-clean-lobby .sc.sc-lb{
margin-bottom: 0 !important;
  }
}




body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner{
display: none;
}




@media (max-width: 899px){
body.jlpt180-clean-lobby #view-dashboard .sc.sc-lb{
display: none !important;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner{
position: relative;
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas:
      "art copy"
      "stats stats"
      "note note"
      "cta cta";
    gap: 10px 12px;
    width: 100%;
    margin: 8px 0 calc(96px + env(safe-area-inset-bottom, 0px));
    padding: 14px;
    border-radius: 24px;
    border: 1.5px solid rgba(233, 182, 67, .92);
    background:
      linear-gradient(135deg, rgba(255,255,255,.93), rgba(245,246,255,.85) 52%, rgba(242,235,255,.83)),
      var(--tdb-mobile-bg);
    background-size: cover;
    background-position: center;
    box-shadow:
      0 20px 36px rgba(85, 117, 170, .14),
      0 0 0 1px rgba(255,255,255,.84) inset,
      0 10px 22px rgba(167, 139, 250, .12);
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    clear: both;
    align-self: stretch;
    order: 5;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner.tdb-mobile-ready{
animation: tdbMobileLiftIn .25s ease-out;
  }




  @keyframes tdbMobileLiftIn {
    from{
opacity: .92; transform: translateY(8px);
    }

    to{
opacity: 1; transform: translateY(0);
    }
  }


  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner::before,
body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner::after{
content: "";
    position: absolute;
    pointer-events: none;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner::before{
inset: 0;
    z-index: 0;
    background:
      radial-gradient(circle at 14% 18%, rgba(255, 238, 178, .58), transparent 24%),
      radial-gradient(circle at 80% 22%, rgba(210, 184, 255, .38), transparent 28%),
      linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner::after{
inset: 8px;
    z-index: 0;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px rgba(234, 198, 108, .32);
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner > *{
position: relative;
    z-index: 1;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-art{
grid-area: art;
    position: relative;
    min-height: 116px;
    display: grid;
    place-items: center;
    align-self: center;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-art::before{
content: "";
    position: absolute;
    inset: 10px;
    border-radius: 28px;
    background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.96), rgba(247, 244, 255, .88) 56%, rgba(227, 222, 255, .42));
    box-shadow: 0 12px 24px rgba(102, 126, 194, .12), inset 0 0 0 1px rgba(255,255,255,.95);
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-rank-icon{
position: absolute;
    left: 2px;
    top: 0;
    width: 52px;
    height: 52px;
    filter: none;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-trophy{
position: relative;
    z-index: 1;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: none;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-copy{
grid-area: copy;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-kicker{
display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    color: #7650d2;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(231, 195, 113, .76);
    box-shadow: 0 8px 16px rgba(112, 105, 199, .08);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-copy h3{
margin: 8px 0 6px;
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
    color: #c6862f;
    background: linear-gradient(102deg, #a46611 0%, #e0a53d 38%, #9d7bea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(226, 170, 62, .10);
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-copy p{
margin: 0;
    color: #2b4063;
    font-size: 12.5px;
    line-height: 1.42;
    font-weight: 700;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats{
grid-area: stats;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 2px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats span{
min-width: 0;
    padding: 9px 8px 8px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(183, 206, 236, .86);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 4px 12px rgba(139, 155, 198, .06);
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats b,
body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats small{
display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats b{
color: #7c3aed;
    font-size: 15px;
    line-height: 1.08;
    font-weight: 900;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats small{
margin-top: 4px;
    color: #52637d;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-real-stats .tdb-mobile-empty{
grid-column: 1 / -1;
    padding: 12px;
    text-align: left;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-note{
grid-area: note;
    color: #6a7a90;
    font-size: 10.5px;
    line-height: 1.4;
    font-weight: 700;
    padding: 0 2px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-cta{
grid-area: cta;
    min-height: 50px;
    width: 100%;
    border-radius: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.01em;
    cursor: pointer;
    background: linear-gradient(180deg, #b58cff 0%, #925dff 48%, #6b3cf1 100%);
    border: 1px solid rgba(255,255,255,.40);
    border-bottom: 4px solid #5729c8;
    box-shadow: 0 12px 22px rgba(124, 58, 237, .24), inset 0 1px 0 rgba(255,255,255,.40);
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-cta:active{
transform: translateY(3px);
    border-bottom-width: 1px;
  }
}




@media (max-width: 430px){
body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-entry-banner{
grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-art{
min-height: 104px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-art::before{
inset: 8px;
    border-radius: 24px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-trophy{
width: 96px;
    height: 96px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-rank-icon{
width: 44px;
    height: 44px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-kicker{
font-size: 10px;
    padding: 6px 8px;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-copy h3{
font-size: clamp(23px, 8vw, 34px);
    line-height: 1.03;
  }




  body.jlpt180-clean-lobby #view-dashboard .tdb-mobile-copy p{
font-size: 12px;
  }
}
