/* THE WHOLE LIVE SECURITY PAGE IN THE TANIX THEME (founder 2026-11-23, after the ten new tools: "I like the premium design.
   Everything on that page should be ultra premium design"). Loaded last, after security.css and security-plus.css, and it
   only restyles: no layout, text or script changes, so the page's own stylesheet stays the source of sizes and grids.
   The look is the app home's: the cyan-to-pink edge, navy glass with a blue and a violet light inside, a soft glow,
   Space Grotesk headings, lit tiles, the blue-to-cyan main button and the mint "live" colour.
   Rules kept: every corner is forced (square.css squares everything on tanix.app), no blur, no new pseudo-elements
   (the lit line on a tile is a background layer), colours that carry meaning stay (the threat level, each kind of attack). */

/* ---- the page behind it (the standalone public page only; the Academy keeps its own header and background) ---- */
html.sec-alone body { background: radial-gradient(55% 38% at 8% 0%, rgba(34,150,255,.16), transparent 62%), radial-gradient(45% 36% at 100% 22%, rgba(166,107,255,.13), transparent 66%), radial-gradient(60% 40% at 50% 100%, rgba(34,230,255,.07), transparent 70%), #050818 !important; }

/* ---- top bar and foot of the standalone page ---- */
html body .sa-tag { color: #2dffb0 !important; border: 1px solid rgba(45,255,176,.35) !important; background: rgba(45,255,176,.08) !important; border-radius: 999px !important; font-family: "Space Grotesk", Inter, system-ui, sans-serif !important; box-shadow: 0 0 26px -10px rgba(45,255,176,.9); }
html body .sa-cta { background: linear-gradient(90deg, #22e6ff, #4d7dff) !important; color: #04122b !important; border-radius: 14px !important; padding: 12px 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 10px 28px -8px rgba(34,230,255,.7), 0 0 50px -14px rgba(77,125,255,.9); }
html body .sa-cta:hover { filter: brightness(1.08); }
html body .sa-foot { color: #8fa0c4; } html body .sa-foot a { color: #c0cbe2 !important; }

/* ---- headline ---- */
html body #secp { color: #e2e8f0; }
html body #secp .sp-live { border: 1px solid rgba(45,255,176,.35) !important; background: rgba(45,255,176,.08) !important; color: #2dffb0 !important; border-radius: 999px !important; box-shadow: 0 0 26px -12px rgba(45,255,176,.9); }
html body #secp .sp-live .sp-dot { background: #2dffb0 !important; border-radius: 50% !important; box-shadow: 0 0 12px #2dffb0; }
html body #secp .sp-live.is-off { border-color: rgba(252,211,77,.4) !important; background: rgba(252,211,77,.08) !important; color: #fcd34d !important; box-shadow: none; } html body #secp .sp-live.is-off .sp-dot { background: #fcd34d !important; box-shadow: none; }
html body #secp h1.sp-h1 { font-family: "Space Grotesk", Inter, system-ui, sans-serif !important; text-shadow: 0 0 34px rgba(77,125,255,.55); }
html body #secp h1.sp-h1 em { background: linear-gradient(90deg, #22e6ff, #2dffb0); -webkit-background-clip: text; background-clip: text; color: transparent !important; text-shadow: none; }
html body #secp h1.sp-h1.is-bad em { background: linear-gradient(90deg, #ff4fd8, #a66bff); -webkit-background-clip: text; background-clip: text; }
html body #secp .sp-lead { border-image: linear-gradient(180deg, #22e6ff, #a66bff 55%, #ff4fd8) 1 !important; }
html body #secp .sp-lead-1 { color: #c0cbe2; } html body #secp .sp-hl-red { color: #ff8fe4 !important; } html body #secp .sp-hl-grn { color: #2dffb0 !important; }
html body #secp .sp-lead-2 { border: 1px solid rgba(255,255,255,.12) !important; background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important; border-radius: 14px !important; color: #a9b6d3; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
html body #secp .sp-meter i { background: #2dffb0 !important; border-radius: 2px !important; box-shadow: 0 0 8px rgba(45,255,176,.8); }
html body #secp .sp-tip { border-radius: 10px !important; background: #0b1238; border-color: rgba(34,230,255,.4); }

/* ---- every card: the gradient edge, navy glass, the glow ---- */
html body #secp .sp-card, html body #secp .sp-threat { border: 1.5px solid transparent !important; border-radius: 24px !important; padding: 26px 28px; color: #e2e8f0;
  background: radial-gradient(60% 70% at 0% 0%, rgba(34,150,255,.20), transparent 60%) padding-box, radial-gradient(45% 60% at 100% 100%, rgba(166,107,255,.18), transparent 65%) padding-box, linear-gradient(160deg, #111a48, #070a22) padding-box, linear-gradient(135deg, #22e6ff, #4d7dff 35%, #a66bff 65%, #ff4fd8) border-box !important;
  box-shadow: 0 0 0 1px rgba(77,125,255,.10), 0 0 34px -10px rgba(34,230,255,.45), 0 0 90px -30px rgba(166,107,255,.7), 0 30px 70px -34px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.14) !important; }
html body #secp .sp-card h2, html body #secp h2.sp-thr-h { font-family: "Space Grotesk", Inter, system-ui, sans-serif !important; font-weight: 700; font-size: 20px !important; line-height: 1.2 !important; letter-spacing: -.01em; color: #fff; margin: 0 0 4px !important; text-shadow: 0 0 22px rgba(77,125,255,.55); }
html body #secp .sp-sub, html body #secp .sp-thr-say { color: #a9b6d3; }
html body #secp .sp-grid { gap: 20px; margin-bottom: 20px; } html body #secp .sp-card { margin-bottom: 0; } html body #secp > .sp-card, html body #secp > .sp-threat { margin-bottom: 20px; }
/* the threat card keeps its level colour as a light inside the glass */
html body #secp .sp-threat.is-high { background: radial-gradient(60% 90% at 0% 0%, rgba(239,68,68,.26), transparent 62%) padding-box, radial-gradient(45% 60% at 100% 100%, rgba(166,107,255,.18), transparent 65%) padding-box, linear-gradient(160deg, #1a1440, #070a22) padding-box, linear-gradient(135deg, #ff6b6b, #ff4fd8 40%, #a66bff 70%, #4d7dff) border-box !important; }
html body #secp .sp-threat.is-raised { background: radial-gradient(60% 90% at 0% 0%, rgba(245,158,11,.22), transparent 62%) padding-box, radial-gradient(45% 60% at 100% 100%, rgba(166,107,255,.18), transparent 65%) padding-box, linear-gradient(160deg, #17173f, #070a22) padding-box, linear-gradient(135deg, #fcd34d, #ff4fd8 45%, #a66bff 70%, #4d7dff) border-box !important; }
html body #secp .sp-thr-badge { border-radius: 999px !important; }

/* ---- lit tiles: the four big numbers, the threat facts, the six protections ---- */
html body #secp .sp-tile, html body #secp .sp-thr-stat, html body #secp .sp-how > div { border: 1px solid rgba(255,255,255,.10) !important; border-radius: 18px !important;
  background: linear-gradient(90deg, transparent 18%, #22e6ff 50%, transparent 82%) top center / 100% 2px no-repeat, linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px -34px rgba(0,0,0,.9); }
html body #secp .sp-tile:nth-child(2), html body #secp .sp-thr-stat:nth-child(2), html body #secp .sp-thr-stat:nth-child(5), html body #secp .sp-how > div:nth-child(2), html body #secp .sp-how > div:nth-child(5) { background: linear-gradient(90deg, transparent 18%, #a66bff 50%, transparent 82%) top center / 100% 2px no-repeat, linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important; }
html body #secp .sp-tile:nth-child(3), html body #secp .sp-thr-stat:nth-child(3), html body #secp .sp-how > div:nth-child(3), html body #secp .sp-how > div:nth-child(6) { background: linear-gradient(90deg, transparent 18%, #ff4fd8 50%, transparent 82%) top center / 100% 2px no-repeat, linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important; }
html body #secp .sp-tile b, html body #secp .sp-thr-stat b { font-family: "Space Grotesk", Inter, system-ui, sans-serif; text-shadow: 0 0 22px rgba(34,230,255,.5); }
html body #secp .sp-tile span { color: #c0cbe2; } html body #secp .sp-tile small, html body #secp .sp-thr-stat small { color: #8fa0c4; }
html body #secp .sp-tile.sp-ok { border-color: rgba(45,255,176,.38) !important; background: linear-gradient(90deg, transparent 18%, #2dffb0 50%, transparent 82%) top center / 100% 2px no-repeat, linear-gradient(160deg, rgba(45,255,176,.14), rgba(45,255,176,.03)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 44px -16px rgba(45,255,176,.75); }
html body #secp .sp-tile.sp-ok b, html body #secp .sp-grn { color: #2dffb0 !important; text-shadow: 0 0 24px rgba(45,255,176,.75); }
html body #secp .sp-tile.sp-bad { border-color: rgba(255,79,216,.45) !important; background: linear-gradient(90deg, transparent 18%, #ff4fd8 50%, transparent 82%) top center / 100% 2px no-repeat, linear-gradient(160deg, rgba(255,79,216,.16), rgba(255,79,216,.03)) !important; } html body #secp .sp-tile.sp-bad b { color: #ff8fe4; text-shadow: 0 0 24px rgba(255,79,216,.7); }
html body #secp .sp-tile.is-up { border-color: rgba(34,230,255,.7) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 40px -12px rgba(34,230,255,.9); }
html body #secp .sp-how svg { stroke: #22e6ff; filter: drop-shadow(0 0 8px rgba(34,230,255,.7)); } html body #secp .sp-how span { color: #a9b6d3; }

/* ---- the live canvases sit in rounded wells ---- */
html body #secp #sp3dWall, html body #secp #sp3dSky { border-radius: 18px !important; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
html body #secp #sp3dWall canvas, html body #secp #sp3dSky canvas { border-radius: 18px !important; }
html body #secp .sp3-count b, html body #secp .sp3-count strong { color: #2dffb0; text-shadow: 0 0 16px rgba(45,255,176,.7); }

/* ---- happening now ---- */
html body #secp .sp-row { border-top-color: rgba(255,255,255,.08); border-radius: 12px !important; } html body #secp .sp-row.is-new { background: rgba(34,230,255,.14); }
html body #secp .sp-t { color: #8fa0c4; } html body #secp .sp-ip { color: #6f7fa6; }
html body #secp .sp-chip { border-radius: 999px !important; padding: 4px 11px; box-shadow: 0 0 18px -6px currentColor, inset 0 1px 0 rgba(255,255,255,.35); }
html body #secp .sp-did { border-radius: 999px !important; padding: 4px 11px; letter-spacing: .02em; }
html body #secp .sp-did.r { background: rgba(45,255,176,.10) !important; color: #2dffb0 !important; border: 1px solid rgba(45,255,176,.35); }
html body #secp .sp-did.w { background: rgba(252,211,77,.10) !important; color: #fcd34d !important; border: 1px solid rgba(252,211,77,.35); }

/* ---- charts ---- */
html body #secp .sp-cols i { background: linear-gradient(180deg, #ff4fd8, #a66bff 70%, #4d7dff) !important; border-radius: 6px 6px 0 0 !important; box-shadow: 0 0 16px -6px rgba(255,79,216,.9); }
html body #secp .sp-cols i.z { background: rgba(255,255,255,.08) !important; box-shadow: none; }
html body #secp .sp-cols i.now { background: linear-gradient(180deg, #2dffb0, #22e6ff) !important; box-shadow: 0 0 18px -4px rgba(45,255,176,.95); }
html body #secp .sp-cols i u, html body #secp .sp-axis, html body #secp .sp-day small, html body #secp .sp-key { color: #8fa0c4; }
html body #secp .sp-day .g { background: linear-gradient(180deg, #2dffb0, #22e6ff) !important; box-shadow: 0 0 22px -8px rgba(45,255,176,.9); } html body #secp .sp-day .g.top, html body #secp .sp-day .a { border-radius: 8px 8px 0 0 !important; }
html body #secp .sp-day .a { background: #fcd34d !important; }
html body #secp .sp-key i { border-radius: 50% !important; } html body #secp .sp-key span:first-child i { background: #2dffb0 !important; }
html body #secp .sp-tr { background: rgba(255,255,255,.08) !important; border-radius: 99px !important; } html body #secp .sp-tr i { border-radius: 99px !important; box-shadow: 0 0 14px -2px currentColor; filter: saturate(1.2) brightness(1.08); }
html body #secp .sp-b span { color: #dbe4f5; } html body #secp .sp-b em, html body #secp .sp-lay b { font-family: "Space Grotesk", Inter, system-ui, sans-serif; }
html body #secp .sp-lay { border-top-color: rgba(255,255,255,.08); } html body #secp .sp-lay i { border-radius: 50% !important; box-shadow: 0 0 10px -1px currentColor; }
html body #secp .sp-lay.t0, html body #secp .sp-lay.t0 b { color: #2dffb0; text-shadow: 0 0 16px rgba(45,255,176,.6); } html body #secp .sp-lay.t0.is-bad, html body #secp .sp-lay.t0.is-bad b { color: #ff8fe4; text-shadow: none; }
html body #secp .sp-foot { color: #8fa0c4; }

@media (max-width: 760px) {
  html body #secp .sp-card, html body #secp .sp-threat { padding: 20px 16px; border-radius: 20px !important; } html body #secp .sp-card h2, html body #secp h2.sp-thr-h { font-size: 18px !important; }
  html body #secp .sp-tile, html body #secp .sp-thr-stat, html body #secp .sp-how > div { border-radius: 16px !important; } html body .sa-cta { padding: 10px 14px; border-radius: 12px !important; }
  html body #secp .sp-grid { gap: 16px; margin-bottom: 16px; } html body #secp > .sp-card, html body #secp > .sp-threat { margin-bottom: 16px; }
}
