.currency-home-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 18px;padding:20px 22px;margin:20px 0 0;border:1px solid rgba(245,205,121,.48);border-radius:18px;background:linear-gradient(120deg,#0b2c48,#091b35);text-align:left;color:#fff}
.currency-home-label{color:#f5cd79;font-size:10px;font-weight:800;letter-spacing:.14em}
.currency-home-card h2{margin:5px 0 6px;font-size:19px;line-height:1.25}
.currency-home-card #homeCurrencyQuote{margin:0;font-size:21px;font-weight:750;color:#f5cd79;overflow-wrap:anywhere}
.currency-open{min-height:46px;border:1px solid #7db7f7;border-radius:12px;background:#174477;color:#fff;padding:12px 16px;font:700 14px system-ui,sans-serif;white-space:nowrap}
.currency-home-status{grid-column:1/-1;margin:4px 0 0;color:#b8cce6;font-size:11px;line-height:1.5}
.currency-credit{color:#9bcaff;font-size:11px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.currency-home-card .currency-credit{grid-column:1/-1}
.currency-dialog{width:min(660px,calc(100% - 32px));max-height:88dvh;overflow:auto;padding:26px;border:1px solid #597296;border-radius:22px;background:#07172e;color:#fff}
.currency-dialog .eyebrow{color:#f5cd79;font-size:11px;letter-spacing:.14em;padding-top:10px}
.currency-dialog h2{font-size:30px;line-height:1.2;margin:8px 0 12px}
.currency-description{margin:0 0 22px;color:#c5d5eb;line-height:1.5}
.currency-converter{padding:22px;border:1px solid #375273;border-radius:18px;background:#0b2444}
.currency-converter label{display:flex;flex-direction:column;gap:9px;min-width:0;font-size:14px;font-weight:700;color:#c7dbf6}
.currency-converter input,.currency-converter select{width:100%;max-width:100%;min-height:50px;box-sizing:border-box;border:1px solid #7898c1;border-radius:10px;padding:11px 12px;background:#061329;color:#fff;font:inherit;font-size:16px;color-scheme:dark}
.currency-converter .currency-amount input{font-size:25px;font-weight:700}
.currency-pair{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:end;gap:10px;margin-top:20px}
#currencySwap{display:grid;place-items:center;min-height:50px;border:1px solid #7f9ec6;border-radius:11px;background:#123b6b;color:#f5cd79;padding:8px}
#currencySwap svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#currencyResult{display:block;margin-top:26px;font-size:clamp(23px,4vw,32px);line-height:1.3;color:#ffe1a0;font-weight:750;overflow-wrap:anywhere}
#currencyUnitRate{margin:12px 0 0;color:#c4d8f0;font-size:14px;line-height:1.5}
.currency-status{margin:20px 0 12px;color:#bcd0ea;font-size:13px;line-height:1.6}
.currency-refresh{min-height:46px;padding:11px 16px;border:1px solid #7797c0;border-radius:11px;background:#123967;color:#fff;font-size:14px;font-weight:700}
.currency-refresh:disabled{opacity:.7;cursor:wait}
.currency-disclaimer{color:#acbed8;font-size:12px;line-height:1.6;margin:18px 0 10px}
.currency-nearby{display:flex;flex-direction:column;gap:12px;padding:18px 0;margin:20px 0 0;border-top:1px solid #375273}
.currency-nearby a{color:#a7d2ff;font-size:14px;line-height:1.5}
.currency-nearby button{min-height:46px;padding:11px 14px;border:1px solid #6587b2;border-radius:11px;background:#0a2444;color:#fff;font-size:14px;text-align:left}
#currencyLocationStatus{margin:0;color:#bcd0ea;font-size:13px;line-height:1.5}
@media(max-width:540px){.currency-home-card{padding:17px;gap:10px;border-radius:16px}.currency-home-card h2{font-size:17px}.currency-home-card #homeCurrencyQuote{font-size:18px}.currency-open{padding:10px 12px;font-size:12px}.currency-converter{padding:18px 14px}.currency-pair{grid-template-columns:minmax(0,1fr) 44px}.currency-pair label:last-child{grid-column:1/-1}#currencySwap{grid-column:2;grid-row:1}#currencyResult{font-size:26px}}
@media(max-width:360px){.currency-home-card{grid-template-columns:minmax(0,1fr)}.currency-open{width:100%}.currency-home-card #homeCurrencyQuote{font-size:20px}}
