@charset "utf-8";

/* =========================================================
   1. CSS Variables & Base Layout (Sticky Footer)
========================================================= */
:root {
	--rp-sidebar-w: 250px;
	--rp-sidebar-gap: 20px;
	--rp-sidebar-w-collapsed: 76px;
	--rp-header-top: 20px;
	--rp-header-h: 80px;
	--rp-header-top-mobile: 0px;
	--rp-header-h-mobile: 75px;
	--rp-header-h-small: 60px;
}

#content-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#content {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.body-right {
	flex: 1 0 auto;
	padding-top: calc(var(--rp-header-top) + var(--rp-header-h) + var(--rp-sidebar-gap)) !important;
	box-sizing: border-box !important;
}

#footer {
	flex: 0 0 auto;
}

/* =========================================================
   2. Sidebar - Base Structure (.body-left)
========================================================= */
.body-left {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	max-width: var(--rp-sidebar-w);
	width: 100%;
	height: 100vh;
	background-color: var(--rp-chrome);
	box-sizing: border-box;
	padding: 20px 15px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 8px 0 28px rgba(10, 14, 24, 0.16);
}

.body-left::-webkit-scrollbar {
	width: 5px;
	background: var(--rp-chrome);
}

.body-left::-webkit-scrollbar-thumb {
	border-radius: 13px;
	background: var(--rp-primary);
}

.body-left-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.body-left .category-list {
	height: auto;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--rp-primary) var(--rp-chrome);
}

.body-left .category-list:nth-of-type(1) {
	flex-grow: 1;
	overflow-y: auto;
}

.body-left .category-list:nth-of-type(2) {
	margin-top: 10px;
}

.body-left .category-list::-webkit-scrollbar {
	width: 5px;
	background: var(--rp-chrome);
}

.body-left .category-list::-webkit-scrollbar-thumb {
	border-radius: 13px;
	background: var(--red01);
}

.body-left hr {
	margin-top: var(--space-20);
	border: 0;
	border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.body-left .logo-box {
	display: none;
}

/* =========================================================
   3. Sidebar Navigation - Depth01 & Depth02
========================================================= */
.body-left .category-list .category-list-item:not(:first-child) {
	margin-top: 10px;
}

.body-left .category-list .category-list-item * {
	color: var(--rp-chrome-text);
	transition: color var(--rp-transition);
}

.body-left .category-list .category-list-item i {
	font-size: 1.125rem;
}

.body-left .category-list .category-list-item span {
	font-size: 0.9375rem;
	font-weight: var(--fw-600);
}

.body-left .category-list .category-list-item.active i {
	font-weight: var(--fw-700);
}

.body-left .category-list .category-list-item.active span {
	font-weight: var(--fw-800);
}

/* 1depth Item */
.body-left .category-list .category-list-item .depth01 {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: 7px;
	box-sizing: border-box;
	padding: 12px 20px;
	transition: var(--transition);
	border-radius: 5px;
	cursor: pointer;
}

.body-left .category-list .category-list-item:hover .depth01 {
	background-color: rgba(255, 255, 255, 0.07);
}

.body-left .category-list .category-list-item.active .depth01 {
	background: linear-gradient(135deg, var(--rp-primary), var(--rp-primary-hover));
	box-shadow: 0 8px 18px rgba(225, 29, 112, 0.2);
}

.body-left .category-list .category-list-item.active .depth01 * {
	color: var(--rp-chrome-title);
	border-color: var(--rp-chrome-title);
}

.body-left .category-list .category-list-item .depth01 h3 {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: 7px;
	width: 100%;
}

/* 1depth Arrow Icons */
.body-left:not(.collapsed) .category-list .category-list-item .depth01 h3::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--gray02);
	border-right: 2px solid var(--gray02);
	transition: var(--transition);
	position: absolute;
	top: calc(50% - 2px);
	right: 0;
	transform: translateY(-50%) rotate(135deg);
}

.body-left .category-list .category-list-item.active .depth01 h3::after {
	top: calc(50% + 2px);
	transform: translateY(-50%) rotate(-45deg);
	border-color: #fff;
}

.body-left .category-list .category-list-item.arrow-reverse .depth01 h3::after {
	top: calc(50% + 2px);
	transform: translateY(-50%) rotate(-45deg);
}

.body-left .category-list .category-list-item.arrow-reverse.active .depth01 h3::after {
	top: calc(50% - 2px);
	transform: translateY(-50%) rotate(135deg);
}

/* 1depth Coin Cost */
.body-left .category-list .category-list-item .depth01 .coin-cost {
	display: none;
	width: 100%;
	box-sizing: border-box;
	padding: 5px 10px;
	background-color: var(--white);
	border-radius: 5px;
	border: 1px solid #efb0cb;
}

.body-left .category-list .category-list-item .depth01 .coin-cost p {
	font-size: 12px;
	text-align: center;
	color: #707070;
}

