/* V30 TEST - 협동 보스: 대형 보스 상단 + 참여 뮨 + 내 프로필 */

.evening-boss-entry{margin:14px 14px 2px}
.evening-boss-banner{
 position:relative;width:100%;min-height:92px;box-sizing:border-box;
 display:flex;align-items:center;gap:14px;padding:13px 17px;overflow:hidden;
 cursor:pointer;text-align:left;border:2px solid #8f271e;border-radius:16px;color:#fff;
 background:radial-gradient(circle at 14% 28%,rgba(255,72,35,.24),transparent 25%),
 radial-gradient(circle at 82% 65%,rgba(135,15,18,.32),transparent 32%),
 linear-gradient(135deg,#250707 0%,#120506 48%,#050203 100%);
 box-shadow:inset 0 0 0 1px rgba(255,125,83,.12),0 8px 21px rgba(47,4,6,.28);
}
.evening-boss-mark{
 display:flex;align-items:center;justify-content:center;width:58px;height:58px;min-width:58px;
 border-radius:50%;border:1px solid rgba(255,114,81,.45);
 background:radial-gradient(circle,#5a1513,#210607 68%,#090303);color:#ff8568;font-size:30px
}
.evening-boss-copy{display:flex;flex-direction:column;flex:1}
.evening-boss-copy small{color:#e56750;font-size:9px;font-weight:900;letter-spacing:1.8px}
.evening-boss-copy b{color:#fff0e8;font-size:18px;line-height:24px}
.evening-boss-copy em{color:#cfa49c;font-style:normal;font-size:11px}
.evening-boss-status{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.evening-boss-status strong{padding:4px 7px;border:1px solid rgba(255,121,88,.32);border-radius:7px;color:#ff9175;font-size:8px}
.evening-boss-status i{color:#ffe2d7;font-size:11px;font-style:normal;font-weight:900}

.worldboss-overlay{
 position:fixed!important;
 z-index:10020!important;
 left:0!important;top:0!important;right:0!important;bottom:0!important;
 width:100%!important;height:100%!important;
 box-sizing:border-box!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 -webkit-overflow-scrolling:touch!important;
 background:rgba(4,2,3,.90)!important;
 padding:2px 6px 30px!important;
}
.worldboss-v30-panel{
 position:relative;
 width:680px;
 max-width:94%;
 margin:0 auto 38px;
 border:1px solid rgba(159,52,39,.68);
 border-radius:16px;
 overflow:visible;
 background:linear-gradient(180deg,#140707,#080405 70%,#050304);
 box-shadow:0 20px 70px rgba(0,0,0,.75),0 0 24px rgba(179,34,18,.12);
}
.worldboss-close{
 position:absolute;right:16px;top:13px;z-index:20;border:0;background:rgba(0,0,0,.52);
 color:#f2c7bd;width:38px;height:38px;border-radius:50%;font-size:26px;cursor:pointer
}
.worldboss-head{
 display:flex;align-items:center;justify-content:space-between;padding:18px 64px 17px 22px;
 border-bottom:1px solid rgba(255,255,255,.08);background:#0e0708
}
.worldboss-head small{display:block;color:#b75445;font-size:9px;letter-spacing:2px;font-weight:900}
.worldboss-head b{display:block;color:#fff0eb;font-size:22px;margin-top:4px}
.worldboss-live{
 padding:8px 12px;border:1px solid rgba(204,69,52,.35);border-radius:10px;
 color:#e8b5ab;font-size:12px;background:rgba(85,14,12,.34)
}
.worldboss-live i{
 display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff4b36;margin-right:5px;
 box-shadow:0 0 8px #ff412c
}

.worldboss-hero{
 position:relative;height:265px;overflow:hidden;background:#050304
}
.worldboss-hero>img{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;
 transition:transform .18s ease,filter .18s ease
}
.worldboss-hero.wb-hit>img{
 animation:wbBossShake .35s ease both;filter:brightness(1.28) saturate(1.2)
}
@keyframes wbBossShake{
 0%{transform:translate(0,0) scale(1.01)}
 25%{transform:translate(-8px,3px) scale(1.02)}
 50%{transform:translate(8px,-2px) scale(1.02)}
 75%{transform:translate(-4px,2px) scale(1.015)}
 100%{transform:translate(0,0) scale(1)}
}
.worldboss-hero-shade{
 position:absolute;inset:0;background:
 linear-gradient(90deg,rgba(4,2,3,.78) 0%,rgba(4,2,3,.18) 46%,rgba(4,2,3,.20) 72%,rgba(4,2,3,.70) 100%),
 linear-gradient(0deg,rgba(5,2,3,.93) 0%,transparent 38%,rgba(5,2,3,.18) 100%)
}
.worldboss-hero-title{
 position:absolute;left:28px;top:42px;width:280px;text-shadow:0 3px 15px #000
}
.worldboss-hero-title small{color:#e0503c;font-size:10px;font-weight:900;letter-spacing:2px}
.worldboss-hero-title strong{display:block;color:#ff694e;font-size:31px;line-height:1.15;margin:5px 0 12px}
.worldboss-hero-title span{display:block;color:#ddd0cc;font-size:12px;line-height:1.8}
.worldboss-hero-hp{
 position:absolute;left:28px;right:28px;bottom:22px
}
.worldboss-hptext{display:flex;justify-content:space-between;margin-bottom:8px;color:#ddd}
.worldboss-hptext span{font-size:11px;font-weight:900;color:#ff8977}
.worldboss-hptext b{font-size:12px}
.worldboss-hpbar{
 height:18px;border:2px solid rgba(230,155,129,.38);border-radius:10px;padding:2px;background:#100405;
 box-shadow:inset 0 0 10px rgba(0,0,0,.8)
}
.worldboss-hpbar i{
 display:block;height:100%;border-radius:6px;
 background:linear-gradient(90deg,#8b0f0f,#d52b20 45%,#ff674c);
 box-shadow:0 0 15px rgba(225,45,29,.42);transition:width .25s ease
}

.worldboss-damage{
 position:absolute;z-index:8;left:50%;top:39%;transform:translate(-50%,-50%) scale(.6);
 opacity:0;pointer-events:none;font-weight:1000;font-size:35px;color:#fff;
 text-shadow:0 2px 4px #000,0 0 14px rgba(255,79,45,.85)
}
.worldboss-damage.show{animation:wbDamagePop .75s ease both}
.worldboss-damage.critical{color:#ffd45e}
.worldboss-damage.lucky{color:#a7ff73}
@keyframes wbDamagePop{
 0%{opacity:0;transform:translate(-50%,-25%) scale(.55)}
 20%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}
 75%{opacity:1}
 100%{opacity:0;transform:translate(-50%,-95%) scale(.96)}
}

.worldboss-party-section{padding:18px 20px 5px}
.worldboss-section-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:10px}
.worldboss-section-title b{color:#f2c5ba;font-size:14px}
.worldboss-section-title span{color:#8e7470;font-size:10px}
.worldboss-participants{
 display:flex;gap:10px;overflow-x:auto;padding:4px 2px 12px;min-height:112px
}
.worldboss-party-card{
 width:92px;min-width:92px;padding:8px 6px;border:1px solid rgba(174,74,58,.24);border-radius:12px;
 background:rgba(28,11,12,.86);text-align:center;position:relative
}
.worldboss-party-card.me{border-color:#e65f47;box-shadow:0 0 14px rgba(215,60,42,.16)}
.worldboss-party-card img{
 width:68px;height:68px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid rgba(255,255,255,.12)
}
.worldboss-party-card b{display:block;margin-top:5px;color:#e9d5d1;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.worldboss-party-card small{display:block;color:#9e7e78;font-size:9px;margin-top:2px}
.worldboss-party-card.me:after{
 content:"ME";position:absolute;right:5px;top:5px;padding:2px 4px;border-radius:4px;
 background:#a91d16;color:#fff;font-size:7px;font-weight:900
}
.worldboss-party-empty{padding:30px;color:#856d69;font-size:11px}

.worldboss-player-section{
 margin:8px 20px 0;display:grid;grid-template-columns:270px 1fr;gap:12px;
 border:1px solid rgba(168,67,53,.25);border-radius:14px;padding:12px;background:rgba(18,8,9,.76)
}
.worldboss-my-profile{display:flex;align-items:center;gap:11px}
.worldboss-profile-img{
 width:92px;height:92px;border-radius:14px;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.15)
}
.worldboss-profile-img img{width:100%;height:100%;object-fit:cover}
.worldboss-profile-img.wb-attack{animation:wbPlayerAttack .55s ease}
@keyframes wbPlayerAttack{
 0%{transform:translate(0,0) rotate(0)}
 35%{transform:translate(20px,-13px) rotate(-4deg) scale(1.05)}
 62%{transform:translate(8px,-5px) rotate(2deg)}
 100%{transform:translate(0,0) rotate(0)}
}
.worldboss-profile-name small{display:block;color:#bc5545;font-size:8px;letter-spacing:1.6px;font-weight:900}
.worldboss-profile-name b{display:block;color:#fff0ed;font-size:17px;margin:3px 0}
.worldboss-profile-name span{color:#a88b86;font-size:10px}
.worldboss-player-stats{
 display:grid;grid-template-columns:repeat(5,1fr);gap:7px
}
.worldboss-player-stats>div{
 min-height:68px;border:1px solid rgba(255,255,255,.07);border-radius:9px;padding:10px;
 background:rgba(255,255,255,.025);display:flex;flex-direction:column;justify-content:center
}
.worldboss-player-stats small{color:#8f7772;font-size:9px}
.worldboss-player-stats b{margin-top:4px;color:#ffd8cf;font-size:14px}

.worldboss-message{
 margin:12px 20px 0;padding:10px 12px;border-radius:9px;text-align:center;
 background:rgba(71,20,17,.32);border:1px solid rgba(173,60,48,.18);color:#d3aaa2;font-size:11px
}
.worldboss-action-row{padding:12px 20px 6px;text-align:center}
.worldboss-attack{
 width:100%;height:58px;border:1px solid #9e392d;border-radius:11px;
 background:linear-gradient(135deg,#85261e,#4e1715);color:#fff2ed;font-size:19px;font-weight:1000;cursor:pointer
}
.worldboss-attack:disabled{opacity:.55;cursor:not-allowed}
.worldboss-attack span{margin-left:10px;color:#ffb2a2;font-size:11px}
.worldboss-note{margin-top:7px;color:#806a65;font-size:9px}

.worldboss-bottom{
 display:grid;grid-template-columns:1.15fr .85fr;gap:12px;padding:10px 20px 20px
}
.worldboss-rank,.worldboss-guide{
 border:1px solid rgba(159,67,52,.22);border-radius:12px;padding:13px;background:rgba(15,8,8,.78)
}
.worldboss-rank>b,.worldboss-guide>b{display:block;color:#f0c3b9;font-size:12px;margin-bottom:9px}
.wbr-row{display:flex;justify-content:space-between;padding:6px 3px;border-bottom:1px solid rgba(255,255,255,.05);font-size:10px;color:#c5aaa4}
.wbr-row strong{color:#ff826b}
.worldboss-guide span{display:block;color:#9c827d;font-size:10px;line-height:1.8}

@media(max-width:760px){
 .worldboss-overlay{padding:5px!important}
 .worldboss-v30-panel{max-width:100%;border-radius:14px}
 .worldboss-head{padding:14px 52px 14px 14px}
 .worldboss-head b{font-size:17px}
 .worldboss-live{font-size:10px}
 .worldboss-hero{height:390px}
 .worldboss-hero-title{left:17px;top:24px;width:220px}
 .worldboss-hero-title strong{font-size:25px}
 .worldboss-hero-hp{left:16px;right:16px;bottom:15px}
 .worldboss-player-section{grid-template-columns:1fr}
 .worldboss-player-stats{grid-template-columns:repeat(3,1fr)}
 .worldboss-bottom{grid-template-columns:1fr}
}


/* V30.1 - 노트북/낮은 화면에서도 아래까지 확실히 스크롤 */
.worldboss-overlay .worldboss-v30-panel{
 min-height:0!important;
 max-height:none!important;
 overflow:visible!important;
}
html.worldboss-lock,
body.worldboss-lock{
 overflow:hidden!important;
}
@media(max-height:900px){
 .worldboss-head{padding-top:10px;padding-bottom:10px}
 .worldboss-head b{font-size:18px}
 .worldboss-hero{height:300px}
 .worldboss-hero-title{top:18px}
 .worldboss-hero-title strong{font-size:26px;margin-bottom:6px}
 .worldboss-party-section{padding-top:10px}
 .worldboss-participants{min-height:96px;padding-bottom:6px}
 .worldboss-party-card{width:78px;min-width:78px;padding:5px}
 .worldboss-party-card img{width:58px;height:58px}
 .worldboss-player-section{margin-top:3px;padding:8px}
 .worldboss-profile-img{width:76px;height:76px}
 .worldboss-player-stats>div{min-height:52px;padding:7px}
 .worldboss-action-row{padding-top:8px}
 .worldboss-attack{height:50px}
 .worldboss-bottom{padding-bottom:28px}
}
@media(max-height:720px){
 .worldboss-hero{height:245px}
 .worldboss-hero-title span{display:none}
 .worldboss-section-title span{display:none}
 .worldboss-player-stats{grid-template-columns:repeat(5,1fr)}
}


/* V31 compact: 예전 팝업 크기 감각으로 축소 + 상단 밀착 + 세로 스크롤 */
.worldboss-v30-panel{
 max-height:none!important;
 min-height:0!important;
}
.worldboss-head{padding:11px 54px 10px 14px}
.worldboss-head b{font-size:18px}
.worldboss-live{padding:6px 8px;font-size:10px}
.worldboss-hero-title{left:18px;top:20px;width:230px}
.worldboss-hero-title strong{font-size:24px;margin:3px 0 7px}
.worldboss-hero-title span{font-size:10px;line-height:1.55}
.worldboss-hero-hp{left:16px;right:16px;bottom:12px}
.worldboss-party-section{padding:11px 14px 2px}
.worldboss-participants{min-height:88px;padding-bottom:6px}
.worldboss-party-card{width:74px;min-width:74px;padding:5px}
.worldboss-party-card img{width:55px;height:55px}
.worldboss-player-section{margin:6px 14px 0;grid-template-columns:205px 1fr;padding:8px}
.worldboss-profile-img{width:68px;height:68px}
.worldboss-profile-name b{font-size:14px}
.worldboss-player-stats{gap:5px}
.worldboss-player-stats>div{min-height:46px;padding:6px}
.worldboss-player-stats b{font-size:11px}
.worldboss-message{margin:8px 14px 0;padding:8px}
.worldboss-action-row{padding:8px 14px 4px}
.worldboss-attack{height:47px;font-size:16px}
.worldboss-bottom{padding:7px 14px 16px;gap:8px}

@media(max-width:760px){
 .worldboss-v30-panel{width:640px;max-width:98%}
 .worldboss-hero{height:235px}
 .worldboss-player-section{grid-template-columns:1fr}
 .worldboss-player-stats{grid-template-columns:repeat(3,1fr)}
}
@media(max-height:760px){
 .worldboss-overlay{padding-top:0!important}
 .worldboss-v30-panel{margin-top:0!important}
 .worldboss-hero{height:210px}
 .worldboss-hero-title{top:13px}
 .worldboss-hero-title span{display:none}
 .worldboss-participants{min-height:77px}
 .worldboss-party-card img{width:48px;height:48px}
}


/* V31.1 HOTFIX - compact balance + top aligned + scrolling */
.worldboss-overlay{
  top:0!important;
  padding:0 6px 24px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
.worldboss-v30-panel{
  width:620px!important;
  max-width:94%!important;
  margin:0 auto 28px!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  border-radius:14px!important;
}
.worldboss-head{
  padding:9px 48px 8px 12px!important;
}
.worldboss-head b{font-size:16px!important}
.worldboss-head small{font-size:8px!important}
.worldboss-live{padding:5px 7px!important;font-size:9px!important}
.worldboss-close{right:10px!important;top:7px!important;width:32px!important;height:32px!important;font-size:22px!important}

.worldboss-hero{height:235px!important}
.worldboss-hero-title{left:15px!important;top:14px!important;width:220px!important}
.worldboss-hero-title strong{font-size:22px!important;margin:3px 0 5px!important}
.worldboss-hero-title span{font-size:9px!important;line-height:1.45!important}
.worldboss-hero-hp{left:14px!important;right:14px!important;bottom:10px!important}
.worldboss-hptext{margin-bottom:5px!important}
.worldboss-hpbar{height:13px!important}

.worldboss-party-section{padding:8px 12px 0!important}
.worldboss-section-title{margin-bottom:5px!important}
.worldboss-section-title b{font-size:11px!important}
.worldboss-section-title span{font-size:8px!important}
.worldboss-participants{
  min-height:68px!important;
  padding:2px 0 5px!important;
  gap:6px!important;
}
.worldboss-party-card{
  width:60px!important;
  min-width:60px!important;
  padding:4px!important;
  border-radius:8px!important;
}
.worldboss-party-card img{width:46px!important;height:46px!important;border-radius:7px!important}
.worldboss-party-card b{font-size:8px!important;margin-top:3px!important}
.worldboss-party-card small{font-size:7px!important}
.worldboss-party-empty{padding:18px 6px!important;font-size:9px!important}

.worldboss-player-section{
  margin:4px 12px 0!important;
  grid-template-columns:180px 1fr!important;
  gap:7px!important;
  padding:6px!important;
  border-radius:10px!important;
}
.worldboss-profile-img{width:58px!important;height:58px!important;border-radius:9px!important}
.worldboss-my-profile{gap:7px!important}
.worldboss-profile-name small{font-size:7px!important}
.worldboss-profile-name b{font-size:12px!important;margin:2px 0!important}
.worldboss-profile-name span{font-size:8px!important}

.worldboss-player-stats{gap:4px!important}
.worldboss-player-stats>div{min-height:38px!important;padding:4px!important;border-radius:7px!important}
.worldboss-player-stats small{font-size:7px!important}
.worldboss-player-stats b{font-size:9px!important;margin-top:2px!important}

.worldboss-message{margin:6px 12px 0!important;padding:6px 8px!important;font-size:9px!important}
.worldboss-action-row{padding:6px 12px 2px!important}
.worldboss-attack{height:42px!important;font-size:14px!important;border-radius:8px!important}
.worldboss-note{margin-top:4px!important;font-size:8px!important}
.worldboss-bottom{padding:5px 12px 12px!important;gap:6px!important}
.worldboss-rank,.worldboss-guide{padding:8px!important;border-radius:9px!important}
.worldboss-rank>b,.worldboss-guide>b{font-size:9px!important;margin-bottom:5px!important}
.wbr-row{padding:4px 2px!important;font-size:8px!important}
.worldboss-guide span{font-size:8px!important;line-height:1.55!important}

@media(max-height:760px){
  .worldboss-v30-panel{margin-top:0!important}
  .worldboss-hero{height:205px!important}
  .worldboss-hero-title span{display:none!important}
  .worldboss-participants{min-height:60px!important}
}
@media(max-width:700px){
  .worldboss-v30-panel{width:600px!important;max-width:97%!important}
  .worldboss-player-section{grid-template-columns:1fr!important}
  .worldboss-player-stats{grid-template-columns:repeat(5,1fr)!important}
}


/* V31.2 - 시각 배치만 수정
   - 기능/DB/공격 로직은 건드리지 않음
   - 팝업을 화면 위에 딱 붙이지 않고 약간 아래로
   - 아래 검투명 배경 여백 축소
   - 보스 얼굴/뿔이 덜 잘리도록 이미지 표시 위치 조정
*/
.worldboss-overlay{
  padding-top:14px!important;
  padding-bottom:10px!important;
  min-height:0!important;
}

.worldboss-v30-panel{
  margin-top:0!important;
  margin-bottom:12px!important;
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
}

/* 보스 영역은 살짝만 높여 얼굴/뿔을 더 보여주되 전체 UI는 길어지지 않게 */
.worldboss-hero{
  height:245px!important;
}

/* 원본 이미지의 위쪽을 더 살려 머리/뿔이 안 잘리게 */
.worldboss-hero>img{
  object-fit:cover!important;
  object-position:center 18%!important;
}

/* 상단 타이틀을 아주 조금 아래로 */
.worldboss-hero-title{
  top:19px!important;
}

/* 참여 영역 아래 불필요한 빈 높이 제거 */
.worldboss-party-section{
  padding-bottom:0!important;
}
.worldboss-participants{
  min-height:0!important;
  height:auto!important;
  padding-bottom:3px!important;
}
.worldboss-party-empty{
  min-height:0!important;
}

/* 내 정보 이하 전체 세로 간격 압축 */
.worldboss-player-section{
  margin-top:3px!important;
  margin-bottom:0!important;
}
.worldboss-message{
  margin-top:4px!important;
}
.worldboss-action-row{
  padding-top:5px!important;
  padding-bottom:0!important;
}
.worldboss-bottom{
  padding-top:4px!important;
  padding-bottom:8px!important;
}

/* 창 마지막 검은 배경이 길게 남지 않도록 */
.worldboss-v30-panel > :last-child{
  margin-bottom:0!important;
}
.worldboss-guide,
.worldboss-rank{
  margin-bottom:0!important;
}

/* 노트북/짧은 화면에서도 같은 비율 유지 */
@media(max-height:760px){
  .worldboss-overlay{
    padding-top:8px!important;
    padding-bottom:6px!important;
  }
  .worldboss-hero{
    height:225px!important;
  }
  .worldboss-hero>img{
    object-position:center 14%!important;
  }
  .worldboss-v30-panel{
    margin-bottom:6px!important;
  }
}


/* V31.4 - v31.2 기준: 보스 이미지 상/하단을 더 개방 */
.worldboss-hero{
  height:335px!important;
}
.worldboss-hero>img{
  object-fit:cover!important;
  object-position:center 22%!important;
}
/* 원본 이미지의 머리와 골반/하체가 더 보이도록 작은 화면에서도 과도하게 자르지 않음 */
@media(max-height:760px){
  .worldboss-hero{height:300px!important}
  .worldboss-hero>img{object-position:center 20%!important}
}

/* 데미지 폰트 약 2배 */
.worldboss-damage{
  font-size:69px!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-shadow:0 3px 7px #000,0 0 24px rgba(255,79,45,.95)!important;
}
.worldboss-attack.auto-on{
  box-shadow:0 0 18px rgba(255,76,48,.38) inset,0 0 18px rgba(255,76,48,.18)!important;
}

/* V31.5 - 월드보스 입장 배너 골드 안내 */
.worldboss-banner-gold{
  margin-top:5px!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:-.2px!important;
  color:#ffd76a!important;
  text-shadow:0 1px 3px rgba(0,0,0,.85)!important;
}

/* V31.6 - 기존 배너의 제목/설명/입장 영역은 그대로, 골드 안내만 맨 아래 */
.evening-boss-banner{
  flex-wrap:wrap!important;
}
.worldboss-banner-gold{
  order:99!important;
  flex:0 0 100%!important;
  display:block!important;
  position:static!important;
  box-sizing:border-box!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:6px 8px 0!important;
  border-top:1px solid rgba(255,215,106,.16)!important;
  text-align:center!important;
  color:#ffd76a!important;
  font-size:11px!important;
  line-height:1.4!important;
  font-weight:700!important;
  letter-spacing:-.2px!important;
  text-shadow:0 1px 3px rgba(0,0,0,.85)!important;
}


/* V31.8 - 우측 랭킹 TOP5 + 전체 50 랭킹 팝업 */
.rank-side-note{
  padding:7px 5px 3px;
  text-align:center;
  color:#8b7772;
  font-size:9px;
  line-height:1.5;
}

.rank-overlay{
  position:fixed!important;
  z-index:10040!important;
  left:0!important;top:0!important;right:0!important;bottom:0!important;
  background:rgba(5,3,4,.82)!important;
  overflow-y:auto!important;
  padding:38px 10px!important;
  box-sizing:border-box!important;
}
.rank-modal{
  position:relative;
  width:650px;
  max-width:94%;
  margin:0 auto;
  background:linear-gradient(180deg,#161111,#0a0808);
  border:1px solid rgba(194,130,92,.35);
  border-radius:15px;
  box-shadow:0 25px 70px rgba(0,0,0,.62);
  overflow:hidden;
}
.rank-pop-close{
  position:absolute;
  top:10px;right:12px;
  width:34px;height:34px;
  border:0;border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#eee;
  font-size:23px;
  cursor:pointer;
}
.rank-pop-head{
  padding:18px 54px 14px 18px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.rank-pop-head b{
  display:block;
  color:#f3c485;
  font-size:18px;
}
.rank-pop-head span{
  display:block;
  margin-top:5px;
  color:#978882;
  font-size:10px;
}
.rank-pop-body{
  max-height:62vh;
  overflow-y:auto;
  padding:10px 14px;
}
.rank-full-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.rank-full-table th{
  padding:8px 6px;
  color:#aa948d;
  font-size:10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.rank-full-table td{
  padding:8px 6px;
  text-align:center;
  color:#d5c6c1;
  font-size:10px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.rank-full-table th:nth-child(1),
.rank-full-table td:nth-child(1){width:58px}
.rank-full-table th:nth-child(3),
.rank-full-table td:nth-child(3){width:72px}
.rank-full-table th:nth-child(4),
.rank-full-table td:nth-child(4){width:100px}
.rank-full-table .rank-top-1 td{color:#ffd66b;font-weight:900}
.rank-full-table .rank-top-2 td{color:#dce5ee;font-weight:800}
.rank-full-table .rank-top-3 td{color:#d9a77a;font-weight:800}
.rank-pop-foot{
  padding:10px 14px 13px;
  text-align:center;
  color:#816e68;
  font-size:9px;
  border-top:1px solid rgba(255,255,255,.06);
}

/* 보스 배너 추가 보상 문구는 기존 골드 안내 바로 아래 */
.worldboss-banner-rankbonus{
  order:100!important;
  flex:0 0 100%!important;
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:2px 0 0!important;
  padding:3px 8px 0!important;
  text-align:center!important;
  color:#f4b37b!important;
  font-size:10px!important;
  line-height:1.4!important;
  font-weight:700!important;
  text-shadow:0 1px 3px rgba(0,0,0,.82)!important;
}
