/* Static topic pages (scripts/seo-pages.mjs). Kept independent of the game bundle. */
:root {
  --ink: #f8ecd0;
  --muted: #9fb2c6;
  --gold: #f8bc48;
  --gold-light: #ffedbe;
  --panel: #0e1d31;
  --line: #ffffff14;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #091423;
  color: var(--ink);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}
a {
  color: var(--gold);
}
.content-page {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
/* The skyline is a band behind the header only. */
.content-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 380px;
  background:
    linear-gradient(#0914238c, #091423),
    url("/skyline.png") 50% 55% / cover no-repeat;
}
.content-header,
.content-nav,
.content-main,
.content-footer {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 10px;
}
.content-brand {
  font:
    28px/1 Impact,
    "Arial Black",
    sans-serif;
  letter-spacing: -0.02em;
  color: var(--gold-light);
  text-decoration: none;
}
.content-brand span {
  color: var(--gold);
}
.content-language {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 4px;
}
.content-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff0d;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.content-nav a[aria-current="page"] {
  background: var(--gold);
  color: #2b1d08;
}
.content-main {
  flex: 1;
  padding: 28px 0 40px;
}
h1 {
  margin: 0 0 12px;
  font:
    clamp(34px, 6vw, 56px) / 1.05 Impact,
    "Arial Black",
    sans-serif;
  letter-spacing: -0.015em;
  color: var(--gold-light);
  text-wrap: balance;
}
h2,
h3 {
  margin: 0 0 8px;
  line-height: 1.25;
  color: var(--gold-light);
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 17px;
}
.content-intro {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: 18px;
}
.content-play {
  display: inline-block;
  margin: 4px 0 28px;
  padding: 12px 26px;
  border: 1px solid #ffe4a1;
  border-radius: 8px;
  background: linear-gradient(#ffe4a1, #efb642 90%);
  color: #362611;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    inset 0 1px #fff8,
    0 3px 0 #8a6326;
}
.content-section {
  max-width: 820px;
  margin: 0 0 28px;
}
.content-section p {
  margin: 0 0 8px;
}
.content-section:has(.content-cards) {
  max-width: none;
}
.content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.content-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.content-card p {
  margin: 0;
  color: var(--muted);
}
.content-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  margin: 4px 0 0;
  font-size: 14px;
}
.content-card dt {
  color: var(--muted);
}
.content-card dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.content-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(#ffe59c, #e9a733);
  color: #3b2708;
  font-weight: 900;
}
.content-art {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 45%, #fff3c4, #d9d7b8 45%, #93aaa6);
}
.game-art {
  display: block;
  width: 92%;
  height: 92%;
}
/* Sheets without transparency keep a pale backdrop that multiply blends into the plot. */
.game-art.is-opaque {
  mix-blend-mode: multiply;
  filter: brightness(1.1) contrast(1.08);
}
.content-rank {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.content-role {
  font-weight: 700;
  color: var(--ink) !important;
}
.content-motto {
  font-style: italic;
}
.content-needs {
  font-size: 13px;
}
.content-note {
  max-width: 820px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #ffffff08;
  color: var(--muted);
  font-size: 14px;
}
.content-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.legal-links a {
  color: inherit;
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .content-cards {
    grid-template-columns: 1fr;
  }
  .content-goods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-goods .content-card {
    padding: 10px;
  }
  .content-goods .content-card p {
    font-size: 13px;
  }
}
