/* 실제 사이트용 보충 스타일 (시안에 없던 상태들 + 모바일) */
button{font-family:inherit;border:0;cursor:pointer;}
[hidden]{display:none!important;}
.main{display:flex;flex-direction:column;min-height:calc(100vh - 56px);}
.foot{margin-top:auto;padding:22px 26px;font-size:11.5px;color:#4b5563;border-top:1px solid #1a0a0a;}
.muted{font-size:13px;color:#6b7280;padding:8px 2px;}
.empty-row{padding:26px 18px;text-align:center;font-size:13px;color:#6b7280;}

.flashes{padding:14px 24px 0;display:flex;flex-direction:column;gap:8px;}
.flash{font-size:13px;padding:11px 14px;border-radius:9px;animation:rise .35s ease both;}
.flash.ok{background:rgba(74,222,128,.08);border:1px solid rgba(74,222,128,.3);color:#bbf7d0;}
.flash.err,.flash.message{background:rgba(224,31,31,.1);border:1px solid rgba(224,31,31,.4);color:#fecaca;}

.nav-admin{color:#fbbf24!important;}
.um{position:relative;}
.um .avatar{cursor:pointer;object-fit:cover;}
img.avatar{display:block;}
.um-menu{position:absolute;right:0;top:44px;min-width:180px;background:#110909;border:1px solid #3a1212;border-radius:10px;padding:8px;display:none;flex-direction:column;box-shadow:0 14px 40px rgba(0,0,0,.6);z-index:50;}
.um:hover .um-menu,.um:focus-within .um-menu{display:flex;}
.um-menu b{font-size:13px;color:#fff;padding:6px 8px 8px;border-bottom:1px solid #2a0d0d;margin-bottom:4px;}
.um-menu a,.um-menu button{font-size:12.5px;color:#c4c4c4;padding:8px;border-radius:6px;text-align:left;background:none;width:100%;}
.um-menu a:hover,.um-menu button:hover{background:rgba(224,31,31,.12);color:#fff;}
.um::after{content:'';position:absolute;right:0;top:34px;width:180px;height:12px;}

.pg-index .mebox{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.pg-index .mebox b{display:block;font-size:13.5px;color:#fff;}
.pg-index .mebox span{font-size:12px;color:#8b8f97;}
.pg-index .mebox strong{color:#fff;}
.pg-index .mebtns{display:flex;flex-direction:column;gap:6px;}
.btn-ghost{display:flex;justify-content:center;font-size:12.5px;font-weight:700;color:#d1d5db;border:1px solid #3a1212;border-radius:8px;padding:10px 0;}
.btn-ghost:hover{border-color:#e01f1f;color:#fff;}
.box-more{margin-left:auto;font-size:11px;color:#9ca3af;font-weight:500;}
.pg-index .stop,.state.stop{font-size:10.5px;font-weight:700;color:#9ca3af;}
.state.stop{color:#d1d5db;}
.pg-index .track.still{animation:none;}
.pg-index .h1 .t1,.pg-index .h1 .t2{white-space:pre-wrap;}

.pg-product .status.upd{color:#fbbf24;background:rgba(251,191,36,.08);border-color:rgba(251,191,36,.3);}
.pg-product .status.stop{color:#9ca3af;background:#1a0b0b;border-color:#3a1212;}
.pg-product .gal.plain{border-color:#3a1212;animation:rise .6s ease both;}
.pg-product .op input{position:absolute;opacity:0;pointer-events:none;}
.pg-product .op:has(input:focus-visible){outline:2px solid #ff4d4d;outline-offset:2px;}
.pg-product .op.soldout{opacity:.45;cursor:not-allowed;}
.pg-product .buy{width:100%;border:0;font-family:inherit;}
.pg-product .buy.off{background:#2a0d0d;color:#6b7280;animation:none;cursor:not-allowed;}
.pg-product .tab{user-select:none;}

.pg-charge .amt{font-family:inherit;}
.pg-charge .go{width:100%;border:0;font-family:inherit;}
.pg-charge .ferr{margin-top:12px;font-size:12.5px;color:#fca5a5;}
.pg-charge .closed{padding:40px;text-align:center;}
.pg-charge .closed b{font-size:18px;color:#fff;}
.pg-charge .closed p{font-size:13px;color:#8b8f97;margin-top:6px;}
.pg-charge .hist{display:flex;flex-direction:column;}
.pg-charge .hist div{display:grid;grid-template-columns:1fr auto 80px;gap:10px;align-items:center;font-size:12.5px;color:#8b8f97;padding:8px 0;border-bottom:1px solid #1a0a0a;}
.pg-charge .hist b{color:#fff;}
.pg-charge .hs{font-style:normal;font-size:11px;font-weight:700;text-align:right;}
.pg-charge .hs.done{color:#4ade80;}.pg-charge .hs.pending{color:#fbbf24;}.pg-charge .hs.expired,.pg-charge .hs.canceled{color:#6b7280;}
.pg-charge .cancel{background:none;width:100%;}
.pg-charge .copy{font-family:inherit;}
.okc.big{width:66px;height:66px;border-radius:50%;background:rgba(74,222,128,.12);border:2px solid #4ade80;display:flex;align-items:center;justify-content:center;color:#4ade80;animation:rise .5s ease both;}
.okc.big svg{width:30px;height:30px;}
.pg-charge .expired strong{color:#fff;}

.pg-receipt .dm.fail{color:#fca5a5;font-weight:700;}
.pg-receipt .dm.wait{color:#fbbf24;font-weight:700;}
.pg-receipt .r.end{color:#9ca3af;}
.pg-receipt .dl.off{opacity:.55;}
.pg-receipt .sp{background:none;padding:0;}
.pg-receipt .rsend{border:0;font-family:inherit;}
.pg-receipt .sbtn{font-family:inherit;}
.pg-receipt .nf{min-height:calc(100vh - 200px);}

.pg-notice .ni{color:inherit;}
.pg-notice .pin{font-style:normal;font-size:10px;font-weight:800;color:#fbbf24;margin-right:6px;}
.pg-notice .back{text-decoration:none;}

/* 모바일 하단 메뉴 */
.mnav{display:none;}
/* 모바일 */
@media (max-width:1100px){
  .pg-index .rp{display:none;}
  .pg-category .grid3{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:860px){
  .side,.nav,.catbar-note{display:none;}
  .header{padding:0 14px;}
  .logo{margin-right:auto;font-size:15px;}
  .bal{padding:5px 5px 5px 9px;font-size:11px;}
  .bal strong{font-size:12px;}
  .pg-index .hero{height:auto;padding-bottom:30px;}
  .pg-index .hero-in{padding:36px 18px 0;}
  .pg-index .h1{font-size:30px;min-height:0;}
  .pg-index .center{padding:16px 12px;}
  .pg-index .today{grid-template-columns:1fr 1fr;}
  .pg-index .today div:last-child{display:none;}
  .pg-index .thead,.pg-index .row,.pg-log .thead,.pg-log .row{grid-template-columns:64px 1fr 1fr 86px;font-size:12px;}
  .pg-index .thead span:nth-child(4),.pg-index .row .op,.pg-log .thead span:nth-child(4),.pg-log .row .op{display:none;}
  .pg-log .thead.me,.pg-log .row.me{grid-template-columns:1fr 90px 64px;}
  .pg-log .row.me .no,.pg-log .row.me .tm,.pg-log .thead.me span:nth-child(1),.pg-log .thead.me span:nth-child(4),.pg-log .thead.me span:nth-child(5),.pg-log .row.me .ex{display:none;}
  .pg-category .grid3,.pg-product .pd-top,.pg-product .feat,.pg-product .rvs,.pg-charge .cgrid,.pg-charge .wait,.pg-receipt .rg{grid-template-columns:1fr;}
  .pg-category .big{font-size:46px;}
  .pg-category .intro-in{padding:32px 18px 0;}
  .pg-product .pd,.pg-charge .ch,.wrapc{padding:18px 14px 30px;}
  .pg-product .gal{height:280px;}
  .pg-product .opts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pg-charge .amts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pg-notice .ni{grid-template-columns:56px 1fr;height:auto;padding:12px 14px;}
  .pg-notice .ni .d,.pg-notice .ni .v{display:none;}
  .mnav{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(8,8,8,.96);backdrop-filter:blur(10px);border-top:1px solid #2a0d0d;padding:6px 4px calc(6px + env(safe-area-inset-bottom));}
  .mnav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:#8b8f97;padding:4px 0;}
  .mnav a svg{width:19px;height:19px;color:#6b7280;}
  .mnav a.on{color:#fff;font-weight:700;}
  .mnav a.on svg{color:#ff3b3b;filter:drop-shadow(0 0 6px rgba(255,59,59,.6));}
  .root{padding-bottom:64px;}
  .ph .sub,.pg-index .ph .more{display:none;}
  .ph h2{white-space:nowrap;}
  .pg-index .rvsum{font-size:11px;}
  .pg-index .rvsum b{font-size:15px;}
  .pg-charge .flow{gap:6px;}
  .pg-charge .fs{font-size:11.5px;white-space:nowrap;}
  .pg-charge .fline{flex:1 1 12px;min-width:8px;}
  .pg-receipt .key{font-size:13px;letter-spacing:.3px;word-break:break-all;}
  .pg-receipt .keyrow{flex-wrap:wrap;}
  .pg-receipt .done h1{font-size:22px;}
}

/* 로그인 안내 */
.pg-signin .signin{position:relative;flex:1;display:flex;align-items:center;justify-content:center;padding:60px 18px;min-height:560px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,rgba(224,31,31,.18),transparent 60%);}
.si-card{position:relative;z-index:2;width:100%;max-width:400px;background:#0f0808;border:1px solid #3a1212;border-radius:16px;padding:34px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;animation:rise .55s cubic-bezier(.2,.8,.2,1) both,glowRed 3s .6s ease-in-out infinite;}
.si-mark{width:56px;height:56px;border-radius:14px;background:rgba(224,31,31,.15);border:1px solid rgba(224,31,31,.4);display:flex;align-items:center;justify-content:center;color:#ff4d4d;margin-bottom:4px;}
.si-mark svg{width:24px;height:24px;}
.si-card h1{font-size:22px;font-weight:900;color:#fff;}
.si-card p{font-size:13.5px;color:#9ca3af;line-height:1.7;}
.si-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:8px;background:#e01f1f;color:#fff;font-size:15px;font-weight:800;padding:14px 0;border-radius:10px;transition:background .15s,transform .15s;}
.si-btn:hover{background:#ff2b2b;transform:translateY(-1px);}
.si-btn svg{width:19px;height:19px;}
.si-back{font-size:12.5px;color:#9ca3af;padding:4px;}
.si-back:hover{color:#fff;}
.si-card small{font-size:11px;color:#57302f;}
.si-card .otp{width:100%;text-align:center;font-size:30px;font-weight:800;letter-spacing:12px;background:#0a0404;border:1px solid #3a1212;border-radius:10px;padding:12px;color:#fff;font-family:ui-monospace,'Courier New',monospace;outline:none;}
.si-card .otp:focus{border-color:#e01f1f;box-shadow:0 0 0 3px rgba(224,31,31,.18);}
.si-card .otp-err{color:#fca5a5;font-size:12.5px;}
.si-card button.si-btn{border:0;cursor:pointer;font-family:inherit;}
