@font-face { font-family: Bedstead; src: url(bedstead.woff2) format("woff2"); font-display: block; }

.tt { position: relative; display: grid; grid-template-columns: repeat(40, 1fr); grid-template-rows: repeat(25, 1fr);
  font-family: Bedstead, monospace; background: #000; }
.tt .cell { position: relative; overflow: visible; white-space: pre; font-size: var(--fs, 16px); line-height: var(--fs, 16px);
  display: flex; justify-content: center; align-items: flex-start; }
.tt .cell > span { display: block; transform: scaleX(var(--sx, 1)); transform-origin: center top; }
.tt .cell.dh { z-index: 2; }
.tt .cell.dh > span { transform: scale(var(--sx, 1), 2); }
.tt .six { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
.tt .six i { display: block; margin: -0.3px; }
.tt .link { cursor: pointer; }
.tt .flash > span { animation: ttflash 1s steps(1) infinite; }
@keyframes ttflash { 50% { opacity: 0; } }
.tt.glow .cell > span { text-shadow: 0 0 .3em currentColor; }


.tt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .tt .flash > span { animation: none; } }

.plain { max-width: 560px; margin: 3rem auto; padding: 0 1rem; color: #fff; font: 16px/1.5 Bedstead, monospace; }
.plain a { color: #21f2ff; }
.plain h1, .plain h2 { color: #ffee21; font-weight: normal; }
