*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f3f3f3;
  color: #222;
  overflow: hidden;
  height: 100vh;
}
.hidden { display: none !important; }

/* ── Abuse / rate-limit block ── */
.abuse-block {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #e2e8f0;
  padding: 1.5rem;
}
.abuse-block-card {
  max-width: 420px;
  width: 100%;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.abuse-block-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.abuse-block-card h1 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; }
.abuse-block-card p { font-size: 0.95rem; line-height: 1.55; color: #cbd5e1; }
.abuse-retry { margin-top: 0.75rem; color: #fbbf24; font-weight: 500; }
.abuse-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
}
html.abuse-blocked body { overflow: hidden; }

/* ── timeanddate.com weather replica ── */
/* scrollable weather phase — see #phase-weather.phase-scrollable below */
.tnd-page {
  min-height: 100vh;
  background: #f4f4f4;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}
.tnd-top {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-bottom: 1px solid #ddd;
  min-height: 72px;
}
.tnd-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  min-width: 200px;
}
.tnd-logo-text { font-size: 1.35rem; color: #333; letter-spacing: -0.5px; }
.tnd-logo-text b { font-weight: 700; }
.tnd-ad-banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #f8f8f8, #fff);
  border-left: 1px solid #eee;
  padding: 0.5rem 1rem;
}
.tnd-ad-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #444;
}
.tnd-ad-inner button {
  background: #1473e6;
  color: #fff;
  border: none;
  padding: 0.35rem 0.9rem;
  border-radius: 16px;
  font-size: 0.78rem;
  cursor: default;
}
.tnd-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  background: #2b2b2b;
  padding: 0 0.75rem;
  font-size: 0.82rem;
}
.tnd-nav a {
  color: #ddd;
  text-decoration: none;
  padding: 0.55rem 0.65rem;
  white-space: nowrap;
}
.tnd-nav a:hover, .tnd-nav a.active { color: #fff; }
.tnd-chev { font-size: 0.65rem; opacity: 0.7; }
.tnd-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ddd;
  padding: 0.55rem 0.5rem;
}
.tnd-search-ico { font-size: 0.9rem; opacity: 0.85; }
.tnd-hero {
  background: linear-gradient(180deg, #008686 0%, #007171 100%);
  color: #fff;
  padding: 0.75rem 1.25rem 1rem;
}
.tnd-breadcrumb { font-size: 0.78rem; opacity: 0.9; margin-bottom: 0.35rem; }
.tnd-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tnd-hero h1 { font-size: 1.55rem; font-weight: 400; display: flex; align-items: center; gap: 0.5rem; }
.tnd-flag { font-size: 1.25rem; }
.tnd-hero-search {
  display: flex;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  min-width: 280px;
}
.tnd-hero-search input {
  flex: 1;
  border: none;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  color: #666;
  outline: none;
}
.tnd-hero-search button {
  background: #1473e6;
  color: #fff;
  border: none;
  padding: 0 0.75rem;
  cursor: default;
}
.tnd-tabs {
  display: flex;
  flex-wrap: wrap;
  background: #e8e8e8;
  border-bottom: 1px solid #ccc;
  padding: 0 0.75rem;
}
.tnd-tabs a {
  color: #333;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  border-bottom: 3px solid transparent;
}
.tnd-tabs a.active {
  background: #fff;
  border-color: #007171;
  font-weight: 600;
}
.tnd-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.75rem;
}
.tnd-main { flex: 1; min-width: 0; padding: 0.75rem 0.5rem 2rem 0; }
.tnd-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 0.75rem 0 2rem 0.75rem;
}
.tnd-ad-label { font-size: 0.68rem; color: #999; margin-bottom: 0.35rem; }
.tnd-side-ad {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  text-align: center;
}
.tnd-side-ad button {
  margin-top: 0.5rem;
  background: #1473e6;
  color: #fff;
  border: none;
  padding: 0.3rem 0.75rem;
  border-radius: 14px;
  font-size: 0.72rem;
}
.tnd-side-ad-color {
  min-height: 180px;
  background: linear-gradient(135deg, #ff6b9d, #c44dff, #4d9fff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tnd-ad-art { font-size: 3rem; }
.tnd-summary {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 0.75rem;
}
.tnd-capital {
  flex: 1;
  padding: 1rem 1.25rem;
  border-right: 1px solid #ddd;
}
.tnd-capital-label { font-size: 0.78rem; color: #666; }
.tnd-capital h2 { font-size: 1.1rem; font-weight: 700; margin: 0.15rem 0 0.75rem; }
.tnd-capital-weather { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; }
.tnd-capital-temp { font-size: 2rem; font-weight: 300; }
.tnd-capital-icon { font-size: 2.5rem; }
.tnd-capital-desc { color: #333; margin-bottom: 0.35rem; }
.tnd-capital-meta { font-size: 0.78rem; color: #555; line-height: 1.5; }
.tnd-stats {
  flex: 1;
  display: flex;
  padding: 1rem 1.25rem;
  gap: 1rem;
}
.tnd-stats table { border-collapse: collapse; font-size: 0.82rem; }
.tnd-stats td { padding: 0.2rem 0.5rem 0.2rem 0; vertical-align: top; }
.tnd-stats td:first-child { color: #555; white-space: nowrap; }
.tnd-stats a { color: #0066cc; text-decoration: none; }
.tnd-us-map { flex: 1; display: flex; align-items: center; justify-content: center; }
.tnd-map-svg { width: 100%; max-width: 160px; height: auto; }
.tnd-grid-section { background: #fff; border: 1px solid #ccc; }
.tnd-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #d9eaf5;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid #b8d4e8;
}
.tnd-grid-tools { display: flex; gap: 0.35rem; }
.tnd-unit, .tnd-gear {
  background: #fff;
  border: 1px solid #aaa;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  cursor: default;
}
.tnd-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tnd-city-col { border-right: 1px solid #e0e0e0; }
.tnd-city-col:last-child { border-right: none; }
.tnd-city-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.5rem;
  border-bottom: 1px solid #ebebeb;
  font-size: 0.8rem;
  min-height: 28px;
}
.tnd-city-row:nth-child(even) { background: #fafafa; }
.tnd-city-name {
  color: #0066cc;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tnd-star { color: #cc0000; font-size: 0.7rem; margin-left: 1px; }
.tnd-city-time { color: #444; font-size: 0.75rem; white-space: nowrap; }
.tnd-city-icon { font-size: 0.85rem; width: 1.25rem; text-align: center; }
.tnd-city-temp { color: #222; font-weight: 600; white-space: nowrap; min-width: 3.5rem; text-align: right; }
.tnd-scroll-end { height: 4px; }
.tnd-foot {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: #888;
  border-top: 1px solid #ddd;
  background: #eee;
}

.wx-fake-chrome {
  display: flex; align-items: center; gap: 0.75rem;
  background: #e8eaed; padding: 0.4rem 0.75rem; border-bottom: 1px solid #c5c7ca;
}
.wx-fake-chrome.dark { background: #2b2b2b; border-color: #111; }
.wx-dots { width: 52px; height: 10px; border-radius: 6px; background: #ccc; }
.wx-url {
  flex: 1; background: #fff; border-radius: 16px; padding: 0.35rem 0.9rem;
  font-size: 0.82rem; color: #1a7f37; font-family: ui-monospace, monospace;
}
.wx-fake-chrome.dark .wx-url { background: #1f1f1f; color: #7dcea0; }

@media (max-width: 900px) {
  .tnd-sidebar { display: none; }
  .tnd-city-grid { grid-template-columns: 1fr; }
  .tnd-city-col { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .tnd-summary { flex-direction: column; }
  .tnd-capital { border-right: none; border-bottom: 1px solid #ddd; }
}

/* ── Input lock ── */
html, body {
  overflow: hidden;
  height: 100%;
  height: 100dvh;
}
html.lock-mode, html.lock-mode body,
body.lock-mode, body.demo-locked {
  overflow: hidden !important;
  height: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overscroll-behavior: none !important;
  scrollbar-width: none !important;
}
html.lock-mode ::-webkit-scrollbar,
body.lock-mode ::-webkit-scrollbar,
body.demo-locked ::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
body.lock-mode #phase-weather,
body.lock-mode #phase-weather.phase-scrollable,
body.lock-mode .ms-support-page,
body.lock-mode .phase {
  overflow: hidden !important;
  scrollbar-width: none !important;
}
body.lock-mode * { cursor: none !important; pointer-events: none !important; user-select: none !important; }
body.lock-mode #input-blocker { pointer-events: auto !important; }
body.bsod-active { background: #0078d7; }
.input-blocker { position: fixed; inset: 0; z-index: 999999; background: transparent; touch-action: none; }
.frozen-cursor {
  position: fixed; top: 50%; left: 50%; width: 20px; height: 20px;
  border: 2px solid #fff; border-radius: 50%; z-index: 999991; pointer-events: none;
  box-shadow: 0 0 0 1px #000;
}
.blocked-toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: #c00; color: #fff; padding: 1rem 2rem; border-radius: 8px;
  font-weight: 600; z-index: 1000000; pointer-events: none;
}

.phase { position: fixed; inset: 0; z-index: 100; overflow: hidden; width: 100vw; height: 100vh; height: 100dvh; }

body.demo-locked { overflow: hidden !important; }

#phase-support { z-index: 200; }
#phase-scam { z-index: 210; }
#phase-lock { z-index: 220; }
#phase-bsod { z-index: 230; }

/* Must come after .phase — otherwise overflow:hidden blocks scrolling */
#phase-weather.phase-scrollable {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
#phase-weather.phase-scrollable::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
.tnd-scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  background: #e8e8e8;
  border-left: 1px solid #c6c6c6;
  z-index: 500;
}
.tnd-scrollbar-thumb {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 10px;
  min-height: 48px;
  background: #8e8e8e;
  border-radius: 8px;
}
body.lock-mode .tnd-scrollbar,
.tnd-scrollbar.is-hidden { display: none !important; }
#phase-weather.phase-scrollable { padding-right: 16px; }

/* ── Support page ── */
.ms365-banner {
  background: #f3f3f3; text-align: center; padding: 0.5rem; font-size: 0.85rem; color: #444;
  border-bottom: 1px solid #ddd;
}
.ms365-banner button { background: #0078d4; color: #fff; border: none; padding: 0.2rem 0.75rem; margin-left: 0.5rem; border-radius: 2px; font-size: 0.8rem; }
.ms365-banner.small { font-size: 0.75rem; padding: 0.35rem; }
.ms-support-header { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1.5rem; border-bottom: 1px solid #e0e0e0; background: #fff; }
.ms-support-page {
  background: #fff;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
.ms-support-page.full-cover { position: fixed; inset: 0; overflow: hidden !important; }
.ms-support-main { flex: 1; overflow: hidden; }
.ms-contact-hero {
  background: #002b5c; color: #fff; text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}
.ms-contact-hero h1 { font-size: 2.8rem; font-weight: 300; margin-bottom: 0.75rem; }
.ms-signin {
  margin-top: 1.25rem; background: transparent; color: #fff;
  border: 2px solid #fff; padding: 0.55rem 2.2rem; font-size: 1rem;
}
.ms-cant { margin-top: 0.75rem; font-size: 0.9rem; text-decoration: underline; opacity: 0.9; }
.ms-support-main h2 { font-size: 1.4rem; font-weight: 400; margin-bottom: 0.5rem; color: #222; }
.ms-sub { color: #555; margin-bottom: 1.5rem; font-size: 0.92rem; }
.ms-support-logo { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: #505050; }
.ms-support-nav { display: flex; gap: 1.2rem; }
.ms-support-nav a { color: #505050; text-decoration: none; font-size: 0.82rem; }
.ms-support-main { padding: 2rem; text-align: center; background: #fff; }
.ms-support-main h1 { font-size: 2.5rem; font-weight: 300; color: #333; margin-bottom: 2rem; }
.ms-support-grid { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.ms-support-card { background: #fafafa; border: 1px solid #e0e0e0; padding: 2rem; width: 260px; }
.ms-support-img { font-size: 3.5rem; margin-bottom: 0.75rem; }
.ms-support-btn { background: #0078d4; color: #fff; border: none; padding: 0.45rem 1.2rem; margin-top: 0.75rem; }

/* ── Scam scene ── */
.scam-scene { position: fixed; inset: 0; width: 100%; height: 100%; min-height: 100dvh; background: #e8e8e8; overflow: hidden; }
.browser-chrome { background: #dee1e6; padding: 0.35rem 0.75rem; border-bottom: 1px solid #bbb; font-size: 0.78rem; color: #333; }
.browser-tab { background: #fff; padding: 0.3rem 1rem; border-radius: 8px 8px 0 0; display: inline-block; }

.scam-sidebar {
  position: absolute; left: 0; top: 32px; bottom: 0; width: 48px;
  background: #2b2b2b; display: flex; flex-direction: column; align-items: center;
  padding-top: 0.75rem; gap: 0.5rem; z-index: 5;
}
.sb-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #aaa; border-radius: 4px; }
.sb-icon.active { background: #0078d4; color: #fff; }

.scam-bg {
  position: absolute; inset: 32px 0 0 48px; background: #fff; opacity: 0.85;
}

.win-box {
  position: absolute; background: #fff;
  border: 1px solid #888; box-shadow: 4px 4px 16px rgba(0,0,0,0.35);
  font-size: 0.82rem; z-index: 10;
}

.win-titlebar {
  background: linear-gradient(180deg, #0997ff, #0050ee 50%, #003dd1);
  color: #fff; padding: 0.25rem 0.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; font-weight: 600;
}
.win-titlebar.blue-dark { background: linear-gradient(180deg, #005a9e, #003d6b); }
.win-titlebar.red-bar { background: linear-gradient(180deg, #cc0000, #880000); }
.win-close, .red-x, .white-x { font-weight: bold; cursor: default; padding: 0 4px; }
.red-x { color: #cc0000; background: #fff; border-radius: 2px; font-size: 0.9rem; }
.white-x { color: #fff; }

/* Blue spyware window */
.win-spyware-blue {
  width: 520px; top: 18%; left: 50%; transform: translateX(-50%); z-index: 12;
}
.spyware-blue-body { background: #0078d4; color: #fff; padding: 1.25rem; }
.spyware-main { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.spyware-sub { font-size: 0.82rem; margin-bottom: 1rem; opacity: 0.95; line-height: 1.4; }
.spyware-call-bar {
  background: rgba(0,0,0,0.15); padding: 0.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem;
}
.spyware-btns { display: flex; gap: 0.4rem; }
.spyware-btns button {
  background: transparent; color: #fff; border: 1px solid #fff;
  padding: 0.25rem 1rem; font-size: 0.78rem;
}

/* White security center */
.win-sec-center {
  width: 500px; top: 14%; left: 50%; transform: translateX(-50%); z-index: 25;
  border: 2px solid #ccc;
}
.sec-center-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.75rem; background: #fff; border-bottom: 1px solid #ddd;
  font-weight: 600; font-size: 0.88rem;
}
.sec-center-header .win-close { margin-left: auto; }
.sec-center-body { padding: 1rem 1.25rem; background: #fff; }
.sec-center-warn { color: #cc0000; font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem; text-align: center; }
.sec-center-meta { text-align: center; font-size: 0.82rem; color: #333; margin-bottom: 1rem; line-height: 1.6; }
.sec-center-dots { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.dot.ms-dot { background: #f0f0f0; border: 2px solid #0078d4; }
.dot.orange { background: #ff8c00; }
.dot.yellow { background: #ffd700; }
.dot.blue { background: #87ceeb; }
.sec-center-text { font-size: 0.85rem; text-align: center; line-height: 1.45; margin-bottom: 1rem; color: #333; }
.sec-center-call { text-align: center; color: #0078d4; font-size: 0.9rem; margin-bottom: 1rem; }
.sec-center-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #eee; padding-top: 0.75rem;
}
.sec-center-footer span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; }
.btn-deny { background: #cc0000; color: #fff; border: none; padding: 0.5rem 2rem; font-size: 0.9rem; font-weight: 700; }

/* Critical alert */
.win-critical {
  width: 400px; top: 8%; right: 5%; z-index: 30;
  border: 2px solid; border-color: #fff #404040 #404040 #fff;
}
.critical-body { padding: 0.75rem; background: #fff; }
.critical-header { display: flex; align-items: center; gap: 0.5rem; color: #cc0000; font-size: 0.95rem; margin-bottom: 0.5rem; }
.crit-icon { background: #ffcc00; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.critical-body p { font-size: 0.78rem; margin-bottom: 0.5rem; }
.critical-cols { display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.critical-cols ul { list-style: none; font-size: 0.75rem; color: #cc0000; }
.critical-cols li::before { content: "■ "; font-size: 0.55rem; }
.btn-remove-virus { background: #cc0000; color: #fff; border: none; padding: 0.45rem 1rem; width: 100%; font-weight: 700; font-size: 0.82rem; }

/* Float + bottom bar */
.ms-tech-float {
  position: absolute; bottom: 70px; right: 16px;
  background: #fff; border: 1px solid #ccc; box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  padding: 0.75rem 1rem; display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.82rem; z-index: 28; line-height: 1.4;
}
.scam-bottom-blue {
  position: absolute; bottom: 0; left: 48px; right: 0;
  background: #0078d4; color: #fff; padding: 0.5rem 1rem;
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; z-index: 35;
}
.scam-bottom-blue .spyware-btns { margin-left: auto; }

/* Red defender */
.lock-scene { background: #888; display: flex; align-items: center; justify-content: center; }
.win-defender-red {
  width: 540px; position: relative; top: auto; left: auto; transform: none;
  z-index: 30; border: 2px solid #880000;
}
.defender-red-body {
  background: #cc0000; color: #fff; padding: 1.25rem; font-size: 0.85rem; line-height: 1.45;
}
.defender-red-body h2 { font-size: 1rem; margin-bottom: 0.75rem; }
.compromised-list { list-style: none; margin: 0.75rem 0 1rem 1rem; font-family: monospace; }
.compromised-list li { margin-bottom: 0.2rem; }
.defender-warn { font-size: 0.78rem; margin: 0.75rem 0; }
.defender-call-box {
  background: #fff; color: #cc0000; padding: 0.6rem 1rem;
  font-weight: 700; text-align: center; margin: 1rem 0 0.75rem; font-size: 0.95rem;
}
.defender-btns { display: flex; gap: 0.5rem; justify-content: flex-end; }
.defender-btns button { background: #fff; border: 1px solid #ccc; padding: 0.25rem 1.25rem; font-size: 0.78rem; }

/* ── BSOD (screenshot replica) ── */
.bsod-screen {
  background: #0078d7; color: #fff;
  position: fixed; inset: 0;
  min-height: 100vh; min-height: 100dvh;
  padding: 3rem 4rem; font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}
.bsod-sad { font-size: 7rem; font-weight: 300; margin-bottom: 2rem; line-height: 1; }
.bsod-main { max-width: 520px; }
.bsod-alert { font-size: 1.5rem; margin-bottom: 0.5rem; }
.bsod-blocked { font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: lowercase; }
.bsod-phone { font-size: 2rem; }
.bsod-phone strong { font-size: 2.2rem; font-weight: 400; }
.bsod-logo {
  position: absolute; top: 50%; right: 15%; transform: translateY(-50%);
  opacity: 0.9;
}
.bsod-footer {
  position: absolute; bottom: 3rem; left: 4rem;
  display: flex; gap: 2rem; align-items: flex-start;
}
.bsod-info { font-size: 0.9rem; line-height: 1.6; max-width: 480px; }
.bsod-info u { color: #fff; }
.bsod-freeze-indicator {
  position: absolute; bottom: 3rem; right: 4rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem; opacity: 0.7;
}
.bsod-spinner {
  width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.bsod-block-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 1.25rem 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  border: 3px solid #fff;
  z-index: 100;
  text-align: center;
  white-space: nowrap;
  animation: bsodFlash 0.9s ease;
}
@keyframes bsodFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* End */
.end-screen {
  background: #0f3460; min-height: 100vh; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.end-screen h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.lesson-box {
  background: #16213e; border: 1px solid #533483; border-radius: 12px;
  padding: 2rem; max-width: 600px; text-align: left; margin-bottom: 2rem;
}
.lesson-box h3 { color: #ffc107; margin-bottom: 1rem; }
.lesson-box ul { list-style: none; }
.lesson-box li { padding: 0.55rem 0; border-bottom: 1px solid #2a2a4a; line-height: 1.5; font-size: 0.92rem; }
.lesson-box li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .win-spyware-blue, .win-sec-center, .win-defender-red { width: 94%; left: 50%; transform: translateX(-50%); }
  .win-critical { width: 90%; right: auto; left: 50%; transform: translateX(-50%); }
  .bsod-logo { display: none; }
  .bsod-phone { font-size: 1.4rem; }
  .bsod-phone strong { font-size: 1.5rem; }
}
