@charset "utf-8";

/********************************************************
■ 모바일 사이드바
********************************************************/

/* 모바일 전체메뉴 */
#nt_sidebar_m {position:fixed; top:0; right:-380px; width:360px; height:100%; padding-bottom:20px; overflow-y:auto; background:#1a161d; z-index:1000; box-shadow:0 0 5px 5px rgba(50, 60, 70, 0.15); -webkit-box-shadow:0 0 5px 5px rgba(50, 60, 70, 0.15); -moz-box-shadow:0 0 5px 5px rgba(50, 60, 70, 0.15);}
@media (max-width: 768px) {
	#nt_sidebar_m {display:block; width:100%; right:unset; left:-100%; padding-bottom:70px; box-shadow:unset; -webkit-box-shadow:unset; -moz-box-shadow:unset;}
}

.nt_sidebar_m_header {position:relative; font-size:21px; font-weight:bold; background:#1a161d; color:#792dff; border-bottom:2px solid #792dff; padding:8px 15px 6px;}
#nt_sidebar_m .nt_sidebar_m_body .nt_sidebar_m_item {display:none;}

.icon_sidebar_m_x {position:absolute; top:50%; right:15px; width:12px; transform:translateY(-50%); cursor:pointer;}
.icon_sidebar_m_x img {max-width:100%;}
.nt_sidebar_m_notice {padding:9px 15px; background:#792dff; font-size:0;}
.nt_sidebar_m_notice span.icon {display:inline-block; /*width:50px; height:22px; line-height:22px;*/ padding:0 5px; background:#b32929; color:#fff; font-weight:bold; border-radius:5px; text-align:center; vertical-align:middle; font-size:13px;}
.nt_sidebar_m_notice span.subject a {position:relative; display:inline-block; width:calc(100% - 50px); padding-left:8px; word-break:break-all; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; vertical-align:middle; color:#fff; font-size:14px;}
.nt_sidebar_m_notice span.subject a i {position:absolute; top:50%; right:0; transform:translateY(-50%); font-size:12px;}

.nt_sidebar_m_top_menu {padding:10px 0;}
.nt_sidebar_m_top_menu_c {}
.nt_sidebar_m_top_menu_c ul {font-size:0;}
.nt_sidebar_m_top_menu_c ul:after {content:''; display:block; visibility:hidden; clear:both;}
.nt_sidebar_m_top_menu_c ul li {display:inline-block; width:25%; text-align:center;}
.nt_sidebar_m_top_menu_c ul li a {position:relative; display:block; padding:0 15px; text-align:center;}
.nt_sidebar_m_top_menu_c ul li a .bg_circle {padding-top:100%; background:#fff; border-radius:50%; box-shadow:2px 2px 4px 1px #e9e9e9; -webkit-box-shadow:2px 2px 4px 1px #e9e9e9; -moz-box-shadow:2px 2px 4px 1px #e9e9e9;}
.nt_sidebar_m_top_menu_c ul li a .img {position:absolute; width:100%; top:50%; left:0; transform:translateY(-50%);}
.nt_sidebar_m_top_menu_c ul li a .img img {max-width:35%; vertical-align:middle;}
.nt_sidebar_m_top_menu_c ul li a .mb_memo_cnt {position:absolute; font-size:10px; font-weight:bold; text-align:center; top:50%; left:58%; line-height:1; min-width:10px; padding:3px 4px 2px; background:#792dff; color:#fff; border-radius:8px; box-shadow:0px 4px 6px -2px #727272; -webkit-box-shadow:0px 4px 6px -2px #727272; -moz-box-shadow:0px 4px 6px -2px #727272; white-space:nowrap; vertical-align:baseline;}
.nt_sidebar_m_top_menu_c ul li .text {font-size:13px; color:#333; font-weight:bold; margin-top:8px;}

.nt_sidebar_m_top_menu_a {padding:15px 9px 0; text-align:center; line-height:1;}
.nt_sidebar_m_top_menu_a .btn_toggle {margin:0 6px; background:#e3e4e6; border-radius:5px; text-align:center; font-size:12px; padding:5px 0; cursor:pointer;}
.nt_sidebar_m_top_menu_a .btn_toggle span i {padding-left:5px; font-size:11px;}
.nt_sidebar_m_top_menu_a ul {display:inline-block;}
.nt_sidebar_m_top_menu_a ul:after {content:''; display:block; visibility:hidden; clear:both;}
.nt_sidebar_m_top_menu_a ul li {float:left; padding:10px 5px 0; font-size:12px;}

#nt_sidebar_m_top_menu_c {padding:0 10px;}
#nt_sidebar_m_top_menu_c:after {display:block; content:''; visibility:hidden; clear:both;}
#nt_sidebar_m_top_menu_c > div {display:flex; align-items:center; float:left; width:calc((100% - 10px) / 3); margin-left:5px; text-align:center; height:50px; cursor:pointer; border-radius:6px;}
#nt_sidebar_m_top_menu_c > div:first-child {margin-left:0;}
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_div {width:100%; margin-top:3px;}
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_title {position:relative; font-size:14px; font-weight:bold; letter-spacing:-0.08rem;}
#nt_sidebar_m_top_menu_c .nt_sidebar_m_top_menu_c_title img {*position:absolute; width:30px;}

.nt_sidebar_m_banner {padding:0 10px 10px;}
.nt_sidebar_m_banner img {max-width:100%;}

.nt_sidebar_m_menu ul {width:100%; border-collapse:collapse;}
.nt_sidebar_m_menu ul li {background:#2c2134; border-right:1px solid #40148e;}
.nt_sidebar_m_menu_depth_1 {font-size:15px; font-weight:bold; padding:4px 15px; background-color:#1a1a1a; background-size:1px 100%; border-top:1px solid #40148e; margin-top:-1px;}
.nt_sidebar_m_menu_depth_2_list:after {content:''; display:block; visibility:hidden; clear:both;}

.nt_sidebar_m_menu_depth_2_list li {float:left; border-bottom:1px solid #40148e;}

.nt_sidebar_m_menu_depth_2_list.divide_2 li {width:50%;}
.nt_sidebar_m_menu_depth_2_list.divide_2 li:nth-child(2n) {border-right:0;}

.nt_sidebar_m_menu_depth_2_list.divide_3 li {width:calc(100% / 3);}
.nt_sidebar_m_menu_depth_2_list.divide_3 li:nth-child(3n) {border-right:0;}

/*
.nt_sidebar_m_menu_depth_2_list li:first-child,
.nt_sidebar_m_menu_depth_2_list.divide_2 li:nth-child(2n+1),
.nt_sidebar_m_menu_depth_2_list.divide_3 li:nth-child(3n+1) {border-left:0;}
*/

.nt_sidebar_m_menu_depth_2_list li a {display:block; text-align:center; font-size:13px; padding:7px 0;}

.nt_sidebar_m_telegram {padding-top:15px; text-align:center; font-size:13px; font-weight:bold; color:#039be5;}
.nt_sidebar_m_telegram span img {width:19px; vertical-align:top; margin-top:1px;}

/* 모바일 내정보 */
#nt_sidebar_m_mypage {}
.nt_sidebar_m_member {padding:18px 15px 20px; font-size:13px;}
.nt_sidebar_m_member .hide-photo .sv_wrap {font-weight:bold; font-size:15px;}
.nt_sidebar_m_member .hide-photo .xp-icon img {width:16px !important; vertical-align:top; margin-top:5px;}
.nt_sidebar_m_member .hide-photo .nt_sidebar_m_noti_cnt {position:relative; margin-left:10px; cursor:pointer;}
.nt_sidebar_m_member .hide-photo .nt_sidebar_m_noti_cnt img {width:35px;}
.nt_sidebar_m_member .hide-photo .nt_sidebar_m_noti_cnt span {position:absolute; font-size:10px; font-weight:bold; text-align:center; top:0px; left:16px; line-height:1; min-width:10px; padding:3px 4px 2px; background:#792dff; color:#fff; border-radius:8px; box-shadow:0px 4px 6px -2px #727272; -webkit-box-shadow:0px 4px 6px -2px #727272; -moz-box-shadow:0px 4px 6px -2px #727272; white-space:nowrap; vertical-align:baseline;}
.nt_sidebar_m_member .mb_level {padding-left:1px;}
.nt_sidebar_m_member .mb_level img {width:11px; margin-right:3px;}
.nt_sidebar_m_member .mb_exp {line-height:1;}
.nt_sidebar_m_member .mb_exp .div-progress {border-radius:50px; color: #929292; background:#fff; box-shadow:0px 1px 3px #00000024; overflow:hidden;}
.nt_sidebar_m_member .mb_exp .div-progress .progress-bar {background:#e4241e; height:20px; line-height:20px; font-size:11px; border-radius:50px;}
.nt_sidebar_m_member .mb_point b {font-family:'Montserrat','Noto Sans KR',sans-serif; letter-spacing:-0.05rem;}
.nt_sidebar_m_member .mb_point .btn_point {display:inline-block; vertical-align:top; background:#792dff; color:#fff; border-radius:5px; font-size:11px; padding:5px 8px; margin-left:5px; line-height:1;}
.nt_sidebar_m_member .mb_signature {border-radius:50px; color: #929292; background:#fff; box-shadow:0px 1px 3px #00000024; padding:1px 10px 0; overflow:hidden;}
.nt_sidebar_m_date {background:#fff;}
.nt_sidebar_m_date > div {padding:4px 15px; font-size:14px; border-bottom:1px solid #f5f5f5;}
.nt_sidebar_m_date > div:last-child {border-bottom:0;}
#nt_sidebar_m_mypage .nt_sidebar_m_banner {padding-top:10px;}

/* 모바일 알림 */
#nt_sidebar_m_noti .sidebar-list-m h5 { padding:0.55rem 1.0rem; margin:0; font-weight:bold !important; border-top:1px solid #dee2e6; margin-top:-1px; }
#nt_sidebar_m_noti .sidebar-list-m ul.off { display:none; }
#nt_sidebar_m_noti .sidebar-list-m li { position:relative; }
#nt_sidebar_m_noti .sidebar-list-m li a { display:block; padding:0.45rem 1.0rem; border-bottom:1px solid #eee; overflow:hidden; font-size:13px; }
#nt_sidebar_m_noti .sidebar-list-m li .me-a { padding-right:2.5rem; }
#nt_sidebar_m_noti .sidebar-list-m .tree-toggle { position:absolute; z-index:1; top:0rem; right:0; width:2.5rem; padding:0.75rem 0; margin-top:0.15rem;	text-align:center; cursor:pointer; color:#aaa; }

#nt_sidebar_m_noti .sidebar-list-m .me-ul { background:#fff; }
#nt_sidebar_m_noti .sidebar-list-m .me-ul1 { background:#fafafa; }
#nt_sidebar_m_noti .sidebar-list-m .me-ul2 { }
#nt_sidebar_m_noti .sidebar-list-m .me-li1 .me-a1,
#nt_sidebar_m_noti .sidebar-list-m .me-li2 .me-a2 { padding-left:2.0rem; }
#nt_sidebar_m_noti .sidebar-list-m .me-li.active .me-a,
#nt_sidebar_m_noti .sidebar-list-m .me-li1.active .me-a1,
#nt_sidebar_m_noti .sidebar-list-m .me-li2.active .me-a2 { font-weight:bold; }
#nt_sidebar_m_noti .sidebar-list-m .me-line1 .me-a1 { background:#eee; font-weight:bold; }
#nt_sidebar_m_noti .sidebar-list-m .me-line2 .me-a2 { background:#eee; font-weight:bold; }

/* Go to Top */
#nt_sidebar_move { display:none; position: fixed; width: 40px; bottom: 20px; right: 25px; z-index: 2; }
#nt_sidebar_move span { display: block; color:#fff; background: rgba(0,0,0,0.5); margin:5px 0; text-align: center; border-radius: 50%; width: 42px; height: 42px; line-height: 42px !important; font-size: 19px; }
#nt_sidebar_move .sidebar-move-bottom { display:none; }
@media (max-width: 767px) {
	#nt_sidebar_move {bottom:62px;}
}
/* ============================================================
   내정보 패널 (#nt_sidebar_m_mypage) - 모던 다크 리디자인
   ============================================================ */
#nt_sidebar_m{
	background:#141018 !important;
	background:linear-gradient(180deg,#17121f 0%,#120f18 55%,#0e0b13 100%) !important;
}
.nt_sidebar_m_header{
	background:rgba(20,16,26,.92) !important;
	-webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
	color:#fff !important;
	border-bottom:1px solid rgba(138,77,255,.4) !important;
}

.tvmy{ padding:18px 16px 26px; color:#e7e0f2; }

/* ---- 프로필 ---- */
.tvmy-profile{ display:flex; align-items:center; gap:14px; }
.tvmy-avatar{
	width:64px; height:64px; flex:0 0 64px; border-radius:50%;
	padding:2px; background:linear-gradient(135deg,#a678ff,#6a1fe0);
	box-shadow:0 6px 20px -6px rgba(124,58,237,.7);
}
.tvmy-avatar img{ width:100%; height:100%; border-radius:50%; object-fit:cover; background:#241d33; display:block; }
.tvmy-id{ min-width:0; flex:1; }
.tvmy-name{ font-size:17px; font-weight:800; color:#fff; line-height:1.25; margin-bottom:5px; word-break:break-all; }
.tvmy-name a, .tvmy-name .sv_member{ color:#fff !important; text-decoration:none; }
.tvmy-role{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.tvmy-badge{
	display:inline-block; padding:3px 10px; border-radius:999px;
	font-size:11px; font-weight:700; letter-spacing:.02em;
	color:#d9ccff; background:rgba(138,77,255,.18); border:1px solid rgba(138,77,255,.35);
}
.tvmy-badge.is-admin{
	color:#1c1206; background:linear-gradient(135deg,#ffd970,#ffb638);
	border:0; box-shadow:0 3px 12px -3px rgba(255,183,56,.6);
}
.tvmy-role-link{
	font-size:11px; font-weight:600; color:#b79bff !important; text-decoration:none;
	padding:3px 8px; border-radius:999px; border:1px solid rgba(138,77,255,.3);
}
.tvmy-role-link:hover{ color:#fff !important; background:rgba(138,77,255,.25); }

/* ---- 경험치 ---- */
.tvmy-exp{
	display:block; margin-top:16px; padding:12px 14px;
	background:rgba(255,255,255,.03); border:1px solid rgba(138,77,255,.18);
	border-radius:14px; text-decoration:none;
	transition:border-color .15s, background .15s;
}
.tvmy-exp:hover{ border-color:rgba(138,77,255,.4); background:rgba(138,77,255,.07); }
.tvmy-exp-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:9px; }
.tvmy-lv{ font-size:12px; font-weight:800; color:#c9b3ff; letter-spacing:.06em; }
.tvmy-exp-num{ font-size:12px; color:#9c93ad; font-weight:600; }
.tvmy-exp-num em{ font-style:normal; color:#8a4dff; margin-left:2px; }
.tvmy-exp-bar{
	height:8px; border-radius:6px; background:rgba(0,0,0,.45);
	overflow:hidden; box-shadow:inset 0 1px 3px rgba(0,0,0,.6);
}
.tvmy-exp-bar span{
	display:block; height:100%; border-radius:6px;
	background:linear-gradient(90deg,#7c3aed,#a855f7 55%,#d946ef);
	box-shadow:0 0 12px rgba(168,85,247,.7);
	transition:width .5s ease;
}

/* ---- 포인트 / 교환 카드 ---- */
.tvmy-stats{ display:flex; gap:10px; margin-top:12px; }
.tvmy-stat{
	flex:1; min-width:0; display:flex; flex-direction:column; gap:6px;
	padding:13px 13px 12px; border-radius:14px; text-decoration:none;
	background:linear-gradient(150deg,rgba(124,58,237,.14),rgba(124,58,237,.04));
	border:1px solid rgba(138,77,255,.22);
	transition:transform .12s, border-color .15s, box-shadow .15s;
}
.tvmy-stat:hover{ transform:translateY(-2px); border-color:rgba(138,77,255,.5); box-shadow:0 10px 22px -12px rgba(124,58,237,.6); }
.tvmy-stat-label{ font-size:11px; font-weight:700; color:#9a90ad; letter-spacing:.02em; }
.tvmy-stat-value{
	font-size:17px; font-weight:800; color:#fff; letter-spacing:-.01em;
	font-family:'Montserrat','Noto Sans KR',sans-serif;
}
.tvmy-stat-value i{ font-size:11px; font-style:normal; color:#b79bff; margin-left:3px; font-weight:700; }
.tvmy-stat-accent{
	background:linear-gradient(135deg,#7c3aed,#9b4dff);
	border-color:transparent;
}
.tvmy-stat-accent .tvmy-stat-label{ color:rgba(255,255,255,.75); }
.tvmy-stat-accent .tvmy-stat-value{ font-size:14px; }
.tvmy-stat-accent .tvmy-stat-value i.fa{ color:#fff; margin-left:4px; }

/* ---- 빠른 메뉴 ---- */
.tvmy-menu{ display:flex; gap:8px; margin-top:14px; }
.tvmy-menu > a{
	flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px;
	padding:12px 4px 10px; border-radius:14px; text-decoration:none;
	background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.06);
	transition:transform .12s, background .15s, border-color .15s;
}
.tvmy-menu > a:hover{ transform:translateY(-2px); background:rgba(138,77,255,.14); border-color:rgba(138,77,255,.4); }
.tvmy-menu-ico{
	position:relative; width:38px; height:38px; border-radius:12px;
	display:flex; align-items:center; justify-content:center;
	background:linear-gradient(135deg,#2a2340,#1d1830);
	border:1px solid rgba(138,77,255,.28);
	color:#c9b3ff; font-size:16px;
}
.tvmy-menu > a:hover .tvmy-menu-ico{ color:#fff; background:linear-gradient(135deg,#7c3aed,#6a1fe0); border-color:transparent; }
.tvmy-menu-ico b{
	position:absolute; top:-6px; right:-7px; min-width:16px; height:16px; padding:0 4px;
	font-size:10px; font-weight:800; line-height:16px; text-align:center;
	color:#fff; background:#e0245e; border-radius:9px; box-shadow:0 2px 6px -1px rgba(224,36,94,.7);
}
.tvmy-menu-txt{ font-size:11px; font-weight:700; color:#b3a9c5; }
.tvmy-menu > a:hover .tvmy-menu-txt{ color:#fff; }

/* ---- 회원 정보 리스트 (흰 테이블 → 다크) ---- */
.tvmy-info{
	margin-top:16px; border-radius:14px; overflow:hidden;
	background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07);
}
.tvmy-info-row{
	display:flex; justify-content:space-between; align-items:center;
	padding:13px 15px; font-size:13px;
	border-bottom:1px solid rgba(255,255,255,.05);
}
.tvmy-info-row:last-child{ border-bottom:0; }
.tvmy-info-row span{ color:#8f85a1; font-weight:600; }
.tvmy-info-row b{ color:#ece7f5; font-weight:700; }
.tvmy-mono{ font-family:'Montserrat',monospace; letter-spacing:-.01em; font-size:12.5px; color:#c9c1d8 !important; }

/* ---- 로그아웃 ---- */
.tvmy-logout{
	display:flex; align-items:center; justify-content:center; gap:8px;
	margin-top:18px; padding:14px; border-radius:13px;
	font-size:13px; font-weight:800; letter-spacing:.04em; text-decoration:none;
	color:#fff; background:linear-gradient(135deg,#7c3aed,#a855f7);
	box-shadow:0 10px 24px -10px rgba(124,58,237,.75);
	transition:transform .12s, filter .12s;
}
.tvmy-logout:hover{ transform:translateY(-2px); filter:brightness(1.08); color:#fff; }
.tvmy-logout:active{ transform:translateY(0); }
.tvmy-logout .fa{ font-size:14px; }

@media (prefers-reduced-motion:reduce){
	.tvmy-stat, .tvmy-menu > a, .tvmy-logout, .tvmy-exp-bar span{ transition:none; }
}
