* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	/* background: #000;
	color: #fff;
	font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif; */
	letter-spacing: 0;
}

#intro, #msg, #recommend, #comments, #recommend{scroll-margin-top:50px;}
#top{scroll-margin-top:57px;}

.page {
	/* padding-bottom: 160px; */
	padding-bottom:30px;
	width: min(100%, 480px);
	margin: 0 auto;
	overflow: hidden;
	background: var(--main-bg-color, #000);
}

.main_img {
	position: relative;
	width: 100%;
	aspect-ratio: 480 / 640;
	min-height: 0;
	padding: 18px 18px 26px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	isolation: isolate;
}

.main_video {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main_img::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0) 70%);
	content: "";
}

.top_txt {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	max-width: none;
	padding: 7px clamp(12px, 5vw, 26px) 8px;
	color: #111;
	background: rgba(255, 255, 255, 0.52);
	font-size: clamp(16px, 4.8vw, 23px);
	line-height: 1.45;
	font-weight: 500;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
}

:where(html:not([lang="ko"])) .top_txt {
	font-size: clamp(16px, 4.8vw, 20px);
	word-break: break-word;
}

.top_txt em {
	color: #ff0000;
	font-style: normal;
}

.profile_box {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	padding: 14px 0 14px 16px;
	color: rgba(232, 244, 255, 0.9);
}

.profile_top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 68px;
	min-width: 0;
}

.profile_name {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.profile_meta {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: rgba(232, 244, 255, 0.72);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.profile_meta svg {
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
}

.profile_txt {
	margin: 13px 0 0;
	padding-right: 68px;
	color: rgba(232, 244, 255, 0.86);
	font-size: 14px;
	line-height: 1.7;
	font-weight: 700;
}

.tag_list {
	display: flex;
	gap: 6px;
	margin-top: 13px;
	padding-right: 68px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.tag_list::-webkit-scrollbar {
	display: none;
}

.tag_list span {
	flex: 0 0 auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.11);
	color: rgba(232, 244, 255, 0.76);
	font-size: 11px;
	font-weight: 600;
}

.side_btns {
	position: absolute;
	top: 9px;
	right: 12px;
	display: grid;
	gap: 10px;
}

.side_btns button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	color: rgba(232, 244, 255, 0.86);
	cursor: pointer;
}

.side_btns button:active {
	transform: scale(0.97);
}

.side_btns svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}

/* AI 추천 카드 섹션 */
.recommend_sec {
	padding: 14px 0 18px;
	color: #fff;
}

.recommend_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 0px 10px;
}

.recommend_tit {
	font-family: "Pretendard";
	margin: 0;
	color: #ff1d1d;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 700;
}

.recommend_more {
	font-family: "Pretendard";
	flex: 0 0 auto;
	color: #2aa8ff;
	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
}

.recommend_list {
	width: 100%;
	display: flex;
	gap: 12px;
	padding: 0 0px 2px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.recommend_list::-webkit-scrollbar {
	display: none;
}

.recommend_card {
	position: relative;
	flex: 0 0 calc(calc(100% / 3) - 9px);
	height: 198px;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	color: #fff;
	text-decoration: none;
}

.recommend_img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.recommend_card::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
	content: "";
}

.recommend_info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0 10px 10px;
}

.recommend_name {
	display: block;
	font-size: 14px;
	font-weight: 900;
}

.recommend_desc {
	margin: 4px 0 7px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.76);
	font-size: 11px;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.recommend_meta {
	display: flex;
	gap: 9px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
}

.recommend_meta span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.recommend_meta svg {
	width: 12px;
	height: 12px;
}

.intro_sec {
	padding: 28px 0px 8px;
	background: var(--main-bg-color, #000);
	color: var(--main-color, #fff);
}

.intro_tit {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
}

.intro_tit::before {
	display: block;
	width: 4px;
	height: 20px;
	border-radius: 999px;
	background: #ff315e;
	content: "";
}

.intro_box {
	padding: 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.055);
}

:where(html[color-theme="light"]) .intro_box{
	background: rgba(0, 0, 0, 0.055);
}

.intro_txt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	line-height: 1.72;
	font-weight: 500;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	line-clamp: 6;
}

:where(html[color-theme="light"]) .intro_txt{
	color: rgba(0, 0, 0, 0.86);
}

