:root {
  --ink: #1d2424;
  --muted: #69716f;
  --jade: #285c58;
  --jade2: #79a99d;
  --gold: #b88b4c;
  --paper: #f4f0e7;
  --line: rgba(51, 61, 58, .18);
  --nav-h: 72px;
  --content: 1280px;
}

/* =====================================================
  Reset & Base
===================================================== */

* {
  box-sizing: border-box;
}

html {
	scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: #e9e5dc;
  background: url(../img/bg.jpg) top center repeat-y;
	background-size: 100% auto;
}

body.preloader_active,
body.modal_open {
  overflow: hidden;
}

/* =====================================================
  04. Main Section Panels
===================================================== */
.version_page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  margin-top: 100px;
}
.version_section[hidden] {
  display: none;
}

.version_section.is_active {
  display: block;
  animation: sectionFadeIn .45s ease both;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
  05. Chapter Navigation / Swiper
===================================================== */
.chapter_nav {
  position: relative;
  z-index: 80;
  width: 100%;
  overflow: hidden;
}

.chapter_nav_swiper {
  width: 100%;
  height: var(--nav-h);
  overflow: hidden;
}

.chapter_nav_swiper .swiper-wrapper {
  width: max-content;
  min-width: 100%;
	height: fit-content;
  align-items: stretch;
  cursor: grab;
}

.chapter_nav_swiper .swiper-slide {
  width: auto;
  height: fit-content;
  flex-shrink: 0;
}

.chapter_nav_swiper .chapter_tab,
.chapter_nav_swiper .chapter_external {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 150px;
	height: 50px;
	padding: 0px 44px;
  border: 0;
  color: #d7d3c7;
  background: url(../img/nav/nav_btn.png) center / contain no-repeat;
  font-family: var(--tltfont);
	font-size: 1.5em;
	letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s ease, filter .25s ease;
}

.chapter_nav_swiper .chapter_tab:hover,
.chapter_nav_swiper .chapter_tab.is_active,
.chapter_nav_swiper .chapter_external:hover {
  color: #fff;
  background-image: url(../img/nav/nav_btn_hover.png);
}

.chapter_nav_swiper .swiper-slide:first-child .chapter_tab,
.chapter_nav_swiper .swiper-slide:first-child .chapter_external {
  margin-left: 0;
}

.chapter_nav_swiper.swiper-horizontal {
  touch-action: pan-y;
  padding: 0 15px;
}

.chapter_nav_swiper,
.chapter_nav_swiper .swiper-wrapper,
.chapter_nav_swiper .swiper-slide,
.chapter_nav_swiper button,
.chapter_nav_swiper a {
	-webkit-user-drag: none;
}

/* 导航文字不允许被选中 */
.chapter_nav_swiper button,
.chapter_nav_swiper a {
	-webkit-user-select: none;
	user-select: none;
}

/* =====================================================
  Shared Section Styles
===================================================== */
.version_section {
  position: relative;
  min-height: 900px;
  padding: 40px 0 0;
}

.section_inner {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section_title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 75vw;
  margin: 0 auto 58px;
}

.section_title img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.intro_panel,
.feature_copy_grid,
.tangmen_layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.intro_copy{
  margin-bottom: 35px;
}

.intro_copy h2,
.feature_text h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
}

.intro_copy h2 {
	display: flex;
	align-items: center;
	width: fit-content;
	min-height: 60px;
  padding: 8px 60px 15px 28px;
  color: #4e5251;
	background: url("../img/tab/subtlt_bg.png") left center / 100% 100% no-repeat;
	font-size: clamp(15px, 2vw, 24px);
	font-weight: 500;
	line-height: 1.25;
}

.content_wrapper p,
.intro_copy p,
.feature_text p,
.tangmen_content p {
  font-size: 18px;
  line-height: 1.5;
  color: #1f2221;
}
.feature_text p{
	margin: 0;
}

.txt_cross, del{
	color: #a2aaaf !important;
	text-decoration: line-through;
}
.intro_copy p{
  text-indent: 2rem;
  margin-bottom: 10px;
}
.bg_dark p,
.bg_dark .content_wrapper p,
.bg_dark .intro_copy p,
.bg_dark .feature_text p{
  color: var(--white);
}


.bg_dark h4{
  width: 100%; 
  color: #ebdebb; 
  font-weight:500;
}


p span,.txt_red{
  color: #a42203;
}

.section_note {
  font-size: 13px!important;
  color: #7a6f5f!important;
}

.content_wrapper{
  min-height: 200px;
  position: relative;
  background: url(../img/content_bg.png) center no-repeat;
  background-size: cover;
  padding: clamp(20px, 3vw, 40px);
  border: 2px solid #2d3f3f;
}

.content_wrapper > .content_image_title {
  width: fit-content;
  max-width: 80%;
}

.content_wrapper::before, .content_wrapper::after{
  position: absolute;
  content: "";
  border: 1px solid #2d3f3f;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  z-index: -1;
	pointer-events: none;
}
.content_wrapper::before{
  width: calc(100% + 15px);
  height: calc(100% - 15px);
}
.content_wrapper::after{
  width: calc(100% - 15px);
  height: calc(100% + 15px);
}

.content_wrapper .deco{
  position: absolute;
  right: -2%;
  bottom: 0;
  min-width: 100px;
  width: 158px;
  max-width: 10vw;
  aspect-ratio: 158 / 78;
  background: url(../img/feature/deco.png) right no-repeat;
  background-size: contain;
  z-index: 99;
}

.banner_wrapper img{
  width: fit-content;
  max-width: 100%;
  min-width: 250px;
}

/* =====================================================
   Page Left Sidebar
===================================================== */
.content_tabs_sidebar {
	position: fixed;
	left: 0;
	top: 50%;
	z-index: 120;
	width: clamp(150px, 11vw, 210px);
	min-width: 0;
	transform: translateY(-50%);
	pointer-events: auto;
}

.content_scroll_list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 14px 0;
}

/* Sidebar 导航按钮 */
.content_scroll_list button {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 58px;
	padding: 12px 24px;
	border: 0;
	color: #d8d6ce;
	background:
		url("../img/nav/tab_btn.png")
		center / 100% 100%
		no-repeat;
	font: 700 16px/1.4 inherit;
	letter-spacing: 0.08em;
	text-align: left;
	cursor: pointer;
	transition:
		color 0.25s ease,
		filter 0.25s ease,
		transform 0.25s ease;
}

.content_scroll_list button span {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
	letter-spacing: 0;
}

.content_scroll_list button:hover {
	color: #fff;
	filter: brightness(1.12);
	transform: translateX(4px);
}

.content_scroll_list button.is_active {
	color: #39280f;
	background-image:
		url("../img/nav/tab_btn_hover.png");
	filter: none;
	transform: translateX(8px);
}

.content_scroll_list button.is_active span {
	color: rgba(57, 40, 15, 0.6);
}

/* =====================================================
   Expanded Content
===================================================== */

.content_tab_content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}

.section_level .content_tab_panel {
	display: block;
	/* width: 100%; */
  width:  min(calc(100% - 48px), var(--content));
	min-width: 0;
	opacity: 1;
	visibility: visible;
	transform: none;
	animation: none;
}

.level_content_section {
	position: relative;
	width: 100%;
	margin-bottom: clamp(60px, 8vw, 110px);
	scroll-margin-top: 115px;
}

.bg_dark{
  display: flex;
  align-items: center;
  justify-content: center;
	flex-direction: column;
  position: relative;
  width: 100vw !important;
  height: fit-content;
  overflow: visible;
  background: url(../img/dark_bg.png) top no-repeat;
  background-size: cover;

  -webkit-mask-image: url(../img/dark_bg.png);
  -webkit-mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: url(../img/dark_bg.png);
  mask-position: center bottom;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  margin-top: -150px;
  margin-bottom: -50px;
  padding-top: 250px;
  padding-bottom: 250px;
  z-index: 0 !important;
}