.body-left .category-list .category-list-item .depth01 .coin-cost p strong {
	font-size: inherit;
	color: var(--red01);
}

/* Daum Icon */
.body-left .category-list .category-list-item i.icn-daum {
	width: 17px;
	height: 17px;
	position: relative;
}

.body-left .category-list .category-list-item i.icn-daum svg {
	width: 15px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.body-left .category-list .category-list-item i.icn-daum svg path {
	fill: var(--gray02);
	transition: var(--transition);
}

.body-left .category-list .category-list-item.active i.icn-daum svg path {
	fill: var(--red01);
}

/* 2depth Submenu (Expanded State) */
.body-left .category-list .category-list-item .depth02 {
	margin-top: 5px;
	margin-bottom: var(--space-20);
	display: none;
}

.body-left .category-list .category-list-item .depth02 h4 {
	padding: 0 20px;
	font-size: 0.875rem;
	font-weight: var(--fw-600);
}

.body-left .category-list .category-list-item .depth02 h4:first-of-type {
	margin-top: 15px;
}

.body-left .category-list .category-list-item .depth02 hr {
	width: calc(100% - 40px);
	margin: 15px auto 20px;
}

.body-left .category-list .category-list-item .depth02 ul {
	margin-top: 10px;
}

.body-left .category-list .category-list-item .depth02 li a {
	display: block;
	box-sizing: border-box;
	padding: 10px 20px;
	padding-left: 20px;
	font-size: 0.875rem;
	font-weight: var(--fw-500);
	color: var(--rp-chrome-text);
	position: relative;
	opacity: 0.8;
	transition: var(--transition);
}

.body-left .category-list .category-list-item .depth02 li a:hover,
.body-left .category-list .category-list-item .depth02 li a:hover small {
	color: var(--rp-primary);
	opacity: 1;
}

.body-left .category-list .category-list-item .depth02 li.active a,
.body-left .category-list .category-list-item .depth02 li.active a small {
	color: var(--red01);
	opacity: 0.8;
}

.body-left .category-list .category-list-item .depth02 li a::before,
.body-left .category-list .category-list-item .depth02 li a:hover::before,
.body-left .category-list .category-list-item .depth02 li a:hover small::before,
.body-left .category-list .category-list-item.active .depth02 li.active a::before,
.body-left .category-list .category-list-item.active .depth02 li.active a small::before {
	display: none;
}

.body-left .category-list .category-list-item .depth02 li a::after {
	content: "";
	font-family: xeicon;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	font-size: 1rem;
	opacity: 0;
	transition: var(--transition);
}

.body-left .category-list .category-list-item .depth02 li a:hover::after,
.body-left .category-list .category-list-item .depth02 li a:hover small::after {
	opacity: 1;
	right: 20px;
}

/* Badges & Sub-labels */
.body-left .category-list .category-list-item .sub-label {
	display: flex !important;
	flex-direction: column;
	gap: 3px;
	font-size: 0.7em;
	opacity: 0.8;
	color: #fff;
	margin-top: 2.5px;
	line-height: 1.25;
}

.body-left .category-list .category-list-item .sub-label > span {
	display: block;
	line-height: 1.35 !important;
	letter-spacing: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
	color: inherit;
}

.body-left .category-list .category-list-item .depth02 .depth02-item a:hover .sub-label,
.body-left .category-list .category-list-item .depth02 .depth02-item.active a .sub-label {
	color: #ffa3c8;
	opacity: 1;
}

.gnb-list-item.active .sub-label {
	opacity: 1;
	color: inherit;
}

.category-divider {
	height: 0;
	border-top: 1px solid var(--rp-chrome-divider);
	margin: 6px 12px;
	pointer-events: none;
}

.body-left .category-list .category-list-item.always-open .depth02 {
	display: block !important;
}

.badge-icon {
	color: var(--rp-gold);
	font-size: 13px;
	margin-left: 5px;
	vertical-align: middle;
	transition: all 0.2s ease;
}

.hover-label {
	display: none;
	font-size: 11px;
	color: var(--rp-chrome-text);
	margin-left: 3px;
	vertical-align: middle;
	transition: opacity 0.2s ease;
	opacity: 0;
}

.premium-link:hover .hover-label {
	display: inline;
	opacity: 1;
}

.depth02-item a:hover .badge-icon,
.depth02-item.active .badge-icon {
	color: var(--rp-warning);
	transform: scale(1.1);
}

.coin-cost-wrap {
	display: block;
	width: 100%;
}

.coin-cost {
	display: block;
	width: 100%;
}

.coin-cost p {
	word-break: keep-all;
	line-height: 1.2;
}

/* =========================================================
   4. Sidebar Footer - Company Info & User Box
========================================================= */
.body-left .company-info {
	position: relative;
	width: calc(100% - 40px);
	left: 50%;
	transform: translateX(-50%);
	margin-top: var(--space-55);
}

.body-left .company-info.on {
	bottom: -255px;
	transition: var(--transition);
}

.body-left .company-info .info-top {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	font-size: 0.9375rem;
	font-weight: var(--fw-600);
	color: var(--gray02);
	padding: 7px 0;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}

.body-left .company-info .info-top h4,
.body-left .company-info .info-top i {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.body-left .company-info .info-top i {
	font-weight: var(--fw-500);
	transition: var(--transition);
	transform: rotate(180deg);
}

.body-left .company-info.on .info-top i {
	transform: rotate(0deg);
}

.body-left .company-info .info-bottom {
	padding-top: 10px;
}

.body-left .company-info .info-bottom p {
	font-size: 0.75rem;
	color: var(--gray01);
	word-break: keep-all;
	opacity: 0.7;
}

.body-left .company-info .info-bottom p:not(:first-child) {
	margin-top: 3px;
}

.body-left .company-info .info-bottom span {
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
	cursor: pointer;
}

.body-left .company-info .info-bottom p:last-child {
	margin-top: 15px;
}

/* User Info Box */
.body-left .user-info-box {
	flex-shrink: 0;
	box-sizing: border-box;
	padding: 14px 12px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.18);
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}

.body-left .user-info-box .user-account-menu {
	margin-bottom: 10px;
}

.body-left .user-info-box .user-name {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.body-left .user-info-box .user-name .profile-img-link {
	display: block;
	margin: 0;
	width: 42px !important;
	height: 42px !important;
	flex: 0 0 42px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	transition: opacity .15s;
}

.body-left .user-info-box .user-name .profile-img-link:hover {
	opacity: .85;
}

.body-left .user-info-box .user-name .profile-img {
	display: block !important;
	margin: 0;
	width: 100% !important;
	height: 100% !important;
}

.body-left .user-info-box .user-name .profile-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.body-left .user-info-box .user-profile-details {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 12px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.85);
}

.body-left .user-info-box .user-profile-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 2px;
}

