@import url('/support.css');
@import url('/fonts.css');
@import url('/free-access.css');
@import url('/route.css');
.stat{min-width:0}.stat-value{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.topnav button{white-space:nowrap}.extra-filters [hidden]{display:none}.route-more{display:inline-block;margin-top:6px;padding:3px 6px;border:1px solid #315447;border-radius:4px;color:var(--green);font-size:9px}.price-route-leg .route-countdown{padding-left:29px;white-space:nowrap}.price-compare-table .price-spread-cell{min-width:150px;background:#12201b33}.compare-header #prices-filter-error:empty{display:none}.compare-header #prices-filter-error{margin-top:12px}.topbar .topnav{min-width:0}
@media(max-width:800px){.workspace .topbar{display:grid;grid-template-columns:1fr auto;height:auto;gap:0;padding:10px 18px 0}.topbar .wordmark{grid-row:1;grid-column:1;padding:8px 0}.topbar .top-actions{grid-row:1;grid-column:2}.topbar .topnav{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:7px 0}.topbar .topnav button{font-size:11px;text-align:left;padding:9px 0;white-space:normal;line-height:1.35}.tabs-row .view-tabs{min-width:0;gap:10px}.tabs-row .view-tab{font-size:11px}.price-route-leg .route-countdown{font-size:9px}}
.search-clear{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:34px;height:34px;padding:0;display:grid;place-items:center;color:var(--muted);border-radius:5px}.search-clear:hover{background:#26313d;color:var(--text)}.search-wrap .search-clear .icon{position:static;width:16px;height:16px;color:inherit}.search-clear[hidden],.rate-mode[hidden]{display:none}.live-status{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.refresh-countdown{font:11px var(--mono);font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}.compare-leg .native-interval,.compare-leg .normalized-rate{padding-left:29px}.compare-leg .native-interval{color:var(--text)}.compare-leg .normalized-rate{font-size:9px}
@media(max-width:800px){.hero{flex-wrap:wrap}.hero .hero-right{width:100%;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.hero .hero-right .live-label{display:flex;font-size:11px}.hero .live-status{align-items:flex-start}.hero .hero-right .button{font-size:11px}.hero .hero-right .button span{display:inline}.hero .refresh-countdown{font-size:10px}}
:root{color-scheme:dark;--bg:#0b0e13;--panel:#10141b;--panel2:#141920;--line:#242b35;--muted:#7e899b;--text:#e9eef6;--green:#63e2bf;--red:#f78291;--amber:#d7b973;--mono:Arial,Helvetica,sans-serif;--sans:'Inter','Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:13px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}svg{display:block;flex-shrink:0}button{color:inherit}button,select{background:none;border:0}input,select{color:var(--text)}input::placeholder{color:#687587}button:hover{filter:brightness(1.12)}.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.rail{position:fixed;left:0;top:0;bottom:0;width:68px;display:flex;align-items:center;flex-direction:column;border-right:1px solid var(--line);background:#0e1218;z-index:20}.logo-symbol{display:block;width:34px;height:34px;margin:23px 0 45px}.rail-link{width:42px;height:42px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;border-radius:9px;color:var(--muted)}.rail-link:hover{background:#1b232c}.rail-link.active{background:#15332d;color:var(--green)}.rail-bottom{margin-top:auto;padding-bottom:22px}.rail-bottom .avatar{width:32px;height:32px;display:grid;place-items:center;border:1px solid #3c4755;border-radius:50%;color:#a8b3c3;font-size:11px;letter-spacing:1px}.workspace{margin-left:68px}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:45px;padding:0 38px}.wordmark{font-size:19px;letter-spacing:-.6px;font-weight:650;white-space:nowrap}.wordmark span{color:var(--muted);font-weight:400}.topnav{display:flex;align-self:stretch;gap:28px}.topnav button{position:relative;padding:0 2px;color:var(--muted);font-size:13px;display:flex;gap:8px;align-items:center}.topnav button.active{color:var(--text)}.topnav button.active:after{content:'';height:2px;background:var(--green);position:absolute;bottom:0;left:0;right:0}.nav-count{font:10px var(--mono);border:1px solid var(--line);border-radius:4px;padding:1px 4px;color:#acb7c7}.top-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.help-link{display:flex;gap:7px;color:var(--muted);align-items:center;font-size:12px}.lang-switch{display:flex;background:#141a22;border:1px solid var(--line);padding:3px;border-radius:7px}.lang-switch button{padding:5px 8px;border-radius:4px;color:var(--muted);font-size:11px}.lang-switch button.active{background:#2b3440;color:var(--text)}main{padding:34px 38px 0;max-width:1920px;margin:auto}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:29px}.eyebrow{display:flex;gap:9px;align-items:center;font-size:10px;letter-spacing:1.7px;color:var(--green);font-weight:600;margin-bottom:13px}.eyebrow:before{content:'';width:16px;height:1px;background:var(--green)}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.2;font-weight:600;margin:0 0 10px}.hero p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.hero-right{align-self:flex-end;display:flex;align-items:center;gap:14px;padding-bottom:4px}.live-label{color:#a0b0b9;font-size:11px;display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--muted);flex-shrink:0}.dot.live{background:var(--green);box-shadow:0 0 0 3px #63e2bf12}.dot.error{background:var(--amber)}.dot.loading{background:#78a8f0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #323d4b;border-radius:7px;padding:9px 12px;background:#171d26;font-size:12px;white-space:nowrap;min-height:35px}.button:hover{background:#202a35}.button.primary{background:var(--green);border-color:var(--green);color:#08231a;font-weight:600}.button.ghost{background:none;border-color:var(--line);color:#a6b1c1}.button.small{padding:6px 9px;min-height:29px;font-size:11px}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;border:1px solid var(--line);border-radius:10px;background:linear-gradient(120deg,#151c23,#10141b 60%);margin-bottom:29px;overflow:hidden}.stat{padding:22px 24px;position:relative;min-height:126px}.stat+.stat:before{content:'';position:absolute;left:0;top:24px;bottom:24px;width:1px;background:var(--line)}.stat-label{color:#8492a4;font-size:10px;letter-spacing:1.1px;display:flex;align-items:center;gap:8px;white-space:nowrap}.stat-label .icon{height:14px;width:14px;margin-left:auto;opacity:.5}.stat-value{font-family:var(--mono);font-size:29px;letter-spacing:-1px;display:flex;align-items:baseline;gap:10px;margin:11px 0 8px;font-weight:400;white-space:nowrap}.stat-value .badge{font:10px var(--sans);letter-spacing:0}.stat-value.accent{color:var(--green)}.stat-note{font-size:11px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 6px;border:1px solid #304d43;color:#8eceb7;background:#153126;border-radius:4px;font-size:10px;font-weight:400;white-space:nowrap}.badge.neutral{color:var(--muted);background:#1a2029;border-color:#293240}.tabs-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}.view-tabs{display:flex;gap:19px;align-items:center}.view-tab{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:13px;padding:6px 0}.view-tab.active{color:var(--text)}.view-tab .count{font-family:var(--mono);font-size:10px;color:var(--muted);background:#1b222c;border-radius:4px;padding:2px 5px}.table-controls{display:flex;gap:12px;align-items:center}.auto-toggle{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.switch{width:26px;height:14px;border-radius:10px;background:#29313c;padding:3px;display:inline-flex}.switch:after{content:'';width:8px;height:8px;border-radius:50%;background:#6d7785}.switch.on{background:#2e7a63}.switch.on:after{background:var(--green);margin-left:12px}.filter-bar{display:flex;gap:9px;align-items:center;padding:13px;background:var(--panel);border:1px solid var(--line);border-radius:9px 9px 0 0}.search-wrap{position:relative;display:flex;align-items:center;flex:1;max-width:360px;min-width:180px}.search-wrap .icon{position:absolute;left:11px;color:#7c8899;width:16px;height:16px}.search-wrap input{padding:9px 42px 9px 36px;width:100%;background:#0c1016;border:1px solid #2c3541;border-radius:6px;font-size:12px;min-height:35px}.search-wrap input:focus{border-color:#4d9d87;outline:0}.kbd{position:absolute;right:10px;font:10px var(--mono);color:#586579;border:1px solid #2b3442;border-radius:3px;padding:1px 4px}.filter-bar select,.extra-filters select{border:1px solid #2c3541;border-radius:6px;background:#171d26;padding:8px 27px 8px 10px;font-size:11px;max-width:150px}.rate-mode{display:flex;margin-left:auto;align-items:center;gap:9px}.rate-mode>span{font-size:10px;color:var(--muted)}.rate-mode select{color:var(--green);background:#13221f;border-color:#28483c}.filter-button.active{border-color:#477f70;color:var(--green)}.extra-filters{background:var(--panel);border:1px solid var(--line);border-top:0;display:flex;gap:9px;align-items:center;padding:11px 13px;flex-wrap:wrap}.extra-filters label{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px;margin-left:6px}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px}.data-notice{font-size:11px;display:flex;gap:8px;align-items:center;padding:9px 13px;background:#171811;border:1px solid #383225;border-top:0;color:#b9ad8c}.data-notice button{color:#d9c99f;margin-left:auto;font-size:11px;text-decoration:underline;text-underline-offset:3px}.table-container{width:100%;overflow:auto;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;min-height:320px;background:#0e1218}table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;white-space:nowrap}thead{background:#141a22}th{font-size:10px;font-weight:450;color:#8b97a9;border-bottom:1px solid var(--line);padding:14px 12px;white-space:nowrap;text-align:right}th.left{text-align:left}th button{display:inline-flex;align-items:center;gap:5px;padding:0;font-size:inherit;color:inherit}th button .icon{width:10px;height:10px;opacity:.45}th button.sorted{color:var(--green)}th:first-child,td:first-child{padding-left:15px;padding-right:5px;width:35px}th:nth-child(2),td:nth-child(2){position:sticky;left:0;background:inherit;z-index:1;text-align:left;min-width:150px}td{padding:13px 12px;border-bottom:1px solid #202630;text-align:right;font-size:11px;background:inherit;line-height:1.4}tbody tr{background:#0e1218}tbody tr:hover{background:#161e27}tbody tr:last-child td{border-bottom:0}.star{padding:4px;color:#495464}.star .icon{width:14px;height:14px}.star.selected{color:var(--amber)}.star.selected svg{fill:#d7b97322}.coin-cell{display:flex;align-items:center;gap:10px;padding:0;text-align:left}.coin-avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-family:var(--sans);font-weight:700;font-size:14px;color:var(--coin,#bdc9de);background:color-mix(in srgb,var(--coin,#95afd4) 11%,#17202b);border:1px solid color-mix(in srgb,var(--coin,#95afd4) 18%,#1c2634);flex-shrink:0}.coin-name{font-size:12px;color:#e5ebf5;font-weight:550;display:flex;align-items:center;gap:5px}.coin-name .tradfi-label{font-size:8px;font-weight:400;color:#cbb4fa;background:#242035;border:1px solid #37304c;border-radius:3px;padding:1px 3px}.coin-meta{font-size:9px;color:#637287;margin-top:3px;display:block;letter-spacing:.15px}.exchange-name{display:flex;gap:7px;align-items:center;text-align:left;font-size:11px}.exchange-logo{display:inline-grid;place-items:center;width:18px;height:18px;background:var(--exchange-color,#526173);color:#0b1118;border-radius:5px;font-weight:800;font-size:9px}.exchange-logo.muted{color:#e7eef5}.number{font-family:var(--mono);font-size:11px;letter-spacing:-.2px}.positive{color:var(--green)}.negative{color:var(--red)}.muted{color:var(--muted)}.dim{color:#49566b}.rate-pill{padding:5px 7px;border-radius:4px;display:inline-block;background:#14291f;min-width:85px}.rate-pill.negative{background:#2b1c25}.rate-pill.muted{background:#1b222c}.interval-pill{font-size:10px;display:inline-block;padding:2px 6px;background:#19212b;color:#97a8ba;border-radius:4px}.countdown{font-size:10px;color:#a3adbb}.stale-mark{color:var(--amber);margin-left:4px;font-size:9px}.spark-button{padding:0;width:89px;height:28px;display:grid;place-items:center}.spark{width:88px;height:26px;overflow:visible}.spark-empty{height:1px;width:65px;background:repeating-linear-gradient(90deg,#343f4e 0,#343f4e 3px,transparent 3px,transparent 7px)}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 0;color:var(--muted);font-size:11px;gap:16px}.pagination{display:flex;align-items:center;gap:7px}.pagination .page-index{font:11px var(--mono);padding:0 8px;color:#a3afbe}.legend{display:flex;gap:16px;flex-wrap:wrap;color:#788599;font-size:10px;line-height:1.5}.legend span{display:flex;align-items:center;gap:5px}.legend .dot{height:4px;width:4px}.legend .dot.red{background:var(--red)}.bottom-bar{margin-top:30px;padding:20px 0;border-top:1px solid #1c242e;color:#556479;display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:15px}.bottom-bar .mini-brand{font-weight:600;color:#8d9aad;font-size:11px}.bottom-bar>div{display:flex;align-items:center;gap:15px}.empty-state{padding:72px 20px;text-align:center;white-space:normal}.empty-state>.icon{width:32px;height:32px;margin:0 auto 17px;color:#5d7389}.empty-state h3{margin:0 0 8px;font-size:16px;font-weight:500}.empty-state p{color:var(--muted);font-size:12px;margin:0 auto 20px;max-width:420px;line-height:1.8}.spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.compare-header{padding:18px 17px;background:#10161e;border:1px solid var(--line);border-top:0}.compare-header p{color:var(--muted);font-size:11px;margin:6px 0 0}.compare-header h2{font-size:16px;font-weight:500;margin:0}.compare-table td{padding:16px 18px}.exchange-rate{display:flex;align-items:center;gap:15px;justify-content:space-between}.spread-value{font-size:14px}.route-arrow{color:#536175}.modal-backdrop{position:fixed;inset:0;background:#05090ccc;backdrop-filter:blur(7px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#111720;border:1px solid #344151;border-radius:14px;box-shadow:0 30px 100px #0008;width:680px;max-width:100%;max-height:90vh;display:flex;flex-direction:column}.modal.wide{width:820px}.modal-head{padding:24px 25px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:15px}.modal-head h2{font-size:20px;letter-spacing:-.5px;margin:0 0 8px;font-weight:550}.modal-head p{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.close-button{margin-left:auto;border:1px solid #303a48;border-radius:6px;padding:5px;color:#a0abbc}.close-button .icon{width:15px;height:15px}.modal-body{padding:20px 25px;overflow:auto}.modal-actions{padding:15px 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-tools{display:flex;align-items:center;gap:8px;margin-bottom:17px}.exchange-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.exchange-item{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #2a3442;border-radius:6px;cursor:pointer}.exchange-item:hover{background:#19222d}.exchange-item>span{display:flex;flex-direction:column;gap:4px;min-width:0}.exchange-item small{font-size:9px;color:var(--muted)}.exchange-item .dot{margin-left:auto}.status-list{display:flex;flex-direction:column}.status-item{display:grid;grid-template-columns:135px 1fr 75px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.status-text{display:flex;gap:8px;align-items:center;font-size:11px;color:#a0afc1}.status-number{text-align:right;font:11px var(--mono);color:#728399}.status-footnote{font-size:11px;line-height:1.8;color:var(--muted);margin-top:19px}.method-intro{font-size:13px;line-height:1.8;color:#bec9d8;margin:0 0 23px}.method-block{margin-bottom:22px}.method-block h3{font-size:13px;display:flex;align-items:center;gap:10px;font-weight:500;color:#dfe9f5}.method-block h3 span{font:10px var(--mono);color:var(--green);border:1px solid #315447;border-radius:4px;padding:3px 5px}.method-block p{font-size:12px;color:var(--muted);line-height:1.9;margin-left:35px}.detail-title{display:flex;align-items:center;gap:12px}.detail-title .coin-avatar{width:40px;height:40px;font-size:20px}.detail-title h2{margin-bottom:5px}.detail-sub{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px}.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.detail-stat{padding:12px;background:#161e28;border:1px solid #273343;border-radius:6px}.detail-stat small{color:var(--muted);display:block;font-size:10px;margin-bottom:9px}.detail-stat strong{font:16px var(--mono);font-weight:400}.chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}.chart-toolbar h3{font-size:13px;font-weight:500}.chart-periods{display:flex;background:#0c1118;border:1px solid var(--line);border-radius:5px;padding:3px}.chart-periods button{padding:5px 9px;font-size:10px;color:var(--muted);border-radius:3px}.chart-periods button.active{background:#24372f;color:var(--green)}.chart-box{position:relative;background:#0c1118;border:1px solid #25303e;border-radius:7px;padding:18px 12px 10px;min-height:230px}.chart-svg{width:100%;height:205px;overflow:visible}.chart-svg text{font:10px var(--mono);fill:#77869b}.chart-axis{color:var(--muted);font-size:10px;margin:9px 0}.history-summary{display:grid;grid-template-columns:repeat(5,1fr);margin:20px 0 10px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.history-summary div{padding:11px;text-align:center}.history-summary div+div{border-left:1px solid var(--line)}.history-summary small{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.history-summary strong{font:12px var(--mono)}.history-summary .coverage{font:9px var(--sans);display:block;margin:7px 0 0;color:#6c7d92}.detail-meta{display:flex;justify-content:space-between;gap:16px;margin-top:20px;flex-wrap:wrap;font-size:10px;color:var(--muted);line-height:1.9}.detail-meta span{color:#a4b4c8}.chart-empty{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;color:var(--muted);text-align:center;font-size:12px;line-height:1.7;padding:20px}.chart-empty .icon{color:#4a667c}.settings-options{display:flex;gap:15px;flex-wrap:wrap;margin:18px 0}.settings-options label{padding:14px;background:#18222c;border:1px solid var(--line);border-radius:6px;display:flex;gap:8px;align-items:center}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#1d352c;border:1px solid #437c66;color:#d1f5e9;border-radius:7px;z-index:300;font-size:12px;box-shadow:0 10px 35px #0006}.skeleton-line{height:10px;width:70%;background:linear-gradient(90deg,#18212c,#243340,#18212c);background-size:200%;animation:shimmer 1.5s infinite;border-radius:3px}@keyframes shimmer{to{background-position:-200%}}
@media(min-width:1500px){main{padding-left:48px;padding-right:48px}.topbar{padding-left:48px;padding-right:48px}.stat{padding:24px 30px}td{padding-top:15px;padding-bottom:15px}.hero{margin-bottom:32px}}
@media(max-width:1150px){.topbar{gap:30px;padding:0 24px}.topnav{gap:20px}main{padding:28px 24px 0}.help-link{display:none}.hero-right{flex-direction:column;align-items:flex-end;gap:11px}.stat{padding:19px 16px}.stat-value{font-size:25px}.stat-label{font-size:9px;letter-spacing:.6px}.rate-mode>span{display:none}.filter-bar .filter-asset{display:none}.stat-note{font-size:10px}.top-actions{gap:12px}}
@media(max-width:800px){.rail{display:none}.workspace{margin-left:0}.topbar{height:66px;padding:0 18px;gap:24px}.wordmark{font-size:17px}.topnav{gap:17px}.topnav button{font-size:11px}.topnav .nav-count{display:none}main{padding:23px 18px 0}.hero{align-items:flex-start;gap:15px;margin-bottom:22px}.hero h1{font-size:28px}.hero p{font-size:11px;max-width:300px}.hero-right .live-label{display:none}.hero-right{align-self:center}.hero-right .button{font-size:0;padding:9px}.hero-right .button .icon{width:17px;height:17px}.stats{grid-template-columns:1fr 1fr;margin-bottom:22px}.stat{min-height:116px}.stat:nth-child(3),.stat:nth-child(4){border-top:1px solid var(--line)}.stat:nth-child(3):before{display:none}.tabs-row{gap:10px}.view-tabs{gap:15px}.view-tab{font-size:12px}.table-controls{gap:8px}.table-controls .export-label{display:none}.filter-bar{flex-wrap:wrap;gap:8px}.search-wrap{max-width:unset;min-width:100%;flex-basis:100%}.rate-mode{margin-left:auto}.filter-bar .button{font-size:11px;padding:8px}.filter-bar select{font-size:11px}.table-footer{font-size:10px;flex-wrap:wrap}.bottom-bar{margin-top:20px}.bottom-bar>div{gap:7px}.bottom-bar .clock-display{display:none}.modal-backdrop{padding:12px}.modal-head{padding:20px}.modal-body{padding:17px 20px}.modal-actions{padding:15px 20px}.detail-stats{grid-template-columns:1fr 1fr}.modal-head h2{font-size:18px}.history-summary div{padding:9px 5px}.history-summary strong{font-size:10px}.chart-toolbar{align-items:flex-start;flex-direction:column;gap:0}.status-item{grid-template-columns:110px 1fr 40px;gap:8px}.status-text{font-size:10px}.top-actions{gap:0}.lang-switch button{font-size:10px;padding:4px 6px}}
@media(max-width:480px){.wordmark span{display:none}.topbar{gap:23px}.topnav{gap:17px}.top-actions{margin-left:auto}.topnav button{font-size:10px}.hero h1{font-size:26px}.eyebrow{font-size:8px}.hero p{font-size:11px}.stat-value{font-size:23px}.stat-label .icon{display:none}.stat{padding:16px 13px}.stat-note{font-size:9px}.stats .badge{font-size:8px;padding:2px 4px}.view-tab{font-size:11px}.auto-toggle{font-size:0;gap:0}.extra-filters select{max-width:135px}.bottom-bar{font-size:9px}.bottom-bar .mini-brand{display:none}.legend{font-size:9px;gap:9px}.data-notice{font-size:10px;align-items:flex-start}.data-notice button{font-size:10px}.exchange-grid{grid-template-columns:1fr}.modal-head p{font-size:11px}.status-item{grid-template-columns:95px 1fr 30px}.modal-head,.modal-body,.modal-actions{padding-left:15px;padding-right:15px}.detail-meta{font-size:9px}.table-footer .pagination .button{font-size:10px}.filter-bar{padding:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.price-cell{display:inline-flex;flex-direction:column;gap:5px;align-items:flex-end;white-space:nowrap}.price-cell small{font:10px var(--sans);color:var(--muted)}.detail-stat .price-cell{align-items:flex-start}.detail-stat .price-cell small{font-size:11px}.compare-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:18px}.compare-filters>label:not(.compare-check){display:flex;flex-direction:column;gap:7px;color:#a8b3c3;font-size:10px}.compare-filters select,.compare-filters input:not([type=checkbox]){height:35px;border:1px solid var(--line);border-radius:6px;background:var(--bg);padding:0 10px;font-size:12px;min-width:0}.compare-filters select{max-width:225px}.compare-filters input:not([type=checkbox]){width:132px;font-family:var(--mono)}.compare-check{display:flex;align-items:center;gap:6px;min-height:35px;color:var(--muted);font-size:11px}.compare-check input{accent-color:var(--green)}.compare-filters .button{min-height:35px}.compare-header .price-method-note{display:flex;align-items:flex-start;gap:8px;line-height:1.65;margin-top:15px;font-size:10px;max-width:1150px}.price-method-note .icon{width:14px;height:14px;margin-top:2px}.compare-header #compare-filter-error:empty{display:none}.compare-header #compare-filter-error{color:var(--red);margin-top:12px}.compare-table td{padding:15px 14px}.compare-table td:first-child,.compare-table th:first-child{padding:0;width:12px;min-width:12px}.compare-table th{font-size:10px}.compare-table th .th-sub{display:block;color:var(--muted);font-size:9px;margin-top:4px;font-weight:400}.compare-leg{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;padding:0;min-width:115px}.compare-leg>.number{padding-left:29px;font-size:12px}.compare-leg small{font-size:9px;color:var(--muted)}.price-spread-cell strong{font-weight:500;font-size:15px}.price-spread-cell>small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.compare-table .spread-value{font-size:14px}.compare-table td:nth-child(4),.compare-table td:nth-child(6){min-width:126px}.compare-table td:last-child{min-width:144px}.compare-table .price-cell small{font-size:9px}
@media(max-width:780px){.compare-header{padding:16px 12px}.compare-filters{gap:10px}.compare-filters>label:not(.compare-check){flex:1 1 140px}.compare-filters input:not([type=checkbox]),.compare-filters select{width:100%;max-width:none}.compare-check{flex:1 1 200px}.compare-header .price-method-note{font-size:10px}.compare-table th,.compare-table td{padding:13px 12px}.compare-table th:first-child,.compare-table td:first-child{padding:0;width:6px;min-width:6px}}

.price-anomaly{color:var(--amber)}.price-anomaly-label{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:var(--amber);font:9px var(--sans);margin-top:6px}.price-anomaly-label .icon{width:11px;height:11px}

/* Readable numbers with a plain zero and aligned numeric columns. */
body{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"zero" 0,"tnum" 1}
.table-container td{font-size:13px}
.table-container th{font-size:11px}
.table-container .number,.table-container .compare-leg>.number{font-size:14px;letter-spacing:0;font-weight:500}
.table-container .price-spread-cell strong,.table-container .spread-value{font-size:16px}
.table-container .coin-name{font-size:14px}
.table-container .exchange-name{font-size:13px}
.table-container .interval-pill,.table-container .countdown{font-size:13px}
.table-container .coin-meta,.table-container .price-cell small,.table-container .price-spread-cell>small{font-size:11px}
.table-container .compare-leg small{font-size:12px}
.table-container .compare-leg .normalized-rate{font-size:11px}
.table-container .rate-pill{min-width:105px}
.filter-bar{flex-wrap:wrap}
.blacklist-button.has-blocked{border-color:#785c35;color:var(--amber)}
.blacklist-form>label{display:block;font-size:13px;margin-bottom:9px}
.blacklist-input-row{display:flex;gap:10px}
.blacklist-input-row input{flex:1;min-width:0;width:100%;border:1px solid #344151;background:var(--bg);border-radius:6px;padding:11px 12px;font:16px var(--sans)}
.blacklist-input-row input:focus{outline:2px solid #4d9d87;outline-offset:2px}
.blacklist-form p{font-size:12px;line-height:1.6;color:var(--muted);margin:9px 0}
.blacklist-form #blacklist-error{color:var(--red)}
#blacklist-error:empty{display:none}
.blacklist-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 10px;font-size:13px}
.blacklist-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.blacklist-item .coin-cell{min-width:0;overflow-wrap:anywhere;white-space:normal}
.blacklist-item .coin-cell strong{min-width:0;font-size:14px}
.blacklist-item .button{flex-shrink:0;min-height:38px}
.blacklist-empty{padding:24px 0;text-align:center;font-size:13px;color:var(--muted)}
.blacklist-storage-note{font-size:11px;line-height:1.6;max-width:440px}
.compare-leg .route-volume{display:flex;flex-direction:column;gap:4px;margin-left:29px;padding-top:7px;border-top:1px solid var(--line);white-space:nowrap}
.compare-leg .route-volume>.number{font-size:14px;color:var(--text)}
.compare-leg .route-volume>small,.compare-leg .route-volume .number small{font-size:11px;color:var(--muted)}
.compare-leg .route-volume.volume-stale>.number{color:var(--muted)}
.compare-filters .volume-filter{min-width:200px;position:relative}
.compare-filters .volume-filter input{width:100%}
.compare-filters .volume-filter>small{position:absolute;top:100%;margin-top:4px;font-size:10px;color:var(--muted);line-height:1.4}
.compare-filters{row-gap:28px}
.compare-header .price-method-note{margin-top:25px}
@media(min-width:801px){.filter-bar .search-wrap{flex-basis:180px}}
@media(min-width:801px) and (max-width:1450px){.rate-mode>span{display:none}}
@media(max-width:480px){.blacklist-item .button{font-size:11px}.blacklist-item .button .icon{display:none}.table-container .coin-meta{font-size:11px}}

.currency-badge{display:block;color:#e8cc95;font-size:11px;line-height:1.6;white-space:normal}.currency-warning{padding:11px 14px;border:1px solid #78603b;border-radius:7px;background:#30291e;color:#eed8b0;font-size:12px;line-height:1.6}.currency-warning[hidden]{display:none}
/* Confirmed, contract-specific delisting alerts. */
.delist-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 7px;border:1px solid #925259;border-radius:5px;background:#46292f;color:#f3b8bf;font-family:var(--sans,Arial,sans-serif);font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap}.delist-postponed{border-color:#806536;background:#392f20;color:#eed198}.exchange-name:has(.delist-badge){flex-wrap:wrap;row-gap:4px}.delisting-notices{display:grid;gap:8px;margin:14px 0}.delist-notice{display:grid;gap:7px;padding:12px 14px;background:#3a2229;border:1px solid #88505b;border-radius:7px;color:#f4c4cb;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.delist-notice strong{font-weight:500}.delist-notice-update{background:#342c20;border-color:#75603d;color:#ecd5ad}.delist-notice-meta{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:11px}.delist-notice a{color:inherit;text-decoration:underline;text-underline-offset:3px}.delist-source-coverage{display:block;margin-top:6px;max-width:270px;color:var(--muted);font-size:11px;line-height:1.4}.route-leg-title{flex-wrap:wrap;row-gap:6px}@media(max-width:600px){.delist-notice{font-size:12px;padding:10px}.delist-badge{margin-left:4px;padding:2px 5px}.delist-source-coverage{max-width:180px}}

/* A saved route is shared by both arbitrage tables and its detail card. */
.route-star{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:36px;min-height:36px;color:#8c9caf;border-radius:7px;vertical-align:middle}
.route-star .icon{width:20px;height:20px;flex-shrink:0;fill:none}
.route-star:hover{color:var(--amber);background:#d7b97312}
.route-star.selected{color:var(--amber)}
.route-star.selected .icon{fill:var(--amber);stroke:var(--amber)}
.route-star:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
.route-star-cell{width:42px;padding-right:0!important}
.route-star-labeled{padding:7px 10px;font-size:13px}
.route-favorite-toolbar{display:flex;justify-content:flex-end;margin:-5px 0 12px}
.route-favorites-list{margin:20px 0}
.favorite-section-head h2,.favorite-contracts-title{font-size:16px;font-weight:600;margin:0 0 10px}
.favorite-section-head p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 16px;max-width:850px}
.favorite-route-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px;margin-bottom:26px}
.favorite-route-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--panel);min-width:0}
.favorite-route-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.favorite-route-title .coin-meta{margin-left:auto}
.favorite-route-venues{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0}
.favorite-route-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 16px}
.favorite-route-values>span{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.favorite-route-values strong{font-size:17px;font-weight:500}
.favorite-route-values small{font-size:10px}
.favorite-route-card>p{font-size:12px;line-height:1.6}

/* Public opening constraints are independent of prices and funding. */
.opening-status{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:#141b23}
.opening-status-title{display:flex;flex-direction:column;gap:6px;font-size:12px}
.opening-status-title>span{color:var(--muted)}.opening-status-title strong{font-size:14px;font-weight:500}
.opening-status p{font-size:11px;line-height:1.55;color:#a4b0c1;margin:8px 0 0}
.opening-status-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;font-size:10px;color:var(--muted)}
.opening-status-meta a{color:var(--green)}.opening-status-meta span{overflow-wrap:anywhere}
.opening-warning{border-color:#6c5839;background:#272217}.opening-blocked{border-color:#81505b;background:#2c1e25}
.opening-blocked strong{color:var(--red)}.opening-warning strong{color:var(--amber)}
.opening-oi{display:grid;gap:7px;margin-top:10px;font-size:11px}
.opening-oi>span{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}
.opening-oi b{font-family:var(--mono);font-variant-numeric:tabular-nums;font-weight:400;color:var(--text)}
.opening-risk-note{font-size:10px;line-height:1.5;margin-top:8px;color:var(--muted)}
.opening-route-warning{display:flex;flex-direction:column;gap:6px;border:1px solid #6c5839;border-radius:7px;padding:10px 12px;background:#272217;margin:0 0 12px;font-size:12px;line-height:1.5}
.opening-route-warning strong{font-weight:500;color:var(--amber)}.opening-route-warning.opening-blocked{border-color:#81505b;background:#2c1e25}.opening-route-warning.opening-blocked strong{color:var(--red)}

@media(max-width:480px){.route-modal .route-legs{grid-template-columns:minmax(0,1fr);padding-top:0}.route-modal .route-swap{position:static;justify-self:center}.route-modal .route-leg-title{flex-direction:row;align-items:center}.route-modal .route-values>div{flex-direction:row;align-items:baseline;justify-content:space-between}.opening-status p{font-size:12px}.opening-oi{font-size:12px}.opening-status-meta{font-size:11px}}

/* The same route rows become two-sided cards on phones; calculations and actions stay shared. */
.mobile-route-only{display:none}
@media(max-width:600px){
  .route-table-container{overflow:visible;min-height:0;border:0;border-radius:0;background:none}
  .compare-table{display:block;white-space:normal}
  .compare-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .compare-table tbody{display:grid;gap:10px}
  .compare-table .route-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden}
  .compare-table .route-row>td{position:static;min-width:0;width:auto;padding:10px 12px;text-align:left;white-space:normal;border:0;z-index:auto}
  .compare-table .route-row>.route-star-cell{position:absolute;left:5px;top:7px;width:40px;min-width:40px;padding:0;z-index:2}
  .compare-table .route-star{min-width:40px;min-height:44px}
  .compare-table .route-row>.route-coin-cell{grid-column:1/-1;padding:10px 12px 10px 50px;border-bottom:1px solid var(--line)}
  .compare-table .coin-avatar{display:none}
  .compare-table .coin-cell,.compare-table .route-coin-info{width:100%;min-width:0}
  .compare-table .route-coin-info{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:center}
  .compare-table .coin-name{grid-column:1;grid-row:1;font-size:16px;overflow-wrap:anywhere;flex-wrap:wrap}
  .compare-table .coin-meta{grid-column:1;grid-row:2;font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.4;margin:0}
  .compare-table .route-open{grid-column:2;grid-row:1/3;margin:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #315447;border-radius:7px}
  .compare-table .route-open .icon{width:18px;height:18px}
  .compare-table .route-open-label{display:none}
  .compare-table .route-more{grid-column:1/-1;justify-self:start;margin-top:4px;padding:4px 8px;min-height:32px;font-size:11px;line-height:1.4}
  .compare-table .route-row>td:nth-child(3){grid-column:1;grid-row:2;border-right:1px solid var(--line)}
  .compare-table .route-row>td:nth-child(5){grid-column:2;grid-row:2}
  .compare-table .route-row>td:nth-child(4),.compare-table .route-row>td:nth-child(6){display:none}
  .compare-table .route-row>td:nth-child(7),.compare-table .route-row>td:nth-child(8){grid-row:3;padding:10px 12px;background:#141b22;border-top:1px solid var(--line);font-size:16px}
  .compare-table .route-row>td:nth-child(7){grid-column:1;border-right:1px solid var(--line)}
  .compare-table .route-row>td:nth-child(8){grid-column:2}
  .compare-table .mobile-route-only{display:block}
  .compare-table .compare-leg{width:100%;min-width:0;gap:4px;white-space:normal}
  .compare-table .mobile-route-side{font-size:10px;letter-spacing:.8px;text-transform:uppercase;font-weight:600}
  .compare-table .mobile-route-side.long{color:var(--green)}.compare-table .mobile-route-side.short{color:var(--red)}
  .compare-table .exchange-name{font-size:13px;gap:6px;min-width:0;flex-wrap:wrap;overflow-wrap:anywhere;line-height:1.5}
  .compare-table .exchange-name .exchange-icon{width:18px;height:18px;flex-shrink:0}
  .compare-table .delist-badge{margin-left:0;font-size:10px;padding:1px 4px}
  .compare-table .mobile-route-quote{margin-top:3px;min-width:0;width:100%;line-height:1.4}
  .compare-table .mobile-route-quote>small{color:var(--muted);font-size:10px}
  .compare-table .mobile-route-quote .price-cell{display:flex;align-items:flex-start;gap:0;white-space:normal;overflow-wrap:anywhere}
  .compare-table .mobile-route-quote .number{font-size:15px}
  .compare-table .mobile-route-quote .price-cell small{font-size:10px}
  .compare-table .compare-leg>.number{padding:0;font-size:14px;line-height:1.4;white-space:normal}
  .compare-table .compare-leg>.number small{font-size:11px}
  .compare-table .compare-leg .mobile-funding-label{font-size:10px;margin-top:3px;line-height:1.1}
  .compare-table .compare-leg .native-interval,.compare-table .compare-leg .normalized-rate{display:none}
  .compare-table .compare-leg .route-countdown{font-size:10px;line-height:1.4;white-space:normal}
  .compare-table .compare-leg .route-volume{margin:3px 0 0;padding-top:5px;gap:0;width:100%;white-space:normal;line-height:1.5}
  .compare-table .compare-leg .route-volume>.number{font-size:13px;overflow-wrap:anywhere}
  .compare-table .compare-leg .route-volume small{font-size:10px}
  .compare-table .mobile-metric-label{font:10px/1.4 var(--sans);color:var(--muted);margin-bottom:4px}
  .compare-table .mobile-metric-label small{display:block;font:10px/1.4 var(--sans)}
  .compare-table .price-spread-cell>small{font-size:10px;overflow-wrap:anywhere;white-space:normal;margin-top:3px}
  .funding-table th:nth-child(2),.funding-table td:nth-child(2){min-width:100px;max-width:120px;padding-left:6px;padding-right:8px}
  .funding-table .coin-avatar{display:none}
  .funding-table .coin-name{font-size:14px;white-space:normal;overflow-wrap:anywhere}
  .funding-table .coin-meta{white-space:normal;font-size:10px}
  .funding-table .star{min-height:40px;min-width:32px}
}

@media(max-width:600px){
  .compare-table .route-row>.route-coin-cell{padding-top:8px;padding-bottom:8px}
  .compare-table .route-coin-info{row-gap:0}
  .compare-table .coin-meta{display:none}
  .compare-table .route-more{grid-column:1;grid-row:2;margin-top:2px}
  .compare-table .route-open{grid-column:2;grid-row:1/3}
  .compare-table .compare-leg{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px}
  .compare-table .compare-leg>*{grid-column:1/-1}
  .compare-table .compare-leg>.mobile-route-side{grid-column:1;grid-row:1;align-self:center;font-size:9px;letter-spacing:.3px}
  .compare-table .compare-leg>.exchange-name{grid-column:2;grid-row:1;font-size:12px;line-height:1.35}
  .compare-table .mobile-route-quote{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:5px;margin-top:4px}
  .compare-table .mobile-route-quote .price-cell{flex-direction:row;align-items:baseline;flex-wrap:wrap;column-gap:4px}
  .compare-table .mobile-route-quote .number{font-size:14px}
  .compare-table .compare-leg .mobile-funding-label{display:inline;font-size:10px;margin:0 5px 0 0;line-height:1.4}
  .compare-table .compare-leg .route-volume{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 5px;align-items:baseline;margin-top:0}
  .compare-table .compare-leg .route-volume>.number{font-size:13px}
  .compare-table .route-row>td:nth-child(7),.compare-table .route-row>td:nth-child(8){padding-top:8px;padding-bottom:8px}
}

/* Route details share the same data; phones prioritize the two comparable legs. */
.route-label-short,.route-amount-compact,.route-extra-toggle{display:none}
.route-opening-details>summary,.route-currency-details>summary{display:none}
.route-leg{display:flex;flex-direction:column}
.route-leg>.route-leg-title{order:0}.route-leg>.route-exchange-picker{order:1}
.route-leg>.route-opening-details{order:2}.route-leg>[id$="-values"]{order:3}.route-leg>.route-exchange-link{order:4}
@media(max-width:600px){
  .modal-backdrop:has(.route-modal){padding:0}
  .modal.route-modal.wide{position:relative;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}
  .route-modal .modal-head{padding:8px 10px;min-height:52px;align-items:center}
  .route-modal .modal-head>div{min-width:0}
  .route-modal .modal-head h2{font-size:17px;line-height:1.3;margin:0;padding-right:130px;overflow-wrap:anywhere}
  .route-modal:not(.funding-modal) .modal-head p,.route-modal .route-contract{display:none}
  .route-modal .close-button{min-width:36px;min-height:36px}
  .route-modal .modal-body{padding:8px}
  .route-modal .modal-actions{padding:7px 10px;gap:8px;min-height:44px}
  .route-modal .route-refresh-status{font-size:9px;line-height:1.4}
  .route-modal .route-favorite-toolbar{position:absolute;top:8px;right:53px;z-index:5;margin:0}
  .route-modal .route-star-labeled{min-width:36px;min-height:36px;padding:6px}
  .route-modal [data-route-favorite-label]{display:none}
  .route-modal .route-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 8px}
  .route-modal .route-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:5px;row-gap:2px;padding:6px 7px;border-radius:6px;min-height:44px;align-items:center}
  .route-modal .route-metric>span{font-size:10px;line-height:1.25;grid-column:1;grid-row:1}
  .route-modal .route-metric strong{font-size:14px;grid-column:2;grid-row:1/3;overflow-wrap:anywhere;max-width:100%}
  .route-modal .route-metric small{font-size:9px;line-height:1.25;grid-column:1;grid-row:2}
  .route-modal .route-legs{position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;padding:0;margin-bottom:7px;align-items:stretch}
  .route-modal .route-swap{position:absolute;top:8px;right:95px;left:auto;min-height:36px;width:36px;padding:7px;z-index:5}
  .route-modal .route-leg{padding:6px 7px;border-radius:7px}
  .route-modal .route-leg-title{flex-direction:row;align-items:center;justify-content:space-between;gap:3px;margin-bottom:5px;min-height:22px}
  .route-modal .route-leg-title>.exchange-name{display:none}
  .route-modal .route-direction{font-size:10px;letter-spacing:.5px}
  .route-modal .route-leg-title .delist-badge{font-size:9px;padding:1px 3px;margin:0}
  .route-modal .route-exchange-picker select{font-size:12px;padding:7px 3px;min-height:36px;max-width:100%}
  .route-modal .route-leg>[id$="-values"]{order:2}
  .route-modal .route-leg>.route-opening-details{order:3}
  .route-modal .route-values{margin:4px 0}
  .route-modal .route-values>div{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:40px;padding:3px 0;border-bottom:1px solid #25313d;box-sizing:border-box}
  .route-modal .route-values dt{font-size:10px;line-height:1.25}
  .route-modal .route-values dd{font-size:13px;line-height:1.35;text-align:left;max-width:100%}
  .route-modal .route-values dd small{font-size:9px}
  .route-modal .route-label-full,.route-modal .route-amount-full{display:none}
  .route-modal .route-label-short,.route-modal .route-amount-compact{display:inline}
  .route-modal .route-values>.route-value-extra{display:none}
  .route-modal .route-show-extra .route-values>.route-value-extra{display:flex}
  .route-modal .route-history-link{min-height:26px;min-width:60px;text-align:left;display:inline-flex;align-items:center}
  .route-modal .route-quote-status{margin:5px 0;min-height:0;font-size:9px;line-height:1.3;align-items:baseline}
  .route-modal .route-opening-details{margin-top:3px;border:1px solid var(--line);border-radius:5px;background:#141b23}
  .route-modal .route-opening-details>summary{position:relative;display:block;cursor:pointer;padding:6px 15px 6px 6px;min-height:44px;font-size:9px;line-height:1.3;list-style:none;color:var(--muted)}
  .route-modal .route-opening-details>summary::-webkit-details-marker{display:none}
  .route-modal .route-opening-details>summary:after{content:'›';position:absolute;right:5px;top:12px;font-size:16px}
  .route-modal .route-opening-details[open]>summary:after{transform:rotate(90deg)}
  .route-modal .route-opening-details>summary strong{display:block;font-size:11px;font-weight:500;color:var(--text);margin-top:2px;overflow-wrap:anywhere}
  .route-modal .route-opening-details.opening-blocked{border-color:#88505b;background:#3a2229}
  .route-modal .route-opening-details.opening-warning{border-color:#806536;background:#30291e}
  .route-modal .route-opening-details.opening-blocked>summary strong{color:#f4b8c0}
  .route-modal .route-opening-details.opening-warning>summary strong{color:var(--amber)}
  .route-modal .route-opening-details .opening-status{margin:0;padding:7px;border:0;background:none}
  .route-modal .route-opening-details .opening-status-title{display:none}
  .route-modal .opening-status p{font-size:11px;line-height:1.5;margin-top:0}
  .route-modal .opening-oi{font-size:10px}
  .route-modal .opening-oi>span{flex-direction:column;gap:2px}
  .route-modal .opening-status-meta{font-size:9px}
  .route-modal .route-exchange-link{font-size:10px;min-height:30px;display:flex;align-items:center;margin-top:3px}
  .route-modal .route-extra-toggle{display:block;width:100%;min-height:34px;margin-bottom:8px}
  .route-modal .opening-route-warning{padding:7px 9px;font-size:11px;margin:0 0 7px;line-height:1.4}
  .route-modal .opening-route-warning>span{display:none}
  .route-modal .route-currency-details{margin-bottom:8px}
  .route-modal .route-currency-details>summary{display:list-item;font-size:10px;cursor:pointer;color:var(--amber);padding:6px 0;list-style-position:inside}
  .route-modal .route-currency-details .currency-warning{font-size:11px;line-height:1.5}
  .route-modal .delisting-notices{margin:7px 0}
  .route-modal .delist-notice{font-size:11px;padding:8px}
  .route-modal .delist-notice-meta{font-size:10px}
  .route-modal .route-chart-toolbar{gap:7px;margin-bottom:8px}
  .route-modal .route-chart-tabs button{padding:7px;font-size:10px}
  .route-modal .route-range{font-size:10px}
  .route-modal.funding-modal .modal-head h2{padding-right:10px}
}

/* Limits remain a compact comparison row; explanations open below both legs. */
.route-limit-button{padding:3px 0;border:0;background:none;color:var(--text);font:inherit;text-align:right;cursor:pointer;max-width:100%;line-height:1.4}
.route-limit-button>span{border-bottom:1px dotted var(--muted)}
.route-limit-button>small{display:block;color:var(--muted);font-size:10px;white-space:normal}
.route-limit-panel{margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#101720}
.route-limit-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.route-limit-panel p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.route-limit-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.route-limit-columns h4{margin:12px 0}.route-limit-columns dl{margin:0}.route-limit-columns dl>div{padding:7px 0;border-bottom:1px solid var(--line)}
.route-limit-columns dt{font-size:11px;color:var(--muted)}.route-limit-columns dd{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.route-limit-columns dd small{display:block;color:var(--muted)}
.route-limit-columns a{font-size:12px;color:var(--green)}
@media(max-width:600px){.route-values [data-route-value="limit"]{min-height:47px}.route-limit-button{font-size:12px}.route-limit-button>small{font-size:9px}.route-limit-panel{padding:10px}.route-limit-columns{gap:12px}}

/* Stock and commodity filters, shared by both arbitrage tabs. */
.asset-category-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.asset-category-controls small{color:var(--muted);font-size:11px;line-height:1.5}.asset-category-button.active{color:var(--green);background:#15332d;border-color:#477f70}.asset-category-button{min-height:38px;padding-inline:16px}@media(max-width:600px){.asset-category-controls small{flex-basis:100%}.asset-category-button{min-height:42px;flex:1}}

/* Two-line arbitrage tabs; all six sections remain reachable on phones. */
.topnav{gap:18px}.topnav button{display:flex;flex-direction:column;justify-content:center;gap:4px;white-space:nowrap}.topnav button small{font-size:10px;color:var(--muted);font-weight:400}.topnav button.active small{color:var(--green)}.market-kind{color:var(--green);font-size:10px}.spot-route-leg{min-height:100px}.spot-source-status{padding:10px 16px;font-size:11px;color:var(--muted);border:1px solid var(--line)}
@media(max-width:1450px){.topbar{height:auto;min-height:80px;flex-wrap:wrap;padding-top:14px;gap:12px}.topnav{order:3;flex-basis:100%;justify-content:space-between;min-height:60px}.top-actions{margin-left:auto}}
@media(max-width:600px){.topbar{padding:12px 18px 0}.topnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px;width:100%;min-width:0}.topnav button{white-space:normal;min-width:0;min-height:54px;font-size:11px;text-align:center;padding:7px 2px;line-height:1.2}.topnav button small{font-size:10px}.topnav button:after{bottom:0}.spot-route-leg{min-height:0}}

@media(max-width:600px){.topbar .topnav{grid-template-columns:repeat(2,minmax(0,1fr))}.topnav [data-view="all"]{order:0;min-height:35px}.topnav [data-view="favorites"]{order:1;min-height:35px}.topnav [data-view="compare"]{order:2}.topnav [data-view="spot-compare"]{order:3}.topnav [data-view="prices"]{order:4}.topnav [data-view="spot-prices"]{order:5}}

/* Account entry and free-plan information share the existing navigation. */
#account-nav:empty,#account-access:empty{display:none}.account-nav-button{white-space:nowrap;text-decoration:none}@media(max-width:1300px){.account-nav-button span{display:none}.top-actions .account-nav-button{padding:8px;min-height:34px}.account-nav-button .icon{width:16px;height:16px}}@media(max-width:650px){.topbar .top-actions{gap:8px}}

/* Funding Coin: keep the complete name readable on phones. */
.wordmark span{color:var(--green);font-weight:650}
@media(max-width:480px){.wordmark span{display:inline}.wordmark{font-size:16px;letter-spacing:-.5px}}

.wordmark img{display:none}
@media(max-width:1100px){.wordmark img{display:inline-block;width:24px;height:24px;vertical-align:middle;margin-right:8px;margin-top:-2px}}

.favorite-sync-status{font-size:12px;color:var(--muted);padding:8px 0;line-height:1.5}.favorite-sync-status.sync-error{color:var(--amber)}.favorite-sync-status[hidden]{display:none}

.top-actions .guide-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;white-space:nowrap}.guide-link-short{display:none}.rail a.rail-link{display:flex;align-items:center;justify-content:center;text-decoration:none}.route-guide-link{font-size:11px;text-decoration:none}
@media(max-width:1300px){.guide-link .guide-link-label{display:none}.guide-link .guide-link-short{display:inline}.top-actions .guide-link{font-size:11px;padding:7px 4px}.guide-link .icon{display:none}}
@media(max-width:480px){.route-page-header .top-actions{gap:6px}.route-page-header .route-guide-link{padding:8px 6px}.route-page-header .wordmark{font-size:15px}}

/* Keep one real search input available throughout mobile tables. */
.filter-actions{display:contents}
@media(max-width:800px){
 .filter-bar{display:contents}
 .filter-bar>.search-wrap{position:sticky;top:0;z-index:15;flex:none;max-width:none;min-width:0;width:100%;padding:10px;padding-top:calc(10px + env(safe-area-inset-top,0px));background:var(--panel);border:1px solid var(--line);border-radius:9px 9px 0 0;box-shadow:0 6px 12px #00000024}
 .filter-bar>.search-wrap input{font-size:16px;min-height:42px;padding-right:50px}
 .filter-bar>.search-wrap>.icon{left:21px}
 .filter-bar>.search-wrap .search-clear{right:11px;width:40px;height:40px;top:calc(50% + env(safe-area-inset-top,0px)/2)}
 .filter-bar>.search-wrap .kbd{display:none}
 .filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;background:var(--panel);border:1px solid var(--line);border-top:0}
}

/* Append mobile arbitrage results without removing previously visible routes. */
@media(max-width:800px){
 .table-footer.has-load-more{flex-direction:column;align-items:stretch;gap:12px;padding:16px 0}
 .has-load-more .table-range,.all-routes-shown{text-align:center;font-size:12px}
 .has-load-more .load-more{width:100%;min-height:48px;justify-content:center;gap:10px;border:1px solid #356b5c;background:#142c26;color:var(--green);font-size:14px;border-radius:8px}
 .has-load-more .load-more:hover{background:#1c3b32}
 .has-load-more .load-more:focus-visible{outline:2px solid var(--green);outline-offset:3px}
 .load-more-count{padding:3px 8px;border-radius:5px;background:#214637;font-size:12px;font-variant-numeric:tabular-nums}
 .all-routes-shown{color:var(--muted)}
}
/* Manual spread calculator; decimal inputs stay independent of live market refreshes. */
.spread-calculator{max-width:920px;margin:0 auto;padding:34px 0 50px}
.calculator-heading{margin-bottom:24px}.calculator-heading h1{font-size:32px;font-weight:600;letter-spacing:-.8px;margin:12px 0}.calculator-heading p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}
.calculator-panel{border:1px solid var(--line);border-radius:14px;padding:28px;background:var(--panel)}
.calculator-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.calculator-field{min-width:0}.calculator-field label{display:flex;gap:9px;align-items:center;font-size:13px;color:#dce7ee;line-height:1.5;margin-bottom:12px}.calculator-number{display:inline-grid;place-items:center;border:1px solid #31564d;border-radius:7px;background:#183229;color:var(--green);height:26px;width:26px;flex-shrink:0}
.calculator-field input{width:100%;min-width:0;min-height:58px;padding:14px;border:1px solid #344655;border-radius:8px;background:#0d151c;color:#e5edf3;font:20px var(--mono);font-variant-numeric:tabular-nums}.calculator-field input:focus{border-color:var(--green);outline:2px solid #63e2bf25}.calculator-field input[aria-invalid=true]{border-color:var(--red)}.calculator-field input::placeholder{color:#617386}
.calculator-error{font-size:12px;line-height:1.5;color:var(--red);margin:8px 0 0}.calculator-precision{color:var(--muted);font-size:12px;line-height:1.6;margin:14px 0 18px}.calculator-actions{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.calculator-actions .button{min-height:42px;font-size:12px}
.calculator-result{padding:26px 18px;background:#0e191b;border:1px solid #284139;border-radius:10px;margin-top:24px;text-align:center}.calculator-result>span{font-size:12px;color:var(--muted)}.calculator-result output{display:block;font:500 clamp(24px,4vw,46px) var(--mono);letter-spacing:-.5px;margin:14px 0;overflow-wrap:anywhere}.calculator-result p{font-size:13px;line-height:1.5;margin:0;color:#b2c8c0}
.calculator-method{margin-top:20px;line-height:1.7}.calculator-method p{font-size:13px;color:#a4bbca;margin:0 0 8px}.calculator-method small{font-size:12px;color:var(--muted)}
@media(max-width:800px){.spread-calculator{padding-top:22px}.calculator-heading{margin-bottom:18px}.calculator-heading h1{font-size:26px}.calculator-heading p{font-size:13px}.calculator-panel{padding:18px}.calculator-inputs{gap:14px}.calculator-field label{font-size:12px}.calculator-field input{font-size:16px;padding:12px;min-height:50px}.calculator-result{padding:22px 10px}.calculator-result output{font-size:30px}}
@media(max-width:600px){.topnav [data-view=calculator]{order:6;grid-column:1/-1;min-height:40px}.calculator-inputs{grid-template-columns:1fr;gap:16px}.calculator-field label{margin-bottom:8px}.calculator-panel{padding:16px}.calculator-heading h1{font-size:24px}.calculator-result{margin-top:18px}.calculator-actions .button{padding-inline:10px}.calculator-precision{font-size:11px;margin-top:12px}}

/* Shared calculator overlay, outside the live-rendered table and route containers. */
html.calculator-open,html.calculator-open body{overflow:hidden}
.calculator-launch{width:38px;min-width:38px;height:38px;padding:8px;color:var(--green);border-color:#31584e}
.calculator-launch .icon{width:20px;height:20px}
.calculator-dialog{width:min(660px,calc(100% - 24px));max-width:660px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;margin:auto;border:1px solid #3a574f;border-radius:16px;background:var(--panel);color:var(--text,#e5edf3);box-shadow:0 24px 100px #0009;overflow:auto;overscroll-behavior:contain}
.calculator-dialog::backdrop{background:#03090dc9;backdrop-filter:blur(5px)}
.calculator-dialog .spread-calculator{padding:24px;margin:0;max-width:none}
.calculator-dialog .calculator-heading{margin-bottom:18px;padding-right:35px}
.calculator-dialog .calculator-heading h1{font-size:25px;margin:8px 0}
.calculator-dialog .calculator-heading .eyebrow{font-size:10px}
.calculator-dialog .calculator-heading p{font-size:13px}
.calculator-dialog .calculator-close{position:sticky;float:right;top:12px;margin:12px 12px -48px 0;width:36px;height:36px;padding:9px;z-index:1;background:var(--panel)}
.calculator-dialog .calculator-panel{padding:18px;background:#101820}
.calculator-dialog .calculator-inputs{gap:14px}
.calculator-dialog .calculator-field input{font-size:18px;min-height:50px}
.calculator-dialog .calculator-result{margin-top:18px;padding:16px 12px}
.calculator-dialog .calculator-result output{font-size:32px;margin:10px 0}
.calculator-dialog .calculator-method{margin-top:14px}
.calculator-dialog .calculator-method small{font-size:11px}
@media(max-width:600px){
 .route-page-header{flex-wrap:wrap}
 .route-page-header .top-actions{flex-wrap:wrap;margin-left:auto;gap:6px}
 .calculator-dialog .spread-calculator{padding:18px 14px}
 .calculator-dialog .calculator-heading h1{font-size:21px}
 .calculator-dialog .calculator-panel{padding:14px}
 .calculator-dialog .calculator-inputs{grid-template-columns:1fr;gap:12px}
 .calculator-dialog .calculator-field input{font-size:16px}
 .calculator-dialog .calculator-result output{font-size:28px}
 .calculator-dialog .calculator-precision{margin:10px 0 12px}
}

/* Keep all mobile header shortcuts visible on narrow phones. */
@media(max-width:380px){.workspace .topbar{padding-inline:10px}.workspace .topbar .top-actions{gap:4px}.workspace .topbar .wordmark{font-size:14px}}
