:root{--orange:#ff8a00;--orange2:#ff6b00;--black:#151515;--gray:#777;--line:#ececf0;--bg:#f6f7f9;--soft:#fff7ef;}

.exchange-body * {font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;color:var(--black)}
.exchange-wrap{max-width:480px;margin:0 auto;min-height:100vh;background:#fff;padding:14px 14px 28px}
.meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 2px 12px;font-size:13px;color:#666;letter-spacing:-.03em}
.badge{color:#fff;background:var(--orange2);padding:2px 6px;border-radius:999px;font-size:11px;font-weight:800}
.live-indicator{display:flex;align-items:center;justify-content:center;height:32px;padding:0 10px;border-radius:999px;background:#f7fff8;border:1px solid #d8f1dd;font-size:12px;font-weight:900;color:#18a34a;letter-spacing:-.02em;}
.section{margin-top:12px;padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.035);overflow:hidden}
.section-head{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 14px;margin-bottom:0}
.section-title{font-size:18px;font-weight:850;letter-spacing:-.04em}.subtle{font-size:12px;color:#8a8a8a}
.calc-box{background:#fff;border:0;border-top:1px solid #f1f1f1;border-radius:0;padding:16px;margin-bottom:0}
input{width:100%;height:50px;border:1px solid #dddfe5;border-radius:13px;background:#fff;font-size:23px;font-weight:750;padding:0 42px 0 12px;outline:none;color:#222;text-align:right;letter-spacing:-.02em}
.input-wrap{position:relative}
.clear-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;background:transparent;display:none;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#aaa;cursor:pointer;padding:0;line-height:1;}
.clear-btn.show{display:flex}
input:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,138,0,.12)}
.korean-reading{display:block;margin-top:6px;font-size:12px;color:#888;text-align:right;min-height:16px;padding-right:4px;}
.country-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.country-chip{height:46px;border:1px solid #e7e7ea;background:#fff;border-radius:14px;font-size:14px;font-weight:850;color:#333;letter-spacing:-.03em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px}
.country-chip.active{border-color:#ff9b36;background:#fff4e8;color:#ef6500;box-shadow:0 0 0 3px rgba(255,138,0,.08)}
.country-chip .code{font-size:12px;font-weight:900;color:#999}.country-chip.active .code{color:#ef6500}
.result{margin-top:14px;border-radius:16px;background:#fffaf6;border:1px solid #ffe1c4;padding:16px;text-align:center}.result-label{font-size:13px;color:#888;text-align:left;margin-bottom:4px}.result-value{font-size:32px;font-weight:900;color:var(--orange2);letter-spacing:-.05em}.rate-line{font-size:13px;color:#777;margin-top:5px}
.quick{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding-bottom:2px;scrollbar-width:none}.quick::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border:1px solid #e8e8e8;background:#fafafa;border-radius:999px;padding:9px 14px;font-size:14px;font-weight:750;cursor:pointer}.chip.active{border-color:#ffb36a;background:#fff4e8;color:#f06400}
.cards{display:grid;grid-template-columns:1fr;gap:10px;padding:0 16px 16px}.card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eee;border-radius:16px;padding:14px;background:#fff}.row{display:flex;gap:10px;align-items:center}.flag{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;background:#f4f4f4;flex:0 0 42px}.name{font-size:15px;font-weight:850;letter-spacing:-.03em}.unit{font-size:12px;color:#777;margin-top:2px}.money{text-align:right}.foreign{font-size:17px;font-weight:900}.krw{font-size:20px;font-weight:900;color:var(--orange2);margin-top:3px}
.notice{padding:14px 2px 0;font-size:12px;color:#888;line-height:1.55}.error{display:none;margin:10px 0 0;padding:12px;border-radius:13px;background:#fff1f1;color:#c0392b;font-size:13px;line-height:1.45;word-break:break-all}.refreshing{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}