/*!
Theme Name: iip
Theme URI: https://zanpress.com/
Author: Zanpress
Author URI: https://zanpress.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wpx
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

wpx is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");
:root {
	--white: #fff;
	--whitegrey: #f4f4f4;
	--black: #000;
	--text: #222;
	--textgrey: #999;
	--textmidgrey: #666;
	--grey: #363636;	
	--line: #dfdfdf;
	--linelight: #eeeeee;
	--main: #fb4a00;
	--beige: #fff3e0;
	--orange: #dd7d02;
	--sky: aliceblue;
	--purple: lavender;
	--font: 'Pretendard Variable', 'Pretendard', sans-serif;
}

* {
	box-sizing: border-box;
	outline: none;
}

body {
	width: 100%;
	background: var(--white);
	color: var(--black);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	padding: 0;
	margin: 0;
}

body, input, textarea, button, select, option {
	font-family: var(--font);
}

textarea{
	resize: vertical;
}

ul, ol{
	padding: 0;
	margin: 0;
	list-style: none;
}

a{
	text-decoration: none;
	color: var(--black);
}

header{
	z-index: 999;
	background: var(--white);
	display: flex;
	gap: 40px;
	justify-content: space-between;
	padding: 20px 30px;
	position: sticky;
	top: 0;
	font-size: 16px;
}
header .fr{
	display: flex;
	align-items: center;
	gap: 40px;
}
#page{
	display: grid;
	grid-template-columns: 1fr;
}

nav{
	font-size: 1em;
	display: flex;
	align-items: center;
}
nav ul{
	width: 100%;
	display: flex;	
	gap: 35px;
}
nav ul li a{
	display: block;
	font-weight: bold;	
}
nav ul li a:hover{
	text-decoration: underline;
}
header .accountwrp, header nav, header .site-branding{
	white-space: nowrap;
}
.searchwrp{
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}
.searchwrp input{
	height: 42px;
	border: 0;
	background: var(--whitegrey);
	width: 100%;
	padding: 0 20px;
	border-radius: 6px;
	font-size: 16px;
}
.searchwrp #searchbt{
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 0;
	width: 60px;
	height: 100%;
	color: var(--black);
	background: transparent;
	border: 0;
}
.searchwrp #searchbt svg{
	width: 22px;
	height: 22px;
}
header .accountwrp{
	font-size: 1em;
	gap: 20px;
	display: flex;
	align-items: center;	
}
header .accountwrp .std{
	display: flex;
	align-items: center;
  gap: 10px;
}
header .accountwrp .std span{
	display: flex;	
}
header .accountwrp .std span.subscribed{
	position: relative;
}
header .accountwrp .std span.subscribed::before{
	z-index: -1;
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: calc(100% + 8px);
	height: calc(100% + 8px);
	border-radius: 50%;
	background: rgb(251,74,0);
	background: linear-gradient(153deg, rgba(251,74,0,1) 0%, rgba(255,243,0,1) 100%);
}
header .accountwrp .std .avatar{
	border-radius: 50%;
	outline: 2px solid var(--white);
}
header .accountwrp > *{
	cursor: pointer;
	display: flex;
	align-items: center;	
	justify-content: center;
	height: 40px;
	min-width: 40px;	
	gap: 3px;
}
header .accountwrp > * .num{
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--main);
	color: var(--white);
	font-size: .7em;
	font-weight: 600;
	border-radius: 32px;
	min-width: 24px;
	height: 24px;
	padding: 0 5px;
}
header .lineless{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	gap: 5px;
	min-width: auto;
	border: 0;	
	font-weight: 600;	
	font-size: 14px;
	padding: 0;
}
header .lineless svg.arw{
	width: 14px;
	height: 14px;
	color: var(--textgrey);
}
header svg{
	width: 24px;
	height: 24px;
}
.googlelogin svg{
	width: 24px;
	height: 24px;
}
.googlelogin{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	gap: 4px;
	min-width: auto;
	border: 0;	
	padding: 0 20px;
	font-weight: 600;	
	font-size: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

main{
	width: 100%;
	min-height: calc(100vh - 82px);
}

section{
	padding: 30px;
	max-width: 1200px;
	margin: 0 auto;
}
section.sml{
	max-width: 740px;
}
section.mid{
	max-width: 980px;
}
section.mid.vidwrp{
	padding: 0;
	max-width: 100%;
	display: grid;
	grid-template-columns: 1fr 400px;
}
section.mid.vidwrp .vidplayerwrp{	
	position: sticky;
	height: calc(100vh - 82px);	
	top: 82px;
	background: var(--black);
}
section.mid.vidwrp .vidplayerwrp #vid{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
section.ssd{
	display: grid;
	grid-template-columns: 580px 1fr;
	padding: 0;
}
section.ssd .video-full{
	display: flex;
	width: 100%;
	height: 100vh;
	background-color: var(--line);
}
section.ssd .video-full video{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.video-side{
	padding: 30px;
}
.site-branding{
	display: flex;
	align-items: center;;
	font-size: 1.2em;
	font-weight: bold;
}
.site-branding svg{
	height: 30px;
	width: auto;
	fill: var(--main);
}
/* .list.latest{
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
} */
.list{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
}

