:root {
  color-scheme: dark;
  --os-bg: #07111f;
  --os-bg-elevated: #0c1728;
  --os-surface: #101d30;
  --os-surface-2: #15243a;
  --os-surface-3: #1a2c45;
  --os-border: rgba(143, 171, 206, .18);
  --os-border-strong: rgba(112, 204, 255, .34);
  --os-text: #e8f1fb;
  --os-muted: #8ea2ba;
  --os-primary: #42c7ff;
  --os-primary-strong: #159ed9;
  --os-accent: #7ce7c4;
  --os-danger: #ff6f82;
  --os-warning: #f8c86a;
  --os-success: #61dfa7;
  --os-purple: #a78bfa;
  --os-sidebar: 272px;
  --os-topbar: 76px;
  --os-radius-sm: 10px;
  --os-radius: 14px;
  --os-radius-lg: 20px;
  --os-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  --os-shadow-soft: 0 10px 28px rgba(0, 0, 0, .17);
  --os-transition: 180ms cubic-bezier(.2, .8, .2, 1);
  --bs-body-bg: var(--os-bg);
  --bs-body-color: var(--os-text);
  --bs-primary: #42c7ff;
  --bs-primary-rgb: 66, 199, 255;
  --bs-secondary-rgb: 142, 162, 186;
  --bs-success-rgb: 97, 223, 167;
  --bs-danger-rgb: 255, 111, 130;
  --bs-warning-rgb: 248, 200, 106;
  --bs-info-rgb: 99, 211, 255;
  --bs-dark-rgb: 10, 23, 40;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(66, 199, 255, .08), transparent 27rem),
    radial-gradient(circle at 88% 92%, rgba(124, 231, 196, .055), transparent 24rem),
    var(--os-bg);
  color: var(--os-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--os-primary); }
