/* Inside the TNI monitors when this site frames them (classes set by js/monitor-embed.js).
   The site's own header and footer surround the frame, so the monitors' stand-alone shell is hidden. */
html.tni-site-embed .tni-shell,
html.tni-site-embed .tni-shell-footer,
html.tni-site-embed [data-tni-shell],
html.tni-site-embed .skip { display: none !important; }
html.tni-site-embed,
html.tni-site-embed body { min-height: 0 !important; }

/* Globe view (homepage console): only the interactive globe, on a transparent background. */
html.tni-globe-only[data-theme="dark"] { color-scheme: dark !important; }
html.tni-globe-only[data-theme="light"] { color-scheme: light !important; }
html.tni-globe-only,
html.tni-globe-only body { height: 100% !important; overflow: hidden !important; background: transparent !important; }
html.tni-globe-only body * { visibility: hidden !important; }
html.tni-globe-only .globe-stage,
html.tni-globe-only .globe-stage *,
html.tni-globe-only .globe-tools,
html.tni-globe-only .globe-tools * { visibility: visible !important; }
html.tni-globe-only .globe-stage {
  position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important;
  min-height: 0 !important; margin: 0 !important; padding: 0 !important; z-index: 2147483000 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
}
html.tni-globe-only .globe-stage::before,
html.tni-globe-only .globe-stage::after { display: none !important; }
html.tni-globe-only .globe-tools {
  position: fixed !important; left: 50% !important; right: auto !important; bottom: 10px !important; top: auto !important;
  transform: translateX(-50%) !important; z-index: 2147483001 !important; margin: 0 !important;
}
html.tni-globe-only .globe-tools [hidden] { display: none !important; }
/* The homepage globe shows Europe only: no World view and no zoom buttons (the "Europe" button stays). */
html.tni-globe-only #globe-world,
html.tni-globe-only #globe-zoom-in,
html.tni-globe-only #globe-zoom-out { display: none !important; }
html.tni-globe-only .globe-stage-caption,
html.tni-globe-only .globe-zoom-indicator,
html.tni-globe-only #globe-empty-map { display: none !important; }

/* Phones: the site page already gives the frame its side margins, so the monitor fills the frame instead of
   keeping its own 40px gap on the right only (Nov 7 mobile pass). */
