:root{color-scheme:dark;--bg:#070a10;--panel:#101620;--panel-2:#141d2b;--line:#253146;--line-soft:#1b2536;--text:#f6f8fc;--muted:#8e9aaf;--blue:#3478ed;--cyan:#34c2d6;--green:#20c997;--red:#ff7883;--shadow:0 24px 70px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 71% 14%,rgba(16,78,137,.14),transparent 33%),radial-gradient(circle at 7% 74%,rgba(13,51,100,.1),transparent 32%)}.page-glow{position:absolute;top:60px;left:0;right:0;height:700px;z-index:-1;pointer-events:none;background-image:radial-gradient(#2b80d5 1px,transparent 1px);background-size:82px 82px;opacity:.13;mask-image:linear-gradient(to bottom,#000,transparent 90%)}
.site-header{border-bottom:1px solid #192231;background:rgba(8,11,18,.87);backdrop-filter:blur(20px)}.header-inner{max-width:1220px;margin:auto;padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:20px;font-weight:800;letter-spacing:-.055em}.brand-mark{display:grid;place-items:center;width:39px;height:39px;color:white;background:linear-gradient(145deg,#1787ec,#2d66de);border-radius:11px;box-shadow:0 0 25px rgba(35,122,238,.37)}.brand-mark svg{width:27px;height:27px}.brand-accent{color:#3ebde0}.header-status{display:flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid #212c3c;border-radius:100px;background:#111721;color:#a4afbf;font:500 11px 'JetBrains Mono',monospace;white-space:nowrap}.status-dot,.converter-badge span{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 11px rgba(32,201,151,.7)}
.main-shell{max-width:1220px;margin:0 auto;padding:68px 26px 48px}.intro{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:end;gap:42px;margin-bottom:62px}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid #254376;border-radius:999px;background:rgba(33,83,165,.14);color:#86b8ff;font-size:12px;font-weight:600}.eyebrow-icon{font-size:13px}.eyebrow-divider{color:#4c668b}h1{margin:23px 0 17px;font-size:clamp(44px,5.8vw,72px);line-height:1.04;letter-spacing:-.07em;max-width:770px}h1 span{display:block;background:linear-gradient(90deg,#59a7ff 5%,#35d2cf 70%);background-clip:text;color:transparent}.intro-description{max-width:630px;margin:0;color:#9ba8bb;font-size:16px;line-height:1.75}.date-panel{padding:20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(148deg,#151f2f,#101720);box-shadow:var(--shadow)}.date-panel label,.form-field label{display:block;margin-bottom:11px;color:#afbbcd;font-size:12px;font-weight:700}.date-input-wrap{display:flex;align-items:center;gap:11px;padding:0 15px;border:1px solid #344562;border-radius:10px;background:#0b101a}.date-input-wrap:focus-within,.form-field input:focus,.form-field select:focus{outline:2px solid rgba(64,146,255,.57);outline-offset:1px}.date-input-wrap svg{width:18px;height:18px;stroke:#66a6ff;stroke-width:1.7;fill:none}.date-input-wrap input{width:100%;min-width:0;padding:15px 0;border:0;outline:0;background:transparent;color:white;font:600 14px 'JetBrains Mono',monospace}.date-input-wrap input::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.75;cursor:pointer}.date-panel p{margin:12px 0 0;color:#7f8ea5;font-size:11px;line-height:1.4}.notice{margin:-22px 0 29px;padding:14px 17px;border:1px solid #6c5430;border-radius:10px;background:#211b13;color:#f7d59b;font-size:13px}.notice.error{border-color:#673d45;background:#211318;color:#ffabb2}
.rates-section,.converter-section{position:relative}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:25px}.section-kicker{margin-bottom:10px;color:#6f9fe4;font:600 11px 'JetBrains Mono',monospace;letter-spacing:.07em}h2{margin:0;font-size:clamp(27px,3vw,36px);line-height:1.2;letter-spacing:-.045em}.heading-star{color:var(--cyan);font-size:20px;vertical-align:top}.section-subtitle{margin:10px 0 0;color:#8796ab;font-size:13px;line-height:1.5}.currency-picker{position:relative}.outline-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:0 15px;border:1px solid #314056;border-radius:10px;background:#131a25;color:#dce6f5;font-size:12px;font-weight:600;white-space:nowrap;transition:border-color .2s,background .2s}.outline-button:hover:not(:disabled){background:#1b283a;border-color:#4679b4}.outline-button svg{width:17px;height:17px;stroke:#79b6ff;stroke-width:1.8;fill:none}.currency-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:10;width:min(360px,calc(100vw - 40px));padding:15px;border:1px solid #33445e;border-radius:15px;background:#111a27;box-shadow:0 30px 70px rgba(0,0,0,.62)}.menu-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:13px}.menu-head button{width:26px;height:26px;border:0;background:transparent;color:#b2c0d2;font-size:23px;line-height:1}.search-wrap input{width:100%;padding:10px 11px;border:1px solid #304056;border-radius:8px;outline:0;background:#090f18;color:white;font-size:12px}.search-wrap input:focus{border-color:#6198ea}.currency-options{max-height:255px;overflow:auto;margin-top:10px}.currency-option{display:flex;align-items:center;gap:11px;padding:9px 7px;border-radius:8px;color:#c8d2df;font-size:12px;cursor:pointer}.currency-option:hover{background:#202d40}.currency-option input{accent-color:var(--blue);width:16px;height:16px}.currency-option strong{font:600 12px 'JetBrains Mono',monospace;color:#e9f1ff}.currency-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8c9bb0}
.rates-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.rate-card,.rate-skeleton{min-height:192px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(146deg,#151e2b 0%,#101720 100%)}.rate-card{padding:19px;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .2s,transform .2s}.rate-card:hover{transform:translateY(-3px);border-color:#42618a}.rate-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.rate-code{font:700 19px 'JetBrains Mono',monospace;letter-spacing:-.04em}.rate-name{margin-top:7px;color:#8c9aaf;font-size:11px;line-height:1.35}.rate-symbol{width:32px;height:32px;display:grid;place-items:center;border:1px solid #294367;border-radius:9px;background:rgba(32,104,210,.15);color:#72b7fa;font:700 16px 'JetBrains Mono',monospace}.rate-value{display:flex;align-items:baseline;gap:7px;white-space:nowrap}.rate-value strong{font-size:clamp(22px,2.6vw,30px);letter-spacing:-.055em}.rate-value span{color:#8b9db4;font-size:11px;font-weight:700}.rate-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:7px}.rate-nominal{color:#74859b;font:500 10px 'JetBrains Mono',monospace}.rate-change{font:600 10px 'JetBrains Mono',monospace}.rate-change.up{color:#49d4aa}.rate-change.down{color:#ff929a}.rate-change.flat{color:#98a4b5}.rate-skeleton{background:linear-gradient(110deg,#111a27 8%,#1b2738 18%,#111a27 33%);background-size:250% 100%;animation:shimmer 1.5s linear infinite}@keyframes shimmer{to{background-position-x:-250%}}.empty-rates{grid-column:1/-1;padding:40px;border:1px dashed #354155;border-radius:15px;color:#8f9db1;text-align:center;font-size:13px}.rate-note{margin:15px 0 0;color:#6f7e93;font-size:11px}
.converter-section{margin-top:74px}.converter-heading{margin-bottom:23px}.converter-badge{display:flex;align-items:center;gap:8px;margin-bottom:5px;color:#8d9daf;font:500 10px 'JetBrains Mono',monospace;white-space:nowrap}.converter-badge span{width:6px;height:6px}.converter-card{padding:25px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#121b29,#0f1722);box-shadow:var(--shadow)}.converter-fields{display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(140px,1fr) 44px minmax(140px,1fr);align-items:start;gap:16px}.form-field input,.form-field select{width:100%;height:56px;padding:0 16px;border:1px solid #34435b;border-radius:10px;outline:0;background:#0b111b;color:#f5f8ff}.form-field input{font:600 22px 'JetBrains Mono',monospace}.form-field select{appearance:none;padding-right:40px;font:600 14px 'JetBrains Mono',monospace;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%2399b4d5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.form-field select:disabled{opacity:.55}.swap-button{display:grid;place-items:center;width:44px;height:44px;margin-top:29px;border:1px solid #3b5b8e;border-radius:10px;background:#152b4b;color:#7bb9ff;transition:background .2s,transform .2s}.swap-button:hover:not(:disabled){background:#1f416d;transform:rotate(180deg)}.swap-button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.field-error{display:block;min-height:15px;margin-top:5px;color:#ff929a;font-size:11px}.result-panel{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;padding:22px 24px;border:1px solid #25579d;border-radius:12px;background:linear-gradient(110deg,#183a74 0%,#153264 58%,#123c61 100%)}.result-label{margin-bottom:9px;color:#9fc5fd;font:600 10px 'JetBrains Mono',monospace;letter-spacing:.1em}.result-amount{font:700 clamp(29px,4vw,45px) 'JetBrains Mono',monospace;letter-spacing:-.06em;line-height:1.15;overflow-wrap:anywhere}.result-amount #result-currency{font-size:.45em;letter-spacing:0;color:#b5d7ff}.result-panel p{margin:10px 0 0;color:#afc9ed;font-size:12px}.result-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid #598bcc;border-radius:12px;color:#d8ecff;font-size:23px}.source-line{margin:38px 0 0;padding-top:20px;border-top:1px solid var(--line-soft);color:#738198;font-size:11px;line-height:1.6}.source-line a{color:#81b5f7;text-underline-offset:3px}
@media(max-width:900px){.intro{grid-template-columns:1fr;gap:28px;margin-bottom:54px}.date-panel{max-width:380px}.rates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.converter-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.amount-field{grid-column:1/-1}.swap-button{grid-row:2;grid-column:1/-1;margin:0 auto;transform:rotate(90deg)}.swap-button:hover:not(:disabled){transform:rotate(270deg)}.select-field:last-child{grid-row:3;grid-column:2}.select-field:nth-child(2){grid-row:3;grid-column:1}}
@media(max-width:600px){.header-inner{padding:15px 18px}.brand{font-size:18px}.brand-mark{width:35px;height:35px}.header-status{font-size:0;padding:8px}.status-dot{width:9px;height:9px}.main-shell{padding:46px 18px 35px}.intro{margin-bottom:50px}h1{font-size:clamp(42px,12vw,60px)}.intro-description{font-size:14px}.date-panel{max-width:none}.section-heading{align-items:flex-start;flex-direction:column}.currency-picker,.outline-button{width:100%}.currency-menu{left:0;right:auto;width:100%}.rates-grid{gap:11px}.rate-card,.rate-skeleton{min-height:173px}.rate-card{padding:14px}.rate-value strong{font-size:22px}.rate-bottom{align-items:flex-start;flex-direction:column}.converter-section{margin-top:64px}.converter-badge{display:none}.converter-card{padding:15px}.converter-fields{gap:10px}.form-field input,.form-field select{height:51px;padding-left:11px}.form-field select{font-size:12px;padding-right:25px;background-position:right 8px center}.result-panel{padding:18px}.result-icon{display:none}.result-amount{font-size:clamp(27px,8vw,37px)}}
