:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel2: #f8f9fb;
  --line: #e0e3e7;
  --text: #202124;
  --muted: #5f6368;
  --red: #d93025;
  --red2: #ea4335;
  --green: #188038;
  --blue: #1a73e8;
  --shadow: 0 18px 40px rgba(0, 0, 0, .10);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 50% -10%, rgba(217, 48, 37, .08), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(26, 115, 232, .08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.app {
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Header logo from project files */
.brandLogo {
  height: 28px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .12));
}

.demoTag {
  margin-left: 10px;
  font-size: 14px;
  letter-spacing: .05em;
  font-weight: 900;
  color: #3c4043;
  text-transform: uppercase;
  white-space: nowrap;
}

#pillText {
  font-weight: 900;
}


/* Light theme visibility fixes (header tags, LIVE pill, VIRUSES badge, detailed checks icons) */
body.theme-light .demoTag {
  border-color: var(--line);
  background: rgba(0, 0, 0, .03);
  color: #3c4043;
}

body.theme-light .pill {
  color: #7a1d1d;
  background: rgba(217, 48, 37, .10);
  border-color: rgba(217, 48, 37, .28);
}

body.theme-light #liveDot.pillIdle:not(.phase-ok) {
  background: rgba(0, 0, 0, .03);
  border-color: var(--line);
  color: var(--muted);
}

body.theme-light #liveDot.phase-ok {
  color: #0d6537;
  border-color: rgba(35, 209, 139, .55);
  background: rgba(35, 209, 139, .14);
}

/* IMPORTANT: keep VIRUSES badge GREEN until 40% (phase-ok). Only non-phase-ok badges use red styling */
body.theme-light .badge:not(.phase-ok) {
  color: #7a1d1d;
  background: rgba(217, 48, 37, .10);
  border-color: rgba(217, 48, 37, .28);
}

body.theme-light .badge.phase-ok {
  border-color: rgba(35, 209, 139, .45);
  background: linear-gradient(180deg, rgba(35, 209, 139, .22), rgba(35, 209, 139, .08));
}

body.theme-light .badge .lab {
  color: rgba(122, 29, 29, .75);
}

body.theme-light .badge.phase-ok .lab {
  color: rgba(13, 101, 55, .75);
}

body.theme-light .badge.phase-ok .num {
  color: #0d6537;
}

/* SVG icons use inline stroke attributes;
force override for light theme */
.steps .icon svg path {
  stroke: rgba(32, 33, 36, .68) !important;
}

.steps .icon svg {
  opacity: .98;
}

#lg {
  width: 80px;
}

.ptxt {
  font-weight: 400;
  font-size: 16px;
  margin-top: 6px;
  color: var(--muted);
}

.pill {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 48, 37, .28);
  background: rgba(217, 48, 37, .10);
  color: #7a1d1d;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

#liveDot.pillIdle:not(.phase-ok) {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(255, 255, 255, .15);
  color: #cfd3da;
}

#liveDot.phase-ok {
  background: rgba(35, 209, 139, .14);
  border-color: rgba(35, 209, 139, .55);
  color: #0d6537;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04) inset, 0 10px 30px rgba(35, 209, 139, .10);
}

#liveDot.phase-ok .dot {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(35, 209, 139, .14);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 45, 45, .12)
}

.wrap {
  padding: 16px
}

.hero {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 251, .96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 280px at 30% 0%, rgba(217, 48, 37, .08), transparent 55%),
    radial-gradient(540px 240px at 90% 40%, rgba(26, 115, 232, .08), transparent 55%);
  pointer-events: none;
}

.heroInner {
  position: relative;
  padding: 16px
}

.headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hTitle {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  color: #d93025;
}

.hSub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35
}

.badge {
  flex: 0 0 auto;
  font-weight: 900;
  /* white theme default */
  color: #7a1d1d;
  background: linear-gradient(180deg, rgba(255, 45, 45, .22), rgba(255, 45, 45, .08));
  border: 1px solid rgba(255, 45, 45, .35);
  padding: 10px 12px;
  border-radius: 14px;
  text-align: center;
  min-width: 110px;
}

