@font-face{font-family:Nunito;src:url('assets/fonts/font-1.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/fonts/font-3.ttf') format('truetype');font-style:normal;font-weight:700 900;font-display:swap}
@font-face{font-family:Russo;src:url('assets/fonts/font-6.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:light;--ink:#233d36;--cream:#fff9e6;--edge:#132b24}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#263e34;color:var(--ink);font-family:Nunito,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #fff4be;outline-offset:6px}.skip-link{position:absolute;z-index:20;left:24px;top:16px;padding:12px 18px;background:var(--cream);transform:translateY(-180%)}.skip-link:focus{transform:none}
/* Opening scene */
.hero {
  --hero-surface:#192d25;
  --hero-accent:#c7dfa0;
  --hero-text:#f7f4e3;
  background:linear-gradient(180deg,#162820 48%,#20372c 100%);
  color:var(--hero-text);
  border-bottom:0;
}

.masthead,.hero-layout {
  width:min(1320px,calc(100% - clamp(40px,9vw,144px)));
  margin-inline:auto;
}

.masthead {
  min-height:76px;
  display:flex;
  align-items:center;
  gap:clamp(16px,3vw,42px);
  border-bottom:1px solid #f7f4e322;
}

.brand {
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
  width:auto;
  height:76px;
  gap:11px;
  color:var(--hero-text);
  text-decoration:none;
  font:30px/1 Russo,Arial,sans-serif;
  letter-spacing:-.04em;
}

.brand-mark {display:block;width:44px;height:44px;object-fit:contain}
.portal-mark {width:22px;height:25px;color:var(--hero-accent)}
.main-nav {display:flex;align-items:center;gap:28px;margin-left:auto}
.main-nav a {font-size:13px;font-weight:800;text-decoration:none;color:var(--hero-text)}
.main-nav a:hover {text-decoration:underline;text-underline-offset:5px}
.edition {flex-shrink:0;font-size:12px;color:#c2d0bd}

.hero-layout {
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  align-items:center;
  column-gap:clamp(26px,4.8vw,76px);
  row-gap:32px;
  padding-block:clamp(38px,6.4vh,82px) clamp(44px,7vh,90px);
}

.hero-content {min-width:0;padding-bottom:14px}
.hero-content h1 {
  font:400 clamp(42px,5.25vw,82px)/1.035 Russo,Arial,sans-serif;
  letter-spacing:-.045em;
  margin:0 0 24px;
}

.hero-content h1 span {color:var(--hero-accent)}
.hero-description {
  max-width:34ch;
  margin:0;
  color:#d5e0d0;
  font-size:clamp(16px,1.45vw,20px);
  line-height:1.55;
}

.hero-actions {min-width:0;margin-top:29px}
/* Minecraft-style download controls. Unreleased ones are disabled buttons; a released one is a link (a.download-button). */
.download-buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;width:100%;max-width:720px;margin-inline:auto}
.download-button {
  --button-face:#87917e;
  --button-light:#b6beaa;
  --button-shade:#535f4a;
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-width:0;min-height:70px;padding:13px 16px;
  border:2px solid #142219;border-radius:0;background:var(--button-face);
  box-shadow:inset 3px 3px 0 var(--button-light),inset -3px -3px 0 var(--button-shade),0 4px 0 #0c1912;
  color:#15231a;text-align:center;opacity:1;cursor:default;
  -webkit-text-fill-color:currentColor;
  transition:transform 160ms ease-out,filter 160ms ease-out,box-shadow 160ms ease-out;
}
a.download-button {text-decoration:none;cursor:pointer}
a.download-button:focus-visible {outline:3px solid #e4cb76;outline-offset:3px}
.download-modrinth {--button-face:#a9c587;--button-light:#d1e3b5;--button-shade:#71894e}
.download-logo {display:block;width:28px;height:28px;object-fit:contain;flex-shrink:0}
.download-server {grid-column:1 / -1;--button-face:#a0b8ad;--button-light:#c5d6c9;--button-shade:#6b8475}
.download-server .server-logo {width:32px;height:32px}
.server-address {font-weight:800}
.download-button-copy {display:grid;justify-items:center;gap:6px;min-width:0}
.download-platform {font:400 15px/1.1 Russo,Arial,sans-serif}
.download-status {font:700 11px/1.1 Nunito,Arial,sans-serif;letter-spacing:.02em}
.hero-actions .download-buttons {max-width:440px;grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:0}
.hero-actions .download-server {grid-column:1 / -1}

.hero-showcase {
  min-width:0;
  border:1px solid #71836a;
  background:var(--hero-surface);
  box-shadow:6px 6px 0 #0f1d17;
}

.hero-media {position:relative;aspect-ratio:16 / 9;background:#0d1813}
.hero-media video {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:contain;
}

.hero-examples {border-top:1px solid #71836a}
.hero-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:1px solid #f7f4e324;
}

.hero-tab {
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  gap:9px;
  min-height:46px;
  padding:7px 9px;
  border:0;
  border-bottom:2px solid transparent;
  background:#14261e;
  color:#c6d2c1;
  font-size:14px;
  font-weight:800;
}

.hero-tab + .hero-tab {border-left:1px solid #f7f4e324}
.hero-tab img,.hero-slot img {object-fit:contain;image-rendering:pixelated;flex-shrink:0}
.hero-tab:hover {background:#233a2d;color:var(--hero-text)}
.hero-tab[aria-selected="true"] {border-bottom-color:var(--hero-accent);background:#233a2d;color:var(--hero-text)}
.hero-tab:focus-visible,.hero-panel:focus-visible {outline-offset:-4px}
.hero-panel {min-height:101px;padding:12px 17px}
.hero-wish-example {
  display:grid;
  align-items:center;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(10px,1.2vw,17px);
}

.hero-wish-copy {display:grid;gap:3px;min-width:0}
.hero-wish-copy q {color:#e1e9d9;font-size:16px;line-height:1.45}
.hero-wish-results {display:grid;grid-template-columns:1fr 1fr;gap:12px;width:174px}
.hero-wish-results .hero-ingredient {font-size:11px}
.hero-wish-results .hero-result-slot {width:59px;height:59px}
.hero-wish-results img {width:49px;height:49px}
.hero-recipe-symbol {color:var(--hero-accent);font-size:20px}
.hero-recipe {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:9px;
}

.hero-ingredient {
  display:grid;
  justify-items:center;
  gap:5px;
  color:#e1e9d9;
  font-size:12px;
  line-height:1.2;
  text-align:center;
}

.hero-slot {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  background:#112219;
  border:2px solid #74846b;
  box-shadow:inset 2px 2px #07140e,inset -2px -2px #293d30;
}
.hero-recipe-result {color:var(--hero-accent)}
.hero-recipe-result .hero-slot {border-color:#b4ce90;background:#263d2f}

@media(max-width:850px) {
  .masthead {min-height:64px}
  .hero-layout {grid-template-columns:1fr;max-width:620px;gap:28px;padding-block:34px 42px}
  .hero-content {padding-bottom:0}
  .hero-content h1 {font-size:clamp(42px,9.5vw,66px);margin-bottom:14px}
  .hero-showcase {box-shadow:4px 4px 0 #0f1d17}
}

@media(max-width:1050px) {
  .masthead .edition {display:none}
}

@media(max-width:600px) {
  .masthead {min-height:68px;justify-content:space-between}
  .brand {max-width:100%;height:68px;font-size:27px;gap:7px}
  .portal-mark {width:18px;height:20px}
  .edition {font-size:11px}
  .hero-layout {padding-block:29px 34px;gap:24px}
  .hero-description {font-size:16px;line-height:1.5}
  .hero-tab {font-size:13px;min-height:43px}
  .hero-tab img {width:19px;height:19px}
  .hero-panel {padding:11px 12px;min-height:91px}
  .hero-wish-copy q {font-size:13px}
  .hero-wish-example {gap:9px}
  .hero-wish-results {width:128px;gap:7px}
  .hero-wish-results .hero-ingredient {font-size:10px}
  .hero-wish-results .hero-result-slot {width:49px;height:49px}
  .hero-wish-results img {width:41px;height:41px}
  .hero-ingredient {font-size:11px}
  .hero-recipe {gap:5px}
}

@media(max-width:360px) {
  .hero-tab {white-space:nowrap;font-size:12px;padding-inline:5px;gap:6px}
  .hero-tab img {width:17px;height:17px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

[hidden]{display:none!important}
.site-footer{background:#233d36;color:#d7deca;padding:35px max(4.2vw,24px) 29px}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-bottom:25px;border-bottom:1px solid #fff3}.footer-brand{font:19px/1.2 Russo,sans-serif;letter-spacing:-.6px;text-decoration:none}.site-footer nav{display:flex;gap:30px;font-size:11px}.site-footer nav a{text-decoration:none}.site-footer nav a:hover{text-decoration:underline;text-underline-offset:4px}.footer-bottom{display:flex;justify-content:space-between;gap:30px;padding-top:20px}.footer-bottom p{margin:0;font-size:9px;line-height:1.9;color:#a1b39f}.footer-bottom p:last-child{text-align:right}
.loop-toggle{position:absolute;bottom:18px;right:18px;display:flex;gap:8px;align-items:center;border:1px solid #f0e9d05c;background:#182d24df;color:#fff7e1;font:inherit;font-size:13px;padding:10px 14px;cursor:pointer;backdrop-filter:blur(8px)}
.loop-toggle:hover{background:#182d24}.loop-toggle:focus-visible{outline:3px solid #e4cb76;outline-offset:3px}
@media(max-width:700px){.loop-toggle{bottom:8px;right:8px;font-size:11px;padding:7px 9px}}
@media(max-width:1100px){.main-nav{gap:18px}.main-nav a{font-size:12px}}
@media(max-width:760px){.main-nav{display:none}.site-footer{padding:29px 23px 25px}.footer-top{gap:20px}.site-footer nav{gap:17px;font-size:10px}.footer-bottom{gap:20px}.footer-bottom p{font-size:8px}}
@media(max-width:380px){.site-footer nav{gap:13px;font-size:9px}}


/* The command-style wordmark retains the wish crystal and shard symbol. */
.footer-brand {display:flex;align-items:center;gap:8px;flex-shrink:0;font:26px/1 Russo,Arial,sans-serif;letter-spacing:-.04em}
.footer-brand .brand-mark {width:40px;height:40px}
.hero-loop-toggle {bottom:10px;right:10px;padding:7px 10px;font-size:11px}
@media(max-width:600px){.footer-top {flex-wrap:wrap;gap:12px}}

/* Each idea gets its own native gameplay loop and description. */
.world-showcase {background:linear-gradient(180deg,#20372c 0,#f2eddf 110px);color:var(--ink);padding:156px 0 104px;scroll-margin-top:30px}
.world-wrap {width:100%;margin:0}
.world-showcase h2 {font:400 clamp(32px,4.1vw,58px)/1.16 Russo,Arial,sans-serif;letter-spacing:-.035em;text-align:center;margin:0 auto 38px;max-width:1100px;padding-inline:22px}
.world-showcase h2 span {color:#698258}
.world-controls {display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 22px;padding-inline:clamp(20px,4vw,64px)}
.world-controls button {display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;border:1px solid #9ba58b;border-radius:3px;background:transparent;color:var(--ink)}
.world-controls button:hover:not(:disabled) {background:#e5e5d6;border-color:#718767}
.world-controls button:disabled {opacity:.4;cursor:default}
.world-controls button:focus-visible,.world-grid:focus-visible {outline:3px solid #527743;outline-offset:4px}
.world-arrow {width:40px;font-size:22px;line-height:1}
.world-grid {display:flex;gap:28px;overflow-x:auto;overscroll-behavior-x:contain;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#9ca58d transparent;padding:4px clamp(20px,4vw,64px) 18px;scroll-margin-top:24px}
.world-grid::-webkit-scrollbar {height:5px}
.world-grid::-webkit-scrollbar-thumb {background:#9ca58d;border-radius:3px}
.world-piece {flex:0 0 clamp(480px,38vw,580px);min-width:0}
.world-piece-copy {padding:22px 0 0}
.world-piece h3 {font:400 clamp(21px,2.2vw,27px)/1.2 Russo,Arial,sans-serif;letter-spacing:-.025em;margin:0 0 9px}
.world-piece p {max-width:500px;margin:0;color:#5c6b58;font-size:16px;line-height:1.6}
.world-loop-toggle {bottom:10px;right:10px;padding:7px 10px;font-size:11px}
.world-video-frame {position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #a0ad91;background:#182d24;box-shadow:6px 6px 0 #d0d3be}
.world-video-frame video {display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:850px){.world-showcase{padding:142px 0 76px}.world-showcase h2{font-size:clamp(29px,5vw,44px);margin-bottom:32px}}
@media(max-width:480px){.world-showcase{padding:132px 0 58px}.world-showcase h2{font-size:29px;line-height:1.2}.world-video-frame{box-shadow:4px 4px 0 #d0d3be}}

@media(max-width:700px){.world-grid{gap:20px}.world-piece{flex-basis:88vw}.world-controls{margin-bottom:18px}.world-piece-copy{padding-top:19px}.world-piece h3{font-size:24px}.world-piece p{font-size:15px;max-width:100%}}

/* Optional audio stays with the battle inside the creation gallery. */
.world-video-controls {position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:6px}
.world-video-controls .loop-toggle,.world-sound-toggle {position:static;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:33px;padding:7px 10px;border:1px solid #f0e9d05c;border-radius:0;background:#182d24ed;backdrop-filter:blur(8px);color:#fff7e1;font:inherit;font-size:11px;white-space:nowrap}
.world-sound-toggle svg {flex-shrink:0}
.world-sound-toggle:hover {background:#233a2d}
.world-sound-toggle:focus-visible {outline:3px solid #e4cb76;outline-offset:3px}

/* The happy wish crystal and an easy-to-read command wordmark. */
.brand,.footer-brand {font-family:Nunito,Arial,sans-serif;font-weight:900}
.brand {font-size:32px;gap:8px}
.brand .brand-mark {width:52px;height:52px}
.brand-word {letter-spacing:-.055em}
.brand-slash {color:#8ee9ed;margin-right:1px}
.footer-brand {font-size:28px}
.footer-brand .brand-mark {width:46px;height:46px}
@media(max-width:600px){.brand{font-size:29px;gap:6px}.brand .brand-mark{width:46px;height:46px}}

/* Restored illustrated closing section. */
.next-world {isolation:isolate;position:relative;min-height:650px;display:grid;place-items:start center;overflow:hidden;text-align:center;padding:90px 24px 190px;background:#becbd3}
.next-world-art {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
.next-world::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#f2eddf 0%,#f2eddf70 12%,transparent 36%,transparent 78%,#233d36 100%)}
.next-world .chapter-label {display:flex;align-items:center;justify-content:center;gap:12px;color:#5c7463;font-size:9px;line-height:1.5;font-weight:800;letter-spacing:2px;margin:0 0 22px}
.next-world h2 {font-family:Russo,Arial,sans-serif;font-weight:400;font-size:clamp(43px,5.1vw,72px);line-height:1.12;letter-spacing:-.045em;margin:0 0 20px}
.next-world-content>p:not(.chapter-label) {font-size:15px;font-weight:700;margin:0 0 28px;color:#4d6659}
@media(max-width:1100px){.next-world{min-height:590px;padding-top:80px}}
@media(max-width:760px){.next-world{min-height:590px;padding-top:75px;padding-bottom:200px}.next-world-art{object-position:55% center}.next-world h2{font-size:49px}.next-world-content>p:not(.chapter-label){font-size:13px;max-width:260px;margin-inline:auto;line-height:1.7}.next-world .chapter-label{font-size:7px;letter-spacing:1.5px}}
@media(max-width:380px){.next-world h2{font-size:44px}}

/* A small personal signature, without another footer navigation block. */
.creator-credit {margin:0;color:#b9c8b4;font-size:14px;line-height:1.6}
.creator-credit a {color:#f7f4e3;font-weight:800;text-decoration:none;text-underline-offset:4px}
.creator-credit a:hover {text-decoration:underline}
@media(max-width:600px){
  .download-buttons {gap:10px}
  .download-button {min-height:68px;padding:12px 10px;gap:9px}
  .download-platform {font-size:14px}
  .download-logo {width:24px;height:24px}
  .creator-credit {font-size:13px}
}
@media(max-width:360px){
  .download-button {gap:7px;padding-inline:8px}
  .download-platform {font-size:12px}
}

.next-world-content {width:min(100%,720px)}
@media(max-width:700px){
  .download-buttons {grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px}
  .download-server {grid-column:1 / -1}
}

/* Unreleased controls still respond visually without becoming clickable. */
@media(hover:hover) and (pointer:fine){
  .download-button:hover {
    transform:translateY(-2px);
    filter:brightness(1.1);
    box-shadow:inset 3px 3px 0 var(--button-light),inset -3px -3px 0 var(--button-shade),0 6px 0 #0c1912,0 0 0 1px #f6ffe166;
  }
}
@media(prefers-reduced-motion:reduce){
  .download-button {transition:none}
  .download-button:hover {transform:none}
}

/* A real grass block beside the Minecraft name. */
.hero-world-line {white-space:nowrap}
.hero-grass-block {display:inline-block;width:.63em;height:.7em;object-fit:contain;vertical-align:-.075em;margin:0 .09em 0 .015em;image-rendering:pixelated}
.hero-description strong {color:var(--hero-text);font-weight:700}

/* The three native wish tiers. Shared Minecraft tooltips are positioned below them. */
.wish-icons {display:inline-flex;align-items:center;gap:2px;flex-shrink:0}
.wish-icon {position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px}
.hero-tab .wish-icon img {width:24px;height:24px;transition:transform 140ms ease-out}
.wish-icon:hover img {transform:translateY(-2px)}
@media(max-width:600px){
  .hero-tab {flex-direction:column;gap:4px;min-height:70px;padding-block:8px}
  .hero-tab .wish-icon img {width:22px;height:22px}
  .wish-icon {width:22px;height:24px}
}
@media(max-width:380px){.hero-content h1 {font-size:clamp(34px,11.4vw,42px)}}
@media(prefers-reduced-motion:reduce){
  .hero-tab .wish-icon img {transition:none}
  .wish-icon:hover img {transform:none}
}

.hero-content h1 .hero-opening-line {color:var(--hero-text);font-size:.82em;white-space:nowrap}

/* Minecraft-style item inspection: pixel lettering, dark panel, purple inset edge. */
@font-face{font-family:Minecraft;src:url('assets/fonts/minecraft.otf') format('opentype');font-style:normal;font-weight:400;font-display:swap}
.item-inspect {padding:0;color:inherit;cursor:help}
.item-inspect:hover {border-color:#d2e4b5;background:#2a4132}
.item-inspect:focus-visible {outline:2px solid #d2e4b5;outline-offset:3px}
.crafter-icon {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.wish-icon,.crafter-icon {cursor:help}
.minecraft-tooltip {
  position:absolute;z-index:1000;
  width:max-content;max-width:min(310px,calc(100vw - 24px));
  padding:10px 12px 11px;
  border:2px solid #100010;
  border-radius:0;
  background:linear-gradient(#100010f5,#100010f5);
  box-shadow:0 2px 0 #100010,-2px 0 0 #100010,2px 0 0 #100010,0 -2px 0 #100010;
  color:#aaa;
  font:400 16px/1.25 Minecraft,monospace;
  font-synthesis:none;
  letter-spacing:0;
  text-align:left;
  text-shadow:2px 2px 0 #0009;
  -webkit-font-smoothing:none;
  overflow-wrap:break-word;
  pointer-events:auto;
}
.minecraft-tooltip::before {
  content:"";position:absolute;inset:0;pointer-events:none;
  border:2px solid transparent;
  border-image:linear-gradient(#5000ff80,#28007f80) 1;
}
.mc-tooltip-name {margin:0 0 5px;color:#fff;line-height:1.25}
.mc-tooltip-line {display:block}
.mc-tooltip-gap {margin-top:10px}
.mc-white {color:#fff}.mc-gray {color:#aaa}.mc-dark {color:#777}
.mc-green {color:#5f5}.mc-aqua {color:#5ff}.mc-gold {color:#fa0}
.mc-yellow {color:#ff5}.mc-purple {color:#f5f}.mc-blue {color:#55f}
.mc-lore {font-style:normal}

.patch-notes {
  padding: clamp(54px, 8vw, 116px) 0;
  background: linear-gradient(#182c24, #20372c);
  color: #f7f4e3;
}
.patch-notes-inner {
  width: min(960px, calc(100% - clamp(36px, 9vw, 144px)));
  margin-inline: auto;
}
.patch-notes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 22px;
}
.patch-notes-heading h1 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  font: clamp(27px, 4vw, 44px)/1.15 Minecraft, monospace;
}
.patch-card {
  border: 2px solid #70846d;
  background: #162820;
  box-shadow: 5px 5px 0 #0f2019;
}
.patch-version {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 13px clamp(14px, 3vw, 26px);
  background: #314638;
  color: #e6f0d0;
}
.patch-version span:first-child { font: 17px/1.3 Minecraft, monospace; }
.patch-version span:last-child { font-size: 13px; }
.patch-content { padding: clamp(16px, 3vw, 26px); }
.patch-content h2 { margin: 0 0 14px; font-size: clamp(19px, 2.5vw, 25px); }
.patch-release-link { color: #d4edab; font-weight: 800; text-underline-offset: 4px; }
.patch-release-link:hover { color: #fff9e6; }
.patch-page { background: #182c24; }
.patch-page .brand { color: #f7f4e3; }
.patch-home-link { margin-left: auto; color: #f7f4e3; font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.patch-home-link:hover { color: #d4edab; }

/* Direct Fabric downloads use the same full-width control as the server. */
.jar-download {position:relative;grid-column:1 / -1;min-width:0;text-align:left}
.download-jar {--button-face:#e4c987;--button-light:#fff0bd;--button-shade:#a2864e;width:100%;cursor:pointer;list-style:none;position:relative;padding-inline:42px}
.download-jar::-webkit-details-marker {display:none}
.download-jar::marker {content:""}
.download-jar:focus-visible {outline:3px solid #e4cb76;outline-offset:3px}
.download-chevron {position:absolute;right:18px;top:calc(50% - 8px);transition:transform 160ms ease-out}
.jar-download[open] .download-chevron {transform:rotate(180deg)}
.jar-download[open] {z-index:5}
/* A compact forest-green popover, with the same inset edges as the game controls. */
.jar-version-panel {
  position:absolute;z-index:6;top:calc(100% + 10px);left:0;width:100%;
  padding:8px;border:1px solid #adc09a80;background:#1c3027;color:#f7f4e3;
  box-shadow:inset 0 1px 0 #f7f4e317,0 4px 0 #0c1912,0 12px 28px #08130c55;
  text-align:left;
}
.jar-picker-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 6px 12px}
.jar-version-heading {font-size:14px;font-weight:800;line-height:1.4;color:#d8e2d0}
.jar-loader-badge {display:inline-flex;align-items:center;min-height:23px;padding:2px 8px;border:1px solid #9eb38c55;background:#a9c58718;color:#c7dfa0;font-size:12px;font-weight:800;line-height:1.4}
.jar-version {
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;
  min-height:78px;padding:12px;border:1px solid #9db18c33;
  background:#2a4235;color:#f7f4e3;text-decoration:none;
  box-shadow:inset 0 1px 0 #ecf5d809;
  transition:background-color 120ms ease,border-color 120ms ease,box-shadow 120ms ease;
}
.jar-version + .jar-version {margin-top:6px}
.jar-version-art {display:grid;place-items:center;width:44px;height:44px;background:#182b22;border:1px solid #b4c89c24;box-shadow:inset 0 2px 0 #0d1d1744}
.jar-version-art img {display:block;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #0a191d55)}
.jar-version-copy {display:grid;gap:5px;min-width:0}
.jar-version-name {font:400 20px/1.15 Russo,Arial,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.jar-version-meta {font-size:14px;font-weight:700;line-height:1.3;color:#b9cbb1;font-variant-numeric:tabular-nums}
.jar-version-meta span {padding-inline:3px;color:#819776}
.jar-file-badge {padding:5px 7px;border:1px solid #cedda334;color:#c7dfa0;font:800 11px/1 Nunito,Arial,sans-serif;letter-spacing:.06em}
.jar-version:focus-visible {outline:2px solid #e4c987;outline-offset:2px;background:#36533d;border-color:#d0d9a380}
.jar-version:active {background:#203b2a;box-shadow:inset 0 2px 0 #101f1799}
.jar-version-note {display:flex;flex-wrap:wrap;align-items:center;gap:3px 9px;margin:0;padding:12px 6px 4px;font-size:12px;line-height:1.5;color:#a8bca0}
.jar-note-label {color:#dbc58d;font-weight:800}
@media(hover:hover) and (pointer:fine){
  .jar-version:hover {background:#36533d;border-color:#c7dfa077;box-shadow:inset 3px 0 0 #c7dfa0}
  .jar-version:hover .jar-file-badge {color:#f4e3a6;border-color:#e4c98777;background:#e4c9870d}
}
@media(max-width:380px){.jar-version {gap:10px;padding:10px}.jar-version-name {font-size:19px}.jar-version-meta {font-size:13px}.jar-version-note {font-size:11px}}
@media(prefers-reduced-motion:reduce){.jar-version {transition:none}}
@media(max-width:360px){.download-jar {padding-inline:32px}.download-jar .download-status {font-size:10px}.download-chevron {right:12px}}
@media(prefers-reduced-motion:reduce){.download-chevron {transition:none}}

/* MCP release setup stays beside the download instructions. */
.jar-version-note a {color:#d5e8bd;text-underline-offset:3px}
.jar-version-note a:hover {color:#fff0bd}
.patch-card + .patch-card {margin-top:28px}
.patch-content p,.mcp-setup-steps {font-size:16px;line-height:1.65;max-width:75ch}
.mcp-setup-steps {padding-left:22px}.mcp-setup-steps li + li {margin-top:10px}
.patch-content code {font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:#0e2118;padding:2px 5px;overflow-wrap:anywhere}
.mcp-client-setup {margin-block:22px;padding:16px;border:1px solid #70846d;background:#1d3428}
.mcp-client-setup summary {cursor:pointer;font-weight:800;font-size:16px}
.mcp-client-setup h3 {font-size:16px;margin-bottom:8px}
.mcp-client-setup pre {padding:14px;background:#0e2118;border:1px solid #70846d66;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.mcp-client-setup pre code {padding:0}
.patch-content .mcp-release-note {color:#c4d1b9;font-size:14px}
