:root{--bg:#131a2e;--bg2:#131a2e;--bg-bottom:#131a2e;--surface:#131a2e;--bar:#07030c;--accent:#c4392c;--accent-d:#9e2d23;--accent-l:#ffd464;--on-accent:#fff;--price:#c4392c}
:root{--refund-notice-color:#d22d2d;--refund-notice-bg:#ffe1e1;--refund-notice-border:#ff8b8b;--refund-notice-icon-image:url("https://imgcdn.topgame.kr/tqgame/shop/exclamation-mark.png")}
html,body{background:#131a2e}
.hd-right{position:absolute;top:50%;right:18px;right:calc(18px + env(safe-area-inset-right));margin-left:0;transform:translateY(-50%)}
.prof-av,.char-av{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/profile.png")}

@font-face{font-family:'ONE Mobile POP';
	src:url('https://imgcdn.topgame.kr/tqgame/shop/skull/ONE_Mobile_POP.ttf') format('truetype');
	font-display:swap}
.shop-item-scope .cate-tabs,
.shop-item-scope .shop-card{font-family:'ONE Mobile POP',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.hd-right .btn-gold{font-family:'ONE Mobile POP',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;border:2px solid #000;border-radius:8px}
.page-top{border-radius:50%}
.notice{background:transparent;border:0;box-shadow:none}
.notice h2{color:#f5f3fa}
.notice li{color:#c8c3d3}

.shop-item-scope .cate-tabs{display:flex;gap:6px;margin-bottom:16px;padding:7px;overflow-x:auto;
	background:#c4392c;border:2px solid #000;border-radius:8px;box-sizing:border-box}
.shop-item-scope nav.cate-tabs{position:sticky;top:56px}
.shop-item-scope nav.cate-tabs::before{border-color:#000;box-shadow:none}
.shop-item-scope .cate-btn{flex:0 0 127px;width:127px;min-width:127px;height:49px;padding:0 18px;cursor:pointer;font-family:inherit;font-size:19px;font-weight:800;
	color:#fff;background:transparent url("https://imgcdn.topgame.kr/tqgame/shop/skull/category-off.png") center/100% 100% no-repeat;border:0;transition:.12s}
.shop-item-scope .cate-btn.on{color:#151324;background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/category-on.png")}

.shop-item-scope .grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.shop-item-scope .grid-empty{padding:48px 18px;text-align:center;font-size:14px;color:#a9a3b7;background:transparent;border:0}
.shop-item-scope .shop-card{position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;height:auto;aspect-ratio:227/342;
	background-position:center top;background-repeat:no-repeat;background-size:100% 100%;border:0;border-radius:7px;box-shadow:2px 2px 0 #100b17}
.shop-item-scope .shop-card--diamond{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/diamond-bg.png")}
.shop-item-scope .shop-card--coupon{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/coupon-bg.png")}
.shop-item-scope .shop-card--bonus{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/bonus-bg.png?v=1")}
.shop-item-scope .thumb{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(180deg, #292929, #202020);border-bottom:1px solid #343434}
.shop-item-scope .thumb img{width:62%;height:62%;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.18))}
.shop-item-scope .thumb.full{flex:0 0 auto;overflow:hidden;width:91.84%;margin:4.08% 4.08% 0;background:none;border:0;border-radius:6px}
.shop-item-scope .thumb.full img{width:100%;height:100%;object-fit:contain;filter:none}
.shop-item-scope .label{position:absolute;top:8px;right:8px;font-size:10px;font-weight:900;letter-spacing:1px;
	padding:4px 9px;color:#fff;box-shadow:2px 2px 0 #100b17}
.shop-item-scope .body{display:flex;flex:1;min-height:0;flex-direction:column;padding:0;background:transparent}
.shop-item-scope .price{box-sizing:border-box;display:flex;flex:1;align-items:center;justify-content:center;width:100%;margin:0;padding:0 8px;font-size:clamp(16px,5.3vw,23px);font-weight:900;line-height:1.2;color:#fff;text-align:center;-webkit-text-stroke:clamp(3px,1.15vw,5px) #000;paint-order:stroke fill;white-space:nowrap}
.shop-item-scope .bonus-name{font-size:clamp(14px,4.2vw,19px);line-height:1.25;white-space:normal;word-break:keep-all}
.shop-item-scope .foot{flex:0 0 auto;aspect-ratio:227/58;margin-top:0}
.shop-item-scope .buy{position:absolute;bottom:0;left:0;display:block;width:100%;aspect-ratio:227/58;padding:0;cursor:pointer;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border:0;border-radius:0}
.shop-item-scope .shop-card--diamond .buy{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/diamond-buy.png")}
.shop-item-scope .shop-card--coupon .buy{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/coupon-buy.png")}
.shop-item-scope .shop-card--bonus .buy{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/bonus-buy.png?v=1")}
.shop-item-scope .buy span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shop-item-scope .shop-card--bonus .buy:disabled{cursor:default;opacity:.85}
.shop-item-scope .shop-card--bonus .buy.is-complete{background-image:url("https://imgcdn.topgame.kr/tqgame/shop/skull/bonus-buy-done.png?v=1");filter:none;opacity:1}
.shop-item-scope.is-preview{width:100%}
.shop-item-scope.is-preview .shop-item-table{display:block;width:100%!important;border:0;border-collapse:separate}
.shop-item-scope.is-preview .shop-item-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.shop-item-scope.is-preview .shop-item-grid{box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;width:100%;max-width:1080px;margin:0 auto;padding:16px 18px 60px}
.shop-item-scope.is-preview .shop-item-grid tr{display:block;width:auto!important;background:transparent!important}
.shop-item-scope.is-preview .shop-item-grid td{display:none}
.shop-item-scope.is-preview .shop-item-grid .shop-item-card-cell{display:block;padding:0!important;border:0!important}
.shop-item-scope.is-preview .shop-item-grid .shop-item-empty-row{grid-column:1/-1}
.shop-item-scope.is-preview .shop-item-grid .dataTables_empty{display:block;padding:48px 18px!important;text-align:center;color:var(--muted,#6b7280);background:var(--panel,#fff)}
.shop-item-scope.is-preview .shop-card{height:auto}

@media (min-width:901px){
	.wrap{margin:-200px auto 0}
}
@media (min-width:561px){
	.shop-item-scope .cate-tabs{height:75px;padding:13px 7px}
}
@media (max-width:1150px){
	.shop-item-scope .grid,.shop-item-scope.is-preview .shop-item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:900px){
	.shop-item-scope .grid,.shop-item-scope.is-preview .shop-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:650px){
	.shop-item-scope .grid,.shop-item-scope.is-preview .shop-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media (max-width:560px){
	.shop-item-scope .cate-tabs{gap:4px;padding:6px}
	.shop-item-scope .cate-list{width:100%;gap:4px}
	.shop-item-scope .cate-btn{flex:1 1 0;width:auto;min-width:0;height:auto;aspect-ratio:127/49;padding:0 6px;font-size:clamp(14px,4.8vw,19px)}
	.shop-item-scope .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media (max-width:480px){
	.shop-item-scope.is-preview .shop-item-grid{grid-template-columns:1fr}
}