@media only screen and (max-width: 768px) {
  #levelBreak .bg_dark{
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
  }
}

/* =====================================================
   Cultivation + Pet Combined Layout
===================================================== */
.growth_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(20px, 3vw, 36px);
}

.growth_card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(45, 63, 63, 0.34);
	background:
		url("../img/content_bg.png")
		center / cover
		no-repeat;
	box-shadow: 0 18px 44px rgba(28, 40, 39, 0.12);
}

#levelGrowth .growth_card {
	display: flex;
	flex-direction: column;
  align-items: center;
	min-width: 200px;
  max-width: clamp(250px, 90vw, 606px);
  aspect-ratio: 606/649;
	background:
		url("../img/flag_bg.png")
		center / contain
		no-repeat;
  box-shadow: none;
  border: none;
  padding: 9%;
}

.growth_card .feature_text {
	flex: 1;
	padding: clamp(22px, 3vw, 36px);
}

.growth_card .feature_text p:last-child {
	margin-bottom: 0;
}

.content_image_title{
  width: fit-content;
  max-width: 100%;
}
#levelGrowth .content_image_title{
  width: fit-content;
  max-width: 50%;
}
#levelGrowth .feature_text {
  padding-top: 5px;
  /* max-height: 55%;
  overflow-y: scroll; */
}
#levelGrowth .feature_text p{
  color: white;
  font-size: clamp(9px, 1.1vw, 16px);
  margin-bottom: 1.1vw;
}

@media only screen and (max-width: 768px) {
  #levelGrowth .growth_grid {
    grid-template-columns: 1fr;
    justify-items: center
  }
  #levelGrowth .growth_card {
    padding: 7%;
  }
  #levelGrowth .feature_text p{
    font-size: clamp(9px, 2.5vw, 18px);
    line-height: 1.5;
  }
}

/* =====================================================
  08. Sect Selector & Skill Showcase
===================================================== */

.sect_selector_shell {
  width: 100%;
  height: fit-content;
  align-items: center;
  gap: 12px;
}

.sect_selector {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 0 16px;
  /* scrollbar-width: none; */
}

.sect_selector::-webkit-scrollbar {
  display: none;
}

.sect_selector button {
  font-family: var(--tltfont);
	font-size: 1.2em;
  width: 143px;
  min-width: 73px;
  max-width: 15%;
  max-height: 53px;
  aspect-ratio: 143/53;
  border: 0;
  background: url(../img/nav/tab_btn.png) center no-repeat;
  background-size: contain;
  color: white;
  cursor: pointer;
}


.sect_selector button.is_active {
  color: #422a08;
  background: url(../img/nav/tab_btn_hover.png) center no-repeat;
}

.sect_showcase {
	width: 100%;
	margin-top: 24px;
	background:#f6fbff;
	border: 1px solid rgba(63, 82, 77, 0.15);
	box-shadow: 0 20px 50px rgba(40, 50, 47, 0.1);
}

.sect_content {
	width: 100%;
	padding: clamp(24px, 4vw, 48px);
  min-height: 380px;
}

.sect_name small{
  color: var(--gold);
  letter-spacing: .2em;
}

.sect_name{
  display: none;
}

.sect_name h2 {
  margin: 4px 0 28px;
  font-size: 42px;
  font-weight: 500;
}

/* =====================================================
   Skill Cards
===================================================== */

.skill_cards {
	display: grid;
	gap: 22px;
	width: 100%;
}

.skill_card {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 3vw, 36px);
	width: 100%;
}

.skill_card:last-child {
	border-bottom: 0;
}

/* 左侧技能图标区 */
.skill_icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	height: auto;
	text-align: center;
}

.skill_icon img {
	display: block;
	width: 100px;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

/* 技能名称 */
.skill_icon h3 {
	margin: 10px 0 0;
	color: #283f3b;
	font-family: var(--tltfont);
	font-size: clamp(12px, 1.7vw, 18px);
	line-height: 1.3;
	text-align: center;
}

/* 右侧内容 */
.skill_card_content {
	min-width: 0;
}

.skill_card_heading {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin-bottom: 14px;
}

.skill_card_heading h4 {
	margin: 0;
	color: var(--jade);
	font-family: var(--tltfont);
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.3;
}

.skill_card_heading small {
	display: block;
	margin: 0;
	color: #a42203;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.skill_card p {
	margin: 0;
	color: #5c6462;
	font-size: 18px;
	line-height: 1.8;
}

/* =====================================================
  09. Feature Content & Tables
===================================================== */
.responsive_table {
  overflow: auto;
  margin-bottom: 15px;
  border: 1px solid var(--gold);
  padding: 2px;
}

.responsive_table::-webkit-scrollbar {
  width: 6px;
  height: 3.5px;
}
.responsive_table::-webkit-scrollbar-track {
  opacity: 0;
}
.responsive_table::-webkit-scrollbar-thumb {
  background: rgba(71, 95, 110, 0.7);
  border-radius: 6px;
}
.responsive_table::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}


.responsive_table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.responsive_table th,
.responsive_table td {
  padding: 20px 25px;
  border: 1px solid rgba(52, 72, 67, .15);
  text-align: center;
  background-color: var(--white);
  font-weight: 400;
}
.responsive_table th {
  background: rgba(167, 186, 205, .75);
}

.responsive_table td img{
  max-height: 35px;
  margin-right: 6px;
}

.bg_dark .responsive_table {
  border: none;
  padding: 0;
}
.bg_dark .responsive_table th,
.bg_dark .responsive_table td {
  color: white;
  border: 1px solid #8594a2;
  background-color: rgba(0, 0, 0, 0);
  font-weight: 300;
}

.bg_dark .responsive_table th {
  background-color: rgba(167, 186, 205, 0.5);
}

/* =====================================================
  Tangmen Section
===================================================== */
.tangmen_content {
  margin-top: 0;
}

.music_button {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 28px;
  border: 1px solid var(--jade);
  background: transparent;
  color: var(--jade);
  cursor: pointer;
}

.music_button i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--jade);
  clip-path: polygon(35% 22%, 80% 50%, 35% 78%);
}

/* =====================================================
   Events Cards
===================================================== */

.event_cards {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(22px, 3vw, 38px);
	position: relative;
	max-width: 95vw;
	height: 100%;
	max-height: fit-content;
	margin: 0 auto;
	padding: 50px 3%;
	overflow: visible;
	align-self: flex-start;
	justify-self: flex-start;
	margin-bottom: 50px;
}
.event_cards::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url(../img/scroll_bg.png) center no-repeat;
	background-size: 100% 100%;
}
.event_cards::after {
	content: "";
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	height: 105%;
	aspect-ratio: 38 / 647;
	background: url(../img/scroll_side.png) center no-repeat;
	background-size: contain;
	pointer-events: none;
}

