/* Docs iframe shell. Product look comes from sbw-src/ui CSS. */
html, body {
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #0a0a0f !important;
  color-scheme: dark;
}

html.sbw-tool-focus,
html.sbw-tool-focus body {
  background: transparent !important;
  overflow: hidden !important;
}

html.sbw-picker-focus,
html.sbw-picker-focus body,
html.sbw-picker-focus #sbw-root {
  background: #121218 !important;
  overflow: hidden !important;
  height: 100% !important;
}

html.sbw-picker-focus .pp-shell {
  height: auto;
  min-height: 100%;
  padding: 22px 28px 16px;
}

html.sbw-picker-focus .pp-header {
  margin-bottom: 16px;
}

html.sbw-picker-focus .pp-grid {
  flex: 0 0 auto;
  padding: 4px 0 8px;
}

html.sbw-picker-focus .pp-footer {
  margin-top: 12px;
}

html {
  --bottom-status-height: 0px;
  --bottom-chrome-reserve: 71px;
  --titlebar-height: 32px;
}

#sbw-root {
  height: 100%;
  width: 100%;
  background: #0a0a0f;
  overflow: hidden;
  position: relative;
}

.browser-container,
.browser-container.bottom-layout {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  background: #0a0a0f !important;
}

.browser-container.bottom-layout .web-content {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: var(--bottom-chrome-reserve, 71px) !important;
  height: auto !important;
  background: #0a0a0f !important;
}

.web-content {
  background: #0a0a0f !important;
}

.web-content .settings-container,
.web-content .hist-app,
.web-content .ss-app,
.web-content .plugin-container,
.web-content .pc-app,
.web-content .biz-app {
  min-height: 0 !important;
  height: 100% !important;
}

.web-content.bm-embed {
  overflow: auto !important;
  background: #0e0e12 !important;
}

.web-content.hist-embed {
  overflow: hidden !important;
}

.web-content .hist-app {
  min-height: 0 !important;
}

.web-content .settings-nav {
  overflow-y: auto;
}

.web-content .settings-nav .nav-item i,
.web-content .settings-nav .nav-item img.nav-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  flex-shrink: 0;
}

.web-content .settings-content {
  overflow-y: auto !important;
  min-height: 0 !important;
}

.web-content .power-ups-list {
  overflow: visible;
}

.web-content .ss-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.web-content .hist-list {
  position: relative;
  overflow: auto;
  height: 100%;
}

.web-content.pc-embed,
.web-content.biz-embed,
.web-content.crypto-embed,
.web-content.stocks-embed,
.web-content.st-embed,
.web-content.rss-embed {
  overflow: auto !important;
  height: 100% !important;
  min-height: 0 !important;
}

.sbw-overlay-host {
  position: absolute;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  overflow: visible;
}

.sbw-overlay-host > * {
  pointer-events: auto;
}

.sbw-overlay-host .downloads-popup {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 400px;
  max-height: min(420px, calc(100% - 24px));
  z-index: 100010;
  opacity: 1;
  pointer-events: auto;
}

.sbw-overlay-host .screenshot-popup {
  display: block !important;
  position: absolute;
  right: 80px;
  bottom: 88px;
  z-index: 100010;
}

.sbw-overlay-host .menu-dropdown {
  display: block !important;
  position: absolute;
  right: 12px;
  bottom: 88px;
  z-index: 100010;
}

html.sbw-menu-focus,
html.sbw-menu-focus body,
html.sbw-menu-focus #sbw-root {
  background: #0a0a0f !important;
}

html.sbw-menu-focus .glass-titlebar,
html.sbw-menu-focus .browser-container.bottom-layout .top-bar {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.72) 62%, #000 78%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.72) 62%, #000 78%);
}

html.sbw-menu-focus .web-content {
  background: linear-gradient(90deg, #050508 0%, #0a0a0f 62%, #0a0a0f 100%) !important;
}

html.sbw-menu-focus .web-content > :not(.sbw-overlay-host) {
  display: none !important;
}

html.sbw-menu-focus .sbw-overlay-host .menu-dropdown,
html.sbw-menu-focus .browser-container.bottom-layout .menu-dropdown,
html.sbw-menu-focus .browser-container.bottom-layout .menu-dropdown.show {
  display: block !important;
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  top: auto !important;
  left: auto !important;
  margin-top: 0 !important;
}

html.sbw-menu-focus #menu-btn.is-open {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff;
}

html.sbw-menu-focus #main-menu.menu-dropdown button.is-highlighted,
html.sbw-menu-focus #main-menu.menu-dropdown button#menu-install-app,
html.sbw-tool-focus #main-menu.menu-dropdown button.is-highlighted,
html.sbw-tool-focus #main-menu.menu-dropdown button#menu-install-app {
  background: rgba(73, 0, 194, 0.35) !important;
  color: #ffffff !important;
}

.sbw-overlay-host .ai-side-dock {
  display: flex !important;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 500px;
  z-index: 40;
  background: #0a0a0f;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.sbw-overlay-host .ai-side-dock-host,
.sbw-overlay-host .ai-side-dock #ai-assistant-window {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 0 !important;
  clip-path: none !important;
}

.sbw-overlay-host .find-bar.show {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex !important;
  z-index: 100010;
}

.web-content:has(.find-bar),
.web-content:has([data-stealth-translate-bar]) {
  overflow: auto !important;
}

.web-content:has(.find-bar) .sbw-overlay-host,
.web-content:has([data-stealth-translate-bar]) .sbw-overlay-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--bottom-chrome-reserve, 71px);
  z-index: 100000;
}

.sbw-overlay-host [data-stealth-translate-bar] {
  position: absolute !important;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.web-content mark.find-hit {
  background: #f4d03f;
  color: #111;
  padding: 0 1px;
}

.web-content mark.find-hit.is-active {
  background: #f59e0b;
}

.home-dash-board {
  height: 100%;
}

.web-content.showing-welcome #welcome-screen {
  background: #0a0a0f;
}

.web-content.showing-welcome #home-vanta-bg {
  opacity: 0.85;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-engines"],
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-engines"] > .home-dash-widget-body,
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-engines"] .home-dash-hero-slot,
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-pinned"],
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-pinned"] .home-dash-widget-body,
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-recent"],
.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-recent"] .home-dash-widget-body,
.web-content.showing-welcome .home-dash-widget[data-widget-type="tools"],
.web-content.showing-welcome .home-dash-widget[data-widget-type="tools"] .home-dash-widget-body {
  overflow: visible !important;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="tools"] > .home-dash-widget-body {
  align-items: stretch;
  justify-content: stretch;
  padding: 4px;
}

.web-content.showing-welcome .home-dash-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: stretch;
  justify-items: stretch;
  align-content: stretch;
  gap: 6px;
  width: 100%;
  height: 100%;
}

.web-content.showing-welcome .home-dash-tools .home-dash-tool {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  text-align: left;
  padding: 6px 8px;
}

.web-content.showing-welcome .home-dash-hero-slot .home-recent-site {
  padding: 3px 6px;
  gap: 8px;
}

.web-content.showing-welcome .home-dash-hero-slot .home-recent-icon {
  width: 28px;
  height: 28px;
}

.web-content.showing-welcome .home-recent-favicon,
.web-content.showing-welcome .home-pinned-favicon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  background: transparent;
}