@media (max-width: 640px) {
  html.tni-site-embed .wrap.page-content { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
}

/* DDoS protection page on the light theme (owner's rule: no dark blocks on the light theme). The intro, the panel
   around the animation, the axis, the 24-hour chart and the closing call to action become light; only the rendered
   animation itself stays a dark picture. The chart canvases are drawn for a dark background, so on light they are
   inverted with the hue kept (lines stay blue/red, labels turn dark). */
html.tni-site-embed[data-theme="light"] .tni-gate-stage {
  background: radial-gradient(70% 60% at 75% 0%, rgba(47, 124, 246, .10), rgba(47, 124, 246, 0) 70%), linear-gradient(180deg, #FFFFFF, #F3F7FD) !important;
  border: 1px solid #DCE4EE !important; box-shadow: 0 20px 50px -36px rgba(11, 21, 53, .35) !important; color: #0B1535 !important;
}
html.tni-site-embed[data-theme="light"] .tni-gate-intro,
html.tni-site-embed[data-theme="light"] .tni-sales-copy,
html.tni-site-embed[data-theme="light"] .tni-sales-side,
html.tni-site-embed[data-theme="light"] .tni-gate-title { color: #0B1535 !important; }
html.tni-site-embed[data-theme="light"] .tni-gate-title span { color: #075DEB !important; }
html.tni-site-embed[data-theme="light"] .tni-sales-lead { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-sales-ticks,
html.tni-site-embed[data-theme="light"] .tni-sales-ticks li { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-pill { background: #FFFFFF !important; border-color: #DCE4EE !important; color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-gate-secondary { background: #FFFFFF !important; border-color: #C3D0E0 !important; color: #0B1535 !important; }
html.tni-site-embed[data-theme="light"] .tni-gate-secondary:hover { border-color: #075DEB !important; color: #075DEB !important; }

html.tni-site-embed[data-theme="light"] .tni-fx-card { background: #FFFFFF !important; border-color: #DCE4EE !important; color: #0B1535 !important; box-shadow: 0 20px 50px -36px rgba(11, 21, 53, .35) !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-head { color: #0B1535 !important; border-color: #DCE4EE !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-brand,
html.tni-site-embed[data-theme="light"] .tni-fx-brand b { color: #0B1535 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-brand span { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-status { color: #C2353B !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-fresh { color: #A35F00 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-alive { color: #13804A !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-axis { background: #FFFFFF !important; border-color: #DCE4EE !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-tag b { color: #0B1535 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-tag-vox b { color: #A35F00 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-tag-fw b { color: #075DEB !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-tag span { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-day { background: #F7F9FC !important; border-color: #DCE4EE !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-day-head,
html.tni-site-embed[data-theme="light"] .tni-fx-key { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-day-head b { color: #0B1535 !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-day-head a { color: #075DEB !important; }
html.tni-site-embed[data-theme="light"] .tni-fx-plot canvas { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
html.tni-site-embed[data-theme="light"] .tni-fx-note { color: #4E5D78 !important; }

/* Closing call to action: TNI blue, like the homepage, instead of navy. */
html.tni-site-embed[data-theme="light"] .tni-final {
  background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(143, 208, 255, .5), rgba(143, 208, 255, 0) 70%), linear-gradient(120deg, #0A4FC4, #2F7CF6) !important;
  border-color: transparent !important; box-shadow: 0 40px 80px -40px rgba(7, 93, 235, .65) !important;
}
html.tni-site-embed[data-theme="light"] .tni-final h2 { color: #FFFFFF !important; }
html.tni-site-embed[data-theme="light"] .tni-final p { color: #E3EEFF !important; }
html.tni-site-embed[data-theme="light"] .tni-final p a { color: #FFFFFF !important; text-decoration: underline; }
html.tni-site-embed[data-theme="light"] .tni-final-company { color: #D4E9FF !important; }
html.tni-site-embed[data-theme="light"] .tni-final .tni-gate-primary { background: #FFFFFF !important; border-color: #FFFFFF !important; color: #0A4FC4 !important; }
html.tni-site-embed[data-theme="light"] .tni-final .tni-gate-secondary { background: transparent !important; border-color: rgba(255, 255, 255, .6) !important; color: #FFFFFF !important; }

/* DDoS page: the dark 3D scene and its replay stay as they are on both themes (owner decision, 11 Nov 2026). */

/* Network Monitor and Game Monitor, light theme: the top stage takes the site's light look (no dark block). */
html.tni-site-embed[data-theme="light"] body .tni-net-stage,
html.tni-site-embed[data-theme="light"] body .tni-game-stage { color: #0B1535 !important; background: #F3F6FA radial-gradient(ellipse 45% 80% at 12% 0%, rgba(47, 124, 246, .14), rgba(47, 124, 246, 0) 70%) !important; border: 1px solid #DCE4EE !important; box-shadow: none !important; }
html.tni-site-embed[data-theme="light"] body :is(.tni-net-stage, .tni-game-stage) :is(.tni-stars, .tni-floor, .tni-beam) { display: none !important; }
html.tni-site-embed[data-theme="light"] body :is(.tni-net-stage, .tni-game-stage) :is(h1, h2, h3, strong, dd, dd small) { color: #0B1535 !important; text-shadow: none !important; }
html.tni-site-embed[data-theme="light"] body :is(.tni-net-stage, .tni-game-stage) h1 :is(em, span) { color: #075DEB !important; }
html.tni-site-embed[data-theme="light"] body :is(.tni-net-stage, .tni-game-stage) :is(p, dt, .summary-hint, small) { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] body :is(.tni-net-stage, .tni-game-stage) dd small { color: #4E5D78 !important; }
html.tni-site-embed[data-theme="light"] body .tni-net-stage .workspace-summary > div,
html.tni-site-embed[data-theme="light"] body .tni-game-stage .live { background: #FFFFFF !important; border-color: #DCE4EE !important; color: #0B1535 !important; box-shadow: 0 20px 50px -36px rgba(11, 21, 53, .35) !important; }
html.tni-site-embed[data-theme="light"] body .tni-net-stage .summary-icon { color: #075DEB !important; }
html.tni-site-embed[data-theme="light"] body .tni-game-stage .live span { color: #0B1535 !important; }
