/* 1995 — Netscape era. Сірий фон, Times, 3D-рамки, сині підкреслені лінки.
   Ефекти <marquee>/<blink> зроблені CSS-анімаціями і поважають reduced-motion. */

[data-era="1995"] #stage {
  --era-width: 660px;
  background: #c0c0c0;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.45;
}

.e95 {
  padding: 16px 12px 40px;
}

.e95-page {
  width: 620px;
  margin: 0 auto;
  padding: 14px 18px 24px;
  background: #ffffff;
  border: 2px solid #808080;
}

.e95 a {
  color: #0000ee;
  text-decoration: underline;
}
.e95 a:visited {
  color: #551a8b;
}
.e95 a:active {
  color: #ee0000;
}

/* біжучий рядок */
.e95-marquee {
  overflow: hidden;
  margin: 0 0 12px;
  padding: 3px 0;
  background: #000080;
  color: #ffff00;
  font-family: "Courier New", monospace;
  font-size: 13px;
  white-space: nowrap;
}
.e95-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: e95-scroll 18s linear infinite;
}
@keyframes e95-scroll {
  to {
    transform: translateX(-100%);
  }
}

/* шапка */
.e95-head {
  border-collapse: collapse;
}
.e95-logo {
  margin: 8px 0 2px;
  color: #000080;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-shadow: 2px 2px 0 #a0a0a0;
}
.e95-slogan {
  margin: 0 0 10px;
  color: #800000;
  font-size: 15px;
  font-style: italic;
}

.e95-hr {
  height: 2px;
  margin: 12px 0;
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
}

.e95-nav {
  margin: 0;
  text-align: center;
  font-size: 15px;
}
.e95-sep {
  color: #808080;
}

.e95-h2 {
  margin: 18px 0 8px;
  color: #000080;
  font-size: 22px;
  font-weight: 700;
}

.e95-text {
  margin: 0 0 10px;
}

.e95-meta {
  margin: 0 0 8px;
  color: #555;
  font-size: 13px;
}

.e95-center {
  text-align: center;
}

.e95-cta {
  font-weight: 700;
}

/* таблиці-секції */
.e95-table {
  border-collapse: collapse;
  border-color: #808080;
}
.e95-cell {
  border: 1px solid #808080;
  background: #f4f4f4;
}
.e95-item {
  margin: 0 0 4px;
}
.e95-bullet {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  background: #ff0000;
  transform: rotate(45deg);
}
.e95-list {
  margin: 0 0 12px;
  padding-left: 26px;
}
.e95-list li {
  margin-bottom: 6px;
}

/* «256 кольорів» — сучасні скріни під вигляд епохи */
.e95-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border: 2px solid #000080;
  image-rendering: pixelated;
  filter: saturate(0.7) contrast(1.15);
}

/* under construction */
.e95-construction {
  height: 26px;
  margin: 6px auto 10px;
  width: 320px;
  border: 2px solid #808080;
  background: repeating-linear-gradient(
    45deg,
    #ffcc00 0 14px,
    #000000 14px 28px
  );
  animation: e95-stripes 1.4s linear infinite;
}
@keyframes e95-stripes {
  to {
    background-position: 40px 0;
  }
}

.e95-blink {
  color: #cc0000;
  font-weight: 700;
  animation: e95-blink 1.2s steps(1, end) infinite;
}
@keyframes e95-blink {
  50% {
    opacity: 0;
  }
}

/* гостьова книга */
.e95-guest {
  width: 100%;
  border-collapse: collapse;
  border-color: #808080;
  background: #f4f4f4;
}
.e95-row {
  margin: 0 0 10px;
}
.e95-label {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}
.e95-input {
  width: 100%;
  max-width: 420px;
  padding: 3px 4px;
  border: 2px inset #d0d0d0;
  background: #fff;
  font-family: "Courier New", monospace;
  font-size: 14px;
}
.e95-submit {
  padding: 4px 18px;
  border: 2px outset #d0d0d0;
  background: #d0d0d0;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  cursor: pointer;
}
.e95-submit:active {
  border-style: inset;
}
.e95-error {
  margin: 0 0 8px;
  color: #cc0000;
  font-weight: 700;
}
.e95-done {
  margin: 0 0 8px;
  color: #006600;
  font-weight: 700;
}

/* підвал */
.e95-footer {
  border-collapse: collapse;
}
.e95-counter {
  display: inline-block;
  margin: 0;
  padding: 3px 7px;
  background: #000;
  color: #00ff00;
  font-family: "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 0.06em;
}

@media (max-width: 700px) {
  .e95-page {
    width: 600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .e95-marquee span,
  .e95-construction,
  .e95-blink {
    animation: none;
  }
  .e95-marquee span {
    padding-left: 0;
  }
}