.event_cards .deco{
	position: absolute;
	right: -2%;
	bottom: 0;
	min-width: 100px;
	width: 158px;
	max-width: 10vw;
	aspect-ratio: 158 / 78;
	background: url(../img/feature/deco.png) right no-repeat;
	background-size: contain;
	z-index: 99;
}
.event_card {
	position: relative;
	min-width: fit-content;
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.event_card_button {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 70vw;
	width: 100%;
	padding: 0;
	border: 0;
	color: inherit;
	background: transparent;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.event_card_image {
	display: block;
	width: 100%;
	max-width: fit-content;
	height: fit-content;
	object-fit: contain;
	object-position: center;
}

.event_card_button:hover .event_card_image {
	filter: brightness(1.08);
	transform: scale(.98);
}

.event_card h3 {
	position: relative;
	width: fit-content;
	margin: 20px auto 0;
	padding: 0 22px;
	color: #354844;
	font-family: var(--tltfont);
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.15;
	text-align: center;
	overflow: visible;
}

.event_card h3::before, .event_card h3::after {
	content: '';
	position: absolute;
	width: 6px;
	height: 6px;
	top: 50%;
	background: #354844;
	transform: translateY(-50%) rotate(45deg);
}

.event_card h3::before {
	left: -5px;
}
.event_card h3::after {
	right: -5px;
}

.event_more_title {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: clamp(70px, 8vw, 110px) 0 40px;
}

.event_more_title h2 {
	margin: 0;
	color: #354844;
	font-family: var(--tltfont);
	font-size: clamp(28px, 3vw, 44px);
	letter-spacing: 0.08em;
}

.event_more_cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 850px;
}

@media (max-width: 900px) {
	.event_cards::before {
		background-position: center;
		background-size: 110% 110%;
		border: 3px solid #556670;
	}
	.event_cards::after {
		content: unset;
	}
}

@media (max-width: 560px) {

	.event_card h3 {
		margin-top: 13px;
		font-size: 19px;
	}
}

/* =====================================================
   Event Popup
===================================================== */

.event_popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.event_popup.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.event_popup_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 15, 16, 0.82);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	cursor: pointer;
}

.event_popup_dialog {
	position: relative;
	z-index: 2;
	width: min(900px, 92vw);
	max-height: min(760px, 86vh);
	padding: 10px;
	transform: translateY(24px) scale(0.97);
	transition: transform 0.3s ease;
}

.event_popup.is_open .event_popup_dialog {
	transform: translateY(0) scale(1);
}

.event_popup_content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	max-height: calc(86vh - 20px);
	padding: clamp(28px, 4vw, 50px);
	background: url(../img/scroll_bg.png) center / 100% 100% no-repeat;
}

.event_popup_title {
	position: relative;
	flex: 0 0 auto;
	width: fit-content;
	margin: 0 auto 30px;
	padding: 0 36px;
	color: #354844;
	font-family: var(--tltfont);
	font-size: clamp(25px, 3vw, 38px);
	text-align: center;
}

.event_popup_title::before,
.event_popup_title::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 7px;
	height: 7px;
	background: #354844;
	transform: translateY(-50%) rotate(45deg);
}

.event_popup_title::before {
	left: -4px;
}

.event_popup_title::after {
	right: -4px;
}

.event_popup_scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 12px;
	overscroll-behavior: contain;
}

.event_popup_scroll p {
	margin: 0 0 20px;
	color: #333b39;
	font-size: 16px;
	line-height: 1.8;
}

.event_popup_subtitle {
	margin-bottom: 12px;
	color: #4e5251;
	font-size: 20px;
}

.event_popup_table {
	margin-bottom: 15px;
}

.event_popup_table table {
	min-width: 0;
}

.event_popup_table th,
.event_popup_table td {
	padding: 14px 18px;
}

.event_popup_close, .tangmen_video_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 10;
	width: 46px;
	height: 46px;
	padding: 0;
	background: url(../img/button/close.png) center no-repeat;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		filter 0.25s ease;
}

.event_popup_close:hover, .tangmen_video_close:hover{
	filter: brightness(1.2);
	transform: scale(.9);
}

body.event_popup_open {
	overflow: hidden;
}

.event_popup_scroll::-webkit-scrollbar {
	width: 5px;
}

.event_popup_scroll::-webkit-scrollbar-track {
	background: rgba(45, 63, 63, 0.08);
}

.event_popup_scroll::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(45, 63, 63, 0.55);
}

@media (max-width: 768px) {
	.event_popup {
		padding: 16px;
	}

	.event_popup_dialog {
		width: 100%;
		max-height: 88vh;
	}

	.event_popup_content {
		max-height: calc(88vh - 20px);
		padding: 28px 18px 22px;
		background-size: 115% 105%;
	}

	.event_popup_close {
		right: 2px;
		top: -35px;
	}

	.event_popup_scroll p {
		font-size: 14px;
	}

	.event_popup_subtitle {
		font-size: 17px;
	}

	.event_popup_table {
		overflow-x: auto;
	}

	.event_popup_table table {
		min-width: 520px;
	}
}

/* =====================================================
   Fashion Section
===================================================== */

.section_fashion {
	overflow: hidden;
}

.fashion_section {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.fashion_main {
	position: relative;
	width: min(100%, 1440px);
	margin: 0 auto clamp(70px, 9vw, 130px);
}

.fashion_visual {
	position: relative;
	width: 100%;
	aspect-ratio: 1348 / 860;
	margin-top: -5%;
}

.fashion_slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.55s ease,
		visibility 0.55s ease;
}

.fashion_slide.is_active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.fashion_slide img {
	display: block;
	width: 100%;
	max-width: fit-content;
	object-fit: contain;
	object-position: center;
	user-select: none;
	-webkit-user-drag: none;
}
img.img_m{
	display: none;
}

.fashion_video_button {
	position: absolute;
	left: 7%;
	top: 20%;
	z-index: 8;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(25px, 7vw, 100px);
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background:
		url("../img/button/btn_vdplay.png")
		center / contain
		no-repeat;
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition:
		filter 0.25s ease,
		transform 0.25s ease;
}

/* .fashion_video_button:hover {
	filter: brightness(1.35);
	transform: translate(-50%, -50%) scale(0.94);
} */

.fashion_video_button::after {
	content: "";
	position: absolute;
	left: 47%;
	top: 70%;
	transform: translateX(-50%);
	width: clamp(10px, 80%, 74px);
	aspect-ratio: 74 / 276;
	padding: 0;
	background: url(../img/tangmen/new_fashion.png) center / contain no-repeat;
	z-index: -1;
	pointer-events: none;
}

/* 风格切换按钮 */
.fashion_switch {
	position: absolute;
	left: 2%;
	bottom: 10%;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	margin: 0;
}

.fashion_switch button {
	width: 140px;
	max-width: 12vw;
	aspect-ratio: 1/1;
	background:
		url("../img/tangmen/btn_fashion1.png")
		center / 100% 100%
		no-repeat;
	cursor: pointer;
	transform: translateY(-95%);
}

.fashion_switch button:hover {
	background:
		url("../img/tangmen/btn_fashion1_hover.png")
		center / 100% 100%
		no-repeat;
}

.fashion_switch button.is_active {
	background:
		url("../img/tangmen/btn_fashion1_hover.png")
		center / 100% 100%
		no-repeat;
}

.fashion_switch button:nth-child(2){
	background:
		url("../img/tangmen/btn_fashion2.png")
		center / 100% 100%
		no-repeat;
	transform: translateX(-45%);
}
.fashion_switch button:nth-child(2):hover {
	background:
		url("../img/tangmen/btn_fashion2_hover.png")
		center / 100% 100%
		no-repeat;
}
.fashion_switch button:nth-child(2).is_active {
	background:
		url("../img/tangmen/btn_fashion2_hover.png")
		center / 100% 100%
		no-repeat;
}

.fashion_extra {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: min(100vw, 1600px);
	overflow: visible;
}

.fashion_extra img {
	display: block;
	height: auto;
	max-width: 100vw;
	/* max-height: 850px; */
	object-fit: contain;
	object-position: center;
	user-select: none;
	-webkit-user-drag: none;
}

/* =====================================================
   Fashion Video Modal
===================================================== */

.fashion_video_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.fashion_video_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.fashion_video_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 10, 0.88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}

.fashion_video_dialog {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
	background: #000;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
}

.fashion_video_modal.is_open .fashion_video_dialog {
	transform: translateY(0) scale(1);
}

.fashion_video_frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.fashion_video_frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.fashion_video_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 5;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background:
		url("../img/button/close.png")
		center / contain
		no-repeat;
	cursor: pointer;
	transition:
		filter 0.25s ease,
		transform 0.25s ease;
}