.web-content.showing-welcome .home-recent-icon .home-recent-favicon {
  width: 22px;
  height: 22px;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-engines"] .home-dash-hero-slot .search-sources {
  overflow: visible !important;
  flex-wrap: wrap;
  align-content: flex-start;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-engines"] .home-dash-hero-slot .search-sources .source-badge {
  min-height: 32px;
  flex: 0 0 auto;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-weather-temp"] > .home-dash-widget-body {
  padding: 4px 8px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="hero-weather-temp"] .weather-chip,
.web-content.showing-welcome .home-dash-hero-slot #weather-part-temp {
  padding: 8px 16px !important;
  gap: 8px !important;
  margin: 0 auto;
}

.web-content.showing-welcome .home-dash-embed-surface.sbw-gmail-mock {
  background: #1f1f1f !important;
  overflow: hidden;
  height: 100% !important;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.web-content.showing-welcome .home-dash-widget.is-embed .home-dash-widget-body {
  justify-content: stretch;
  align-items: stretch;
}

.sbw-gmail {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  color: #e8eaed;
  font-family: 'Google Sans', 'Segoe UI', sans-serif;
  background: #1f1f1f;
}

.sbw-gmail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 8px 12px 6px;
}

.sbw-gmail-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #e8eaed;
  flex: 0 0 auto;
}

.sbw-gmail-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.sbw-gmail-search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  background: #303134;
  color: #9aa0a6;
  font-size: 13px;
}

.sbw-gmail-main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
}

.sbw-gmail-nav {
  width: 132px;
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 8px 8px;
  height: auto;
}

.sbw-gmail-compose {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #c2e7ff;
  color: #001d35;
  font-size: 13px;
  font-weight: 600;
}

.sbw-gmail-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 0 16px 16px 0;
  font-size: 13px;
  color: #e8eaed;
}

.sbw-gmail-nav-item i {
  width: 14px;
  text-align: center;
  color: #c4c7c5;
}

.sbw-gmail-nav-item.is-on {
  background: #41331c;
  color: #fdd663;
  font-weight: 700;
}

.sbw-gmail-nav-item.is-on i {
  color: #fdd663;
}

.sbw-gmail-nav-item b {
  margin-left: auto;
  font-size: 12px;
}

.sbw-gmail-list {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid #3c4043;
  display: flex;
  flex-direction: column;
}

.sbw-gmail-row {
  display: grid;
  grid-template-columns: 20px 92px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 8px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0 10px 0 8px;
  border-bottom: 1px solid #3c4043;
  font-size: 12px;
  color: #bdc1c6;
}

.sbw-gmail-row.is-unread {
  background: #292a2d;
  color: #e8eaed;
  font-weight: 700;
}

.sbw-gmail-fav {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: contain;
  background: #303134;
  display: block;
}

.sbw-gmail-star {
  display: none;
}

.sbw-gmail-from {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sbw-gmail-msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.sbw-gmail-msg b {
  font-weight: 700;
  color: inherit;
}

.sbw-gmail-msg em {
  font-style: normal;
  font-weight: 400;
  color: #9aa0a6;
}

.sbw-gmail-time {
  text-align: right;
  font-size: 11px;
  color: #9aa0a6;
  white-space: nowrap;
}

.sbw-gmail-row.is-unread .sbw-gmail-time {
  color: #e8eaed;
  font-weight: 700;
}

.sbw-page-fallback {
  height: 100%;
  overflow: auto;
  padding: 22px 24px;
  background: #0a0a0f;
  color: #f2f4f8;
}

.sbw-page-fallback h3 { margin: 0 0 8px; }
.sbw-page-fallback p { color: #a8b0c0; font-size: 13px; line-height: 1.45; }

.sbw-site-article {
  min-height: 100%;
  height: auto;
  overflow: visible;
  padding: 28px 32px 48px;
  box-sizing: border-box;
  background: #0a0a0f;
  color: #f2f4f8;
  font-family: 'Segoe UI', sans-serif;
}

.sbw-site-article h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 650;
}

.sbw-site-article p {
  margin: 0 0 16px;
  max-width: 42em;
  color: #a8b0c0;
  font-size: 14px;
  line-height: 1.55;
}

.sbw-overlay-host .notes-window.show,
.sbw-overlay-host .video-downloader-window.show,
.sbw-overlay-host .media-controls-window.show,
.sbw-overlay-host .file-converter-window.show,
.sbw-overlay-host .meme-maker-window.show,
.sbw-overlay-host .hide-it-window.show,
.sbw-overlay-host .night-light-window.show,
.sbw-overlay-host .reading-mode-window.show,
.sbw-overlay-host .block-it-window.show,
.sbw-overlay-host .offline-pages-window.show,
.sbw-overlay-host .cast-to-tv-window.show {
  display: flex !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  z-index: 100010;
}

.sbw-overlay-host .notes-window.show {
  width: min(760px, calc(100% - 32px));
  height: min(520px, calc(100% - 32px));
}

.sbw-overlay-host .audio-sidebar {
  display: flex !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: min(380px, 46%);
  z-index: 100010;
}

.sbw-overlay-host .wayback-timeline-bar {
  display: flex !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: auto !important;
  z-index: 100010;
}

.sbw-overlay-host #nodubnetflix-toolbar {
  position: absolute;
  top: 12px;
  left: 12px;
  width: max-content;
  max-width: min(360px, calc(100% - 24px));
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  z-index: 100010;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.sbw-overlay-host #nodubnetflix-toolbar .nodubs-titlebar {
  height: 30px;
  background: rgba(32, 32, 32, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 12px;
}

.sbw-overlay-host #nodubnetflix-toolbar .nodubs-name { font-weight: 700; }
.sbw-overlay-host #nodubnetflix-toolbar .nodubs-status { color: #4ade80; }
.sbw-overlay-host #nodubnetflix-toolbar .nodubs-tmdb { color: #c4b5fd; }
.sbw-overlay-host #nodubnetflix-toolbar .nodubs-body {
  padding: 10px 12px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.sbw-warn-page {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(90, 13, 214, 0.14), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(180, 40, 40, 0.12), transparent 55%),
    #0e0e12;
  color: #f4f2fb;
  font-family: 'Segoe UI', sans-serif;
}

.sbw-warn-page .warn-card {
  max-width: 560px;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px 4px 4px 4px;
  padding: 36px 28px;
  text-align: center;
}