.list > div{
	display: block;	
}

.list > div .permalink{
	cursor: pointer;
	display: block;
	position: relative;
	overflow: hidden;
}

.list > div .meta{
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	width: 100%;	
	padding: 12px 0;	
	font-weight: bold;
}

.list > div .meta .price{
	font-size: 1.5em;
	margin-bottom: 3px;
}
.list > div .meta .price.purchased{
	color: var(--main);
}
.list > div .meta .title.sub{
	color: var(--textgrey);
}
.list > div .meta .title{
	font-size: 1.15em;
	font-weight: 500;
}
.list.latest > div .ratio{
	padding-top: 56%;
}
.list > div .ratio{
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 100%;
	border-radius: 10px;
}
.list > div .permalink:hover .ratio img{
	transform: scale(1.1);
}
.list > div .ratio img{
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;		
	transition: transform 0.3s;	
}
.itemcatwrp{
	overflow-x: auto;
	margin: 0 0 30px;
	padding: 0 15px 12px;
}
.itemcat{
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	min-width: 710px;
}
.itemcat a{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	white-space: nowrap;
}
.itemcat a img{
	width: 50px;
	height: 50px;
}
.itemcat .current{
	color: var(--main);
	font-weight: bold;
}
body.single-item .itwrp.one{
	padding-top: 0;
}
body.single-item .itwrp.one .content{
	margin-top: 20px;
}
body.single-item .playlist .itwrp.one .content{
	margin-top: 0;
}
body.single-item .playlist .itwrp.one .content h3{
	font-size: 1em;
}
body.single-item .itwrp.one .content .description p{
	color: var(--textmidgrey);
}
.itwrp.dvi{
	grid-template-columns: repeat(1, 1fr);
}
.itwrp{	
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin: 0 auto;
	font-size: 16px;
}
.itwrp.one{
	grid-template-columns: repeat(1, 1fr);
}
.itwrp.one  img{
	width: 100%;
	max-width: 100%;
	height: auto;
}
.itwrp.one  img.aligncenter{
	display: block;
	margin: 0 auto;
}
.itwrp .slider{
	height: 100%;
	max-height: 600px;
	border-radius: 8px;
	overflow: hidden;
} 
.itwrp .slider img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.itwrp .itpt{
	display: flex;
	flex-direction: column;
	gap: 30px;
}
/* .itwrp .itpt.titlewrp{
	grid-column: 1 / -1;
	gap: 0;
} */
.itwrp .itpt.titlewrp .titleinner{
	display: flex;
	gap: 25px;
}
.itwrp .itpt.titlewrp .titleinner img{
	flex: 0 0 74px;
	width: 74px;
	height: 74px;
	object-fit: cover;
	border-radius: 8px;
}
.itwrp .itpt.titlewrp .titleinner .date{
	display: flex;
	gap: 20px;
	font-size: .9em;
	margin: 10px 0 0;
	color: var(--grey3);
}
.itwrp .itpt.paidresult{
	grid-column: 1 / -1;
}
.itwrp .itpt.paidresult.adm{
	gap: 20px;
}
.itwrp .itpt.paidresult .mov{
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}
.itwrp .itpt.paidresult .mov.back{
	text-align: left;
}
.itwrp .itpt.paidresult .mov > #delaccount{
	color: var(--black);
	background: var(--whitegrey);
}
.itwrp .itpt.paidresult .mov > *{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 180px;
	width: 100%;
	height: 50px;
	background: var(--black);
	color: var(--white);
	font-weight: 600;
	font-size: .85em;
	border: 0;
	border-radius: 10px;
	padding: 0 30px;
}
.itwrp .itpt.paidresult .mov > *.whd{
	max-width: 240px;
}
.itwrp .itpt.paidresult .mov > * svg{
	width: 20px;
	height: 20px;
}
.itwrp .itpt.paidresult .mov > *.sub{
	color: var(--black);
	background: transparent;
	border: 1px solid var(--line);
}
.itwrp h2{
	margin: 0;
	font-weight: 500;
}
.itwrp .meta{
	display: flex;
	flex-direction: column;
	font-size: .9em;
}
.itwrp .meta.resultpt .alert{
	justify-content: flex-start;
	background: transparent;
	gap: 0;
}
.itwrp .meta.resultpt label.hidden{
	display: none;
}
.itwrp .meta.resultpt.passwrp{
	gap: 12px;
}
.itwrp .meta.resultpt.passwrp .wrp{
	padding: 0;
	margin: 0;
	border: 0;
	width: 100%;
}
.itwrp .meta.resultpt.passwrp input{
	width: 100%;
}
.itwrp .meta.resultpt.passwrp textarea{
	resize: vertical;
	width: 100%;	
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 12px;
}
.itwrp .meta.resultpt input{
	border: 1px solid var(--line);
	border-radius: 6px;
	height: 42px;
	padding: 0 12px;
}
.itwrp .meta.resultpt{
	background: var(--whitegrey);
	padding: 20px;
	border-radius: 10px;
}
.itwrp .meta.resultpt > div:last-child{
	padding: 0;
	margin: 0;
}
.itwrp .meta.resultpt .wrp{
	flex-wrap: wrap;
}
.itwrp .meta.resultpt .room{
	font-weight: 600;
}
.itwrp .meta.resultpt .colu{
	display: flex;
	flex-direction: column;
}
.itwrp .meta.resultpt .colu .item{
	text-align: right;
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px dashed var(--textgrey);
}
.itwrp .meta.resultpt .colu .item:last-child{
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}
.itwrp .meta.resultpt .colu .item a{
	font-weight: 600;	
	margin-right: 10px;
}
.itwrp .meta.resultpt .colu .item .qnt{
	margin-right: 10px;
	word-spacing: -2px;
}
.itwrp .meta.resultpt .colu .item .price{
	font-weight: 500;
}
.itwrp .meta > div{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 0 0 20px 0;
	margin: 0 0 20px 0;
	border-bottom: 1px solid var(--line);
}
.itwrp .meta > div:last-child{
	border-bottom: none;
	margin: 0 0 10px;
	padding: 0;
}
.itwrp .meta > #ito_price .val{
	font-size: 1.5em;
	font-weight: bold;
	color: var(--main);
}
.itwrp label{
	white-space: nowrap;
	display: flex;
	font-size: 1em;
	font-weight: bold;
	color: var(--black);	
}
.itwrp .desc label{
	margin-bottom: 20px;
}
.itwrp .desc, .itwrp .shipinfo{
	color: var(--textmidgrey);
	word-break: keep-all;
	line-height: 1.6;
	font-size: .9em;
}
.itwrp .shipinfo{
	padding: 24px;
	background: var(--beige);
	color: var(--orange);
	border-radius: 6px;
	font-size: .85rem;
}
.itwrp .shipinfo label{
	font-size: .87rem;
}
.itwrp .shipinfo p{
	margin: 7px 0 0;
}
.itwrp .shipinfo .room{
	color: var(--text);
	font-weight: bold;
}
.itwrp .buyerinfo{
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 15px;
}
.itwrp .buyerinfo .put label{
	margin-bottom: 10px;
}
.itwrp .buyerinfo .put.hidden{
	display: none;
}
.itwrp .buyerinfo .put input{
	width: 100%;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 10px;	
	font-size: 15px;
}
.itwrp .buyerinfo .put input:read-only{
	background: var(--whitegrey);
}
.itwrp .buyerinfo .put input[type="checkbox"]{
	width: auto;
	height: auto;
	padding: 0;
}
.itwrp .buyerinfo .put textarea{
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 10px;	
}
.itwrp .submit{
	cursor: pointer;
	width: 100%;
	height: 58px;
	background: var(--black);
	color: var(--white);
	font-weight: bold;
	font-size: 1.1rem;
	border: 0;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.itwrp .tosswrp{
	margin-top: 30px;	
}
.itwrp .tosswrp.krw{
	border: 1px solid var(--black);
	border-radius: 8px;
	padding: 10px;	
}


.itemmeta{
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 16px;
}
.itemmeta .cats{
	color: var(--main);
	font-weight: 500;
}
.itemmeta .cats a{
	color: var(--main);
}
.itemmeta .pwrp{
	font-size: 36px;
}
.itemmeta .price{
	font-size: 1em;
	font-weight: bold;
}
.itemmeta .pwrp h2{
	margin-top: 6px;
	line-height: 1.4;
	font-size: .6em;
}
.itemmeta .stockwrp{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.itemmeta .buybt{
	display: flex;
	gap: 12px;
	margin: 10px 0 20px;
}
.itemmeta .buybt .soldout{
	background: var(--whitegrey);
	color: var(--black);
	font-weight: 600;
}
.itemmeta .buybt #cartadd.added{
	background: var(--whitegrey);
	color: var(--black);
}
.itemmeta .buybt #directbuy{
	background: var(--main);
}
.itemmeta .buybt form #directbuy{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 58px;
	background: var(--main);
	color: var(--white);
	font-weight: bold;
	font-size: 17px;
	border: 0;
	border-radius: 10px;
}
.itemmeta .buybt form{
	cursor: inherit;
	background: transparent;
}
.itemmeta .buybt > *{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 58px;
	background: var(--black);
	color: var(--white);
	font-weight: bold;
	font-size: 17px;
	border: 0;
	border-radius: 10px;
}
.zgrid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.zgrid .hat{
	display: flex;
	flex-direction: column;	
	padding: 20px;
	border-radius: 10px;
	gap: 15px;
	font-size: 16px;
	transition: .14s ease-out;
  transition-property: all;
	overflow: hidden;
	border: 1px solid var(--line);	
	color: var(--black);
	text-decoration: none;
}
.zgrid .hat h3{
	margin: 0 0 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.zgrid .hat .date{
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: .9em;
	border-bottom: 1px solid var(--grey);
	padding-bottom: 10px;
	color: var(--grey3);
}
.zgrid .hat .date span{
	font-weight: bold;
	font-size: 0.85em;
	color: var(--black);
}
.zgrid .hat .price{
	font-size: 18px;
}
.zgrid .hat img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.zgrid .hat picture{	
	margin: 0 -20px -20px;
	height: 200px;
	object-fit: cover;
}
.zlist.support .hat{
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}
.zlist.support .hat .title{
	width: auto;
	font-size: 1.07em;
}
.zlist.support .hat .supmeta > div{
	width: auto;
	color: var(--textgrey);
	font-weight: 500;
	font-size: .9em;
}
.zlist.support .hat .supmeta > div.answered{
	color: var(--main);	
}
.zlist.support .hat .date{
	color: var(--textgrey);
	font-size: .9em;
}
.zlist.support .hat .supmeta{
	display: flex;
	gap: 20px;
	margin-top: 10px;
}
.zlist{
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-size: 14px;
}
.zlist .empty{
	margin: 30px 0;
}
.zlist .hat.new{
	background: var(--sky);
	animation: blink .8s infinite;
}
.zlist .hat:hover{
	background: var(--black);
	color: var(--white);
}
.zlist .hat{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--whitegrey);
	padding: 20px;
	border-radius: 10px;
	gap: 15px;
	font-size: 1em;
	transition: .06s ease-out;
  transition-property: all;
	text-decoration: none;
}
.zlist .hat.head{
	background: transparent;
	padding: 0 20px;
	order: -1;
}
.zlist .hat.head > *{
	font-size: 1em!important;
	font-weight: 500!important;
	color: var(--black)!important;
	margin: 0!important;
}
.zlist.board .hat .title{
	width: 400px;
}
.zlist .hat .title{
	font-weight: 600;
	width: 300px;
}
.zlist .hat .price{
	width: 70px;
}
.zlist .hat .buyer{
	width: 80px;
}
.zlist .hat .date{
	width: 160px;
}
.zlist .hat .stat{
	width: 110px;
}
.zlist .hat > div{
	font-size: .97em;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cartlist.ordercheck{
	font-size: 15px;
}
.cartlist.ordercheck .item{
	padding: 14px 0;
}
.cartlist{
	display: flex;
	flex-direction: column;
}
.cartlist .item{
	position: relative;
	display: flex;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}
.cartlist .item .price{
	font-weight: 600;
	margin-top: 4px;
}
.cartlist .item .del svg{
	width: 24px;
	height: 24px;
}
.cartlist .item:first-child{
	border-top: 0;	
}
.cartlist .item .title{	
	display: flex;
	gap: 15px;
	margin-right: 15px;
}
.cartlist .item .wrp{
	display: flex;
	flex-direction: column;
	font-size: .95em;
}
.cartlist .item .title .tiwrp{
	display: flex;
	line-height: 1.3;
}
.cartlist .item .title .ti{
	color: var(--textmidgrey);
}
.cartlist .item .title img{
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	object-fit: cover;
}
.cartlist.ordercheck .item .title img{
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}
.cartlist .item .ctl{
	display: flex;
	gap: 20px;
	margin-left: auto;
}
.cartlist .item .ctl .del{
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	color: var(--textgrey);
}
.cartlist .item .qnt{
	font-weight: 500;
	white-space: nowrap;
	margin-left: 10px;
}
.cartcalc{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 40px;
	border: 2px solid var(--black);
	border-radius: 6px;
	font-weight: bold;
	margin: 30px 0;
}
.cartcalc .price_total{
	font-size: 1.1em;
}
.cartlist.ordercheck .cartcalc{
	padding: 18px 20px;
	margin: 20px 0 30px;
}
.playlist .chaplist{
	gap: 0;
}
.chaplist{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	font-size: 14px;
	gap: 16px;
}
.chaplist .item .wrpwbt{
	position: relative;
	display: flex;
	align-items: flex-start;
	width: 100%;
	padding: 20px;
}
.chaplist .item{
	display: flex;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.chaplist .item .preview.video{	
	position: absolute;
	z-index: 1;
	zoom: .9;
	top: 25px;
	right: 0;
}
.chaplist .item .preview.video .playing{
	display: none;
}
.chaplist .item.active .preview.video{
	background: var(--main);
	border-color: var(--main);
	color: var(--white);
}
.chaplist .item .preview{
	margin-left: auto;
	cursor: pointer;
	border: 1px solid var(--line);
	color: var(--main);
	background: var(--white);
	border-radius: 32px;
	padding: 8px 14px;
	font-size: .82em;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 3px;
}
.chaplist .item .preview svg{
	width: 14px;
	height: 14px;
}

.playlist .chaplist .item{
	transition: .06s ease-out;
	transition-property: all;
	cursor: pointer;
	position: relative;
	border-radius: 0;
	border: 0;
	border-top: 1px solid var(--linelight);	
	margin: 0 -20px;
	padding: 0 20px;
}
.playlist .chaplist .item.active .title{
	color: var(--main);
}
.playlist .chaplist .item:hover{
	background: var(--whitegrey);
}

.playlist .chaplist .item .thumb{
	flex: 0 0 70px;
	height: 70px;
	margin: 20px 0;
	border-radius: 5px;
	overflow: hidden;
}
.chaplist .item .thumb{
	position: relative;
	height: 100%;
	width: 100%;
	flex: 0 0 200px;
}
.chaplist .item .thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.chaplist .item .title{
	word-break: break-all;
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 5px;
}
.chaplist .item .duration{
	font-size: .95em;
	color: var(--textgrey);
}
.chaplist .item .summary{
	font-size: .95em;
	color: var(--textgrey);
	margin: 10px 0 0;
}

.nextpaywrp{
	display: flex;
}
.nextpaywrp button{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 200px;
	width: 100%;
	height: 58px;
	background: var(--black);
	color: var(--white);
	font-weight: bold;
	font-size: 17px;
	border: 0;
	border-radius: 10px;	
	margin-left: auto;
}
button.wsvg{
	padding: 0 30px;
}
button.wsvg svg{	
	width: 20px;
	height: 20px;
}
.dropdown.soldout{
	color: var(--textgrey);
}
.dropdown#apystat{
	background: var(--white);
}
.dropdown#apystat .dropitems{
	min-width: 130px;
}
.dropdown{
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	border: 1px solid var(--line);
	border-radius: 6px;
	height: 40px;
	min-width: 100px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 600;
}
.dropdown svg{
	width: 12px;
	height: 12px;
}
.dropdown.active .dropitems{
	display: block;
}
.dropdown .dropitems.orileft{
	right: auto;
	left: 0;
}
.dropdown .dropitems{
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 100px;
	background: var(--white);
	outline: 1px solid var(--black);
	border-radius: 6px;
	padding: 12px 0;
	z-index: 1;
	max-height: 200px;
	overflow-y: scroll;
}
.dropdown .dropitems .item{
	padding: 6px 12px;
	cursor: pointer;
}
.dropdown .dropitems .item:hover{
	background: var(--whitegrey);
}

