@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122; }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122; }
* { box-sizing: border-box; }
body { margin: 0; background: #000; color: #fff; font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 300; }
header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding: 24px 24px 22px; }
header h1 { margin: 0; font-size: 17px; font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase; }
header h1 a { color: #e6e6e6; text-decoration: none; }
nav { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
nav a { color: #8a8a8a; text-decoration: none; margin-left: 24px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current] { color: #fff; }
main.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; padding: 0 6px; }
main.grid a { display: block; background: #111; overflow: hidden; }
main.grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; transition: opacity .2s; }
main.grid a:hover img { opacity: .75; }
main.page { max-width: 640px; margin: 0 auto; padding: 24px 24px 0; font-size: 18px; line-height: 1.65; color: #d8d8d8; }
main.page h2 { font-size: 13px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #8a8a8a; margin: 36px 0 6px; }
main.page p { margin: 0 0 16px; }
main.page a { color: #fff; text-decoration: underline; text-decoration-color: #555; text-underline-offset: 3px; }
main.page a:hover { text-decoration-color: #fff; }
main.page img { display: block; width: 100%; height: auto; margin: 0 0 28px; }
footer { text-align: center; color: #555; font-size: 12px; padding: 48px 16px; letter-spacing: 0.1em; }
@media (max-width: 480px) { main.grid { grid-template-columns: repeat(2, 1fr); } header h1 { font-size: 15px; letter-spacing: 0.26em; } nav { letter-spacing: 0.14em; } nav a { margin-left: 16px; } }
main.page h2.title { font-size: 26px; font-weight: 300; letter-spacing: 0.02em; text-transform: none; color: #fff; margin: 8px 0 6px; line-height: 1.25; }
main.page h3 { font-size: 21px; font-weight: 400; color: #fff; margin: 0 0 2px; line-height: 1.3; }
main.page .date { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #777; margin: 0 0 20px; }
main.page article { padding: 40px 0 8px; border-top: 1px solid #222; margin-top: 32px; scroll-margin-top: 12px; }
main.page figure { margin: 0 0 24px; }
main.page figure img { margin: 0; }
main.page figcaption { font-size: 14px; color: #888; margin-top: 8px; text-align: center; }
main.page ul, main.page ol { margin: 0 0 16px; padding-left: 22px; }
main.page li { margin-bottom: 8px; }
main.page ul.links { list-style: none; padding: 0; }
main.page ul.links span { color: #888; font-size: 15px; margin-left: 6px; }
main.page.design figure img { background: #fff; }
main.page strong { font-weight: 400; color: #fff; }
footer { text-align: left; padding: 64px 24px 40px; margin-top: 56px; border-top: 1px solid #1c1c1c; letter-spacing: 0; }
footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 24px; max-width: 1120px; margin: 0 auto; }
footer h2 { font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #777; margin: 0 0 12px; }
footer a { display: block; color: #bbb; text-decoration: none; font-size: 15px; line-height: 1.3; margin-bottom: 9px; }
footer a:hover { color: #fff; }
footer p { max-width: 1120px; margin: 44px auto 0; color: #555; font-size: 12px; letter-spacing: 0.1em; }
@media (max-width: 700px) { footer .cols { grid-template-columns: repeat(2, 1fr); } }
main.page .lead { font-size: 20px; color: #bbb; margin: 0 0 28px; }
main.page ol.toc { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: part; border-top: 1px solid #222; }
main.page ol.toc li { counter-increment: part; margin: 0; border-bottom: 1px solid #222; }
main.page ol.toc a { display: block; padding: 11px 0; text-decoration: none; color: #ddd; }
main.page ol.toc a::before { content: counter(part, decimal-leading-zero); color: #666; font-size: 13px; letter-spacing: 0.12em; margin-right: 16px; }
main.page ol.toc a:hover { color: #fff; }
main.page h2.part { font-size: 30px; font-weight: 300; letter-spacing: 0; text-transform: none; color: #fff; margin: 88px 0 0; line-height: 1.2; scroll-margin-top: 12px; }
main.page h2.part span { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #777; margin-bottom: 10px; }
main.page.book section > article:first-of-type { margin-top: 28px; }
main.page h4 { font-size: 13px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: #999; margin: 28px 0 10px; }
main.page blockquote { margin: 0 0 16px; padding: 2px 0 2px 18px; border-left: 2px solid #444; color: #bbb; }
main.page blockquote cite { display: block; font-style: normal; font-size: 15px; color: #888; margin-top: 4px; }
main.page.book figure img { background: #fff; }
main.page.book h3 { margin-bottom: 16px; }
.book-wrap { display: grid; grid-template-columns: 250px minmax(0, 640px); gap: 0 56px; justify-content: center; padding: 0 24px; }
.book-wrap main.page { margin: 0; padding: 24px 0 0; max-width: none; }
nav.side { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; padding: 32px 0 32px; font-size: 14px; letter-spacing: 0; text-transform: none; }
nav.side p { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #777; margin: 0 0 14px; }
nav.side ol, nav.side ul { list-style: none; margin: 0; padding: 0; }
nav.side ol > li { margin-bottom: 14px; }
nav.side a { display: block; margin: 0; padding: 4px 0; color: #ddd; text-decoration: none; line-height: 1.35; }
nav.side ul a { color: #888; padding: 3px 0 3px 12px; border-left: 1px solid #262626; font-size: 13.5px; }
nav.side a:hover { color: #fff; }
nav.side a[aria-current] { color: #fff; border-left-color: #fff; }
main.page.book h2.part:first-of-type { margin-top: 56px; }
main.page.book article, main.page.book section { scroll-margin-top: 16px; }
@media (max-width: 900px) {
  .book-wrap { display: block; max-width: 640px; margin: 0 auto; }
  nav.side { position: static; max-height: none; padding: 20px 0 8px; border-bottom: 1px solid #222; }
  nav.side ul { display: none; }
  nav.side ol > li { margin-bottom: 4px; }
}
main.page.top10 h3 { margin: 44px 0 14px; }
main.page ol.points { padding-left: 0; list-style: none; counter-reset: pt; margin: 8px 0 28px; }
main.page ol.points li { counter-increment: pt; position: relative; padding: 14px 0 14px 48px; margin: 0; border-top: 1px solid #222; }
main.page ol.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-size: 13px; letter-spacing: 0.12em; color: #666; }
main.page .template { border-left: 2px solid #444; padding: 4px 0 4px 20px; margin: 8px 0 24px; color: #ccc; }
main.page .template p { margin-bottom: 12px; }
main.page.game figure img { background: #111; }
main.page .steam { margin-top: 32px; padding-top: 20px; border-top: 1px solid #222; }