.sbw-warn-page .brand-logo { width: 52px; height: 52px; margin-bottom: 12px; }
.sbw-warn-page .warn-mark img { width: 28px; height: 28px; margin-bottom: 10px; }
.sbw-warn-page h1 { margin: 0 0 10px; font-size: 22px; }
.sbw-warn-page .lead { margin: 0 0 16px; color: #8a869b; font-size: 13px; line-height: 1.5; }
.sbw-warn-page .url-box {
  margin: 0 auto 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 2px 2px 2px;
  font-size: 12px;
  color: #c4b5fd;
  word-break: break-all;
}
.sbw-warn-page .actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.sbw-warn-page .btn-primary,
.sbw-warn-page .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px 2px 2px 2px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: default;
}
.sbw-warn-page .btn-primary { background: #5a0dd6; color: #fff; border-color: transparent; }
.sbw-warn-page .btn-secondary { background: rgba(255, 255, 255, 0.06); color: #f4f2fb; }
.sbw-warn-page .footer-note { margin-top: 14px; color: #8a869b; font-size: 11px; }
.sbw-warn-page .warn-mark { display: none !important; }
.sbw-warn-page .brand-logo { display: block; margin-left: auto; margin-right: auto; }
.web-content:has(.sbw-warn-page),
.web-content:has(.sbw-dirty-page),
.web-content:has(.sbw-reader-page) {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.settings-container i.fas::before,
.settings-container i.far::before,
.settings-container i.fa-solid::before,
.settings-container i.fa-regular::before,
.settings-container i[class*="fa-"]::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
  font-weight: 900;
}

.web-content.pc-embed .pc-gate,
.web-content.pc-embed .pc-gate.is-visible,
.web-content.biz-embed .biz-gate,
.web-content.biz-embed .biz-gate.is-visible {
  display: none !important;
}

html.sbw-tool-focus,
html.sbw-tool-focus.theme-dark,
html.sbw-tool-focus body,
html.sbw-tool-focus.theme-dark body,
html.sbw-tool-focus #sbw-root {
  background: transparent !important;
  background-color: transparent !important;
  overflow: hidden !important;
}

.sbw-tool-stage {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  min-height: 0;
  padding: 8px 8px 12px;
  box-sizing: border-box;
  background: transparent;
}

.sbw-tool-icon-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-top: 8px;
}

.sbw-tool-icon-chip .toolbar-icon-btn {
  width: 25px;
  height: 25px;
  min-width: 25px;
  max-width: 25px;
  min-height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45, 45, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sbw-tool-icon-chip .toolbar-icon-btn img {
  width: 15px;
  height: 15px;
}

.sbw-tool-icon-label {
  font-size: 11px;
  color: #c4b5fd;
  text-align: center;
  max-width: 92px;
}

.sbw-tool-stage { width: 100%; }
.sbw-tool-ui {
  position: relative;
  flex: 0 1 auto;
  max-width: 920px;
  min-width: 0;
}
.sbw-tool-ui:has(.notes-window),
.sbw-tool-ui:has(.meme-maker-window),
.sbw-tool-ui:has(.hide-it-window) {
  flex: 1 1 auto;
  max-width: none;
  width: 100%;
}
.sbw-tool-stage:has(.meme-maker-window) {
  height: 100%;
  min-height: 100%;
  align-items: stretch;
}

.sbw-tool-ui .notes-window,
.sbw-tool-ui .video-downloader-window,
.sbw-tool-ui .media-controls-window,
.sbw-tool-ui .night-light-window,
.sbw-tool-ui .hide-it-window,
.sbw-tool-ui .block-it-window,
.sbw-tool-ui .file-converter-window,
.sbw-tool-ui .meme-maker-window,
.sbw-tool-ui .offline-pages-window,
.sbw-tool-ui .cast-to-tv-window,
.sbw-tool-ui .reading-mode-window,
.sbw-tool-ui .ai-assistant-window,
.sbw-tool-ui .downloads-popup,
.sbw-tool-ui .screenshot-popup,
.sbw-tool-ui .audio-sidebar,
.sbw-tool-ui .wayback-timeline-bar,
.sbw-tool-ui .menu-dropdown {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  display: flex !important;
  margin: 0 !important;
  max-height: none;
}

.sbw-tool-ui .screenshot-popup { display: block !important; }
.sbw-tool-ui .menu-dropdown { display: flex !important; flex-direction: column; width: 260px; }
.sbw-tool-ui .downloads-popup { width: 400px; }
.sbw-tool-ui .proxy-popup { width: 440px; max-height: none; overflow: visible; }
.sbw-tool-ui .proxy-popup-list { max-height: none; min-height: 88px; }
.sbw-tool-ui .ai-assistant-window { width: 420px; height: 560px; flex-direction: column; }
.sbw-tool-ui .ai-assistant-window.is-undocked {
  width: 860px;
  height: 640px;
  min-width: 860px;
  max-width: 860px;
  box-sizing: border-box;
  overflow: hidden;
}
.sbw-tool-ui:has(.ai-assistant-window.is-undocked) {
  max-width: none;
  width: auto;
  flex: 0 0 auto;
}
.sbw-tool-ui .ai-assistant-messages {
  overflow-x: hidden;
  padding-right: 12px;
  box-sizing: border-box;
}
.sbw-tool-ui .ai-assistant-msg.user,
.sbw-tool-ui .ai-assistant-msg.assistant {
  max-width: 86%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sbw-tool-ui .ai-assistant-actions-live {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.sbw-tool-ui .ai-assistant-actions-live-item {
  display: none;
  white-space: nowrap;
}
.sbw-tool-ui .ai-assistant-actions-live-item.is-current {
  display: inline-flex;
}
.sbw-tool-ui .ai-assistant-window[data-glass-mode="black"],
#ai-assistant-window[data-glass-mode="black"] {
  background: #050505 !important;
  background-color: #050505 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.65) !important;
}
.sbw-tool-ui .notes-window,
.sbw-tool-ui .file-converter-window,
.sbw-tool-ui .meme-maker-window { width: 780px; min-height: 420px; flex-direction: column; }
.sbw-tool-ui .audio-sidebar { width: 320px; height: auto; flex-direction: column; bottom: auto; }
.web-content.pc-embed .pc-app,
.web-content.biz-embed .biz-app {
  max-width: none !important;
  width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
}

.sbw-overlay-host .wayback-timeline-bar-inner,
.wayback-timeline-bar-inner {
  width: 100% !important;
}

.sbw-overlay-host .wayback-timeline-scrub,
.wayback-timeline-scrub.has-data {
  width: 100% !important;
}

.sbw-overlay-host .wayback-timeline-track,
.wayback-timeline-track {
  width: 100% !important;
  min-width: 100% !important;
}

.sbw-overlay-host .wayback-timeline-year,
.wayback-timeline-year {
  max-width: none !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.sbw-overlay-host .wayback-timeline-bar-icon,
.wayback-timeline-bar-icon {
  width: 22px !important;
  height: 22px !important;
  image-rendering: auto;
}

.web-content:has(.wayback-timeline-bar) .sbw-news-site {
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.web-content:has(.wayback-timeline-bar) .sbw-news-hero {
  height: 220px;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.web-content:has(.wayback-timeline-bar) .sbw-news-grid {
  flex: 1;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
  padding: 16px 28px 40px;
}

.web-content:has(.wayback-timeline-bar) .sbw-news-top {
  padding: 16px 28px;
}

.sbw-tool-ui .wayback-timeline-bar { width: 100%; }
.sbw-tool-ui .block-it-panel { display: none; }
.sbw-tool-ui .block-it-panel.is-active { display: block; }
.sbw-tool-ui .meme-maker-panel { display: none; }
.sbw-tool-ui .meme-maker-panel.active { display: block; }

.sbw-tool-ui .meme-maker-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  grid-template-rows: minmax(0, 1fr) !important;
  min-height: 0;
}
.sbw-tool-ui .meme-maker-stage {
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: none !important;
}
.sbw-tool-ui .meme-maker-side {
  width: 300px !important;
  max-width: 300px !important;
  min-width: 0;
  min-height: 0;
}
.sbw-tool-ui .meme-maker-stage-bar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.sbw-tool-ui .meme-maker-asset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  font-size: 11px;
  color: #e8e7f0;
}

.sbw-meme-canvas {
  min-height: 0;
  flex: 1 1 auto;
  background: #16161e;
  border-radius: 10px;
  overflow: hidden;
}
.sbw-meme-preview {
  position: relative;
  height: 280px;
  background:
    radial-gradient(circle at 30% 20%, #3b2a5c, #121218 60%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  text-align: center;
}
.sbw-meme-cap {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 0 #000, 2px 2px 0 #000, -2px 2px 0 #000;
}
.sbw-meme-cap.bottom { margin-top: auto; }

.sbw-nodubs-stage { display: flex; flex-direction: column; gap: 16px; width: min(720px, 100%); }
.sbw-nf-row { display: flex; gap: 10px; }
.sbw-nf-card {
  position: relative;
  width: 150px;
  height: 210px;
  border-radius: 6px;
  overflow: hidden;
  background: #1c1c24;
}
.sbw-nf-art {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(180deg, #2a2438, #121218);
}
.sbw-nf-card .filtered-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.70);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 10px;
}

html.sbw-tool-focus #stealth-buddy-layer {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: flex-end;
  gap: 16px;
}
html.sbw-tool-focus #stealth-buddy-actor {
  position: relative;
  left: auto;
  top: auto;
  animation: sbw-buddy-bob 2.4s ease-in-out infinite;
}
html.sbw-tool-focus #stealth-buddy-bubble,
html.sbw-tool-focus #stealth-buddy-bubble.stealth-buddy-visible,
html.sbw-tool-focus #stealth-buddy-bubble.is-on {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
html.sbw-tool-focus #stealth-buddy-chat {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
@keyframes sbw-buddy-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

html.sbw-tool-focus .notes-header,
html.sbw-tool-focus .video-downloader-header,
html.sbw-tool-focus .media-controls-header,
html.sbw-tool-focus .night-light-header,
html.sbw-tool-focus .hide-it-header,
html.sbw-tool-focus .block-it-header,
html.sbw-tool-focus .file-converter-header,
html.sbw-tool-focus .meme-maker-header,
html.sbw-tool-focus .offline-pages-header,
html.sbw-tool-focus .cast-to-tv-header,
html.sbw-tool-focus .reading-mode-header,
html.sbw-tool-focus .downloads-popup-header,
html.sbw-tool-focus .audio-sidebar-header {
  padding: 4px 10px !important;
  min-height: 28px !important;
  gap: 8px;
}

html.sbw-tool-focus .notes-icon-btn,
html.sbw-tool-focus .video-downloader-icon-btn,
html.sbw-tool-focus .media-controls-icon-btn,
html.sbw-tool-focus .night-light-icon-btn,
html.sbw-tool-focus .hide-it-icon-btn,
html.sbw-tool-focus .block-it-icon-btn,
html.sbw-tool-focus .file-converter-icon-btn,
html.sbw-tool-focus .meme-maker-icon-btn,
html.sbw-tool-focus .offline-pages-icon-btn,
html.sbw-tool-focus .cast-to-tv-icon-btn,
html.sbw-tool-focus .reading-mode-icon-btn {
  width: 22px !important;
  height: 22px !important;
}

html.sbw-tool-focus .notes-header-title,
html.sbw-tool-focus .video-downloader-header-title,
html.sbw-tool-focus .media-controls-header-title,
html.sbw-tool-focus .night-light-header-title,
html.sbw-tool-focus .hide-it-header-title,
html.sbw-tool-focus .block-it-header-title,
html.sbw-tool-focus .file-converter-header-title,
html.sbw-tool-focus .meme-maker-header-title,
html.sbw-tool-focus .offline-pages-header-title,
html.sbw-tool-focus .cast-to-tv-header-title,
html.sbw-tool-focus .reading-mode-header-title,
html.sbw-tool-focus .downloads-popup-header span {
  color: #f2f4f8 !important;
  font-size: 13px;
  font-weight: 650;
}

html.sbw-tool-focus .notes-header-icon,
html.sbw-tool-focus .video-downloader-header-icon,
html.sbw-tool-focus .night-light-header-icon,
html.sbw-tool-focus .hide-it-header-icon,
html.sbw-tool-focus .block-it-header-icon,
html.sbw-tool-focus .file-converter-header-icon,
html.sbw-tool-focus .cast-to-tv-header-icon,
html.sbw-tool-focus .reading-mode-header-icon,
html.sbw-tool-focus .media-controls-header-icon {
  filter: invert(1) brightness(1.15);
}

html.sbw-tool-focus .offline-pages-header-icon {
  filter: none;
  opacity: 1;
}

html.sbw-tool-focus .meme-maker-header-icon {
  filter: invert(78%) sepia(42%) saturate(1800%) hue-rotate(250deg) brightness(1.15);
}

html.sbw-tool-focus .playlist-popup-close {
  width: 22px;
  height: 22px;
  min-height: 22px;
  line-height: 1;
  font-size: 16px;
}

.sbw-overlay-host #stealth-logo-menu.stealth-logo-menu {
  position: absolute !important;
  right: 0;
  bottom: calc(100% + 8px);
  top: auto;
  left: auto;
  max-height: 70vh;
  overflow: auto;
}

.browser-chrome-item.stealth-logo-item {
  position: relative;
}

.security-indicator {
  position: relative;
}

.security-indicator .ssl-popover,
.address-bar-container .ssl-popover {
  position: absolute !important;
  left: 0;
  bottom: calc(100% + 10px);
  top: auto !important;
  right: auto;
  z-index: 100040;
  max-height: 70vh;
  overflow: auto !important;
}

.sbw-overlay-host .ssl-popover {
  display: none !important;
}

.sbw-setting-highlight {
  outline: 2px solid rgba(124, 58, 237, 0.95);
  outline-offset: 2px;
  background: rgba(90, 13, 214, 0.16) !important;
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
}

.sbw-shortcut-kbd {
  display: inline-block;
  min-width: 7.5rem;
  text-align: right;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: #e8eaed;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px 2px 2px 2px;
  padding: 6px 10px;
}

.sbw-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.web-content.pc-embed .pc-lock-status {
  display: block !important;
  margin-bottom: 14px;
  padding: 18px 18px 16px;
}

.sbw-tool-ui .audio-meter-fill {
  border-radius: 8px 8px 2px 2px;
}

.sbw-tool-ui .playlist-popup {
  width: 520px;
  max-width: 100%;
}

.sbw-tool-ui .proxy-popup {
  width: min(520px, 100%);
  max-height: none;
  overflow: visible;
}

.sbw-tool-ui .proxy-popup-body {
  max-height: none;
  overflow: visible;
}

.sbw-media-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  padding: 22px 20px 24px;
  box-sizing: border-box;
  flex-wrap: nowrap;
  overflow: visible;
  height: auto;
  min-height: 0;
}

