/* =====================================================
   File: hd_usercard.css — CLEAN FINAL (2025-11-12 RIGHT)
   ===================================================== */

/* 안전패치 */
html,body{transform:none !important}
#hd{position:relative;transform:none !important}

/* ===== 헤더 GNB (PC 기본) ===== */
nav#gnb{
  position:fixed;top:0;left:0;right:0;
  height:80px;line-height:70px;
  background: transparent !important; /* 처음에는 투명 */
  color:#000;
  display:flex;align-items:center;justify-content:flex-start;gap:60px;
  padding:0 40px;padding-left:200px;
  z-index:10010 !important;flex-wrap:nowrap;
  transition: background-color 0.3s ease; /* 부드러운 전환 */
}

/* 스크롤 시 적용될 클래스 */
nav#gnb.scrolled{
  background:#1c1c1c !important; /* 스크롤 시 배경색 */
}

nav#gnb>*{flex:0 0 auto}

/* 기존 로고 공통 */
.gnb-logo img{display:block;height:40px;width:auto}

/* PC 기본 크기 (GNB 안 로고 전체 통일) */
nav#gnb .gnb-logo .site-logo{
  height:28px;
  width:auto;
  flex-shrink:0;     /* 크기 줄어들지 않도록 고정 */
}

/* 로고 컨테이너는 절대 줄어들지 않게 */
nav#gnb .gnb-logo{
  flex-shrink:0;
}

/* 1024px 이하 → 모바일 사이즈 강제 축소 */
@media (max-width:1024px){
  nav#gnb .gnb-logo .site-logo{
    height:18px !important;
    width:auto;
  }
  
  nav#gnb{
    background:#030303 !important; /* 모바일은 항상 배경색 */
    color:#fff;
    gap:24px;
    padding:0 24px;
    padding-left:40px;
  }
  
  /* 모바일에서는 스크롤 효과 없음 */
  nav#gnb.scrolled{
    background:#030303 !important;
  }
}

@media (max-width: 1024px) {
  nav#gnb {
    height: 70px;
  }

/*nav#gnb{
  position:fixed;top:0;left:0;right:0;
  height:70px;line-height:70px;background:#1c1c1c;color:#000;
  display:flex;align-items:center;justify-content:flex-start;gap:60px;
  padding:0 40px;padding-left:200px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
  z-index:10010 !important;flex-wrap:nowrap
}
nav#gnb>*{flex:0 0 auto}

@media (max-width:1024px){
  nav#gnb{
    background:#030303 !important;
    color:#fff; /* 필요하면 글자색도 같이 반전 */
  }
}*/


/* 1단 메뉴 */
#gnb_1dul{display:flex;align-items:center;gap:32px;flex:0 0 auto;min-width:0;flex-wrap:nowrap}
#gnb_1dul>*{flex:0 0 auto}
#gnb_1dul>li{position:relative}
#gnb_1dul>li>a.gnb_1da{
  display:inline-block;padding:0 30px;height:70px;line-height:70px;
  color:#bdbdbd;text-decoration:none;font-size:14px;font-weight:400;
  transition:color .22s ease;
}
#gnb_1dul>li>a.gnb_1da:hover{
  color:#bdbdbd;
  background:transparent !important;  /* ← 백그라운드 흰색 차단 */
}
/* 2단 드롭다운 */
#gnb_1dul ul.gnb_2dul{
  position:absolute;top:100%;left:50%;
  transform:translateX(-50%) translateY(10px);
  width:max-content; /* 내용에 맞는 너비 */
  min-width:200px; /* 최소 너비 줄임 */
  max-width:400px; /* 최대 너비 제한 */
  background:#111;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  box-shadow:0 12px 28px rgba(0,0,0,.65);
  margin:0;padding:10px 0;list-style:none;
  opacity:0;pointer-events:none;
  transition:all .25s ease;text-align:center;z-index:2000;
}
#gnb_1dul ul.gnb_2dul li a.gnb_2da{
  display:block;height:35px;line-height:35px;padding:0 32px; /* 좌우 패딩 증가 */
  background:#111;color:#b3b3b3 !important;
  font-size:14px;font-weight:800;text-align:center;
  text-decoration:none;white-space:nowrap;border-radius:6px;
  transition:background .18s ease,color .18s ease;
}
#gnb_1dul ul.gnb_2dul li a.gnb_2da:hover{
  color:#ffffff !important;
  background:#1c1c1c !important;
}