.dropdown .dropitems{
	max-height: none;
	overflow: auto;
	top: calc(100% + 8px);
	min-width: 120px;
}
.dropdown .dropitems .item{
	display: flex;
	font-weight: 600;
	font-size: .95em;
	padding: 10px 20px;
}
.dropdown .dropitems .item.adm{
	border-bottom: 1px solid var(--line);
}

.empty{
	color: var(--textgrey);
	text-align: center;
	font-size: .9rem;
	font-weight: normal;
}
.alert svg{
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin-right: 8px;
	position: relative;
	top: 1px;
}
.alert{
	color: var(--orange);
	background: var(--beige);
	display: flex;
	font-size: 13px;
	font-weight: 600;
	border-radius: 6px;
	padding: 9px 12px;
}
.alert.tib{
	margin: -25px 0 20px;
}
.alert.blue{
	color: #5181ab;
	background: var(--sky);
}
.alert.must{
	align-items: flex-start;
}
.step{
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 40px 0;
	font-size: 15px;
	font-weight: 500;
}
.step .item{
	display: flex;
	gap: 12px;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid var(--line);
	color: var(--text);
	word-break: keep-all;
}
.noti{
	background: var(--black);
	color: var(--white);
	padding: 30px;
	border-radius: 10px;
	font-weight: 500;
	margin: 0 0 50px;
	display: block;
	text-align: center;
	font-size: 1.1em;
}
.noti .emoji{
	font-size: 1.2em;
}
.noti span{
	font-weight: bold;
	color: #ffad8b;
}
.partitle{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 25px;
	margin-bottom: 10px;
	font-size: 15px;
}
.partitle h3{
	margin: 0;
}
.midtitle{
	margin: 70px 0 40px;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);	
}
.midtitle h2{
	font-size: 1.7em;	
}
.pagetitle{
	position: relative;
	font-size: 24px;
	margin: 0 0 50px;
}
.playlist .pagetitle.zbp{	
	margin: -20px -20px 0;
	padding: 20px;
	font-size: 14px;	
	color: var(--textgrey);
}
.pagetitle.zbp{
	margin: 0;
}
.pagetitle.zbp40{
	margin: 0 0 40px;
}
.pagetitle.big.row{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 30px 0 80px;
}
.playlist{
	padding: 20px;
	background: rgb(255,255,255);
	background: linear-gradient(0deg, rgba(255,255,255,1) 50%, rgba(249,249,249,1) 100%);
}
.playlist .pagetitle.big h1{
	font-size: 1.9em;
	margin: 5px 0;
}
.pagetitle.big h1{
	font-weight: bold;
	font-size: 3em;
	line-height: 1.2;
	color: var(--main);
}
.pagetitle h1{
	font-size: 1em;
	margin: 0;
}
.pagetitle h2{
	font-weight: normal;
	font-size: .7em;
	margin: 6px 0 0;
	color: var(--textgrey);
}
.pgwrp #pagination{
	margin-top: 0;
}
#pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	margin: 30px auto;
	width: 100%;
	max-width: 400px;
	font-size: 13px;
}