.fashion_video_close:hover {
	filter: brightness(1.2);
	transform: scale(0.9);
}

body.fashion_video_open {
	overflow: hidden;
}

/* =====================================================
   Fashion Responsive
===================================================== */

@media (max-width: 768px) {
	.fashion_main {
		margin-bottom: 0;
	}
	.fashion_visual {
		aspect-ratio: 743 / 869;
	}
	.fashion_slide img {
		display: none;
		max-width: 90vw;
		
	}
	img.img_m{
		display: block !important;
	}

	.fashion_switch{
		left: unset;
		right: 3%;
		top: 5%;
		bottom: unset;
		flex-direction: column;
	}
	.fashion_switch button{
		max-width: 17vw;
		transform: unset !important;
	}

	.fashion_video_modal {
		padding: 14px;
	}

	.fashion_video_dialog {
		width: 100%;
	}

	.fashion_video_close {
		right: 4px;
		top: -54px;
	}
}

/* =====================================================
  15. Back To Top
===================================================== */

.back_to_top {
  position: fixed;
  right: 50px;
  bottom:	50px;
  z-index: 90;
  width: 70px;
  height: 70px;
  /* border: 1px solid rgba(255, 255, 255, .35); */
  /* background: rgba(27, 54, 50, .88); */
	background: url(../img/btn_top.png) no-repeat;
	background-size: contain;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.back_to_top:hover {
	filter: brightness(1.1);
	transform: scale(.95);
}



.back_to_top.is_visible {
  opacity: 1;
  visibility: visible;
}

/* =====================================================
  16. Tablet: <= 1024px
===================================================== */

@media (max-width: 1024px) {
  :root {
      --nav-h: 64px;
  }

  .version_page {
      margin-top: 80px;
  }

  .version_section {
      min-height: auto;
  }

  .intro_panel,.feature_copy_grid,.tangmen_layout{
      grid-template-columns: 1fr;
      gap: 34px;
  }

  .sect_showcase {
      grid-template-columns: 1fr;
  }

  .content_tabs_layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
  }

  .content_tab_list button {
    min-height: 52px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .content_tabs_sidebar {
		width: 165px;
	}

	.content_scroll_list button {
		min-height: 50px;
		padding: 9px 15px;
		font-size: 13px;
	}

	.level_content_section {
		scroll-margin-top: 95px;
	}
}

/* =====================================================
  17. Mobile: <= 768px
===================================================== */

@media (max-width: 768px) {
  :root {
      --nav-h: 56px;
  }

  .chapter_nav_swiper .chapter_tab,
  .chapter_nav_swiper .chapter_external {
      min-width: 170px;
  }

  .section_title {
      max-width: 100vw;
      margin-bottom: 36px;
  }

  .feature_text h2 {
		width: 100%;
		min-width: 0;
		min-height: 50px;
		padding: 7px 48px 7px 20px;
		font-size: 22px;
	}

  .content_wrapper p,.intro_copy p,.feature_text p,.tangmen_content p {
		font-size: 15px;
		line-height: 1.85;
  }

  .content_tabs {
      margin-top: 44px;
  }

  .content_tabs_layout {
    display: block;
  }

  .content_tab_list {
    position: static;
    gap: 6px;
    width: 100%;
    padding: 4px 0 12px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .content_tab_list::-webkit-scrollbar {
    display: none;
  }

  .content_tab_list button {
    flex: 0 0 auto;
    width: auto;
    min-width: 140px;
    min-height: 48px;
    padding: 9px 18px;
    font-size: 13px;
    text-align: center;
    scroll-snap-align: start;
  }

  .content_tab_list button span {
    display: none;
  }

  .content_tab_list button:hover,
  .content_tab_list button.is_active {
    transform: none;
  }

  .growth_grid {
    grid-template-columns: 1fr;
  }

  .sect_selector_shell {
      grid-template-columns: 34px minmax(0, 1fr) 34px;
      gap: 4px;
  }

  .sect_showcase {
      min-height: 0;
  }

  .sect_content {
      padding: 25px 18px;
  }

  .sect_name h2 {
      font-size: 34px;
  }

  .skill_card {
		grid-template-columns: 60px minmax(0, 1fr);
		align-items: flex-start;
		gap: 16px;
		padding: 18px 0;
	}

	.skill_card_heading {
		gap: 4px;
		margin-bottom: 10px;
	}

	.skill_card_heading h4 {
		font-size: 17px;
	}

	.skill_card_heading small {
		font-size: 11px;
	}

	.skill_card p {
		font-size: 15px;
		line-height: 1.7;
	}

  .back_to_top {
      right: 14px;
      bottom: 16px;
      width: 46px;
      height: 46px;
  }

  .content_tabs_sidebar {
		position: sticky;
		left: auto;
		top: 0;
		z-index: 110;
		width: 100%;
		transform: none;
		margin-bottom: 24px;
		padding: 6px 14px;
		background: rgba(20, 28, 27, 0.94);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
    overflow: hidden;
  }

	.content_scroll_list {
		flex-direction: row;
		gap: 6px;
		width: 100%;
		padding: 4px 0;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.content_scroll_list::-webkit-scrollbar {
		display: none;
	}

	.content_scroll_list button {
		flex: 0 0 auto;
		width: auto;
		min-width: 130px;
		min-height: 44px;
		padding: 8px 15px;
		font-size: 13px;
		text-align: center;
	}

	.content_scroll_list button span {
		display: none;
	}

	.content_scroll_list button:hover,
	.content_scroll_list button.is_active {
		transform: none;
	}

	.level_content_section {
		scroll-margin-top: 85px;
	}
}

/* =====================================================
   Modal Interaction Safety
===================================================== */

.site_modal,
.site_modal[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site_modal.is_open,
.site_modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Swiper 导航属于拖拽操作区，不允许选择文字 */
.chapter_nav_swiper,
.chapter_nav_swiper *,
.sect_selector,
.sect_selector * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 保留正文正常选择文字 */
.intro_copy,
.feature_text,
.skill_card p,
.responsive_table,
.responsive_table td,
.responsive_table th {
  -webkit-user-select: text;
  user-select: text;
}

/*
 * 只允许 Swiper 处理横向手势，
 * 页面自身继续负责上下滚动。
 */
.chapter_nav_swiper {
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.chapter_nav_swiper .swiper-wrapper:active {
	cursor: grabbing;
}

.chapter_nav_swiper .swiper-slide,
.chapter_nav_swiper button,
.chapter_nav_swiper a {
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

.sect_selector {
  touch-action: pan-x pan-y;
}

html.is_native_dragging,
body.is_native_dragging,
html.is_native_dragging *,
body.is_native_dragging * {
	cursor: default !important;
}


/* Add after the shared section styles in xtl-responsive.css. */

.version_content_block {
	width: min(calc(100% - 48px), var(--content));
}

.content_tab_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 28px;
}

.content_tab_list button {
	min-width: 140px;
	min-height: 48px;
	padding: 10px 22px;
	border: 0;
	color: #d8d6ce;
	background: url("../img/nav/tab_btn.png") center / 100% 100% no-repeat;
	font: 700 15px/1.4 inherit;
}

.content_tab_list button.is_active{
	color: #39280f;
	background-image: url("../img/nav/tab_btn_hover.png");
}

.content_tab_panel {
	display: none;
	width: 100%;
}

.content_tab_panel.is_active{
	display: block;
}

.version_card_grid {
	width: min(calc(100% - 48px), var(--content));
}

@media (max-width: 768px) {
	.version_content_block,
	.version_card_grid {
		width: min(calc(100% - 28px), var(--content));
	}

	.content_tab_list{
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	.content_tab_list button{
		flex: 0 0 auto;
		min-width: 130px;
	}
}


/* =====================================================
   Rank Section
===================================================== */

.rank_content_layout,
.rank_content {
	width: 100%;
}

.rank_content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rank_intro_section,
.rank_reward_section {
  width: min(calc(100% - 48px), var(--content));
  margin-bottom: clamp(50px, 7vw, 90px);
}

.rank_reward_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	width: 100%;
}

.rank_reward_heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rank_reward_item {
  width: 100%;
  max-width: fit-content;
  position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	text-align: center;
  margin-bottom: 50px;
}
.rank_reward_item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 250px;
  height: 100%;
  max-height: 364px;
  aspect-ratio: 373 / 364;
  background: url(../img/tab/round_bg_s.png) center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.rank_reward_item img {
	display: block;
  width: min(100%, 300px);
  height: 300px;
  aspect-ratio: 1 / 1;
	max-height: 50vw;
	object-fit: contain;
	object-position: center;
  z-index: 5;
}

.rank_reward_item figcaption {
  position: absolute;
  top: 100%;
	margin-top: 8px;
	color: #4a4a55;
	font-size: 18px;
	font-weight: 600;
  z-index: 5;
}


/* =====================================================
   Tianma Section
===================================================== */
.rank_tianma_visual{
  position: relative;
  height: fit-content;
}

.rank_tianma_visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100vw, 900px);
  aspect-ratio: 1281 / 1205;
  background: url("../img/tab/round_bg.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}


.rank_tianma_background {
	margin-top: -100px;
	margin-bottom: -250px;
}

.rank_tianma_section {
	width: min(calc(100% - 48px), var(--content));
}

.rank_tianma_section > .content_image_title {
	display: block;
	width: fit-content;
	max-width: min(80%, 580px);
	margin: 0 auto 45px;
}

.rank_tianma_visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.rank_tianma_visual img {
	display: block;
	width: min(100%, 620px);
	max-height: 650px;
	object-fit: contain;
	object-position: center;
	filter:
		drop-shadow(0 20px 28px rgba(0, 0, 0, 0.35))
		drop-shadow(0 0 20px rgba(213, 228, 235, 0.22));
  z-index: 1;
}

.rank_tianma_visual figcaption {
	margin-top: 10px;
	color: #eadfbe;
	font-family: var(--tltfont);
	font-size: 18px;
	letter-spacing: 0.08em;
}

/* =====================================================
   Rank Responsive
===================================================== */
@media (max-width: 768px) {
	.rank_intro_section,
	.rank_reward_section,
	.rank_tianma_section {
		width: min(calc(100% - 28px), var(--content));
	}

	.rank_tianma_visual img {
		width: min(90vw, 480px);
	}
}

/* =====================================================
   Tangmen Section
===================================================== */

.tangmen_content_layout,
.tangmen_content_inner {
	width: 100%;
}

.tangmen_content_inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tangmen_section {
	width: min(calc(100% - 48px), var(--content));
	margin-bottom: 50px;
	z-index: 1;
}

.tangmen_section_heading {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 40px;
}

.tangmen_section_heading .content_image_title {
	display: block;
	width: fit-content;
	max-width: min(80%, 620px);
	height: auto;
}

/* =====================================================
   Tangmen Music
===================================================== */

.tangmen_music_section {
	width: min(calc(100% - 48px), 1260px);
}

.tangmen_mv_player {
	position: relative;
	width: 100%;
	height: 400px;
}
.tangmen_mv_player .char{
	position: absolute;
	left: -15%;
	top: 50%;
	width: 642px;
	max-width: 50vw;
	aspect-ratio: 642/482;
	transform: translateY(-50%);
	background: url(../img/tangmen/char.png) center no-repeat;
	background-size: contain;
	z-index: 10;
}

.tangmen_mv_visual {
	position: absolute;
	right: -15%;
	top: 50%;
	transform: translateY(-50%);
	min-width: 0;
	width: 644px;
	max-width: 50vw;
	overflow: hidden;
	aspect-ratio: 644/565;
	background: url(../img/tangmen/mvbg.png) center no-repeat;
	background-size: contain;
	z-index: 10;
}

.tangmen_mv_play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(70px, 7vw, 92px);
	aspect-ratio: 1 / 1;
	padding: 0;
	border-radius: 50%;
	background: url(../img/tangmen/btn_videoplay.png) center no-repeat;
	background-size: contain;
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.tangmen_mv_play:hover {
	filter: brightness(1.5) saturate(.5);
	transform: translate(-50%, -50%) scale(0.94);
}

.tangmen_mv_overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 15px;
	background: linear-gradient(180deg, transparent, rgba(7, 15, 17, 0.86));
	pointer-events: none;
}

.tangmen_mv_overlay span {
	color: #eadfbd;
	font-size: 14px;
	letter-spacing: 0.12em;
}

@media (max-width: 768px) {
	.tangmen_mv_overlay {
		min-height: 48px;
		padding: 10px;
	}

	.tangmen_mv_overlay span {
		font-size: 12px;
	}
}

/* =====================================================
   Tangmen Video Modal
===================================================== */

.tangmen_video_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tangmen_video_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.tangmen_video_modal .site_modal_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 10, 0.88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.tangmen_video_dialog {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
	background: #000;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
}

.tangmen_video_modal.is_open .tangmen_video_dialog {
	transform: translateY(0) scale(1);
}

.tangmen_video_frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.tangmen_video_frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

body.tangmen_video_open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.tangmen_video_modal {
		padding: 14px;
	}

	.tangmen_video_dialog {
		width: 100%;
	}

	.tangmen_video_close {
		right: 4px;
		top: -54px;
	}
}

.tangmen_music_box, .tianlong_music_box {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 50%;
	max-width: 80vw;
	height: 100%;
	overflow: hidden;
	margin: 0 auto;
}

.tangmen_music_name, .tianlong_music_name {
	position: relative;
	flex: 0 0 auto;
	width: fit-content;
	padding: 0 25px 10px;
	text-align: center;
	border-bottom: 1px dashed #1f2221;
	margin: 0 auto;
}

.tangmen_music_name::before, .tangmen_music_name::after,
.tianlong_music_name::before, .tianlong_music_name::after  {
	content: '';
	position: absolute;
	width: 6px;
	height: 6px;
	bottom: -3px;
	background: #26393c;
	transform: rotate(45deg);
}

.tangmen_music_name::before, .tianlong_music_name::before {
	left: -4px;
}
.tangmen_music_name::after, .tianlong_music_name::after{
	right: -4px;
}

.tangmen_music_name h2, .tianlong_music_name h2{
	margin: 0;
	font-family: var(--tltfont);
	font-size: clamp(18px, 3vw, 24px);
	color: #26393c;
	line-height: 1.35;
	text-wrap: nowrap;
}

.tangmen_lyric, .tianlong_lyric{
	flex: 1 1 auto;
	min-height: 0;
	margin: 20px -8px 15px 0;
	padding: 0 18px 0 4px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(215, 201, 158, 0.65) rgba(255, 255, 255, 0.08);
}

.tangmen_lyric p, .tianlong_lyric p{
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
	text-indent: 0;
}

.tangmen_lyric_group, .tianlong_lyric_group{
	margin-bottom: 22px;
}

.tangmen_lyric_group:last-child, .tianlong_lyric_group:last-child{
	margin-bottom: 0;
}

.tangmen_lyric::-webkit-scrollbar , .tianlong_lyric::-webkit-scrollbar {
	width: 5px;
}

.tangmen_lyric::-webkit-scrollbar-track, .tianlong_lyric::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.06);
}

.tangmen_lyric::-webkit-scrollbar-thumb, .tianlong_lyric::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(215, 201, 158, 0.62);
}

