.home-stocks{min-width:0;width:100%;border-radius:8px}
.market-hub .home-stocks .home-stocks-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:60px;padding:10px 12px}
.home-stocks-heading>div{min-width:0}
.market-hub .home-stocks .home-stocks-heading h2{font-size:14px;line-height:1.4;margin:0}
.home-stocks-heading p{margin:3px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.market-hub .home-stocks .home-stocks-heading>a{font-size:12px;flex-shrink:0;min-height:36px;display:flex;align-items:center;color:var(--text-2)}
.home-stocks-heading>a:hover{text-decoration:underline}
.home-stocks-workspace{min-width:0}
.home-stocks-embed{height:310px;min-width:0;background:var(--bg);border-bottom:1px solid var(--line-soft)}
.home-stocks-embed>.tradingview-widget-container{width:100%;height:100%;min-width:0}
.home-stocks-embed .tradingview-widget-container__widget{height:calc(100% - 32px);width:100%;min-width:0}
.home-stocks-embed iframe{display:block;max-width:100%;border:0}
.home-stocks-embed .tradingview-widget-copyright{height:32px;line-height:32px;font-size:12px;text-align:center;color:var(--muted)}
.home-stocks-embed .tradingview-widget-copyright a{color:var(--text-2)}
.home-stocks .stocks-placeholder{margin:0;padding:22px 14px;font-size:14px;line-height:1.8;color:var(--muted);text-align:center}
.home-stocks-embed[data-stocks-state=error]{height:auto;min-height:90px;display:flex;align-items:center;justify-content:center}
.home-stocks-status{display:flex;align-items:center;gap:8px;padding:8px 12px;min-width:0}
.home-stocks-status p{margin:0;font-size:12px;line-height:1.6;color:var(--muted);flex:1;min-width:0;overflow-wrap:anywhere}
.home-stocks-status button{flex-shrink:0;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font-size:12px;border-radius:6px;padding:6px 9px;min-height:36px;cursor:pointer}
.home-stocks:has(.home-stocks-embed[data-stocks-state=connected]) .home-stocks-status{display:none}
.home-stocks [hidden]{display:none!important}
.home-stocks-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line)}
.home-stocks-links a{display:flex;justify-content:center;align-items:center;min-height:42px;padding:8px 6px;font-size:12px;line-height:1.5;color:var(--text-2);text-align:center;overflow-wrap:anywhere}
.home-stocks-links a+a{border-left:1px solid var(--line)}
.home-stocks-links a:hover{background:var(--surface-2)}
.home-stocks a:focus-visible,.home-stocks button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.home-stocks-noscript{margin:0;padding:10px 12px;font-size:14px;line-height:1.6;color:var(--muted);border-top:1px solid var(--line)}
@media(max-width:359px){.market-hub .home-stocks .home-stocks-heading{padding-inline:10px}.home-stocks-status{padding-inline:10px}.home-stocks-heading p{font-size:12px}}

.market-hub [data-home-stock-ticker] .home-stock-coin {
  grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'identity identity' 'price change' 'time time';align-content:start;
  gap:5px 6px;min-height:120px;
}
.market-hub [data-home-stock-ticker] .home-stock-identity{grid-template-columns:26px auto minmax(0,1fr);gap:5px;align-items:center}
.market-hub [data-home-stock-ticker] .home-stock-identity :is(b,small){grid-column:auto}
.market-hub [data-home-stock-ticker] .home-stock-identity b{font-size:16px;font-weight:700;line-height:1.45;color:var(--text)}
.market-hub [data-home-stock-ticker] .home-stock-identity small{font-size:12px;color:var(--text-2)}
.market-hub [data-home-stock-ticker] .stock-mark{width:24px;height:24px}
.market-hub [data-home-stock-ticker] .home-stock-price{font-size:clamp(21px,2vw,27px);text-align:left;justify-self:start}
.market-hub [data-home-stock-ticker] .home-stock-change{font-size:14px;align-self:center}
.market-hub [data-home-stock-ticker] .home-stock-time{text-align:left;font-size:12px}
.market-hub [data-home-stock-ticker] .home-stock-heading h2{font-size:17px}
@media(max-width:680px){
  .market-hub [data-home-stock-ticker] .home-stock-coin{grid-template-columns:minmax(0,1fr);grid-template-areas:'identity' 'price' 'change' 'time';gap:2px;padding:12px 10px}
  .market-hub [data-home-stock-ticker] .home-stock-identity{grid-template-columns:20px minmax(0,1fr);column-gap:5px}
  .market-hub [data-home-stock-ticker] .home-stock-identity .stock-mark{width:19px;height:19px;grid-row:1/3}
  .market-hub [data-home-stock-ticker] .home-stock-identity small{grid-column:2}
  .market-hub [data-home-stock-ticker] .home-stock-price{margin-top:5px}
}
