/* The news terminal reuses the demo housing: a wide 16:10 tube plus the control column. */

.news {
  padding: 1rem;
}

.unit--news {
  /* A slightly slimmer column than the demo's, so the tube keeps as much width as it can. */
  --controls-w: 16.5rem;
}

.tube--wide {
  aspect-ratio: 16 / 10;
  width: min(calc(100vw - var(--controls-w) - 8.5rem), calc((100svh - 10.5rem) * 16 / 10), 110rem);
  border-radius: 3.5% / 5.6%;
}

.tube--wide canvas:focus {
  outline: none;
}

.brow__demo {
  min-height: 2.1rem;
  text-decoration: none;
}

.unit--news .switch .key {
  padding-inline: 0.6rem;
  letter-spacing: 0.12em;
}

@media (max-height: 820px) and (min-width: 901px) {
  .tube--wide {
    width: min(calc(100vw - var(--controls-w) - 6.5rem), calc((100svh - 8.5rem) * 16 / 10), 110rem);
  }
}

@media (max-width: 900px) {
  .tube--wide {
    width: 100%;
  }
}
