/* Desktop entry only. Mobile and APK never load this file. */
html.hscan-desktop body{min-width:320px;background:var(--bg);color:var(--text)}
html.hscan-desktop .mobile-shell{max-width:1920px;margin:auto;padding-bottom:100px}
html.hscan-desktop .mobile-topbar{position:relative;height:auto;padding:18px 24px;gap:14px;flex-wrap:wrap}
html.hscan-desktop .mobile-top-primary{width:100%}
html.hscan-desktop .mobile-brand{font-size:25px}
html.hscan-desktop .mobile-top-primary-actions button{min-height:36px;font-size:14px}
html.hscan-desktop .mobile-top-actions{gap:10px}
html.hscan-desktop .mobile-main{padding:16px 24px 24px}
html.hscan-desktop .mobile-market-overview{margin-bottom:16px}
html.hscan-desktop .mobile-sticky-controls{position:relative;top:auto;margin:12px 0;padding:12px;border-radius:12px;z-index:18;background:var(--panel)}
html.hscan-desktop .radar-entry-grid{gap:10px}
html.hscan-desktop .radar-entry-grid>button{min-height:46px;font-size:14px}
html.hscan-desktop :is(.signal-list,.price-mover-list,.trader-mobile-list,.trader-mobile-manual-list){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
html.hscan-desktop :is(.signal-list,.price-mover-list,.trader-mobile-list,.trader-mobile-manual-list)>*{min-width:0;margin:0}
html.hscan-desktop :is(.signal-list,.price-mover-list)>.empty-card{grid-column:1/-1}
html.hscan-desktop .bottom-nav{position:fixed;inset:auto 0 0;max-width:none;transform:none;z-index:40;padding:10px 24px;background:var(--panel);border-top:1px solid var(--line);gap:12px}
html.hscan-desktop .bottom-nav-item{min-height:46px;font-size:14px}
html.hscan-desktop .desktop-trader-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}
html.hscan-desktop .desktop-trader-tabs button{min-height:42px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-size:14px;cursor:pointer}
html.hscan-desktop .desktop-trader-tabs button[aria-selected=true]{background:var(--gold-soft);border-color:var(--blue);color:var(--blue)}
html.hscan-desktop [data-desktop-trader-hidden]{display:none!important}
html.hscan-desktop .desktop-trader-detail{margin-left:auto;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--blue);font-size:13px;cursor:pointer}
html.hscan-desktop :is(.drawer,.mobile-btc-modal,.mobile-news-modal,.mobile-search-modal,.quickstart-video-modal,.mobile-exchange-overlay,.notification-wave-filter-notice){position:fixed!important;inset:0!important;display:flex;align-items:center!important;justify-content:center!important;padding:24px!important;transform:none!important}
html.hscan-desktop :is(.drawer,.mobile-btc-modal,.mobile-news-modal,.mobile-search-modal,.quickstart-video-modal,.mobile-exchange-overlay,.notification-wave-filter-notice).hidden{display:none!important}
html.hscan-desktop body :is(.drawer .drawer-sheet,.mobile-btc-sheet,.mobile-news-sheet,.mobile-search-sheet,.quickstart-video-dialog,.mobile-exchange-dialog,.notification-wave-filter-dialog){position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:min(100%,1040px)!important;max-width:1040px!important;max-height:calc(100dvh - 48px)!important;display:flex;flex-direction:column;border-radius:16px!important;overflow:hidden;background:var(--panel);color:var(--text)}
html.hscan-desktop body .drawer:is(.sort-layout,.filter-layout) .drawer-sheet,html.hscan-desktop body .mobile-exchange-dialog{width:min(100%,680px)!important}
html.hscan-desktop :is(.drawer-handle,.mobile-btc-handle,.mobile-news-handle){display:none!important}
html.hscan-desktop :is(.drawer-head,.mobile-btc-head,.mobile-news-head,.mobile-search-head,.quickstart-video-head){position:relative;top:auto;flex:none;padding:14px 18px;background:var(--panel);color:var(--text)}
html.hscan-desktop :is(.drawer-body,.mobile-btc-body,.mobile-news-list,.mobile-search-results){min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px}
html.hscan-desktop .drawer-body{flex:1 1 auto}
html.hscan-desktop .drawer-head h2{font-size:21px}
html.hscan-desktop .drawer-head p{font-size:13px}
html.hscan-desktop .drawer-body button,html.hscan-desktop .drawer-body input,html.hscan-desktop .drawer-body select{font-size:14px}
html.hscan-desktop .drawer-sheet:has(.hsr),html.hscan-desktop .drawer-sheet:has(.mobile-partner-opening){width:min(100%,1080px)!important}
html.hscan-desktop .drawer-body:has(.hsr){padding:12px 16px}
html.hscan-desktop .hsr-hero{padding:12px 16px;border-radius:10px}
html.hscan-desktop .hsr-member-benefits{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px;font-size:14px;line-height:1.5}
html.hscan-desktop .hsr-member-benefits li+li{margin-top:0}
html.hscan-desktop .hsr-purchase{margin-top:10px}
html.hscan-desktop .hsr-block{padding:10px 12px}
html.hscan-desktop .hsr-block-head{margin-bottom:8px}
html.hscan-desktop .hsr-networks{gap:8px}
html.hscan-desktop .hsr-network{min-height:48px;padding:7px 9px}
html.hscan-desktop .hsr-network.active{padding:6px 8px}
html.hscan-desktop .hsr-network b{font-size:13px}
html.hscan-desktop .hsr-network small{font-size:12px}
html.hscan-desktop .hsr-center .hsr-cta{gap:8px;margin-top:8px}
html.hscan-desktop .hsr-center .hsr-submit{min-height:40px;padding:8px 12px;font-size:16px!important}
html.hscan-desktop .hsr-center .hsr-support{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html.hscan-desktop .hsr-support button,html.hscan-desktop .hsr-support a{padding:6px;font-size:12px}
html.hscan-desktop .hsr-support b{font-size:12px}
html.hscan-desktop .hsr-recent{margin-top:10px}
html.hscan-desktop .hsr-order-empty{padding:8px}
html.hscan-desktop .hsr-recent .hsr-table-scroll{max-height:150px;overflow:auto}
html.hscan-desktop .hsr-detail-grid{grid-template-columns:240px minmax(0,1fr);gap:12px}
html.hscan-desktop .hsr-qr-frame{width:190px}
html.hscan-desktop :is(.hsr-qr-card,.hsr-amount,.hsr-warning,.hsr-desktop-address){padding:10px}
html.hscan-desktop .hsr-detail-main{gap:8px}
html.hscan-desktop .hsr-amount strong{font-size:28px}
html.hscan-desktop .mobile-partner-opening{display:grid;gap:8px}
html.hscan-desktop .mobile-partner-price{padding:10px 12px}
html.hscan-desktop .mobile-partner-benefits{margin-top:8px}
html.hscan-desktop .mobile-partner-payment-networks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html.hscan-desktop .mobile-partner-payment-step{padding:8px;gap:8px}
html.hscan-desktop .mobile-partner-payment-content{min-width:0}
html.hscan-desktop .mobile-partner-scan-payment-grid{gap:8px}
html.hscan-desktop .mobile-partner-scan-payment-grid img{width:96px;height:96px;object-fit:contain}
html.hscan-desktop .mobile-partner-contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html.hscan-desktop .mobile-partner-note{padding:8px;margin:0}
html.hscan-desktop .mobile-partner-opening .drawer-actions{margin-top:0}
html.hscan-desktop .signal-row,html.hscan-desktop .trader-position-card,html.hscan-desktop .trader-order-card{padding:16px}
html.hscan-desktop .hs-long-metric small{font-size:12px;line-height:1.4;white-space:normal}
html.hscan-desktop .hs-long-metric strong{font-size:15px;line-height:1.4}
html.hscan-desktop .hs-long-first-grid .hs-long-metric{grid-template-rows:auto auto}
html.hscan-desktop .mobile-partner-scan-payment-grid{grid-template-columns:1fr 1fr}
@media(min-width:1000px){
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments){grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:4px 18px;position:relative}
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments)>*{grid-column:1}
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-payment-step{grid-column:2;grid-row:1/span 7;padding-top:32px}
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-contact-title:not(.mobile-partner-contact-step){position:absolute;left:calc(44.45% + 10px);top:8px;z-index:1}
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-payment-networks{grid-template-columns:1fr;gap:3px}
 html.hscan-desktop .mobile-partner-network-card{gap:2px}
 html.hscan-desktop .mobile-partner-network-address{padding:5px 7px;grid-template-columns:24px minmax(0,1fr) auto;gap:2px 6px}
 html.hscan-desktop .mobile-partner-network-address img{width:24px;height:24px}
 html.hscan-desktop .mobile-partner-network-address>span{grid-column:2;grid-row:1}
 html.hscan-desktop .mobile-partner-network-address>em{grid-column:3;grid-row:1;white-space:nowrap}
 html.hscan-desktop .mobile-partner-network-address>code{grid-column:2/-1;grid-row:2;line-height:1.3}
 html.hscan-desktop .mobile-partner-network-warning{margin:0;font-size:12px}
 html.hscan-desktop .mobile-partner-network-warning img{width:16px;height:16px}
 html.hscan-desktop .mobile-partner-scan-payments{margin-top:4px;padding-top:4px;gap:4px}
 html.hscan-desktop .mobile-partner-scan-payment-grid a{padding:6px;gap:3px}
 html.hscan-desktop .mobile-partner-scan-payment-grid img{width:88px;height:88px}
 html.hscan-desktop .mobile-partner-contacts{grid-template-columns:1fr;gap:6px}
 html.hscan-desktop .mobile-partner-contacts :is(a,button){padding:7px;min-height:34px}
 html.hscan-desktop .mobile-partner-opening .detail-section{margin:0;padding:8px}
 html.hscan-desktop .mobile-partner-benefit-list{margin-top:4px;gap:4px;font-size:13px}
 html.hscan-desktop .mobile-partner-benefit-detail small{font-size:12px;line-height:1.4}
 html.hscan-desktop .mobile-partner-contact-step{font-size:14px}
 html.hscan-desktop .mobile-partner-price{grid-template-columns:1fr auto;align-items:center;gap:4px;padding:8px}
 html.hscan-desktop .mobile-partner-benefits{grid-column:1/-1;padding-top:6px;margin-top:2px}
 html.hscan-desktop .mobile-partner-benefits>strong{font-size:14px}
 html.hscan-desktop .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-benefits>strong{display:none}
 html.hscan-desktop .mobile-partner-payment-content>p{margin:0 0 4px}
 html.hscan-desktop .mobile-partner-contacts :is(a,button){display:flex;align-items:center;gap:6px;min-height:32px;padding:5px 7px}
 html.hscan-desktop .mobile-partner-contacts :is(a,button) strong{flex:1;font-size:13px;overflow-wrap:anywhere}
 html.hscan-desktop .mobile-partner-note{padding:6px;font-size:13px;display:grid;grid-template-columns:auto 1fr;column-gap:8px}
 html.hscan-desktop .mobile-partner-note>strong{grid-row:1/span 2}
 html.hscan-desktop .mobile-partner-note p{margin:0;line-height:1.4}
 html.hscan-desktop .mobile-partner-opening .detail-section{padding:0}
 html.hscan-desktop .mobile-partner-opening .detail-section h3{margin:0 0 4px}
 html.hscan-desktop .mobile-partner-opening .detail-grid{margin:0;padding:6px;gap:4px;font-size:13px}
 html.hscan-desktop .mobile-partner-opening .drawer-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 html.hscan-desktop .mobile-partner-opening .drawer-actions :is(a,button){min-height:34px;padding:5px;font-size:12px}
}
@media(min-width:1500px){html.hscan-desktop :is(.signal-list,.price-mover-list,.trader-mobile-list,.trader-mobile-manual-list){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){html.hscan-desktop :is(.signal-list,.price-mover-list,.trader-mobile-list,.trader-mobile-manual-list){grid-template-columns:1fr}html.hscan-desktop .mobile-main{padding:12px}html.hscan-desktop .mobile-topbar{padding:12px}html.hscan-desktop .hsr-member-benefits{display:block}html.hscan-desktop .hsr-center .hsr-support{grid-template-columns:repeat(2,minmax(0,1fr))}html.hscan-desktop .desktop-trader-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}html.hscan-desktop .mobile-partner-payment-networks{grid-template-columns:1fr}}
@media(max-width:600px){html.hscan-desktop .hsr-detail-grid{grid-template-columns:1fr}html.hscan-desktop :is(.drawer,.mobile-btc-modal,.mobile-news-modal,.mobile-search-modal){padding:12px!important}html.hscan-desktop body .drawer .drawer-sheet{max-height:calc(100dvh - 24px)!important}html.hscan-desktop .mobile-partner-contacts{grid-template-columns:1fr}}

