:root { color-scheme: dark; font-family: 'Courier New', monospace; background: #000; color: #8dffa8; }
* { box-sizing: border-box; }
body { margin: 0; }
.intro { position: absolute; top: 0; left: 2%; right: 2%; z-index: 1; text-align: center; }
.intro p { max-width: 1000px; margin: 0 auto; color: #99bda1; font-size: .875rem; line-height: 1.35; text-shadow: 0 1px 4px #000; }
.intro em { color: #bdffcd; }
.intro a { color: #8dffa8; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.intro a:hover { color: #d2ffdc; }
.intro a:focus-visible { outline: 2px solid #c6ffd1; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
.terminal { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; background: #000; }
.scene { position: relative; width: min(100vw, 133.333svh); aspect-ratio: 4 / 3; flex: none; }
.scene-image { width: 100%; height: 100%; display: block; user-select: none; }
.feed-tabs { position: absolute; left: 28.5%; right: 28.5%; top: 8.3%; height: 6.5%; display: flex; gap: 6.8%; }
.feed-tab { flex: 1; min-width: 0; border: 2px solid #6df68e; border-radius: 6px; background: #000c05; color: #7ded99; font-size: 1.75rem; line-height: 1; letter-spacing: 0; box-shadow: 0 0 10px #26d9670d; transition: background .2s, box-shadow .2s, color .2s; }
.feed-tab.active { background: #061d0d; color: #a4ffb8; box-shadow: 0 0 19px #41fa7230, inset 0 0 22px #20d25112; }
.feed-tab:hover { background: #0c2915; box-shadow: 0 0 22px #41fa723f; }
.feed-tab[data-feed="wikipedia"] { font-size: .875rem; line-height: 1.1; padding: 0 4px; }
.source-status { position: absolute; top: 15.5%; left: 24%; right: 24%; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; font-size: .75rem; line-height: 1.3; color: #8cac94; text-align: center; }
.source-status a { color: #99dba9; text-underline-offset: 3px; }
@media (min-width: 1200px) { .feed-tab[data-feed="wikipedia"] { font-size: 1.125rem; } }
button:focus-visible { outline: 2px solid #c6ffd1; outline-offset: 5px; }
.screen { position: absolute; top: 26.4%; left: 27.35%; width: 45.5%; height: 47%; border-radius: 4% / 5%; overflow: hidden; background: #000802; box-shadow: inset 0 0 36px 12px #000, 0 0 16px #1bec3c18; isolation: isolate; }
#rain { position: absolute; width: 100%; height: 100%; inset: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #0002 0px, #0002 1px, transparent 1px, transparent 3px); box-shadow: inset 0 0 30px 7px #0009; }
.power { position: absolute; left: 68.45%; top: 77.1%; width: 2.95%; height: 2.8%; padding: 0; background: #1b1d15; border: 2px solid #070a06; border-radius: 3px; color: #75836a; font-size: .875rem; box-shadow: inset 0 0 4px #000; }
.power:hover { color: #abffba; }
.power::after { content: ''; position: absolute; inset: -10px; }
.power-led { position: absolute; left: 72.5%; top: 77.95%; width: .65%; height: .8%; background: #8efa25; box-shadow: 0 0 8px #81ff29; }
.paused .power-led { background: #ba8b3a; box-shadow: 0 0 7px #ba8b3a70; }
@media (max-width: 1000px) and (min-width: 601px) { .feed-tab { font-size: 1.25rem; } }
@media (max-width: 600px) {
  .scene { width: 196vw; margin-top: 26px; }
  .intro { left: 50%; right: auto; width: calc(100vw - 32px); transform: translateX(-50%); top: -104px; }
  .scene::before { content: ''; position: absolute; left: 0; right: 0; top: -120px; height: 120px; background: url('terminal.png') center top / 100% 2400px; }
  .feed-tabs { left: 28.5%; right: 28.5%; top: 8.3%; height: 6.5%; gap: 6.8%; }
  .feed-tab { font-size: 1.125rem; }
}
@media (max-height: 580px) and (min-width: 601px) { .feed-tab { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } }
