.vcr {
  position: relative;
  width: 540px;
  height: 540px;
  overflow: hidden;
  background: #000;
}

.vcr * { box-sizing: border-box; }

.vcr-tube {
  position: absolute;
  inset: 0;
  width: 540px;
  height: 540px;
}

/* The real fields lie under the glass, on the cells the tube draws them in:
   one framebuffer pixel is 2 px, a double-size character cell 48 x 72 px. */
.vcr-date,
.vcr-start,
.vcr-stop {
  position: absolute;
  display: flex;
  height: 72px;
}

.vcr-date { left: 30px; top: 154px; }
.vcr-start { left: 270px; top: 258px; }
.vcr-stop { left: 270px; top: 362px; }

.vcr [data-slot$="-input-segment"] {
  width: 96px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  /* The digits are drawn on the tube; the inputs' own text stays invisible while typing too (WebKit paints input
     text with -webkit-text-fill-color, not color). */
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  caret-color: transparent;
  font: 48px/72px monospace;
  text-align: center;
}

.vcr [data-slot$="-input-segment"]::placeholder { color: transparent; }
/* the segment's text is selected as you type; selected text takes the selection colour, so clear that too */
.vcr [data-slot$="-input-segment"]::selection { background: transparent; color: transparent; -webkit-text-fill-color: transparent; }
.vcr [data-slot$="-input-segment"][data-type="year"] { width: 192px; }
.vcr [data-slot$="-input-segment"][data-type="literal"] { width: 48px; }
