/* Заглушка. Экран Nest Hub 2: 1024x600 @ dpr 1. */

/* Trebuchet MS на устройстве нет — проверено пробой на живом Хабе
   (font.present: false, откатывался на Roboto). Отдаём свой файл.
   Взят из /System/Library/Fonts/Supplemental этой macOS.
   ВНИМАНИЕ при переезде на VPS: раздавать его в открытый интернет —
   это уже распространение чужого шрифта. В локальной сети на свою же
   колонку — нет. */
@font-face {
  font-family: "Trebuchet Local";
  src: url("assets/trebuchet.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  margin: 0; padding: 0; height: 100%; width: 100%;
  background: #000; color: #e8edf3;
  font-family: Roboto, system-ui, -apple-system, sans-serif;
  overflow: hidden; overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: none;
}

/* keepalive: настоящий элемент, но невидимый */
#keepalive {
  position: fixed; right: 0; bottom: 0;
  width: 2px; height: 2px; opacity: .01;
  pointer-events: none; z-index: 0;
}

#app {
  position: relative; z-index: 1;
  height: 100%; width: 100%;
  display: flex; align-items: center; justify-content: center;
}

#time {
  font-family: "Trebuchet Local", "Trebuchet MS", sans-serif;
  font-size: clamp(64px, 26vh, 200px);
  font-weight: 400;
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  /* Trebuchet узкого начертания не имеет, font-stretch на него не действует,
     поэтому сужаем по-честному — сжатием по горизонтали */
  transform: scaleX(0.9);
  transform-origin: center;
}
