/* Shared tokens: the marketing pages and handbook use one forest/pixel identity. */
:root {
  --forest:#101e19;
  --surface:#192b22;
  --paper:#f7f7f2;
  --ink:#f4f2df;
  --muted:#b1bdb2;
  --lime:#b4ed68;
  --line:#34453a;
  --dark-ink:#15241d;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
  --sans:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color-scheme:dark;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}
body {
  margin:0;
  background:var(--forest);
  color:var(--ink);
  font:16px/1.8 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,summary {
  font:inherit;
}
button,a,input,summary {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button,summary {
  touch-action:manipulation;
}
img {
  max-width:100%;
  height:auto;
}
svg {
  display:inline-block;
  flex-shrink:0;
  vertical-align:middle;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2,h3 {
  line-height:1.25;
  letter-spacing:-.035em;
}
h1 {
  font-size:clamp(36px,4vw,56px);
  font-weight:800;
}
h2 {
  font-size:36px;
  font-weight:750;
}
h3 {
  font-size:22px;
}
p+p {
  margin-top:16px;
}
code,kbd {
  font-family:var(--mono);
  font-size:.87em;
}
code {
  overflow-wrap:anywhere;
}
a,button {
  transition:color .16s,background .16s,transform .16s,border-color .16s;
}
:focus-visible {
  outline:3px solid var(--lime);
  outline-offset:5px;
}
[hidden] {
  display:none!important;
}
.container {
  width:min(1240px,calc(100% - 128px));
  margin-inline:auto;
}
.icon {
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:square;
  stroke-linejoin:miter;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  padding:12px 20px;
  background:var(--lime);
  color:var(--forest);
  z-index:100;
}
.skip-link:focus {
  top:12px;
}
.site-header {
  height:76px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:30;
  background:var(--forest);
}
.header-inner {
  height:100%;
  width:min(1336px,calc(100% - 128px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--mono);
  font-size:25px;
  line-height:1;
  font-weight:850;
  letter-spacing:-1.3px;
}
.brand img {
  image-rendering:pixelated;
}
.primary-nav {
  display:flex;
  align-self:stretch;
  gap:44px;
}
.primary-nav a {
  display:flex;
  align-items:center;
  position:relative;
  font-size:15px;
}
.primary-nav a[aria-current=page] {
  color:var(--lime);
}
.primary-nav a[aria-current=page]:after {
  content:"";
  position:absolute;
  height:2px;
  bottom:14px;
  background:var(--lime);
  left:0;
  right:0;
}
.primary-nav a:hover,.github-link:hover {
  color:var(--lime);
}
.github-link {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:14px;
}
.menu-toggle {
  display:none;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  padding:8px;
}
.mobile-nav {
  padding:16px 20px;
  background:var(--forest);
  border-bottom:1px solid var(--line);
}
.mobile-nav a {
  display:block;
  padding:12px;
}
.mobile-nav a[aria-current=page] {
  color:var(--lime);
}
.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.hero-art {
  position:absolute;
  z-index:-1;
  width:min(1280px,92%);
  max-width:none;
  height:100%;
  object-fit:cover;
  object-position:right center;
  right:0;
  top:0;
  mask-image:linear-gradient(to bottom,#000 90%,transparent);
}
.hero-inner {
  min-height:676px;
  display:flex;
  align-items:center;
  padding-block:56px;
}
.hero-copy {
  width:590px;
}
.hero h1 {
  font-size:clamp(64px,6.1vw,88px);
  line-height:1.12;
  font-weight:900;
  letter-spacing:-.055em;
}
.hero h1 span,.features h2 span,.adventure h2 span {
  color:var(--lime);
}
.hero-description {
  font-size:18px;
  line-height:1.8;
  margin-top:26px;
  max-width:515px;
}
.actions {
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}
.hero .actions {
  margin-top:30px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:54px;
  padding:14px 26px;
  border:1px solid var(--lime);
  border-radius:3px;
  font-size:16px;
  font-weight:650;
  white-space:nowrap;
  line-height:1.4;
}
.button.primary {
  background:var(--lime);
  color:var(--forest);
  box-shadow:0 3px 0 #6b963c;
}
.button.primary:hover {
  background:#c8ff86;
  transform:translateY(-2px);
}
.button.secondary {
  background:var(--forest);
  color:var(--ink);
}
.button.secondary:hover {
  background:var(--surface);
}
.hero-meta {
  font-size:12px;
  color:#c1cabc;
  margin-top:26px;
}
.hero-meta span {
  padding-inline:6px;
}
.world-facts {
  border-block:1px solid var(--line);
}
.world-facts .container {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding-block:22px;
}
.world-facts p {
  margin:0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  line-height:1.4;
  border-right:1px solid var(--line);
  font-size:15px;
}
.world-facts p:last-child {
  border:0;
}
.world-facts b {
  color:var(--lime);
  font-family:var(--mono);
  font-size:19px;
}
.world-facts span {
  border-left:1px solid var(--line);
  padding-left:24px;
}
.features {
  padding-block:80px 88px;
  scroll-margin-top:16px;
}
.features h2 {
  font-size:clamp(30px,3.2vw,46px);
}
.section-lead {
  font-size:18px;
  color:var(--muted);
  margin-top:20px;
}
.feature-list {
  margin-top:48px;
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:56px;
}
.feature-link {
  display:grid;
  grid-template-columns:72px 28px 1fr 20px;
  align-items:center;
  gap:20px;
  min-height:154px;
  border-top:1px solid var(--line);
  padding:26px 4px;
}
.feature-link:hover {
  background:var(--surface);
  border-color:var(--lime);
}
.feature-link:hover .feature-arrow {
  transform:translateX(4px);
}
.feature-art {
  width:70px;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.feature-art svg {
  width:64px;
  height:64px;
  image-rendering:pixelated;
}
.feature-art img {
  width:62px;
  height:62px;
  object-fit:contain;
  image-rendering:pixelated;
}
.feature-number {
  font:18px var(--mono);
  color:var(--lime);
  align-self:start;
  margin-top:8px;
}
.feature-link h3 {
  font-size:23px;
}
.feature-link p {
  font-size:14px;
  line-height:1.85;
  color:var(--muted);
  margin-top:10px;
}
.feature-arrow {
  color:var(--lime);
  transition:transform .16s;
}
.adventure {
  background:#1a3023;
  border-block:1px solid #496c3a;
  padding-block:56px;
}
.adventure-inner {
  display:flex;
  gap:48px;
  align-items:center;
  justify-content:space-between;
}
.adventure h2 {
  font-size:30px;
}
.adventure p {
  color:var(--muted);
  margin-top:16px;
  font-size:15px;
}
.adventure .actions {
  flex-shrink:0;
}
.site-footer {
  padding:30px 0;
  color:var(--muted);
  font-size:12px;
}
.footer-inner {
  display:flex;
  align-items:center;
  gap:32px;
  flex-wrap:wrap;
}
.footer-brand {
  color:var(--ink);
  font-family:var(--mono);
  font-size:16px;
  font-weight:700;
}
.footer-brand span {
  font:13px var(--sans);
  margin-left:10px;
  color:var(--muted);
}
.footer-inner nav {
  display:flex;
  gap:24px;
  margin-left:auto;
}
.footer-inner nav a:hover {
  color:var(--lime);
}
.footer-inner>p {
  font-size:11px;
  border-left:1px solid var(--line);
  padding-left:24px;
}
/* Downloads: filenames and checksums remain real selectable text. */
.download-main {
  max-width:1120px;
  padding-block:44px 80px;
}
.page-intro {
  text-align:center;
  margin-bottom:28px;
}
.page-intro h1 {
  font-size:46px;
}
.release-line {
  font:15px var(--mono);
  color:var(--lime);
  margin-top:20px;
}
.page-intro .lede {
  font-size:16px;
  color:var(--muted);
  margin-top:10px;
}
.download-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:24px 30px;
  border:1px solid var(--line);
  border-radius:3px;
  background:var(--surface);
  margin-bottom:36px;
}
.download-banner h2 {
  font-size:27px;
}
.download-banner p {
  font-size:14px;
  color:var(--muted);
  margin-top:10px;
}
.download-heading {
  font-size:28px;
  margin-bottom:18px;
}
.download-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  border:1px solid var(--line);
}
.download-table th {
  font-weight:500;
  color:var(--muted);
  font-size:12px;
  background:var(--surface);
  text-align:left;
  padding:10px 18px;
}
.download-table td {
  border-top:1px solid var(--line);
  padding:10px 18px;
}
.download-table tr:hover td {
  background:var(--surface);
}
.download-table td:last-child {
  text-align:right;
}
.download-table td:nth-child(3) {
  color:var(--muted);
  white-space:nowrap;
  font:12px var(--mono);
}
.download-table a {
  color:var(--ink);
  text-underline-offset:5px;
}
.download-table a:hover {
  color:var(--lime);
}
.file-name {
  font:13px var(--mono);
  overflow-wrap:anywhere;
}
.file-description {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
}
.download-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  min-height:36px;
}
.checksum-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px;
}
.checksum-link {
  padding:20px 24px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:3px;
}
.checksum-link:hover {
  border-color:var(--lime);
}
.checksum-link strong {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--lime);
  font-size:16px;
}
.checksum-link p {
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}
.hash-box {
  padding:18px 24px;
  border:1px solid var(--line);
  margin-top:20px;
  border-radius:3px;
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap;
}
.hash-box>span {
  font-size:14px;
  font-weight:600;
}
.hash-box code {
  font:12px var(--mono);
  flex:1;
  word-break:break-all;
}
.copy-button {
  background:transparent;
  border:1px solid var(--line);
  color:inherit;
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:3px;
  flex-shrink:0;
  font-size:12px;
}
.copy-button:hover {
  border-color:var(--lime);
  color:var(--lime);
}
.download-guidance {
  margin-top:44px;
  padding-top:34px;
  border-top:1px solid var(--line);
}
.download-guidance h2 {
  font-size:28px;
  margin-bottom:20px;
}
.guidance-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
}
.guidance-grid h3 {
  font-size:18px;
  margin-bottom:12px;
}
.guidance-grid p {
  font-size:14px;
  color:var(--muted);
}
.text-link {
  color:var(--lime);
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:14px;
  margin-top:16px;
}
.text-link:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}
.command-line {
  display:flex;
  align-items:center;
  gap:16px;
  justify-content:space-between;
  background:#0c1712;
  border:1px solid var(--line);
  padding:16px;
  margin-top:20px;
}
.command-line code {
  font-size:13px;
}
/* Docs: high contrast light reading canvas, persistent dark handbook rail. */
.docs-layout {
  display:grid;
  grid-template-columns:258px minmax(0,1fr);
  min-height:calc(100vh - 76px);
  max-width:1600px;
  margin:auto;
}
.docs-sidebar {
  padding:36px 22px;
  border-right:1px solid var(--line);
  position:sticky;
  top:76px;
  height:calc(100vh - 76px);
  overflow:auto;
}
.sidebar-heading {
  font-weight:700;
  font-size:20px;
  margin-bottom:20px;
}
.search-wrap {
  position:relative;
  margin-bottom:14px;
}
.search-wrap>.icon {
  position:absolute;
  top:14px;
  left:12px;
  width:16px;
  height:16px;
  color:var(--muted);
}
.search-wrap input {
  width:100%;
  min-height:44px;
  border:1px solid #4d6053;
  background:transparent;
  border-radius:3px;
  color:var(--ink);
  padding:10px 10px 10px 37px;
  font-size:13px;
}
.search-wrap input::placeholder {
  color:#b1bdb2;
}
.sidebar-group {
  font-size:11px;
  letter-spacing:.12em;
  color:#96a999;
  margin:24px 10px 10px;
  text-transform:uppercase;
}
.docs-nav a {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  font-size:14px;
  line-height:1.5;
  border-radius:3px;
  margin-block:4px;
}
.docs-nav a:hover {
  background:var(--surface);
  color:var(--lime);
}
.docs-nav a[aria-current=page] {
  background:var(--lime);
  color:var(--forest);
  font-weight:650;
}
.nav-square {
  width:5px;
  height:5px;
  border:1px solid currentColor;
  flex-shrink:0;
}
.sidebar-version {
  border-top:1px solid var(--line);
  margin-top:28px;
  padding:20px 10px;
  color:var(--muted);
  font:11px/1.7 var(--mono);
}
#search-status {
  font-size:12px;
  color:var(--lime);
  padding:6px 2px 0;
}
.docs-mobile-nav {
  display:none;
}
.docs-canvas {
  background:var(--paper);
  color:var(--dark-ink);
  color-scheme:light;
  padding:36px 42px 64px;
  min-width:0;
}
.docs-canvas :focus-visible {
  outline-color:#527c25;
}
.article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 140px;
  gap:40px;
  max-width:1050px;
  margin:auto;
}
.breadcrumb {
  color:#667269;
  font-size:12px;
  margin-bottom:28px;
}
.breadcrumb a:hover {
  text-decoration:underline;
}
.doc-article {
  min-width:0;
  max-width:800px;
}
.doc-title-row {
  display:flex;
  gap:24px;
  align-items:center;
  margin-bottom:22px;
}
.doc-title-row .feature-art {
  width:90px;
  height:90px;
  background:#e3e7df;
  border:1px solid #d0d7cb;
  flex-shrink:0;
}
.doc-title-row .feature-art svg {
  width:68px;
  height:68px;
}
.doc-title-row h1 {
  font-size:44px;
  letter-spacing:-.045em;
}
.doc-subtitle {
  margin-top:12px;
  font-size:18px;
  color:#56635a;
}
.doc-facts {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  font-size:12px;
  color:#58665c;
  margin-block:24px 12px;
}
.doc-facts span+span {
  border-left:1px solid #c8d1c5;
  padding-left:20px;
}
.doc-article section {
  margin-top:42px;
  scroll-margin-top:100px;
}
.doc-article h2 {
  font-size:27px;
  margin-bottom:18px;
}
.doc-article h3 {
  font-size:18px;
  margin:22px 0 12px;
}
.doc-article p,.doc-article li {
  color:#435047;
  font-size:15px;
  line-height:1.95;
  overflow-wrap:anywhere;
}
.doc-article p code,.doc-article li code {
  background:#e7ebdf;
  color:#233c29;
  padding:2px 5px;
  border-radius:2px;
}
.doc-article .text-link {
  color:#416721;
  font-weight:600;
}
.doc-article ul,.doc-article ol {
  padding-left:22px;
  margin:14px 0;
}
.doc-article li {
  padding-left:6px;
  margin-block:12px;
}
.doc-article li::marker {
  color:#527e2c;
  font-weight:700;
}
.doc-article pre {
  background:#18261e;
  color:#e8eddb;
  padding:22px;
  overflow-x:auto;
  border-radius:3px;
  font:12px/1.8 var(--mono);
  white-space:pre;
  max-width:100%;
  tab-size:2;
}
.doc-article pre code {
  font:inherit;
  overflow-wrap:normal;
}
.doc-article .code-block {
  position:relative;
  margin-block:20px;
}
.code-block .copy-button {
  position:absolute;
  right:8px;
  top:8px;
  background:#18261e;
  color:#e8eddb;
  font-size:11px;
}
.code-block pre {
  padding-top:50px;
}
.doc-article .callout {
  padding:16px 20px;
  margin:22px 0;
  background:#e9eedd;
  border-left:3px solid #76a545;
  font-size:14px;
  color:#36482d;
}
.article-toc {
  position:sticky;
  top:114px;
  align-self:start;
  border-left:1px solid #ccd4c5;
  padding-left:20px;
  font-size:12px;
}
.article-toc strong {
  display:block;
  margin-bottom:16px;
  font-size:13px;
}
.article-toc a {
  display:block;
  color:#617060;
  line-height:1.5;
  padding-block:7px;
}
.article-toc a:hover,.article-toc a[aria-current=location] {
  color:#436c1f;
  font-weight:700;
}
.recipe {
  margin:24px 0;
  border:1px solid #bdc7b8;
  border-radius:3px;
  overflow:hidden;
  background:#e6e8e0;
}
.recipe figcaption {
  font-size:13px;
  padding:12px 18px;
  font-weight:600;
  border-bottom:1px solid #cad0c3;
}
.crafting-workspace {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:24px;
}
.crafting-grid {
  display:grid;
  grid-template-columns:repeat(3,68px);
  gap:4px;
}
.crafting-slot {
  width:68px;
  height:68px;
  background:#c6cbbf;
  box-shadow:inset 2px 2px #8e9689,inset -2px -2px #f8f9f3;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:3px;
  padding:5px;
}
.crafting-slot .item-icon {
  width:32px;
  height:32px;
  image-rendering:pixelated;
}
.crafting-slot span {
  font-size:10px;
  line-height:1.2;
  color:#2b342b;
}
.crafting-slot.empty {
  background:#b5bbae;
}
.crafting-arrow {
  color:#70806b;
  width:28px;
  height:28px;
}
.crafting-result {
  text-align:center;
  max-width:110px;
}
.crafting-result .feature-art {
  width:84px;
  height:84px;
  margin:auto;
  background:#c6cbbf;
  box-shadow:inset 2px 2px #8e9689,inset -2px -2px #f8f9f3;
}
.crafting-result p {
  font-size:12px!important;
  margin-top:10px;
  line-height:1.5!important;
}
.recipe .materials {
  padding:12px 18px;
  background:#f0f2e9;
  font-size:12px;
  line-height:1.8;
  margin:0;
  border-top:1px solid #ccd3c5;
}
.doc-table-wrap {
  overflow-x:auto;
}
.doc-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  margin-block:16px;
}
.doc-table th {
  text-align:left;
  background:#e7ebdf;
  font-weight:600;
  padding:12px;
  border-bottom:1px solid #c8d1c1;
}
.doc-table td {
  padding:13px 12px;
  border-bottom:1px solid #d8dfcf;
  line-height:1.7;
  vertical-align:top;
  overflow-wrap:anywhere;
}
.doc-table td:first-child {
  min-width:140px;
}
.doc-table code {
  font-size:11px;
}
.doc-overview-list {
  margin-top:30px;
  border-top:1px solid #c8d1c1;
}
.doc-overview-link {
  display:grid;
  grid-template-columns:50px 1fr 20px;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid #c8d1c1;
  align-items:center;
}
.doc-overview-link .feature-art {
  width:48px;
  height:48px;
}
.doc-overview-link .feature-art svg,.doc-overview-link .feature-art img {
  width:44px;
  height:44px;
}
.doc-overview-link h3 {
  margin:0;
  font-size:19px;
}
.doc-overview-link p {
  font-size:13px;
  margin-top:6px;
}
.doc-overview-link:hover {
  background:#edf0e4;
}
.doc-pager {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #c8d1c1;
  margin-top:54px;
  padding-top:24px;
  font-size:13px;
  color:#416721;
}
.doc-pager a {
  display:flex;
  align-items:center;
  gap:8px;
}
.docs-page .site-footer {
  border-top:1px solid var(--line);
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translate(-50%,20px);
  padding:12px 22px;
  background:var(--lime);
  color:var(--forest);
  font-size:14px;
  box-shadow:0 4px 24px #0003;
  border-radius:3px;
  z-index:80;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  width:max-content;
  max-width:calc(100% - 40px);
  text-align:center;
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}
.not-found {
  min-height:65vh;
  text-align:center;
  padding-block:100px;
}
.not-found p {
  margin:24px 0;
  color:var(--muted);
}
@media(min-width:1600px) {
  .hero-art {
    right:calc((100vw - 1600px)/2);
    mask-image:linear-gradient(to right,transparent,#000 8%,#000 95%,transparent);
  }
  .hero-inner {
    min-height:730px;
  }
}
@media(max-width:1200px) {
  .container,.header-inner {
    width:calc(100% - 80px);
  }
  .hero-copy {
    width:500px;
  }
  .hero h1 {
    font-size:76px;
  }
  .hero-description {
    font-size:16px;
    max-width:450px;
  }
  .hero-art {
    object-position:65% center;
  }
  .feature-list {
    column-gap:28px;
  }
  .feature-link {
    gap:12px;
    grid-template-columns:60px 24px 1fr 20px;
  }
  .feature-art {
    width:60px;
    height:60px;
  }
  .feature-link h3 {
    font-size:21px;
  }
  .adventure-inner {
    gap:32px;
  }
  .adventure h2 {
    font-size:26px;
  }
  .adventure .button {
    padding:14px 18px;
    font-size:14px;
  }
  .docs-layout {
    grid-template-columns:226px minmax(0,1fr);
  }
  .docs-canvas {
    padding:32px;
  }
  .article-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .article-toc {
    display:none;
  }
  .doc-title-row h1 {
    font-size:40px;
  }
}
@media(max-width:900px) {
  .container,.header-inner {
    width:calc(100% - 48px);
  }
  .header-inner .brand {
    font-size:22px;
  }
  .primary-nav {
    gap:28px;
  }
  .hero-inner {
    min-height:640px;
  }
  .hero h1 {
    font-size:70px;
  }
  .hero-art {
    opacity:.75;
    object-position:55% center;
  }
  .hero-description {
    max-width:380px;
  }
  .hero-copy {
    width:460px;
  }
  .hero-meta {
    max-width:330px;
    line-height:2;
  }
  .feature-link {
    grid-template-columns:52px 1fr 20px;
    column-gap:16px;
  }
  .feature-number {
    display:none;
  }
  .feature-link h3 {
    font-size:20px;
  }
  .feature-link p {
    font-size:13px;
  }
  .feature-art svg {
    width:52px;
    height:52px;
  }
  .adventure-inner {
    display:block;
  }
  .adventure .actions {
    margin-top:26px;
  }
  .footer-inner>p {
    border:0;
    padding:0;
    width:100%;
  }
  .footer-inner {
    gap:20px;
  }
  .download-main {
    padding-top:40px;
  }
  .page-intro h1 {
    font-size:38px;
  }
  .download-banner {
    padding:24px;
  }
  .download-banner .button {
    padding:14px 18px;
    font-size:14px;
  }
  .docs-layout {
    grid-template-columns:208px minmax(0,1fr);
  }
  .docs-sidebar {
    padding:28px 14px;
  }
  .docs-canvas {
    padding:28px 24px;
  }
  .doc-title-row {
    gap:18px;
  }
  .doc-title-row .feature-art {
    width:68px;
    height:68px;
  }
  .doc-title-row h1 {
    font-size:32px;
  }
  .doc-subtitle {
    font-size:15px;
  }
  .crafting-workspace {
    gap:14px;
    padding:18px 12px;
  }
  .crafting-grid {
    grid-template-columns:repeat(3,55px);
  }
  .crafting-slot {
    width:55px;
    height:57px;
  }
  .crafting-result .feature-art {
    width:66px;
    height:66px;
  }
  .crafting-result .feature-art svg,.crafting-result .feature-art img {
    width:50px;
    height:50px;
  }
  .crafting-arrow {
    width:22px;
  }
}
@media(max-width:680px) {
  html {
    scroll-padding-top:84px;
  }
  .container,.header-inner {
    width:calc(100% - 40px);
  }
  .site-header {
    height:64px;
  }
  .primary-nav,.github-link {
    display:none;
  }
  .menu-toggle {
    display:flex;
  }
  .brand {
    font-size:22px;
  }
  .brand img {
    width:28px;
    height:32px;
  }
  .hero-inner {
    min-height:unset;
    padding-top:42px;
    padding-bottom:0;
    display:block;
  }
  .hero h1 {
    font-size:58px;
    line-height:1.09;
    letter-spacing:-.04em;
  }
  .hero-copy {
    width:100%;
  }
  .hero-description {
    margin-top:22px;
    font-size:15px;
    max-width:350px;
  }
  .desktop-break {
    display:none;
  }
  .hero .actions {
    gap:12px;
    margin-top:24px;
  }
  .button {
    min-height:50px;
    font-size:14px;
    padding:13px 18px;
  }
  .hero-meta {
    font-size:10px;
    max-width:none;
    margin-top:23px;
  }
  .hero-meta span {
    padding-inline:3px;
  }
  .hero {
    padding-bottom:300px;
  }
  .hero-art {
    top:auto;
    bottom:0;
    height:300px;
    width:500px;
    right:-28px;
    object-fit:cover;
    object-position:100% center;
    opacity:1;
    mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 88%,transparent);
  }
  .world-facts .container {
    width:100%;
    padding-block:18px;
  }
  .world-facts p {
    gap:9px;
    font-size:12px;
  }
  .world-facts b {
    font-size:14px;
  }
  .world-facts span {
    padding-left:9px;
  }
  .features {
    padding-block:52px;
  }
  .features h2 {
    font-size:29px;
    line-height:1.45;
  }
  .features h2 span {
    display:block;
  }
  .section-lead {
    font-size:14px;
    margin-top:14px;
  }
  .feature-list {
    grid-template-columns:1fr;
    margin-top:30px;
  }
  .feature-link {
    min-height:132px;
    padding:24px 0;
    grid-template-columns:56px 1fr 20px;
    gap:16px;
  }
  .feature-link h3 {
    font-size:22px;
  }
  .feature-link p {
    font-size:14px;
  }
  .adventure {
    padding-block:38px;
  }
  .adventure h2 {
    font-size:28px;
    line-height:1.5;
  }
  .adventure h2 span {
    display:block;
  }
  .adventure p {
    font-size:14px;
    margin-top:12px;
  }
  .footer-inner {
    display:block;
  }
  .footer-inner nav {
    margin:20px 0 16px;
    gap:24px;
  }
  .footer-inner>p {
    font-size:10px;
  }
  .download-main {
    padding-block:38px 50px;
  }
  .page-intro {
    text-align:left;
    margin-bottom:28px;
  }
  .page-intro h1 {
    font-size:34px;
    line-height:1.4;
  }
  .release-line {
    font-size:13px;
    margin-top:16px;
  }
  .page-intro .lede {
    font-size:14px;
  }
  .download-banner {
    display:block;
    padding:22px;
    margin-bottom:30px;
  }
  .download-banner h2 {
    font-size:25px;
  }
  .download-banner p {
    font-size:13px;
  }
  .download-banner .button {
    margin-top:22px;
    width:100%;
  }
  .download-heading {
    font-size:25px;
  }
  .download-table {
    display:block;
    border:0;
  }
  .download-table thead {
    display:none;
  }
  .download-table tbody {
    display:block;
  }
  .download-table tr {
    display:grid;
    grid-template-columns:1fr auto;
    border-top:1px solid var(--line);
    padding:16px 0;
    gap:8px;
  }
  .download-table tr:last-child {
    border-bottom:1px solid var(--line);
  }
  .download-table td {
    display:block;
    padding:0;
    border:0;
  }
  .download-table td:first-child {
    grid-column:1;
    grid-row:1;
    font-weight:650;
    font-size:15px;
  }
  .file-description {
    display:inline;
    font-size:10px;
    margin-left:6px;
    font-weight:400;
  }
  .download-table td:nth-child(2) {
    grid-column:1;
    grid-row:2;
    min-width:0;
  }
  .download-table td:nth-child(3) {
    grid-column:1;
    grid-row:3;
    font-size:11px;
  }
  .download-table td:last-child {
    grid-column:2;
    grid-row:1/4;
    align-self:center;
  }
  .download-action {
    min-width:44px;
    min-height:44px;
    border:1px solid var(--line);
  }
  .file-name {
    font-size:11px;
  }
  .checksum-links {
    grid-template-columns:1fr;
    gap:12px;
  }
  .checksum-link {
    padding:18px;
  }
  .hash-box {
    padding:18px;
    gap:12px;
  }
  .hash-box>span {
    width:100%;
  }
  .hash-box code {
    font-size:11px;
    line-height:1.7;
  }
  .hash-box .copy-button {
    padding:8px;
  }
  .guidance-grid {
    grid-template-columns:1fr;
    gap:28px;
  }
  .download-guidance {
    margin-top:32px;
  }
  .command-line {
    gap:8px;
    padding:12px;
  }
  .command-line code {
    font-size:11px;
  }
  .command-line .copy-button {
    font-size:11px;
    padding:7px;
  }
  .docs-layout {
    display:block;
  }
  .docs-sidebar {
    display:none;
  }
  .docs-mobile-nav {
    display:block;
    position:relative;
    background:var(--forest);
    padding:0 20px;
    border-bottom:1px solid var(--line);
  }
  .docs-mobile-nav>summary {
    list-style:none;
    padding:14px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
    cursor:pointer;
  }
  .docs-mobile-nav>summary::-webkit-details-marker {
    display:none;
  }
  .docs-mobile-nav[open]>summary .icon {
    transform:rotate(180deg);
  }
  .docs-mobile-nav .sidebar-content {
    padding:10px 0 22px;
  }
  .docs-mobile-nav .docs-nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 12px;
  }
  .docs-mobile-nav .sidebar-group {
    grid-column:1/-1;
  }
  .docs-mobile-nav .sidebar-version {
    display:none;
  }
  .docs-canvas {
    padding:26px 20px 44px;
  }
  .breadcrumb {
    margin-bottom:24px;
    font-size:11px;
  }
  .doc-title-row {
    gap:18px;
    align-items:center;
  }
  .doc-title-row h1 {
    font-size:31px;
  }
  .doc-title-row .feature-art {
    width:65px;
    height:65px;
  }
  .doc-title-row .feature-art svg,.doc-title-row .feature-art img {
    width:50px;
    height:50px;
  }
  .doc-subtitle {
    font-size:14px;
    margin-top:9px;
  }
  .doc-facts {
    gap:12px;
    font-size:11px;
    margin:22px 0;
  }
  .doc-facts span+span {
    padding-left:12px;
  }
  .doc-article h1 {
    font-size:34px;
  }
  .doc-title-row h1 {
    font-size:31px;
  }
  .doc-article h2 {
    font-size:25px;
  }
  .doc-article section {
    margin-top:34px;
  }
  .doc-article p,.doc-article li {
    font-size:14px;
  }
  .doc-article pre {
    font-size:11px;
    padding-inline:16px;
  }
  .crafting-workspace {
    gap:14px;
    padding:20px 10px;
  }
  .crafting-grid {
    grid-template-columns:repeat(3,55px);
  }
  .crafting-slot {
    width:55px;
    height:58px;
  }
  .crafting-slot .item-icon {
    width:29px;
    height:29px;
  }
  .crafting-result {
    max-width:82px;
  }
  .crafting-result .feature-art {
    width:65px;
    height:65px;
  }
  .recipe {
    margin-inline:0;
  }
  .recipe figcaption,.recipe .materials {
    padding:12px 14px;
  }
  .recipe .materials {
    font-size:11px;
  }
  .doc-table {
    font-size:11px;
  }
  .doc-table th,.doc-table td {
    padding:10px 7px;
  }
  .doc-table td:first-child {
    min-width:100px;
  }
  .doc-table code {
    font-size:10px;
  }
  .doc-overview-link {
    gap:16px;
  }
  .article-layout {
    display:block;
  }
  .doc-pager {
    font-size:12px;
  }
  .toast {
    font-size:12px;
  }
  .docs-page .site-footer {
    padding:26px 0;
  }
}
@media(max-width:360px) {
  .hero h1 {
    font-size:52px;
  }
  .hero .button {
    font-size:12px;
    padding:12px 14px;
  }
  .crafting-workspace {
    gap:10px;
  }
  .crafting-grid {
    grid-template-columns:repeat(3,48px);
  }
  .crafting-slot {
    width:48px;
    height:54px;
  }
  .crafting-result .feature-art {
    width:58px;
    height:58px;
  }
  .doc-facts {
    gap:8px;
    font-size:10px;
  }
  .doc-facts span+span {
    padding-left:8px;
  }
}
.crafting-grid>[role=row] {
  display:contents;
}
.handbook-nav {
  padding:36px 22px;
  border-right:1px solid var(--line);
  position:sticky;
  top:76px;
  height:calc(100vh - 76px);
  overflow:auto;
  align-self:start;
}
.handbook-nav>summary {
  display:none;
}
@media(max-width:900px) {
  .handbook-nav {
    padding:28px 14px;
  }
  .hero-art {
    opacity:1;
  }
}
@media(max-width:680px) {
  .handbook-nav {
    padding:0 20px;
    position:static;
    height:auto;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .handbook-nav>summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:14px;
    padding:14px 0;
    cursor:pointer;
    list-style:none;
  }
  .handbook-nav>summary::-webkit-details-marker {
    display:none;
  }
  .handbook-nav[open]>summary .icon {
    transform:rotate(180deg);
  }
  .handbook-nav .sidebar-content {
    padding:8px 0 20px;
  }
  .handbook-nav .sidebar-heading,.handbook-nav .sidebar-version {
    display:none;
  }
  .handbook-nav .docs-nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 12px;
  }
  .handbook-nav .sidebar-group {
    grid-column:1/-1;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}
