@font-face {
  font-family: 'AnonymousPro-Regular';
  src: url('/fonts/AnonymousPro-Regular.woff2') format('woff2'),
    url('/fonts/AnonymousPro-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --lines: 70;
  --font-size-vh: calc(100vh / ((var(--lines) + 3) * 1.3));
  --font-size-vw: 1.55vw;
}

body {
  background-color: black;
  margin: 0;
  font-family: 'AnonymousPro-Regular', monospace;
  font-size: min(var(--font-size-vh), var(--font-size-vw));
  font-weight: 600;
  color: white;
}

#center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  box-sizing: border-box;
}

.table {
  border-collapse: collapse;
  max-width: 95vw;
}

.status {
  font-size: 14px;
  opacity: 0.6;
}

.right {
  float: right;
}

.left {
  float: left;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  text-decoration: underline;
}

td,
th {
  padding: 0.08em 0.85em;
  border: 0;
  white-space: nowrap;
}

th.narrow {
  padding: 0.08em 0.4em;
}

th.text-start,
td.text-start {
  text-align: start;
}

th.text-center,
td.text-center {
  text-align: center;
}

th.text-end,
td.text-end {
  text-align: end;
}

tbody>tr:hover {
  background-color: rgb(48, 48, 48);
}

tr.current {
  background-color: rgba(255, 179, 0, 0.1);
  color: #ffca28;
}

tr.current td {
  border-top: 1px dashed rgba(255, 202, 40, 0.35);
  border-bottom: 1px dashed rgba(255, 202, 40, 0.35);
}

tbody>tr.current:hover {
  background-color: rgba(255, 179, 0, 0.2);
}

tr.forecast {
  opacity: 0.7;
  font-style: italic;
  color: #90caf9;
}

tbody>tr.forecast:hover {
  background-color: rgba(144, 202, 249, 0.12);
}

.badge-current {
  font-size: 78%;
  opacity: 0.9;
  margin-left: 0.4em;
  font-weight: normal;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  background-color: rgba(255, 202, 40, 0.18);
  border: 1px solid rgba(255, 202, 40, 0.4);
}

.badge-est {
  font-size: 78%;
  opacity: 0.85;
  margin-left: 0.35em;
  font-weight: normal;
}

.subtle {
  opacity: 0.55;
  font-weight: normal;
}

.header-title {
  font-size: 135%;
  padding-bottom: 0.15em;
  letter-spacing: 0.05em;
}

.header-subtitle {
  font-size: 105%;
  padding-bottom: 0.35em;
  opacity: 0.85;
}

.footer-row th {
  padding-top: 0.4em;
}

.nostr-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-vw: 2.7vw;
  }

  td,
  th {
    padding: 0.06em 0.4em;
  }

  .hide-mobile {
    display: none;
  }
}