.tangmen_lyric::-webkit-scrollbar-thumb:hover, .tianlong_lyric::-webkit-scrollbar-thumb:hover {
	background: rgba(235, 218, 166, 0.9);
}

/* ===============================
   Audio buttons
================================ */

.tangmen_music_tools, .tianlong_music_tools{
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
}

.tangmen_music_control, .tianlong_music_control{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 50px;
	aspect-ratio: 1/1;
	padding: 8px;
	border: 1px solid #daaa5f;
	border-radius: 99px;
	color: #daaa5f;
	background: rgba(255, 255, 255, 0.04);
	letter-spacing: 0.1em;
	cursor: pointer;
	transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tangmen_music_control:hover,
.tangmen_music_control.is_active,
.tianlong_music_control:hover,
.tianlong_music_control.is_active {
	color: #26393c;
	background: #daaa5f;
	transform: translateY(-2px);
}

.tangmen_music_control_icon, .tianlong_music_control_icon{
	display: block;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 18px solid currentColor;
	margin-left: 3px;
}

.tangmen_music_control.is_active .tangmen_music_control_icon,
.tianlong_music_control.is_active .tianlong_music_control_icon {
	width: 10px;
	height: 16px;
	border: 0;
	margin-left: 0;
	background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 65%, currentColor 65% 100%);
}