.sbw-media-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sbw-media-row .sbw-tool-icon-chip {
  flex: 0 0 92px;
}

.sbw-media-row .sbw-tool-ui {
  flex: 0 0 380px;
  width: 380px;
  max-width: 380px;
  min-width: 0;
  position: relative;
}

.sbw-media-stage .audio-sidebar,
.sbw-media-stage .media-controls-window,
.sbw-media-stage .video-downloader-window {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  box-sizing: border-box;
}

.sbw-media-stage .audio-sidebar {
  height: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  background: rgba(18, 18, 26, 0.96) !important;
}

.sbw-media-stage .video-downloader-window,
.sbw-media-stage .media-controls-window {
  height: auto !important;
  max-height: none !important;
}

.sbw-media-stage .video-downloader-body {
  overflow: visible;
  max-height: none;
}

html.sbw-tool-focus #stealth-buddy-chat.stealth-buddy-open {
  position: relative;
  left: auto;
  top: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  margin-top: 10px;
}

html.sbw-tool-focus .sbw-buddy-stage {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 100%;
  padding: 52px 20px 16px;
  box-sizing: border-box;
}

.sbw-dirty-page {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 200px;
  grid-template-areas:
    "mast mast mast"
    "rail article ads"
    "cookie cookie cookie";
  gap: 14px 16px;
  min-height: 100%;
  padding: 16px 16px 20px;
  background: #121218;
  color: #e8eaed;
  box-sizing: border-box;
}