#pagination .arrows {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	order: 2;
}

#pagination .page-numbers.current {
	display: none;
}

#pagination button {
	cursor: pointer;
	height: 45px;
	width: 45px;
	color: var(--black);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#pagination button svg {
	height: 16px;
	width: auto;
}

#pagination .counts {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-size: 1em;
	color: var(--textgrey);
}

#pagination .counts #pagego{
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	height: 26px;
	padding: 0 10px;
	flex: 0 0 auto;
	font-weight: 500;
	background: var(--black);
	color: var(--white);
	border-radius: 4px;
	font-size: .95em;
}

#pagination .counts input {
	text-align: center;
	height: 26px;
	font-size: 1em;
	padding: 4px;
	width: 40px;
	border: 1px solid var(--line);
	border-radius: 6px;
}

#pagination .counts input:focus {
	border-color: var(--main);
}

#pagination .counts input::-webkit-inner-spin-button,
#pagination .counts input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.crumbs{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 50px;
	font-size: .9em;
	font-weight: 500;
}
.crumbs a{
	color: var(--textgrey);
}
.crumbs a.current{
	color: var(--main);
	font-weight: 600
}
.crumbs .sec{
	display: flex;
	color: var(--textgrey);
}
.crumbs .sec svg{
	width: 10px;
	height: 10px;
}

