@charset "UTF-8";
/* 在過濾頁清除 nav 模糊效果 */
    nav::before {
    backdrop-filter: unset !important;
}
.nav-content{
	background:#12172C
}
.tab-content {
    width: 90%;
    position: relative;
    margin: 0 auto;
    padding: 0;
    padding-top: 60px;
}

.movie-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1%;
}
.bg-common{
	padding-top: 78px;
    padding-bottom: 80px;
}
.search_match{
    width: 100%;
}

.swiper {
    overflow: unset;
}


.rwd-tab-content {
	display: inline-block;
/* 	padding-top: 20px; */
	width: 100%;
	clear: both;
}
.rwd-tab-content .movie-box{
	width: 100%;
	padding-left: 0px;
}
.category-sort-box a{
display: inline-block;
}
.list-box{
	position:relative;
	margin: 10px 0;
}
.category-sort-list ul{
	overflow: auto;
	display:flex;
	gap: 10px;
 	white-space: nowrap;
}
.category-sort-box .category-sort-list ul{
	width: 100%;
    border-bottom: 1px solid #FFFFFF1A;
    padding-bottom: 10px;
}
.m-select-btn-area::-webkit-scrollbar {
        display: none;
      }
.list-inline::-webkit-scrollbar {
        display: none;
      }
@media ( orientation : portrait) , ( max-width : 800px) {
	.category-sort-list {
		white-space: nowrap;
		overflow-x: auto;
		scroll-behavior: smooth;
	}
	.category-sort-list::-webkit-scrollbar {
		display: none;
	}
}

.category-sort-list a {
        font-size: .9375em;
        color: #E2EAF2;
        background: #2B3459;
        padding: 8px 10px;
        -webkit-transition: .15s linear;
        transition: .15s linear;
        border-radius: 5px;
        display: inline-block;
        cursor: pointer;
}
.category-sort-list a:hover {
        font-size: .9375em;
        color: #E2EAF2;
        background: #3D4979;    
        padding: 8px 10px;
        -webkit-transition: .15s linear;
        transition: .15s linear;
        border-radius: 5px;
}
.category-sort-list a.active {
        background: #00AFEB;
        color: #E2EAF2 !important;
}
.tabs{
	border-bottom: 1px solid #FFFFFF4D;
	display: flex;
	margin-bottom: 10px;
}
.tab-button{
	border-bottom: 1px solid #FFFFFF4D;
	display: inline-block; /* 或 block */
	padding: 10px 20px;
	color: #B5BEDF;
	border-bottom:  1px solid #B5BEDF;
}
.tabs .active{
    color:#00AFEB;
    border-bottom:  1px solid #00AFEB;
 
}
/* 過濾按鈕 */
.arrow{
padding: 10px
}
.left-arrow{
	
  position: absolute;
  top: -2px;
  left: -10px;
  transform:rotate(180deg);
   background: linear-gradient(to left, #12172C 70%, transparent 100%);
}
.right-arrow{
  position: absolute;
  right: -6px;
  top: 0px;
  background: linear-gradient(to left, #12172C 70%, transparent 100%);
 
}
.arrow.hidden {
    display: none;
}

@media (min-width: 768px) {
    .swiper-button-next, .swiper-button-prev {
        color: #fff;
        height: 120%;
        width: 60px;
        top: 0;
        cursor: pointer;
        pointer-events: auto;
    }
}
html, body {
/* 	overflow-x: hidden; */
/* 	overflow: unset; */
}
/* 手機板選擇標籤區塊 */
.mobile-control-area{
	font-size: 0.8125em;
	background-color: #12172C;
	color: white;
	display: flex;
	align-items: center;
	white-space:nowrap; position: fixed;
    top: 86px;
    z-index:902;
    padding: 10px 0;
    width: 100vw;

}
.mobile-control-area::before{
	content: "";
	position: absolute;
	top: 0;
	left: -3000px;
    width: 9999px;
	height: 100%;
	z-index: -1; 
	box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}
@media all and (min-width: 590px){
    .mobile-control-area{
		display: none;
		width: 90vw;
    }
}
.mobile-control-area .filterImg{
	width:18px;
	height:18px;
}
.m-select-btn{
	font-size: 0.8125em;
	gap: 5px;
	border-radius: 13px;
	border: 1px solid #FFFFFF;
	padding: 6px 10px;
	flex-shrink: 0;
	
}
.m-select-btn.active{
	color: #00AFEB;
	background: #FFFFFF;
}
.m-select-btn-area{
	display: flex;
	overflow: auto;
	gap: 3px;
	margin-left: 10px;
	padding-right: 50px;
}
.m-select-btn-area .m-select-btn{
	display: flex;
    gap: 5px;
    align-items: center;
}
.m-select-btn-area .m-select-btn a{
	color: #FFFFFF;
	display: flex;
    gap: 5px;
    align-items: center;
}
/* 手機modal */
#modalOverlay{
	display: none; /* 預設隱藏 */
 	position: fixed;
 	top: 0;
 	left: 0;
 	width: 100%;
 	height: 100%;
 	background: rgba(0, 0, 0, 0.6);
 	z-index: 1000;;
}
.tag-modal {
	display: none;
	position: fixed;
 	top: 0;
 	left: 0;
 	width: 100%;
 	height: 100%;
 	background: rgba(0, 0, 0, 0.6);
 	transform: translateY(100%);
 	transition: transform 0.3s ease-in-out;
	z-index: 1000;
}
.modal-content{
	width: 100%;
	height: 55vh;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #FFFFFF;
	color: #000;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.tag-modal.active {
	display: block; /* 顯示 modal */
}

/* 顯示動畫 */
.tag-modal.active {
	display: block;
	transform: translateY(0);
}

.modal-overlay.active {
	display: block;
}


.header {
	position: relative;
	padding: 15px 10px;
/* 	background-color: #f0f0f0; */
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 border-bottom: 1px solid #999999;
}

.center-title {
	margin: 0;
	font-size: 1.125em;
	font-weight: 600;
	text-align: center;
}

.left-text {
	position: absolute;
	display: flex;
    align-items: center;
    gap: 8px;
	left: 15px;
	font-size: 16px;
	cursor: pointer;
}
.modal-tag-area{
	width: 90%;
	margin: 10px auto;
	display: flex;
	padding: 5px 10px;	
	background-color: #fff;
	gap:5px;
	max-height: 70%;
	flex-wrap: wrap;
	overflow: auto;
}

.modal-tag-area::-webkit-scrollbar {
	width: 6px;
	background-color: #eee;
	
}

.modal-tag-area::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	background-color: #999;
	}


