/* Full-screen display mode; LED basics live in led.css */

:root {
  /* Roughly 12 rows fit on any screen */
  --fs: clamp(22px, min(6.4vh, 5.6vw), 140px);
}

html, body { height: 100%; }
body { overflow: hidden; cursor: default; }
body.hide-cursor { cursor: none; }

.panel {
  height: 100%;
  padding: 0.35em max(0.5em, env(safe-area-inset-right)) max(0.25em, env(safe-area-inset-bottom)) max(0.5em, env(safe-area-inset-left));
}

.board { height: 100%; display: flex; flex-direction: column; }
.rows { flex: 1; list-style: none; overflow: hidden; }
.panel.no-plat .dep { grid-template-columns: 2.4em 1fr 3.1em; }
.panel.no-plat .dep-plat { display: none; }

.bottom {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  height: 1.15em;
  padding-top: 0.1em;
}
.bottom .ticker { flex: 1; }
.clock { flex: none; }

.message { list-style: none; padding-top: 1em; text-align: center; }

/* Phones in portrait: narrower columns */
@media (max-width: 560px) {
  :root { --fs: clamp(20px, 7.4vw, 34px); }
  .dep { grid-template-columns: 1.9em 1fr auto 2.7em; column-gap: 0.25em; }
  .panel.no-plat .dep { grid-template-columns: 1.9em 1fr 2.7em; }
}