/* Desktop typography and surfaces: match the reviewed desktop preview.
   Qualify controls as specifically as the inherited mobile rules. */
html.hscan-desktop{--bg:#f2f6fa;--panel:#ffffff;--line:#d6e2ec;--line-soft:#e7eef5;--text:#172d40;--muted:#5d7387;--blue:#1274b5;--gold-soft:#eaf2f9;--hs-long-card-bg:var(--panel);--hs-long-action-bg:var(--panel)}
html.hscan-desktop.hscan-v23-night{--bg:#0b1622;--panel:#172b3c;--line:#304a5e;--line-soft:#263e51;--text:#e8f1f8;--muted:#a0b5c8;--blue:#73c3ff;--gold-soft:#1e3548;--hs-long-card-bg:var(--panel);--hs-long-action-bg:var(--panel)}
html.hscan-desktop body{font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.5}
html.hscan-desktop body :is(button,input,select,textarea){font-family:inherit}
html.hscan-desktop body .mobile-topbar{background:var(--bg);color:var(--text);border-color:var(--line);padding:18px 20px 14px}
html.hscan-desktop body .mobile-brand{font-size:22px;line-height:1.4;font-weight:700;letter-spacing:.2px}
html.hscan-desktop body .mobile-top-primary-actions :is(button,a){font-size:13px;line-height:1.4;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-weight:400}
html.hscan-desktop body .mobile-top-actions :is(button,a){font-size:13px;line-height:1.4;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-weight:400}
html.hscan-desktop body .mobile-top-actions .mobile-home-center{background:var(--member-cta);color:#fff;border-color:var(--member-cta)}
html.hscan-desktop body .mobile-topbar .mobile-top-actions>:not([hidden]){font-size:13px;line-height:1.4;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--panel);font-weight:400}
html.hscan-desktop body .mobile-topbar .mobile-top-actions>.mobile-home-center{color:#fff;background:var(--member-cta);border-color:var(--member-cta)}
html.hscan-desktop body .mobile-main{padding:16px 20px 24px}
html.hscan-desktop body .radar-entry-grid.mode-strip{gap:8px;margin:14px 0}
html.hscan-desktop body .radar-entry-grid.mode-strip>:is(.mode-tab,.coin-search-trigger){min-height:46px;padding:10px 8px;font-size:14px;line-height:1.4;font-weight:400;border-radius:9px}
html.hscan-desktop body .pool-strip .pool-tab{min-height:40px;padding:9px 12px;font-size:14px;line-height:1.4;font-weight:400}
html.hscan-desktop body .mobile-controls :is(button,.sort-control-label){font-size:13px;line-height:1.4;min-height:36px}
html.hscan-desktop body .mobile-controls small{font-size:12px}
html.hscan-desktop body .mobile-controls .control-btn.wide{display:flex;align-items:center;gap:8px}
html.hscan-desktop body .mobile-controls .sort-control-label{min-height:0;flex:1;text-align:left}
html.hscan-desktop body .mobile-controls .sort-control-direction{flex:none}
html.hscan-desktop body .mobile-sticky-controls{box-shadow:none;border:0;border-radius:0;padding:0;margin:14px 0;background:transparent}
html.hscan-desktop body .pool-panel{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
html.hscan-desktop body .pool-panel .pool-head{padding:8px 0 14px;border:0;background:transparent}
html.hscan-desktop body .pool-head h1{font-size:19px;line-height:1.4;font-weight:600}
html.hscan-desktop body .pool-head p{font-size:13px;line-height:1.5}
html.hscan-desktop body .pool-head .pool-count{font-size:14px}
html.hscan-desktop body .signal-list{padding:0;gap:14px}
html.hscan-desktop body .signal-row.hs-long-card{width:100%;margin:0;padding:18px;border-radius:12px;background:var(--panel)}
html.hscan-desktop body .hs-long-head{gap:8px;align-items:center;flex-wrap:wrap}
html.hscan-desktop body .hs-long-head .hs-long-symbol{font-size:22px;line-height:1.3;font-weight:700}
html.hscan-desktop body .hs-long-head-long .hs-long-symbol{flex:0 1 auto}
html.hscan-desktop body .hs-long-head :is(.hs-long-wave,.hs-long-status){font-size:12px;font-weight:400;line-height:1.4}
html.hscan-desktop body .hs-long-card .hs-long-detail{color:var(--blue);font-size:13px;padding:5px 0}
html.hscan-desktop body .hs-long-card .favorite-v2-star{font-size:12px;min-height:30px;padding:4px 9px}
html.hscan-desktop body .hs-long-data-grid{margin-top:18px;padding-bottom:16px;column-gap:8px;row-gap:18px}
html.hscan-desktop body .hs-long-data-grid .hs-long-metric{text-align:center}
html.hscan-desktop body .hs-long-data-grid .hs-long-metric small{font-size:12px;line-height:1.4;letter-spacing:0;white-space:normal}
html.hscan-desktop body .hs-long-data-grid .hs-long-metric strong{margin-top:6px;font-size:16px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}
html.hscan-desktop body .hs-long-actions{gap:7px;margin-top:12px}
html.hscan-desktop body .hs-long-actions .hs-long-action{min-height:36px;padding:7px 5px;font-size:13px;font-weight:400}
html.hscan-desktop body .hs-long-card .hs-long-record-trigger{min-height:38px;margin-top:10px;padding-top:10px}
html.hscan-desktop body .hs-long-record-trigger :is(b,span){font-size:13px;font-weight:400}
html.hscan-desktop body .bottom-nav{padding:12px 20px;background:var(--bg);box-shadow:none}
html.hscan-desktop body .bottom-nav .bottom-nav-item{min-height:44px;font-size:14px;font-weight:400}
html.hscan-desktop body .fee-discount-nav-item :is(span,strong){font-size:12px;line-height:1.4}
html.hscan-desktop body .trader-card-metrics :is(span,small),html.hscan-desktop body .trader-mobile-strategy-field>span{font-size:12px;line-height:1.5}
html.hscan-desktop body .trader-card-metrics strong,html.hscan-desktop body .trader-mobile-strategy-field>strong{font-size:16px;line-height:1.4}
html.hscan-desktop body :is(.trader-card-head>strong,.trader-mobile-strategy-title .symbol){font-size:20px}
html.hscan-desktop body :is(.price-mover-name>strong,.anomaly-card-title>strong){font-size:20px}
html.hscan-desktop body :is(.price-mover-numbers span,.anomaly-metric small){font-size:12px}
html.hscan-desktop body :is(.price-mover-numbers b,.anomaly-metric strong){font-size:16px}
html.hscan-desktop body .mobile-market-overview .btc-tile{position:relative;display:grid;grid-template-columns:1.5fr 2fr;gap:6px 22px;min-height:150px;padding:18px 20px;border-radius:12px;background:var(--panel)}
html.hscan-desktop body .mobile-market-overview .mobile-market-heading{display:block;grid-column:1;grid-row:1;text-align:left;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .market-bias{font-size:13px;line-height:1.4;transform:none;justify-self:start}
html.hscan-desktop body .mobile-market-overview .mobile-market-heading .btc-action{position:absolute;right:20px;top:18px;font-size:12px;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .mobile-market-content{display:contents}
html.hscan-desktop body .mobile-market-overview .mobile-market-summary{grid-column:1;grid-row:2;align-items:flex-start;justify-content:center;gap:6px;text-align:left}
html.hscan-desktop body .mobile-market-overview .mobile-market-btc{justify-content:flex-start;gap:8px;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .btc-tile :is(.btc-symbol,.btc-live-price){font-size:27px;line-height:1.4;font-weight:700}
html.hscan-desktop body .mobile-market-overview .btc-tile .btc-change-line,html.hscan-desktop body .mobile-market-overview .btc-tile .btc-change-line strong{font-size:14px;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .mobile-market-coins{justify-content:flex-start;gap:14px;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .mobile-market-coins :is(span,strong){font-size:13px;line-height:1.4}
html.hscan-desktop body .mobile-market-overview .mobile-market-indices{grid-column:2;grid-row:1/span 2;height:110px;align-self:center;padding-left:20px;gap:18px;border-color:var(--line)}
html.hscan-desktop body .mobile-market-overview .mobile-market-index{height:110px}
html.hscan-desktop body .mobile-market-overview .mobile-market-index .index-name{top:10px;font-size:12px;line-height:18px;height:auto}
html.hscan-desktop body .mobile-market-overview .fear-index svg{top:32px;width:90px;height:48px}
html.hscan-desktop body .mobile-market-overview .mobile-market-index>strong{top:53px;font-size:27px;line-height:30px}
html.hscan-desktop body .mobile-market-overview .mobile-market-index small{top:87px;font-size:12px;line-height:16px}
html.hscan-desktop body .mobile-market-overview .season-track{top:40px;width:110px;height:6px}
html.hscan-desktop body .drawer-sheet:has(.hsr),html.hscan-desktop body .drawer-sheet:has(.mobile-partner-opening){line-height:normal}
@media(max-width:900px){html.hscan-desktop body .mobile-market-overview .btc-tile{grid-template-columns:1fr 1.5fr;gap:8px;padding:14px}html.hscan-desktop body .mobile-market-overview .mobile-market-heading .btc-action{display:none}html.hscan-desktop body .mobile-market-overview .btc-tile :is(.btc-symbol,.btc-live-price){font-size:23px}html.hscan-desktop body .mobile-market-overview .mobile-market-indices{padding-left:12px;gap:8px}html.hscan-desktop body .radar-entry-grid.mode-strip>:is(.mode-tab,.coin-search-trigger){font-size:13px}}

/* Apply the same desktop hierarchy to every board, not only the long pool. */
html.hscan-desktop body #anomalyPoolTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:14px 0;overflow:visible}
html.hscan-desktop body #anomalyPoolTabs>button{min-height:40px;padding:9px 12px;font-size:14px;line-height:1.4}
html.hscan-desktop body #anomalyMobileControls.price-mover-controls{padding:0;margin:0 0 16px;background:transparent}
html.hscan-desktop body #anomalyMobileControls .price-mover-sticky{gap:8px}
html.hscan-desktop body #anomalyMobileControls .price-mover-title h1{font-size:19px;line-height:1.4;margin:0}
html.hscan-desktop body #anomalyMobileControls .price-mover-title p{font-size:12px;line-height:1.5;margin:4px 0 0}
html.hscan-desktop body #anomalyMobileControls :is(.price-mover-switch,.price-mover-windows,.price-mover-modes)>button{min-height:38px;padding:8px 10px;font-size:13px;line-height:1.4}
html.hscan-desktop body #anomalyMobileControls .price-mover-sort>button{min-height:38px;padding:8px 10px;font-size:13px;line-height:1.4}
html.hscan-desktop body #anomalyMobileControls .price-mover-sort>button small{font-size:12px}
html.hscan-desktop body .price-mover-list{gap:14px;padding:0;align-items:stretch}
html.hscan-desktop body .price-mover-list>.price-mover-row{width:100%;margin:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:left}
html.hscan-desktop body .price-mover-list>.price-mover-row .price-mover-name strong{font-size:22px;line-height:1.3}
html.hscan-desktop body .price-mover-name>span{padding:3px 6px;font-size:12px;line-height:1.4}
html.hscan-desktop body .price-mover-compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;align-items:start}
html.hscan-desktop body .price-mover-compact-metrics>span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12px;line-height:1.4;white-space:normal;text-align:center}
html.hscan-desktop body .price-mover-compact-metrics b{font-size:16px;line-height:1.4;margin:0;font-weight:600;font-variant-numeric:tabular-nums}
html.hscan-desktop body .price-mover-flow-tags{gap:6px;margin-top:12px}
html.hscan-desktop body .price-mover-flow-tags .price-mover-flow-tag{font-size:12px;line-height:1.4;font-weight:400;padding:4px 7px}
html.hscan-desktop body .price-mover-meta{gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:10px;font-size:12px;line-height:1.5}
html.hscan-desktop body .price-mover-meta small{font-size:12px;line-height:1.5}
html.hscan-desktop body #anomalyMobileView .hscan-pool-action{font-size:13px;line-height:1.4;min-height:36px;padding:7px 9px}
html.hscan-desktop body #anomalyMobileView .hscan-pool-favorite{font-size:12px;line-height:1.4;min-height:30px;padding:4px 9px}
html.hscan-desktop body .oi-group-panel{padding:16px;border-color:var(--line);background:var(--panel)}
html.hscan-desktop body .oi-group-panel h2{font-size:19px;line-height:1.4}
html.hscan-desktop body .oi-group-panel p,html.hscan-desktop body .oi-group-columns{font-size:13px;line-height:1.5}
html.hscan-desktop body .oi-group-tabs button{font-size:13px;min-height:38px;padding:8px}
html.hscan-desktop body .oi-group-row{font-size:15px;line-height:1.5;min-height:46px}
html.hscan-desktop body .signal-list>.favorite-unified{grid-column:1/-1;padding:0}
html.hscan-desktop body .favorite-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html.hscan-desktop body .favorite-card{padding:18px;border-radius:12px;background:var(--panel)}
html.hscan-desktop body .favorite-card-head strong{font-size:22px;line-height:1.3}
html.hscan-desktop body .favorite-card-head>div:first-child{gap:12px}
html.hscan-desktop body .favorite-card-direction{font-size:12px;padding:3px 6px;line-height:1.4}
html.hscan-desktop body .favorite-card-joined{font-size:12px;line-height:1.5;margin-top:12px}
html.hscan-desktop body .favorite-card-metrics{padding-top:16px;margin-top:16px}
html.hscan-desktop body .favorite-card-metrics dt{min-height:1.5em;font-size:12px;line-height:1.4}
html.hscan-desktop body .favorite-card-metrics dd,html.hscan-desktop body .favorite-card-metrics [data-favorite-live-price],html.hscan-desktop body .favorite-card-metrics .favorite-joined-price{font-size:16px;line-height:1.4;margin-top:6px}
html.hscan-desktop body .favorite-card :is(.favorite-card-link,.favorite-watch-toggle){font-size:13px;min-height:30px;padding:4px 7px;line-height:1.4}
html.hscan-desktop body .favorite-simulated-pnl{font-size:12px;line-height:1.7;padding-top:12px;margin-top:16px}
html.hscan-desktop body :is(.favorite-view-tools,.favorite-view-filters) :is(button,select,label){font-size:13px;line-height:1.4;min-height:36px}
html.hscan-desktop body .signal-row:not(.hs-long-card){padding:18px;border-radius:12px;background:var(--panel)}
html.hscan-desktop body .signal-row .coin-cell>strong{font-size:22px;line-height:1.3}
html.hscan-desktop body .signal-row :is(.time-cell,.time-cell small,.badge){font-size:12px;line-height:1.4}
html.hscan-desktop body .signal-row .short-metric-line{font-size:12px;line-height:1.5;gap:18px 8px;margin-top:18px}
html.hscan-desktop body .signal-row .short-metric-line :is(span,small){font-size:12px;line-height:1.5}
html.hscan-desktop body .signal-row .short-metric-line b{font-size:16px;line-height:1.4;margin-top:5px}
html.hscan-desktop body .mobile-card-actions>[role=button]{min-height:34px;font-size:13px;padding:6px 9px;line-height:1.4}
html.hscan-desktop body :is(.trader-position-card,.trader-order-card,.trader-activity-card,.trader-history-card,.trader-mobile-strategy-card){padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);gap:14px}
html.hscan-desktop body .trader-mobile-section{padding:0;border:0;background:transparent}
html.hscan-desktop body .trader-mobile-section>header{margin:0 0 14px}
html.hscan-desktop body .trader-mobile-section h2{font-size:19px;line-height:1.4}
html.hscan-desktop body .trader-mobile-section :is(header p,header>span,.trader-card-foot,.trader-mobile-strategy-summary){font-size:12px;line-height:1.6}
html.hscan-desktop body .trader-card-metrics>div,html.hscan-desktop body .trader-mobile-strategy-field{text-align:center}
html.hscan-desktop body .trader-mobile-manual-filters button,html.hscan-desktop body .trader-mobile-more{font-size:13px;min-height:36px;padding:8px 12px}
@media(min-width:1500px){html.hscan-desktop body .favorite-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){html.hscan-desktop body .favorite-cards{grid-template-columns:1fr}html.hscan-desktop body #anomalyPoolTabs{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Desktop dialogs need their own text scale; mobile tables use 10–12px. */
html.hscan-desktop body #drawerBody{font-size:14px;line-height:1.6}
html.hscan-desktop body #drawerBody :is(p,li,label,dt,td,th,span,small,em,summary,code){font-size:14px;line-height:1.5}
html.hscan-desktop body #drawerBody :is(button,input,select,textarea,a){font-size:14px;line-height:1.5}
html.hscan-desktop body #drawerBody :is(h3,h4){font-size:18px;line-height:1.4}
html.hscan-desktop body #drawerBody :is(.detail-grid dd,.insight-metric b,.short-detail-field strong,.trader-card-metrics strong){font-size:16px;line-height:1.5}
html.hscan-desktop body #drawerBody :is(.detail-grid dd,.insight-metric b)>:is(span,b,strong){font-size:inherit}
html.hscan-desktop body #drawerBody :is(.market-matrix-row,.insight-table-row){font-size:14px;line-height:1.5;gap:10px;padding:10px 12px}
html.hscan-desktop body #drawerBody .market-matrix-row{grid-template-columns:64px minmax(0,.82fr) minmax(0,.82fr) minmax(0,1.15fr) minmax(0,1.15fr);min-height:64px}
html.hscan-desktop body #drawerBody .market-matrix-row>b{font-size:16px;line-height:1.5}
html.hscan-desktop body #drawerBody .market-matrix-row .fund-flow-cell strong{font-size:15px;line-height:1.5}
html.hscan-desktop body #drawerBody .market-matrix-head{min-height:58px}
html.hscan-desktop body #drawerBody .market-matrix-head small{font-size:13px}
html.hscan-desktop body #drawerBody :is(.detail-section h3,.insight-card h3){margin-bottom:12px}
html.hscan-desktop body #drawerBody :is(.insight-summary,.mobile-detail-load-status,.favorite-rule-note,.manual-strategy-end-panel){font-size:14px;line-height:1.65}
html.hscan-desktop body #drawerBody .mobile-detail-tabs button{font-size:14px;min-height:56px}
html.hscan-desktop body #drawerBody .sr-label{font-size:14px}
html.hscan-desktop body #drawerBody .sr-values strong,html.hscan-desktop body #drawerBody .sr-range{font-size:18px;line-height:1.5}
html.hscan-desktop body #drawerBody :is(.sr-values>span,.sr-status,.sr-source){font-size:13px;line-height:1.5}
html.hscan-desktop body #drawerBody :is(.favorite-5m-form legend,.favorite-5m-form legend strong){font-size:16px}
html.hscan-desktop body #drawerBody :is(.favorite-5m-form legend small,.favorite-5m-form .favorite-rule-note){font-size:13px}
html.hscan-desktop body #drawerBody .favorite-5m-form input::placeholder{font-size:14px}
html.hscan-desktop body #drawerBody :is(.hsr-network small,.hsr-support>strong,.hsr-support b,.hsr-support em,.hsr-order-empty,.hsr-block-head span){font-size:13px}
html.hscan-desktop body #drawerBody .hsr-support :is(button,a,span){font-size:13px}
html.hscan-desktop body #drawerBody .hsr-amount strong{font-size:28px}
html.hscan-desktop body #drawerBody .hsr-price strong{font-size:32px}
html.hscan-desktop body #drawerBody .mobile-partner-price>strong{font-size:28px}
html.hscan-desktop body #drawerBody :is(.mobile-partner-benefit-detail small,.mobile-partner-network-warning,.mobile-partner-network-address code,.mobile-partner-network-address em,.mobile-partner-scan-payment-grid small,.mobile-partner-contacts em,.mobile-partner-contacts span){font-size:13px}
html.hscan-desktop body #drawerBody .mobile-partner-network-warning strong{font-size:inherit}
html.hscan-desktop body #drawerBody .sort-choice-direction{font-size:13px}
html.hscan-desktop body .drawer-head :is(button,.drawer-detail-action){font-size:14px;line-height:1.5;min-height:34px}
html.hscan-desktop body .drawer-head h2{font-size:22px;line-height:1.4}
html.hscan-desktop body #drawerQuickstartVideo span{font-size:14px;line-height:1.5}
html.hscan-desktop body #drawerSub{font-size:14px;line-height:1.5}
html.hscan-desktop body #drawerBody [style*="font-size"]{font-size:14px!important}
html.hscan-desktop body #drawerBody :is(.fee-discount-calc-intro,.notification-server-state){font-size:14px;line-height:1.5}
html.hscan-desktop body #drawerBody .mobile-onboarding-entry span{font-size:14px}
html.hscan-desktop body #drawerBody .hsr-hero{padding:8px 12px}
html.hscan-desktop body #drawerBody .hsr-network{padding:5px 9px;min-height:52px}
html.hscan-desktop body #drawerBody .hsr-network.active{padding:4px 8px}
html.hscan-desktop body #drawerBody .hsr-network :is(b,small){line-height:1.3}
html.hscan-desktop body #drawerBody .hsr-support :is(button,a){padding:4px 6px}
html.hscan-desktop body #drawerBody .hsr-recent{margin-top:6px}
html.hscan-desktop body #drawerBody .hsr-recent h3{margin:0 0 6px}
@media(min-width:1000px){
 html.hscan-desktop body .drawer-sheet:has(.mobile-partner-opening){width:min(100%,1160px)!important;max-width:1160px!important}
 html.hscan-desktop body #drawerBody:has(.mobile-partner-opening){padding:10px 14px}
 html.hscan-desktop body #drawerBody .mobile-partner-payment-step{padding:20px 7px 7px}
 html.hscan-desktop body #drawerBody .mobile-partner-network-address{padding:4px 6px;gap:1px 6px}
 html.hscan-desktop body #drawerBody .mobile-partner-network-address :is(span,em,code){font-size:13px;line-height:1.3}
 html.hscan-desktop body #drawerBody .mobile-partner-network-warning{font-size:13px;line-height:1.3}
 html.hscan-desktop body #drawerBody .mobile-partner-scan-payment-grid img{width:72px;height:72px}
 html.hscan-desktop body #drawerBody .mobile-partner-scan-payment-grid a{padding:4px;gap:2px}
 html.hscan-desktop body #drawerBody .mobile-partner-scan-payment-grid a{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;column-gap:6px;text-align:left;align-items:center}
 html.hscan-desktop body #drawerBody .mobile-partner-scan-payment-grid img{grid-column:1;grid-row:1/3}
 html.hscan-desktop body #drawerBody .mobile-partner-scan-payment-grid :is(strong,small){grid-column:2}
 html.hscan-desktop body #drawerBody .mobile-partner-benefit-list{gap:2px}
 html.hscan-desktop body #drawerBody .mobile-partner-contacts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 html.hscan-desktop body #drawerBody .mobile-partner-contacts :is(a,button){flex-wrap:wrap;gap:2px 4px;align-content:center}
 html.hscan-desktop body #drawerBody .mobile-partner-contacts em{order:1;margin-left:auto}
 html.hscan-desktop body #drawerBody .mobile-partner-contacts strong{order:2;flex-basis:100%;font-size:13px;line-height:1.5}
}
html.hscan-desktop body :is(#mobileSearchModal,#mobileBtcModal,#mobileNewsModal,.mobile-help-overlay,.mobile-exchange-overlay,.quickstart-video-modal,.notification-wave-filter-notice) :is(p,li,label,span,small,em,code,button,input,select){font-size:14px;line-height:1.5}
html.hscan-desktop body #mobileSearchModal :is(.mobile-search-head h2,.search-action-card strong){font-size:20px}
html.hscan-desktop body #mobileSearchModal .search-action-line>button{font-size:14px;min-height:38px}
html.hscan-desktop body #mobileSearchModal .search-action-card p{font-size:14px}
html.hscan-desktop body :is(.mobile-help-head h3,.mobile-btc-head h2,.mobile-news-head h2,.quickstart-video-head h3){font-size:22px;line-height:1.4}
html.hscan-desktop body .mobile-help-content{font-size:14px;line-height:1.7}
html.hscan-desktop body .mobile-help-dialog{width:min(100%,800px);max-height:calc(100dvh - 48px)}
html.hscan-desktop body #drawerBody :is(figcaption,.wave-flow-freshness,.wave-flow-tooltip,.wave-flow-legend,.wave-flow-history-list>div){font-size:14px;line-height:1.5}
html.hscan-desktop body #mobileBtcModal :is(td,th,.mobile-btc-table-hint,.mobile-btc-analysis){font-size:14px;line-height:1.5}
html.hscan-desktop body #mobileBtcModal :is(.mobile-btc-metric strong,.mobile-btc-table strong){font-size:16px;line-height:1.5}
@media(max-width:700px){html.hscan-desktop body #drawerBody .market-matrix-table{overflow-x:auto}html.hscan-desktop body #drawerBody .market-matrix-row{min-width:600px}}
/* LiuZai desktop payment: explicit grid flow, never an absolute title. */
@media(min-width:1000px){
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments){grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);gap:10px 18px;align-items:start}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-price{grid-column:1;grid-row:1/span 2;padding:12px 14px;gap:6px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-contact-title:not(.mobile-partner-contact-step){position:static;inset:auto;grid-column:2;grid-row:1;margin:0;line-height:1.5;font-size:17px;z-index:auto}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-payment-step{grid-column:2;grid-row:2/span 6;align-self:start;padding:12px;gap:9px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-contact-step{grid-column:1;grid-row:3;line-height:1.5;margin:0;gap:7px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-contacts{grid-column:1;grid-row:4;gap:7px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.mobile-partner-note{grid-column:1;grid-row:5;display:block;padding:10px 12px;border:1px solid var(--line);border-radius:8px;line-height:1.6}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.detail-section{grid-column:1;grid-row:6}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments)>.drawer-actions{grid-column:1;grid-row:7}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-payment-content>p{margin:0 0 10px;line-height:1.5;font-size:14px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-network-address{padding:7px 9px;gap:3px 8px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-network-address code{font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-network-warning{margin:4px 0 0;line-height:1.45;font-size:12px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-payment-networks{gap:8px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-scan-payments{margin-top:10px;padding-top:10px;gap:6px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-scan-payment-grid a{grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;padding:8px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-scan-payment-grid img{width:92px;height:92px;grid-column:1;grid-row:1/span 2;object-fit:contain}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-scan-payment-grid span{grid-column:2;grid-row:1;align-self:end;font-size:13px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-scan-payment-grid small{grid-column:2;grid-row:2;align-self:start;font-size:12px}
 html.hscan-desktop body #drawerBody .mobile-partner-opening:has(.mobile-partner-scan-payments) .mobile-partner-benefit-detail small{font-size:13px;line-height:1.6}
}

/* Desktop header install entry; yellow with dark text in both themes. */
html.hscan-desktop body .mobile-top-primary-actions #desktopInstallPhoneBtn{
  background:#f5c451;color:#30220a;border-color:#d8a735;font-weight:650;white-space:nowrap;
}
html.hscan-desktop body .mobile-top-primary-actions #desktopInstallPhoneBtn:hover{background:#ffda76;border-color:#e0b13e}
html.hscan-desktop body .mobile-top-primary-actions #desktopInstallPhoneBtn:focus-visible{outline:3px solid var(--accent,#2189d2);outline-offset:3px}