.tangmen_music_stop_icon, .tianlong_music_stop_icon {
	display: block;
	width:  16px;
	height: 16px;
	background: currentColor;
}

@media (max-width: 768px) {
	.tangmen_mv_player {
		height: 100%;
		max-height: fit-content;
	}

	.tangmen_mv_visual {
		position: relative;
		max-width: 100vw;
		left: 50%;
		top: unset;
		transform: translate(-50%, -20px);
	}

	.tangmen_music_box {
		width: 100%;
		min-height: 350px;
	}

	.tangmen_lyric {
		max-height: 330px;
	}

	.tangmen_mv_player .char{
		display: none;
	}
}

/* =====================================================
   Tangmen Skills
===================================================== */

.tangmen_skill_list {
	display: flex;
	flex-direction: column;
	gap: clamp(30px, 5vw, 60px);
	width: 100%;
}

.tangmen_skill_card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.tangmen_skill_icon {
	display: flex;
	align-items: center;
	text-align: center;
	gap: 16px;
}

.tangmen_skill_icon img {
	display: block;
	width: 110px;
	height: 110px;
	object-fit: contain;
}

.tangmen_skill_icon h3 {
	font-family: var(--tltfont);
	color: #354844;
	font-size: clamp(20px, 2vw, 25px);
	line-height: 1.35;
}

.tangmen_skill_icon h3 span,
.tangmen_juexue h4 span {
	color: #a42203;
}

.tangmen_skill_icon del,
.tangmen_juexue del {
	margin-right: 7px;
	color: #8c8377;
	font-weight: 400;
}

.tangmen_tag {
	position: relative;
	width: fit-content;
	padding: 5px 25px;
	gap: 15px;
	border: 2px solid #b2c3d1;
}
.tangmen_tag p{	
	font-size: clamp(18px, 2vw, 25px);
	line-height: 1.35;
	margin: 0;
}
.tangmen_tag::before, .tangmen_tag::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	background: #b2c3d1;
	transform: rotate(45deg);
}
.tangmen_tag::before {
	left: -5px;
}
.tangmen_tag::after {
	right: -5px;
}

.tangmen_skill_meta {
	width: fit-content;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 2px;
	border: 1px solid rgba(40, 92, 88, .25);
}

.tangmen_skill_meta h4 {
	font-size: clamp(18px, 2vw, 22px);
	padding: 4px 9px;
	border: 1px solid rgba(40, 92, 88, .25);
	font-weight: 400;
	margin: 0;
	background: #b2c3d1;
}

.tangmen_old_effect {
	padding-left: 15px;
	border-left: 3px solid #9b968d;
	color: #77736b !important;
}

.tangmen_juexue {
	margin-top: 22px;
	padding: 20px 22px;
	border: 1px solid rgba(184, 139, 76, .4);
	background: rgba(255, 249, 234, .55);
}

.tangmen_juexue h4 {
	margin: 0 0 12px;
	color: #885c25;
	font-family: var(--tltfont);
	font-size: clamp(18px, 2vw, 24px);
}

.tangmen_juexue p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.8;
}

.tangmen_juexue p:last-child {
	margin-bottom: 0;
}

.tangmen_subskill_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 22px;
}

.tangmen_subskill {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	padding: 15px;
	border: 1px solid rgba(45, 63, 63, .2);
	background: rgba(255, 255, 255, .45);
}

.tangmen_subskill img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.tangmen_subskill h5 {
	margin: 0 0 5px;
	color: var(--jade);
	font-size: 16px;
}

.tangmen_subskill p {
	margin: 0;
	color: #555d5b;
	font-size: 13px;
	line-height: 1.6;
}

.tangmen_mechanism_list {
	margin: 16px 0;
	padding-left: 22px;
}

.tangmen_mechanism_list li {
	margin-bottom: 9px;
	color: #444d4a;
	font-size: 15px;
	line-height: 1.7;
}

.tangmen_mechanism_list strong {
	color: #8f5425;
}

/* =====================================================
   Tangmen Scene Slider
===================================================== */

.tangmen_scene_section {
	width: 100%;
	margin-bottom: -100px;
}

.tangmen_scene_section .tangmen_section_heading {
	width: min(calc(100% - 48px), var(--content));
	margin-right: auto;
	margin-left: auto;
}

.tangmen_scene_slider {
	width: min(1120px, 92vw);
}

.tangmen_scene_slider .featureSwiper .swiper-slide img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tangmenSceneSwiper .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* =====================================================
   Tangmen Responsive
