* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  background-color: #080808;
  background-image:
    radial-gradient(circle, rgba(255, 235, 73, 0.26) 1px, transparent 1px),
    linear-gradient(45deg, #090909 25%, #151515 25%, #151515 50%, #090909 50%, #090909 75%, #151515 75%, #151515);
  background-size: 24px 24px, 14px 14px;
}

[hidden] {
  display: none !important;
}

a {
  color: #3dedff;
}

a:visited {
  color: #ff7fe8;
}

a:hover,
a:focus-visible {
  color: #fff36f;
}

.page-bg {
  display: none;
}

.scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.09) 0,
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px,
    transparent 3px
  );
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 42px;
  background: rgba(0, 0, 0, 0.38);
}

.popup-ad {
  width: min(420px, calc(100vw - 24px));
  border: 4px ridge #ffe650;
  background: linear-gradient(180deg, #34004b, #120027 46%, #00183f);
  color: #ffffff;
  box-shadow: 0 0 0 4px #ff53d8, 8px 8px 0 rgba(0, 0, 0, 0.55);
}

.popup-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 2px groove #ffe650;
  background: linear-gradient(90deg, #ffe650, #ff77df, #4ef1ff);
  color: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.popup-close,
.popup-dismiss {
  border: 2px outset #ffe650;
  background: #111111;
  color: #ffe650;
  padding: 3px 7px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.popup-body {
  padding: 14px 14px 16px;
  text-align: center;
}

.popup-kicker {
  margin: 0;
  color: #7dffe9;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.popup-ad h2 {
  margin: 6px 0 10px;
  color: #ffe650;
  font-size: 36px;
  text-shadow: 2px 2px 0 #ff48d8;
}

.popup-copy {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.1;
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.popup-link {
  border: 2px outset #fff09b;
  background: linear-gradient(180deg, #ffe650, #e2b614);
  color: #101010;
  padding: 5px 9px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}

.site-frame {
  width: min(980px, 96vw);
  margin: 14px auto 22px;
  border: 4px ridge #ffe33f;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 0 0 4px #1d1d1d, 0 0 0 8px #ffe33f, 0 0 18px rgba(255, 227, 63, 0.45);
}

.head-cell {
  border-bottom: 3px groove #ffe33f;
  padding: 8px 12px 12px;
  text-align: center;
  background: linear-gradient(180deg, #ffea51, #f7d634 58%, #e8c71d);
}

.playbill-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 3px solid #000000;
  background:
    repeating-linear-gradient(
      90deg,
      #f9e24a 0,
      #f9e24a 18px,
      #efcd28 18px,
      #efcd28 36px
    );
  color: #000000;
  padding: 6px 8px;
  margin-bottom: 8px;
}

.playbill-title {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(16px, 3.2vw, 30px);
  letter-spacing: 1px;
  line-height: 1;
}

.playbill-issue {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.topline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 2px dashed #000000;
  background: #111111;
  color: #ffe750;
  padding: 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

.blink {
  animation: blink 0.95s step-end infinite;
}

h1 {
  margin: 13px 0 7px;
  color: #080808;
  letter-spacing: 2px;
  font-size: clamp(34px, 6.8vw, 64px);
  text-shadow: 1px 1px 0 #fff5a1;
}

.coming-soon-major {
  margin: 0 0 7px;
  color: #000000;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 1px;
}

.construction-scene {
  margin: 6px auto 8px;
  width: min(420px, 92%);
  height: 58px;
  position: relative;
  border: 2px inset #000000;
  background: linear-gradient(180deg, rgba(255, 230, 80, 0.3), rgba(255, 230, 80, 0.12));
  overflow: hidden;
}

.scaffold {
  position: absolute;
  bottom: 7px;
  width: 68px;
  height: 40px;
  border-left: 3px solid #2b2b2b;
  border-right: 3px solid #2b2b2b;
}

.scaffold-left {
  left: 42px;
}

.scaffold-right {
  right: 42px;
}

.scaffold span {
  position: absolute;
  left: -3px;
  right: -3px;
  height: 3px;
  background: #2b2b2b;
}

.scaffold span:nth-child(1) {
  top: 7px;
}

.scaffold span:nth-child(2) {
  top: 19px;
}

.scaffold span:nth-child(3) {
  top: 31px;
}

.beam {
  position: absolute;
  left: 116px;
  right: 116px;
  top: 16px;
  height: 8px;
  border: 1px solid #000000;
  background: repeating-linear-gradient(90deg, #d4c6a2 0, #d4c6a2 8px, #b7a47b 8px, #b7a47b 16px);
  animation: beam-bob 1.8s ease-in-out infinite;
}

.worker {
  position: absolute;
  bottom: 8px;
  width: 22px;
  height: 36px;
}

.worker-left {
  left: 126px;
  animation: worker-bounce 1.4s ease-in-out infinite;
}

.worker-right {
  right: 126px;
  animation: worker-bounce 1.4s ease-in-out infinite 0.7s;
}

.helmet {
  position: absolute;
  top: 0;
  left: 4px;
  width: 14px;
  height: 8px;
  border-radius: 8px 8px 2px 2px;
  background: #ffcf2f;
  border: 1px solid #000000;
}

.body {
  position: absolute;
  top: 9px;
  left: 5px;
  width: 12px;
  height: 18px;
  background: #ff5a42;
  border: 1px solid #000000;
}

.arm {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 10px;
  height: 3px;
  background: #000000;
  transform-origin: left center;
  animation: hammer-arm 0.7s steps(2) infinite;
}

.marquee-lights {
  margin: 8px auto 6px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.marquee-lights span {
  width: 10px;
  height: 10px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: #fff7a5;
  box-shadow: 0 0 6px #fff7a5;
  animation: bulb-blink 1.2s steps(1) infinite;
}

.marquee-lights span:nth-child(even) {
  animation-delay: 0.6s;
  background: #ff72d8;
  box-shadow: 0 0 6px #ff72d8;
}

.subhead {
  margin: 0;
  color: #131313;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
}

.ticker {
  margin-top: 10px;
  border: 2px inset #000000;
  background: #ffe650;
  color: #050505;
  padding: 4px 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  font-weight: 700;
}

.nav-cell {
  text-align: center;
  padding: 7px 10px;
  border-top: 2px groove #ffe650;
  border-bottom: 2px groove #ffe650;
  background: #0a0a0a;
  font-family: "Courier New", Courier, monospace;
}

.nav-cell a {
  color: #4be9ff;
  text-decoration: underline;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-cell a:visited {
  color: #ff7de4;
}

.nav-cell a:hover,
.nav-cell a:focus-visible {
  color: #fff86b;
}

.nav-cell span {
  margin: 0 8px;
  color: #ffe650;
}

.content-cell {
  padding: 10px;
  border-bottom: 2px groove #ffe650;
  background: #111111;
}

.compat-cell {
  padding: 6px 10px;
  border-top: 2px groove #ffe650;
  border-bottom: 2px groove #ffe650;
  background: linear-gradient(90deg, #2b0012, #4a0021, #2b0012);
  color: #ffe650;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.inner-grid {
  width: 100%;
}

.panel {
  vertical-align: top;
  border: 3px outset #ffe650;
  background: linear-gradient(180deg, #1b1b1b, #0f0f0f);
  padding: 10px;
}

.main-panel {
  width: 68%;
}

.main-panel h2,
.signup-title {
  margin: 0 0 8px;
  color: #ffe650;
  font-size: 28px;
  text-shadow: 1px 1px 0 #000000;
}

.main-panel p {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.12;
  color: #f4f6ff;
}

.status-line {
  margin: 9px 0 7px;
  border: 2px inset #ffe650;
  background: #000000;
  color: #75ff5e;
  padding: 5px 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.city-gadgets {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.taxi-widget,
.starburst-widget {
  min-height: 58px;
  border: 2px inset #ffe650;
  background: linear-gradient(180deg, #061326 0%, #0c0c0c 62%, #1a1a1a 62%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.taxi-widget::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background: linear-gradient(180deg, rgba(78, 241, 255, 0.2), transparent);
}

.taxi-widget::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #ffe650 0,
    #ffe650 18px,
    transparent 18px,
    transparent 36px
  );
  animation: road-dash 0.5s linear infinite;
}

.taxi {
  position: absolute;
  left: -78px;
  top: 18px;
  width: 64px;
  height: 22px;
  background: linear-gradient(180deg, #ffe35d, #ffc90f);
  border: 2px solid #000000;
  border-radius: 3px 6px 4px 4px;
  box-shadow: 0 0 0 2px #9a7b00;
  animation: taxi-drive 4s linear infinite;
}

.taxi::before,
.taxi::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000000;
  box-shadow: inset 0 0 0 2px #5a5a5a;
}

.taxi::before {
  left: 6px;
}

.taxi::after {
  right: 6px;
}

.taxi-widget .taxi {
  overflow: visible;
}

.taxi-widget .taxi > span {
  position: absolute;
  display: block;
}

.taxi-widget .taxi {
  background-image:
    linear-gradient(90deg, #000000 0, #000000 7px, transparent 7px, transparent 14px, #000000 14px, #000000 21px, transparent 21px, transparent 28px, #000000 28px, #000000 35px, transparent 35px),
    linear-gradient(180deg, #ffe35d, #ffc90f);
  background-repeat: no-repeat;
  background-size: 36px 5px, 100% 100%;
  background-position: 13px 14px, 0 0;
}

.taxi-widget .taxi:focus {
  outline: none;
}

.taxi-widget .taxi-cabin,
.taxi-widget .taxi-sign,
.taxi-widget .taxi-light,
.taxi-widget .taxi-bumper {
  position: absolute;
}

.taxi-widget .taxi-cabin {
  top: -9px;
  left: 14px;
  width: 30px;
  height: 12px;
  border: 2px solid #000000;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #bff7ff, #65dff7);
}

.taxi-widget .taxi-cabin::before,
.taxi-widget .taxi-cabin::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 11px;
  height: 7px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #003349;
}

.taxi-widget .taxi-cabin::before {
  left: 2px;
}

.taxi-widget .taxi-cabin::after {
  right: 2px;
}

.taxi-widget .taxi-sign {
  top: -15px;
  left: 24px;
  width: 12px;
  height: 6px;
  border: 1px solid #000000;
  background: #ffffff;
}

.taxi-widget .taxi-light {
  right: -4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff8a6;
  box-shadow: 0 0 6px #fff8a6;
  animation: headlight-blink 0.8s steps(1) infinite;
}

.taxi-widget .taxi-bumper {
  right: -2px;
  bottom: 3px;
  width: 5px;
  height: 10px;
  background: #d6d6d6;
  border: 1px solid #000000;
}

.starburst-widget {
  display: flex;
  align-items: center;
  justify-content: center;
}

.starburst {
  display: inline-block;
  color: #fff36f;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 16px;
  text-shadow: 1px 1px 0 #ff48d8;
  animation: burst-pop 1.6s ease-in-out infinite;
}

.pixel-btn {
  display: inline-block;
  border: 2px outset #ffe650;
  background: linear-gradient(180deg, #2b004f, #001f48);
  color: #d2fbff;
  padding: 4px 8px;
  min-width: 88px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.badge-row span {
  border: 2px groove #ffe650;
  background: linear-gradient(180deg, #171717, #0f0f0f);
  color: #ffe650;
  padding: 4px 5px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: 700;
}

.side-panel {
  width: 32%;
  text-align: center;
}

h3 {
  margin: 0 0 8px;
  color: #ffe650;
  font-size: 23px;
  text-shadow: 1px 1px 0 #000000;
}

.mini {
  margin: 4px 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  color: #dbe6ff;
}

.mini-marquee {
  margin: 7px auto 6px;
  border: 2px inset #ffe650;
  background: #070707;
  color: #7dffe9;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.2;
  padding: 2px;
}

.webring-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 6px 0;
}

.webring-controls a {
  border: 2px outset #ffe650;
  background: #1a1a1a;
  color: #75eeff;
  padding: 2px 7px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

hr {
  border: 0;
  height: 4px;
  margin: 8px 0;
  background: linear-gradient(90deg, #ff48d8, #ffe650, #4ef1ff, #99ff57, #ff48d8);
}

.counter {
  margin: 6px auto 0;
  display: inline-block;
  border: 3px inset #ffe650;
  background: #000000;
  color: #6cff2f;
  padding: 5px 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.skyline-strip {
  margin-top: 10px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  height: 36px;
}

.skyline-strip span {
  width: 12px;
  background: #ffe650;
  border: 1px solid #000000;
  animation: skyline-flicker 1.8s steps(1) infinite;
}

.skyline-strip span:nth-child(1) {
  height: 14px;
}

.skyline-strip span:nth-child(2) {
  height: 26px;
  animation-delay: 0.2s;
}

.skyline-strip span:nth-child(3) {
  height: 18px;
  animation-delay: 0.4s;
}

.skyline-strip span:nth-child(4) {
  height: 30px;
  animation-delay: 0.6s;
}

.skyline-strip span:nth-child(5) {
  height: 22px;
  animation-delay: 0.8s;
}

.skyline-strip span:nth-child(6) {
  height: 16px;
  animation-delay: 1s;
}

.feature-table {
  width: 100%;
  border: 2px solid #ffe650;
  border-collapse: collapse;
  background: #101010;
}

.feature-table th,
.feature-table td {
  border: 2px solid #ffe650;
  padding: 8px;
}

.feature-table th {
  background: #ffe650;
  color: #0c0c0c;
  font-size: 18px;
  letter-spacing: 1px;
}

.feature-table td {
  font-size: 20px;
  line-height: 1.12;
  background: #151515;
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 3px inset #ffe650;
  background: #161616;
  padding: 9px;
}

label {
  color: #ffe650;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

input {
  flex: 1;
  min-width: 170px;
  border: 2px inset #ffe650;
  background: #fff9d8;
  color: #100032;
  padding: 4px 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
}

button {
  border: 3px outset #fff09b;
  background: linear-gradient(180deg, #ffe650, #e2b614);
  color: #101010;
  padding: 5px 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.form-message {
  width: 100%;
  margin: 4px 0 0;
  color: #6ffcff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
}

.subway-scene {
  margin-top: 12px;
  position: relative;
  height: 82px;
  border: 3px inset #ffe650;
  background: linear-gradient(180deg, #111111, #000000 58%, #1a1a1a 58%, #1a1a1a);
  overflow: hidden;
}

.track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    #444444 0,
    #444444 10px,
    #1f1f1f 10px,
    #1f1f1f 20px
  );
  border-top: 2px solid #777777;
}

.subway-car {
  position: absolute;
  left: -170px;
  bottom: 22px;
  width: 164px;
  height: 46px;
  border: 2px solid #000000;
  background: linear-gradient(180deg, #d8d8d8, #a6a6a6);
  box-shadow: 3px 3px 0 #000000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  animation: subway-pass 8s linear infinite;
}

.window {
  width: 20px;
  height: 14px;
  border: 1px solid #001740;
  background: #80efff;
}

.door {
  width: 16px;
  height: 28px;
  border: 1px solid #222222;
  background: #7c7c7c;
  margin-left: 2px;
}

.route {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #111111;
  background: #ffe650;
  color: #000000;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.foot-cell {
  text-align: center;
  padding: 8px;
  background: #090909;
  color: #ffe650;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 1px;
  border-top: 2px groove #ffe650;
  position: relative;
  overflow: hidden;
}

.footer-chase {
  position: absolute;
  top: 0;
  left: -80px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4ef1ff, #ff48d8, transparent);
  animation: chase-line 3s linear infinite;
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

@keyframes bulb-blink {
  50% {
    opacity: 0.35;
  }
}

@keyframes road-dash {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 36px 0;
  }
}

@keyframes worker-bounce {
  50% {
    transform: translateY(-2px);
  }
}

@keyframes beam-bob {
  50% {
    transform: translateY(2px);
  }
}

@keyframes hammer-arm {
  50% {
    transform: rotate(35deg);
  }
}

@keyframes taxi-drive {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(290px);
  }
}

@keyframes headlight-blink {
  50% {
    opacity: 0.4;
  }
}

@keyframes burst-pop {
  0%,
  100% {
    transform: scale(1) rotate(-4deg);
  }
  50% {
    transform: scale(1.18) rotate(4deg);
  }
}

@keyframes skyline-flicker {
  50% {
    background: #4ef1ff;
  }
}

@keyframes chase-line {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(1100px);
  }
}

@keyframes subway-pass {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 280px));
  }
}

@media (max-width: 860px) {
  .inner-grid,
  .inner-grid tr,
  .inner-grid td {
    display: block;
    width: 100%;
  }

  .main-panel,
  .side-panel {
    width: 100%;
  }

  .feature-table,
  .feature-table tbody,
  .feature-table tr,
  .feature-table th,
  .feature-table td {
    display: block;
    width: 100%;
  }

  .feature-table th {
    margin-top: 8px;
  }

  .badge-row {
    grid-template-columns: 1fr;
  }

  .nav-cell span {
    display: none;
  }

  .nav-cell a {
    display: block;
    margin: 5px 0;
  }
}