/* 드롭다운 오픈 */
#gnb_1dul>li:hover>ul.gnb_2dul{
  opacity:1;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

/* 1단 메뉴 텍스트/배경 다크 고정 */


/* 마우스 오버 + 드롭다운 활성(li:hover) 둘 다 배경 제거 */
#gnb_1dul>li>a.gnb_1da:hover,
#gnb_1dul>li:hover>a.gnb_1da{
  color:#ffffff;
  background:transparent !important; /* 흰 배경 완전 차단 */
}

/* anchor 공통 */
#gnb a{text-decoration:none;color:#d0d0d0;font-weight:500;transition:color .18s ease}
#gnb a:hover{color:#ffffff}


/* ============================================
   모바일 GNB: 전체 패널 + 4열 메뉴 (DARK FINAL)
   ============================================ */
/* 모바일 GNB: 전체 패널 + 4열 메뉴 (FINAL) */
.m-gnb-top-banner{display:block;width:100%;margin:0 0 12px 0;}
.m-gnb-top-banner img{display:block;width:100%;height:auto;object-fit:cover;}
.m-gnb-panel{position:fixed;inset:0;z-index:10040;opacity:0;pointer-events:none;transition:opacity .25s ease;}
body.m-gnb-open .m-gnb-panel{opacity:1;pointer-events:auto;}
.m-gnb-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);}
.m-gnb-inner{position:absolute;inset:0;width:100%;height:100%;background:#050505;display:flex;flex-direction:column;overflow:hidden;transform:translateX(100%);transition:transform .26s ease-out;border-left:1px solid #262626;box-shadow:-12px 0 40px rgba(0,0,0,.85);}
body.m-gnb-open .m-gnb-inner{transform:translateX(0);}
html{max-width:100%;overflow-x:hidden;}
body.m-gnb-open{overflow:hidden;}

/* 헤더 */
.m-gnb-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #262626;background:rgba(8,8,8,.96);backdrop-filter:blur(14px);}
.m-gnb-header-left{display:flex;align-items:center;gap:8px;}
.m-gnb-logo-text{font-size:16px;font-weight:700;color:#f5f5f5;}
.m-gnb-close{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:#f5f5f5;}

/* 스크롤 영역 */
.m-gnb-body-scroll{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:0 0 20px 0;overscroll-behavior:contain;background:#050505;color:#e0e0e0;}

/* 유저 박스 */
.m-gnb-user{padding:12px 18px 14px;border-bottom:1px solid #262626;background:linear-gradient(135deg,#111,#050505);}
.m-gnb-user-main{margin-bottom:6px;}
.m-gnb-user-name{font-size:15px;font-weight:700;color:#ffffff;}
.m-gnb-user-greet{font-size:14px;color:#a6a6a6;}
.m-gnb-user-actions{display:flex;gap:10px;flex-wrap:wrap;}
.m-gnb-user-actions a{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;border:1px solid #333;font-size:13px;text-decoration:none;color:#f5f5f5;background:#141414;box-shadow:0 6px 14px rgba(0,0,0,.55);}
.m-gnb-user-actions a:hover{border-color:#ff4456;background:#1c1c1c;color:#ffffff;}

/* 섹션/그리드 */
.m-gnb-sections{padding:10px 12px 20px;}
.m-gnb-section{margin-bottom:18px;}
.m-gnb-section-title{margin:0 0 8px 4px;font-size:14px;font-weight:700;color:#e6e6e6;}
.m-gnb-section-label{border:0;background:transparent;padding:0;font:inherit;color:#e6e6e6;}

.m-gnb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;justify-items:center;}
.m-gnb-grid-link{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;width:90px;max-width:90px;margin:0 auto;text-align:center;color:#e0e0e0;text-decoration:none;}
.m-gnb-grid-link:hover .m-gnb-grid-label{color:#ffffff;}
.m-gnb-grid-link:hover .m-gnb-icon-box{transform:translateY(-2px);box-shadow:0 16px 40px rgba(0,0,0,.9);border-color:#ff4456;}

/* 아이콘 박스 */
.m-gnb-icon-box{width:58px;height:58px;border-radius:18px;background:radial-gradient(circle at 0 0,#262626,#101010);border:1px solid #333;box-shadow:0 10px 26px rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;margin:0 auto 8px;transition:all .18s ease-out;}
.m-gnb-icon{display:block;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;padding:0;filter:drop-shadow(0 0 6px rgba(0,0,0,.7));}

/* 라벨 */
.m-gnb-grid-label{font-size:15px;font-weight:600;text-align:center;color:#d9d9d9;line-height:1.3;word-break:keep-all;}



/* 메뉴 외곽박스 공통 스타일 */
.menu-box-section{margin-top:10px;margin-bottom:20px;}
.menu-box-container{border:1px solid rgba(255,255,255,0.15);border-radius:16px;background:rgba(30,30,36,0.7);padding:20px;box-shadow:0 8px 32px rgba(0,0,0,0.3);backdrop-filter:blur(10px);}
.menu-box-container .m-gnb-section-title{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,0.1);}
.menu-box-container .m-gnb-section-label{color:#fff;font-size:18px;font-weight:700;}

/* 중간 배너 스타일 */
.m-gnb-middle-banner{display:block;margin:20px 0;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.1);}
.m-gnb-middle-banner img{width:100%;height:auto;display:block;}



/* 모바일 햄버거 버튼 */
.gnb-mobile-toggle{display:none;}
@media (max-width:1024px){
  nav#gnb{padding:0 16px;}
  #gnb_1dul{display:none;}
  .gnb-mobile-toggle{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:28px;height:28px;margin-left:auto;border:1px solid #333;border-radius:8px;background:#101010;padding:4px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.6);}
  .gnb-mobile-toggle span{display:block;width:70%;height:2px;background:#f5f5f5;border-radius:999px;position:static;margin:0 auto;transform:none;}
  body.m-gnb-open .gnb-mobile-toggle{border-color:#ff4456;box-shadow:0 0 0 1px rgba(255,68,86,.5);}
}



/* 데스크탑에서 패널 숨김 */
@media (min-width:1025px){
  .m-gnb-panel{display:none;}
}







/* =============================
   GNB Search — Dark UI Version
   ============================= */
/* ============================= GNB Search — Dark UI Version ============================= */
.gnb-search{display:flex;align-items:center}
.gnb-search .right-search-box,.gnb-search .left-search-box{width:100%;display:flex;align-items:center;gap:6px;background:#111;border:1px solid rgb(50,50,51);border-radius:999px;padding:6px 12px;box-shadow:0 2px 6px rgba(0,0,0,.6);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.gnb-search .right-search-box:focus-within,.gnb-search .left-search-box:focus-within{border-color:#5fb4ff;box-shadow:0 0 0 3px rgba(11,108,255,.25);background:#111}
.gnb-search .right-search-input,.gnb-search .left-search-input{flex:1;border:none;outline:none;font-size:14px;color:#f2f2f2;background:transparent}
.gnb-search .right-search-input::placeholder,.gnb-search .left-search-input::placeholder{color:#777}
.gnb-search .right-search-btn,.gnb-search .left-search-btn{border:none;background:none;color:#aaa;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:4px;transition:color .2s ease,transform .15s ease}
.gnb-search .right-search-btn:hover,.gnb-search .left-search-btn:hover{color:#0b6cff;transform:scale(1.08)}


/* =============================
   GNB Search — Refined Dark UI + Subtle Rainbow Border
   ============================= */
.gnb-search{display:flex;align-items:center;}

/* 검색 박스 (개선된 버전) */
.gnb-search .right-search-box,
.gnb-search .left-search-box{
  position:relative;display:flex;align-items:center;gap:6px;width:100%;padding:6px 12px;
  border-radius:999px;background:#111;border:1px solid #333;box-shadow:0 2px 8px rgba(0,0,0,.4);
  transition:all .3s ease;overflow:hidden;
}

/* 개선된 레인보우 그라데이션 - 더 은은하게 */
.gnb-search .right-search-box::before,
.gnb-search .left-search-box::before{
  content:"";position:absolute;inset:-1px;border-radius:999px;
  background:linear-gradient(to right in oklch,#f63b35 0%,#1265f0 25%,#2caf4f 50%,#ffe523 75%,#f63b35 100%);
  background-size:200% auto;animation:gnb-border-loop 8s ease-in-out infinite;opacity:0.7;z-index:0;
}

/* 내부 배경 레이어 개선 */
.gnb-search .right-search-box::after,
.gnb-search .left-search-box::after{
  content:"";position:absolute;inset:1px;background:#111;border-radius:999px;z-index:1;
}

/* 내용물 레이어 */
.gnb-search .right-search-box > *,
.gnb-search .left-search-box > *{position:relative;z-index:2;}

/* 포커스 상태 개선 */
.gnb-search .right-search-box:focus-within,
.gnb-search .left-search-box:focus-within{
  border-color:transparent;box-shadow:0 0 0 2px rgba(11,108,255,.4);
}

/* 포커스 시 그라데이션 강조 */
.gnb-search .right-search-box:focus-within::before,
.gnb-search .left-search-box:focus-within::before{opacity:0.9;animation-duration:4s;}

/* 입력창 */
.gnb-search .right-search-input,
.gnb-search .left-search-input{
  flex:1;border:none;outline:none;font-size:14px;color:#f0f0f0;background:transparent;
}

/* placeholder 색상 */
.gnb-search .right-search-input::placeholder,
.gnb-search .left-search-input::placeholder{color:#888;}

/* 검색 버튼 */
.gnb-search .right-search-btn,
.gnb-search .left-search-btn{
  border:none;background:none;color:#999;font-size:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;padding:4px;transition:all .2s ease;
}

/* 검색 버튼 hover 효과 */
.gnb-search .right-search-btn:hover,
.gnb-search .left-search-btn:hover{color:#0b6cff;transform:scale(1.05);}

/* 호버 시 미세한 인터랙션 추가 */
.gnb-search .right-search-box:hover,
.gnb-search .left-search-box:hover{border-color:transparent;box-shadow:0 4px 12px rgba(0,0,0,.3);}

/* ===========================================
   개선된 애니메이션 - 더 부드럽고 자연스럽게
   =========================================== */
@keyframes gnb-border-loop{
  0%{background-position:200% center;opacity:0.5;}
  50%{background-position:0% center;opacity:0.8;}
  100%{background-position:-200% center;opacity:0.5;}
}

@media (max-width:1024px){ .m-gnb-search{width:70%;margin:20px auto 0;display:block;} .m-gnb-search .right-search-box{width:100%;} }







/* ===== 헤더 내 배치(필요 시 유지) ===== */
nav#gnb .gnb-search{
  margin-left:auto;margin-top:65px;
  flex:0 0 330px;width:330px;min-width:330px;
  justify-content:flex-end
}





/* ===== 우측 전역바 ===== */
.side-right-stack .sr-card{background:#fff;border:1px solid #e9e9e9;border-radius:12px;box-shadow:0 6px 16px rgba(0,0,0,.08);padding:12px;display:flex;flex-wrap:wrap;gap:8px}
.side-right-stack .sr-btn,.side-right-stack .sr-link{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 12px;border-radius:10px;border:1px solid #e3e3e3;background:#fff;color:#111;font-size:14px;font-weight:600;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.side-right-stack .sr-btn:hover,.side-right-stack .sr-link:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(0,0,0,.08);border-color:#d8d8d8}

/* ===== 공용 변수(참고) ===== */
:root{--center-half:600px;--right-gap:16px;--rightbar-w:330px}




/* ===== User Card ===== */
.usercard{width:330px;height:150px;display:flex;gap:14px;align-items:center;padding:16px;background:#111;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 2px 12px rgba(0,0,0,.8);;margin-top:9px}
.usercard__left{flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.usercard__avatar{width:96px;height:96px;border-radius:10px;object-fit:cover;background:#222;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 0 4px rgba(0,0,0,.4)}
.usercard__avatar--ph{display:inline-block}
.usercard__right{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:6px;align-items:flex-end;text-align:right}
.usercard__name{font-size:18px;font-weight:700;color:#f2f2f2;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.usercard__mail{display:block;max-width:100%;font-size:15px;font-weight:700;color:#bbb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;line-height:1.3;word-break:break-all}
.usercard__meta{display:flex;gap:12px;align-items:center;margin-top:4px;justify-content:flex-end}
.usercard__point b{font-weight:700;color:#f2f2f2}
.usercard__more{margin-top:auto}
.usercard__hint{color:#888;margin-top:2px;text-align:right}

/* ===== User Card 쪽지알림 ===== */
.usercard__memo.memo-with-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    color: #dddddd;
    font-size: 16px;
    transition: color 0.2s ease;
}

.usercard__memo.memo-with-badge:hover {
    color: #fff;
}

.memo-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ff5c7a;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
    border: 1px solid #000;
}



/* ===== Buttons ===== */
.usercard__actions{display:flex;align-items:center;gap:8px;margin-top:8px;justify-content:flex-end;flex-wrap:wrap}
.uc-btn{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:#222;text-decoration:none;font-size:13px;line-height:30px;color:#eee;box-shadow:0 1px 4px rgba(0,0,0,.6);transition:all .18s ease;white-space:nowrap;max-width:100%}
.uc-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.7);border-color:rgba(255,255,255,.35)}
.uc-btn-ghost{background:#222;color:#eee}
.uc-btn-primary{background:#0b6cff !important;color:#fff !important;font-weight:600;border-color:#0b6cff !important;box-shadow:0 2px 6px rgba(11,108,255,.35);transition:all .18s ease}
.uc-btn-primary:hover{background:#0958d9 !important;border-color:#0958d9 !important;box-shadow:0 4px 12px rgba(11,108,255,.45);transform:translateY(-1px)}
.uc-btn:focus-visible,.tnb-more-btn:focus-visible{outline:2px solid #0b6cff;outline-offset:2px}

/* ===== More Dropdown ===== */
.tnb-more-wrap{position:relative;display:inline-block;z-index:1}
.tnb-more-btn{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;border:1px solid rgba(255,255,255,.25);background:#222;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.6);cursor:pointer;font-size:13px;color:#eee;transition:all .18s ease}
.tnb-more-btn:hover{border-color:rgba(255,255,255,.35);box-shadow:0 4px 12px rgba(0,0,0,.7);transform:translateY(-1px)}
.tnb-more-menu{position:absolute;top:calc(100% + 8px);right:0;left:auto;min-width:180px;background:#1a1a1a;border:1px solid rgba(255,255,255,.15);border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.55);padding:8px;z-index:10020}
.tnb-more-menu[hidden]{display:none}
.tnb-more-menu a{display:block;padding:8px 10px;border-radius:6px;white-space:nowrap;font-size:13px;color:#eee;text-decoration:none}
.tnb-more-menu a:hover{background:#2a2a2a}
.tnb-more-menu hr{border:0;border-top:1px solid rgba(255,255,255,.1);margin:6px 0}
.tnb-more-wrap .tnb-more-menu::before{content:"";position:absolute;top:-6px;right:18px;border:6px solid transparent;border-bottom-color:rgba(255,255,255,.15)}
.tnb-more-wrap .tnb-more-menu::after{content:"";position:absolute;top:-5px;right:18px;border:5px solid transparent;border-bottom-color:#1a1a1a}


/* ===== 사이드바 컨텍스트 ===== */
.index-left #hd_usercard{width:100%;height:auto}
.index-left .left-usercard.left-card{overflow:visible}
.index-left #hd_usercard .usercard__avatar{width:72px;height:72px}
.index-left #hd_usercard .usercard__mail{max-width:220px}
.index-left{z-index:10}.index-center{z-index:0}
@media (max-width:480px){
  .usercard{width:100%;height:auto;padding:12px}
  .usercard__avatar{width:72px;height:72px;border-radius:8px}
}

/* ===== 사이드-라이트 전용 검색창 ===== */
#side-right-fixed .gnb-search{margin:0 0 12px;width:100%;min-width:0;display:block}
#side-right-fixed .right-search-box{width:100%; margin-top:10px; }
#side-right-fixed .right-search-input{width:100%}
#side-right-fixed .right-search-btn{}


/* ===== 사이드-레프트 전체 스택 여백 ===== */
.side-left-stack{
  margin-top:85px; /* ✅ 상단 여백 */
}

/* ===== 좌/우 고정 베이스 (위치 좌표는 전역 레이아웃에서 관리) ===== */
#side-left-fixed{
  position:absolute;
  top:0;
  width:330px;
}

#side-right-fixed{
  position:fixed;
  top:77px;
  width:330px;
  margin-left:20px;   /* ← 왼쪽 여백 20px 추가 */
}


/* 유저카드 폭 보정 */
#side-right-fixed .usercard{
  width:100%;
  max-width:100%;
}


/* ========================================
   Usercard 알림 종 아이콘
======================================== */
.wl-usercard-bell{background:none;border:none;cursor:pointer;color:#ddd;position:relative;font-size:18px;margin-right:8px;padding:0}
.wl-usercard-bell:hover{color:#fff}
#wl-usercard-badge{position:absolute;top:-5px;right:-7px;background:#ff5c7a;color:#000;font-size:10px;padding:1px 5px;border-radius:10px}

/* ========================================
   Usercard 알림 패널 레이아웃
======================================== */
.wl-usercard-panel{position:absolute;right:340px;top:10px;width:280px;background:#1f1f27;border:1px solid #333;border-radius:12px;display:none;z-index:9999}
.wl-panel-header{padding:12px;font-size:15px;border-bottom:1px solid #444}
.wl-panel-list{max-height:300px;overflow-y:auto;padding:12px}
.wl-panel-item{background:#292936;padding:10px;border-radius:8px;margin-bottom:8px}
.wl-invite-title{font-size:15px;margin-bottom:6px}
.wl-invite-from{font-size:13px;color:#aaa;margin-bottom:10px}
.wl-invite-actions button{padding:6px 10px;border-radius:6px;border:none;cursor:pointer;font-size:12px;margin-right:6px}
.wl-accept{background:#67ffb1;color:#000}
.wl-reject{background:#ff5c7a;color:#000}
.wl-empty{padding:20px;text-align:center;color:#777}



.wl-section-title{
  padding:6px 10px;
  font-size:12px;
  color:#999;
  border-top:1px solid #222;
  background:#111;
}
.wl-invite-meta{
  font-size:11px;
  color:#777;
  margin-top:2px;
}







/* ===== DL 모듈 ===== */
.dl-box{background:#111;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:16px;margin-top:15px;font-family:'SUIT','Apple SD Gothic Neo','Noto Sans KR',sans-serif;box-shadow:0 2px 10px rgba(0,0,0,.7)}
.dl-box__hdr{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}
.dl-box__title{font-size:16px;font-weight:700;color:#f2f2f2}
.dl-shadow{box-shadow:0 2px 10px rgba(0,0,0,.7)}
.dl-radius{border-radius:14px}
.dl-bordered{border:1px solid rgba(255,255,255,.14)}
.dl-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px 12px}
.dl-item{flex:0 0 calc(50% - 6px);max-width:calc(50% - 6px);box-sizing:border-box}
.dl-link{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:2px 12px;background:#181818;border:1px solid rgba(255,255,255,.12);border-radius:10px;text-decoration:none;color:#e6e6e6;box-shadow:0 2px 10px rgba(0,0,0,.7);height:58px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease}
.dl-link:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.85);border-color:rgba(255,255,255,.2);background:#101010;color:#ffffff}
.dl-link__label{font-size:14px;font-weight:700;color:#f5f5f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dl-link__desc{font-size:12px;color:#aaaaaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}
@media (max-width:768px){.dl-item{flex:0 0 100%;max-width:100%}}

/* DL Menu Groups */
.dl_menu_groups{list-style:none;margin:16px 0 0;padding:0;background:#111;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 2px 12px rgba(0,0,0,.8);font-family:'SUIT','Apple SD Gothic Neo','Noto Sans KR',sans-serif}
.dl_menu_groups__title{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.dl_menu_groups__title_dl{margin:0}
.dl_menu_groups__title_text{font-size:15px;font-weight:700;color:#f2f2f2}
.dl_menu_groups__lists{padding:12px 14px}
.dl_menu_group{margin:0 0 10px 0;padding:12px 12px;background:#181818;border:1px solid rgba(255,255,255,.1);border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.7);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.dl_menu_group:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.9);border-color:rgba(255,255,255,.2);background:#101010}
.dl_menu_group__label{margin:0 0 8px 0;font-size:15px;color:#e0e0e0}
.dl-fw-700{font-weight:700}

/* 링크 칩 + 위로 뜰 때 잘리지 않게 여유 높이 추가 */
.dl_menu_group__links{display:flex;flex-wrap:wrap;gap:8px 10px;max-height:700px;overflow:hidden;padding-top:3px;margin-top:-3px;transition:max-height .25s ease}
.dl_menu_group.collapsed .dl_menu_group__links{max-height:0}
.dl_menu_group__links a{display:inline-block;padding:6px 10px;border-radius:8px;background:#111;border:1px solid rgba(255,255,255,.18);color:#fbfbfb;font-size:14px;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,color .15s ease,background .15s ease}
.dl_menu_group__links a:hover{transform:translateY(-1px);background:#18213a;border-color:#3b63ff;color:#ffffff;box-shadow:0 2px 4px rgba(0,0,0,.3)}

/* Accordion toggle */
.dl-toggle{background:transparent;border:0;cursor:pointer;font-size:18px;line-height:1;font-weight:700;color:#aaaaaa;padding:4px;min-width:28px;text-align:center;border-radius:8px;transition:background .15s ease,transform .15s ease,color .15s ease}
.dl-toggle:hover{background:rgba(255,255,255,.06);transform:translateY(-1px);color:#ffffff}
.dl-toggle::after{content:"-";display:inline-block}
.dl_menu_group.collapsed .dl-toggle::after{content:"+"}
.dl_menu_group__label{display:flex;align-items:center;justify-content:space-between;}



/* 즐겨찾기 리스트 글자만 하이라이트 강조 */
.dl_menu_group__links a[href$="/page/design.php"],
.dl_menu_group__links a[href$="/page/community.php"],
.dl_menu_group__links a[href$="/page/develop.php"],
.dl_menu_group__links a[href$="/page/ai.php"]{
  color:#5fb4ff !important;
  font-weight:700;
}

