/* arioso 결제 · 내 구매 (www/pay/index.html) — 기본 모양은 site.css, 버튼·패널은 room.css
   arioso-release: r0.7.23 */
.test-banner { margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: #fff6e0; color: #6b4a00; font-size: 13.5px; border: 1px solid #f2dc9b; }
.test-banner b { margin-right: 6px; }
@media (prefers-color-scheme: dark) { .test-banner { background: #33290f; color: #f3d890; border-color: #5a4816; } }
.checkout { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
.sum h2 { margin: 0 0 4px; }
.sum .what { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.lines { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; }
.lines li.total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; font-weight: 800; }
.lines li.total span:last-child { color: var(--accent); }
.lines .disc { color: var(--accent); }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper input { width: 80px; text-align: center; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-weight: 700; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.agree input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.widget { min-height: 120px; }
.paybtn { width: 100%; min-height: 52px; font-size: 16px; margin-top: 12px; }
.result { max-width: 560px; margin: 0 auto; text-align: center; padding: 32px 22px; }
.result .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 28px; font-weight: 900; }
.result .icon.ok { background: var(--accent-soft); color: var(--accent); }
.result .icon.no { background: #fdecec; color: var(--error); }
.result .row { justify-content: center; margin-top: 18px; }
.orders { display: grid; gap: 10px; }
.order { padding: 16px; }
.order .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.order .amt { font-weight: 800; font-size: 17px; }
.order .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.st { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 8px; background: var(--btn); color: var(--muted); }
.st.paid { background: var(--accent-soft); color: var(--accent); }
.st.refunded, .st.partial_refunded { background: #eef0ff; color: #3949ab; }
.st.mode { background: #fff6e0; color: #6b4a00; }
@media (min-width: 900px) { .checkout { grid-template-columns: 2fr 3fr; } }
