.phase-panic--win {
  background: #0078d7;
  color: #fff;
  font-family: 'Segoe UI', 'Segoe UI Variable', system-ui, sans-serif;
}

/* Win BSOD-only: poori screen blue — black shell/veil hide */
html.os-win.win-bsod-only.prank-active-root,
html.os-win.win-bsod-only.prank-active-root body,
html.os-win.win-bsod-only.prank-viewport-lock,
html.os-win.win-bsod-only.prank-fullscreen-black,
html.os-win.win-bsod-only.prank-active-root #prank-shell {
  background: #0078d7 !important;
}

html.win-bsod-only #prank-veil {
  background: #0078d7 !important;
  opacity: 1;
}

html.win-bsod-only #prank-shell.prank-shell--failed .failed-panel--win,
html.win-bsod-only .failed-panel--win {
  display: none !important;
  visibility: hidden !important;
}

html.win-bsod-only .bsod-scan-ui {
  width: 100%;
  max-width: none;
}

.bsod-phone-hero {
  margin: 0 0 28px;
  padding: 18px 22px;
  max-width: 560px;
  background: rgba(0, 0, 0, 0.18);
  border-left: 4px solid #fff;
}

.bsod-phone-hero-label {
  margin: 0 0 8px;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 400;
  opacity: 0.95;
}

.bsod-phone-hero-num {
  display: block;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.bsod-phone-hero-num:hover {
  text-decoration: underline;
}

.bsod-stop {
  font-size: clamp(14px, 1.6vw, 16px);
  margin: 0 0 24px;
  opacity: 0.92;
  font-family: 'Consolas', 'Segoe UI', monospace;
}

.phase-panic--win .panic-menu,
.phase-panic--win .mac-support-corner {
  display: none !important;
}

.bsod-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 10vw 12vh;
}

#prank-shell.prank-shell--failed .bsod-wrap {
  justify-content: center;
  align-items: center;
  padding: 5vh 6vw;
}

.bsod-emoji {
  font-size: clamp(72px, 12vw, 120px);
  margin-bottom: 24px;
  line-height: 1;
}

.bsod-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  margin: 0 0 20px;
  line-height: 1.2;
}

.bsod-msg {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.45;
  margin: 0 0 28px;
}

.bsod-phone-block {
  margin: 20px 0 32px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.15);
  border-left: 4px solid #fff;
  max-width: 520px;
}

.bsod-phone-label {
  font-size: 14px;
  margin: 0 0 6px;
  opacity: 0.95;
}

.bsod-phone-num {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.bsod-phone-block--always {
  margin: 24px 0 28px;
}

.bsod-progress-wrap {
  max-width: 400px;
}

.bsod-progress-label {
  font-size: 14px;
  margin-bottom: 8px;
}

.bsod-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  overflow: hidden;
}

.bsod-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  transition: width 0.35s ease;
}

.bsod-progress-pct {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.9;
}

.bsod-qr {
  font-size: 13px;
  margin-top: 24px;
  opacity: 0.85;
}

html.os-mac .phase-panic--win[hidden],
html.os-mac .phase-panic--win {
  display: none !important;
}

html.os-mac.gate-phase .phase-panic--win {
  display: none !important;
}

html.os-win .phase-panic--mac-only {
  display: none !important;
}

/* Windows: ek popup ke baad BSOD 2% par freeze — no progress tick */
html.win-bsod-frozen .bsod-progress-fill {
  transition: none !important;
}

html.win-bsod-frozen .bsod-scan-ui,
html.win-bsod-frozen .bsod-wrap {
  pointer-events: none;
  user-select: none;
}

html.win-bsod-only .scan-progress-phone--win,
html.win-bsod-frozen.prank-active-root .scan-progress-phone--win {
  display: block !important;
}

html.win-bsod-only .phase-panic--win {
  display: flex !important;
  min-height: 100dvh;
  width: 100%;
}

html.win-bsod-only .bsod-wrap {
  flex: 1;
  width: 100%;
}
