@font-face{font-family:'Pretendard Variable';src:url('https://imgcdn.topgame.kr/www/font/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
.modal:not([id="mLogin"]),.prof-menu{--panel:#fff4da;--panel2:#f5e3bc;--text:#302331;--head:#302331;--muted:#786451;--line:#d6bc93}
.hd.solid,.hd-right .btn-gold,.page-top,.bi .buy-label,.toast{box-shadow:2px 2px 0 #100b17}
.hd.solid{background:#fff4da}
.prof-chip{padding:4px 10px 4px 4px;background:#c4392c;border:2px solid #100b17;border-radius:8px;box-shadow:2px 2px 0 #100b17}
.prof-nick,.prof-name,.prof-item,.modal:not([id="mLogin"]) h2,.modal:not([id="mLogin"]) .pay,.char-nick,.char-select,.buy-name,.buy-price,.orders-more{font-family:'ONE Mobile POP',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
.prof-nick{color:#fff}
.prof-av,.char-av{box-shadow:0 0 0 2px #302331}
.prof-menu{width:280px;max-width:calc(100vw - 36px);overflow:hidden;background:var(--panel);border:3px solid #100b17;border-radius:8px;box-shadow:2px 2px 0 #100b17}
.prof-head{background:#ffe3a1;border-bottom:2px solid #302331}
.prof-info{min-width:0}
.prof-name,.prof-id span{overflow-wrap:anywhere}
.prof-item{padding:14px 18px;font-size:15px}
.prof-item+.prof-item{border-top:1px solid var(--line)}
.prof-logout{color:#9e2d23}
.modal:not([id="mLogin"]){padding:22px 18px}
.modal:not([id="mLogin"]) [hidden]{display:none!important}
.modal:not([id="mLogin"]) .dim{background:rgba(14,7,24,.8)}
.modal:not([id="mLogin"]) .box,#mBuy .box{max-width:440px;max-height:calc(100vh - 44px);max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior:contain;padding:22px;background:#fff4da;border:3px solid #100b17;border-radius:8px;box-shadow:2px 2px 0 #100b17}
.modal:not([id="mLogin"]) .box h2,#mBuy .box h2{margin:-22px -22px 20px;padding:19px 54px 17px;font-size:24px;font-weight:400;line-height:1.3;color:#fff4da;background:#c4392c;border-bottom:3px solid #100b17;text-shadow:2px 2px 0 #522024}
.modal:not([id="mLogin"]) .x{top:12px;right:12px;z-index:1;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;font-size:27px;font-weight:800;color:#302331;background:#ffd464;border:2px solid #100b17;border-radius:6px;box-shadow:2px 2px 0 #100b17}
.modal:not([id="mLogin"]) .char-box{max-width:480px}
.char-server select{height:48px;background:#fffaf0;border:2px solid #302331;border-radius:6px}
.char-list{max-height:none;gap:12px;padding:2px 2px 5px}
.char{gap:12px;padding:14px 12px;background:#fffbef;border:2px solid #302331;border-radius:8px;box-shadow:2px 2px 0 #100b17}
.char.on{background:#ffe19a;border-color:#302331;box-shadow:2px 2px 0 #100b17}
.char-av{width:46px;height:46px;flex-basis:46px}
.char-nick{font-size:17px;font-weight:400}
.char-sub{line-height:1.5}
.char-id{overflow-wrap:anywhere}
.char-select{width:84px;height:34px;flex-basis:84px;color:#302331;background:#ffd464;border:2px solid #302331;border-radius:6px}
.char.on .char-select,.char.is-selecting .char-select{color:#fff;background:#c4392c;border-color:#302331}
.char-empty,.orders-message{padding:26px 12px;color:#786451;font-size:14px;line-height:1.7;text-align:center;background:#f5e3bc;border:2px dashed #c7ad85;border-radius:6px}
.char-empty{white-space:pre-line}
#mBuy .bi{display:block;padding-bottom:16px;border-bottom:2px dashed #c7ad85}
#mBuy .buy-image{width:58%;max-width:200px;margin:0 auto 12px}
#mBuy .buy-image img{background:#f5e3bc;border:2px solid #302331;border-radius:8px}
.buy-name{display:none;margin-bottom:10px;color:#302331;font-size:20px;line-height:1.45;text-align:center;overflow-wrap:anywhere}
#mBuy .bp{color:#c4392c;font-size:25px}
.buy-target{font-family:'Pretendard Variable',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;display:flex;align-items:center;gap:12px;margin:16px 0;padding:12px;background:#f5e3bc;border:2px solid #d6bc93;border-radius:6px}
.buy-target-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.buy-target-info small{font-size:11px;color:#786451}
.buy-target-info strong{font-size:14px;overflow-wrap:anywhere}
.buy-target-info span{font-size:12px;color:#786451;overflow-wrap:anywhere}
.modal:not([id="mLogin"]) .pay{justify-content:center;min-height:50px;padding:13px;font-size:16px;font-weight:400;color:#302331;background:#fffaf0;border:2px solid #302331;border-radius:6px;box-shadow:2px 2px 0 #100b17}
#mBuy .pay{justify-content:flex-start;color:#202124;background:#fff;border:1px solid #dadce0;box-shadow:none;font-family:'Pretendard Variable',-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:14px;font-weight:600}
#mBuy .pay .payment-label{font-family:inherit}
.modal:not([id="mLogin"]) .pay:disabled{cursor:wait;opacity:.85;box-shadow:none}
#payMsg{color:#786451;line-height:1.6}
.modal:not([id="mLogin"]) .orders-box{max-width:520px}
.orders-list{display:grid;gap:10px}
.order-card{overflow:hidden;background:#fffdf8;border:1px solid #eadfce;border-radius:10px;box-shadow:0 3px 10px rgba(48,35,49,.08)}
.order-card summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 46px 16px 20px;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.order-card summary::-webkit-details-marker{display:none}
.order-card summary::after{content:'›';position:absolute;top:50%;right:16px;font-size:24px;line-height:1;color:#786451;transform:translateY(-50%);transition:transform .15s}
.order-card[open] summary::after{transform:translateY(-50%) rotate(90deg)}
.order-card-info{display:grid;min-width:0;gap:7px;justify-items:start}
.order-card-name{display:flex;min-width:0;align-items:center;gap:8px}
.order-card-name>strong{min-width:0;color:#302331;font-size:14px;font-weight:700}
.order-card-meta{display:flex;align-items:center;gap:5px;color:#9b8b7d;font-size:11px;white-space:nowrap}
.order-card-payment{color:#9b8b7d;font-size:12px}
.order-detail .order-card-payment{color:inherit;font-size:inherit}
.order-card-date{color:#9b8b7d;font-size:11px}
.order-card-side{display:flex;flex-shrink:0;flex-direction:column;align-items:flex-end;gap:8px}
.order-card-amount{color:#a61f1f;font-size:16px;font-weight:800;line-height:1.2;white-space:nowrap}
.order-status{display:inline-block;padding:4px 6px;color:#6c542c;font-size:11px;font-weight:800;line-height:1.5;background:#f5e3bc;border:1px solid #c7ad85;text-align:center}
.order-status.is-ok{color:#21643a;background:#e0f0d1;border-color:#90b679}
.order-status.is-check{color:#9e2d23;background:#ffe0d6;border-color:#d69b87}
.order-status.is-cancel{color:#68606c;background:#eae4e9;border-color:#bab0bb}
.order-detail{display:grid;margin:0;padding:4px 14px 14px;border-top:1px solid #d6bc93;font-size:13px;line-height:1.6}
.order-detail>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #d6bc93}
.order-detail>div:last-child{border-bottom:0}
.order-detail dt{color:#786451}
.order-detail dd{min-width:0;margin:0;overflow-wrap:anywhere}
.order-number-value{display:flex;align-items:center;gap:6px}
.order-number-value .prof-copy{margin-left:0}
.order-number-value .prof-copy:disabled{cursor:default;opacity:.5}
.order-notice{margin:0;color:#9e2d23;font-size:12px;line-height:1.7}
.orders-more{display:block;width:100%;margin-top:16px;padding:12px;color:#302331;font-size:15px;background:#ffd464;border:2px solid #302331;border-radius:6px;box-shadow:2px 2px 0 #100b17;cursor:pointer}
.orders-more:disabled{opacity:.6;cursor:wait}
.orders-message{margin-top:12px}
.orders-list[hidden]+.orders-message{margin-top:0}
.orders-message.load::before,.char-empty.load::before{content:"";display:inline-block;width:13px;height:13px;margin-right:8px;vertical-align:-2px;border:2px solid #c7ad85;border-top-color:#c4392c;border-radius:50%;animation:spSpin .7s linear infinite}
.scroll-sentinel{height:1px}
#stage,.orders-box .modal-body{overflow-anchor:none}

@media (max-width:560px){
	.modal:not([id="mLogin"]){padding:18px 12px}
	.modal:not([id="mLogin"]) .box,#mBuy .box{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);padding:18px;box-shadow:2px 2px 0 #100b17}
	.modal:not([id="mLogin"]) .box h2,#mBuy .box h2{margin:-18px -18px 16px;padding-top:17px;padding-bottom:15px;font-size:22px}
	.modal:not([id="mLogin"]) .x{top:10px;right:10px}
	.char{gap:10px;padding:12px 10px}
	.char-av{width:38px;height:38px;flex-basis:38px}
	.char-nick{font-size:15px}
	.char-select{width:76px;flex-basis:76px;font-size:11px}
}

.modal:not([id="mLogin"]) .support-box{max-width:520px}
.support-target{margin:0 0 6px}
.support-intro{margin-bottom:18px;font-size:14px;line-height:1.7;color:#786451;text-align:center}
#supportForm{display:flex;flex-direction:column;gap:10px;min-width:0}
#supportForm label{font-size:14px;font-weight:700;line-height:1.5}
#supportForm input:not([type="hidden"]):not([type="checkbox"]),#supportForm textarea{display:block;width:100%;min-width:0;box-sizing:border-box;padding:12px;font:inherit;font-size:16px;line-height:1.5;color:#302331;background:#fffaf0;border:2px solid #302331;border-radius:6px}
#supportForm textarea{min-height:150px;max-height:320px;resize:vertical;overflow-wrap:anywhere}
#supportForm input::placeholder,#supportForm textarea::placeholder{color:#786451;opacity:1}
.support-file{display:flex;align-items:center;gap:8px;min-width:0}
#supportForm #supportImage{display:none}
.support-file .support-submit{flex-shrink:0;width:auto;min-height:44px;padding:10px 14px;font:inherit;font-size:14px;font-weight:700}
#supportImageName{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#786451}
.support-image-link{display:inline-block;margin-top:10px;color:#9e2d23;text-decoration:underline}
.support-content-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:4px}
#supportCount{flex-shrink:0;font-size:12px;color:#786451}
.support-context,.support-message{font-size:12px;line-height:1.7;overflow-wrap:anywhere;color:#786451}
.support-message:empty{display:none}
.support-message{color:#9e2d23}
.support-submit{width:100%;min-height:48px;padding:12px;font-family:'ONE Mobile POP',sans-serif;font-size:17px;color:#302331;background:#ffd464;border:2px solid #302331;border-radius:6px;box-shadow:2px 2px 0 #100b17;cursor:pointer}
.support-submit:disabled{opacity:.55;cursor:default;box-shadow:none}
@media (max-width:560px){
	.support-intro{margin-bottom:14px;font-size:13px}
	#supportForm textarea{min-height:130px}
}

.support-tabs{display:flex;gap:8px;margin-bottom:18px}
.support-tabs button{flex:1;min-width:0;min-height:44px;padding:10px;font-family:'ONE Mobile POP',sans-serif;font-size:16px;color:#302331;background:#f5e3bc;border:2px solid #302331;cursor:pointer}
.support-tabs button[aria-selected="true"]{color:#fff4da;background:#c4392c}
.support-list{display:flex;flex-direction:column;gap:12px;list-style:none;padding:0 0 4px}
.support-item{background:#fffaf0;border:2px solid #302331}
.support-item summary{padding:14px;cursor:pointer;overflow-wrap:anywhere}
.support-item-title{display:inline-block;max-width:calc(100% - 1.5em);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;font-size:15px;font-weight:700;line-height:1.6}
.support-item[open] .support-item-title{white-space:normal}
.support-item-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;color:#786451}
.support-status{padding:3px 7px;background:#f5e3bc;border:1px solid #c7ad85;color:#786451}
.support-status.is-ok{background:#e0f0d1;border-color:#90b679;color:#21643a}
.support-item-body{padding:14px;border-top:1px solid #d6bc93;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.support-text{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.support-answer{margin-top:16px;padding-top:14px;border-top:1px dashed #c7ad85}
.support-answer-date{display:block;margin-top:8px;font-size:11px;color:#786451}
#supportMore{margin-top:12px}

.modal:not([id="mLogin"]) .box.modal-scroll-box,#mBuy .box.modal-scroll-box{display:flex;flex-direction:column;max-height:calc(100vh - 44px);max-height:calc(100dvh - 44px);overflow:hidden;padding:0}
.modal:not([id="mLogin"]) .box.modal-scroll-box h2,#mBuy .box.modal-scroll-box h2{flex-shrink:0;margin:0;padding:19px 54px 17px}
.modal-scroll-box .modal-body,#mBuy .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 22px 22px}
.modal-scroll-box .support-tabs{flex-shrink:0;margin:20px 22px 0}
.support-box .modal-body{padding-top:18px}
.modal-scroll-box .char-list{overflow:visible}
@media(max-width:560px){
	.modal:not([id="mLogin"]) .box.modal-scroll-box,#mBuy .box.modal-scroll-box{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px)}
	.modal:not([id="mLogin"]) .box.modal-scroll-box h2,#mBuy .box.modal-scroll-box h2{padding-top:17px;padding-bottom:15px}
	.modal-scroll-box .modal-body,#mBuy .modal-body{padding:16px 18px 18px}
	.modal-scroll-box .support-tabs{margin:16px 18px 0}
	.support-box .modal-body{padding-top:18px}
}
