/* ---------- Pay screen ---------- */
.pay-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 24px; align-items: start; }
.pay-left { display: flex; flex-direction: column; gap: 16px; }
.tsec h2.ttl { font-size: 18px; font-weight: 600; color: var(--pl); }
.sepa { display: flex; gap: 12px; align-items: flex-start; background: #fefce8; border: 2px solid #fdc700; border-radius: 8px; padding: 16px; color: #364153; font-size: 16px; line-height: 1.5; }
.sepa .dot { width: 24px; height: 24px; border-radius: 50%; background: #fdc700; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.wcard { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); overflow: hidden; }
.wcard-h { background: var(--brand); padding: 10px 16px; color: #fff; font-size: 14px; font-weight: 600; }
.wcard-b { padding: 16px; }
.idg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; font-size: 16px; gap: 8px; }
.idg.head { font-weight: 700; color: #1e2939; padding-bottom: 8px; border-bottom: 1px solid #e5e7eb; margin-bottom: 16px; }
.idg.row { color: #364153; margin-bottom: 8px; }
.idg.tot { color: #364153; margin-bottom: 8px; }
.idg.tot span:first-child { text-align: left; font-weight: 600; }
.idg.tot.grand { color: #1e2939; font-weight: 700; }
.id-div { border-top: 1px solid #e5e7eb; margin: 16px 0; }
.rate-note { background: #cbfbf1; border-radius: 8px; padding: 12px; margin-top: 16px; color: #0b4f4a; font-size: 16px; font-weight: 500; text-align: center; }
.rate-note b { font-weight: 800; }
.market { margin-top: 24px; }
.market h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 18px; font-weight: 700; color: #1e2939; cursor: pointer; margin-bottom: 12px; user-select: none; }
.market h4 .ic { color: #99a1af; transition: transform .2s; }
.market.closed h4 .ic { transform: rotate(-90deg); }
.market.closed .market-box { display: none; }
.market-box { background: #f9fafb; border-radius: 8px; padding: 16px; display: flex; gap: 12px; color: #364153; font-size: 16px; line-height: 1.6; }
.market-box > .ic { color: var(--brand); margin-top: 2px; }
.market-box b { color: #1e2939; }
.cd-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.05); margin-bottom: 16px; transition: background .3s, border-color .3s; }
.cd { display: flex; align-items: center; gap: 16px; padding: 12px; }
.cd-ic { width: 40px; height: 40px; border-radius: 50%; background: #009689; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .3s, color .3s; }
.cd-ic .ic { animation: hourglass 2s infinite; }
.cd-time { font-size: 20px; font-weight: 600; color: #4a5565; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cd-msg { font-size: 14px; color: #4a5565; padding-left: 24px; line-height: 1.5; }
.cd-wrap.critical { background: #fb2c36; border-color: #fb2c36; }
.cd-wrap.critical .cd-time, .cd-wrap.critical .cd-msg { color: #fff; }
.cd-wrap.critical .cd-ic { background: #fff; color: #fb2c36; }
.pd-body { padding: 32px 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: center; }
.pd-list { width: 100%; max-width: 360px; }
.pd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px; border-radius: 6px; border-bottom: 1px solid #e5e7eb; }
.pd-row:last-child { border-bottom: 0; }
.pd-row.ref { background: #f0fdfa; border-bottom-color: transparent; }
.pd-label { font-weight: 600; font-size: 16px; color: #364153; white-space: nowrap; }
.pd-val { font-size: 16px; text-align: right; word-break: break-all; color: #364153; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pd-copy { background: none; border: 0; cursor: pointer; color: #6a7282; padding: 0; display: flex; flex-shrink: 0; }
.pd-copy.ok { color: #00a63e; }
.qr-card { width: 288px; padding: 24px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); text-align: center; }
.qr-card svg { display: block; margin: 0 auto; }
.qr-card p { font-size: 14px; color: #364153; margin-top: 24px; }
.pd-foot { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.pd-foot span { color: #4a5565; font-size: 16px; }
.ret-btn { border: 1px solid var(--brand); border-radius: 8px; padding: 6px 16px; font: inherit; font-weight: 600; color: var(--brand); background: #fff; cursor: pointer; }
.ret-btn:hover { background: #f0fdfa; }
