@font-face { font-family: "Outfit"; font-weight: 200; font-style: normal; src: url("fonts/Outfit-ExtraLight.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; src: url("fonts/Outfit-Regular.woff2") format("woff2"); font-display: block; }

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #000; cursor: default; user-select: none; -webkit-user-select: none; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 2.5s ease; }
body.ready #view { opacity: 1; }
body.instant #view { opacity: 1; transition: none; }
@media (prefers-reduced-motion: reduce) { #view { transition: none; } }

/* Uhr: dünn und ruhig, mit weichem Schein, damit sie vor den Punkten lesbar bleibt */
#clock { position: fixed; color: #fff; font-family: "Outfit", "Segoe UI", "Helvetica Neue", sans-serif; text-align: center; pointer-events: none; white-space: nowrap;
  font-size: 9.5vh; line-height: 1; text-shadow: 0 0 0.35em rgba(0, 0, 0, .75), 0 0 0.08em rgba(0, 0, 0, .6); }
#clock[hidden], #clock-date[hidden], #nogl[hidden], #diag[hidden] { display: none; }
#clock-time { font-weight: 200; font-size: 1em; letter-spacing: .06em; font-variant-numeric: lining-nums tabular-nums; }
#clock-time::after { content: attr(data-suffix); font-size: .26em; font-weight: 400; letter-spacing: .14em; margin-left: .4em; opacity: .8; }
#clock-time[data-suffix=""]::after { margin-left: 0; }
#clock-date { font-weight: 400; font-size: .2em; letter-spacing: .34em; text-transform: uppercase; margin-top: .55em; margin-right: -.34em; opacity: .82; }
#clock.pos-t { left: 50%; top: 8vh; transform: translateX(-50%); }
#clock.pos-b { left: 50%; bottom: 11vh; transform: translateX(-50%); }
#clock.pos-tl { left: 5vw; top: 8vh; text-align: left; }
#clock.pos-tr { right: 5vw; top: 8vh; text-align: right; }
#clock.pos-bl { left: 5vw; bottom: 11vh; text-align: left; }
#clock.pos-br { right: 5vw; bottom: 11vh; text-align: right; }
#clock.pos-tr #clock-date, #clock.pos-br #clock-date { margin-right: 0; }

#nogl { position: fixed; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; color: #ccd; font: 18px/1.4 sans-serif; padding: 0 8vw; text-align: center; }
#nogl-why { font: 12px/1.4 Consolas, monospace; color: #889; white-space: pre-wrap; max-width: 900px; }
#diag { position: fixed; left: 3vw; bottom: 9vh; margin: 0; padding: 10px 14px; background: rgba(0, 0, 0, .72); color: #cfe; font: 13px/1.5 Consolas, "Courier New", monospace; border-radius: 6px; pointer-events: none; white-space: pre; }