.postcon p{
	color: var(--textmidgrey);
}
.postcon .meta{
	margin-top: 4px;
	margin-bottom: 30px;	
	display: flex;
	align-items: center;
	font-size: .95em;
}
.postcon .meta .user{
	color: var(--black);
}
.modal.active{
	display: flex;
}
.modal{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
	display: none;
	justify-content: center;
	z-index: 999;
	padding: 20vh 10px 10px;
	overflow-y: auto;
}
.modal .inqcon{
	font-size: 1.1em;
}
.modal .inqcon p{
	color: var(--textmidgrey);
}
.modal .inqcon .answer{
	padding-top: 35px;
	margin-top: 35px;
	border-top: 1px solid var(--line);	
}
.modal .inqcon h3{
	margin: 0;
}
.modal .inqcon .title{
	display: flex;
	flex-direction: column;
}
.modal .inqcon .title .meta{
	display: flex;
	align-items: center;
	font-size: .9em;
	margin-top: 4px;
}
.modal .inqcon .title .user, .postcon .meta .user{
	font-weight: 500;
}
.modal .inqcon .title .date, .postcon .meta .date{	
	color: var(--textgrey);
}
.modal .inqcon .title .sec, .postcon .meta .sec{	
	margin: 0 10px;
	font-weight: 300;
	display: flex;
	border-radius: 50%;
	width: 3px;
	height: 3px;
	background: var(--textgrey);
}
.modal .inqcon .answer h3{
	color: var(--main);
}
.modal.sml .modalconwrp{
	max-width: 420px;
}
.modal.sml640 .modalconwrp{
	max-width: 640px;
}
.modal.mid .modalconwrp{
	max-width: 800px;
}
.modal .modalconwrp{
	position: relative;
	max-width: 90%;
	width: 100%;
}
.modal#previd .modalconin{
	position: relative;
	padding: 0;
	display: flex;
	height: 0;
	width: 100%;
	padding-top: 56.25%;	
	background: var(--black);
}
.modal#previd .modalconin video{
	object-fit: scale-down;	
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.modal .modalconin{
	overflow: hidden;
	position: relative;
	background: var(--white);
	border-radius: 10px;	
	width: 100%;
	padding: 40px;
}
.modal .modalconin h2{
	margin-top: 0;
}
.modal .modalcon .video{
	display: flex;
}
.modal .modalconwrp .exit{
	cursor: pointer;
	position: absolute;
	top: -42px;
	right: 10px;
	color: var(--white);	
	z-index: 9;
}
.modal .modalconwrp .exit svg{
	width: 36px;
	height: 36px;
}
/* body.single-item footer{
	display: none;
} */
footer{
	color: var(--textgrey);
	padding: 50px 0;
}
footer .sec{
	opacity: .6;
	margin: 0 8px;	
	font-weight: 300;
}
footer .copyright{
	margin-top: 20px;
	font-size: .92em;
}

