:root {
  --chrome: #c0c0c0;
  --chrome-light: #fff;
  --chrome-dark: #404040;
  --chrome-mid: #808080;
  --blue: #000080;
  --green: #38ff58;
  --cyan: #31f8ff;
  --yellow: #fff100;
  --red: #ff3030;
  --purple: #c829ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: #0a0a0a; }
body { margin: 0; min-height: 100vh; overflow-x: auto; background: radial-gradient(circle at 50% 20%, #222 0, #050505 48%, #000 100%); color: #000; font-family: Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 10000; padding: 8px; color: #000; background: #fff; }
.skip-link:focus { top: 8px; }

.browser { width: min(1180px, calc(100% - 20px)); min-width: 760px; margin: 10px auto; border: 2px outset var(--chrome-light); background: var(--chrome); box-shadow: 0 18px 60px #000; }
.titlebar { display: flex; align-items: center; min-height: 26px; padding: 2px 3px; color: #fff; font-weight: 700; font-size: 13px; background: linear-gradient(90deg, #000080, #1084d0); }
.browser-mark { display: grid; place-items: center; width: 21px; height: 21px; margin-right: 5px; color: #35a7ff; background: #fff; border-radius: 50%; font: italic bold 19px Georgia, serif; }
.window-buttons { display: flex; gap: 2px; margin-left: auto; }
.window-buttons b { display: grid; place-items: center; width: 20px; height: 20px; color: #000; background: var(--chrome); border: 2px outset #fff; font: 700 13px Arial; }
.menubar { display: flex; gap: 2px; padding: 2px 5px; border-bottom: 1px solid var(--chrome-dark); }
.menubar button { padding: 2px 7px; border: 0; background: transparent; font-size: 13px; }
.menubar button::first-letter { text-decoration: underline; }
.toolbar { display: flex; align-items: stretch; min-height: 57px; padding: 3px 6px; border-top: 1px solid #fff; border-bottom: 1px solid var(--chrome-mid); }
.tool { min-width: 62px; padding: 3px 7px; border: 1px solid transparent; background: transparent; font-size: 11px; }
.tool:hover, .tool:focus-visible { border: 1px outset #fff; }
.tool span { display: block; color: #234e9f; text-shadow: 1px 1px #fff; font-size: 24px; line-height: 27px; }
.toolbar-separator { width: 2px; margin: 4px 8px; border-left: 1px solid #777; border-right: 1px solid #fff; }
.addressbar { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-top: 1px solid #fff; }
.addressbar label { font-size: 12px; }
.addressbar input { flex: 1; min-width: 0; height: 24px; padding: 2px 5px; border: 2px inset #fff; background: #fff; font-size: 13px; }
.addressbar button { height: 24px; border: 2px outset #fff; background: var(--chrome); }
.viewport { height: min(720px, calc(100vh - 178px)); min-height: 480px; overflow: auto; border: 2px inset #fff; background: #000; scrollbar-color: #c0c0c0 #808080; }
.statusbar { display: flex; min-height: 25px; padding: 3px; font-size: 12px; }
.statusbar > span { padding: 3px 7px; border: 1px inset #fff; }
.statusbar #browser-status { flex: 1; }
.status-zone { width: 145px; }

.browser-netscape .titlebar { background: #000080; }
.browser-netscape .browser-mark { border-radius: 0; color: #fff; background: #2047a8; font-size: 0; }
.browser-netscape .browser-mark::after { content: "N"; font: bold 18px 'Times New Roman'; }
.browser-netscape .toolbar { min-height: 50px; background: #bcbcbc; }
.browser-netscape .tool span { color: #225d38; }

.site { min-height: 100%; color: #ddd; background-color: #000; background-image: radial-gradient(#173b17 0.6px, transparent 0.8px); background-size: 4px 4px; font: 13px Verdana, Arial, sans-serif; }
.site a { color: #37e9ff; text-decoration: underline; }
.site a:visited { color: #dc55ff; }
.site-header { position: relative; padding: 14px 12px 0; overflow: hidden; text-align: center; border-bottom: 2px ridge #6b6b6b; background: linear-gradient(#050505, #130020 60%, #000); }
.electric-line { height: 5px; margin: 0 -12px 5px; background: repeating-linear-gradient(110deg, transparent 0 20px, #06f 21px 22px, #fff 23px, #0ff 24px 26px, transparent 27px 44px); filter: drop-shadow(0 0 5px #0cf); }
.eyebrow { margin: 3px; color: var(--green); font: 10px 'Courier New', monospace; }
h1 { margin: 0; color: #fff; font: 900 clamp(38px, 8vw, 78px) Impact, 'Arial Black', sans-serif; letter-spacing: 2px; line-height: .93; text-shadow: 3px 3px 0 #6800aa, 6px 6px 0 #002e80, 0 0 12px #e100ff; transform: skew(-4deg); }
#main-logo { position: relative; }
h1 .dj { color: #ffef00; margin-right: 9px; }
h1 .steckel { background: linear-gradient(#fff 10%, #00e5ff 43%, #1744ff 55%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 small { display: block; margin: 7px 0 12px; color: #ff2020; font: bold 18px 'Courier New', monospace; letter-spacing: 7px; text-shadow: 1px 1px #fff, 0 0 8px red; transform: none; }
.marquee { margin: 0 -12px; overflow: hidden; color: #000; background: var(--yellow); border: 2px inset #fff; white-space: nowrap; font: bold 12px 'Courier New', monospace; }
.marquee span { display: inline-block; min-width: 100%; padding: 5px 0; animation: marquee 14s linear infinite; }
@keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

.site-grid { display: grid; grid-template-columns: 175px minmax(0, 1fr); max-width: 980px; margin: 0 auto; border-left: 2px ridge #555; border-right: 2px ridge #555; }
.sidebar { padding: 8px; border-right: 2px ridge #777; background: #070707; }
.nav-title { padding: 6px; color: #000; background: linear-gradient(90deg, #00ff51, #00bfd7); text-align: center; font-weight: bold; border: 2px outset #bbb; }
#retro-nav { display: flex; flex-direction: column; margin-bottom: 13px; }
#retro-nav a { padding: 8px 5px; color: #00ff5e; border-bottom: 1px dotted #376d41; font: bold 12px 'Courier New', monospace; }
#retro-nav a:hover, #retro-nav a[aria-current="page"] { color: #000; background: #00ff5e; text-decoration: none; }
#retro-nav em { color: #ff0; font-size: 9px; animation: blink 1.4s steps(2, end) infinite; }
.counter-box { padding: 8px 5px; margin: 12px 0; border: 2px ridge #999; text-align: center; color: #ff0; }
.counter-box strong, .counter-box small { display: block; font-size: 9px; }
.counter-box output { display: block; margin: 5px 1px; padding: 4px; color: #ff3c3c; background: #170000; border: 2px inset #777; font: 700 19px 'Courier New', monospace; letter-spacing: 2px; text-shadow: 0 0 7px red; }
#visitor-counter { cursor: crosshair; user-select: none; }
.badge { width: 88px; min-height: 31px; display: grid; place-items: center; margin: 10px auto; border: 2px outset #aaa; text-align: center; font: bold 9px Arial; line-height: 11px; }
.badge-danger { color: #ff0; background: repeating-linear-gradient(135deg, #b00 0 6px, #200 7px 12px); }
.badge-html { color: #fff; background: #172a8f; }
.resolution { color: #aaa; text-align: center; font: 10px 'Times New Roman', serif; }

.content-frame { position: relative; min-height: 530px; padding: 10px; background: rgba(0,0,0,.82); }
.page h2 { margin: 0 0 10px; padding: 7px; color: #000; background: linear-gradient(90deg, #38ff58, #00c0c8 55%, #120044); border: 2px outset #c0c0c0; font: bold 18px 'Courier New', monospace; text-shadow: 1px 1px #fff; }
.page h3 { margin: -8px -8px 9px; padding: 5px 7px; color: #ff0; background: #12124b; border-bottom: 1px solid #00d4ff; font: bold 13px 'Courier New', monospace; }
.panel { margin-bottom: 10px; padding: 8px; border: 2px ridge #808080; background: #050510; }
.home-columns { display: grid; grid-template-columns: 1fr 210px; gap: 10px; }
.news-panel time { color: #ff4; }
.warning-strip { padding: 4px; margin: 0 0 10px; color: #ff0; background: #7b0000; text-align: center; border: 2px dashed #ff0; font-weight: bold; }
.on-air { text-align: center; }
.on-air-sign { padding: 5px; color: #fff; background: #b00000; border: 3px double #fff; font: 900 23px Impact; letter-spacing: 3px; box-shadow: 0 0 12px red; animation: pulse 1.5s ease-in-out infinite; }
.mini-eq { display: flex; height: 35px; align-items: end; justify-content: center; gap: 3px; margin: 8px; }
.mini-eq i { width: 6px; height: 50%; background: linear-gradient(#f00, #ff0, #0f0); animation: eq .7s steps(4) infinite alternate; }
.mini-eq i:nth-child(2n) { animation-delay: -.3s; }.mini-eq i:nth-child(3n) { animation-delay: -.55s; }
@keyframes eq { to { height: 100%; } }
@keyframes pulse { 50% { filter: brightness(1.7); } }
@keyframes blink { 50% { opacity: 0; } }
.blink-slow { color: #ff0; text-align: center; animation: blink 1.6s steps(2,end) infinite; }
.button-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.button-wall span { display: grid; place-items: center; width: 88px; height: 31px; color: #fff; background: linear-gradient(135deg, #002b7a, #a00075); border: 2px outset #aaa; text-align: center; font: bold 9px Arial; }
.profile-box { display: grid; grid-template-columns: 130px 1fr; gap: 15px; }
.pixel-portrait { width: 128px; height: 128px; display: grid; place-items: center; color: #0f0; background: repeating-linear-gradient(90deg,#090013 0 8px,#18002a 8px 16px); border: 4px ridge #777; font: 900 45px Impact; text-shadow: 4px 4px #b000ad; image-rendering: pixelated; }
.text-file { font-family: 'Courier New', monospace; }
.about-page > h2 { color: #ff0; text-align: center; text-shadow: 2px 2px #a000a0; }
.about-hero { display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: start; gap: 14px; background: linear-gradient(135deg,#110019,#030314 60%,#001b18); }
.webmaster-photo { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding: 5px; color: #0ff; background: #050505; border: 4px ridge #9a9a9a; box-shadow: 4px 4px 0 #000; font: 9px 'Courier New', monospace; }
.webmaster-photo-frame { position: relative; overflow: hidden; background: #000; border: 1px solid #1cffff; }
.webmaster-photo-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg,rgba(0,0,0,.13) 0 1px,transparent 1px 3px); mix-blend-mode: multiply; }
.webmaster-photo img { display: block; width: 100%; max-width: 100%; height: 210px; object-fit: cover; object-position: 50% 25%; filter: contrast(1.08) saturate(.82); image-rendering: pixelated; }
.webmaster-photo-stamp { position: absolute; z-index: 1; right: 5px; bottom: 5px; padding: 3px 5px; color: #ff0; background: rgba(0,0,0,.72); border: 1px solid #f0f; text-align: right; font: 900 10px/1 Impact, sans-serif; letter-spacing: 1px; transform: rotate(-3deg); }
.webmaster-photo figcaption { display: grid; gap: 2px; padding-top: 5px; text-align: center; }
.webmaster-photo figcaption b { color: #ff0; }
.webmaster-photo figcaption span { color: #9b9b9b; font-size: 8px; }
.pixel-portrait small { color: #0ff; font: bold 9px 'Courier New'; text-shadow: none; letter-spacing: 1px; }
.identity-grid { display: grid; grid-template-columns: 132px 1fr; align-content: start; margin: 0; font: 12px 'Courier New', monospace; }
.identity-grid dt, .identity-grid dd { margin: 0; padding: 4px 5px; border-bottom: 1px dotted #35485a; }
.identity-grid dt { color: #0ff; font-weight: bold; }
.identity-grid dd { color: #ddd; }
.identity-grid em { color: #ff0; }
.online-dot { color: #0f0; animation: blink 1.4s steps(2,end) infinite; }
.about-story { border-left: 4px solid #0ff; line-height: 1.55; }
.about-story h3, .about-facts h3 { color: #0ff; }
.about-story b { color: #ff0; }
.about-lower-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.about-facts { margin: 0; }
.about-facts ul { margin: 8px 0 0; padding-left: 20px; }
.about-facts li { margin: 6px 0; }
.computer-corner { padding: 10px; color: #0ff; background: #000; border: 2px solid #0f0; font: 11px 'Courier New', monospace; box-shadow: inset 0 0 16px #003500; }
.computer-corner h3 { margin-top: 0; color: #0f0; text-align: center; }
.computer-corner p { margin: 9px 0; }
.status-online { color: #0ff; }
.status-warn { color: #ff0; }
.status-danger { color: #f33; }
.computer-meter { display: flex; align-items: end; gap: 3px; height: 45px; margin: 12px 0; padding: 4px; border: 2px inset #777; }
.computer-meter i { flex: 1; height: 35%; background: linear-gradient(#f00,#ff0 40%,#0f0); animation: eq .55s steps(4) infinite alternate; }
.computer-meter i:nth-child(2n) { animation-delay: -.25s; }.computer-meter i:nth-child(3n) { animation-delay: -.4s; }
.construction-line { padding-top: 9px; border-top: 1px solid #555; color: #0f0; text-align: center; font-size: 9px; }
.about-signoff { position: relative; text-align: center; border: 3px double #a000a0; }
.webmaster-warning { display: inline-block; margin-top: 0; padding: 4px 8px; color: #000; background: #ff0; font-weight: bold; animation: blink 1.7s steps(2,end) infinite; }
.about-signoff h3 { color: #ff0; }
.about-links { margin: 15px 0; color: #aaa; }
.about-links a { color: #0ff; font-weight: bold; }
.about-best-viewed { margin-bottom: 0; color: #bbb; font-style: italic; }
.center { text-align: center; }
.links-table { border: 2px ridge #aaa; }
.links-table a { display: grid; grid-template-columns: 170px 1fr; padding: 8px; border-bottom: 1px solid #376; }
.links-table a:hover { background: #142b20; }
.links-table b { color: #ff0; }
.link-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-group { margin: 0; padding: 7px; }
.link-group h3 { margin: -3px -3px 7px; color: #0ff; background: #09002e; border-bottom: 2px ridge #777; text-align: center; font: bold 12px 'Courier New', monospace; }
.link-group .links-table a { grid-template-columns: 1fr; gap: 2px; font-size: 11px; }
.link-group .links-table span { color: #bbb; font-size: 10px; }
.link-group-wide { grid-column: 1 / -1; }
.link-group-wide .links-table { display: grid; grid-template-columns: 1fr 1fr; }
.link-group-wide .links-table a:last-child { grid-column: 1 / -1; }
.fine-print { color: #929292; font-size: 10px; }
.os-intro { color: #0ff; font-family: 'Courier New', monospace; }
.rave-desktop { position: relative; min-height: 470px; padding: 10px 10px 43px; overflow: hidden; color: #000; background: #008080; border: 4px ridge #ddd; box-shadow: inset 0 0 55px rgba(0,0,0,.35); }
.desktop-icons { display: grid; grid-template-columns: repeat(3, 92px); gap: 18px 10px; align-content: start; }
.desktop-icon { width: 88px; padding: 4px; color: #fff; background: transparent; border: 1px solid transparent; text-shadow: 1px 1px #000; }
.desktop-icon:hover, .desktop-icon:focus-visible { background: rgba(0,0,128,.65); border: 1px dotted #fff; }
.desktop-icon img { display: block; width: 32px; height: 32px; margin: 4px auto 6px; image-rendering: pixelated; filter: drop-shadow(2px 2px #004444); }
.desktop-icon b { font: 10px Arial, sans-serif; }
.os-window { position: absolute; z-index: 3; top: 28px; left: 170px; width: min(490px, calc(100% - 190px)); min-height: 250px; padding: 30px 9px 10px; color: #000; background: #c0c0c0; border: 3px outset #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.os-window > header { position: absolute; top: 3px; left: 3px; right: 3px; display: flex; align-items: center; padding: 3px 4px; color: #fff; background: linear-gradient(90deg,#000080,#1084d0); font: bold 12px Arial; }
.os-window > header button { width: 20px; height: 19px; margin-left: auto; padding: 0; color: #000; background: #c0c0c0; border: 2px outset #fff; font-weight: bold; line-height: 12px; }
.os-button { padding: 5px 8px; color: #000; background: #c0c0c0; border: 2px outset #fff; font-weight: bold; }
.os-button:active { border-style: inset; }
.icq-profile { display: flex; align-items: center; gap: 10px; padding: 7px; background: #fff; border: 2px inset #fff; }
.icq-profile small { display: block; color: #087800; }
.icq-flower { color: #46b900; font-size: 34px; text-shadow: 1px 1px #164600; animation: pulse 1s infinite; cursor: help; user-select: none; }
.icq-chat { height: 138px; margin: 8px 0; padding: 6px; overflow-y: auto; background: #fff; border: 2px inset #fff; font: 12px Arial; }
.icq-chat p { margin: 4px 0 8px; }
.icq-chat b { color: #000080; }
.quiz-stage h3 { margin: 7px 0 10px; color: #000; background: transparent; border: 0; font: bold 15px Arial; }
.quiz-kicker { color: #800080; font: bold 11px 'Courier New'; }
.quiz-answers { display: grid; gap: 6px; margin-bottom: 10px; }
.quiz-answers button { padding: 7px; text-align: left; background: #eee; border: 2px outset #fff; }
.quiz-answers button:hover { color: #fff; background: #000080; }
.quiz-result { text-align: center; }
.rave-badge { display: grid; place-items: center; width: 176px; height: 62px; margin: 10px auto; color: #ff0; background: repeating-linear-gradient(135deg,#520077 0 7px,#001b78 8px 15px); border: 4px outset #0ff; font: 900 15px Arial; text-shadow: 2px 2px #000; line-height: 18px; }
.file-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: #fff; border: 2px inset #fff; }
.file-list button { min-height: 58px; padding: 7px; color: #000; background: #fff; border: 1px solid transparent; text-align: left; }
.file-list button:hover { color: #fff; background: #000080; }
.file-list button img, .os-start-menu img, .clue-files img { width: 16px; height: 16px; vertical-align: middle; image-rendering: pixelated; }
.file-joke { min-height: 38px; padding: 7px; background: #ffffcc; border: 2px inset #fff; font-family: 'Courier New'; }
.virus-copy { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; padding: 12px; background: #fff; border: 2px inset #fff; }
.virus-copy > span { font-size: 38px; }
.virus-copy p { margin-bottom: 0; }
.pet-screen { padding: 10px; color: #18351a; background: #a7b786; border: 4px inset #879378; text-align: center; font-family: 'Courier New'; }
.rave-pet { font-size: 62px; line-height: 72px; filter: grayscale(1) contrast(2); animation: petHop .65s steps(2,end) infinite; }
.rave-pet img { width: 64px; height: 64px; image-rendering: pixelated; }
.pet-screen > strong { display: block; font-size: 17px; }
.pet-screen > p { min-height: 18px; margin: 5px; }
.pet-stats { display: grid; grid-template-columns: 58px 1fr; gap: 4px; margin: 8px auto 0; max-width: 330px; text-align: left; }
.pet-stats dt, .pet-stats dd { margin: 0; }
.pet-stats dd { height: 15px; border: 2px solid #28402b; }
.pet-stats dd span { display: block; height: 100%; background: #28402b; transition: width .2s; }
.pet-stats output { display: block; text-align: center; font-weight: bold; }
.pet-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.danger-button { color: #fff; background: #900; }
.passport-label { display: block; margin-bottom: 8px; font: bold 11px Arial; }
.passport-label input, .unlock-row input { padding: 5px; background: #fff; border: 2px inset #fff; }
.rave-passport { display: grid; grid-template-columns: 82px 1fr; gap: 9px; margin: 10px 0; padding: 10px; color: #fff; background: linear-gradient(135deg,#26005d,#00196a 55%,#0a6d76); border: 4px double #0ff; box-shadow: inset 0 0 25px #000; }
.passport-photo { display: grid; place-items: center; height: 82px; background: repeating-linear-gradient(45deg,#0ff 0 4px,#400080 5px 9px); border: 2px inset #fff; font-size: 47px; }
.passport-photo img { width: 64px; height: 64px; image-rendering: pixelated; }
.rave-passport small, .rave-passport b, .rave-passport span, .rave-passport code { display: block; margin-bottom: 6px; }
.rave-passport b { color: #ff0; font-size: 18px; }
.clue-files { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.clue-files button { min-height: 58px; background: #fff; border: 2px outset #fff; font-size: 10px; }
.unlock-row { display: flex; align-items: end; gap: 6px; }
.unlock-row label { font-size: 10px; font-weight: bold; }
.unlock-row input { display: block; width: 80px; }
.mix-found { margin-top: 9px; padding: 8px; color: #0f0; background: #000; border: 3px inset #777; text-align: center; font-family: 'Courier New'; }
.snake-window { top: 7px; left: 105px; width: min(510px, calc(100% - 120px)); padding-bottom: 6px; }
.snake-layout { display: grid; grid-template-columns: 246px minmax(145px,1fr); gap: 7px; }
.snake-machine { padding: 5px; color: #0f0; background: #05000c; border: 3px inset #888; font-family: 'Courier New', monospace; }
.snake-hud { display: flex; justify-content: space-between; padding: 4px; color: #0ff; background: #111; border: 1px solid #454545; font-size: 10px; font-weight: bold; }
.snake-hud output { color: #ff0; }
#snake-canvas { display: block; width: 234px; height: 234px; max-width: 100%; margin: 4px auto; background: #020208; border: 2px inset #777; image-rendering: pixelated; }
.snake-status { min-height: 14px; margin: 4px 0; color: #ff0; text-align: center; font-size: 10px; }
.snake-controls { display: grid; grid-template-columns: repeat(3,38px); grid-template-rows: repeat(2,27px); justify-content: center; gap: 3px; }
.snake-controls button { color: #000; background: #c0c0c0; border: 2px outset #fff; font: bold 10px Arial; }
.snake-controls button:active { border-style: inset; }
.snake-controls [data-snake-direction="up"] { grid-column: 2; }
.snake-controls [data-snake-direction="left"] { grid-column: 1; grid-row: 2; }
.snake-controls #snake-start { grid-column: 2; grid-row: 2; }
.snake-controls [data-snake-direction="right"] { grid-column: 3; grid-row: 2; }
.snake-controls [data-snake-direction="down"] { grid-column: 3; grid-row: 1; }
.snake-scores { min-width: 0; padding: 6px; color: #0f0; background: #000; border: 3px inset #777; font: 10px 'Courier New', monospace; }
.snake-scores h3 { margin: 0 -2px 6px; padding: 4px; color: #ff0; background: #000080; border: 1px solid #0ff; text-align: center; font-size: 11px; }
.snake-scores ol { min-height: 140px; margin: 0; padding: 4px 4px 4px 31px; border-bottom: 1px dashed #0a0; }
.snake-scores li { padding: 3px 0; color: #0ff; }
.snake-scores li b { float: right; color: #ff0; }
#snake-reset { color: #aaa; line-height: 1.35; }
#snake-score-form label { display: block; color: #0ff; font-weight: bold; }
#snake-initials { display: block; width: 70px; margin: 4px 0; padding: 5px; color: #0f0; background: #090009; border: 2px inset #777; text-align: center; text-transform: uppercase; font: bold 18px 'Courier New'; letter-spacing: 4px; }
#snake-save-status { min-height: 26px; color: #ff0; }
.snake-help { margin: 5px 0 0; color: #000080; text-align: center; font: bold 9px 'Courier New', monospace; }
.beatlab-window { top: 7px; left: 88px; width: min(535px, calc(100% - 102px)); padding-bottom: 7px; }
.beatlab-screen { padding: 7px; color: #0f0; background: #05050a; border: 3px inset #888; font: 10px 'Courier New', monospace; }
.beatlab-display { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; color: #0ff; background: #000080; border: 2px inset #777; }
.beatlab-display b { color: #ff0; }
.beatlab-presets, .beatlab-transport { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; }
.beatlab-presets .os-button { flex: 1; min-width: 100px; font-size: 10px; }
.beatlab-grid { display: grid; grid-template-columns: 58px repeat(8,1fr); gap: 3px; align-items: center; padding: 6px; background: #141414; border: 2px inset #666; }
.beatlab-grid strong { color: #0ff; font-size: 9px; }
.beatlab-step { aspect-ratio: 1; min-width: 24px; padding: 0; color: #555; background: #252525; border: 2px outset #555; font: bold 9px Arial; }
.beatlab-step.active { color: #000; background: #ff0; border-color: #fff #806f00 #806f00 #fff; box-shadow: 0 0 7px #ff0; }
.beatlab-step.playing { outline: 2px solid #0ff; outline-offset: 1px; }
.beatlab-tempo { display: grid; grid-template-columns: 44px 1fr 62px; gap: 6px; align-items: center; margin: 8px 0; color: #0ff; font-weight: bold; }
.beatlab-tempo input { accent-color: #ff0; }
.beatlab-tempo output { color: #ff0; text-align: right; }
.beatlab-transport .os-button:first-child { color: #fff; background: #006c23; }
.beatlab-status { min-height: 18px; margin: 6px 0 0; color: #ff0; text-align: center; }
.beatlab-note { margin: 6px 0 0; color: #000080; text-align: center; font: bold 9px 'Courier New', monospace; }
.floorcam-window { top: 10px; left: 105px; width: min(570px, calc(100% - 120px)); }
.floorcam-monitor { position: relative; padding: 5px; background: #080808; border: 4px inset #777; }
#floorcam-canvas { display: block; width: 100%; height: auto; max-height: 230px; background: #05000b; image-rendering: pixelated; }
.floorcam-overlay { position: absolute; inset: 10px 12px auto; display: flex; justify-content: space-between; color: #fff; font: bold 10px 'Courier New', monospace; text-shadow: 1px 1px #000; pointer-events: none; }
.floorcam-overlay span { color: #ff3030; animation: blink 1s steps(2,end) infinite; }
.floorcam-energy { display: grid; grid-template-columns: 92px 1fr 54px; gap: 8px; align-items: center; margin: 8px 0; color: #000080; font: bold 10px 'Courier New', monospace; }
.floorcam-energy input { accent-color: #f0f; }
.floorcam-energy output { color: #800080; }
.floorcam-controls { display: flex; flex-wrap: wrap; gap: 5px; }
.floorcam-status, .flyer-status, .oracle-status { margin: 7px 0 0; color: #000080; text-align: center; font: bold 10px 'Courier New', monospace; }
.flyer-window { top: 7px; left: 95px; width: min(590px, calc(100% - 110px)); }
.flyer-layout { display: grid; grid-template-columns: 190px minmax(220px,1fr); gap: 9px; align-items: start; }
.flyer-form { display: grid; gap: 6px; }
.flyer-form label { color: #000080; font: bold 9px 'Courier New', monospace; }
.flyer-form input, .flyer-form select { display: block; width: 100%; margin-top: 2px; padding: 5px; color: #0f0; background: #050505; border: 2px inset #aaa; font: bold 10px 'Courier New', monospace; }
#flyer-canvas { display: block; width: min(100%,252px); height: auto; margin: 0 auto; background: #090018; border: 3px inset #777; image-rendering: pixelated; }
.oracle-window { top: 32px; left: 145px; width: min(490px, calc(100% - 160px)); }
.oracle-screen { padding: 10px; color: #0f0; background: radial-gradient(circle at 50% 32%,#270049,#05000a 60%); border: 4px inset #777; font: 11px 'Courier New', monospace; }
.oracle-eye { color: #0ff; text-align: center; font-size: 54px; line-height: 55px; text-shadow: 0 0 12px #0ff,0 0 25px #f0f; animation: pulse 1.5s infinite; }
.oracle-signal { margin: 4px 0 10px; text-align: center; }
.oracle-signal b { color: #ff0; }
.oracle-screen dl { display: grid; grid-template-columns: 1fr 1.35fr; margin: 0; border: 1px solid #174; }
.oracle-screen dt, .oracle-screen dd { margin: 0; padding: 5px; border-bottom: 1px dotted #174; }
.oracle-screen dt { color: #0ff; }
.oracle-screen dd { color: #ff0; font-weight: bold; }
.oracle-screen blockquote { margin: 9px 0 0; padding: 8px; color: #fff; background: rgba(0,0,128,.55); border-left: 4px solid #f0f; text-align: center; }
.oracle-button { display: block; margin: 8px auto 0; }
.rave-bsod { position: fixed; z-index: 20000; inset: 0; padding: min(15vh,120px) 10vw; color: #fff; background: #0000aa; font: clamp(15px,2.4vw,24px) 'Courier New', monospace; }
.rave-bsod h2 { display: table; margin: 0 auto 30px; padding: 3px 10px; color: #0000aa; background: #aaa; font: inherit; }
.rave-bsod button { display: block; margin: 35px auto; padding: 8px; color: #0000aa; background: #aaa; border: 0; font: bold 15px 'Courier New'; }
@keyframes petHop { 50% { transform: translateY(-5px) rotate(-3deg); } }
.os-taskbar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 3px; background: #c0c0c0; border-top: 2px outset #fff; }
.os-taskbar button { height: 29px; background: #c0c0c0; border: 2px outset #fff; }
.os-taskbar span { flex: 1; padding: 5px; border: 2px inset #fff; font: 11px Arial; }
.os-taskbar time { padding: 5px 8px; border: 2px inset #fff; font: 11px Arial; }
.os-start-menu { position: absolute; z-index: 6; left: 2px; bottom: 35px; display: grid; grid-template-columns: 33px 1fr; width: 210px; padding: 3px; background: #c0c0c0; border: 3px outset #fff; }
.os-start-menu strong { grid-row: 1 / -1; display: flex; align-items: end; justify-content: center; padding: 5px; color: #c0c0c0; background: #000080; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; }
.os-start-menu button { padding: 9px; border: 0; background: transparent; text-align: left; }
.os-start-menu button:hover { color: #fff; background: #000080; }
.secret-hint { color: #929292; text-align: center; font: 10px 'Courier New'; }
.secret-hint kbd { padding: 1px 4px; color: #0f0; background: #111; border: 1px solid #777; }
.icq-pager { position: fixed; z-index: 8000; right: 16px; bottom: 16px; display: grid; grid-template-columns: 35px auto; column-gap: 7px; align-items: center; padding: 7px 10px; color: #000; background: #ffffcc; border: 3px outset #fff; box-shadow: 5px 5px 0 rgba(0,0,0,.6); animation: pagerBounce .7s steps(2,end) infinite; }
.icq-pager > img { grid-row: 1 / 3; width: 32px; height: 32px; image-rendering: pixelated; }
.icq-pager b, .icq-pager small { text-align: left; }
.icq-pager small { font-size: 9px; }
.secret-toast { position: fixed; z-index: 9000; top: 18px; left: 50%; max-width: 90vw; padding: 10px 18px; color: #ff0; background: #000080; border: 3px outset #fff; transform: translateX(-50%); font: bold 13px 'Courier New'; box-shadow: 5px 5px #000; }
.secret-glitch { animation: hauntedGlitch .13s steps(2,end) infinite !important; filter: contrast(1.7) saturate(2.4); }
.secret-glitch::after { content: "DJ_STECKEL.EXE"; position: absolute; inset: 38% 0 auto; z-index: 4; color: #0f0; background: #000; font: bold 18px 'Courier New'; letter-spacing: 5px; text-shadow: 3px 0 #f0f,-3px 0 #0ff; }
.snake-window.disco-snake { box-shadow: 0 0 18px #f0f, 0 0 34px #0ff; animation: discoWindow .35s steps(2,end) infinite; }
.snake-window.disco-snake .snake-machine { border-color: #ff0; }
.rave-overdrive { animation: overdrive .32s steps(2,end) infinite; }
@keyframes pagerBounce { 50% { transform: translateY(-5px); } }
@keyframes hauntedGlitch { 0% { transform: translate(0); } 25% { transform: translate(5px,-2px) skewX(2deg); } 50% { transform: translate(-4px,2px); filter: invert(1) hue-rotate(120deg); } 75% { transform: translate(2px,3px) skewX(-3deg); } }
@keyframes discoWindow { 50% { filter: hue-rotate(180deg); } }
@keyframes overdrive { 0% { filter: hue-rotate(0deg) saturate(1.3); } 50% { filter: hue-rotate(120deg) saturate(2); } 100% { filter: hue-rotate(240deg) saturate(1.5); } }
.guestbook-layout { display: grid; grid-template-columns: minmax(250px,.8fr) minmax(280px,1.2fr); gap: 10px; }
.archive-note { margin: 0; padding: 6px 8px; color: #000; background: #ffef21; border-bottom: 2px ridge #999; font: bold 10px 'Courier New', monospace; }
.live-note { margin: 0; padding: 6px 8px; color: #001500; background: #58ff71; border-bottom: 2px ridge #999; font: bold 10px 'Courier New', monospace; }
.archive-heading { margin-top: 18px; }
.guestbook-empty { padding: 8px; color: #8ef; font: 11px 'Courier New', monospace; }
.retro-form label { display: block; margin: 8px 0; color: #0f0; font: bold 11px 'Courier New'; }
.retro-form input, .retro-form textarea { display: block; width: 100%; margin-top: 3px; padding: 6px; color: #0f0; background: #020b02; border: 2px inset #777; font: 13px 'Courier New'; }
.retro-form button, .editor-buttons button, .transport button { padding: 5px 8px; color: #000; background: #c0c0c0; border: 2px outset #fff; font-weight: bold; }
.retro-form button:active, .editor-buttons button:active, .transport button:active { border-style: inset; }
.honeypot { position: absolute !important; left: -9999px !important; }
.guest-entry { padding: 7px; margin-bottom: 8px; background: #080818; border-left: 3px solid #0ff; }
.guest-entry header { color: #ff0; font: bold 11px 'Courier New'; }
.pixel-lab { display: grid; grid-template-columns: 230px 1fr; gap: 15px; overflow-x: auto; }
.phone-shell { width: 220px; padding: 18px 13px; color: #102b13; background: #576056; border: 5px outset #929b91; border-radius: 28px 28px 45px 45px; text-align: center; box-shadow: inset 0 0 15px #111; }
.phone-speaker { width: 60px; height: 7px; margin: 0 auto 12px; border-radius: 6px; background: #222; }
#phone-preview { width: 190px; height: 74px; border: 5px inset #8a9487; background: #a7b786; image-rendering: pixelated; }
.phone-keys { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 10px 25px; }
.phone-keys i { height: 13px; background: #303630; border: 2px outset #899; border-radius: 8px; }
.editor-wrap { min-width: 540px; }
#pixel-editor { width: min(720px, 100%); height: auto; background: #9eae80; border: 3px ridge #999; image-rendering: pixelated; touch-action: none; cursor: crosshair; }
.editor-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.editor-buttons [aria-pressed="true"] { color: #fff; background: #000080; border-style: inset; }
.pixel-text-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 7px; margin-top: 8px; font: bold 10px 'Courier New'; }
.pixel-text-controls label { display: grid; gap: 2px; }
.pixel-text-controls input { width: 155px; }
.pixel-text-controls input, .pixel-text-controls select, .pixel-text-controls button, .pixel-preset-label select { min-height: 25px; border: 2px inset #fff; font: 11px Arial; }
.pixel-text-controls button { border-style: outset; }
.pixel-preset-label { display: flex; align-items: center; gap: 6px; margin-top: 7px; font: bold 10px 'Courier New'; }
.inline-pixel-icon { width: 16px; height: 16px; vertical-align: middle; image-rendering: pixelated; }
.jukebox { max-width: 620px; margin-inline: auto; color: #00ff5a; background: #252525; border: 5px ridge #aaa; font-family: 'Courier New', monospace; }
.midi-drive-title { display: flex; justify-content: space-between; gap: 10px; padding: 5px 7px; color: #071807; background: #a7b98c; border: 2px inset #777; }
.midi-drive-title span { color: #5d0010; font-weight: bold; }
.midi-archive-status { display: block; margin: 7px 0; color: #0f0; font-size: 11px; }
.midi-player-display { margin-top: 8px; }
.midi-transport { margin-top: 8px; }
.midi-seek-label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; margin: 8px 0; color: #ff0; font-size: 10px; }
.midi-seek-label input { width: 100%; }
#midi-piano-roll { display: block; width: 100%; height: 128px; background: #020702; border: 3px inset #777; image-rendering: pixelated; }
.midi-archive-playlist { max-height: 180px; margin: 8px 0; padding: 4px 4px 4px 31px; overflow-y: auto; color: #0f0; background: #020702; border: 2px inset #777; }
.midi-archive-playlist li { padding: 2px 4px; }
.midi-archive-playlist button { width: 100%; padding: 2px 5px; overflow: hidden; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.midi-archive-playlist li.selected { color: #000; background: #0f0; }
.midi-privacy { margin: 7px 0 0; color: #8ef; font-size: 10px; line-height: 1.4; }
.midi-privacy a { color: #ff0; }
.player-display { display: grid; grid-template-columns: 1fr auto; padding: 7px; color: #061; background: #9db486; border: 3px inset #777; }
.player-display span { grid-column: 1 / -1; color: #243b25; font-size: 10px; }
.equalizer { height: 88px; margin: 9px 0; background: linear-gradient(rgba(0,255,0,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(0,255,0,.12) 1px,transparent 1px), #020702; background-size: 10px 10px; border: 3px inset #777; }
.equalizer.playing { background-image: repeating-linear-gradient(90deg, transparent 0 9px, #0f0 10px 15px, transparent 16px 21px), linear-gradient(#f00 0 12%, #ff0 13% 35%, #0f0 36%); background-size: 150% var(--eq-height,55%), 100% 100%; background-repeat: repeat-x, no-repeat; background-position: bottom; animation: equalizerMove .45s steps(4) infinite alternate; }
@keyframes equalizerMove { to { --eq-height: 90%; filter: hue-rotate(15deg); } }
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.transport label { margin-left: auto; }
#playlist { padding: 5px 5px 5px 31px; color: #0f0; background: #020702; border: 2px inset #777; }
#playlist li.selected { color: #000; background: #0f0; }
.download-table { width: 100%; border-collapse: collapse; color: #ddd; background: #04040c; }
.download-table th, .download-table td { padding: 8px; border: 1px solid #3d6573; text-align: left; }
.download-table th { color: #ff0; background: #12124b; }
.ok { color: #0f0; }.bad { color: #ff3838; }
.legal-box { margin-top: 13px; color: #ff0; }
.update-log { display: grid; grid-template-columns: 120px 1fr; border: 2px ridge #777; }
.update-log dt, .update-log dd { margin: 0; padding: 8px; border-bottom: 1px dotted #586; }
.update-log dt { color: #ff0; font-family: 'Courier New'; }
.construction { margin: 18px auto; max-width: 420px; padding: 8px; color: #000; background: repeating-linear-gradient(135deg,#ff0 0 14px,#000 15px 28px); border: 3px outset #aaa; text-align: center; font-weight: 900; text-shadow: 1px 1px #ff0; }
.site-footer { padding: 10px; color: #888; border-top: 2px ridge #777; text-align: center; font: 9px 'Courier New'; }
.browser-dialog { position: fixed; z-index: 10020; left: 50%; top: 50%; width: min(390px,calc(100vw - 28px)); transform: translate(-50%,-50%); color: #000; background: #c0c0c0; border: 3px outset #fff; box-shadow: 5px 5px 0 #0008; font: 12px Arial; }
.browser-dialog-titlebar { display: flex; align-items: center; justify-content: space-between; padding: 3px 4px; color: #fff; background: #000080; font-weight: bold; }
.browser-dialog-titlebar button { width: 20px; height: 19px; padding: 0; border: 2px outset #fff; background: #c0c0c0; font-weight: bold; line-height: 12px; }
.browser-dialog-body { display: flex; align-items: center; gap: 14px; min-height: 75px; padding: 12px; }
.browser-dialog-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; color: #fff; background: #d00000; border: 2px solid #000; border-radius: 50%; font: bold 25px serif; }
.browser-dialog-actions { padding: 0 12px 12px; text-align: center; }
.browser-dialog-actions button { min-width: 78px; padding: 3px 16px; border: 2px outset #fff; background: #c0c0c0; }
.browser-dialog.netscape .browser-dialog-titlebar { background: #2047a8; }
.page-loading { position: absolute; z-index: 10; inset: 10px; display: grid; place-items: start center; padding-top: 100px; color: #0f0; background: #000; font: bold 16px 'Courier New'; }
.page-loading span { animation: blink 1s steps(2,end) infinite; }
.page.retro-reveal > * { animation: modemReveal .32s steps(5,end) both; animation-delay: var(--reveal-delay,0ms); }
@keyframes modemReveal { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }

.boot-screen { position: fixed; z-index: 9999; inset: 0; display: grid; align-content: center; justify-items: center; gap: 14px; color: #0f0; background: #000; font: 15px 'Courier New', monospace; }
.boot-screen.done { opacity: 0; pointer-events: none; transition: opacity .25s; }
.boot-modem { display: grid; place-items: center; width: 90px; height: 58px; color: #ddd; background: #777; border: 5px outset #ccc; font-weight: bold; }
.boot-meter { width: 280px; height: 17px; padding: 2px; border: 2px inset #aaa; background: #111; }
.boot-meter span { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg,#00df45 0 9px,#001900 10px 12px); transition: width .25s; }
.y2k-overlay { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 18px; color: #fff; background: #0000aa; font: 16px 'Courier New', monospace; animation: y2kFlash .6s steps(2,end) infinite; }
.y2k-window { width: min(650px,100%); padding: 18px; border: 3px double #fff; box-shadow: 12px 12px 0 #000; }
.y2k-window h2 { margin-top: 0; color: #ff0; text-align: center; }
.y2k-window button { display: block; margin: 22px auto 0; padding: 7px 12px; color: #000; background: #c0c0c0; border: 3px outset #fff; font-weight: bold; }
body.y2k-mode #browser { filter: invert(1) hue-rotate(90deg); }
@keyframes y2kFlash { 50% { background: #000066; } }
.noscript { position: fixed; z-index: 10001; inset: 20px; padding: 20px; color: #fff; background: #800; }

@media (max-width: 800px) {
  .browser { margin: 0; width: 800px; min-width: 800px; box-shadow: none; }
  .viewport { height: calc(100vh - 168px); }
  body { background: #000; }
  .os-window { left: 115px; width: calc(100% - 130px); }
  .snake-window { left: 75px; width: calc(100% - 90px); }
  .floorcam-window, .flyer-window { left: 70px; width: calc(100% - 85px); }
  .about-lower-grid { grid-template-columns: 1fr; }
  .link-directory { grid-template-columns: 1fr; }
  .link-group-wide { grid-column: auto; }
  .link-group-wide .links-table { grid-template-columns: 1fr; }
  .link-group-wide .links-table a:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