.badge .num {
  font-size: 26px;
  line-height: 1;
  margin-top: 2px
}

.badge .lab {
  font-size: 11px;
  color: rgba(122, 29, 29, .75)
}

.badge.phase-ok {
  border-color: rgba(35, 209, 139, .45);
  background: linear-gradient(180deg, rgba(35, 209, 139, .22), rgba(35, 209, 139, .08));
  box-shadow: 0 10px 30px rgba(35, 209, 139, .08), inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* On white background, keep the green badge text dark for readability */
.badge.phase-ok .lab {
  color: rgba(13, 101, 55, .78);
}

.badge.phase-ok .num {
  color: #0d6537;
}

.bar {
  margin-top: 10px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .03);
  border: 1px solid var(--line);
  overflow: hidden;
}

.bar > div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 45, 45, .90), rgba(255, 77, 77, .95), rgba(255, 45, 45, .85));
  filter: drop-shadow(0 12px 18px rgba(255, 45, 45, .22));
  transition: width .18s ease;
}

.bar.phase-ok > div {
  background: linear-gradient(90deg, rgba(35, 209, 139, .85), rgba(35, 209, 139, .95), rgba(35, 209, 139, .85));
  filter: drop-shadow(0 12px 18px rgba(35, 209, 139, .22));
}

.metaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

.chip {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .02);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip b {
  color: var(--text)
}

.sectionTitle {
  margin: 14px 0 8px;
  font-weight: 900;
  letter-spacing: .2px
}

.steps {
  display: grid;
  gap: 8px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .02);
}

.icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .02);
  flex: 0 0 auto;
}

.icon svg {
  width: 14px;
  height: 14px
}

.step .txt {
  min-width: 0
}

.step .t1 {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1
}

.step .t2 {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.25
}

.step[data-state="ok"] {
  border-color: rgba(35, 209, 139, .35);
  background: rgba(35, 209, 139, .06)
}

.step[data-state="ok"] .icon {
  border-color: rgba(35, 209, 139, .35);
  background: rgba(35, 209, 139, .10)
}

.step[data-state="warn"] {
  border-color: rgba(255, 45, 45, .35);
  background: rgba(255, 45, 45, .08)
}

.step[data-state="warn"] .icon {
  border-color: rgba(255, 45, 45, .35);
  background: rgba(255, 45, 45, .12)
}

.terminal {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 249, 251, .96));
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .10);
}

.termTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px
}

.termTop .left {
  display: flex;
  gap: 6px;
  align-items: center
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.light.red {
  background: var(--red)
}

.light.amb {
  background: #ffb020
}

.light.grn {
  background: var(--green)
}

.termTop .label {
  font-size: 12px;
  color: var(--muted)
}

.log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.25;
  color: #1f3a5a;
  max-height: 160px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .16) transparent;
}

.log::-webkit-scrollbar {
  width: 8px
}

.log::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .16);
  border-radius: 999px
}

.line {
  opacity: .95;
  margin: 0 0 6px
}

.line .k {
  color: var(--blue)
}

.line .bad {
  color: var(--red);
  font-weight: 800
}

.line .ok {
  color: var(--green)
}

.ctaWrap {
  margin-top: 14px;
  display: grid;
  gap: 10px
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  font-weight: 950;
  letter-spacing: .2px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f7fbff;
  background: linear-gradient(270deg, #ff4d4d, #ff2d2d);
  box-shadow: 0 14px 34px rgba(217, 48, 37, .18), 0 6px 14px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .55), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .22), transparent 40%);
  transform: rotate(10deg);
  opacity: .45;
  animation: sheen 1.6s linear infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-10%) rotate(10deg);
    opacity: .28
  }

  45% {
    opacity: .55
  }

  100% {
    transform: translateX(10%) rotate(10deg);
    opacity: .28
  }
}

.btn span {
  position: relative;
  z-index: 1
}

.btn svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px
}

.btnGreen {
  color: #ffffff;
  text-shadow: none;
  background: linear-gradient(180deg, #2cba6e, #128747);
  box-shadow: 0 14px 34px rgba(24, 128, 56, .18), 0 6px 14px rgba(0, 0, 0, .10);
}

.btnGreen::before {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .40), transparent 55%),
    linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
  opacity: .22;
}


.btnPulse {
  animation: pulse 0.9s ease-in-out infinite
}

@keyframes pulse {
  0% {
    transform: scale(1);
    filter: saturate(1)
  }

  50% {
    transform: scale(1.03);
    filter: saturate(1.25)
  }

  100% {
    transform: scale(1)
  }
}

.btnGhost {
  background: rgba(0, 0, 0, .02);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.btnGhost::before {
  display: none
}

/* Start scan panel */
.startPanel {
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 251, .96));
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.startPanel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(520px 220px at 20% 0%, rgba(217, 48, 37, .10), transparent 55%),
    radial-gradient(520px 220px at 85% 70%, rgba(26, 115, 232, .10), transparent 58%);
  pointer-events: none;
}

.startInner {
  position: relative;
  display: grid;
  gap: 10px
}

.startKicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.startKicker b {
  color: var(--text)
}

.startTitle {
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .2px
}

.startDesc {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35
}

.startBtn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  padding: 15px 14px;
  border-radius: 18px;
  font-weight: 950;
  letter-spacing: .25px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f7fbff;
  background: linear-gradient(180deg, #4da3ff, #1f6bff);
  box-shadow: 0 18px 44px rgba(26, 115, 232, .18), 0 6px 16px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.startBtn::before {
  content: "";
  position: absolute;
  inset: -60% -80%;
  background: radial-gradient(circle at 28% 38%, rgba(255, 255, 255, .70), transparent 34%),
    radial-gradient(circle at 72% 62%, rgba(255, 255, 255, .26), transparent 44%);
  transform: rotate(12deg);
  opacity: .55;
  animation: sheen 1.4s linear infinite;
}

.startBtn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  opacity: .35;
  pointer-events: none;
}

.startBtn span,
.startBtn svg {
  position: relative;
  z-index: 1
}

.startBtn svg {
  width: 18px;
  height: 18px
}

.startPulse {
  animation: startPulse .85s ease-in-out infinite
}

@keyframes startPulse {
  0% {
    transform: scale(1);
    filter: saturate(1)
  }

  50% {
    transform: scale(1.04);
    filter: saturate(1.25)
  }

  100% {
    transform: scale(1)
  }
}

.miniHint {
  font-size: 13px;
  color: #5495ff;
  text-align: center;
  margin-top: -4px;
}

.demoNote {
  margin-top: 8px;
  font-size: 10.5px;
  color: rgba(154, 167, 189, .9);
  text-align: center;
  opacity: .95;
}

.pillIdle {
  border-color: rgba(0, 0, 0, .10);
  background: rgba(0, 0, 0, .03);
  color: rgba(32, 33, 36, .88);
}

.pillIdle .dot {
  background: rgba(0, 0, 0, .30);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, .06)
}


.foot {
  margin-top: 10px;
  color: rgba(154, 167, 189, .95);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.shake {
  animation: shake .9s ease-in-out infinite
}

@keyframes shake {
  0% {
    transform: translateX(0)
  }

  15% {
    transform: translateX(-2px)
  }

  30% {
    transform: translateX(2px)
  }

  45% {
    transform: translateX(-1px)
  }

  60% {
    transform: translateX(1px)
  }

  100% {
    transform: translateX(0)
  }
}

.hidden {
  display: none !important
}

@media (min-width: 420px) {
  .hTitle {
    font-size: 19px
  }

  .badge {
    min-width: 120px
  }
}

/* === PANIC FULL-WIDTH ALERT === */
#bannerSlot {
  width: 100%;
}

