/* Isolated Fiscal.ai-inspired chrome study; homepage content stays light. */
html#glass-home-preview { --preview-hover-fill:#454343; }
html#glass-home-preview::before,
html#glass-home-preview body .nav :is(.nav-left,.nav-right) {
  background:linear-gradient(115deg,rgba(55,53,52,.97),rgba(26,25,25,.97)) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  border-radius:8px !important;
  box-shadow:0 3px 12px #00000012 !important;
  backdrop-filter:blur(18px) !important;
  -webkit-backdrop-filter:blur(18px) !important;
  color:#fafafa !important;
}
html#glass-home-preview .nav :is(.wordmark,.icon-btn,.profile-btn) { color:#fafafa !important; }
html#glass-home-preview .nav :is(.icon-btn,.search) svg [stroke] { stroke:currentColor !important; }
html#glass-home-preview .nav .search { background:#ffffff0d !important;color:#e2e0df !important;border:1px solid #ffffff14; }
html#glass-home-preview .nav .kbd { color:#c2bfbd;border-color:#ffffff30; }
html#glass-home-preview .nav .signup-btn { background:#f7f6f4 !important;color:#242222 !important; }
html#glass-home-preview #preview-rail { color:#c9c6c4 !important; }
html#glass-home-preview #preview-rail :is(a,button) { color:inherit !important; }
html#glass-home-preview #preview-rail :is(a,button):hover,
html#glass-home-preview #preview-rail a[aria-current="page"] { background:#ffffff12 !important;color:#fff !important; }
html#glass-home-preview #preview-watchlist { color:#f5f4f3 !important;--price-watchlist-hover:#454343; }
html#glass-home-preview #preview-watchlist :is(.wl-sidebar,.wl-list,.wl-header,.wl-col-header) { background:transparent !important;color:#d2cfcd !important;border-color:#ffffff18 !important; }
html#glass-home-preview #preview-watchlist :is(.wl-title-btn,#wl-title-btn,.wl-symbol,.wl-price,.wl-name) { color:#f5f4f3 !important; }
html#glass-home-preview #preview-watchlist .wl-item { border-color:#ffffff18 !important; }
html#glass-home-preview #preview-watchlist .wl-item:hover { background:#ffffff12 !important; }
html#glass-home-preview #preview-watchlist .wl-row { color:#f5f4f3 !important;border-color:#ffffff18 !important; }
html#glass-home-preview #preview-watchlist :is(.wl-sym-text,.wl-cell-last) { color:#f5f4f3 !important; }
html#glass-home-preview #preview-watchlist .wl-col-header span { color:#aaa6a3 !important; }
html#glass-home-preview #preview-watchlist .up { color:#8fc6a5 !important; }
html#glass-home-preview #preview-watchlist .down { color:#e29b9c !important; }
html#glass-home-preview #preview-watchlist .wl-logo { background:#f3f3f3;border-radius:4px; }

/* Light counterpart to the charcoal chrome; same shape, blur and motion. */
html#glass-home-preview[data-chrome-theme="light"] { --preview-hover-fill:#e4e5e7; }
html#glass-home-preview[data-chrome-theme="light"]::before,
html#glass-home-preview[data-chrome-theme="light"] body .nav :is(.nav-left,.nav-right) {
  background:linear-gradient(115deg,rgba(246,246,245,.97),rgba(231,231,230,.97)) !important;
  border-color:#20202026 !important;color:#252424 !important;
}
html#glass-home-preview[data-chrome-theme="light"] .nav :is(.wordmark,.icon-btn,.profile-btn),
html#glass-home-preview[data-chrome-theme="light"] #preview-watchlist :is(#wl-title-btn,.wl-sym-text,.wl-cell-last) { color:#252424 !important; }
html#glass-home-preview[data-chrome-theme="light"] .nav .search { background:#00000007 !important;color:#62605e !important;border-color:#0000000c; }
html#glass-home-preview[data-chrome-theme="light"] .nav .kbd { color:#777;border-color:#00000020; }
html#glass-home-preview[data-chrome-theme="light"] .nav .signup-btn { background:#292828 !important;color:#fff !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-rail { color:#62605e !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-rail :is(a,button):hover,
html#glass-home-preview[data-chrome-theme="light"] #preview-rail a[aria-current="page"] { background:#00000009 !important;color:#252424 !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-watchlist .wl-row { border-color:#00000015 !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-watchlist .wl-col-header span { color:#777 !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-watchlist .up { color:#38794e !important; }
html#glass-home-preview[data-chrome-theme="light"] #preview-watchlist .down { color:#b25656 !important; }

/* Light navbar color matches the original homepage reference. */
html#glass-home-preview[data-chrome-theme="light"] body .nav :is(.nav-left,.nav-right) {
  background:#e9edf5 !important;
  border-color:rgba(126,139,157,.38) !important;
}

/* Override the shared .search span flex rule at every nested level. */
html#glass-home-preview .nav .search { cursor:pointer;text-align:left;font:inherit; }
html#glass-home-preview .nav .search .ticker-search-label { display:flex;align-items:center;gap:5px;min-width:0;flex:1; }
html#glass-home-preview .nav .search .ticker-search-label span { flex:none; }
html#glass-home-preview .ticker-search-prefix { white-space:nowrap; }
/* Each word keeps its natural horizontal layout throughout the roll.
   Only the outer viewport clips; glyphs never have fixed-width cells. */
html#glass-home-preview .ticker-roll { position:relative;display:block;width:5em;height:18px;line-height:18px;overflow:hidden;font-weight:500;color:inherit; }
html#glass-home-preview .ticker-word { position:absolute;left:0;top:0;display:block;white-space:nowrap; }
html#glass-home-preview .ticker-letter { display:inline-block;height:18px;line-height:18px;vertical-align:top; }
html#glass-home-preview .ticker-incoming .ticker-letter { animation:ticker-glyph-in 520ms cubic-bezier(.65,0,.25,1) var(--letter-delay) both; }
html#glass-home-preview .ticker-outgoing .ticker-letter { animation:ticker-glyph-out 520ms cubic-bezier(.65,0,.25,1) var(--letter-delay) both; }
@keyframes ticker-glyph-in { from { transform:translateY(-18px); } to { transform:translateY(0); } }
@keyframes ticker-glyph-out { from { transform:translateY(0); } to { transform:translateY(18px); } }
html#glass-home-preview .nav .search:focus-visible { outline:2px solid currentColor;outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { html#glass-home-preview .ticker-letter { animation:none !important; } }

/* Preserve the original glass homepage's light rail and compact navbar. */
html#glass-home-preview[data-chrome-theme="light"]::before {
  background:linear-gradient(#ffffff8c,#ffffff8c),radial-gradient(ellipse 85vw 110vh at 5% 0%,#82a5e16b,transparent 80%),radial-gradient(ellipse 80vw 110vh at 100% 0%,#f2b06066,transparent 80%),#edeff2 !important;
  background-attachment:fixed !important;
}
html#glass-home-preview body .nav :is(.nav-left,.nav-right) { border-radius:8px !important;box-shadow:none !important; }