.tab{
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 400px;
	overflow: hidden;
	font-size: 17px;
	font-weight: 600;	
	margin-bottom: 10px;
}
.tab a{
	cursor: pointer;
	display: flex;
	align-items: center;
	width: 100%;
	border-bottom: 3px solid var(--line);
	color: var(--textgrey);
	padding: 10px;
}
.tab a.active{
	color: var(--main);
	border-color: var(--main);
}

.substable{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.substable .item{
	cursor: pointer;
	padding: 20px;
	border-radius: 10px;
	border: 1px solid var(--line);
}
.substable .item.active{
	outline: 1px solid var(--main);
	border-color: var(--main);
}
.substable .item .title{
	font-weight: bold;
	margin-bottom: 5px;
}
.substable .item.active .price{
	color: var(--main);
}

/* 빌링키 등록 UI */
.billing-register-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.billing-register-section .divider {
  margin-bottom: 16px;
}

.billing-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.billing-info .notice {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.billing-button {
  width: 100%;
  padding: 14px;
  background: #0064ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.billing-button:hover {
  background: #0052cc;
}

/* 구독 관리 (해지 / 재개) */
.subs-manage{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  margin-top:12px;
}
.subs-manage .note{
  margin:0;
  font-size:.8em;
  color:var(--grey);
}
.subs-manage form{
  margin:0;
}
.subs-manage button{
  cursor:pointer;
  height:44px;
  padding:0 24px;
  border-radius:10px;
  font-weight:600;
  font-size:.85em;
  transition:all .2s;
}
.subs-manage .subs-cancel-btn{
  background:transparent;
  color:var(--grey);
  border:1px solid var(--line);
}
.subs-manage .subs-cancel-btn:hover{
  border-color:var(--black);
  color:var(--black);
}
.subs-manage .subs-resume-btn{
  background:var(--black);
  color:var(--white);
  border:0;
}
.subs-manage .subs-resume-btn:hover{
  opacity:.85;
}

.registered-card {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.registered-card p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
}

/**모바일 화면**/
@media screen and (max-width: 768px){

	.site-branding svg{
		height: 25px;
	}

	#page{
		grid-template-columns: 1fr;
	}
	header{
		flex-wrap: wrap;		
		gap: 0;
		padding: 15px;		
		padding: 0 15px 5px;
		font-size: 16px;		
	}
	header .fr{
		gap: 15px;
	}
	header .accountwrp{
		margin: 6px 0;
		gap: 16px;
	}
	header .accountwrp #lab, header .accountwrp .login{
		font-size: 13px;
	}
	header .accountwrp .lab{
		gap: 5px;
	}
	header .searchwrp{
		order: 2;
	}
	header .searchwrp input{
		height: 42px;
	}
	header .accountwrp .std .username{
		display: none;
	}


	.noti{
		text-align: left;
	}

	section{
		padding: 30px 15px;
	}

	.pagetitle.big.row{
		flex-direction: column;
		margin: 0 0 30px;
	}
	.pagetitle.big h1{
		font-size: 2em;
	}
	.pagetitle.big.row .tab{
		margin-top: 30px;
		max-width: 100%;
	}
	.tab{
		font-size: 15px;
	}

	.itemcat {
		font-size: 13px;
	}

	section.mid.vidwrp{
		grid-template-columns: 1fr;
	}
	section.mid.vidwrp .vidplayerwrp{
		z-index: 9;				
		top: 99px;
		width: 100%;
		height: 0;
		padding-top: 56.25%;		
	}
	section.mid.vidwrp .vidplayerwrp #vid{
		position: absolute;
		left: 0;
		top: 0;		
	}
	.chaplist, .playlist .chaplist{
		gap: 12px;
	}
	.chaplist .item, .playlist .chaplist .item{
    flex-direction: column;
    align-items: flex-start;
    transition: .06s ease-out;
    transition-property: all;
    cursor: pointer;
    position: relative;
		border-radius: 8px;
    border: 0;
    padding: 0;
    background: var(--whitegrey);
		margin: 0;
	}
	.chaplist .item .thumb, .playlist .chaplist .item .thumb{
    flex: 0 0 180px;
    height: 70px;
    margin: 0;
    overflow: hidden;
		border-radius: 0;
	}
	.chaplist .item .wrpwbt{
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 15px 15px;
	}

	.chaplist .item .preview.video, .chaplist .item .preview{
		zoom: 1;
		position: absolute;
		top: -17px;
		right: 10px;
	}

	.list{		
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 15px;
		font-size: 11px;
	}

	.itwrp, .itwrp.dvi{
		grid-template-columns: repeat(1, 1fr);
		gap: 40px;
	}

	.itemcatwrp{
		overflow-x: auto;
		margin: 0 -15px 30px;
		width: 100vw;
	}

	.cartlist .item .title{
		font-size: .97rem;
		align-items: flex-start;
	}
	.cartcalc{
		padding: 18px 20px;
		font-size: .96rem;
	}

	.cartlist .item .ctl .del{
		align-items: flex-start;
	}

	.nextpaywrp button{
		max-width: 100%;
	}
	.pagetitle{
		font-size: 20px;
	}

	.itwrp .itpt.paidresult .meta.resultpt{
		font-size: .8em;
	}

	.itemmeta .pwrp{
		font-size: 32px;
	}
	.itwrp .slider{
		max-height: 340px;
	}

	.zlist .hat.head{
		display: none;
	}
	.zlist .hat{
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
	.zlist .hat .title, .zlist.board .hat .title{
		font-size: 1.15em;
		width: auto;
    white-space: normal;
		word-break: keep-all;
		margin-bottom: 6px;
	}

	#pagination {
		flex-direction: column;
	}
	.itwrp .itpt.paidresult{
		gap: 20px;
	}
	.itwrp .meta > div{
		align-items: flex-start;
	}
	.itwrp .meta.resultpt .wrp{
		gap: 10px;
	}
	.itwrp .meta.resultpt .wrp span, .itwrp .meta.resultpt .wrp input{
		width: 100%;
	}

	.itwrp .meta.resultpt .colu .item{
		text-align: left;
	}

	.itemmeta .buybt > *, .itemmeta .buybt form #directbuy{
		font-size: 15px;
		height: 56px;
	}

	.playlist{
		padding: 15px;
	}
	.playlist .pagetitle.zbp{
		margin: -15px -15px 0;
		padding: 15px;
	}

	.itwrp .itpt.paidresult .mov > *.whd{
		max-width: 100%;
	}

	.substable{
		grid-template-columns: repeat(1, 1fr);
	}

	footer{
		padding: 30px 0 0;
	}

	/* 빌링 등록 모바일 최적화 */
	.billing-register-section {
		margin-top: 16px;
		padding-top: 16px;
	}

	.billing-info h3 {
		font-size: 15px;
	}

	.billing-info .notice {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.billing-button {
		padding: 16px;
		font-size: 15px;
		border-radius: 8px;
		-webkit-tap-highlight-color: transparent;
	}

	.registered-card {
		padding: 14px;
	}

	.registered-card p {
		font-size: 13px;
		margin-bottom: 14px;
	}


}

