html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ===== RESET ===== */
html, body {
  margin: 0;
  padding: 0;

  width: 100vw;
  height: 100vh;

  background: var(--client-bg);
  color: var(--client-text);
  font-family: Inter, system-ui, sans-serif;

  overflow: hidden;
}


/* ===== FACT (THE PRODUCT) ===== */
#fact {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5vh;
  box-sizing: border-box;
}

#fact {
  visibility: hidden;
}

/* ===== TIMER (SUBTLE, NOT DOMINANT) ===== */
#timer-wrap {
  --p: 1;

  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 80px;
  height: 80px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔹 FALLBACK dla starych TV / WebView */
  background-color: rgba(0,0,0,0.15);

  /* 🔹 NOWOCZESNE PRZEGLĄDARKI */
  background:
          conic-gradient(
                  #3b82f6 calc(var(--p, 1) * 360deg),
                  rgba(0,0,0,0.15) 0
          );

  outline: 2px solid rgba(0,0,0,0.35);
  outline-offset: -2px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);

  z-index: 1000;
}



#seconds {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;

  /* 🔑 KLUCZ: zawsze czytelne */
  color: #111;                    /* fallback */
  text-shadow:
          0 0 2px rgba(255,255,255,0.9), /* na ciemnym tle */
          0 0 4px rgba(0,0,0,0.6);       /* na jasnym tle */

  user-select: none;
  pointer-events: none;
}





/* ===== DEMO ===== */
#watermark-demo {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20vw;          /* HUGE */
  font-weight: 800;
  letter-spacing: 0.1em;

  color: rgba(0, 0, 0, 0.08); /* subtle but visible */
  transform: rotate(-45deg);

  pointer-events: none;
  user-select: none;
  z-index: 9999;
}

/* ===== FULLSCREEN ===== */
#fullscreen {
  position: fixed;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ccc;
}