===================================================== */
@media (max-width: 1024px) {
	.tangmen_music_layout {
		grid-template-columns: 1fr;
	}

	.tangmen_lyrics {
		max-height: 260px;
	}

	.tangmen_subskill_grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.tangmen_section_heading .content_image_title {
		max-width: 90%;
	}

	.tangmen_music_layout {
		gap: 22px;
	}

	.tangmen_song_credits {
		grid-template-columns: 1fr;
	}

	.tangmen_audio_controls {
		flex-wrap: wrap;
	}

	.tangmen_audio_button {
		flex: 1 1 130px;
	}

	.tangmen_skill_card {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tangmen_skill_icon {
		flex: 0 0 90px;
	}

	.tangmen_skill_icon img {
		width: 76px;
		height: 76px;
	}

	.tangmen_skill_meta {
		justify-content: flex-start;
	}

	.tangmen_juexue {
		padding: 17px 15px;
	}

	.tangmen_subskill {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.tangmen_subskill img {
		width: 42px;
		height: 42px;
	}

	.tangmen_scene_section .tangmen_section_heading {
		width: min(calc(100% - 28px), var(--content));
	}
}

/* =====================================================
   Tianlong Section
===================================================== */
body:has(.section_tianlong.is_active), body:has(.section_xiake.is_active){
	background: url(../img/tianlong/mainbg.png) top center repeat-y;
	background-size: 100% auto;
}

.tianlong_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.tianlong_section {
	width: min(calc(100% - 48px), var(--content));
	margin-bottom: 50px;
}

.tianlong_section_heading {
	display: flex;
	justify-content: center;
	width: 100%;
	z-index: 10;
}

.tianlong_section_heading img {
	display: block;
	width: fit-content;
	max-width: min(85%, 620px);
	height: auto;
}

/* Music */
.tianlong_music_player {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1181px;
	max-width: 90vw;
	max-height: 542px;
	gap: clamp(25px, 4vw, 55px);
	aspect-ratio: 1181/542;
	background: url(../img/tianlong/mv_wrapper.png) no-repeat;
	background-size: contain;
	margin-right: -7%;
	padding: 10% 15% 6%;
}


.tianlong_music_visual {
	position: absolute;
	width: 525px;
	height: 528px;
	aspect-ratio: 525/528;
	max-width: fit-content;
	max-height: 100%;
	min-width: 0;
	overflow: hidden;
	left: -10%;
	top: 54%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.tianlong_music_visual img {
	height: 100%;
	width: 100%;
	display: block;
	object-fit: contain;
}

.tianlong_video_play, .xiake_video_play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 5;
	width: clamp(68px, 7vw, 96px);
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: url("../img/tianlong/btn_video.png") center / contain no-repeat;
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: filter 0.25s ease, transform 0.25s ease;
}

.tianlong_video_play:hover, .xiake_video_play:hover{
	filter: brightness(1.3);
	transform: translate(-50%, -50%) scale(0.94);
}


/* Scene */
.tianlong_scene_wrapper{
	width: 100%;
	aspect-ratio: 1437/808;
	background: url(../img/tianlong/sliderbg.png) center no-repeat;
	background-size: contain;
	padding-top: 8%;
	margin: 0 auto;
}

.tianlong_scene_video, .xiake_scene_video {
	position: relative;
	width: 50%;
	margin: 0 auto 2%;
	overflow: hidden;
}

.xiake_scene_video{
	max-width: fit-content;
	margin: 0;
}

.tianlong_scene_video img, .xiake_scene_video img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}

.tianlong_scene_slider {
	position: relative;
	width: min(1120px, 82vw);
	margin: auto;
	padding: 0 70px;
}

.tianlongSceneSwiper {
	overflow: hidden;
}

.tianlongSceneSwiper .swiper-slide, .xiakeSceneSwiper{
	height: auto;
	background: url(../img/tianlong/video_pic.png) no-repeat;
	background-size: contain;
	-webkit-mask-image: url(../img/tianlong/video_pic.png);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: url(../img/tianlong/video_pic.png);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.tianlong_scene_image, .xiake_scene_image{
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
}

.tianlong_scene_image img, .xiake_scene_image img{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.tianlong_scene_image:hover img, .xiake_scene_image:hover img {
	filter: brightness(1.08);
	transform: scale(1.03);
}

.tianlong_scene_prev,
.tianlong_scene_next {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
}

.tianlong_scene_prev {
	left: 0;
}

.tianlong_scene_next {
	right: 0;
}

.tianlong_scene_pagination {
	position: relative;
	margin-top: 20px;
}

.tianlong_skill_list{
	margin-bottom: 50px;
}

/* Modals */

.tianlong_video_modal,
.tianlong_image_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tianlong_video_modal.is_open,
.tianlong_image_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.tianlong_video_backdrop,
.tianlong_image_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 10, 0.9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.tianlong_video_dialog,
.tianlong_image_dialog {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
}

.tianlong_video_modal.is_open .tianlong_video_dialog,
.tianlong_image_modal.is_open .tianlong_image_dialog {
	transform: none;
}

.tianlong_video_frame {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.tianlong_video_frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tianlong_image_dialog img {
	display: block;
	width: 100%;
	max-height: 88vh;
	object-fit: contain;
}

.tianlong_video_close,
.tianlong_image_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 5;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: url("../img/button/close.png") center / contain no-repeat;
	cursor: pointer;
}

body.tianlong_modal_open {
	overflow: hidden;
}

@media (max-width: 768px) {
	body:has(.section_tianlong.is_active), body:has(.section_xiake.is_active){
		background-size: unset;
	}
	.tianlong_scene_section{
		width: 100vw;
	}
	.tianlong_scene_slider {
		width: 82%;
		padding: 0 42px;
	}
	.tianlong_music_player {
		width: 100%;
		max-width: 100%;
		max-height: unset;
		gap: clamp(25px, 4vw, 55px);
		aspect-ratio: 563 / 1017;
		background: url(../img/tianlong/mv_wrapper_m.png) no-repeat;
		background-size: contain;
		margin-right: -16%;
		margin-top: 18%;
		padding: 68% 17% 10% 2%;
	}
	.tianlong_music_visual {
		width: 106%;
		height: 60%;
		max-width: unset;
		max-height: unset;
		left: 41%;
		top: -15%;
		transform: translateX(-50%);
	}
	.tianlong_music_box {
		width: 100%;
		max-height: 80%;
		gap: 5px;
	}
	.tianlong_lyric {
		margin: 0 auto;
	}

	.tianlong_skill_before p,
	.tianlong_skill_after p {
		font-size: 14px;
	}

	.tianlong_video_modal,
	.tianlong_image_modal {
		padding: 14px;
	}

	.tianlong_video_close,
	.tianlong_image_close {
		right: 4px;
		top: -54px;
	}

	/* Skills */
	.tianlong_skill_list img, .xiake_content img{
		display: none;
	}
}

/* =====================================================
   Xiake Section
===================================================== */

.section_xiake {
	overflow: hidden;
}

.section_xiake p{
	color: #216b95;
}

.xiake_intro {
	width: min(calc(100% - 48px), 960px);
	text-align: center;
	margin-bottom: 50px;
}

.xiake_intro p{
	margin: 0 0 5px;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.5;
}
.xiake_intro p strong{
	font-size: clamp(18px, 2vw, 24px);
}
.xiake_intro p span{
	color: #c98f32;
}

.xiake_content_section {
	width: min(calc(100% - 48px), var(--content));
	margin: 0 auto clamp(20px, 8vw, 50px);
	scroll-margin-top: 100px;
}

.xiake_content_section > .content_image_title {
	display: block;
	width: fit-content;
	max-width: min(80%, 620px);
	margin: 0 auto -15px;
}

.xiake_content_wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 1244px;
	max-width: 98%;
	aspect-ratio: 1244/562;
	background: url(../img/xiake/wrapper_bg.png) no-repeat;
	background-size: contain;
	padding: 4% 5% 5% 3%;
}
.xiake_content_wrapper.feature{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 1315px;
	max-width: 98%;
	aspect-ratio: 1315/617;
	background: url(../img/xiake/wrapper_bg2.png) no-repeat;
	background-size: contain;
	padding: 2% 4%;
	gap: 2vw;
	margin-bottom: 50px;
}

.col_2 {
	grid-column: span 2;
}
.xiake_content_wrapper .col_2{
	padding: 0 5%;
}

.xiake_section_intro {
	text-align: center;
}
.xiake_section_intro p {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.8;
}

.xiake_content_wrapper:not(.feature) img{
	max-width: 85%;
}
img.xiake_tlts{
	max-width: 22vw;
}
.btn_more{
	width: 242px;
	max-width: 20vw;
	aspect-ratio: 242/56;
	background: url(../img/xiake/btn_more.png) no-repeat;
	background-size: contain;
}
.btn_more:hover{
	transform: scale(.98);
	filter: brightness(1.1);
}


@media (max-width: 768px) {
	.xiake_content_wrapper {
		grid-template-columns: 1fr;
		max-width: 98%;
		aspect-ratio: 647/950;
		background: url(../img/xiake/wrapper_bg_m.png) no-repeat;
		background-size: contain;
		padding: 5% 3% 8%;
	}
	.xiake_content_wrapper p{
		font-size: clamp(12px, 3vw, 16px);
		line-height: 1;
	}
	.xiake_content_wrapper img{
		max-width: 95%;
	}
	.xiake_content_wrapper div:nth-child(2) img:not(.xiake_tlts){
		max-width: 35vw;
	}
	.xiake_content_wrapper .vertical{
		gap: 3vw
	}
	img.xiake_tlts{
		max-width: 50vw;
	}
	.xiake_content_wrapper.feature{
		grid-template-columns: 1fr;
		max-width: 100%;
		aspect-ratio: 748/872;
		background: url(../img/xiake/wrapper_bg2_m.png) no-repeat;
		background-size: contain;
		padding: 3%;
	}
	.btn_more{
		max-width: 35vw;
	}
	.xiake_content_wrapper.feature .w100{
		flex-direction: column;
	}
	.xiake_scene_video {
		width: 80%;
	}

}

.slider_wrapper{
	width: 40%;
}

.xiake_scene_slider {
	position: relative;
	width: 100%;
	max-width: fit-content;
}

.xiakeSceneSwiper {
	width: 100%;
	overflow: hidden;
}

.xiakeSceneSwiper .swiper-slide {
	width: 100%;
	height: auto;
	flex-shrink: 0;
}

.xiake_scene_image img {
	display: block;
	object-fit: cover;
}

.xiake_scene_prev,
.xiake_scene_next {
	top: 50%;
	z-index: 10;
	width: 20px;
	aspect-ratio: 20/26;
	background: url(../img/xiake/btn_next.png) no-repeat;
	background-size: contain;
}

.xiake_scene_prev {
	left: 0;
	transform: scaleX(-1);
}

.xiake_scene_next {
	right: 0;
}

.xiake_scene_prev:hover,
.xiake_scene_next:hover {
	filter: brightness(1.1);
}

.xiake_scene_pagination {
	position: relative;
	margin-top: 16px;
	text-align: center;
}

@media (max-width: 768px) {
	.slider_wrapper{
		width: 100%;
	}
	.xiake_scene_slider {
		width: 80%;
		padding: 0 40px;
	}
	.xiake_scene_image img{
		max-width: 100% !important;
	}
}

/* =====================================================
   Xiake Modal
===================================================== */
.xiake_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xiake_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.xiake_modal_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 13, 20, 0.86);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}