.sbw-dirty-mast {
  grid-area: mast;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sbw-dirty-mast-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sbw-dirty-mast-nav {
  flex: 1;
  color: #a1a1aa;
  font-size: 13px;
}

.sbw-dirty-mast-meta {
  color: #71717a;
  font-size: 12px;
}

.sbw-dirty-rail { grid-area: rail; }
.sbw-dirty-article { grid-area: article; min-width: 0; }
.sbw-dirty-ads { grid-area: ads; }

.sbw-dirty-sec {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #18181f;
  font-size: 13px;
  font-weight: 650;
}

.sbw-dirty-lead-img {
  height: 160px;
  margin: 0 0 14px;
  border-radius: 8px 2px 2px 2px;
  background:
    linear-gradient(180deg, rgba(12, 10, 24, 0.1), rgba(12, 10, 24, 0.72)),
    linear-gradient(120deg, #7f1d1d 0%, #1e1b4b 48%, #0f172a 100%);
}

.sbw-dirty-rail,
.sbw-dirty-ads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sbw-dirty-ad {
  min-height: 88px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px 2px 2px 2px;
  background: rgba(255, 80, 80, 0.12);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
}

.sbw-dirty-ad.tall { min-height: 160px; }

.sbw-dirty-article h1,
.sbw-reader-article h1 {
  margin: 0 0 12px;
  font-size: 28px;
}

.sbw-dirty-article p,
.sbw-reader-article p {
  line-height: 1.65;
  color: #c4c0d4;
}

.sbw-cookie-banner {
  grid-area: cookie;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 10px 12px;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px 2px 2px 2px;
  font-size: 12px;
}

.sbw-reader-page {
  min-height: 100%;
  width: 100%;
  background: #f4ecd8;
  color: #3b3224;
  display: flex;
  justify-content: center;
  padding: 28px 48px 48px;
  box-sizing: border-box;
}

.sbw-reader-article {
  width: min(920px, 100%);
  max-width: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
}

.sbw-reader-article h1 { color: #2a2318; }
.sbw-reader-article p { color: #3b3224; line-height: 1.7; margin: 0 0 16px; }
.sbw-reader-kicker { font-family: 'Segoe UI', sans-serif; font-size: 13px; color: #6b5e4a; letter-spacing: 0.04em; text-transform: uppercase; }

.web-content:has(.sbw-reader-page),
.web-content:has(.sbw-news-site) {
  overflow: auto !important;
  background: #121218 !important;
}

.sbw-news-site {
  min-height: 100%;
  background: #121218;
  color: #e8eaed;
  box-sizing: border-box;
  padding: 0 0 28px;
}

.sbw-news-hero {
  height: 168px;
  margin: 14px 22px 4px;
  background:
    linear-gradient(180deg, rgba(12, 10, 24, 0.12), rgba(12, 10, 24, 0.72)),
    linear-gradient(120deg, #1e1b4b 0%, #4c1d95 42%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
}

.sbw-news-footer {
  margin: 22px 22px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #71717a;
  font-size: 12px;
}

.sbw-news-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 18px;
}

.sbw-news-related span {
  display: block;
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 13px;
  line-height: 1.4;
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
}

.sbw-news-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #0e0e14;
}

.sbw-news-brand { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sbw-news-nav { color: #a1a1aa; font-size: 13px; }
.sbw-news-ad {
  margin: 14px 22px;
  padding: 14px;
  border: 1px dashed rgba(248,113,113,0.45);
  background: rgba(127,29,29,0.22);
  color: #fca5a5;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
}
.sbw-news-ad-leader { min-height: 56px; }
.sbw-news-ad.tall { min-height: 180px; }
.sbw-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  padding: 8px 22px 0;
}
.sbw-news-article h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.15; }
.sbw-news-kicker, .sbw-news-byline { color: #c4b5fd; font-size: 12px; margin: 0 0 10px; }
.sbw-news-article p { line-height: 1.7; color: #d4d4d8; margin: 0 0 14px; }
.sbw-news-rail { display: flex; flex-direction: column; gap: 10px; }
.sbw-news-card {
  min-height: 72px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  font-size: 12px;
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
}

.web-content.nf-embed {
  padding: 0 !important;
  overflow: hidden !important;
  background: #141414 !important;
  width: 100% !important;
  height: 100% !important;
}
.sbw-nf-site {
  min-height: 100%;
  height: 100%;
  width: 100%;
  background: #141414;
  color: #fff;
  padding: 12px 0 20px;
  box-sizing: border-box;
}
.sbw-nf-site #nodubnetflix-toolbar {
  position: relative;
  top: auto;
  left: auto;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0 24px 12px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}
.sbw-nf-site #nodubnetflix-toolbar .nodubs-titlebar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 12px;
  background: rgba(32, 32, 32, 0.9);
}
.sbw-nf-site #nodubnetflix-toolbar .nodubs-name { font-weight: 700; }
.sbw-nf-site #nodubnetflix-toolbar .nodubs-status { color: #4ade80; }
.sbw-nf-bar {
  font-size: 13px;
  color: #e5e5e5;
  margin: 0 0 14px;
  padding: 0 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.sbw-nf-n {
  color: #e50914;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.sbw-nf-pills {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sbw-nf-pill-active {
  background: #7c3aed;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sbw-nf-pill-tmdb {
  background: #166534;
  color: #bbf7d0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}
.sbw-nf-row-title {
  font-size: 18px;
  margin: 8px 0 8px;
  padding: 0 24px;
  box-sizing: border-box;
}
.sbw-nf-row {
  display: flex;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
  overflow: visible;
  margin-bottom: 16px;
}
.sbw-nf-tile {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.sbw-nf-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  padding: 0;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}
.sbw-nf-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sbw-nf-poster-title { display: none; }
.sbw-nf-tile.is-filtered .sbw-nf-poster { filter: none; }
.sbw-nf-logo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 7px 9px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.28) 58%, transparent 100%);
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
.sbw-nf-logo-title {
  display: block;
  font-family: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
.sbw-nf-logo-year {
  display: block;
  margin-top: 3px;
  font-family: 'Segoe UI', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.88);
}
.sbw-nf-rating {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  background: rgba(20, 20, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 2px 5px;
  pointer-events: none;
}
.sbw-nf-chip {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  background: #e50914;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  border-radius: 2px;
  pointer-events: none;
}
.sbw-nf-tile .filtered-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(124, 58, 237, 0.70);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 28px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  border-radius: 4px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 4;
}
.sbw-nf-nd {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #4c1d95;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sbw-nf-ov-title {
  font-family: Impact, 'Arial Narrow', 'Helvetica Neue', sans-serif;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.sbw-nf-ov-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.sbw-nf-ov-lang {
  font-size: 11px;
  font-weight: 500;
}
.sbw-nf-ov-tag {
  font-size: 10px;
  font-weight: 700;
  color: #fecaca;
}
.sbw-nf-name { display: none; }

.sbw-arcade-site { padding: 16px 22px; color: #e8eaed; }
.sbw-arcade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.sbw-arcade-card {
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #18181f;
  border-radius: var(--stealth-cut, 12px 2px 2px 2px);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sbw-arcade-card span { color: #a1a1aa; font-size: 12px; }

.web-content:has(.sbw-block-page) {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #0e0e12 !important;
}
.sbw-block-page {
  min-height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(90, 13, 214, 0.18), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(196, 30, 74, 0.12), transparent 55%),
    #0e0e12;
  color: #f4f2fb;
}
.sbw-block-card {
  width: min(520px, 100%);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px 4px 4px 4px;
  padding: 32px 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.sbw-block-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 14px 4px 4px 4px;
  background: rgba(196, 30, 74, 0.14);
  border: 1px solid rgba(196, 30, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sbw-block-mark img { width: 30px; height: 30px; display: block; }
.sbw-block-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c41e4a;
  margin-bottom: 8px;
}
.sbw-block-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sbw-block-sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: #8a869b;
}
.sbw-block-url {
  font-size: 13px;
  word-break: break-all;
  padding: 10px 12px;
  border-radius: 12px 2px 2px 2px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  margin-bottom: 8px;
}
.sbw-block-rule {
  font-size: 12px;
  color: #8a869b;
  margin-bottom: 18px;
}
.sbw-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sbw-block-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 2px 2px 2px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f2fb;
}
.sbw-block-btn.primary {
  background: linear-gradient(135deg, #5a0dd6, #4900c2);
  border-color: rgba(90, 13, 214, 0.55);
  color: #fff;
}
.sbw-block-foot {
  margin: 16px 0 0;
  font-size: 12px;
  color: #8a869b;
}

.sbw-tab-menu {
  position: fixed !important;
  z-index: 2147483646;
}
.sbw-url-menu { position: fixed !important; z-index: 2147483646; }

html.sbw-search-focus .home-hero { padding-bottom: 8px; }
html.sbw-search-focus .home-logo { transform: scale(0.72); transform-origin: top center; }
html.sbw-search-focus #search-results.view-list .result-preview {
  display: block !important;
  width: 72px;
  height: 72px;
}
html.sbw-search-focus #search-results.view-list .result-content {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.license-status-icon:empty { display: none !important; width: 0 !important; margin: 0 !important; }
.license-status-badge { padding-left: 8px !important; gap: 6px !important; }

.theme-option:not(.active) {
  border-color: rgba(255,255,255,0.1) !important;
  color: #a1a1aa !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.03) !important;
}
.font-picker-option[aria-selected="false"] {
  background: transparent !important;
  color: inherit !important;
  outline: none !important;
}
.font-picker-option[aria-selected="true"] {
  background: rgba(90,13,214,0.28) !important;
}

.web-content.rss-embed .rss-app {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 16px 18px 24px !important;
  box-sizing: border-box;
}
.web-content.rss-embed .rss-masthead,
.web-content.rss-embed .network-rail,
.web-content.rss-embed .filter-bar,
.web-content.rss-embed .rss-main,
.web-content.rss-embed .articles-panel,
.web-content.rss-embed .articles-container,
.web-content.rss-embed .article-card.list-row {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.web-content.rss-embed .rss-main,
.web-content.rss-embed .articles-panel { display: block; }
.web-content.rss-embed .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.web-content.rss-embed .article-thumb {
  width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: var(--stealth-cut-sm, 8px 2px 2px 2px);
  background: #18181f;
}

.web-content.ss-embed {
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

html.sbw-tool-focus #stealth-buddy-layer {
  align-items: flex-end;
  gap: 14px;
}
html.sbw-tool-focus #stealth-buddy-bubble,
html.sbw-tool-focus #stealth-buddy-bubble.stealth-buddy-visible,
html.sbw-tool-focus #stealth-buddy-bubble.is-on {
  display: none !important;
}
html.sbw-tool-focus .sbw-buddy-stage { min-height: 0; padding: 0; }
html.sbw-tool-focus .sbw-tool-stage { min-height: 0; padding-bottom: 0; }

.sbw-tool-ui .notes-window,
.sbw-tool-ui .video-downloader-window,
.sbw-tool-ui .media-controls-window,
.sbw-tool-ui .night-light-window,
.sbw-tool-ui .hide-it-window,
.sbw-tool-ui .block-it-window,
.sbw-tool-ui .file-converter-window,
.sbw-tool-ui .meme-maker-window,
.sbw-tool-ui .offline-pages-window,
.sbw-tool-ui .cast-to-tv-window,
.sbw-tool-ui .reading-mode-window,
.sbw-tool-ui .downloads-popup {
  border-radius: var(--stealth-cut, 12px 2px 2px 2px) !important;
}

.sbw-overlay-host .wayback-timeline-bar {
  width: 100% !important;
}
.web-content:has(.wayback-timeline-bar) { padding-top: 118px; }

#plugins-page .plugin-stats {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  margin-bottom: 16px !important;
}
#plugins-page .stat-card {
  padding: 10px 12px !important;
  min-width: 0 !important;
  flex: 1 1 0 !important;
}
#plugins-page .stat-number { font-size: 22px !important; }
#plugins-page .stat-icon { display: none !important; }


.sbw-reader-article h1 { color: #2a2318; }
.sbw-reader-article p { color: #3b3224; }
.sbw-reader-kicker {
  font-size: 13px;
  color: #7a6d55;
  margin: 0 0 16px;
}

.sbw-reader-page {
  min-height: 100%;
  width: 100%;
  background: #e8dcc8;
  box-sizing: border-box;
}
.sbw-reader-article {
  width: min(720px, calc(100% - 64px));
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 8px 72px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
}

.address-bar-container,
.security-indicator,
.security-icon-slot,
.top-bar {
  overflow: visible !important;
}
.security-indicator .ssl-popover,
.address-bar-container .ssl-popover {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: calc(100% + 8px) !important;
  top: auto !important;
  transform: none !important;
}

.sbw-tool-icon-chip .toolbar-icon-btn {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}
.sbw-tool-icon-chip {
  width: 88px;
  min-width: 88px;
}

html.sbw-search-focus #home-vanta-bg,
html.sbw-search-focus .home-logo { display: none !important; }
html.sbw-search-focus .home-hero { padding: 10px 20px 0 !important; }
html.sbw-search-focus .welcome-screen,
html.sbw-search-focus .web-content.showing-welcome {
  overflow: auto !important;
}
html.sbw-search-focus #search-results.view-list .results-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  max-width: 820px !important;
}
html.sbw-search-focus #search-results.view-list .result-preview {
  display: block !important;
  width: 112px !important;
  height: 84px !important;
}
html.sbw-search-focus #search-results.view-list .result-card .result-content {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 10px 0 !important;
}

#plugins-page .plugin-stats {
  display: flex !important;
  gap: 0 !important;
  grid-template-columns: none !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
#plugins-page .stat-card {
  flex: 1 !important;
  padding: 12px 14px !important;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: transparent !important;
}
#plugins-page .stat-card:last-child { border-right: none !important; }
#plugins-page .stat-number { font-size: 22px !important; }
#plugins-page .stat-icon { display: none !important; }

.license-status-badge {
  padding: 6px 12px 6px 8px !important;
  gap: 6px !important;
}
.license-status-badge .license-status-icon {
  width: 10px !important;
  height: 10px !important;
}
.license-status-badge .license-status-icon svg {
  width: 10px !important;
  height: 10px !important;
}

.web-content.ss-embed .ss-app { width: 100%; height: 100%; }

.sbw-nf-poster { height: auto !important; }
.sbw-nf-tile { width: auto; flex: 1 1 0; min-width: 0; }

.sbw-tool-ui .meme-maker-window,
.sbw-tool-ui .notes-window {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-width: 0 !important;
  right: auto !important;
  top: auto !important;
}

.browser-container {
  position: absolute !important;
  inset: 0 !important;
}
#ai-side-dock { display: flex !important; }

html.sbw-tool-focus #stealth-buddy-bubble,
html.sbw-tool-focus #stealth-buddy-bubble.stealth-buddy-visible,
html.sbw-tool-focus #stealth-buddy-bubble.is-on {
  display: none !important;
}

.wayback-timeline-bar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.theme-option:not(.active) {
  border-color: rgba(255,255,255,0.1) !important;
  color: #a1a1aa !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.03) !important;
}
.theme-option:not(.active) .theme-preview,
.theme-option:not(.active) i {
  outline: none !important;
  box-shadow: none !important;
}
.font-picker-option:not([aria-selected="true"]) {
  background: transparent !important;
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

.glass-titlebar .tab-context-menu { display: none !important; }
.tab-context-menu.sbw-tab-menu,
.tab-context-menu.sbw-url-menu {
  position: fixed !important;
  z-index: 2147483646 !important;
}
.tab-context-menu.sbw-tab-menu.hidden,
.tab-context-menu.sbw-url-menu.hidden {
  display: none !important;
}
.tab-context-menu.sbw-tab-menu.is-placed,
.tab-context-menu.sbw-url-menu.is-placed {
  display: block !important;
}

.security-indicator { position: relative !important; overflow: visible !important; }

html.sbw-tool-focus .sbw-tool-stage {
  height: auto;
  min-height: 0;
  align-items: flex-start;
}
html.sbw-tool-focus .sbw-tool-ui {
  height: auto;
  max-width: none;
}
html.sbw-tool-focus .sbw-tool-stage:has(.notes-window),
html.sbw-tool-focus .sbw-tool-stage:has(.meme-maker-window),
html.sbw-tool-focus .sbw-tool-stage:has(.file-converter-window),
html.sbw-tool-focus .sbw-tool-stage:has(.offline-pages-window) {
  height: 100%;
  min-height: 100%;
}
html.sbw-tool-focus .sbw-tool-stage:has(.notes-window) .sbw-tool-ui,
html.sbw-tool-focus .sbw-tool-stage:has(.meme-maker-window) .sbw-tool-ui,
html.sbw-tool-focus .sbw-tool-stage:has(.file-converter-window) .sbw-tool-ui,
html.sbw-tool-focus .sbw-tool-stage:has(.offline-pages-window) .sbw-tool-ui {
  height: 100%;
}
html.sbw-tool-focus .sbw-media-stage {
  height: auto;
  min-height: 0;
  overflow: visible;
  align-items: stretch;
}
html.sbw-tool-focus .sbw-media-stage .sbw-tool-ui {
  height: auto !important;
  width: 380px !important;
  max-width: 380px !important;
  flex: 0 0 380px !important;
}
.sbw-tool-icon-chip {
  width: auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px 4px 0 !important;
}
.sbw-tool-stage .toolbar-icon-btn,
.sbw-tool-icon-chip .toolbar-icon-btn {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
}

.sbw-tool-ui #meme-maker-window.show,
.sbw-tool-ui #notes-window.show {
  position: relative !important;
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  border-radius: 12px 2px 2px 2px !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.sbw-overlay-host .block-it-window.show {
  left: auto !important;
  right: 12px !important;
  top: 12px !important;
  width: 340px !important;
  height: auto !important;
  max-height: calc(100% - 24px);
}

.sbw-nf-poster {
  height: auto !important;
  padding: 0 !important;
  overflow: hidden;
}
.sbw-nf-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.web-content.rss-embed .rss-app,
.web-content.rss-embed .rss-masthead,
.web-content.rss-embed .network-rail,
.web-content.rss-embed .filter-bar,
.web-content.rss-embed .rss-main,
.web-content.rss-embed .articles-panel,
.web-content.rss-embed .articles-container,
.web-content.rss-embed .article-card.list-row {
  width: 100% !important;
  max-width: none !important;
}

.web-content #plugins-page .plugin-stats,
#plugins-page .plugin-stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
.web-content #plugins-page .stat-card,
#plugins-page .stat-card {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.license-status-badge {
  padding: 4px 10px 4px 6px !important;
  gap: 6px !important;
}
.license-status-badge .license-status-icon {
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
}

html.sbw-tool-focus #stealth-buddy-layer {
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
  padding: 8px 12px 0;
}
html.sbw-tool-focus .sbw-buddy-stage {
  min-height: 0 !important;
  height: 100%;
}