#bannerSlot {
  width: 100%;
}

#bannerSlot .emphasisCard {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px 14px 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(217, 48, 37, .10), rgba(217, 48, 37, .04));
  border: 1px solid rgba(217, 48, 37, .35);
  box-shadow: 0 10px 26px rgba(217, 48, 37, .12);
  position: relative;
}

#bannerSlot .emphasisIcon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff2a2a;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(217, 48, 37, .22);
  animation: emphasisBlink .6s steps(1, end) infinite;
}

#bannerSlot .emphasisText {
  color: #ff2a2a;
  font-weight: 800;
  text-shadow: none;
  font-size: 18px;
}

@keyframes emphasisBlink {

  0%,
  49% {
    opacity: 1
  }

  50%,
  100% {
    opacity: .25
  }
}

#bannerSlot .bannerNotice {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px 14px 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(217, 48, 37, .10), rgba(217, 48, 37, .04));
  border: 1px solid rgba(217, 48, 37, .35);
  box-shadow: 0 10px 26px rgba(217, 48, 37, .12);
  position: relative;
}

#bannerSlot .bannerIcon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff2a2a;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(217, 48, 37, .22);
  animation: emphasisBlink .6s steps(1, end) infinite;
}

#bannerSlot .bannerText {
  color: #ff2a2a;
  font-weight: 800;
  text-shadow: none;
  font-size: 18px;
}


/* Offer question (end of scan) */
.offerQ {
  margin-bottom: 12px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 251, .96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
  position: relative;
  overflow: hidden;
}

.offerQ::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(160px 80px at 20% 0%, rgba(77, 163, 255, .22), transparent 60%),
    radial-gradient(180px 90px at 80% 100%, rgba(34, 197, 94, .14), transparent 62%);
  pointer-events: none;
}

.offerQTitle {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .2px;
  margin: 2px 0 10px;
  color: var(--text);
  text-align: center;
  position: relative;
  z-index: 1;
}

.offerQBtns {
  display: flex;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.offerOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
}

body.modalOpen {
  overflow: hidden;
}

.offerModal {
  width: min(520px, 100%);
  margin: 0;
  animation: modalPop .18s ease-out both;
}