.body-left .user-info-box .user-profile-summary p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 12px;
	color: #fff;
}

.body-left .user-info-box .user-profile-summary p strong {
	display: inline-block;
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	color: #fff;
}

.body-left .user-info-box .user-profile-details > p {
	margin: 0;
	opacity: 0.9;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
}

.body-left .user-info-box .user-profile-details > p strong {
	font-size: 12px;
	color: #fff;
}

.body-left .user-info-box .user-membership-badge {
	margin: 0;
	padding: 2px 6px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	border-radius: 4px;
	background: color-mix(in srgb, var(--rp-primary, #e11d70) 35%, transparent);
	color: #fff !important;
}

.body-left .user-info-box .user-login-prompt {
	margin: 0;
	font-size: 11px;
	opacity: 0.75;
	color: rgba(255, 255, 255, 0.75);
}

.body-left .user-info-box .coin-info {
	display: none;
}

.body-left .user-info-box .btn-box {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.body-left .user-info-box .btn-box li {
	width: auto;
	margin: 0;
	border-radius: 6px;
	transition: background 0.15s ease, opacity 0.15s ease;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.body-left .user-info-box .btn-box li:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.18);
}

.body-left .user-info-box .btn-box li a {
	display: block;
	text-align: center;
	font-size: 13px;
	box-sizing: border-box;
	padding: 8px 10px;
	color: inherit;
	text-decoration: none;
}

.body-left .user-info-box .btn-box li.btn-charge,
.body-left .user-info-box .btn-box li.btn-login {
	background: color-mix(in srgb, var(--rp-primary, #e11d70) 45%, transparent);
	color: #fff;
}

.body-left .user-info-box .btn-box li.btn-charge:hover,
.body-left .user-info-box .btn-box li.btn-login:hover {
	background: color-mix(in srgb, var(--rp-primary, #e11d70) 65%, transparent);
}

.body-left .user-info-box .btn-box li.btn-logout {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.body-left .user-info-box .btn-box li.btn-logout:hover {
	background: rgba(255, 255, 255, 0.18);
}

.body-left .user-info-box .btn-box li.btn-login {
	grid-column: 1 / -1;
}

.body-left .user-info-box .btn-box li.btn-kakao {
	background-color: #ffe000;
	color: #471809;
}

.body-left .user-info-box .btn-box li.btn-kakao:hover {
	background-color: #ffe000;
	opacity: 0.9;
}

/* =========================================================
   5. Top Header (.body-right-head) & Utility Area
========================================================= */
.body-right-head {
	position: fixed;
	top: 20px;
	left: calc(var(--rp-sidebar-w) + var(--rp-sidebar-gap));
	right: 20px;
	width: auto;
	height: 80px;
	box-sizing: border-box;
	padding: 15px 20px;
	background-color: var(--rp-surface);
	border-radius: var(--rp-radius);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--rp-shadow);
	z-index: 999;
	border: 1px solid var(--rp-border);
}

.body-right-head .header-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.body-right-head .logo-box {
	display: flex !important;
	align-items: center;
}

.body-right-head .logo-box a {
	display: block;
}

.body-right-head .logo-box img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 36px;
}

.body-right-head::before,
.body-right-head::after {
	content: none !important;
	display: none !important;
}

.body-right-head .header-right {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	margin-left: auto;
}

.body-right-head .util-box {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.body-right-head .util-box .dark-mode-toggle,
.body-right-head .util-box .front-theme-toggle {
	cursor: pointer;
	background-color: var(--rp-surface-alt);
	border: 1px solid var(--rp-border);
	outline: none;
}

.body-right-head .util-box .dark-mode-toggle i,
.body-right-head .util-box .front-theme-toggle i {
	font-size: 1.25rem;
	color: var(--rp-primary);
	opacity: 0.7;
	transition: var(--transition);
}

.body-right-head .util-box .dark-mode-toggle:hover i,
.body-right-head .util-box .front-theme-toggle:hover i {
	opacity: 1;
}

.body-right-head .util-box .btn_login {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	background-color: var(--red01);
	box-sizing: border-box;
	padding: 12px 20px;
	border-radius: 5px;
	transition: var(--transition);
}

.body-right-head .util-box .btn_login:hover {
	opacity: 0.9;
}

.body-right-head .util-box .btn_login * {
	color: var(--white);
}

.body-right-head .util-box .btn_login i {
	font-size: 1.125rem;
}

.body-right-head .util-box .btn_login span {
	font-size: 0.9375rem;
	font-weight: var(--fw-600);
}

/* User Profile Dropdown in Header */
.body-right-head .util-box .user-profile-area {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.body-right-head .util-box .user-profile-area .user-info {
	text-align: right;
}

.body-right-head .util-box .user-profile-area .user-info p {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
}

.body-right-head .util-box .user-profile-area .user-info p.user-name {
	font-size: 0.9375rem;
	font-weight: var(--fw-600);
}

.body-right-head .util-box .user-profile-area .user-info p.current-coin {
	font-size: 0.9375rem;
	color: var(--gray02);
	margin-top: 2px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	padding: 6px 15px;
	border: 1px solid var(--red01);
	border-radius: 50px;
}

.body-right-head .util-box .user-profile-area .user-info p.current-coin i {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20px;
	height: 20px;
	font-size: 0.8125rem;
	font-weight: var(--fw-600);
	color: var(--white);
	background-color: var(--red01);
	border-radius: 50%;
	font-style: normal;
}

.body-right-head .util-box .user-profile-area .user-info p.current-coin span {
	font-size: 0.8125rem;
	color: inherit;
}

.body-right-head .util-box .user-profile-area .user-info p.current-coin span strong {
	font-size: 1rem;
	color: var(--red01);
	font-weight: var(--fw-600);
}

.body-right-head .util-box .user-profile-area .user-img-area {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	position: relative;
}

.body-right-head .util-box .user-profile-area .user-img {
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-left: 5px;
}

.body-right-head .util-box .user-profile-area .user-img-area > i {
	color: var(--gray02);
	font-size: 1.125rem;
	transition: var(--transition);
}

.body-right-head .util-box .user-profile-area .user-img-area:hover > i {
	color: var(--red01);
}

.body-right-head .util-box .user-profile-area .user-img-area.active > i {
	color: var(--red01);
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box {
	position: absolute;
	top: calc(100% + 30px);
	right: 0;
	width: 170px;
	background-color: var(--rp-surface);
	border-radius: 5px;
	border: 1px solid var(--rp-border);
	box-shadow: var(--rp-shadow-lg);
	box-sizing: border-box;
	padding: 10px;
	opacity: 0;
	transition: var(--transition);
	pointer-events: none;
}

.body-right-head .util-box .user-profile-area .user-img-area.active .user-status-box {
	opacity: 1;
	pointer-events: all;
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	padding: 10px 12px;
	color: var(--gray02);
	transition: var(--transition);
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a:hover {
	background-color: var(--red02);
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a i,
.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a span {
	color: inherit;
	transition: var(--transition);
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a:hover i,
.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a:hover span {
	color: var(--red01);
}

.body-right-head .util-box .user-profile-area .user-img-area .user-status-box li a span {
	font-size: 0.875rem;
	font-weight: var(--fw-500);
}

/* Header Light Mode Invert */
html:not([data-theme="dark"]) .body-right-head .header-left .logo-box img {
	filter: invert(1);
}

/* =========================================================
   6. Notification Panel
========================================================= */
.notification {
	position: relative;
}

.body-right-head .notification-box {
	position: relative;
}

.btn-noti {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--rp-border);
	background: var(--rp-surface-alt);
	color: var(--rp-text);
	cursor: pointer;
	outline: none;
	transition: background-color var(--rp-transition), color var(--rp-transition);
}

.btn-noti:hover {
	background: var(--rp-primary-soft);
	color: var(--rp-primary);
}

.btn-noti .fa-bell {
	font-size: 18px;
}

.noti-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--rp-danger);
	color: var(--rp-surface);
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}

.noti-panel {
	position: absolute;
	right: 0;
	top: 46px;
	width: 420px;
	max-height: 70vh;
	overflow: auto;
	background: var(--rp-surface);
	color: var(--rp-text);
	border: 1px solid var(--rp-border);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow-lg);
}

.noti-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid var(--rp-border);
}

.noti-head strong {
	font-size: 16px;
}

.noti-close {
	background: none;
	border: 0;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--rp-text-muted);
}

.noti-list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

.noti-item {
	padding: 10px 12px;
}

.noti-item + .noti-item {
	border-top: 1px dashed var(--rp-border);
}

.noti-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.noti-body {
	display: block;
	font-size: 13px;
	color: var(--rp-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.noti-empty {
	padding: 24px;
	text-align: center;
	color: var(--rp-text-muted);
}

.noti-foot {
	padding: 10px 12px;
	border-top: 1px solid var(--rp-border);
	text-align: center;
}

.noti-more {
	display: inline-block;
	padding: 8px 12px;
	font-size: 13px;
	color: var(--rp-primary);
	text-decoration: underline;
}

.noti-item.is-read .noti-title {
	font-weight: 500;
	color: var(--rp-text-muted);
}

.noti-item.is-read .noti-dot {
	display: none;
}

.noti-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	margin-bottom: 4px;
}

.noti-circle {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rp-danger);
	flex-shrink: 0;
	display: inline-block;
}

.noti-item.is-read .noti-circle {
	display: none;
}

.noti-actions {
	display: flex;
	gap: 8px;
}

.noti-readall {
	padding: 4px 10px;
	font-size: 14px;
	border: 1px solid var(--rp-border-strong);
	border-radius: var(--rp-radius-sm);
	background: var(--rp-surface-alt);
	color: var(--rp-text-muted);
	cursor: pointer;
	transition: all 0.2s ease;
}

.noti-readall:hover {
	background: var(--rp-primary-soft);
	border-color: var(--rp-primary);
	color: var(--rp-primary);
}

.noti-readall:active {
	background: var(--rp-primary-soft);
	border-color: var(--rp-primary-hover);
	color: var(--rp-primary-hover);
}

@media (max-width: 480px) {
	.noti-panel {
		width: 80vw;
	}
}

/* =========================================================
   7. Sidebar Toggle Buttons & Backdrop (Common)
========================================================= */
.btn-sidebar-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	padding: 0;
	border: none;
	border-radius: var(--rp-radius-sm, 6px);
	background: transparent;
	color: var(--rp-text);
	font-size: 1.05rem;
	cursor: pointer;
	transition: background-color .18s, color .18s, transform .18s;
}

.btn-sidebar-toggle:hover {
	background: var(--rp-primary-soft);
	color: var(--rp-primary);
}

.btn-sidebar-toggle:active {
	transform: scale(0.92);
}

.btn-sidebar-toggle i {
	transition: transform .25s cubic-bezier(.2, 0, 0, 1);
}

/* Toggle Arrow Rotation */
body.sidebar-collapsed .btn-sidebar-toggle--desktop i {
	transform: rotate(180deg);
}

.btn-sidebar-toggle--mobile i {
	transform: rotate(180deg);
}

.body-left.active ~ #content-wrapper .btn-sidebar-toggle--mobile i {
	transform: rotate(0deg);
}

/* Backdrop */
.sidebar-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	z-index: 998;
	opacity: 0;
	transition: opacity .25s ease;
}

@keyframes rpSidebarPop {
	from {
		opacity: 0;
		transform: translateX(-6px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* rp-shell Compatibility */
.rp-shell .body-left .logo-box img {
	max-width: 142px;
	width: 100%;
	height: auto;
}

.rp-shell .body-left .category-divider {
	border-color: var(--rp-chrome-divider);
}

.rp-shell .body-right-head .header-right {
	margin-left: auto;
}

.user-account-menu {
	margin-top: 0;
}

.reward-coin-icon {
	margin-right: 4px;
	color: var(--rp-warning);
}

.user-login-prompt {
	color: var(--rp-text-muted);
	font-size: 11px;
	opacity: .75;
}

/* =========================================================
   8. Responsive Media Queries - Mobile / Tablet (< 1024px)
========================================================= */
@media screen and (max-width: 1023px) {
	.btn-sidebar-toggle--desktop {
		display: none;
	}

	.sidebar-backdrop.active {
		display: block;
		opacity: 1;
	}

	.body-right {
		padding-top: calc(var(--rp-header-top-mobile) + var(--rp-header-h-mobile) + var(--rp-sidebar-gap)) !important;
	}

	.body-left {
		height: calc(100vh - 75px);
		top: 75px;
		left: -40%;
		right: auto;
		max-width: 40%;
		transition: left 2s cubic-bezier(.16, 1, .3, 1);
	}

	.body-left.active {
		left: 0;
	}

	.body-left .category-list {
		margin-top: 0;
	}

	.body-left .category-list:nth-of-type(1) {
		margin-top: 0;
	}

	.body-right-head {
		width: 100%;
		height: 75px;
		top: 0;
		left: 0;
		border-radius: 0;
		z-index: 90909090;
	}

	.body-right-head .header-left .logo-box {
		display: flex !important;
		width: auto;
		max-width: 150px;
	}

	.body-right-head .header-left .logo-box a {
		display: block;
	}

	.body-right-head .header-left .logo-box img {
		display: block;
		max-width: 150px;
		height: auto;
	}

	/* 모바일에서는 사이드바가 오프캔버스 형태로 열리므로,
	   버튼 자체는 헤더에 고정된 채 아이콘 방향만 회전(열림/닫힘) */
}

@media screen and (max-width: 1100px) {
	.body-left .category-list .category-list-item i.icn-daum svg {
		width: 14px;
	}
}

@media screen and (max-width: 900px) {
	.body-left .category-list .category-list-item i.icn-daum svg {
		width: 13px;
	}
}

@media screen and (max-width: 767px) {
	.body-left {
		max-width: 45%;
		left: -45%;
	}

	.body-right-head .util-box .user-profile-area .user-img-area,
	.body-right-head .util-box .user-profile-area {
		gap: 5px;
	}
}

@media screen and (max-width: 500px) {
	.body-right {
		padding-top: calc(var(--rp-header-top-mobile) + var(--rp-header-h-small) + var(--rp-sidebar-gap)) !important;
	}

	.body-left {
		max-width: 70%;
		left: -70%;
		top: 60px;
		height: calc(100vh - 60px);
	}

	.body-right-head {
		height: 60px;
		padding: 12px 15px;
	}

	.body-right-head .header-left {
		gap: 10px;
	}

	.body-right-head .header-left .logo-box {
		max-width: 110px;
	}

	.body-right-head .header-left .logo-box img {
		max-width: 110px;
	}

	.body-right-head .util-box .btn_login {
		padding: 9px 12px;
		gap: 3px;
	}

	.body-right-head .util-box .btn_login span {
		font-size: 0.875rem;
	}

	.body-right-head .util-box,
	.body-right-head .header-right {
		gap: 10px;
	}

	.body-right-head .util-box .dark-mode-toggle,
	.body-right-head .util-box .front-theme-toggle {
		display: inline-flex;
	}

	.body-right-head .util-box .user-profile-area .user-img-area .user-status-box {
		top: calc(100% + 25px);
	}

	.body-right-head .util-box .user-profile-area .user-img {
		width: 25px;
		height: 25px;
	}

	.body-right-head .util-box .user-profile-area .user-info p.current-coin {
		padding: 4px 10px;
		gap: 5px;
	}
}

/* =========================================================
   9. Responsive Media Queries - Desktop (>= 1024px)
========================================================= */
@media (min-width: 1024px) {
	/* Smooth Transition for Sidebar Open/Collapse */
	.body-left,
	.body-left .body-left-inner {
		transition: width .4s cubic-bezier(.2, 0, 0, 1),
		            padding .4s cubic-bezier(.2, 0, 0, 1);
	}

	#content-wrapper,
	.body-right-head {
		transition: width 1s cubic-bezier(.2, 0, 0, 1),
		            margin-left 1s cubic-bezier(.2, 0, 0, 1),
		            left 1s cubic-bezier(.2, 0, 0, 1),
		            top 1s cubic-bezier(.2, 0, 0, 1),
		            padding 1s cubic-bezier(.2, 0, 0, 1),
		            border-radius 1s cubic-bezier(.2, 0, 0, 1);
	}

	.btn-sidebar-toggle--mobile {
		display: none;
	}

	.body-right-head .logo-box {
		display: none !important;
	}

	/* Header & Content Positioning */
	#content-wrapper {
		margin-left: var(--rp-sidebar-w) !important;
	}

	body.sidebar-collapsed #content-wrapper {
		margin-left: var(--rp-sidebar-w-collapsed) !important;
	}

	.body-right-head {
		position: fixed !important;
		left: calc(var(--rp-sidebar-w) + var(--rp-sidebar-gap)) !important;
		right: 20px !important;
		width: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.sidebar-collapsed .body-right-head {
		left: calc(var(--rp-sidebar-w-collapsed) + var(--rp-sidebar-gap)) !important;
	}

	/* Sidebar Top Row (Logo + Toggle Button) */
	.sidebar-top-row {
		display: flex;
		align-items: center;
		width: 100%;
		margin: 10px 0 14px;
		padding: 0 8px 14px;
		border-bottom: 1px solid var(--rp-chrome-border);
		box-sizing: border-box;
	}

	.body-left .logo-box {
		display: flex;
		align-items: center;
		overflow: hidden;
		width: 142px;
		flex-shrink: 0;
		transition: width .4s cubic-bezier(.2, 0, 0, 1),
		            opacity .4s ease,
		            margin .4s cubic-bezier(.2, 0, 0, 1),
		            padding .4s cubic-bezier(.2, 0, 0, 1);
	}

	.body-left.collapsed .logo-box {
		width: 0;
		opacity: 0;
		margin: 0 !important;
		padding: 0 !important;
		border-bottom-width: 0;
		pointer-events: none;
	}

	.sidebar-top-row .btn-sidebar-toggle--desktop {
		flex-shrink: 0;
		margin: 0 0 0 auto;
		width: 44px;
		height: 44px;
		color: var(--rp-chrome-text);
	}

	/* ---- Sidebar Collapsed State (.body-left.collapsed) ---- */
	.body-left.collapsed {
		width: var(--rp-sidebar-w-collapsed) !important;
		min-width: var(--rp-sidebar-w-collapsed) !important;
		max-width: var(--rp-sidebar-w-collapsed) !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	.body-left.collapsed .body-left-inner {
		width: 100%;
		height: 100%;
		padding: 18px 10px;
		box-sizing: border-box;
		overflow: visible;
	}

	.body-left.collapsed .btn-sidebar-toggle--desktop {
		margin: 0 auto;
	}

	.body-left.collapsed .category-list {
		overflow: visible !important;
		padding: 0;
	}

	.body-left.collapsed .category-list-item {
		position: relative;
		margin: 6px 0 !important;
		display: flex;
		justify-content: center;
	}

	.body-left.collapsed .category-list-item .depth01 {
		width: 44px;
		height: 44px;
		padding: 0 !important;
		margin: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 12px;
		cursor: pointer;
		background: transparent;
		transition: background-color .18s, transform .18s,
		            width .4s cubic-bezier(.2, 0, 0, 1),
		            height .4s cubic-bezier(.2, 0, 0, 1),
		            padding .4s cubic-bezier(.2, 0, 0, 1);
	}

	.body-left.collapsed .category-list-item .depth01 h3 {
		width: auto;
		margin: 0;
		padding: 0;
		gap: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	/* 펼칠 때 span 글자는 폭이 넓어지면서(max-width) 살짝 오른쪽으로
	   미끄러지듯(translateX) 페이드인 — snap 없이 하나의 자연스러운
	   "드러남" 동작으로 보이게 세 속성을 겹쳐서 함께 움직인다. */
	.body-left:not(.collapsed) .category-list-item .depth01 h3 span,
	.body-left:not(.collapsed) .user-account-menu .depth01 h3 span {
		display: inline-block;
		max-width: 200px;
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		overflow: hidden;
		white-space: nowrap;
		transition: max-width .45s cubic-bezier(.2, 0, 0, 1) .12s,
		            transform .45s cubic-bezier(.2, 0, 0, 1) .12s,
		            opacity .5s ease .24s,
		            visibility 0s .12s;
	}

	/* 닫힐 때는 딜레이 없이 즉시 0으로 사라짐 */
	.body-left.collapsed .category-list-item .depth01 h3 span,
	.body-left.collapsed .user-account-menu .depth01 h3 span {
		max-width: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateX(-6px);
		overflow: hidden;
		white-space: nowrap;
		transition: none !important;
	}

	.body-left.collapsed .category-list-item .depth01 h3 i {
		margin: 0;
		font-size: 1.15rem;
		color: var(--rp-chrome-text);
		transition: color .18s, transform .18s;
	}

	.body-left.collapsed .category-list-item .depth01 .coin-cost {
		display: none !important;
	}

	.body-left.collapsed .category-list-item:hover .depth01,
	.body-left.collapsed .category-list-item.active .depth01,
	.body-left.collapsed .category-list-item.pinned .depth01 {
		background: var(--rp-chrome-hover, rgba(255, 255, 255, .08));
	}

	.body-left.collapsed .category-list-item:hover .depth01 h3 i,
	.body-left.collapsed .category-list-item.active .depth01 h3 i,
	.body-left.collapsed .category-list-item.pinned .depth01 h3 i {
		color: var(--rp-primary);
		transform: scale(1.08);
	}

	.body-left.collapsed .category-list-item.active .depth01::before {
		content: "";
		position: absolute;
		left: -10px;
		top: 50%;
		width: 3px;
		height: 18px;
		border-radius: 2px;
		background: var(--rp-primary);
		transform: translateY(-50%);
	}

	/* ---- Flyout Submenu in Collapsed Mode (:hover, .pinned) ---- */
	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item .depth02 {
		display: none !important;
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02 {
		display: block !important;
		position: absolute;
		left: calc(100% + 10px);
		top: 0;
		min-width: 230px;
		background: var(--rp-chrome, #151927);
		border: 1px solid var(--rp-border);
		border-radius: var(--rp-radius-md, 12px);
		box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
		padding: 8px;
		z-index: 1001;
		animation: rpSidebarPop .16s cubic-bezier(.16, 1, .3, 1);
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02::after {
		content: "";
		position: absolute;
		left: -10px;
		top: 0;
		bottom: 0;
		width: 10px;
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02::before {
		content: attr(data-cat);
		display: block;
		font-size: .75rem;
		font-weight: 700;
		color: var(--rp-chrome-text-muted, #8b93a7);
		padding: 4px 10px 8px;
		margin-bottom: 4px;
		border-bottom: 1px solid var(--rp-chrome-divider, rgba(255, 255, 255, .1));
		white-space: nowrap;
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02-list {
		display: flex;
		flex-direction: column;
		gap: 2px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02-item a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 10px;
		font-size: .875rem;
		color: var(--rp-chrome-text);
		border-radius: var(--rp-radius-sm, 6px);
		white-space: nowrap;
		transition: background-color .15s, color .15s;
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02-item a:hover,
	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02-item.active a {
		background: var(--rp-chrome-hover, rgba(255, 255, 255, .08));
		color: var(--rp-primary);
	}

	.body-left.collapsed .category-list:not(.user-account-menu) .category-list-item:is(:hover, .pinned) .depth02-item a .sub-label {
		display: none;
	}

	.body-left.collapsed .category-divider {
		width: 22px;
		margin: 8px auto !important;
	}

	/* ---- Collapsed User Info Box & My Page Flyout ---- */
	.body-left.collapsed .user-info-box {
		padding: 12px 0 0;
	}

	.body-left.collapsed .user-account-menu {
		display: flex;
		justify-content: center;
		margin-bottom: 8px;
	}

	.body-left.collapsed .user-account-menu .category-list-item {
		position: relative;
	}

	.body-left.collapsed .user-account-menu .depth01 {
		width: 40px;
		height: 40px;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 12px;
		transition: background-color .18s,
		            width .4s cubic-bezier(.2, 0, 0, 1),
		            height .4s cubic-bezier(.2, 0, 0, 1),
		            padding .4s cubic-bezier(.2, 0, 0, 1);
	}

	.body-left.collapsed .user-account-menu .depth01:hover {
		background: var(--rp-chrome-hover, rgba(255, 255, 255, .08));
	}

	.body-left.collapsed .user-account-menu .depth01 h3 i {
		margin: 0;
		font-size: 1.1rem;
		color: var(--rp-chrome-text);
	}

	.body-left.collapsed .user-account-menu .depth02 {
		display: none !important;
	}

	.body-left.collapsed .user-account-menu:hover .depth02,
	.body-left.collapsed .user-account-menu .category-list-item.pinned .depth02 {
		display: block !important;
		position: absolute;
		left: calc(100% + 10px);
		bottom: 0;
		min-width: 190px;
		background: var(--rp-chrome, #151927);
		border: 1px solid var(--rp-border);
		border-radius: var(--rp-radius-md, 12px);
		box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
		padding: 8px;
		z-index: 1001;
		animation: rpSidebarPop .16s cubic-bezier(.16, 1, .3, 1);
	}

	.body-left.collapsed .user-account-menu:hover .depth02::after,
	.body-left.collapsed .user-account-menu .category-list-item.pinned .depth02::after {
		content: "";
		position: absolute;
		left: -10px;
		top: 0;
		bottom: 0;
		width: 10px;
	}

	.body-left.collapsed .user-account-menu:hover .depth02 .depth02-item a,
	.body-left.collapsed .user-account-menu .category-list-item.pinned .depth02 .depth02-item a {
		display: block;
		padding: 8px 10px;
		font-size: .875rem;
		color: var(--rp-chrome-text);
		border-radius: var(--rp-radius-sm, 6px);
		white-space: nowrap;
	}

	.body-left.collapsed .user-account-menu:hover .depth02 .depth02-item a:hover,
	.body-left.collapsed .user-account-menu .category-list-item.pinned .depth02 .depth02-item a:hover {
		background: var(--rp-chrome-hover, rgba(255, 255, 255, .08));
		color: var(--rp-primary);
	}

	.body-left.collapsed .user-name {
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding: 4px 0 8px;
	}

	.body-left.collapsed .user-name .profile-img-link {
		margin: 0 auto;
		flex: 0 0 34px;
		width: 34px !important;
		height: 34px !important;
	}

	.body-left.collapsed .user-name .user-profile-details {
		display: none;
	}

	.body-left.collapsed .user-info-box .btn-box {
		display: none;
	}
}
