/* Scoped directory. Shared theme, navigation and advertising keep their styles. */
#main>.th-exchanges{--x-line:#303030;--x-muted:#929292;--x-signal:#ffc857;min-width:0}
#main>.th-exchanges [hidden]{display:none!important}
#main>.th-exchanges button,#main>.th-exchanges summary,#main>.th-exchanges input{touch-action:manipulation}
#main>.th-exchanges button:focus-visible,#main>.th-exchanges a:focus-visible,#main>.th-exchanges summary:focus-visible,#main>.th-exchanges input:focus-visible,#main>.th-exchanges [tabindex]:focus-visible{outline:2px solid var(--x-signal);outline-offset:4px}
#main>.th-exchanges .page-head .lede{max-width:760px}
#main>.th-exchanges .xchg-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:0 0 6px}
#main>.th-exchanges .xchg-help{font-size:11px;color:var(--x-muted);padding:8px 0}
#main>.th-exchanges .xchg-row,#main>.th-exchanges .xchg-grid-head{display:grid;grid-template-columns:minmax(130px,1.1fr) 100px 100px minmax(150px,1.3fr) 100px 100px;align-items:center;column-gap:16px;min-width:0}
#main>.th-exchanges .xchg-grid-head{padding:14px 0;border-top:1px solid var(--x-line);border-bottom:1px solid var(--x-line);font-size:11px;color:#c5c5c5}
#main>.th-exchanges .xchg-grid-head small{display:block;font-size:9px;color:var(--x-muted);padding-top:5px;font-weight:400}
#main>.th-exchanges .xchg-row{padding:12px 0;border-bottom:1px solid var(--x-line);position:relative}
#main>.th-exchanges .xchg-row>*,#main>.th-exchanges .xchg-brand{min-width:0}
#main>.th-exchanges .xchg-brand{grid-column:1;grid-row:1}
#main>.th-exchanges .xchg-single-fee:nth-child(2){grid-column:2;grid-row:1}
#main>.th-exchanges .xchg-single-fee:nth-child(3){grid-column:3;grid-row:1}
#main>.th-exchanges .xchg-logo{display:flex;width:116px;max-width:100%;height:26px;align-items:center;justify-content:flex-start;overflow:hidden;flex:none;background:transparent;border:0;margin:0 0 4px;padding:0}
#main>.th-exchanges .xchg-logo img{display:block;width:100%;height:26px;object-fit:contain;object-position:left center;filter:grayscale(1) brightness(0) invert(.92)}
#main>.th-exchanges .xchg-logo.is-loading img{display:none}
#main>.th-exchanges .xchg-logo img.is-normalized{filter:none}
#main>.th-exchanges .xchg-logo-fallback{display:block;max-width:100%;min-width:0;color:#ebebeb;font-size:15px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main>.th-exchanges .xchg-products{display:flex;flex-wrap:wrap;gap:9px;font-size:10px;color:var(--x-muted)}
#main>.th-exchanges .xchg-single-fee b{font-size:15px;font-weight:500;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#ededed}
#main>.th-exchanges .xchg-basis{grid-column:4;grid-row:1;font-size:11px;line-height:1.6;color:#c1c1c1;overflow-wrap:anywhere}
#main>.th-exchanges .xchg-source{display:flex;flex-direction:column;align-items:flex-start;grid-column:5;grid-row:1;font-size:10px;line-height:1.6;overflow-wrap:anywhere;color:var(--x-muted)}
#main>.th-exchanges .xchg-source a,#main>.th-exchanges .xchg-document-link,#main>.th-exchanges .xchg-next-link{color:var(--x-signal)}
#main>.th-exchanges .xchg-mobile-label{display:none}
#main>.th-exchanges .xchg-inline-details{display:contents}
#main>.th-exchanges .xchg-inline-details>summary{grid-column:6;grid-row:1;cursor:pointer;list-style:none;font-size:11px;padding:8px 12px;display:flex;align-items:center;justify-content:flex-start;gap:10px;color:#cfcfcf;min-height:44px}
#main>.th-exchanges .xchg-inline-details>summary::-webkit-details-marker{display:none}
#main>.th-exchanges .xchg-inline-details>.xchg-detail-content{grid-column:1/-1;grid-row:2;margin-top:18px;border-top:1px solid var(--x-line)}
#main>.th-exchanges .xchg-inline-details:not([open])>.xchg-detail-content{display:none}
#main>.th-exchanges .xchg-table-note{display:flex;justify-content:space-between;gap:30px;margin-top:15px;font-size:10px;color:var(--x-muted);line-height:1.65}
#main>.th-exchanges .xchg-table-note p{margin:0;max-width:790px;font-size:inherit;line-height:inherit}
#main>.th-exchanges .xchg-table-note a{white-space:nowrap;color:var(--x-muted)}
#main>.th-exchanges .xchg-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
#main>.th-exchanges .xchg-next-grid>a{padding:16px 0;border-top:1px solid var(--x-line);min-width:0}
#main>.th-exchanges .xchg-next-grid h3{font-size:14px;margin:10px 0}#main>.th-exchanges .xchg-next-grid p{font-size:12px;color:var(--x-muted);line-height:1.7;margin:0 0 15px}
#main>.th-exchanges .xchg-next-link{font-size:11px}
#main>.th-exchanges .xchg-methodology details{border-bottom:1px solid var(--x-line)}
#main>.th-exchanges .xchg-methodology summary{padding:15px 0;cursor:pointer;font-size:12px;color:#c1c1c1}
#main>.th-exchanges .xchg-methodology p{max-width:880px;padding:0 0 15px;font-size:12px;color:var(--x-muted);line-height:1.75}
#main>.th-exchanges .xchg-rate-line{display:flex;align-items:baseline;gap:8px;margin:4px 0}
#main>.th-exchanges .xchg-rate-line>span{font-size:9px;color:var(--x-muted);min-width:32px}
#main>.th-exchanges .xchg-rate-line>b{min-width:0}
#main>.th-exchanges .xchg-basis a{color:var(--x-signal);text-decoration:none}
#main>.th-exchanges .xchg-basis small{display:block;font-size:9px;color:var(--x-muted)}
#main>.th-exchanges .xchg-detail-content{padding:20px 22px;font-size:12px;line-height:1.7;overflow-wrap:anywhere;min-width:0}
#main>.th-exchanges .xchg-detail-content h3{font-size:18px;margin:0 0 12px}
#main>.th-exchanges .xchg-detail-content p{font-size:12px;color:#aaa;line-height:1.7}
#main>.th-exchanges .xchg-detail-products{margin:0 0 14px}
#main>.th-exchanges .xchg-detail-fees{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
#main>.th-exchanges .xchg-fee-block{border:1px solid var(--x-line);border-radius:4px;background:#1c1c1c;padding:14px;min-width:0}
#main>.th-exchanges .xchg-fee-block h4{margin:0 0 12px;font-size:12px;color:var(--x-signal)}
#main>.th-exchanges .xchg-fee-block p{margin:10px 0 0;font-size:11px}
#main>.th-exchanges .xchg-fee-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
#main>.th-exchanges .xchg-fee-values dt{font-size:10px;color:var(--x-muted)}
#main>.th-exchanges .xchg-fee-values dd{margin:3px 0 0;font-size:21px;color:#eee;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#main>.th-exchanges .xchg-detail-section{border-bottom:1px solid var(--x-line)}
#main>.th-exchanges .xchg-detail-section>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;min-height:42px;cursor:pointer;list-style:none;color:#ddd;font-size:12px}
#main>.th-exchanges .xchg-detail-section>summary::after{content:"+";font-size:16px;color:var(--x-muted)}
#main>.th-exchanges .xchg-detail-section[open]>summary::after{content:"−"}
#main>.th-exchanges .xchg-detail-section>summary::-webkit-details-marker{display:none}
#main>.th-exchanges .xchg-document-link{display:block;padding:8px 0;font-size:11px;overflow-wrap:anywhere}
#main>.th-exchanges .xchg-source-record summary{cursor:pointer;padding:6px 0;font-size:10px;color:var(--x-muted)}
#main>.th-exchanges .xchg-source-record p{font-size:10px}
#main>.th-exchanges .xchg-detail-extra{margin:15px 0}
#main>.th-exchanges .xchg-detail-extra>div{padding:8px 0;border-top:1px solid var(--x-line)}
#main>.th-exchanges .xchg-detail-extra dt{color:var(--x-muted);font-size:10px}
#main>.th-exchanges .xchg-detail-extra dd{margin:4px 0 0}
#main>.th-exchanges .xchg-provider{border-top:1px solid var(--x-line);margin-top:20px;padding:14px 0}
#main>.th-exchanges .xchg-provider-action{display:inline-flex;align-items:center;gap:14px;padding:9px 14px;border:1px solid #645235;border-radius:4px;color:var(--x-signal);font-size:12px;text-decoration:none}
#main>.th-exchanges .xchg-provider small{display:block;font-size:10px;line-height:1.6;color:var(--x-muted);margin-top:9px}
#main>.th-exchanges .xchg-dialog{position:fixed;margin:auto;padding:0;width:720px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid #454545;border-radius:6px;background:#171717;color:#ddd;font-family:inherit;color-scheme:dark;box-shadow:0 20px 70px #0009}
#main>.th-exchanges .xchg-dialog[open]{display:flex;flex-direction:column}
#main>.th-exchanges .xchg-dialog::backdrop{background:#000b}
#main>.th-exchanges .xchg-dialog:not([open]){display:none}
#main>.th-exchanges .xchg-dialog-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--x-line)}
#main>.th-exchanges .xchg-dialog-head h2{margin:0;font-size:22px;border:0;padding:0;line-height:1.3}
#main>.th-exchanges .xchg-dialog-kicker{margin:0 0 5px;font-size:10px;color:var(--x-muted)}
#main>.th-exchanges .xchg-dialog-head button{border:1px solid var(--x-line);border-radius:4px;color:#ddd;background:#202020;width:36px;height:36px;cursor:pointer;font-size:22px;flex:none}
#main>.th-exchanges #xchg-detail-body{overflow:auto;min-height:0;overscroll-behavior:contain;color-scheme:dark;scrollbar-width:thin;scrollbar-color:#525252 #171717}
#main>.th-exchanges #xchg-detail-body::-webkit-scrollbar{width:8px;height:8px}
#main>.th-exchanges #xchg-detail-body::-webkit-scrollbar-track{background:#171717}
#main>.th-exchanges #xchg-detail-body::-webkit-scrollbar-thumb{background:#525252;border:2px solid #171717;border-radius:6px}
#main>.th-exchanges #xchg-detail-footer{flex:none;padding:14px 22px;border-top:1px solid var(--x-line);background:#191919}
#main>.th-exchanges #xchg-detail-footer .xchg-provider{border:0;margin:0;padding:0}
@media(max-width:1100px){#main>.th-exchanges .xchg-row,#main>.th-exchanges .xchg-grid-head{grid-template-columns:minmax(120px,1fr) 88px 88px minmax(130px,1.2fr) 86px 92px;column-gap:12px}#main>.th-exchanges .xchg-rate-line{gap:5px}#main>.th-exchanges .xchg-single-fee b{font-size:13px}}
@media(max-width:840px){
 #main>.th-exchanges .page-head .lede{font-size:12px;line-height:1.7}#main>.th-exchanges .xchg-toolbar{gap:12px;margin-bottom:12px}#main>.th-exchanges .xchg-help{font-size:10px;max-width:100px}
 #main>.th-exchanges .xchg-grid-head{display:none}#main>.th-exchanges .xchg-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:12px 0}
 #main>.th-exchanges .xchg-brand{grid-column:1/-1;grid-row:1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
 #main>.th-exchanges .xchg-logo{margin:0;width:108px}
 #main>.th-exchanges .xchg-mobile-label{display:block;font-size:9px;color:var(--x-muted);margin-bottom:3px}#main>.th-exchanges .xchg-basis{grid-column:1/-1;grid-row:3;line-height:1.5;font-size:11px}#main>.th-exchanges .xchg-basis .xchg-mobile-label{display:inline;margin-right:9px}
 /* Keep the existing routed anchor above the stretched venue link; only its mobile presentation changes. */
 #main>.th-exchanges .xchg-row.is-linked .xchg-basis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;padding:6px 0;min-width:0}
 #main>.th-exchanges .xchg-row.is-linked .xchg-basis>a{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 16px;border:1px solid #786132;border-radius:6px;background:#ffc8570a;font-size:13px;font-weight:500;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
 #main>.th-exchanges .xchg-row.is-linked .xchg-basis>a:active{background:#ffc8571a;border-color:var(--x-signal)}
 #main>.th-exchanges .xchg-row.is-linked .xchg-basis>.xchg-mobile-label{grid-column:1;grid-row:2;display:block;margin:0;font-size:10px;line-height:1.5}
 #main>.th-exchanges .xchg-row.is-linked .xchg-basis>small{grid-column:2;grid-row:2;margin:0;font-size:10px;line-height:1.5;text-align:right}
 #main>.th-exchanges .xchg-source,#main>.th-exchanges .xchg-inline-details>summary{border-top:1px solid #252525;padding:6px 0 0;min-height:40px;align-self:stretch;display:flex;align-items:center}#main>.th-exchanges .xchg-source{grid-column:1;grid-row:4;font-size:10px}#main>.th-exchanges .xchg-inline-details>summary{grid-column:2;grid-row:4;justify-content:flex-start;gap:10px;padding:8px 12px}
 #main>.th-exchanges .xchg-single-fee:nth-child(2){grid-column:1;grid-row:2}
 #main>.th-exchanges .xchg-single-fee:nth-child(3){grid-column:2;grid-row:2}
 #main>.th-exchanges .xchg-inline-details>.xchg-detail-content{grid-row:5}
 #main>.th-exchanges .xchg-dialog-head{padding:14px 16px}#main>.th-exchanges #xchg-detail-footer{padding:12px 16px}#main>.th-exchanges .xchg-detail-content{padding:18px}#main>.th-exchanges .xchg-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 #main>.th-exchanges .xchg-table-note{display:block;font-size:10px}#main>.th-exchanges .xchg-table-note a{display:inline-block;padding:10px 0}
 #main>.th-exchanges .xchg-next-grid{grid-template-columns:1fr;gap:2px}#main>.th-exchanges .xchg-next-grid>a{padding:15px 0}#main>.th-exchanges .xchg-next-grid h3{font-size:13px}#main>.th-exchanges .xchg-next-grid p{font-size:11px;margin-bottom:9px}
}
@media(max-width:360px){#main>.th-exchanges .xchg-row{column-gap:14px}#main>.th-exchanges .xchg-single-fee b{font-size:13px}#main>.th-exchanges .xchg-detail-fees{grid-template-columns:1fr}}

#main>.th-exchanges .xchg-guides .seo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 22px;margin-top:12px}
#main>.th-exchanges .xchg-guides .seo-card{min-height:0;padding:14px 0;border:0;border-bottom:1px solid var(--x-line);border-radius:0;background:transparent}
#main>.th-exchanges .xchg-guides .seo-card h3{margin-bottom:4px;font-size:12px}#main>.th-exchanges .xchg-guides .seo-card .meta{font-size:10px}
@media(max-width:900px){#main>.th-exchanges .xchg-guides .seo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#main>.th-exchanges .page-head,#main>.th-exchanges .section{padding-left:16px;padding-right:16px}#main>.th-exchanges .xchg-fee-values dd{font-size:18px}}

#main>.th-exchanges>.legal-compact-note{box-sizing:border-box;width:100%;max-width:1260px;margin:8px auto 12px;padding:8px 32px;border-left:0;font-size:12px;line-height:1.65}
@media(max-width:760px){#main>.th-exchanges>.legal-compact-note{padding:8px 14px;font-size:11px}}

/* A real anchor stretches across the venue panel. Independent controls sit above it. */
#main>.th-exchanges .xchg-venue-link{display:block;width:fit-content;max-width:100%;color:inherit;text-decoration:none}
#main>.th-exchanges .xchg-venue-link::after{content:"";position:absolute;inset:0;z-index:1}
#main>.th-exchanges .xchg-row.is-linked:hover{background:#ffc85708}
#main>.th-exchanges .xchg-venue-link:focus-visible{outline:0}
#main>.th-exchanges .xchg-venue-link:focus-visible::after{outline:2px solid var(--x-signal);outline-offset:-2px}
#main>.th-exchanges .xchg-source a,#main>.th-exchanges .xchg-basis a,#main>.th-exchanges .xchg-inline-details>summary,#main>.th-exchanges .xchg-inline-details>.xchg-detail-content{position:relative;z-index:2}
#main>.th-exchanges .xchg-source a{display:inline-flex;align-items:center;min-height:26px}
#main>.th-exchanges .page-head{padding-top:30px;padding-bottom:22px}
#main>.th-exchanges .section{padding-top:24px;padding-bottom:24px}
#main>.th-exchanges .xchg-guides .seo-card{padding-top:10px;padding-bottom:10px}
@media(max-width:840px){#main>.th-exchanges .page-head{padding-top:24px;padding-bottom:18px}#main>.th-exchanges .section{padding-top:18px;padding-bottom:18px}}