@keyframes modalPop {
  from {
    transform: translateY(8px) scale(.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.offerBtn {
  appearance: none;
  border: 0;
  cursor: pointer;
  flex: 1;
  padding: 12px 10px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
}

.offerBtnPulse {
  animation: pulse 0.9s ease-in-out infinite
}

.offerBtnBlue {
  color: #f7fbff;
  background: linear-gradient(180deg, #4da3ff, #1f6bff);
  box-shadow: 0 18px 44px rgba(26, 115, 232, .16), 0 6px 16px rgba(0, 0, 0, .10);
}

.offerBtnWhite {
  background: rgba(255, 255, 255, .96);
  color: #0b1526;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
}

.offerBtn:active {
  transform: translateY(1px);
}

@media (max-width: 380px) {
  .offerBtn {
    font-size: 12px;
    padding: 11px 8px;
    border-radius: 14px;
  }

  .offerQBtns {
    gap: 8px;
  }
}


/* Initial alert overlay (on page open) */
.initOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.initOverlay[aria-hidden="true"] {
  display: none;
}

.initCard {
  width: min(560px, 92vw);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.initTop {
  display: flex;
  gap: 12px;
  padding: 14px 14px 8px 14px;
  align-items: flex-start;
}

.initIconWrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.initIcon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.initHead {
  min-width: 0;
}

.initTitleRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.initBadge {
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}

.initTitle {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  line-height: 1.15;
}

.initSub {
  margin-top: 6px;
  color: rgba(255, 255, 255, .70);
  font-size: 14px;
}

.initBody {
  padding: 4px 14px 14px 14px;
  color: rgba(255, 255, 255, .90);
  font-size: 15px;
  line-height: 1.35;
}

.initBtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .02);
}

.initBtn {
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.initBtnLeft {
  border-right: 1px solid rgba(255, 255, 255, .10);
}

.initBtn:hover {
  background: rgba(0, 0, 0, .02);
}

.initBtn:active {
  transform: translateY(1px);
}

@media (max-width:520px) {
  .initTitle {
    font-size: 15px;
  }

  .initBody {
    font-size: 15px;
  }

  .initBtn {
    font-size: 16px;
  }
}


/* === Scary red theme for the first (initial) alert === */
.initOverlay {
  background: rgba(10, 0, 0, .55);
}

.initCard {
  background: linear-gradient(180deg, rgba(60, 0, 0, .92), rgba(14, 0, 0, .94));
  border: 1px solid rgba(255, 70, 70, .35);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(255, 70, 70, .12),
    0 0 28px rgba(255, 40, 40, .20);
}

.initIconWrap {
  background: rgba(255, 60, 60, .10);
  border: 1px solid rgba(255, 80, 80, .35);
  box-shadow: 0 0 18px rgba(255, 40, 40, .18);
}

.initTitle {
  color: #ffe6e6;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, .12),
    0 0 16px rgba(255, 60, 60, .18);
}

.initSub {
  color: rgba(255, 210, 210, .78);
}

.initBody {
  color: rgba(255, 235, 235, .92);
}

.initBtns {
  border-top: 1px solid rgba(255, 80, 80, .22);
  background: rgba(255, 255, 255, .02);
}

.initBtnLeft {
  color: rgba(255, 235, 235, .88);
  border-right: 1px solid rgba(255, 80, 80, .18);
}

.initBtnLeft:hover {
  background: rgba(255, 80, 80, .06);
}

.initBtnRight {
  color: #fff;
  background: linear-gradient(180deg, #ff3b3b, #c30000);
  box-shadow:
    0 10px 26px rgba(195, 0, 0, .35),
    0 0 18px rgba(255, 30, 30, .22);
  position: relative;
  overflow: hidden;
  animation: initPulse 1.25s ease-in-out infinite;
}

.initBtnRight:hover {
  filter: brightness(1.05);
}

.initBtnRight:active {
  transform: translateY(1px) scale(.99);
}

.initBtnRight::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%);
  transform: rotate(18deg);
  opacity: .35;
  pointer-events: none;
}

@keyframes initPulse {

  0%,
  100% {
    box-shadow: 0 10px 26px rgba(195, 0, 0, .35), 0 0 18px rgba(255, 30, 30, .18);
  }

  50% {
    box-shadow: 0 14px 32px rgba(195, 0, 0, .48), 0 0 26px rgba(255, 30, 30, .28);
  }
}

/* --- Light theme: ensure VIRUSES badge text is visible even before scan (override late rules) --- */
body.theme-light .badge.phase-ok .lab {
  color: rgba(13, 101, 55, .78) !important;
}

body.theme-light .badge.phase-ok .num {
  color: #0d6537 !important;
}

body.theme-light .badge .lab {
  color: rgba(32, 33, 36, .72) !important;
}

body.theme-light .badge .num {
  color: rgba(32, 33, 36, .92) !important;
}

/* --- Counter escalation: ensure phase-notice overrides base light-theme colors --- */
body.theme-light .badge.phase-notice .lab {
  color: rgba(217, 48, 37, .92) !important;
}

body.theme-light .badge.phase-notice .num {
  color: #d93025 !important;
}


._is_1 {
  width: 100%;
}

._is_2 {
  margin-top: 10px;
}

._is_3 {
  opacity: .9;
}

._is_4 {
  opacity: .9;
}

._is_5 {
  opacity: .9;
}

._is_6 {
  opacity: .9;
}

._is_7 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
}

._is_8 {
  font-size: 12px;
  color: var(--muted);
}


/* --- responsiveness, added by Clean --- */
img,
video,
iframe {
  max-width: 100%;
  height: auto
}
