html:has(body.broadcast) {
  height: 100%;
  overflow: hidden;
  background: #000;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body.broadcast {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: #ebe6da;
}

body.broadcast .crt {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
}

body.broadcast canvas#screen {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  cursor: none; /* tylko kursor DOS na CRT */
  image-rendering: pixelated;
}

body.broadcast .fullbtn {
  position: fixed;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(238, 236, 228, 0.55);
  cursor: pointer;
}
body.broadcast .fullbtn:hover,
body.broadcast .fullbtn:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
}

.boom {
  position: fixed;
  z-index: 9;
  left: 8px;
  top: 8px;
  max-width: 90vw;
  padding: 8px;
  background: #300;
  color: #f88;
  white-space: pre-wrap;
  font: 12px/1.4 monospace;
}

body.broadcast.is-mobile-block .crt,
body.broadcast.is-mobile-block .fullbtn {
  visibility: hidden;
  pointer-events: none;
}

.desktop-only {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 30%, #1a2218 0%, #050605 55%, #000 100%);
  color: #d8e0c8;
}

.desktop-only[hidden] {
  display: none !important;
}

.desktop-only-card {
  max-width: 22rem;
  text-align: center;
  border: 2px solid #3a5a2a;
  box-shadow:
    0 0 0 1px #0a0a0a,
    0 0 40px rgba(40, 80, 30, 0.35);
  background: linear-gradient(180deg, #0c120c 0%, #050805 100%);
  padding: 2rem 1.25rem 1.75rem;
}

.desktop-only-brand {
  margin: 0 0 1rem;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #7cff4a;
  text-shadow:
    0 0 12px rgba(80, 255, 60, 0.45),
    2px 0 0 rgba(255, 40, 40, 0.35),
    -2px 0 0 rgba(40, 180, 255, 0.35);
}

.desktop-only-msg {
  margin: 0 0 0.75rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  line-height: 1.4;
  color: #f0f4e8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.desktop-only-sub {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #7a8870;
}
