/* Every change to the existing interface is restricted to phone layouts. */
.mobile-bottom-nav,.mobile-table-controls,.mobile-filter-summary,.mobile-chart-details,.mobile-list-menu{display:none}
.tab .mobile-list-menu{display:none}
.mobile-sheet{width:calc(100% - 16px);max-width:540px;max-height:88dvh;padding:0;border:1px solid #2b3545;border-radius:18px 18px 0 0;background:#10161f;color:#e0e7f1;overscroll-behavior:contain}
.mobile-sheet::backdrop{background:#02050ab5;backdrop-filter:blur(5px)}
.mobile-sheet>header{position:relative;z-index:2;display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:8px 16px;background:transparent;border-bottom:1px solid #ffffff08;margin:0}
.mobile-sheet h2{font-size:18px;margin:0;font-weight:600;letter-spacing:-.025em}
.mobile-sheet>header button{display:grid;place-items:center;width:44px;height:44px;padding:0;background:transparent;border:0;border-radius:50%;color:#9eacc0}
.mobile-sheet>header button svg{width:18px;height:18px}
.mobile-sheet-body{padding:14px 16px max(18px,env(safe-area-inset-bottom))}
.mobile-sheet button{font-family:inherit;touch-action:manipulation}
.mobile-sheet button:focus-visible,.mobile-bottom-nav button:focus-visible,.mobile-table-controls button:focus-visible{outline:2px solid #90b3e7;outline-offset:2px}
.mobile-sheet [hidden]{display:none!important}
.mobile-sheet-note{margin:12px 0 18px;font-size:12px;line-height:1.6;color:#8f9db1}
.mobile-sheet-footer{display:flex;flex-shrink:0;gap:8px;padding:12px 16px max(16px,env(safe-area-inset-bottom));background:#111820;border-top:1px solid #ffffff0b}
.mobile-sheet-footer button,.mobile-detail-actions button,.mobile-primary{min-height:44px;padding:10px 14px;border:1px solid #2a3749;border-radius:8px;background:#17212f;color:#dbe5f3;font-size:12px;font-weight:500}
.mobile-sheet-footer button{flex:1}
.mobile-sheet button.mobile-primary{background:#263c57;border-color:#3d587b;color:#edf4ff}
.mobile-sheet .mobile-detail-content{position:static;display:block;width:auto!important;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.mobile-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:16px}

@media(max-width:700px), (pointer:coarse) and (max-width:1000px) and (max-height:600px){
 body{min-width:0}
 body.mobile-sheet-open{overflow:hidden}
 #company-tooltip{display:none!important}
 .shell{width:calc(100% - 20px);padding-top:max(10px,env(safe-area-inset-top));padding-bottom:calc(86px + env(safe-area-inset-bottom));margin-inline:auto}
 .topbar{margin-bottom:8px}
 body .market-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px;padding:3px;max-width:100%;gap:1px;overflow:hidden;border-radius:9px;border-color:#ffffff09;scroll-snap-type:none}
 body .market-overview .overview-custom{width:auto;min-width:0;max-width:100%;border:0}
 body .market-overview .overview-custom .overview-item{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-content:center;gap:2px 4px;height:38px;min-height:38px;width:100%;padding:4px 5px;box-sizing:border-box;touch-action:pan-y;background:transparent}
 body .market-overview .overview-name{grid-column:1/-1;gap:3px;min-width:0;padding-right:13px;line-height:12px}
 body .market-overview .overview-logo{width:11px;height:11px;flex-basis:11px;font-size:6px!important}
 body .market-overview .overview-label{font-size:9px;font-weight:500;line-height:12px;letter-spacing:-.01em;white-space:nowrap}
 body .market-overview .overview-proxy{font-size:6px;line-height:9px;padding:0 2px}
 body .market-overview .overview-item .overview-price{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:500;line-height:13px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
 body .market-overview .overview-item strong{margin:0;min-width:0;font-size:9px;font-weight:500;line-height:13px;letter-spacing:-.025em;white-space:nowrap}
 body .market-overview .overview-remove{top:1px;right:0;width:18px;height:18px;padding:0;font-size:10px;line-height:18px;border-radius:5px;color:#728093;opacity:.6}
 body .market-overview .overview-add{width:100%;min-height:38px;padding:0;border:0;border-radius:5px;background:transparent;font-size:16px;color:#8091a8}
 .manager-toolbar{display:none!important}
 .panel{border-radius:12px;border-color:#ffffff0e;overflow:hidden;background:#10151c}
 .panel-head{min-height:48px;padding:8px 10px;gap:8px;flex-wrap:nowrap}
 .panel-head h2{font-size:16px;line-height:22px}
 .panel-head .title-row{gap:8px;min-width:0}
 .panel-head #list-meta{display:none}
 .panel-head .result-count{font-size:11px;color:#8f9eb3}
 .panel-head .panel-actions{width:auto;flex-shrink:0;gap:0}
 .panel-head .watchlist-actions{width:auto}
 .panel-head #add-asset{min-height:38px;padding:8px 10px}
 .watchlist-welcome{max-width:none;margin:12px auto;padding:0;text-align:center;font-size:11px;line-height:1.6;color:#7e8fa6}
 body .shell>.tabs.region-navigation{display:block;margin:0 0 8px;padding:2px 9px;border:1px solid #ffffff0b;border-radius:9px;background:#0e141c;scroll-margin-top:8px}
 body .shell>.tabs .region-group{display:block;padding:5px 0}
 body .shell>.tabs .region-heading{display:flex;align-items:center;gap:6px;width:auto;min-height:16px;margin:0 0 5px;font-size:10px;line-height:16px;color:#92a3b9;letter-spacing:.01em}
 body .shell>.tabs .region-emblems{width:34px;flex:0 0 34px;justify-content:flex-start}
 body .shell>.tabs .region-emblems img{width:14px;height:10px;border-radius:1.5px}
 body .shell>.tabs .region-emblems img+img{margin-inline-start:-3px}
 body .shell>.tabs .region-symbol{height:15px}
 body .shell>.tabs .region-symbol .region-icon,body .shell>.tabs .region-symbol .watchlist-icon{width:14px;height:14px}
 body .shell>.tabs .region-watchlists{display:flex;flex-wrap:wrap;width:100%;max-width:100%;gap:4px;align-items:center}
 body .shell>.tabs .tab{min-width:0;max-width:100%;min-height:30px;padding:4px 7px;gap:4px;border-radius:6px;line-height:18px;background:#171f2a;border-color:#ffffff08;touch-action:pan-y}
 body .shell>.tabs .tab .watchlist-title{gap:4px;min-width:0;font-size:10px;font-weight:500;line-height:18px;white-space:nowrap}
 body .shell>.tabs .tab .watchlist-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:18px}
 body .shell>.tabs .tab .watchlist-icon{width:12px;height:12px;flex-basis:12px}
 body .shell>.tabs .tab.active{background:#25374b;border-color:#6683a770;color:#edf4ff}
 body .shell>.tabs .tab.active:has(.mobile-list-menu){padding-right:28px}
 body .shell>.tabs .watchlist-rename,body .shell>.tabs .watchlist-delete,body .shell>.tabs .mobile-list-menu{display:none}
 body .shell>.tabs .tab.active .mobile-list-menu{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;width:26px;color:#adbed3;border-radius:5px;cursor:pointer}
 body .shell>.tabs .watchlist-create{width:30px;height:30px;min-width:30px;min-height:30px;flex:0 0 30px;border:1px dashed #ffffff14;border-radius:6px;color:#94a6bd}
 body .shell>.tabs .watchlist-create::before{display:none}
 body .shell>.tabs .watchlist-create svg{width:12px;height:12px}
 body .site-actions.standalone{margin:2px 0 8px}
 body .site-actions.standalone button{min-height:28px;padding:3px 7px;font-size:9px}
 .mobile-table-controls{display:flex;align-items:center;gap:8px;padding:3px 8px 9px;border-bottom:1px solid #ffffff09}
 .mobile-periods{display:flex;flex:1;min-width:0;gap:2px;padding:2px;background:#0b1017;border:1px solid #ffffff05;border-radius:9px}
 .mobile-periods button{flex:1;min-width:0;min-height:38px;padding:6px 0;border:0;border-radius:6px;background:transparent;color:#99a8bc;font-weight:500;font-family:inherit;font-size:12px}
 .mobile-periods button[aria-pressed=true]{background:#25344a;color:#edf3fc;box-shadow:0 1px 4px #0003}
 .mobile-filter-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 9px;border:1px solid #ffffff0c;border-radius:9px;background:transparent;color:#aebed3;font:inherit;font-size:12px}
 .mobile-filter-button svg{width:16px;height:16px}
 .mobile-filter-button.has-filters{border-color:#526e92;color:#d2e4ff}
 .mobile-filter-button[hidden],.mobile-filter-summary[hidden]{display:none}
 .mobile-filter-summary{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:7px 10px;border-bottom:1px solid #202936}
 .mobile-filter-summary button{flex-shrink:0;min-height:32px;padding:5px 9px;border:0;border-radius:6px;background:#1b2a3c;color:#b9cce7;font-family:inherit;font-size:11px}
 body .table-wrap{overflow-x:clip}
 body .table-wrap table,body:not(.show-intraday) .table-wrap table{min-width:0;width:100%;table-layout:fixed}
 body .table-wrap th,body .table-wrap td{padding:6px 5px;min-width:0;box-sizing:border-box}
 body .table-wrap th{height:36px;font-size:10.5px;letter-spacing:0;text-transform:none;white-space:nowrap;color:#9cabbe}
 body .table-wrap td{height:49px;font-size:12.5px;border-bottom-color:#ffffff06}
 body .table-wrap tbody tr:hover,body .table-wrap tbody tr[data-url]:hover{background:transparent}
 body .table-wrap tbody tr:active{background:#ffffff05}
 body .table-wrap th:first-child{width:32%;padding-left:9px}
 body .table-wrap td:first-child{padding-left:9px}
 body .table-wrap .price-column{width:29%;font-size:12.5px;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
 body .table-wrap th.price-column{font-size:10.5px;letter-spacing:0}
 body .table-wrap .long-price{font-size:10.5px}
 body .table-wrap [data-mobile-performance]{display:none!important;width:17%}
 body[data-mobile-period=change] .table-wrap [data-mobile-performance=change],body[data-mobile-period=week] .table-wrap [data-mobile-performance=week],body[data-mobile-period=month] .table-wrap [data-mobile-performance=month],body[data-mobile-period=ytd] .table-wrap [data-mobile-performance=ytd],body[data-mobile-period=year] .table-wrap [data-mobile-performance=year]{display:table-cell!important}
 body .table-wrap .market-cap-column,body .table-wrap .market-cap,body .table-wrap .stock-value-column,body .table-wrap .ranking-value-column{width:22%;font-size:12px;white-space:nowrap;padding-right:9px;color:#c4d0df}
 body .table-wrap th.market-cap-column,body .table-wrap th.stock-value-column,body .table-wrap th.ranking-value-column{font-size:10.5px;white-space:normal}
 body .table-wrap .context-column{display:none!important}
 body .table-wrap .asset{min-width:0;gap:6px}
 body .table-wrap .asset>span:last-child{min-width:0;flex:1}
 body .table-wrap .asset-symbol{font-size:12.5px;font-weight:550;gap:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .table-wrap .asset-mark{display:flex;flex:0 0 20px;width:20px;height:20px;border-radius:6px}
 body .table-wrap .asset-mark img{width:20px;height:20px}
 body .table-wrap .asset-fallback{font-size:8px}
 body .table-wrap .asset-name,body .table-wrap .asset-location,body .table-wrap .rank,body .table-wrap .favorite-button,body .table-wrap .remove-asset,body .table-wrap .drag-handle,body .table-wrap .ranking-asset-type{display:none!important}
 body .table-wrap .change{font-size:12px;min-width:0;padding:0;white-space:nowrap;letter-spacing:-.025em}
 body .table-wrap .quote-unit,body .table-wrap .ranking-metric,body .table-wrap .stock-date{display:block;margin-top:2px;font-size:9px;line-height:11px;white-space:normal;color:#8897ab;font-weight:400;letter-spacing:0}
 body .reorderable-row{touch-action:pan-y}
 .pagination{padding:10px;font-size:11px;gap:8px}
 .pagination button{min-height:40px;min-width:40px}
 .sort-button{font-size:inherit;gap:2px;padding:5px 0}
 .mobile-bottom-nav{position:fixed;z-index:45;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px max(12px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid #ffffff0b;background:#10161ff2;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;border:0;border-radius:9px;background:transparent;color:#a0b0c4;font-family:inherit;font-size:11px;font-weight:500;touch-action:manipulation}
 .mobile-bottom-nav svg{width:21px;height:21px}
 .mobile-bottom-nav button[aria-expanded=true]{color:#d5e6ff;background:#1c2b3d}
 .mobile-keyboard .mobile-bottom-nav{display:none}
 .mobile-sheet{position:fixed;inset:auto 0 var(--mobile-keyboard-inset,0px);margin:0 auto;max-height:min(90dvh,calc(var(--mobile-visible-height,100dvh) - 12px));width:100%;max-width:600px;border-color:#ffffff11;border-bottom:0;border-radius:22px 22px 0 0;overflow:hidden;background:#111820}
 .mobile-sheet[open]{display:flex;flex-direction:column;animation:mobile-sheet-in .16s ease-out}
 .mobile-sheet-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .mobile-sheet-body::-webkit-scrollbar{display:none}
 .mobile-sheet::backdrop{background:#02050a99;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
 .mobile-sheet>header button:active{background:#ffffff08}
 .mobile-sheet>header button:hover{background:#ffffff05}
 .mobile-list-menu svg{width:16px;height:16px;pointer-events:none}
 .mobile-list-menu:focus-visible{outline:2px solid #90b3e7;outline-offset:-3px}
 #mobile-list-actions .mobile-sheet-body{display:grid;gap:8px}
 #mobile-list-actions .mobile-sheet-body button{min-height:46px;font-size:13px;text-align:left;border-color:#263448}
 #mobile-list-actions .mobile-sheet-body button:disabled{opacity:.3;cursor:default}
 #mobile-list-actions .mobile-sheet-body .mobile-destructive{color:#f39cab;background:#2c1c242e;border-color:#ed79951c}
 #mobile-filters .watchlist-sections{display:block;padding:0;border:0}
 #mobile-filters{height:min(90dvh,calc(var(--mobile-visible-height,100dvh) - 12px))}
 #mobile-filters .mobile-sheet-body{flex:1}
 .mobile-filter-tabs{display:flex;flex-shrink:0;gap:4px;margin:12px 16px 0;padding:3px;border-radius:9px;background:#0b1119}
 .mobile-filter-tabs button{flex:1;min-height:40px;border:0;border-radius:7px;background:transparent;color:#94a6be;font-size:12px}
 .mobile-filter-tabs button[aria-pressed=true]{background:#27374a;color:#ebf2fc}
 .mobile-filter-tabs button:hover:not([aria-pressed=true]),.mobile-search-scopes button:hover:not([aria-pressed=true]){background:#ffffff04}
 #mobile-filters .section-buttons{display:grid;grid-template-columns:1fr;gap:2px}
 #mobile-filters .section-filter{display:flex;justify-content:flex-start;min-width:0;min-height:46px;padding:10px;font-size:13px;background:transparent;border:1px solid transparent;border-bottom-color:#ffffff07;border-radius:7px}
 #mobile-filters .section-filter small{margin-left:auto;font-size:11px;color:#899cb4}
 #mobile-filters .section-filter.active{background:#243449;border-color:#809bc324}
 #mobile-filters .section-filter:disabled{opacity:.35}
 #mobile-filters .section-performance{min-width:62px;text-align:right;font-size:11px}
 #mobile-filters .crypto-rank-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0;margin:0;border:0}
 #mobile-filters .rank-filter-label{display:none}
 #mobile-filters[data-filter-view=rank] .section-buttons,#mobile-filters[data-filter-view=category] .crypto-rank-filters{display:none}
 #mobile-filters .crypto-rank-filters .section-filter{min-height:66px;background:#171f29;border-color:#ffffff08}
 #mobile-filters .crypto-rank-filters .section-filter.active{background:#243449;border-color:#809bc324}
 #mobile-filters .crypto-rank-filters .section-filter{flex-wrap:wrap;gap:3px 8px}
 #mobile-filters .crypto-rank-filters .section-performance{flex-basis:100%;min-width:0}
 .mobile-search-scopes{display:flex;gap:4px;margin-bottom:14px;padding:3px;background:#0c121b;border-radius:9px}
 .mobile-search-scopes button{flex:1;min-height:40px;padding:8px;border:0;border-radius:7px;background:transparent;color:#8396b0;font-size:12px}
 .mobile-search-scopes button[aria-pressed=true]{background:#24354b;color:#e4edfb}
 .mobile-search-scopes button:disabled{opacity:.4}
 #mobile-search .search-wrap,#mobile-search .global-search-wrap{display:block;width:100%;max-width:none;margin:0}
 #mobile-search input{width:100%;min-height:48px;height:48px;padding:10px 12px 10px 38px;border:1px solid #334459;border-radius:10px;background:#0c131d;color:#e1ebf8;font-size:16px;margin:0}
 #mobile-search input:focus{outline:none;border-color:#7393bc;box-shadow:0 0 0 3px #8eafdc10}
 #mobile-search .search-wrap>svg{display:block;width:16px;height:16px;left:13px}
 #mobile-search .global-search-wrap::before{top:17px;left:14px}
 #mobile-search .global-search-wrap::after{top:28px;left:24px}
 #mobile-search .mobile-primary{width:100%}
 #mobile-search #global-results{position:static;width:100%;max-height:none;margin:12px 0 0;border:0;box-shadow:none;background:transparent}
 #mobile-search .global-result{padding:12px 0;border-bottom:1px solid #ffffff0c}
 #mobile-search .global-result strong{font-size:13px;line-height:1.5}
 #mobile-search .global-destinations{gap:6px}
 #mobile-search .global-destinations button{min-height:40px;padding:8px 10px;font-size:11.5px;border-color:#ffffff10;background:#1b2737;color:#c3d0e3}
 #mobile-alerts .mobile-sheet-body{display:grid;gap:10px}
 .mobile-alert-summary{display:flex;align-items:center;gap:14px;margin:2px 0 12px}
 .mobile-alert-summary>svg{flex:0 0 24px;width:24px;height:24px;color:#7f94ae}
 .mobile-alert-summary strong{font-size:17px;font-weight:550;color:#e4edf8;letter-spacing:-.02em}
 .mobile-alert-summary p{font-size:12px;line-height:1.65;margin:6px 0 0;color:#96a6bc}
 .mobile-alert-summary[data-enabled=true]>svg{color:#8ab1e7}
 #mobile-alerts .movement-setting{display:flex;align-items:center;gap:10px;min-height:60px;padding:12px 14px;margin:0;border:1px solid #ffffff0c;border-radius:11px;background:#18212c;font-size:14px;color:#dce6f3}
 #mobile-alerts .movement-setting input{order:2;appearance:none;flex:0 0 44px;width:44px;height:26px;padding:0;margin:0 0 0 auto;border:1px solid #4b596c;border-radius:30px;background:#2a3442;cursor:pointer}
 #mobile-alerts .movement-setting input::after{width:18px;height:18px;top:3px;left:3px;background:#b3bfd0;transform:none}
 #mobile-alerts .movement-setting input:checked{border-color:#789aca;background:#547eb5}
 #mobile-alerts .movement-setting input:checked::after{transform:translateX(18px);background:#fff}
 #mobile-alerts #alert-history-button,#mobile-alerts #alert-settings-button{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:12px 14px;border:1px solid #ffffff08;border-radius:10px;background:transparent;color:#bccce0;font-size:13px;justify-content:flex-start}
 #mobile-alerts #alert-history-button svg,#mobile-alerts #alert-settings-button svg{width:18px;height:18px}
 #mobile-alerts .history-badge{margin-left:auto;min-width:24px;padding:3px 6px;border-radius:6px;font-size:11px;background:#26384f;color:#becfeb}
 #asset-chart-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}
 #asset-chart-dialog header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding: max(7px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left))}
 #asset-chart-title{grid-column:1;grid-row:1;min-width:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #asset-chart-dialog .chart-actions{grid-column:2;grid-row:1;display:flex;gap:2px;margin:0}
 #asset-chart-dialog .chart-actions a{display:flex;align-items:center;justify-content:center;width:32px;min-height:42px;font-size:0}
 #asset-chart-dialog .chart-actions a::after{content:'↗';font-size:19px;color:#a6bbd7}
 #asset-chart-dialog .chart-actions .mobile-chart-details{display:block;min-height:42px;padding:8px 10px;border:1px solid #2c3b4f;border-radius:7px;background:#192637;color:#c8dcf8;font-size:12px}
 #asset-chart-dialog .chart-actions .mobile-chart-details[hidden]{display:none}
 #close-asset-chart{width:42px;height:42px}
 #asset-chart-dialog .chart-intervals{grid-column:1 / -1;grid-row:2;display:flex;gap:4px;flex-basis:auto}
 #asset-chart-dialog .chart-intervals[hidden]{display:none}
 #asset-chart-dialog .chart-intervals button{flex:1;min-height:36px}
 #asset-chart-dialog .chart-metrics{grid-column:1 / -1;grid-row:3;display:flex;flex-basis:auto;gap:24px;margin:0;padding:7px 0 0;border:0}
 #asset-chart-dialog .chart-metrics dt{font-size:9px}
 #asset-chart-dialog .chart-metrics dd{font-size:12px}
 #chart-help{font-size:9px;margin:5px 10px}
 #manage-dialog,#alert-settings-dialog,#alert-history-dialog{max-width:calc(100% - 16px);max-height:calc(var(--mobile-visible-height,100dvh) - 20px);overflow:auto}
 #manage-dialog input:not([type=checkbox]),#manage-dialog select,#alert-history-dialog input:not([type=checkbox]),#alert-history-dialog select,#alert-settings-dialog input:not([type=checkbox]),#alert-settings-dialog select{font-size:16px;min-height:44px}
 #alert-settings-dialog{padding:18px 16px;border-color:#ffffff16;border-radius:16px}
 #alert-settings-dialog header{top:-18px;padding:8px 0;background:#121923}
 #close-alert-settings{width:44px;height:44px;padding:0;font-size:22px;border:0;background:transparent}
 #alert-settings-dialog .alert-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #alert-settings-dialog .alert-fields label:last-child:nth-child(3){grid-column:1 / -1}
 #alert-settings-dialog fieldset{padding:12px;border-color:#ffffff0d;border-radius:10px}
 #alert-settings-dialog .alert-explanation{font-size:12px;line-height:1.7}
 #alert-settings-dialog .alert-form-actions button{min-height:44px}
 #alert-history-dialog{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}
 #alert-history-dialog .history-close{width:44px;height:44px}
 #alert-history-dialog .history-header{padding:14px 16px;border-color:#ffffff0b}
 #history-title{font-size:20px}
 #alert-history-dialog .history-tools input{appearance:auto;flex:0 0 18px;width:18px;height:18px;padding:0;margin:0;accent-color:#7b9fce}
 #alert-history-dialog .history-tools input::after{content:none}
 #alert-history-dialog .history-tools label,#alert-history-dialog #history-mark-read{min-height:40px;font-size:12px}
 #alert-history-dialog .history-entry[data-unread=true]{background:#1c2a3c}
 #alert-history-dialog .history-entry-meta,#alert-history-dialog .history-company{font-size:11px}
 .mobile-detail-content .tip-heading strong{font-size:19px;letter-spacing:-.025em}
 .mobile-detail-content .tip-heading div>span{font-size:12px;line-height:1.6}
 .mobile-detail-content .tip-summary{font-size:14px;line-height:1.7;margin:16px 0;color:#c5d1e2}
 .mobile-detail-content .tip-theme{font-size:11px;padding:4px 8px;background:#253347;color:#bdcfe8}
 .mobile-detail-content .tip-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 16px;padding-top:16px}
 .mobile-detail-content .tip-facts small{font-size:10.5px;letter-spacing:.025em;color:#98a9c0}
 .mobile-detail-content .tip-facts b{font-size:14px;line-height:1.6}
 .mobile-detail-content .tip-fact em,.mobile-detail-content .tip-note,.mobile-detail-content .tip-profile-meta{font-size:11px;line-height:1.6;color:#8ea1bb}
 .mobile-detail-content .tip-memberships,.mobile-detail-content .tip-event{font-size:12px;line-height:1.7}
 .mobile-detail-content .tip-memberships small,.mobile-detail-content .tip-event small,.mobile-detail-content .tip-unlock em{font-size:10.5px}
 .mobile-detail-actions button{font-size:13px;min-height:46px}
 .mobile-detail-actions button:only-child{grid-column:1 / -1}
 #movement-toasts{right:max(10px,env(safe-area-inset-right));bottom:calc(72px + env(safe-area-inset-bottom));width:min(234px,calc(100vw - 24px));gap:5px}
 #movement-toasts .movement-toast{border-radius:7px;box-shadow:0 3px 14px #0004}
 #movement-toasts .movement-toast-open{min-height:44px;padding:6px 30px 6px 9px;line-height:13px}
 #movement-toasts strong{display:block;font-size:11px;line-height:14px;font-weight:600;overflow-wrap:anywhere}
 #movement-toasts p{margin:1px 0 0;font-size:9.5px;line-height:12px}
 #movement-toasts .movement-toast-secondary,#movement-toasts p br{display:none}
 #movement-toasts .movement-toast-hint{display:block;margin-top:3px;font-size:9px;line-height:12px;overflow-wrap:anywhere}
 #movement-toasts .movement-toast-close{top:0;right:0;width:28px;height:42px;font-size:14px;border-radius:6px;color:#91a1b6}
}
@media(max-width:375px){
 body .shell>.tabs .tab{padding-left:6px;padding-right:6px}
 body .shell>.tabs .tab .watchlist-title{font-size:9.5px}
}
@media(max-width:360px){
 body .table-wrap .price-column,body .table-wrap .market-cap,body .table-wrap .ranking-value-column,body .table-wrap .stock-value-column{font-size:11.5px}
 body .table-wrap .change{font-size:11px}
 body .table-wrap .long-price{font-size:9px}
 body .table-wrap .asset{gap:4px}
 body .table-wrap .asset-symbol{font-size:11.5px}
 body .table-wrap th,body .table-wrap th.price-column,body .table-wrap th.market-cap-column{font-size:9.5px}
 #mobile-filters .section-filter{font-size:12px}
 .mobile-periods button,.mobile-filter-button{font-size:11px}
}
@keyframes mobile-sheet-in{from{opacity:.7;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.mobile-sheet[open]{animation:none}}
