:root {
  font-family: system-ui, sans-serif;
  color: #202c26;
  background: #f7f5ee;
  font-synthesis: none;
  color-scheme: light;
}
body { margin: 0; }
button, textarea, input, select { font: inherit; }
:focus-visible { outline: 2px solid #ab5e21; outline-offset: 3px; }
.site-skip {
  position: absolute;
  top: 0;
  left: 12px;
  z-index: 20;
  transform: translateY(-120%);
  padding: 10px 14px;
  color: #fff;
  background: #173a2f;
}
.site-skip:focus { transform: translateY(0); }
.site-header {
  border-bottom: 1px solid #dadfd6;
  background: #fffdf6;
}
.site-header-content, .site-game, .site-footer > div {
  width: min(100% - 20px, 1140px);
  margin-inline: auto;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #173a2f;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 740;
  letter-spacing: -0.02em;
}
.site-brand img { display: block; }
.site-nav, .site-footer nav, .game-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
}
.site-nav {
  margin: 0 -4px 5px;
  gap: 0 3px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  min-height: 32px;
  border-radius: 6px;
  color: #254b3c;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 650;
}
.site-nav a:hover, .site-nav [aria-current="page"] { background: #e6eee4; }
.site-game > h1 {
  margin: 12px 4px 10px;
  color: #173a2f;
  font-size: clamp(1.32rem, 4.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
#game noscript { color: #173a2f; }
.site-article {
  width: min(100% - 20px, 710px);
  margin: 38px auto 56px;
  line-height: 1.65;
}
.site-info { min-height: 55vh; }
.site-article :is(h1, h2, h3) {
  color: #173a2f;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.site-article h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
.site-article h2 { margin: 32px 0 10px; font-size: clamp(1.28rem, 4.6vw, 1.55rem); }
.site-article h3 { margin: 23px 0 7px; font-size: 1.07rem; }
.site-article p { margin: 0 0 1.05em; }
.site-article a, .site-footer a { color: #265d49; text-underline-offset: 3px; }
.game-guide strong {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid #d4dbd0;
  border-radius: 4px;
  background: #fffefa;
  color: #173a2f;
  line-height: 1.4;
}
.game-links { gap: 7px; }
.game-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid #d5ddd2;
  border-radius: 8px;
  background: #fffefa;
  font-weight: 650;
}
.site-footer {
  border-top: 1px solid #dadfd6;
  padding: 10px 0 16px;
  background: #fffdf6;
}
.site-footer > div { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: .9rem;
}
.site-footer .site-sale {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: .8rem;
  color: #4f665a;
}
#feedback { max-width: 500px; }
#feedback label, #share-fallback label { display: block; font-weight: 650; }
#feedback textarea, #share-fallback textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 6px 0 8px;
  padding: 10px;
  border: 1px solid #7b9181;
  border-radius: 6px;
  background: #fffefa;
  color: #182a21;
  resize: vertical;
}
#feedback button, #share-fallback button {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: #173a2f;
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
#feedback button:disabled { opacity: .6; cursor: wait; }
#feedback [role="status"] { min-height: 1.65em; margin-top: 8px; }
#share-fallback {
  width: min(84vw, 420px);
  padding: 20px;
  border: 0;
  border-radius: 10px;
  background: #fffefa;
  color: #173a2f;
}
#share-fallback::backdrop { background: #142d24a0; }
@media (min-width: 720px) {
  .site-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
  }
  .site-nav { margin: 0; gap: 4px; }
  .site-nav a { padding-inline: 10px; min-height: 36px; font-size: .95rem; }
  .site-game { width: min(100% - 32px, 1140px); }
  .site-footer > div { justify-content: space-between; }
}
