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

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #6f6;
  font-family: "Segoe UI", system-ui, sans-serif;
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

#clock-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#clock-canvas {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
}

#status-bar {
  position: fixed;
  right: 1rem;
  bottom: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
  pointer-events: none;
}

#status-bar[hidden] {
  display: none;
}

#error-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 1rem;
  background: rgba(80, 0, 0, 0.85);
  color: #fdd;
  text-align: center;
  font-size: 0.9rem;
}

#error-banner[hidden] {
  display: none;
}