.modal-tag-area .m-tab-button{
	padding: 7px 10px;
	background-color: #E7E7E7;
	color: #333333;
	font-weight: 400;
	margin-bottom: 5px;
	display: inline-block;
	border-radius: 5px;
}


.modal-tag-area .m-tab-button.active{
	background: #00AFEB;
	color: #FFFFFF;
}







.category-content .bg-common{
	    padding-top: 78px;
}
.control-area{
	--control-bg: #12172C;
	display:none;
	padding-top: 30px;
/*     position: fixed; */
    top: 78px;
    z-index: 9;
    background-color: #12172C;
    width: 90%;
    padding: 20px 0;
	
}
@media all and (min-width: 590px){
    .control-area {
        display: block;
        width: 90vw;
    }
}
.category-sort-list{
	display:flex;
	align-items: center;
}

.control-area::before {
	content: "";
	position: absolute;
	top: 0;
	left: -3000px;
    width: 9999px;
	height: 100%;
	background-color: var(--control-bg);
	z-index: -1; 
	box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}
.selected-box{
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
	color: white;
}
#selected-item{
	color: white;
}

.note{
	color: white;
	text-align: center;
	padding: 30px;
}


.open-box {
	transition: 0.25s ease;
	max-height: 1000px; 
	 overflow: hidden;
	 opacity: 1;
	 color: white;
}

.open-box.hidden {

	max-height: 0;
	opacity: 0;
}

.selected-box {
	display: none;
}

.selected-box.visible {
	display: flex;
}


.close-select-area,.open-select-area{
	display: flex;
	gap:5px;
    align-items: center;
}
.close-select-area{
	display:none;
}
@media (min-width: 590px) {
    .tab-content {
    padding: 0;
    min-height: 63vh;
	}
	.category-content .bg-common {
    padding-top: 78px;
}
}