.intro_txt.on {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

.more_btn {
	margin-top: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ff315e;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.msg_sec {
	padding: 26px 0px;
	background: var(--main-bg-color, #000);
	color: var(--main-color, #fff);
}

.msg_profile {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 9px;
	align-items: start;
	padding: 14px;
	border-radius: 14px;
	/* background: rgba(255, 255, 255, 0.04); */
}

:where(html[color-theme="light"]) .msg_profile{
	/* background: rgba(0, 0, 0, 0.04); */
	background: transparent;
}

.msg_avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.msg_name {
	display: block;
	margin: 2px 0 7px;
	color: var(--main-color, #fff);
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
}

.msg_bubble {
	padding: 17px 13px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.055);
}

:where(html[color-theme="light"]) .msg_bubble{
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: rgba(0, 0, 0, 0.025);
}

.msg_hint {
	margin: 0 0 36px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 13px;
	line-height: 1.6;
	font-style: italic;
}

:where(html[color-theme="light"]) .msg_hint{
	color: rgba(0, 0, 0, 0.42);
}

.msg_text {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	line-height: 1.72;
	font-weight: 700;
}

:where(html[color-theme="light"]) .msg_text{
	color: rgba(0, 0, 0, 0.9);
}

.msg_text span {
	display: block;
}

.msg_text span + span {
	margin-top: 14px;
}

.comments_sec {
	padding: 26px 0px;
	background: var(--main-bg-color, #000);
	color: var(--main-color, #fff);
}

.comments_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0px 12px;
}

.comments_tit {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--main-color, #fff);
	font-size: 16px;
	line-height: 1;
	font-weight: 900;
}

.comments_tit::before {
	display: block;
	width: 4px;
	height: 15px;
	border-radius: 999px;
	background: #ff315e;
	content: "";
}

.comments_tit em {
	margin-left: 2px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

:where(html[color-theme="light"]) .comments_tit em {
	color: rgba(0, 0, 0, 0.58);
}

.comment_sort {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

:where(html[color-theme="light"]) .comment_sort {
	color: rgba(0, 0, 0, 0.5);
}

.comment_sort svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

.comments_box {
	overflow: hidden;
	padding: 13px 13px 18px;
	border: 1px solid rgba(255, 255, 255, 0.065);
	border-radius: 10px;
	background: #1c1d21;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

:where(html[color-theme="light"]) .comments_box {
	border-color: rgba(0, 0, 0, 0.065);
	background: #f8f8f8;
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.035);
}

.comment_form {
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	padding: 8px 10px 7px 7px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	background: #191a1e;
	background: #121317;
}

:where(html[color-theme="light"]) .comment_form{
	border-color: rgba(0, 0, 0, 0.055);
	background: #f1f1f1;
}

.comment_form input {
	display: block;
	width: 100%;
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 700;
}

.comment_form input::placeholder {
	color: rgba(205, 213, 226, 0.54);
}

:where(html[color-theme="light"]) .comment_form input {
	color: rgba(0, 0, 0, 0.78);
}

:where(html[color-theme="light"]) .comment_form input::placeholder {
	color: #b1b1b1;
}

.comment_form button {
	margin: 0 0 0 auto;
	flex: 0 0 auto;
	min-width: 38px;
	height: 28px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: #a5313c;
	color: rgba(255, 255, 255, 0.82);
	font-size: 11px;
	font-weight: 900;
	cursor: pointer;
	opacity: 0.7;
}

.comment_list {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment_item {
	color: var(--main-color, #fff);
}

.comment_item.is_hidden {
	display: none;
}

.comment_list.is_open .comment_item.is_hidden {
	display: block;
}

.comment_top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 7px;
}

.comment_name {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
}

:where(html[color-theme="light"]) .comment_name {
	color: #777;
}

.comment_time {
	margin-left: 5px;
	color: rgba(176, 184, 198, 0.6);
	font-size: 11px;
	font-weight: 700;
}

:where(html[color-theme="light"]) .comment_time {
	color: rgba(176, 184, 198, 1);
}

.comment_more {
	display: grid;
	place-items: center;
	width: 24px;
	height: 20px;
	margin-right: 1px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(176, 184, 198, 0.72);
	cursor: pointer;
}

:where(html[color-theme="light"]) .comment_more {
	color: rgba(176, 184, 198, 1);
}

.comment_more svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.comment_txt {
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 12px;
	line-height: 1.55;
	font-weight: 500;
	word-break: keep-all;
}

:where(html[color-theme="light"]) .comment_txt {
	color: #878787;
}

.comment_txt.deleted {
	color: rgba(176, 184, 198, 0.38);
	font-style: italic;
	font-weight: 600;
}

:where(html[color-theme="light"]) .comment_txt.deleted {
	color: rgba(176, 184, 198, 0.5);
}

.comment_actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.comment_actions button {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(176, 184, 198, 0.62);
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

:where(html[color-theme="light"]) .comment_actions button {
	color: rgba(176, 184, 198, 1);
}

.comment_actions button.is_liked svg path {
	fill: #ff315e;
	stroke: #ff315e;
}

.comment_actions svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.reply_view {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 9px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d63b49;
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
}

.reply_view svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.comment_more_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	margin-top: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(176, 184, 198, 0.72);
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

:where(html[color-theme="light"]) .comment_more_btn {
	color: rgba(176, 184, 198, 1);
}

.comment_more_btn svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.comment_more_btn.is_open svg {
	transform: rotate(180deg);
}

.fix_btn {
	position: fixed;
	left: 50%;
	bottom: 0;
	z-index: 20;
	z-index: 5;
	width: min(100%, 480px);
	padding: 7px 8px calc(5px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.92);
	background: rgba(24, 24, 24, 0.92);
	backdrop-filter: blur(12px);
	transform: translateX(-50%);
}

:where(html[color-theme="light"]) .fix_btn {
	border-top-color: rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 0.92);
}

.fix_name {
	display: flex;
	align-items: center;
	gap: 5px;
	height: 40px;
	padding: 0 10px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	font-weight: 800;
	line-height:1.2;
}

:where(html[color-theme="light"]) .fix_name {
	background: rgba(0, 0, 0, 0.04);
	background: transparent;
	color: rgba(0, 0, 0, 0.8);
}

.fix_name svg {
	margin-top: 3px;
	width: 12px;
	height: 12px;
}

.fix_cta {
	/* font-family: "Pretendard"; */
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 5px;
	border-radius: 7px;
	background: #ff315e;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	overflow:hidden;
}

.fix_cta svg {
	width: 14px;
	height: 14px;
	margin-right: 8px;
}

.bot_nav {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 9px;
	/* border-top: 1px solid rgba(255, 255, 255, 0.08); */
}

.nav_item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.52);
	font-size: 9px;
	font-weight: 800;
	text-decoration: none;
}

.nav_item:active {
	opacity: 0.7;
}

:where(html[color-theme="light"]) .nav_item {
	color: rgba(0, 0, 0, 0.52);
	opacity: 0.7;
}

:where(html[color-theme="light"]) .nav_item:active {
	opacity: 1;
}

.nav_item svg {
	width: 21px;
	height: 21px;
	margin-bottom: 3px;
}

.nav_item.on {
	color: rgba(255, 255, 255, 0.9);
}

:where(html[color-theme="light"]) .nav_item.on {
	color: rgba(0, 0, 0, 0.9);
}

.evt_notice{width:min(100%, 480px);margin:0 auto;padding:25px 25px 30px;background-color:#2c2c2c;font-size:14px;color:#FFF;}
:where(html[color-theme="light"]) .evt_notice{background-color:#f0f0f0;color:#707070;}
:where(body:has(.fix_btn)) .evt_notice{padding-bottom:175px;}
.evt_notice_ttl{font-size:1.25em;font-weight:500;margin-bottom:0.56em;}
.evt_notice_list li{display:flex;font-weight:300;margin-top:0.1em;}
.evt_notice_list li::before{content:"·";font-weight:700;margin-right:0.5em;}


@media (hover:hover) and (pointer:fine){
	.fix_cta::before{content:"";display:block;position:absolute;top:50%;right:calc(100% + 24px);width:160px;height:100px;background-image:linear-gradient(to right, rgba(255, 255, 255, 0.5), transparent);transform:skew(315deg);margin-top:-50px;pointer-events:none;will-change:right;}
	.fix_cta:hover::before{transition:right 0.65s;right:-184px;}
}


@media (max-width: 480px) {
	.intro_sec {
		padding: 28px 16px 8px;
	}

	.msg_profile {
		padding: 7px;
	}

	.msg_sec {
		padding: 26px 16px;
	}

	.recommend_head {
		padding: 0 16px 10px;
	}

	.recommend_list {
		padding: 0 4px 2px;
	}

	.comments_head {
		margin: 0 16px 12px;
	}

	.comments_box {
		padding: 13px 10px 18px;
		width: 94%;
		margin: 0 auto;
	}
}

@media (max-width: 360px) {
	.main_img,
	.intro_sec,
	.msg_sec {
		padding-left: 14px;
		padding-right: 14px;
	}
}