:root {
  color-scheme: light dark;
  --canvas: #f7f8f1;
  --text: #172824;
  --muted: #4d6359;
  --deep: #064a3f;
  --accent: #11644f;
  --wash: #e2efe5;
  --line: #cbd9cd;
  --white: #fffefa;
  --radius: .75rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); }
a { color: inherit; text-underline-offset: .23em; }
a:focus { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: .2rem; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1060px, calc(100% - 4rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 1; padding: .75rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 4.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; gap: .45rem; align-items: center; min-height: 44px; font-weight: 780; font-size: 1.23rem; letter-spacing: -.045em; text-decoration: none; }
.gf-site-icon { width: 31px; height: 31px; object-fit: contain; }
.header nav a, .footer a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-size: .91rem; }
.header nav a { text-decoration: none; color: var(--accent); font-weight: 650; }
.header nav a:hover { text-decoration: underline; }
.intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(140px, .65fr); align-items: center; gap: 2.4rem; padding-block: clamp(3.25rem, 7vw, 6.3rem); }
h1, h2, h3, p { margin: 0; }
h1 { color: var(--deep); font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 775; }
.intro p { max-width: 48ch; margin-top: 1.38rem; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.intro-art { justify-self: end; width: min(100%, 242px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--wash); }
.intro-art img { display: block; width: 72%; }
.directory { padding-bottom: clamp(2.4rem, 5vw, 4.75rem); scroll-margin-top: 1rem; }
.directory h2 { font-size: 1.3rem; letter-spacing: -.026em; padding-bottom: .75rem; }
.game-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.game { display: grid; align-items: center; gap: 1.35rem; grid-template-columns: 54px minmax(0, 1fr) minmax(max-content, 16rem); padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.game-mark { display: block; width: 54px; height: 54px; object-fit: contain; border-radius: var(--radius); }
.game h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.2; font-weight: 740; letter-spacing: -.031em; }
.game h3 a { display: inline-flex; gap: .45rem; align-items: baseline; padding-block: .4rem; min-height: 44px; text-decoration: none; }
.game h3 a:hover { text-decoration: underline; }
.out { color: var(--accent); font-size: .69em; font-weight: 600; }
.game-copy p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.game-links { display: grid; grid-template-columns: 1fr 1.6fr; gap: .55rem; }
.game-links a { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem .8rem; min-height: 44px; font-size: .91rem; font-weight: 660; text-decoration: none; }
.game-links .tool { border-color: transparent; background: var(--wash); color: var(--deep); }
.game-links a:hover { border-color: var(--accent); text-decoration: underline; color: var(--accent); }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { flex-wrap: wrap; row-gap: 0; padding-block: .25rem; }
.footer-name { font-weight: 720; text-decoration: none; }
.not-found { padding-block: 4rem; }
.not-found p { margin-top: 1.5rem; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 2.5rem); }
  .intro { gap: 1.35rem; }
  .game { gap: .75rem 1rem; grid-template-columns: 46px minmax(0, 1fr); padding-block: 1rem; }
  .game-mark { width: 46px; height: 46px; align-self: start; margin-top: .13rem; }
  .game h3 a { min-height: 44px; }
  .game-links { grid-column: 2; max-width: 22rem; }
}
@media (max-width: 480px) {
  .header-inner { min-height: 3.55rem; }
  .intro { display: block; padding-block: 2.65rem; }
  .intro-art, .desktop-break { display: none; }
  .game-links { grid-column: 1 / -1; max-width: none; }
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #11241e; --text: #f3fbf3; --muted: #c0d3c5; --deep: #def8e8; --accent: #91e9c6; --wash: #204737; --line: #3d5b4b; --white: #17392c; }
  .intro-art { background: #bde9d0; }
}
