/* 알로코인 내역 창(wallet-panel.js, 2026-11-11): 잔액·해금권 → 충전(준비 중) → 사용 내역 목록(이 칸만 스크롤) */
.wallet-link{cursor:pointer}
.app.chat-shell .coin-chip.wallet-link{cursor:pointer}
.wallet-link:hover{filter:brightness(1.12)}
.wallet-panel{position:fixed;width:min(480px,calc(100vw - 32px));max-height:min(88vh,820px);padding:24px 22px 20px;border:1px solid var(--line);border-radius:20px;background:#1e1f22;color:var(--fg);box-shadow:var(--shadow-modal);overflow:hidden}
.wallet-panel[open]{display:flex;flex-direction:column;gap:14px}
.wallet-panel::backdrop{background:var(--overlay)}
.wallet-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#ffffff14;color:#fff;cursor:pointer}
.wallet-close:hover{background:#ffffff24}
.wallet-close svg{width:18px;height:18px}
.wallet-title{margin:0;padding-right:48px;font-size:20px;font-weight:700;letter-spacing:-.01em}
.wallet-balance{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border-radius:16px;background:var(--card)}
.wallet-balance-label{font-size:13px;color:var(--fg-3)}
.wallet-balance-row{display:flex;align-items:center;gap:10px}
.wallet-balance-value{font-size:28px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.wallet-ticket-line{margin:0;font-size:13px;color:var(--fg-2)}
.wallet-ticket-line[hidden]{display:none}
.wallet-charge{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 18px;border:1px dashed var(--line);border-radius:14px}
.wallet-charge-text{margin:0;font-size:13px;color:var(--fg-2);line-height:1.45}
.wallet-charge-button{flex:none;height:36px;padding:0 14px;border:0;border-radius:10px;background:var(--tile);color:var(--fg-3);font:inherit;font-size:13px;font-weight:700}
.wallet-subhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}
.wallet-subtitle{margin:0;font-size:15px;font-weight:700}
.wallet-all{color:var(--fg-3);font-size:13px;text-decoration:none}
.wallet-all:hover{color:var(--fg)}
.wallet-body{display:flex;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin-right:-8px;padding-right:8px}
.wallet-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.wallet-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 2px;border-bottom:1px solid #ffffff10}
.wallet-item:last-child{border-bottom:0}
.wallet-item-main,.wallet-item-side{display:flex;flex-direction:column;gap:4px;min-width:0}
.wallet-item-side{align-items:flex-end;flex:none}
.wallet-item-title{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallet-item-time,.wallet-item-after{font-size:12px;color:var(--fg-3);font-variant-numeric:tabular-nums}
.wallet-item-delta{font-size:15px;font-variant-numeric:tabular-nums}
.wallet-item-delta.plus{color:var(--ok)}
.wallet-item-delta.minus{color:var(--fg)}
.wallet-skeleton{flex-direction:column;align-items:stretch;justify-content:center;gap:8px}
.wallet-skeleton .skeleton-line{height:12px;background:var(--tile)}
.wallet-skeleton .skeleton-line:first-child{width:55%}
.wallet-skeleton .skeleton-line:last-child{width:35%}
.wallet-status{margin:0;padding:18px 0;text-align:center;font-size:13px;color:var(--fg-3)}
.wallet-status:empty{display:none}
.wallet-more{align-self:center;height:36px;padding:0 18px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--fg-2);font:inherit;font-size:13px;cursor:pointer}
.wallet-more:hover{background:#ffffff0d}
.wallet-more[hidden]{display:none}
@media(max-width:767px){
  .wallet-panel{width:calc(100vw - 32px);padding:20px 16px 16px}
  .wallet-balance-value{font-size:24px}
  .wallet-charge{flex-direction:column;align-items:stretch;padding:12px 14px}
}
