/* Public HTML is visible to every visitor before React takes over, including without JS. */
.seo-preview {
  --seo-bg: #f5f7f3;
  --seo-panel: #fff;
  --seo-ink: #173b39;
  --seo-muted: #647572;
  --seo-line: #dce6df;
  --seo-accent: #14675b;
  background: var(--seo-bg);
  color: var(--seo-ink);
  min-height: 100vh;
  font:
    16px/1.65 system-ui,
    -apple-system,
    'PingFang SC',
    sans-serif;
}
html[data-theme='dark'] .seo-preview {
  --seo-bg: #102322;
  --seo-panel: #1b302d;
  --seo-ink: #e3f0e9;
  --seo-muted: #a5beb4;
  --seo-line: #345049;
  --seo-accent: #9ce1c4;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme='light']) .seo-preview {
    --seo-bg: #102322;
    --seo-panel: #1b302d;
    --seo-ink: #e3f0e9;
    --seo-muted: #a5beb4;
    --seo-line: #345049;
    --seo-accent: #9ce1c4;
  }
}
.seo-preview * {
  box-sizing: border-box;
}
.seo-preview a {
  color: inherit;
  text-decoration: none;
}
.seo-preview a:focus-visible {
  outline: 3px solid var(--seo-accent);
  outline-offset: 5px;
}
.seo-preview h1,
.seo-preview h2,
.seo-preview p {
  margin: 0;
}
.seo-header,
.seo-main,
.seo-footer {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--seo-line);
  gap: 24px;
}
.seo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
}
.seo-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--seo-muted);
}
.seo-header nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}
.seo-intro {
  padding: 64px 0 52px;
  max-width: 790px;
}
.seo-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--seo-muted);
}
.seo-preview h1 {
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 15px 0 20px;
}
.seo-intro p,
.seo-game-heading p {
  max-width: 720px;
  color: var(--seo-muted);
  line-height: 1.9;
}
.seo-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 22px;
  background: #176a5c;
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  min-height: 48px;
}
.seo-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.seo-section-title h2 {
  font-size: 24px;
}
.seo-section-title span,
.seo-section-title > a {
  font-size: 14px;
  color: var(--seo-muted);
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.seo-card {
  border: 1px solid var(--seo-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--seo-panel);
}
.seo-card a {
  display: block;
  height: 100%;
}
.seo-card img,
.seo-art-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.seo-art-placeholder {
  display: grid;
  place-items: center;
  background: #d4e8da;
  color: #216c59;
  font-size: 52px;
}
.seo-card a > div {
  padding: 18px;
}
.seo-card h2 {
  font-size: 18px;
  margin: 7px 0;
}
.seo-card p {
  font-size: 13px;
  color: var(--seo-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.seo-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  margin-top: 64px;
  border-top: 1px solid var(--seo-line);
  font-size: 13px;
  color: var(--seo-muted);
}
.seo-back {
  display: inline-block;
  margin: 30px 0 16px;
  font-size: 14px;
  color: var(--seo-muted) !important;
}
.seo-game-heading {
  margin-bottom: 30px;
}
.seo-game-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 30px;
  align-items: start;
}
.seo-cover {
  border-radius: 22px;
  overflow: hidden;
  background: var(--seo-panel);
}
.seo-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.seo-play {
  background: var(--seo-panel);
  border: 1px solid var(--seo-line);
  border-radius: 22px;
  padding: 28px;
}
.seo-play h2 {
  font-size: 24px;
  margin: 12px 0;
}
.seo-play p {
  font-size: 14px;
  color: var(--seo-muted);
}
.seo-play .seo-button {
  width: 100%;
}
.seo-play .seo-hint {
  font-size: 12px;
  margin-top: 20px;
}
.seo-about {
  padding: 38px 0;
  max-width: 850px;
}
.seo-about h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.seo-about p {
  white-space: pre-line;
  color: var(--seo-muted);
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-game-layout {
    grid-template-columns: 1fr;
  }
  .seo-header nav {
    gap: 14px;
  }
  .seo-play {
    padding: 24px;
  }
  .seo-intro {
    padding: 40px 0;
  }
}
@media (max-width: 520px) {
  .seo-header,
  .seo-main,
  .seo-footer {
    width: calc(100% - 32px);
  }
  .seo-header {
    flex-wrap: wrap;
    padding: 18px 0;
    gap: 16px;
  }
  .seo-header nav {
    width: 100%;
    justify-content: space-between;
  }
  .seo-grid {
    gap: 12px;
  }
  .seo-card a > div {
    padding: 12px;
  }
  .seo-card h2 {
    font-size: 16px;
  }
  .seo-card .seo-label {
    font-size: 10px;
    letter-spacing: 0;
  }
  .seo-section-title h2 {
    font-size: 20px;
  }
  .seo-footer {
    flex-direction: column;
    gap: 8px;
  }
  .seo-intro p {
    font-size: 14px;
  }
  .seo-preview h1 {
    letter-spacing: 0;
  }
}
