:root {
  color-scheme: light;
  --ink: #241b32;
  --purple: #59368c;
  --line: #dacfe8;
  --lime: #e0ff67;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #f8f6fd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.85;
}
.wrap {
  width: min(100% - 36px, 42rem);
  margin-inline: auto;
}
a { color: var(--purple); text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #7640bc; outline-offset: 4px; }
.skip {
  position: absolute;
  inset: 8px auto auto 8px;
  padding: 4px 12px;
  color: white;
  background: var(--purple);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
.site-head { border-bottom: 2px solid var(--ink); background: white; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand img { display: block; object-fit: contain; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  row-gap: 4px;
  color: #52485e;
  font-size: .76rem;
}
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before {
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-inline: 9px 11px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}
article {
  margin: 0 0 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.intro, article > section, .references {
  margin-inline: clamp(18px, 4.8vw, 38px);
}
.intro {
  padding-block: clamp(26px, 4.8vw, 42px) 0;
}
h1, h2, p, dl, dd { margin: 0; }
h1 {
  font-size: clamp(2.1rem, 7vw, 3.8rem);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.055em;
}
h1 span {
  display: block;
  margin-top: .5em;
  color: var(--purple);
  font-size: .51em;
  letter-spacing: .015em;
}
h2 {
  font-size: clamp(1.29rem, 3.5vw, 1.62rem);
  line-height: 1.52;
  letter-spacing: -.03em;
}
.definition {
  margin-top: 24px;
  border-left: 5px solid var(--purple);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  background: #f2eafb;
}
p + p, h2 + p, dl + p { margin-top: .8rem; }
article > section:not(.game) {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
dt {
  margin-top: 14px;
  color: var(--purple);
  font-size: .86rem;
  font-weight: 800;
}
dd { font-weight: 650; }
.game {
  margin-block: 28px 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: clamp(14px, 3.5vw, 24px);
  background: #f1e9fc;
}
.game-head {
  display: flex;
  align-items: center;
  gap: 15px;
}
.game-head img {
  width: clamp(62px, 17vw, 92px);
  height: auto;
  flex-shrink: 0;
  border: 1px solid #c6b7d5;
  border-radius: 10px;
}
.game > p { margin-top: .8rem; }
.play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 48px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  padding: .48em .7em;
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
@media (hover: hover) {
  .play:hover { background: #eeffa4; }
}
.play:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.game .game-meta { margin-top: 10px; color: #554662; font-size: .81rem; text-align: center; }
.references {
  margin-block: 24px 0;
  padding-bottom: 24px;
  color: #53485e;
  font-size: .83rem;
}
.references h2 { font-size: .96rem; }
.references ul { margin: .4rem 0 .8rem; padding-left: 1.3em; }
.references li + li { margin-top: 5px; }
.references p { border-top: 1px solid var(--line); padding-top: 12px; }
.divider { margin-inline: .65em; color: #786a84; }
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .intro, article > section, .references { margin-inline: 14px; }
  .game-head { gap: 9px; }
}
