.currency-trigger{width:100%;background:#091b29;border:1px solid #365362;color:#f2f9f8;border-radius:11px;padding:11px 12px;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;font:inherit;cursor:pointer}
.currency-trigger:focus-visible,.currency-item:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.currency-trigger strong{font-size:15px}
.currency-trigger small{font-size:10px;color:#9eb3c0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.currency-trigger .chev{color:var(--green)}
.currency-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.currency-modal{position:fixed;inset:0;background:#020910d9;z-index:100;display:none;align-items:center;justify-content:center;padding:18px}
.currency-modal.open{display:flex}
.currency-dialog{background:#102332;border:1px solid #496373;border-radius:22px;width:min(560px,100%);max-height:min(720px,90dvh);display:flex;flex-direction:column;box-shadow:0 30px 90px #000b;overflow:hidden}
.currency-head{padding:20px 20px 12px;display:flex;align-items:center;justify-content:space-between}
.currency-head h3{margin:0}
.currency-close{border:1px solid #486371;background:#122e3e;color:white;border-radius:10px;font-size:22px;width:38px;height:38px;cursor:pointer}
.currency-search-wrap{padding:0 20px 14px}
.currency-list{overflow:auto;padding:0 10px 15px;overscroll-behavior:contain}
.currency-item{display:flex;width:100%;align-items:center;gap:12px;padding:12px;border:0;border-bottom:1px solid #ffffff12;background:transparent;color:#f4f9f9;text-align:left;cursor:pointer;border-radius:9px}
.currency-item:hover{background:#244254}
.currency-item .flag{font-size:23px;width:34px}
.currency-item .desc{flex:1;min-width:0}
.currency-item .desc b,.currency-item .desc small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.currency-item .desc small{color:#9db5c2;font-size:11px}
.currency-item .currency-code{color:var(--green);font-weight:800}
.currency-item .unsupported{font-size:10px;color:#ffca87;display:block}
.currency-item:disabled{opacity:.65;cursor:not-allowed}
.currency-footer{padding:11px 20px;border-top:1px solid #ffffff20;color:#a8bac6;font-size:11px}
.directory{background:#0e2331;border:1px solid #355160;border-radius:20px;padding:22px;margin-top:26px}
.directory-top{display:flex;justify-content:space-between;align-items:center}
.directory-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px}
.directory-results .currency-item{background:#091b29;border:1px solid #365362;padding:10px}
.directory-results .currency-item:hover{background:#244254}
.directory-results .currency-item .flag{font-size:20px;width:25px}
@media(max-width:600px){.directory-results{grid-template-columns:1fr}
.currency-dialog{max-height:92dvh}
.currency-trigger small{max-width:110px}}
