:root {
  color-scheme: light;
  --color-text: #111;
  --color-text-soft: #444;
  --color-text-muted: #555;
  --color-text-faint: #666;
  --color-bg: #fff;
  --aa-font-size: clamp(2px, 0.88vw, 10px);
  --signature-scale: 0.45; /* BY ONE OF THE FANS の表示倍率 */
  --forum-link-scale: 0.45; /* GO TO THE FAN FORUM の表示倍率 */
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 64px) 16px 20px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.art { width: fit-content; max-width: 100%; margin: 0 auto; }
pre {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: var(--aa-font-size);
  line-height: 1;
  font-weight: 400;
  font-variant-ligatures: none;
  white-space: pre;
}
.signature {
  width: max-content;
  margin: 24px 0 0 auto;
  font-size: calc(var(--aa-font-size) * var(--signature-scale));
}
/* 用語の流れと更新履歴の間に置く、ファンフォーラムへのリンク */
.forum-link {
  --forum-link-font-size: calc(var(--aa-font-size) * var(--forum-link-scale));
  display: flex;
  align-items: center;
  gap: calc(var(--forum-link-font-size) * 4);
  width: max-content;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 12px 16px; /* 小さな画面でも押しやすいよう、見た目より広く反応させる */
  color: inherit;
  text-decoration: none;
}
.forum-link pre { font-size: var(--forum-link-font-size); }
/* AA 5行分の高さに合わせた ▶ */
.forum-link-cursor {
  font-size: calc(var(--forum-link-font-size) * 5);
  line-height: 1;
  animation: forum-link-blink 1s steps(1, end) infinite;
}
a.forum-link[href]:hover { opacity: 0.6; }
a.forum-link[href]:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
@keyframes forum-link-blink {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .forum-link-cursor { animation: none; }
}
.site-title {
  margin: 32px auto 0;
  color: var(--color-text-soft);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}
.notice {
  max-width: 42rem;
  margin: 12px auto 0;
  font-size: 13px;
  line-height: 2;
  text-align: center;
}
.updates {
  width: 100%;
  max-width: 42rem;
  margin: 32px auto 0;
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.8;
}
.updates h2 {
  margin: 0 0 8px;
  color: var(--color-text-faint);
  font-size: 12px;
  font-weight: 500;
}
.updates-list { margin: 0; padding: 0; list-style: none; }
.updates-list li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
  padding: 2px 0;
}
.updates-list time { color: var(--color-text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.updates-list span { overflow-wrap: anywhere; }
footer {
  max-width: 64rem;
  margin: 0 auto;
  padding-top: 48px;
  color: var(--color-text-faint);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
}
footer p { margin: 0; }
footer p + p { margin-top: 2px; }
footer .contact { margin-top: 12px; }
footer a { color: inherit; text-underline-offset: 3px; }