.sbw-overlay-host .wayback-timeline-bar {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.web-content:has(.sbw-app-site),
.web-content:has(.sbw-feat-site),
.web-content:has(.sbw-docs-page),
.web-content:has(.sbw-dirty-page) {
  overflow: auto !important;
  background: #0c0c12 !important;
}

.web-content:has(.sbw-docs-page) {
  background: #1f1f23 !important;
}

.sbw-docs-page {
  width: 100%;
  max-width: none;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #1f1f23;
  color: #e8eaed;
  font-family: 'Segoe UI', sans-serif;
}
.sbw-docs-menubar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 16px 6px;
  font-size: 13px;
  color: #d0d0d4;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex: 0 0 auto;
}
.sbw-docs-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex: 0 0 auto;
}
.sbw-docs-tool {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  font-size: 12px;
  color: #c8c8cc;
}
.sbw-docs-tool.is-on {
  background: rgba(124, 77, 255, 0.28);
  color: #fff;
}
.sbw-docs-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
  margin: 0 4px;
}
.sbw-docs-sheet {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 28px 40px;
  background: #111113;
}
.sbw-docs-page h1 { margin: 0 0 12px; font-size: 28px; }
.sbw-docs-page p { margin: 0 0 14px; max-width: none; width: 100%; color: #c4c0d4; line-height: 1.6; }

.sbw-app-site {
  min-height: 100%;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  background: #0c0c12;
  color: #e8eaed;
  font-family: 'Segoe UI', sans-serif;
}
.sbw-app-rail {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 18px 14px;
  background: #101018;
}
.sbw-app-brand { font-weight: 800; margin-bottom: 18px; }
.sbw-app-nav { display: flex; flex-direction: column; gap: 6px; }
.sbw-app-nav span {
  padding: 8px 10px;
  border-radius: 8px 2px 2px 2px;
  color: #a1a1aa;
}
.sbw-app-nav span.is-on {
  background: rgba(90, 13, 214, 0.28);
  color: #fff;
}
.sbw-app-main { padding: 18px 22px 32px; }
.sbw-app-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sbw-app-head h1 { margin: 0; font-size: 26px; }
.sbw-app-pill {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.2);
  color: #c4b5fd;
}
.sbw-app-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.sbw-app-card {
  background: #16161f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px 2px 2px 2px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
}
.sbw-app-card span { color: #a1a1aa; font-size: 12px; }
.sbw-app-table { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px 2px 2px 2px; overflow: hidden; }
.sbw-app-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.sbw-app-row.is-head { border-top: 0; color: #a1a1aa; font-weight: 650; background: #14141c; }

.sbw-feat-site {
  min-height: 100%;
  box-sizing: border-box;
  padding: 28px 32px 40px;
  background:
    radial-gradient(800px 400px at 10% -10%, rgba(90,13,214,0.22), transparent 60%),
    #0c0c12;
  color: #e8eaed;
  font-family: 'Segoe UI', sans-serif;
}
.sbw-feat-kicker {
  margin: 0 0 8px;
  color: #c4b5fd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.sbw-feat-hero h1 { margin: 0 0 10px; font-size: 34px; }
.sbw-feat-hero p { margin: 0 0 22px; max-width: 40em; color: #a1a1aa; }
.sbw-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sbw-feat-grid article {
  background: #16161f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px 2px 2px 2px;
  padding: 16px;
  min-height: 140px;
}
.sbw-feat-grid h2 { margin: 0 0 8px; font-size: 16px; }
.sbw-feat-grid p { margin: 0; color: #a1a1aa; font-size: 13px; line-height: 1.45; }

.sbw-news-ad,
.sbw-ad-slot {
  transition: opacity 0.7s ease, max-height 0.8s ease, margin 0.8s ease, padding 0.8s ease, min-height 0.8s ease;
  max-height: 240px;
}
.sbw-news-ad.is-cleared,
.sbw-ad-slot.is-cleared {
  opacity: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-width: 0 !important;
  overflow: hidden !important;
}
.sbw-news-site.is-cleaned .sbw-news-rail .sbw-news-card {
  opacity: 0.35;
}

.sbw-demo-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  margin: -2px 0 0 -2px;
  pointer-events: none;
  z-index: 2147483647;
  border-radius: 0 10px 10px 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  transition: left 0.55s ease, top 0.55s ease;
}
.sbw-demo-click {
  filter: brightness(1.45);
}

.stealth-logo-btn {
  position: relative;
  overflow: visible;
}
.stealth-logo-item {
  overflow: visible;
}

.ssl-popover:not(.show),
#stealth-logo-menu:not(.show) {
  display: none !important;
}

.tab-context-menu .tab-group-color-swatch,
.tab-context-menu button.tab-group-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: var(--swatch-color, #4285f4) !important;
  padding: 0;
}

.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] > .home-dash-widget-body {
  overflow: visible;
  justify-content: center;
  align-items: center;
  padding: 2px 6px;
}
.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] .home-dash-clock {
  width: 100%;
  max-width: 100%;
  align-items: center;
  text-align: center;
}
.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] .home-dash-clock-time {
  font-size: 22px;
  line-height: 1.05;
}
.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] .home-dash-clock-date {
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
.web-content.showing-welcome .home-dash-widget.is-embed {
  background: #1f1f1f !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}
.web-content.showing-welcome .home-dash-widget.is-embed .home-dash-widget-head {
  display: none;
}
.web-content.showing-welcome .home-dash-widget.is-embed .home-dash-widget-body {
  background: #1f1f1f !important;
  padding: 0 !important;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: stretch;
  align-items: stretch;
}
.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] {
  overflow: visible;
}
.web-content.showing-welcome .home-dash-widget[data-widget-type="clock"] .home-dash-widget-head {
  display: none;
}
.web-content.showing-welcome .home-dash-widget.is-embed .home-dash-widget-body {
  background: #1f1f1f;
}

html.sbw-tool-focus:has(#menu-install-app) .sbw-tool-stage {
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 0;
  background: transparent;
}
html.sbw-tool-focus:has(#menu-install-app),
html.sbw-tool-focus:has(#menu-install-app) body,
html.sbw-tool-focus:has(#menu-install-app) #sbw-root {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.ai-side-dock-open.ai-side-dock-right .browser-container.bottom-layout .web-content {
  right: auto !important;
  width: calc(100% - var(--ai-side-dock-width, 420px)) !important;
  max-width: calc(100% - var(--ai-side-dock-width, 420px)) !important;
}
body.ai-side-dock-open .ai-side-dock {
  display: flex !important;
  top: 0 !important;
  bottom: var(--bottom-chrome-reserve, 71px) !important;
}

.sbw-ai-demo-page {
  min-height: 100%;
  background: #121218;
  color: #e8eaed;
  padding: 28px 36px 48px;
  box-sizing: border-box;
}
.sbw-ai-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin-top: 18px;
}
.sbw-ai-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.sbw-ai-field span {
  font-size: 12px;
  color: #a1a1aa;
}
.sbw-ai-field input,
.sbw-ai-field textarea {
  background: #1c1c24;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}
.sbw-ai-field.is-hot {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.12);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.22);
}
.sbw-ai-submit {
  align-self: flex-start;
  background: #7c4dff;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
}

.sbw-ui-tour {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483000;
}
.sbw-ui-tour-ring {
  position: absolute;
  border: 2px solid #c4b5fd;
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.35), 0 0 14px rgba(124, 77, 255, 0.4);
  border-radius: 8px;
}
.sbw-ui-tour-svg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
}
.sbw-ui-tour-line {
  stroke: #c4b5fd;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.sbw-ui-tour-card {
  position: absolute;
  width: 168px;
  box-sizing: border-box;
  padding: 7px 9px;
  background: #16161e;
  border: 1px solid rgba(196, 181, 253, 0.55);
  border-radius: 8px;
  color: #e8eaed;
  box-shadow: 0 8px 20px rgba(0,0,0,0.55);
  --caret-along: 50%;
}
.sbw-ui-tour-card::before,
.sbw-ui-tour-card::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 7px solid transparent;
}
.sbw-ui-tour-card::after {
  border-width: 6px;
}
.sbw-ui-tour-card[data-caret="bottom"]::before,
.sbw-ui-tour-card[data-caret="bottom"]::after {
  left: var(--caret-along);
  top: 100%;
  transform: translateX(-50%);
}
.sbw-ui-tour-card[data-caret="bottom"]::before { border-top-color: rgba(196, 181, 253, 0.55); }
.sbw-ui-tour-card[data-caret="bottom"]::after { border-top-color: #16161e; margin-top: -1px; }
.sbw-ui-tour-card[data-caret="top"]::before,
.sbw-ui-tour-card[data-caret="top"]::after {
  left: var(--caret-along);
  bottom: 100%;
  transform: translateX(-50%);
}
.sbw-ui-tour-card[data-caret="top"]::before { border-bottom-color: rgba(196, 181, 253, 0.55); }
.sbw-ui-tour-card[data-caret="top"]::after { border-bottom-color: #16161e; margin-bottom: -1px; }
.sbw-ui-tour-card[data-caret="left"]::before,
.sbw-ui-tour-card[data-caret="left"]::after {
  top: var(--caret-along);
  right: 100%;
  transform: translateY(-50%);
}
.sbw-ui-tour-card[data-caret="left"]::before { border-right-color: rgba(196, 181, 253, 0.55); }
.sbw-ui-tour-card[data-caret="left"]::after { border-right-color: #16161e; margin-right: -1px; }
.sbw-ui-tour-card[data-caret="right"]::before,
.sbw-ui-tour-card[data-caret="right"]::after {
  top: var(--caret-along);
  left: 100%;
  transform: translateY(-50%);
}
.sbw-ui-tour-card[data-caret="right"]::before { border-left-color: rgba(196, 181, 253, 0.55); }
.sbw-ui-tour-card[data-caret="right"]::after { border-left-color: #16161e; margin-left: -1px; }
.sbw-ui-tour-title {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
  color: #fff;
}
.sbw-ui-tour-body {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #c4c4cc;
}
html.sbw-ui-tour-on .web-content {
  filter: brightness(0.42) saturate(0.75);
}
html.sbw-ui-tour-on #main-menu.show,
html.sbw-ui-tour-on #stealth-logo-menu.show {
  z-index: 2147483600;
  filter: none;
}

.web-content.sbw-nl-dark {
  filter: brightness(0.66) contrast(1.16) saturate(0.78);
}
.web-content.sbw-nl-warm {
  filter: sepia(0.48) saturate(1.18) hue-rotate(-16deg) brightness(0.9);
}

