.tc-retro-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
}

.tc-retro-badge {
    box-sizing: border-box;
    flex: 0 0 88px;
    display: inline-flex;
    width: 88px;
    height: 31px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #555 #555 #fff;
    color: #000080;
    font: bold 11px/1 "Courier New", monospace;
    text-decoration: none;
}

.tc-retro-badge small {
    margin-top: 2px;
    color: #222;
    font: 9px/1 "Courier New", monospace;
}

.tc-retro-badge:hover { background: #d8d8d8; }
.tc-retro-badge:active { border-color: #555 #fff #fff #555; }
.tc-retro-badge:focus-visible { outline: 2px solid #000080; outline-offset: 3px; }

.tc-retro-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    background: #c0c0c0;
    color: #000;
    font: 1rem/1.55 "Times New Roman", Times, serif;
}

.tc-retro-page main {
    box-sizing: border-box;
    width: 100%;
    max-width: 64rem;
    margin: 3rem auto;
    padding: 0 1.25rem;
}

.tc-retro-masthead {
    margin-bottom: 0;
    font: bold 1rem "Courier New", monospace;
}

.tc-retro-page h1 { margin: .25em 0 .45em; }
.tc-retro-page hr { border: 1px inset #a0a0a0; }
.tc-retro-page a { color: #0000b0; text-decoration: underline; }
.tc-retro-page a:visited { color: #551a8b; }

.tc-retro-source summary {
    color: #000080;
    cursor: pointer;
    font: bold .875rem "Courier New", monospace;
    text-decoration: underline;
}

.tc-retro-source pre {
    overflow: auto;
    padding: .75rem;
    border: 2px inset #c0c0c0;
    background: #e8e8e8;
    font: .875rem/1.4 "Courier New", monospace;
}

.tc-retro-statusbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem;
    margin-top: auto;
    padding: .25rem;
    border-top: 2px ridge #c0c0c0;
    font: .75rem/1.25 "MS Sans Serif", Tahoma, Arial, sans-serif;
}

.tc-retro-statusbar span {
    padding: .15rem .5rem;
    border: 2px inset #c0c0c0;
}

.tc-retro-led {
    margin: .75rem 0;
    padding: 4px;
    border: 2px inset #919191;
    background: #080202;
}

.tc-retro-led-window {
    overflow: hidden;
    background: radial-gradient(circle, #3d0a0a 1px, transparent 1px) 0 0 / 4px 4px, #080202;
}

.tc-retro-led-track {
    padding: .4rem;
    color: #ff625b;
    font: bold .875rem/1.4 "Courier New", monospace;
    text-transform: uppercase;
    text-shadow: 0 0 6px #fa2525;
}

.tc-retro-led-track span[aria-hidden] { display: none; }

.tc-retro-led button {
    margin: 4px 0 0;
    border: 2px outset #c0c0c0;
    background: #c0c0c0;
    color: #000;
    cursor: pointer;
    font: .75rem "Courier New", monospace;
}

.tc-retro-led-ready .tc-retro-led-track {
    display: flex;
    width: max-content;
    padding-inline: 0;
    white-space: nowrap;
    animation: tc-retro-led-scroll 36s linear infinite reverse;
}
.tc-retro-led-ready .tc-retro-led-track span { padding-inline: .5rem 3rem; }
.tc-retro-led-ready .tc-retro-led-track span[aria-hidden] { display: inline; }
.tc-retro-led-paused .tc-retro-led-track { animation-play-state: paused; }

@keyframes tc-retro-led-scroll { to { transform: translateX(-50%); } }

.tc-retro-counter output {
    display: inline-block;
    padding: .125rem .375rem;
    border: 2px inset #c0c0c0;
    background: #080808;
    color: #efefef;
    font: bold 1rem "Courier New", monospace;
    letter-spacing: .18em;
}


.tc-retro-clock {
    margin: .5rem 0;
    font-variant-numeric: tabular-nums;
}