a:hover { color: #86ddff; }

/* Application shell */
body.osint-shell { overflow: hidden; }
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1050;
  width: var(--os-sidebar);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(12, 25, 43, .98), rgba(7, 17, 31, .99));
  border-right: 1px solid var(--os-border);
  box-shadow: 16px 0 45px rgba(0, 0, 0, .16);
  transition: width var(--os-transition), transform var(--os-transition);
}
.brand-block {
  min-height: var(--os-topbar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--os-border);
}
.brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: block;
  overflow: hidden;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.brand-mark img {
  display: block;
  width: 43px;
  height: 43px;
  max-width: none;
  object-fit: contain;
}
.brand-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 17px; letter-spacing: .08em; }
.brand-copy span { color: var(--os-muted); font-size: 11px; margin-top: 4px; white-space: nowrap; }
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--os-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  color: var(--os-text);
  transition: all var(--os-transition);
}
.icon-button:hover { border-color: var(--os-border-strong); background: rgba(66, 199, 255, .09); color: var(--os-primary); }
.sidebar-collapse { margin-left: auto; }
.sidebar-nav {
  flex: 1;
  overflow: auto;
  padding: 14px 12px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 162, 186, .22) transparent;
}
.nav-caption {
  padding: 15px 11px 7px;
  color: #60758e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-entry {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 3px 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #afbdd0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--os-transition);
}
.nav-entry > i,
.nav-entry > .nav-icon-svg { width: 20px; height: 20px; flex: 0 0 20px; text-align: center; font-size: 15px; color: #7992ac; }
.nav-entry > .nav-icon-svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.nav-entry > .nav-icon-svg .nav-icon-fill { fill: currentColor; stroke: none; }
.nav-entry:hover { color: #eef8ff; background: rgba(66, 199, 255, .06); border-color: rgba(66, 199, 255, .12); transform: translateX(2px); }
.nav-entry.active {
  color: white;
  background: linear-gradient(90deg, rgba(66, 199, 255, .17), rgba(66, 199, 255, .055));
  border-color: rgba(66, 199, 255, .24);
  box-shadow: inset 3px 0 0 var(--os-primary);
}
.nav-entry.active > i, .nav-entry.active > .nav-icon-svg { color: var(--os-primary); }
.nav-pill {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: #07111f;
  background: var(--os-accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}
.runtime-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #59697d; box-shadow: 0 0 0 4px rgba(89, 105, 125, .1); }
.runtime-dot.online { background: var(--os-success); box-shadow: 0 0 0 4px rgba(97, 223, 167, .12), 0 0 13px rgba(97, 223, 167, .6); }
.runtime-dot.warning { background: var(--os-warning); box-shadow: 0 0 0 4px rgba(248, 200, 106, .12); }
.sidebar-runtime { padding: 14px 17px 18px; border-top: 1px solid var(--os-border); }
.runtime-line { display: flex; justify-content: space-between; color: var(--os-muted); font-size: 11px; }
.runtime-line strong { color: var(--os-text); }
.runtime-progress { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.runtime-progress span { display: block; width: 8%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--os-primary), var(--os-accent)); transition: width 400ms ease; }

.app-stage { min-height: 100vh; margin-left: var(--os-sidebar); transition: margin-left var(--os-transition); }
.app-topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: var(--os-sidebar);
  height: var(--os-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  background: rgba(7, 17, 31, .86);
  border-bottom: 1px solid var(--os-border);
  backdrop-filter: blur(18px);
  transition: left var(--os-transition);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.page-identity { min-width: 0; }
.page-identity .eyebrow { display: block; color: #637b95; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.page-identity h1 { margin: 3px 0 0; overflow: hidden; color: var(--os-text); font-size: 20px; font-weight: 720; text-overflow: ellipsis; white-space: nowrap; }
.workspace-status { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--os-border); border-radius: 999px; color: var(--os-muted); background: rgba(255,255,255,.025); font-size: 11px; white-space: nowrap; }
.status-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--os-success); box-shadow: 0 0 0 4px rgba(97, 223, 167, .11); }
.workspace-status[data-mode="loading"] .status-pulse { background: var(--os-warning); animation: os-pulse 1.2s infinite; }
.workspace-status[data-mode="error"] .status-pulse { background: var(--os-danger); }
@keyframes os-pulse { 50% { opacity: .35; transform: scale(.75); } }
.user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  padding: 6px 9px 6px 6px;
  border: 1px solid var(--os-border);
  border-radius: 13px;
  color: var(--os-text);
  background: rgba(255, 255, 255, .025);
  text-align: left;
}
.user-trigger:hover { border-color: var(--os-border-strong); background: rgba(66, 199, 255, .055); }
.user-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 11px; color: #07111f; background: linear-gradient(135deg, var(--os-accent), var(--os-primary)); font-size: 14px; font-weight: 900; }
.user-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.user-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-copy small { margin-top: 2px; color: var(--os-muted); font-size: 10px; }
.user-trigger > i { color: #647b94; font-size: 10px; }
.shell-dropdown { min-width: 220px; padding: 8px; border: 1px solid var(--os-border); border-radius: 14px; background: #0e1b2d; box-shadow: var(--os-shadow); }
.shell-dropdown .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; color: #c3d1e0; font-size: 12px; }
.shell-dropdown .dropdown-item:hover { color: white; background: rgba(255,255,255,.06); }
.shell-dropdown .logout-item:hover { color: #ffd6dc; background: rgba(255,111,130,.1); }
.dropdown-user { display: flex; flex-direction: column; }
.dropdown-user strong { font-size: 12px; }
.dropdown-user span { color: var(--os-muted); font-size: 10px; }
.dropdown-divider { border-color: var(--os-border); }
.mobile-menu { display: none; }

.workspace-host { position: fixed; inset: var(--os-topbar) 0 0 var(--os-sidebar); overflow: hidden; background: var(--os-bg); transition: left var(--os-transition); }
.workspace-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; visibility: hidden; pointer-events: none; background: var(--os-bg); transition: opacity 150ms ease; }
.workspace-frame.active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; }
.workspace-frame.preloading { display: block; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; pointer-events: none; z-index: 0; }
.workspace-loader { position: absolute; z-index: 5; inset: 0; display: flex; align-items: center; justify-content: center; gap: 17px; opacity: 0; visibility: hidden; background: rgba(7,17,31,.82); backdrop-filter: blur(8px); transition: 150ms ease; }
.workspace-loader.visible { opacity: 1; visibility: visible; }
.workspace-loader > div { display: flex; flex-direction: column; }
.workspace-loader strong { font-size: 13px; }
.workspace-loader small { margin-top: 4px; color: var(--os-muted); font-size: 11px; }
.loader-orbit { width: 34px; height: 34px; border: 3px solid rgba(66,199,255,.14); border-top-color: var(--os-primary); border-radius: 50%; animation: os-spin .85s linear infinite; }
@keyframes os-spin { to { transform: rotate(360deg); } }
.shell-backdrop { display: none; }

body.sidebar-collapsed .app-sidebar { width: 76px; }
body.sidebar-collapsed .app-stage { margin-left: 76px; }
body.sidebar-collapsed .app-topbar { left: 76px; }
body.sidebar-collapsed .workspace-host { left: 76px; }
.app-sidebar.collapsed .brand-copy,
.app-sidebar.collapsed .nav-caption,
.app-sidebar.collapsed .nav-entry span:not(.runtime-dot),
.app-sidebar.collapsed .sidebar-runtime { display: none; }
.app-sidebar.collapsed .brand-block { justify-content: center; padding-inline: 10px; }
.app-sidebar.collapsed .sidebar-collapse { position: absolute; top: 83px; right: -15px; width: 30px; height: 30px; background: #102039; }
.app-sidebar.collapsed .sidebar-collapse i { transform: rotate(180deg); }
.app-sidebar.collapsed .nav-entry { justify-content: center; padding-inline: 10px; }
.app-sidebar.collapsed .nav-entry > i, .app-sidebar.collapsed .nav-entry > .nav-icon-svg { margin: 0; }

/* Embedded pages: universal visual language without changing page structure */
body.embedded-page {
  overflow-x: hidden;
  min-height: 100vh;
  padding: 22px 22px 40px !important;
  background:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(66,199,255,.07), transparent 26rem),
    var(--os-bg) !important;
  background-size: 54px 54px, 54px 54px, auto, auto !important;
  color: var(--os-text) !important;
}
.embedded-content { width: 100%; max-width: 1720px; margin: 0 auto; }
.embedded-page :where(h1,h2,h3,h4,h5,h6) { color: var(--os-text) !important; letter-spacing: -.02em; }
.embedded-page h1, .embedded-page .display-4 { font-size: clamp(1.65rem, 2.2vw, 2.35rem) !important; font-weight: 750 !important; }
.embedded-page :where(.text-muted,.text-secondary) { color: var(--os-muted) !important; }
.embedded-page .text-white { color: var(--os-text) !important; }
.embedded-page :where(.container,.container-fluid) { max-width: 100% !important; }
.embedded-page :where(.card,.cti-card,.hero-card,.search-card,.panel,.glass-card,.stat-card,.stats-card,.result-card,.metric-card,.info-card) {
  color: var(--os-text) !important;
  background: linear-gradient(145deg, rgba(18,33,54,.97), rgba(12,24,41,.97)) !important;
  border: 1px solid var(--os-border) !important;
  border-radius: var(--os-radius) !important;
  box-shadow: var(--os-shadow-soft) !important;
}
.embedded-page :where(.card:hover,.cti-card:hover,.hero-card:hover,.search-card:hover,.stat-card:hover,.stats-card:hover) {
  border-color: rgba(66,199,255,.29) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025) !important;
  transform: translateY(-1px);
}
.embedded-page :where(.card-header,.cti-header,.modal-header,.offcanvas-header) {
  color: var(--os-text) !important;
  background: linear-gradient(90deg, rgba(25,44,69,.96), rgba(15,31,52,.96)) !important;
  border-color: var(--os-border) !important;
  border-radius: calc(var(--os-radius) - 1px) calc(var(--os-radius) - 1px) 0 0 !important;
}
.embedded-page :where(.card-body,.cti-body,.modal-body,.offcanvas-body) { color: var(--os-text) !important; }
.embedded-page :where(.bg-dark,.bg-light,.bg-white,.bg-secondary,.bg-primary,.bg-info,.bg-success,.bg-danger,.bg-warning) { background-image: none !important; }
.embedded-page .bg-primary { background-color: rgba(66,199,255,.12) !important; border-color: rgba(66,199,255,.28) !important; }
.embedded-page .bg-success { background-color: rgba(97,223,167,.11) !important; border-color: rgba(97,223,167,.28) !important; }
.embedded-page .bg-danger { background-color: rgba(255,111,130,.11) !important; border-color: rgba(255,111,130,.28) !important; }
.embedded-page .bg-warning { background-color: rgba(248,200,106,.11) !important; border-color: rgba(248,200,106,.28) !important; }
.embedded-page .bg-info { background-color: rgba(99,211,255,.1) !important; border-color: rgba(99,211,255,.27) !important; }
.embedded-page :where(.btn) {
  min-height: 38px;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: .005em;
  box-shadow: none !important;
  transition: transform var(--os-transition), border-color var(--os-transition), background-color var(--os-transition) !important;
}
.embedded-page .btn:hover { transform: translateY(-1px) !important; }
.embedded-page :where(.btn-primary,.btn-info) { color: #06131d !important; background: linear-gradient(135deg, var(--os-primary), #70dcff) !important; border-color: transparent !important; }
.embedded-page .btn-success { color: #06170f !important; background: linear-gradient(135deg, var(--os-success), var(--os-accent)) !important; border-color: transparent !important; }
.embedded-page .btn-danger { color: #26050a !important; background: linear-gradient(135deg, var(--os-danger), #ff9aa7) !important; border-color: transparent !important; }
.embedded-page .btn-warning { color: #241a04 !important; background: linear-gradient(135deg, var(--os-warning), #ffe3a3) !important; border-color: transparent !important; }
.embedded-page :where(.btn-outline-primary,.btn-outline-info,.btn-outline-secondary,.btn-outline-light,.btn-outline-dark) { color: #b9dcf1 !important; background: rgba(66,199,255,.035) !important; border-color: rgba(66,199,255,.25) !important; }
.embedded-page :where(input,select,textarea,.form-control,.form-select,.search-input,.tagify) {
  color: var(--os-text) !important;
  background: rgba(4,13,25,.76) !important;
  border-color: var(--os-border) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.embedded-page :where(input,select,textarea,.form-control,.form-select,.search-input):focus { border-color: rgba(66,199,255,.62) !important; box-shadow: 0 0 0 3px rgba(66,199,255,.1) !important; }
.embedded-page input::placeholder, .embedded-page textarea::placeholder { color: #60768f !important; }
.embedded-page :where(.input-group-text) { color: var(--os-muted) !important; background: var(--os-surface-2) !important; border-color: var(--os-border) !important; }
.embedded-page :where(.table) { --bs-table-bg: transparent; --bs-table-color: var(--os-text); --bs-table-border-color: var(--os-border); color: var(--os-text) !important; }
.embedded-page :where(.table thead th) { color: #a9bad0 !important; background: rgba(255,255,255,.035) !important; border-bottom-color: rgba(66,199,255,.19) !important; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.embedded-page :where(.table tbody tr:hover) { background: rgba(66,199,255,.045) !important; }
.embedded-page :where(.list-group-item,.dropdown-menu,.accordion-item,.modal-content,.offcanvas) { color: var(--os-text) !important; background: var(--os-surface) !important; border-color: var(--os-border) !important; }
.embedded-page :where(.dropdown-item) { color: #c5d3e3 !important; }
.embedded-page :where(.dropdown-item:hover,.dropdown-item:focus) { color: white !important; background: rgba(66,199,255,.09) !important; }
.embedded-page :where(.alert) { border: 1px solid var(--os-border) !important; border-radius: 12px !important; background: rgba(255,255,255,.035) !important; color: var(--os-text) !important; }
.embedded-page :where(.badge) { padding: .42em .65em; border-radius: 999px !important; font-weight: 700; }
.embedded-page :where(.progress) { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.065) !important; }
.embedded-page :where(.progress-bar) { background: linear-gradient(90deg, var(--os-primary), var(--os-accent)) !important; }
.embedded-page :where(hr) { border-color: var(--os-border) !important; opacity: 1; }
.embedded-page :where(canvas) { max-width: 100%; }
.embedded-page :where(pre,code,.log-output,.terminal) { color: #bdeee0 !important; background: #071522 !important; border-color: var(--os-border) !important; }
.embedded-page ::-webkit-scrollbar { width: 10px; height: 10px; }
.embedded-page ::-webkit-scrollbar-track { background: transparent; }
.embedded-page ::-webkit-scrollbar-thumb { background: rgba(142,162,186,.22); border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; }

/* Username intelligence upgrade */
.username-analysis-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 17px 19px; border: 1px solid rgba(66,199,255,.22); border-radius: 14px; background: linear-gradient(120deg, rgba(66,199,255,.1), rgba(124,231,196,.045)); }
.username-analysis-hero .service-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; color: var(--os-accent); background: rgba(124,231,196,.08); border: 1px solid rgba(124,231,196,.18); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.username-analysis-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 16px 0 20px; }
.username-kpi { padding: 14px; border: 1px solid var(--os-border); border-radius: 12px; background: rgba(255,255,255,.025); }
.username-kpi span { display: block; color: var(--os-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.username-kpi strong { display: block; margin-top: 5px; font-size: 23px; }
.username-results-toolbar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.username-platform-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.username-platform-card { display: flex; align-items: center; gap: 11px; min-height: 74px; padding: 12px; border: 1px solid var(--os-border); border-radius: 12px; background: rgba(255,255,255,.025); transition: all var(--os-transition); }
.username-platform-card:hover { border-color: rgba(66,199,255,.34); background: rgba(66,199,255,.045); transform: translateY(-1px); }
.username-platform-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 39px; border-radius: 11px; color: var(--os-primary); background: rgba(66,199,255,.09); }
.username-platform-copy { min-width: 0; flex: 1; }
.username-platform-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.username-platform-copy small { display: block; margin-top: 3px; overflow: hidden; color: var(--os-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.username-platform-status { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.username-platform-status.found { color: var(--os-success); }
.username-platform-status.available { color: var(--os-muted); }
.username-platform-status.unknown { color: var(--os-warning); }

/* Login pages */
body.login-page { background: radial-gradient(circle at 20% 10%, rgba(66,199,255,.12), transparent 30rem), radial-gradient(circle at 80% 90%, rgba(124,231,196,.08), transparent 25rem), var(--os-bg) !important; }
body.login-page .panel { max-width: 500px !important; padding: 36px !important; border: 1px solid var(--os-border-strong) !important; border-radius: 22px !important; background: rgba(12,24,41,.92) !important; box-shadow: var(--os-shadow) !important; backdrop-filter: blur(18px); }

@media (max-width: 1100px) {
  .workspace-status { display: none; }
  .username-analysis-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .app-sidebar { transform: translateX(-105%); width: min(86vw, 300px); }
  .app-sidebar.mobile-open { transform: translateX(0); }
  .app-stage { margin-left: 0 !important; }
  .app-topbar { left: 0 !important; padding: 0 12px; }
  .workspace-host { left: 0 !important; }
  .mobile-menu { display: inline-grid; }
  .sidebar-collapse { display: none; }
  .shell-backdrop { position: fixed; z-index: 1040; inset: 0; display: block; opacity: 0; visibility: hidden; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); transition: var(--os-transition); }
  .shell-backdrop.visible { opacity: 1; visibility: visible; }
  .user-trigger { min-width: 0; }
  .user-copy, .user-trigger > i { display: none; }
  body.embedded-page { padding: 15px 12px 28px !important; }
}
@media (max-width: 560px) {
  .page-identity .eyebrow { display: none; }
  .page-identity h1 { font-size: 15px; }
  .topbar-right > .icon-button { display: none; }
  .username-analysis-grid { grid-template-columns: 1fr 1fr; }
  .username-platform-list { grid-template-columns: 1fr; }
}

/* Global no-bounce policy: hover may change color/border, never position or scale. */
:is(
  a, button, .btn, .card, .interactive-card, .stat-card, .stats-card,
  .cti-card, .hero-card, .search-card, .result-card, .metric-card,
  .info-card, .news-card, .news-item, .activity-item, .analysis-item,
  .nav-entry, .username-platform-card, .history-item, .profile-card,
  .engine-option, .enhanced-result, .security-stat, .market-card,
  .osint-insight, .chart-container-premium, [role="button"]
):hover {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
}

:is(
  a, button, .btn, .card, .interactive-card, .stat-card, .stats-card,
  .cti-card, .hero-card, .search-card, .result-card, .metric-card,
  .info-card, .news-card, .news-item, .activity-item, .analysis-item,
  .nav-entry, .username-platform-card, .history-item, .profile-card,
  .engine-option, .enhanced-result, .security-stat, .market-card,
  .osint-insight, .chart-container-premium, [role="button"]
) {
  transition-property: color, background-color, border-color, box-shadow, opacity !important;
}

/* Extra coverage for legacy components that used translate/scale on hover. */
.embedded-page :is(
  [class*="card"], [class*="item"], [class*="btn"], [class*="button"],
  [class*="thumb"], [class*="tile"], [class*="panel"], [class*="result"],
  [class*="option"], [class*="badge"], [class*="insight"], img, svg
):hover,
.osint-shell :is(.nav-entry, .icon-button, .user-trigger, a, button):hover {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
}

.embedded-page .static-map-container:hover img,
.embedded-page .profile-card:hover img,
.embedded-page .detail-image-main:hover,
.embedded-page .gallery-thumb:hover {
  transform: none !important;
  scale: 1 !important;
}
