/* v16.9.0 cashier modal: tabs (USDT/KRW), independent body scroll, sticky submit bar, iOS safe-area */
html.cx-lock,body.cx-lock{overflow:hidden!important;overscroll-behavior:none}
dialog.cashier-modal.cx-modal{padding:0;max-height:calc(100dvh - 24px);max-height:calc(100svh - 24px);overflow:hidden;display:flex;flex-direction:column}
dialog.cashier-modal.cx-modal:not([open]){display:none}
.cx-v2.cashier-shell{display:flex;flex-direction:column;min-height:0;max-height:inherit;height:100%;padding:0}
.cx-v2 .cx-head{flex:none;padding:18px 20px 10px;margin:0}
.cx-v2 .cx-head h2{margin:2px 0 0}
.cx-tabs{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 20px 10px;padding:4px;border-radius:14px;background:#08121e;border:1px solid #233a55}
.cx-tabs button{min-height:42px;border:0;border-radius:10px;background:transparent;color:#9fb4cf;font-weight:700;font-size:14px;cursor:pointer}
.cx-tabs button.active{background:linear-gradient(180deg,#2d8cff,#1f6fe0);color:#fff;box-shadow:0 6px 18px rgba(45,140,255,.35)}
.cx-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:0 20px 16px}
.cx-scroll .cashier-balance-card{margin:0 0 12px}
.cx-scroll .cashier-panel[hidden]{display:none!important}
.cx-submitbar{flex:none;position:sticky;bottom:0;z-index:2;padding:12px 20px max(14px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(11,20,34,.85),#0b1422 40%);border-top:1px solid #1f3550}
.cx-submitbar .button{width:100%;min-height:50px;font-size:16px;font-weight:800;border-radius:14px}
.cx-submitbar .button:disabled{opacity:.55;cursor:not-allowed}
.cx-textarea{min-height:76px;resize:vertical;font:inherit;line-height:1.5;padding:10px 12px}
.cx-reset{opacity:.8}
.cx-convert{margin:8px 2px 4px;font-size:13px;color:#9fd8ff}.cx-convert b{color:#fff}.cx-convert small{color:#7f93ad;margin-left:4px}
.cx-account{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;border:1px solid #2f4867;border-radius:13px;background:#09131f}
.cx-account>div{flex:1;min-width:0;display:grid;gap:2px}.cx-account span{font-size:12px;color:#8fb3d6}.cx-account b{font-size:16px;letter-spacing:.3px;word-break:break-all;color:#eef6ff}.cx-account small{font-size:12px;color:#8a9bb3}
.cx-account button{flex:none;height:34px;padding:0 12px;border-radius:9px;background:#14263b;border:1px solid #345472;color:#8ee7ff;font-size:12px}
.cx-empty{color:#ffcf7a!important}
.cx-blocked{margin:6px 0;padding:22px 16px;text-align:center;border:1px dashed #3a5372;border-radius:14px;background:#0a1624}.cx-blocked b{display:block;font-size:17px;color:#ffcf7a;margin-bottom:6px}.cx-blocked p{margin:0;color:#9fb4cf;font-size:13px}
.cx-v2 .cashier-label small{font-weight:400;color:#7f93ad}
@media(max-width:700px){
 dialog.cashier-modal.cx-modal{width:100vw;max-width:100vw;height:100dvh;height:100svh;max-height:100dvh;max-height:100svh;margin:0;inset:0;border-radius:0;border:0}
 .cx-v2 .cx-head{padding:max(14px,env(safe-area-inset-top)) 16px 8px}
 .cx-tabs{margin:0 16px 10px}
 .cx-scroll{padding:0 16px 16px}
 .cx-submitbar{padding:10px 16px max(12px,env(safe-area-inset-bottom))}
 .cx-scroll input,.cx-scroll textarea,.cx-scroll select{font-size:16px} /* no iOS zoom on focus */
}
/* address row: keep the address visible on narrow screens (generic mobile button rules stretched the copy button) */
.cx-v2 .cashier-copy-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cx-v2 .cashier-copy-row code{display:block;flex:1 1 180px;min-width:0;white-space:normal;word-break:break-all;overflow:visible;font-size:13px;line-height:1.45;color:#dcecff}
.cx-v2 .cashier-copy-row button,.cx-v2 .cx-account button{flex:none;width:auto;min-width:64px}
/* v16.9.1 텔레그램 문의 buttons (고객센터 / 모바일 메뉴 / 플로팅) */
.tg-ico{width:22px;height:22px;flex:none;display:inline-block;vertical-align:middle}
.tg-cs-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:14px;background:linear-gradient(180deg,#2aabee,#1f8fd0);color:#fff!important;font-weight:800;font-size:15px;text-decoration:none;box-shadow:0 8px 22px rgba(42,171,238,.32);white-space:nowrap}
.tg-cs-btn .tg-ico circle{fill:#fff}.tg-cs-btn .tg-ico path{fill:#1f8fd0}
.tg-cs-btn:hover{filter:brightness(1.08)}
.tg-cs-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:14px 0;padding:16px 18px;border:1px solid rgba(42,171,238,.45);border-radius:18px;background:linear-gradient(135deg,rgba(42,171,238,.16),rgba(11,21,34,.9))}
.tg-cs-panel b{display:block;font-size:17px;color:#eaf6ff}.tg-cs-panel small{color:#9fc4e0;font-size:13px}
@media(max-width:700px){.tg-cs-panel .tg-cs-btn{width:100%}}
.mm-tg-link span .tg-ico{width:20px;height:20px}
.fab-telegram .fab-tg-ico{width:22px;height:22px}
