:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #17152e;
  color: #2a2340;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 70% 0, #463064, transparent 48rem), #17152e;
}

a:focus-visible { outline: 3px solid #aa6224; outline-offset: 4px; }

.site-shell { max-width: 56rem; margin: auto; padding: clamp(1rem, 4vw, 2.5rem); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.site-name, .back-to-game {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff1cf;
  text-decoration: none;
  font-weight: 800;
}

.site-name { font-size: clamp(1.1rem, 3vw, 1.42rem); }
.site-name img { border-radius: 11px; }
.back-to-game { padding: .58rem .82rem; border: 1px solid #eab967; border-radius: .65rem; }
.back-to-game:hover { background: #493361; }
.back-to-game span { color: #ffd884; font-size: .8em; }

.site-nav { display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin: 1.3rem 0 .85rem; }
.site-nav a { padding: .55rem .7rem; border-radius: .5rem; color: #fff1cf; text-underline-offset: .2em; font-size: .88rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #fff1cf; color: #34234d; }
.site-nav a[aria-current="page"] { text-decoration: none; font-weight: 750; }

main {
  color-scheme: light;
  padding: clamp(1.15rem, 5vw, 2.8rem);
  border: 1px solid #e4b36b;
  border-radius: 1rem;
  background: #fff8e9;
  box-shadow: 0 .8rem 1.7rem #09071970;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

h1 { margin: 0 0 .7em; color: #402a58; font-size: clamp(1.5rem, 5vw, 2.3rem); line-height: 1.35; }
h2 { margin: 0 0 .4em; color: #402a58; font-size: clamp(1.09rem, 3vw, 1.3rem); }
p, ol, ul { margin: .55em 0; }
ol, ul { padding-inline-start: 1.45em; }
li + li { margin-top: .35em; }
section + section { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #edddc6; }
main a { color: #583276; text-decoration-thickness: .1em; text-underline-offset: .18em; }
main a:hover { color: #7b420c; }
.intro { margin-block-end: 1.35rem; }
.updated { margin-top: 1.6rem; color: #5e5064; font-size: .85rem; }