.xiake_modal_dialog {
	position: relative;
	z-index: 2;
	width: min(1050px, 94vw);
	max-height: 88vh;
	transform: translateY(25px) scale(0.97);
	transition: transform 0.3s ease;
}

.xiake_modal_dialog_wide {
	width: min(1280px, 96vw);
}

.xiake_modal.is_open .xiake_modal_dialog {
	transform: translateY(0) scale(1);
}

.xiake_modal_box {
	position: relative;
	max-height: 88vh;
	padding: 12px;
}

.xiake_modal_box::before,
.xiake_modal_box::after {
	content: "";
	position: absolute;
	top: 50%;
	height: 100%;
	transform: translateY(-50%);
	pointer-events: none;
	aspect-ratio: 31/741;
	background: url(../img/xiake/modal_side.png) no-repeat;
	background-size: contain;
	z-index: 1;
}

.xiake_modal_box::before {
	left: 0;
}

.xiake_modal_box::after {
	right: 0;
}

.xiake_modal_inner {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	max-height: calc(88vh - 24px);
	padding: clamp(25px, 4vw, 48px);
	background: url("../img/xiake/modal_bg.png") center / cover no-repeat;
}

.xiake_modal_title {
	flex: 0 0 auto;
	width: 100%;
	margin: 0 auto 28px;
	padding: 0 35px 10px;
	border-bottom: 1px dashed #39708c;
}

.xiake_modal_title p {
	margin: 0;
	color: #216b95;
	font-family: var(--tltfont);
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.3;
	text-align: center;
}

.xiake_modal_scroll {
	flex: 1 1 auto;
	min-height: 0;
	padding: 0 10px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.xiake_modal_scroll > p {
	margin: 0 0 20px;
	color: #264f68;
	font-size: 16px;
	line-height: 1.8;
}

.xiake_modal_scroll span {
	color: #c98f32;
}

.xiake_modal_subtitle {
	width: fit-content;
	margin: 20px 0 14px;
	padding: 5px 25px;
	border-radius: 99px;
	background: url(../img/xiake/subtlt_bg.png);
	background-size: cover;
}

.xiake_modal_subtitle p {
	margin: 0;
	color: #fdfeff;
	font-family: var(--tltfont);
	font-size: 20px;
}

.xiake_modal_gap {
	margin-top: 30px !important;
}

.xiake_modal_table {
	margin: 20px 0;
	padding: 0;
	border: 1px solid rgb(19 129 198);
}

.xiake_modal_table table {
	min-width: 850px;
}

.xiake_modal_table th {
	color: #f7fcff;
	background: rgb(19 129 198);
}

.xiake_modal_table td {
	color: #244b62;
	background: rgba(255, 255, 255, 0.75);
	line-height: 1.65;
}

.xiake_modal_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 10;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: url("../img/xiake/btn_close.png") center / contain no-repeat;
	cursor: pointer;
	transition: filter 0.25s ease, transform 0.25s ease;
}

.xiake_modal_close:hover {
	filter: brightness(1.2);
	transform: scale(0.9);
}

.xiake_modal_scroll::-webkit-scrollbar {
	width: 5px;
}

.xiake_modal_scroll::-webkit-scrollbar-track {
	background: rgba(36, 82, 106, 0.08);
}

.xiake_modal_scroll::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(36, 82, 106, 0.6);
}

body.xiake_modal_open {
	overflow: hidden;
}

.xiake_modal_item {
	margin: 16px 0;
	padding: 14px 18px;
	background: rgba(179, 204, 216, 0.24);
}

.xiake_modal_item p {
	margin: 0;
	color: #264f68;
	font-size: 16px;
	line-height: 1.8;
}

.xiake_modal_reward_title {
	margin: 28px 0 14px !important;
	color: #216b95 !important;
	font-size: 21px !important;
}

.xiake_modal_table td.l_more {
	min-width: 410px;
	text-align: left;
}

@media (max-width: 768px) {
	.xiake_modal {
		padding: 14px;
	}

	.xiake_modal_dialog,
	.xiake_modal_dialog_wide {
		width: 100%;
		max-height: 88vh;
	}

	.xiake_modal_box {
		max-height: 88vh;
		padding: 7px;
	}

	.xiake_modal_inner {
		max-height: calc(88vh - 14px);
		padding: 28px 35px 20px;
	}

	.xiake_modal_close {
		right: 3px;
		top: -50px;
	}

	.xiake_modal_scroll > p {
		font-size: 14px;
	}

	.xiake_modal_table {
		overflow-x: auto;
	}

	.xiake_modal_table table {
		min-width: 760px;
	}
		.xiake_modal_item p {
		font-size: 14px;
	}

	.xiake_modal_reward_title {
		font-size: 18px !important;
	}

	.xiake_modal_table td.l_more {
		min-width: 360px;
	}
}

/* =====================================================
   Xiake Video Modal
===================================================== */

.xiake_video_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xiake_video_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.xiake_video_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 10, 0.9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}

.xiake_video_dialog {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
	background: #000;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
}

.xiake_video_modal.is_open .xiake_video_dialog {
	transform: translateY(0) scale(1);
}

.xiake_video_frame {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.xiake_video_frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.xiake_video_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 5;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: url("../img/xiake/btn_close.png") center / contain no-repeat;
	cursor: pointer;
	transition: filter 0.25s ease, transform 0.25s ease;
}

.xiake_video_close:hover {
	filter: brightness(1.2);
	transform: scale(0.9);
}

body.xiake_video_open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.xiake_video_modal {
		padding: 14px;
	}

	.xiake_video_dialog {
		width: 100%;
	}

	.xiake_video_close {
		right: 4px;
		top: -54px;
	}
}

.xiake_image_modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xiake_image_modal.is_open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.xiake_image_backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 8, 10, 0.9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
}

.xiake_image_dialog {
	position: relative;
	z-index: 2;
	width: min(1200px, 92vw);
}

.xiake_image_dialog img {
	display: block;
	width: 100%;
	max-height: 88vh;
	object-fit: contain;
}

.xiake_image_close {
	position: absolute;
	right: -18px;
	top: -18px;
	z-index: 5;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	background: url("../img/xiake/btn_close.png") center / contain no-repeat;
	cursor: pointer;
}

body.xiake_image_open {
	overflow: hidden;
}