/* Ideally, following the old-school approach, I would have written the entire thing properly in HTML4 and avoided using things like markup and such, but.... */

:root {
  color-scheme: light;
  --text: #292b2a;
  --muted: #686d69;
  --line: #d8dbd8;
  --soft: #f5f6f5;
  --accent: #b9322b;
  --page-width: 872px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  transform: scale(1.04);
  transform-origin: top left;
  width: 96.1538%;
}


body {
  margin: 0;
  background-color: #ffffff;
  background-image: url("https://helios1884.ie-t.net/assets/bg02.gif");
  background-repeat: repeat;
  background-position: left top;
  background-attachment: fixed;
  color: #c6d2c8;
  font-family: Verdana, "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: #394d74;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid #526d9b;
  outline-offset: 3px;
}

.page {
  width: min(872px, calc(100% - 40px));
  margin: 28px auto 0;
  background-color: transparent;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .11em;
  color: #858a86;
  text-transform: uppercase;
}

.page-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

h1 {
  font-size: clamp(25px, 4vw, 31px);
  line-height: 1.35;
  letter-spacing: .02em;
  margin: 6px 0 8px;
}

h2 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
}

p {
  margin: 8px 0;
}

.section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.entry {
  padding: 12px 0;
  border-bottom: 1px solid #e8eae8;
}

.entry:last-child {
  border-bottom: 0;
}

.entry-date {
  font-size: 12px;
  color: #777c78;
  margin: 0 0 3px;
}

.entry p {
  margin: 0;
}

.back {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 15px 0 32px;
  margin-top: 22px;
  color: #777c78;
  font-size: 10px;
}

.footer p {
  margin: 0;
}

.friend-link {
  padding: 10px 0;
}

.note {
  color: #686d69;
  font-size: 12px;
}

.content-link {
  margin-top: 14px;
}


.retro-title {
  margin: 2px 0 10px;
  color: #66ff00;
  font-size: 23px;
  letter-spacing: .04em;
  font-style: italic;
  text-align: center;
}

.retro-banner {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 0 auto 16px;
  border: 1px solid #49664f;
}

.intro {
  text-align: center;
  margin: 0 auto 18px;
}

.retro-marquee {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #ffff00;
  border-block: 1px dashed #38443b;
  padding: 5px 0;
  margin: 12px 0;
}

.retro-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollmsg 18s linear infinite;
}

@keyframes scrollmsg {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.retro-label {
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 8px;
}

.visitor-box {
  border: 1px solid #718074;
  background: #000;
  padding: 13px;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 520px;
  color: #e6efe7;
}

.history-box {
  max-height: 150px;
  overflow: auto;
  border: 1px solid #737d75;
  background: #000000;
  padding: 8px 10px;
  margin: 0 auto 22px;
  max-width: 520px;
  width: 360px;
  color: #abb9ad;
  font-size: 12px;
  text-align: left;
}

.retro-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #526157;
}

.retro-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #526157;
  align-items: center;
}

.retro-item img {
  width: 70px;
  height: 70px;
  image-rendering: pixelated;
}

.retro-item a {
  color: #8bb6ff;
}

.retro-item a:visited {
  color: #cfabff;
}

.retro-item p {
  margin: 6px 0 0;
  color: #c6d2c8;
  font-size: 12px;
}

.retro-footer {
  text-align: center;
  color: #dce5de;
  font-size: 12px;
  margin: 20px 0 32px;
}

.retro-footer a {
  color: #8bb6ff;
}


.retro-subnote {
  color: #aeb8af;
}

.retro-new {
  color: #ff3b6b;
}

.retro-inline-icon {
  vertical-align: middle;
}

.new {
  color: #dd1212f3;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.h1 {
  color: #15ff00;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-style: italic;
}

li {
  color: #8a8a8a;
}

@media (max-width: 600px) {
  .page {
    width: calc(100% - 28px);
    margin-top: 18px;
  }

  h1 {
    font-size: 26px;
  }

  .section {
    padding: 16px 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .retro-title {
    font-size: 20px;
  }

  .retro-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }

  .retro-item img {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retro-marquee span {
    animation: none;
    padding-left: 0;
    white-space: normal;
  }
}
