:root {
  color-scheme: dark;
  --background: #181a1b;
  --surface: #25302c;
  --surface-hover: #304037;
  --ink: #d8d6d1;
  --muted: #b1b0a7;
  --accent: #9dd4be;
  --accent-hover: #c4efd7;
  --line: #394440;
  --primary: #286650;
  --primary-hover: #337b60;
  --code: #333936;
  --focus: #edc67b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--ink); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
.layout { display: grid; grid-template-columns: 310px minmax(0, 730px); gap: 72px; max-width: 1208px; margin: 0 auto; padding: 72px 48px 40px; }
.sidebar { top: 56px; align-self: start; }
@media (min-width: 701px) {
  .sidebar.fits-viewport { position: sticky; }
}
.brand { display: block; color: var(--ink); text-decoration: none; font-size: 36px; font-weight: 700; line-height: 1.15; letter-spacing: -1.3px; }
.brand span { display: block; font-weight: 400; }
.tagline { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 22px 0 28px; }
.downloads { display: grid; gap: 20px; margin-bottom: 34px; }
.download-card { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.download-card .button { border: 0; border-bottom: 1px solid var(--line); border-radius: 5px 5px 0 0; }
.download-info { padding: 14px 16px 16px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 5px; padding: 12px 16px; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.6; }
.button:hover { background: var(--surface-hover); }
.artifact-size { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.download-info .mirror { display: inline-block; margin-top: 10px; font-size: 14px; }
.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.primary:hover { background: var(--primary-hover); color: #fff; }
.download-note { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.artifact-meta { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.artifact-meta a { font-size: 14px; font-weight: 600; text-decoration: none; }
.artifact-meta a:hover { text-decoration: underline; }
.artifact-meta time { font-variant-numeric: tabular-nums; }
.mirror { font-size: 14px; }
nav { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.source-link { display: inline-block; color: var(--muted); font-size: 14px; margin-top: 30px; }
.optional-voices { border-left: 3px solid #d18a39; padding-left: 13px; }
.optional-title { font-weight: 600; font-size: 16px; margin: 0 0 6px; }
.optional-voices .mirror { font-size: 15px; }
.curseforge-links { display: grid; gap: 6px; }
.voice-feature { border: 0; padding: 0; margin: 32px 0; }
.voice-feature p:last-child { margin-bottom: 0; }
.preview-banner { padding: 12px 24px; text-align: center; background: #342d20; color: #edcb85; font-size: 14px; }
.release-banner { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 28px; max-width: 1112px; margin: 32px auto 0; padding: 28px 32px; border: 1px solid #404040; border-top: 3px solid #f16436; border-radius: 3px; background: #242424; }
.release-brand-mark { display: grid; place-items: center; justify-self: center; width: 80px; height: 80px; background: #f16436; color: #fff; border-radius: 2px; }
.release-brand-mark svg { display: block; width: 64px; height: 64px; }
.release-banner-copy { min-width: 0; }
.release-banner .release-label { margin: 0 0 8px; color: #ff875c; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.release-banner h2 { margin: 0 0 12px; color: #fff; font-size: clamp(23px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.6px; text-wrap: balance; }
.release-banner-copy > p:last-child { margin: 0; color: #bdbdbd; font-size: 15px; line-height: 1.65; }
.release-banner-copy strong { color: #eee; }
.curseforge-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 14px 18px; border-radius: 2px; background: #f16436; border-color: #f16436; color: #111; font-size: 17px; font-weight: 600; line-height: 24px; letter-spacing: normal; text-align: center; }
/* Segoe UI's visible letters sit below the centre of its line box. */
.curseforge-button-label { transform: translateY(-1px); }
.curseforge-button svg { display: block; flex: 0 0 18px; }
.curseforge-button:hover { background: #ff8054; border-color: #ff8054; color: #171717; }
.vote-invite { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 28px; max-width: 1112px; margin: 16px auto 0; padding: 22px 32px; border: 1px solid #44413a; border-radius: 3px; background: #222322; }
.vote-invite-art { display: block; width: 110px; height: 100px; object-fit: contain; border-radius: 0; }
.vote-invite-copy { min-width: 0; }
.vote-invite h2 { margin: 0 0 8px; color: #e7d7b7; font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.vote-invite p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.vote-invite-button { flex: 0 0 auto; justify-content: center; gap: 12px; color: #e7d7b7; border-color: #817052; background: transparent; }
.vote-invite-button:hover { color: #f4e5c6; border-color: #b49a6d; background: #343128; }
.release-banner + .layout, .vote-invite + .layout { padding-top: 40px; }
@media (max-width: 1208px) {
  .release-banner, .vote-invite { margin-left: 48px; margin-right: 48px; }
}
@media (max-width: 900px) {
  .release-banner { grid-template-columns: 90px minmax(0, 1fr); gap: 20px; margin-left: 28px; margin-right: 28px; padding: 24px; }
  .release-brand-mark { width: 64px; height: 64px; }
  .release-brand-mark svg { width: 52px; height: 52px; }
  .curseforge-button { grid-column: 2; justify-self: start; }
  .vote-invite { grid-template-columns: 90px minmax(0, 1fr); column-gap: 20px; margin-left: 28px; margin-right: 28px; padding: 22px 24px; }
  .vote-invite-art { width: 90px; height: 90px; }
  .vote-invite-button { grid-column: 2; justify-self: start; }
}
@media (max-width: 700px) {
  .release-banner { grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 20px 16px; margin: 22px 22px 0; padding: 22px 20px; }
  .release-brand-mark { width: 48px; height: 48px; }
  .release-brand-mark svg { width: 40px; height: 40px; }
  .release-banner h2 { font-size: 23px; }
  .curseforge-button { grid-column: 1 / -1; width: 100%; }
  .vote-invite { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; margin: 14px 22px 0; padding: 22px 20px; }
  .vote-invite-art { width: 72px; height: 80px; }
  .vote-invite-copy { display: contents; }
  .vote-invite h2 { font-size: 21px; }
  .vote-invite p, .vote-invite-button { grid-column: 1 / -1; }
  .vote-invite-button { justify-self: stretch; }
  .release-banner + .layout, .vote-invite + .layout { padding-top: 32px; }
}
main { min-width: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 600; letter-spacing: -.5px; }
h1 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 22px; }
h2 { font-size: 24px; margin: 0 0 18px; }
h3 { font-size: 19px; margin-top: 30px; }
p { margin: 0 0 18px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 13px; }
.screenshots { margin: 28px 0 38px; }
img { display: block; max-width: 100%; height: auto; border-radius: 5px; }
.screenshots p { margin: 14px 0; }
section { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 32px; }
section[aria-labelledby="whats-new"] details { border: 1px solid var(--line); border-radius: 6px; margin-top: 12px; }
section[aria-labelledby="whats-new"] summary { padding: 14px 18px; cursor: pointer; background: var(--surface); border-radius: 5px; }
section[aria-labelledby="whats-new"] summary:hover { background: var(--surface-hover); }
section[aria-labelledby="whats-new"] summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
section[aria-labelledby="whats-new"] details[open] summary { border-bottom: 1px solid var(--line); border-radius: 5px 5px 0 0; }
section[aria-labelledby="whats-new"] details > ul { margin: 20px 18px 20px 22px; }
.queue-feature { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 28px; align-items: start; }
.queue-feature .feature-image { margin: 0; }
@media (max-width: 1100px) {
  .queue-feature { display: block; }
  .queue-feature .feature-image { margin-top: 22px; }
}
ol, ul { padding-left: 23px; margin: 0 0 20px; }
li { padding-left: 4px; margin-bottom: 12px; }
li > p { margin-bottom: 8px; }
strong { font-weight: 600; }
code { font: .85em/1.65 ui-monospace, Consolas, monospace; background: var(--code); padding: 2px 5px; border-radius: 3px; overflow-wrap: anywhere; }
pre { background: var(--code); border: 1px solid var(--line); border-radius: 5px; padding: 16px; overflow-x: auto; }
pre code { padding: 0; overflow-wrap: normal; }
blockquote { margin: 20px 0; padding-left: 18px; border-left: 3px solid var(--line); color: var(--muted); }
.installation-notice { border-color: #d18a39; border-radius: 0 5px 5px 0; background: #2b281f; padding: 16px 20px; color: var(--ink); }
.installation-notice > p:first-child { color: #edcb85; margin-bottom: 8px; }
.installation-notice > p:last-child { margin-bottom: 0; }
section[aria-labelledby="whats-new"] details > .installation-notice { margin: 20px 18px; }
table { display: block; overflow-x: auto; border-collapse: collapse; margin-bottom: 24px; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
footer { display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--surface); padding: 10px; z-index: 2; }
.skip-link:focus { top: 12px; }
@media (max-width: 900px) {
  .layout { gap: 32px; grid-template-columns: 270px minmax(0, 1fr); padding: 48px 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .layout { display: block; padding: 32px 22px; }
  .sidebar { position: static; margin-bottom: 36px; }
  .brand { font-size: 30px; }
  .brand span { display: inline; margin-left: 7px; }
  .tagline { margin: 14px 0 22px; }
  .downloads { margin-bottom: 22px; }
  nav { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 20px; }
  .source-link { margin-top: 16px; }
  h1 { font-size: 29px; }
  h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
