/* The mods page (custom-minecraft-mods.html, LAB-003): Minecraft-styled sections on the landing's own look.
   - hero: the pixel sky of variant 1 (sun, drifting clouds, hills) with floating, spinning blocks in the
     game's own textures (assets/mc/, copied from project 011 by tools/build-mc-textures.py);
   - the h1 as a chunky extruded game logo (variant 4);
   - loaders as spinning blocks with the loader logos (variant 3), in real block textures;
   - the process as an advancement tree with vanilla item icons (variant 4);
   - related links as a nether portal and an end portal; hovering one shows a half-blurred preview of the page
     behind it (assets/mc/preview/, screenshots of the built pages);
   - every other section stays as on the plain service page (landing.css). */

.mods-page { --mc-yellow: #ffff55; --tip-bg: rgba(16, 0, 16, .94); --tip-border: #2d0a6e; }
.mp-frame img, .mp-opt-ic img, .mp-chat-bar img, .mp-adv-tab img, .mp-f, .mp-sf { image-rendering: pixelated; }

/* ---------- hero: pixel sky (mods.js draws it), copy on the left, dropped blocks on the right ---------- */
.mp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(600px, calc(100svh - 78px), 880px);
  background: linear-gradient(#3e8ce4, #8ac8fa 55%, #c4e2fc 80%, #ffdeb6);
}
.mp-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; image-rendering: pixelated; }
.mp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; padding-block: clamp(26px, 4vw, 48px) clamp(130px, 13vw, 170px); }
.mp-hero .crumbs ol { margin-bottom: 22px; color: #20406a; }
.mp-hero .crumbs a { color: #183457; }
.mp-hero .crumbs [aria-current] { color: #0d1d33; }
.mp-hero .eyebrow { color: #183457; }
.mp-hero .lede { margin-top: 26px; max-width: 640px; font-size: clamp(16.5px, 1.6vw, 19px); font-weight: 600; color: #13263f; }
.mp-hero .svc-ctas { margin-top: 28px; }
.mp-hero .btn { border-radius: 0; border: 3px solid #4a2408; box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .35), inset -3px -3px 0 rgba(0, 0, 0, .2), 0 6px 0 var(--accent-dark); }
.mp-hero .btn-link { color: #0f2036; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.mp-hero .btn-link:hover { color: #8a3a06; }

/* The h1 as a game logo: light stone letters, a dark outline and a stepped extrusion. */
.mp-h1 {
  margin-top: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1;
  font-size: clamp(2.3rem, 6.2vw, 5.2rem);
  color: #ececec;
  text-shadow: -2px 0 0 #161616, 2px 0 0 #161616, 0 -2px 0 #161616,
    0 3px 0 #8d8d8d, 0 5px 0 #7a7a7a, 0 7px 0 #666, 0 9px 0 #525252, 0 11px 0 #3e3e3e, 0 13px 0 #2b2b2b, 0 15px 0 #161616,
    0 22px 28px rgba(0, 0, 0, .35);
}
.mp-h1 em { font-style: normal; color: #ffb347;
  text-shadow: -2px 0 0 #2a1200, 2px 0 0 #2a1200, 0 -2px 0 #2a1200,
    0 3px 0 #d97b25, 0 5px 0 #c46b1c, 0 7px 0 #a85914, 0 9px 0 #8a460d, 0 11px 0 #6b3407, 0 13px 0 #4a2303, 0 15px 0 #2a1200,
    0 22px 28px rgba(0, 0, 0, .35); }
/* CJK may break between any two characters: keep the highlighted word whole (ja "プラグイン" split in two). */
:lang(ja) .mp-h1 em, :lang(zh) .mp-h1 em, :lang(ko) .mp-h1 em { white-space: nowrap; }

/* Facts as a hotbar; the selected slot walks along (mods.js). */
.mp-hotbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 34px 0 0; max-width: 720px; border: 3px solid #111; background: rgba(15, 15, 18, .72); }
.mp-slot { padding: 14px 14px 13px; border-right: 3px solid #111; box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .12), inset -3px -3px 0 rgba(0, 0, 0, .35); transition: box-shadow .2s ease; }
.mp-slot:last-child { border-right: 0; }
.mp-slot.is-sel { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px rgba(0, 0, 0, .5); }
.mp-slot dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c9c9c9; }
.mp-slot dd { margin: 4px 0 0; font-family: var(--display); font-size: 15.5px; font-weight: 700; line-height: 1.3; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }

/* Dropped blocks: spinning and bobbing, like items lying in the world. */
.mp-drops { position: relative; height: 440px; perspective: 1000px; }
.mp-drop { position: absolute; animation: mp-bob 3.4s ease-in-out infinite; animation-play-state: paused; }
.mp-drop--a { --s: 150px; left: 24%; top: 26%; }
.mp-drop--b { --s: 92px; left: 70%; top: 4%; animation-delay: -1.2s; }
.mp-drop--c { --s: 78px; left: 4%; top: 70%; animation-delay: -2.1s; }
.mp-drop--d { --s: 64px; left: 74%; top: 66%; animation-delay: -.6s; }
.mp-cube { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(38deg); animation: mp-spin 16s linear infinite; animation-play-state: paused; }
.mp-drop--b .mp-cube { animation-duration: 12s; animation-direction: reverse; }
.mp-drop--c .mp-cube { animation-duration: 20s; }
.mp-drop--d .mp-cube { animation-duration: 14s; animation-direction: reverse; }
.mp-hero.is-live .mp-drop, .mp-hero.is-live .mp-cube { animation-play-state: running; }
.mp-f { position: absolute; inset: 0; background: #7d7d7d var(--face) 0 0 / 100% 100%; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.mp-f--front { transform: translateZ(calc(var(--s) / 2)); }
.mp-f--back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.mp-f--right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.8); }
.mp-f--left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.8); }
.mp-f--top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.1); }
.mp-f--bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.55); }
.mp-cube--grass .mp-f { --face: url(../mc/grass_block_side.png); }
.mp-cube--grass .mp-f--top { --face: url(../mc/grass_block_top.png); }
.mp-cube--grass .mp-f--bottom { --face: url(../mc/dirt.png); }
.mp-cube--diamond .mp-f { --face: url(../mc/diamond_ore.png); }
.mp-cube--gold .mp-f { --face: url(../mc/gold_ore.png); }
.mp-cube--iron .mp-f { --face: url(../mc/iron_ore.png); }
/* Plugins page: a command block (its own front and back) and an emerald ore. */
.mp-cube--command .mp-f { --face: url(../mc/command_block_side.png); }
.mp-cube--command .mp-f--front { --face: url(../mc/command_block_front.png); }
.mp-cube--command .mp-f--back { --face: url(../mc/command_block_back.png); }
.mp-cube--emerald .mp-f { --face: url(../mc/emerald_ore.png); }
.mp-cube--bedrock .mp-f { --face: url(../mc/bedrock.png); }
.mp-shadow { position: absolute; left: 50%; top: calc(var(--s) * 1.45); width: calc(var(--s) * .9); height: calc(var(--s) * .16); margin-left: calc(var(--s) * -.45); background: rgba(10, 30, 20, .22); border-radius: 50%; filter: blur(2px); animation: mp-shadow 3.4s ease-in-out infinite; animation-delay: inherit; animation-play-state: inherit; }
@keyframes mp-spin { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes mp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes mp-shadow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .8; opacity: .7; } }

/* ---------- loaders: spinning blocks with the loader logos ---------- */
.mp-loaders { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mp-loader { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 24px 26px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 10px 0 rgba(20, 35, 58, .06); transition: translate .25s ease, box-shadow .25s ease; }
.mp-loader:hover { translate: 0 -5px; box-shadow: 0 15px 0 rgba(20, 35, 58, .08); }
.mp-loader[data-tex="iron"] { --fs: url(../mc/iron_block.png); }
.mp-loader[data-tex="copper"] { --fs: url(../mc/copper_block.png); }
.mp-loader[data-tex="wool"] { --fs: url(../mc/white_wool.png); }
.mp-loader[data-tex="emerald"] { --fs: url(../mc/emerald_block.png); }
.mp-loader[data-tex="bedrock"] { --fs: url(../mc/bedrock.png); }
.mp-loader[data-tex="purpur"] { --fs: url(../mc/purpur_block.png); }
.mp-spin { --z: 56px; width: 112px; height: 112px; margin: 8px auto 24px; perspective: 700px; }
.mp-spin-3d { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-18deg) rotateY(-30deg); animation: mp-turn 11s linear infinite; animation-play-state: paused; }
.mp-loader:nth-child(2) .mp-spin-3d { animation-duration: 13s; animation-direction: reverse; }
.mp-loader:nth-child(3) .mp-spin-3d { animation-duration: 9.5s; }
.mp-loaders.is-live .mp-spin-3d { animation-play-state: running; }
@keyframes mp-turn { from { transform: rotateX(-18deg) rotateY(0deg); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.mp-sf { position: absolute; inset: 0; display: grid; place-items: center; background: #ccc var(--fs) 0 0 / 100% 100%; backface-visibility: hidden; }
.mp-sf::after { content: ''; position: absolute; inset: 0; background: #0b1626; opacity: 0; }
.mp-sf img { position: relative; z-index: 1; width: 56%; height: 56%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .28)); }
.mp-sf--f { transform: translateZ(var(--z)); }
.mp-sf--r { transform: rotateY(90deg) translateZ(var(--z)); }
.mp-sf--r::after { opacity: .14; }
.mp-sf--b { transform: rotateY(180deg) translateZ(var(--z)); }
.mp-sf--b::after { opacity: .22; }
.mp-sf--l { transform: rotateY(-90deg) translateZ(var(--z)); }
.mp-sf--l::after { opacity: .1; }
.mp-sf--t { transform: rotateX(90deg) translateZ(var(--z)); }
.mp-sf--d { transform: rotateX(-90deg) translateZ(var(--z)); }
.mp-sf--d::after { opacity: .45; }
.mp-loader b { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.mp-loader .svc-ver { margin-top: 4px; padding: 3px 10px; border-radius: 8px; background: #fff1e6; }
.mp-loader p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- process: advancement tree ---------- */
.mp-adv { padding: 10px 12px 12px; border: 3px solid #000; background: #c6c6c6; box-shadow: inset 4px 4px 0 #fff, inset -4px -4px 0 #555, 0 14px 0 rgba(20, 35, 58, .18); }
.mp-adv-tab { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; font-family: var(--display); font-weight: 700; font-size: 15px; color: #3f3f3f; }
.mp-adv-tab img { width: 22px; height: 22px; }
.mp-adv-field { position: relative; margin-top: 6px; padding: clamp(24px, 3vw, 38px) clamp(16px, 2.6vw, 30px) clamp(26px, 3vw, 40px);
  background: #3a2a1c url(../mc/dirt.png) 0 0 / 48px 48px; box-shadow: inset 0 0 0 3px #000, inset 0 0 90px rgba(0, 0, 0, .7); }
.mp-adv-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.mp-adv-lines path { fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.mp-adv-lines .o { stroke: #000; stroke-width: 8; }
.mp-adv-lines .i { stroke: #fff; stroke-width: 3; }
.mp-adv-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mp-adv-item:nth-child(even) { margin-top: 58px; }
.mp-frame { position: relative; display: grid; place-items: center; width: 68px; height: 68px; background: #6a6a6a; border: 3px solid #141414;
  box-shadow: inset 3px 3px 0 #9a9a9a, inset -3px -3px 0 #3a3a3a; transition: background .35s steps(3), box-shadow .35s steps(3), transform .35s ease; }
.mp-frame img { width: 40px; height: 40px; filter: grayscale(.85) brightness(.75); transition: filter .35s steps(3); }
.mp-frame--goal { border-radius: 16px; }
.mp-adv-item.is-done .mp-frame { background: #d8a92a; box-shadow: inset 3px 3px 0 #ffe27a, inset -3px -3px 0 #8a6510; transform: scale(1.06); }
.mp-adv-item.is-done .mp-frame img { filter: none; }
.mp-adv-card { margin-top: 14px; padding: 13px 15px 14px; background: var(--tip-bg); border: 2px solid var(--tip-border); box-shadow: 0 0 0 2px #100010; }
.mp-adv-num { float: right; margin-left: 8px; font-family: var(--display); font-weight: 800; font-size: 13px; color: #8a7bc6; }
.mp-adv-card h3 { font-size: 18px; color: #fff; transition: color .35s steps(2); }
.mp-adv-item.is-done h3 { color: var(--mc-yellow); }
.mp-adv-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #cdcdcd; }

/* ---------- related: a nether portal and an end portal, each showing its page through a blur on hover ---------- */
.mp-portals { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: clamp(40px, 5vw, 64px); }
.mp-portal { position: relative; isolation: isolate; display: flex; min-height: 330px; padding: 28px; overflow: hidden; border: 3px solid #000; color: #fff;
  background: #14101f url(../mc/obsidian.png) 0 0 / 48px 48px; box-shadow: 0 14px 0 rgba(20, 35, 58, .2); }
.mp-portal-fx { position: absolute; inset: 28px; z-index: -1; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .5); }
/* The nether swirl: a gradient until mods.js paints the game's animated portal texture on a canvas. */
.mp-portal--nether .mp-portal-fx { background: radial-gradient(circle at 28% 32%, rgba(222, 150, 255, .7), transparent 34%), radial-gradient(circle at 72% 68%, rgba(150, 60, 240, .75), transparent 42%), linear-gradient(135deg, #6a1ec0, #3a0b80 60%, #5a16a8); }
.mp-portal-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mp-portal--end .mp-portal-fx { background-color: #050914;
  background-image: radial-gradient(2px 2px at 20px 30px, #9ff 50%, transparent 51%), radial-gradient(2px 2px at 80px 90px, #6ff 50%, transparent 51%),
    radial-gradient(3px 3px at 110px 20px, #ffffff 50%, transparent 51%), radial-gradient(2px 2px at 50px 120px, #2fd 50%, transparent 51%),
    radial-gradient(2px 2px at 140px 70px, #8ef 50%, transparent 51%), radial-gradient(circle at 50% 50%, #0d2a33, #050914 70%);
  background-size: 160px 150px, 160px 150px, 160px 150px, 160px 150px, 160px 150px, 100% 100%; animation: mp-stars 22s linear infinite; }
@keyframes mp-stars { to { background-position: 160px 150px, -160px 300px, 320px -150px, -160px -150px, 160px 300px, 0 0; } }
/* The page behind the portal: hidden, then half-blurred through the swirl on hover or keyboard focus. */
.mp-portal-peek { position: absolute; inset: -12px; z-index: 2; background: center top / cover no-repeat; opacity: 0; filter: blur(9px) saturate(1.2); transform: scale(1.12); transition: opacity .45s ease, filter .45s ease, transform .6s ease; }
/* previews:start (written by tools/build-previews.js) */
.mp-peek--portfolio { background-image: url(../mc/preview/portfolio-en-v2.webp); }
.mp-peek--mods { background-image: url(../mc/preview/mods-en-v2.webp); }
.mp-peek--plugins { background-image: url(../mc/preview/plugins-en-v2.webp); }
:lang(ru) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-ru-v2.webp); } :lang(ru) .mp-peek--mods { background-image: url(../mc/preview/mods-ru-v2.webp); } :lang(ru) .mp-peek--plugins { background-image: url(../mc/preview/plugins-ru-v2.webp); }
:lang(uk) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-uk-v2.webp); } :lang(uk) .mp-peek--mods { background-image: url(../mc/preview/mods-uk-v2.webp); } :lang(uk) .mp-peek--plugins { background-image: url(../mc/preview/plugins-uk-v2.webp); }
:lang(de) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-de-v2.webp); } :lang(de) .mp-peek--mods { background-image: url(../mc/preview/mods-de-v2.webp); } :lang(de) .mp-peek--plugins { background-image: url(../mc/preview/plugins-de-v2.webp); }
:lang(es) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-es-v2.webp); } :lang(es) .mp-peek--mods { background-image: url(../mc/preview/mods-es-v2.webp); } :lang(es) .mp-peek--plugins { background-image: url(../mc/preview/plugins-es-v2.webp); }
:lang(fr) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-fr-v2.webp); } :lang(fr) .mp-peek--mods { background-image: url(../mc/preview/mods-fr-v2.webp); } :lang(fr) .mp-peek--plugins { background-image: url(../mc/preview/plugins-fr-v2.webp); }
:lang(it) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-it-v2.webp); } :lang(it) .mp-peek--mods { background-image: url(../mc/preview/mods-it-v2.webp); } :lang(it) .mp-peek--plugins { background-image: url(../mc/preview/plugins-it-v2.webp); }
:lang(pt) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-pt-v2.webp); } :lang(pt) .mp-peek--mods { background-image: url(../mc/preview/mods-pt-v2.webp); } :lang(pt) .mp-peek--plugins { background-image: url(../mc/preview/plugins-pt-v2.webp); }
:lang(pl) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-pl-v2.webp); } :lang(pl) .mp-peek--mods { background-image: url(../mc/preview/mods-pl-v2.webp); } :lang(pl) .mp-peek--plugins { background-image: url(../mc/preview/plugins-pl-v2.webp); }
:lang(tr) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-tr-v2.webp); } :lang(tr) .mp-peek--mods { background-image: url(../mc/preview/mods-tr-v2.webp); } :lang(tr) .mp-peek--plugins { background-image: url(../mc/preview/plugins-tr-v2.webp); }
:lang(ja) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-ja-v2.webp); } :lang(ja) .mp-peek--mods { background-image: url(../mc/preview/mods-ja-v2.webp); } :lang(ja) .mp-peek--plugins { background-image: url(../mc/preview/plugins-ja-v2.webp); }
:lang(zh) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-zh-v2.webp); } :lang(zh) .mp-peek--mods { background-image: url(../mc/preview/mods-zh-v2.webp); } :lang(zh) .mp-peek--plugins { background-image: url(../mc/preview/plugins-zh-v2.webp); }
:lang(ko) .mp-peek--portfolio { background-image: url(../mc/preview/portfolio-ko-v2.webp); } :lang(ko) .mp-peek--mods { background-image: url(../mc/preview/mods-ko-v2.webp); } :lang(ko) .mp-peek--plugins { background-image: url(../mc/preview/plugins-ko-v2.webp); }
/* previews:end */
.mp-portal:hover .mp-portal-peek, .mp-portal:focus-visible .mp-portal-peek { opacity: .82; filter: blur(2.5px) saturate(1.1); transform: scale(1.02); }
.mp-portal--nether:hover .mp-portal-peek, .mp-portal--nether:focus-visible .mp-portal-peek { mix-blend-mode: normal; box-shadow: inset 0 0 60px 20px rgba(120, 30, 220, .55); }
.mp-portal--end:hover .mp-portal-peek, .mp-portal--end:focus-visible .mp-portal-peek { box-shadow: inset 0 0 60px 20px rgba(5, 9, 20, .7); }
.mp-portal-body { position: relative; z-index: 1; align-self: flex-end; display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 14px 16px; background: rgba(8, 4, 16, .78); border: 2px solid rgba(255, 255, 255, .12); transition: border-color .2s ease; }
.mp-portal-eyebrow { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-yellow); }
.mp-portal-body b { font-family: var(--display); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; }
.mp-portal-body b::after { content: ' ↗'; color: var(--mc-yellow); }
.mp-portal-body > span:last-child { font-size: 15px; line-height: 1.6; color: #d6d0e6; }
/* Hover lights the frame instead of lifting the panel: a lift opened a strip of the swirl under it. */
.mp-portal:hover .mp-portal-body, .mp-portal:focus-visible .mp-portal-body { border-color: rgba(255, 255, 85, .55); }
.mp-portal:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
  .mp-drop--a { --s: 118px; left: 16%; }
  .mp-drop--b { --s: 72px; left: 60%; }
  .mp-drop--c { --s: 60px; }
  .mp-drop--d { --s: 52px; left: 64%; }
  .mp-adv-list { grid-template-columns: 1fr; gap: 18px; }
  .mp-adv-item { display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: start; }
  .mp-adv-item:nth-child(even) { margin-top: 0; }
  .mp-adv-card { margin-top: 0; }
}
@media (max-width: 900px) {
  .mp-hero-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 120px; }
  .mp-drops { order: -1; height: 150px; margin-bottom: 4px; }
  .mp-drop--a { --s: 78px; left: auto; right: 36%; top: 22px; }
  .mp-drop--b { --s: 52px; left: auto; right: 8%; top: 6px; }
  .mp-drop--c { --s: 44px; left: auto; right: 64%; top: 70px; }
  .mp-drop--d { --s: 40px; left: auto; right: 84%; top: 10px; }
  .mp-loaders { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mp-portals { grid-template-columns: 1fr; }
  .mp-portal { min-height: 280px; padding: 20px; }
  .mp-portal-fx { inset: 20px; }
}
@media (max-width: 620px) {
  .mp-hero { min-height: 0; }
  .mp-hero-grid { padding-bottom: 96px; }
  .mp-h1 { font-size: 2.15rem; text-shadow: -2px 0 0 #161616, 2px 0 0 #161616, 0 -2px 0 #161616, 0 2px 0 #8d8d8d, 0 4px 0 #666, 0 6px 0 #3e3e3e, 0 8px 0 #161616; }
  .mp-h1 em { text-shadow: -2px 0 0 #2a1200, 2px 0 0 #2a1200, 0 -2px 0 #2a1200, 0 2px 0 #d97b25, 0 4px 0 #a85914, 0 6px 0 #6b3407, 0 8px 0 #2a1200; }
  /* A long word must not push the hero past the screen; long ones carry a soft hyphen in the dictionary. */
  .mp-h1 { overflow-wrap: anywhere; }
  .mp-hotbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-slot:nth-child(2) { border-right: 0; }
  .mp-slot:nth-child(-n+2) { border-bottom: 3px solid #111; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-drop, .mp-cube, .mp-shadow, .mp-spin-3d, .mp-portal--end .mp-portal-fx { animation: none !important; }
  .mp-portal-peek { transition: none; }
}

/* ---------- what we build: four cards, each with a dropped item turning in 3D (mods.js stacks copies of the
   sprite along Z, so it has the thickness of a held item) ---------- */
.mp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mp-kind { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 24px 26px 24px 24px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 10px 0 rgba(20, 35, 58, .06); transition: translate .2s ease, box-shadow .2s ease; }
.mp-kind:hover { translate: 0 -4px; box-shadow: 0 14px 0 rgba(20, 35, 58, .08); }
.mp-kind-stage { position: relative; display: grid; place-items: center; height: 180px; border-radius: 18px; overflow: hidden; perspective: 600px;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9), transparent 62%), linear-gradient(#bfe3ff, #e8f5ff 70%, #d6efc4); }
.mp-kind:nth-child(2) .mp-kind-stage { background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9), transparent 62%), linear-gradient(#f3e6ff, #fbf5ff 70%, #e8dcf5); }
.mp-kind:nth-child(3) .mp-kind-stage { background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9), transparent 62%), linear-gradient(#ffe7d1, #fff6ee 70%, #f6e0c8); }
.mp-kind:nth-child(4) .mp-kind-stage { background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9), transparent 62%), linear-gradient(#dff5e6, #f3fbf5 70%, #d2ecd9); }
.mp-kind-num { position: absolute; left: 14px; top: 10px; font-family: var(--display); font-weight: 800; font-size: 15px; color: rgba(20, 35, 58, .35); }
.mp-xitem { position: relative; width: 96px; height: 96px; margin-top: -14px; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(-28deg); animation: mp-item-turn 7s linear infinite, mp-item-bob 3s ease-in-out infinite; animation-play-state: paused; transition: scale .25s ease; }
.mp-kinds.is-live .mp-xitem { animation-play-state: running; }
.mp-kind:nth-child(even) .mp-xitem { animation-direction: reverse, normal; animation-duration: 8.5s, 3.4s; }
.mp-kind:hover .mp-xitem { scale: 1.14; }
.mp-xitem img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
@keyframes mp-item-turn { from { transform: rotateX(-12deg) rotateY(0deg); } to { transform: rotateX(-12deg) rotateY(360deg); } }
@keyframes mp-item-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mp-kind-shadow { position: absolute; left: 50%; bottom: 28px; width: 70px; height: 10px; margin-left: -35px; border-radius: 50%; background: rgba(20, 35, 58, .16); filter: blur(2px); }
.mp-kind-body h3 { font-size: 22px; }
.mp-kind-text { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.mp-kind-body ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }
.mp-kind-body li { display: flex; gap: 10px; align-items: flex-start; }
.mp-kind-body li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--grass); flex-shrink: 0; }
.mp-kind-ex { margin-top: 16px; padding: 11px 14px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: #fff6ee; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.mp-kind-ex b { color: var(--accent-dark); }

/* ---------- versions chart: one bar per loader across the game versions, textured with its block ---------- */
.mp-chart { margin: 34px 0 0; padding: 24px 24px 18px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 10px 0 rgba(20, 35, 58, .06); }
.mp-chart-title { font-family: var(--display); font-weight: 800; font-size: 19px; }
.mp-chart-scroll { margin-top: 16px; overflow-x: auto; scrollbar-width: thin; }
.mp-chart-grid { position: relative; display: grid; grid-template-columns: 124px repeat(8, minmax(62px, 1fr)); grid-template-rows: 34px repeat(3, 50px); min-width: 660px; }
.mp-chart-corner { grid-row: 1; grid-column: 1; }
.mp-chart-ver { grid-row: 1; align-self: center; text-align: center; font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink-mute); }
.mp-chart-ver.is-hot { color: var(--accent-dark); }
.mp-chart-c1 { grid-column: 2; } .mp-chart-c2 { grid-column: 3; } .mp-chart-c3 { grid-column: 4; } .mp-chart-c4 { grid-column: 5; } .mp-chart-c5 { grid-column: 6; } .mp-chart-c6 { grid-column: 7; } .mp-chart-c7 { grid-column: 8; } .mp-chart-c8 { grid-column: 9; }
.mp-chart-hot { grid-row: 1 / 5; z-index: 0; border-radius: 10px; background: rgba(255, 138, 61, .1); box-shadow: inset 0 0 0 2px rgba(255, 138, 61, .28); }
.mp-chart-hot--1 { grid-column: 2; } .mp-chart-hot--2 { grid-column: 3; } .mp-chart-hot--5 { grid-column: 6; } .mp-chart-hot--6 { grid-column: 7; } .mp-chart-hot--7 { grid-column: 8; } .mp-chart-hot--8 { grid-column: 9; }
/* Four rows (the plugins page: one per server core). */
.mp-chart-grid--4 { grid-template-rows: 34px repeat(4, 50px); }
.mp-chart-grid--4 .mp-chart-hot { grid-row: 1 / 6; }
.mp-chart-name { grid-column: 1; z-index: 1; display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 15.5px; }
.mp-chart-name img { width: 22px; height: 22px; object-fit: contain; }
.mp-chart-r2 { grid-row: 2; } .mp-chart-r3 { grid-row: 3; } .mp-chart-r4 { grid-row: 4; } .mp-chart-r5 { grid-row: 5; }
.mp-chart-bar { position: relative; z-index: 1; align-self: center; display: flex; align-items: center; height: 34px; margin-inline: 6px; overflow: hidden; border: 3px solid #141414; background: rgba(20, 35, 58, .06); }
.mp-chart-bar--forge { grid-column: 2 / 9; --bar: url(../mc/iron_block.png); }
.mp-chart-bar--neo { grid-column: 7 / 10; --bar: url(../mc/copper_block.png); }
.mp-chart-bar--fabric { grid-column: 4 / 10; --bar: url(../mc/white_wool.png); }
.mp-chart-bar--paper { grid-column: 2 / 10; --bar: url(../mc/white_wool.png); }
.mp-chart-bar--spigot { grid-column: 2 / 10; --bar: url(../mc/iron_block.png); }
.mp-chart-bar--purpur { grid-column: 4 / 10; --bar: url(../mc/purpur_block.png); }
.mp-chart-bar--folia { grid-column: 6 / 10; --bar: url(../mc/emerald_block.png); }
.mp-chart-fill { position: absolute; inset: 0; background: var(--bar) 0 0 / 28px 28px; image-rendering: pixelated; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .35), inset -2px -2px 0 rgba(0, 0, 0, .25);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.mp-chart-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); background-size: 250% 100%; background-position: 150% 0; }
.mp-chart.in .mp-chart-fill { transform: scaleX(1); }
.mp-chart.in .mp-chart-fill::after { animation: mp-sheen 3.2s ease-in-out 1.4s infinite; }
.mp-chart-r3.mp-chart-bar .mp-chart-fill { transition-delay: .25s; }
.mp-chart-r4.mp-chart-bar .mp-chart-fill { transition-delay: .5s; }
.mp-chart-r5.mp-chart-bar .mp-chart-fill { transition-delay: .75s; }
@keyframes mp-sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
.mp-chart-range { position: relative; z-index: 1; margin-left: 6px; padding: 2px 9px; border-radius: 6px; background: rgba(10, 14, 22, .72); line-height: 1.4; font-family: var(--display); font-weight: 800; font-size: 13.5px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; white-space: nowrap; opacity: 0; transition: opacity .4s ease 1s; }
.mp-chart.in .mp-chart-range { opacity: 1; }
.mp-chart-legend { display: flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 13.5px; color: var(--ink-mute); }
.mp-chart-legend i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 138, 61, .18); box-shadow: inset 0 0 0 2px rgba(255, 138, 61, .4); }

/* ---------- examples: the game chat, requests typed in and answered (mods.js) ---------- */
.mp-chat { max-width: 920px; border: 3px solid #000; box-shadow: 0 14px 0 rgba(20, 35, 58, .16);
  background: linear-gradient(rgba(12, 12, 16, .84), rgba(12, 12, 16, .84)), #3a3a3e url(../mc/stone.png) 0 0 / 64px 64px; color: #fff; }
.mp-chat-bar { display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-bottom: 2px solid rgba(255, 255, 255, .08); font-family: var(--display); font-weight: 700; font-size: 14px; color: #bdbdbd; }
.mp-chat-bar img { width: 18px; height: 18px; }
.mp-chat-log { list-style: none; margin: 0; padding: 14px 18px 6px; }
.mp-line { margin: 0 0 10px; font-size: 15.5px; line-height: 1.55; text-shadow: 2px 2px 0 #2a2a2a; }
.mp-line.is-hidden { visibility: hidden; }
.mp-line.is-new { animation: mp-chat-in .28s ease-out; }
@keyframes mp-chat-in { from { opacity: 0; translate: 0 8px; } }
.mp-nick { font-family: var(--display); font-weight: 700; }
.mp-nick--a { color: #55ff55; } .mp-nick--b { color: #55ffff; } .mp-nick--c { color: #ff77ff; } .mp-nick--d { color: #ffaa00; }
.mp-line--studio .mp-nick { color: #ffff55; }
.mp-line--studio .mp-msg { color: #fff6c2; }
.mp-chat-input { display: flex; align-items: center; flex-wrap: wrap; min-height: 44px; margin: 4px 14px 10px; padding: 9px 12px; background: rgba(0, 0, 0, .55); border: 2px solid #6a6a6a; font-size: 15px; line-height: 1.4; }
.mp-chat-typed .mp-nick { margin-right: 6px; }
.mp-caret { display: inline-block; width: 10px; height: 3px; margin-left: 2px; background: #fff; animation: mp-blink 1s steps(1) infinite; }
@keyframes mp-blink { 50% { opacity: 0; } }
.mp-chat-cta { display: inline-flex; gap: 6px; margin: 0 16px 14px; font-family: var(--display); font-weight: 700; color: #ffff55; }
.mp-chat-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- price: tick what the mod needs, the scope meter and a block structure grow (mods.js) ---------- */
.mp-calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.mp-calc-opts { margin: 0; padding: 0; border: 0; min-width: 0; }
.mp-calc-opts legend { margin-bottom: 14px; padding: 0; font-family: var(--display); font-weight: 800; font-size: 20px; }
.mp-opt { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr) 28px; align-items: center; gap: 14px; margin-bottom: 10px; padding: 11px 16px 11px 12px; background: var(--card); border: 2px solid transparent; border-radius: var(--r); box-shadow: 0 6px 0 rgba(20, 35, 58, .05); cursor: pointer; transition: border-color .2s ease, background .2s ease, translate .15s ease; }
.mp-opt:hover { translate: 2px 0; }
.mp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mp-opt:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.mp-opt-ic { display: grid; place-items: center; width: 50px; height: 50px; background: #8b8b8b; box-shadow: inset 3px 3px 0 #373737, inset -3px -3px 0 #fff; transition: background .2s ease; }
.mp-opt-ic img { width: 30px; height: 30px; }
.mp-opt-text b { display: block; font-family: var(--display); font-size: 16px; line-height: 1.3; }
.mp-opt-text small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.mp-opt-check { position: relative; width: 26px; height: 26px; border: 3px solid #3a3a3a; background: #fff; box-shadow: inset 2px 2px 0 #d0d0d0; }
.mp-opt.is-on { border-color: var(--grass); background: #f3fbec; }
.mp-opt.is-on .mp-opt-ic { background: #a8d88a; }
.mp-opt.is-on .mp-opt-ic img { animation: mp-pop .35s ease; }
.mp-opt.is-on .mp-opt-check { background: var(--grass); border-color: var(--grass-dark); box-shadow: none; }
.mp-opt.is-on .mp-opt-check::after { content: ''; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; rotate: 45deg; }
@keyframes mp-pop { 50% { scale: 1.3; } }
.mp-calc-out { position: sticky; top: 100px; padding: 24px 26px 26px; border-radius: var(--r-lg); background: var(--navy); color: #fff; box-shadow: 0 14px 0 rgba(20, 35, 58, .14); }
.mp-calc-label { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9fc2e0; }
.mp-calc-xp { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.mp-calc-lvl { min-width: 34px; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; text-align: center; color: #80ff20; text-shadow: 2px 2px 0 #1a3b00; }
.mp-calc-bar { position: relative; flex: 1; height: 14px; background: #101010; border: 2px solid #000; }
.mp-calc-fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(#a6ff55, #4fb81c); transition: width .5s cubic-bezier(.3, 1.4, .6, 1); }
.mp-calc-bar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), #000 calc(10% - 2px) 10%); }
.mp-build { display: grid; place-items: center; height: 210px; margin-top: 8px; perspective: 900px; }
.mp-build-3d { --c: 46px; position: relative; width: var(--c); height: var(--c); margin-top: 40px; transform-style: preserve-3d; transform: rotateX(-26deg) rotateY(-40deg); animation: mp-build-turn 22s linear infinite; animation-play-state: paused; }
.mp-build.is-live .mp-build-3d { animation-play-state: running; }
@keyframes mp-build-turn { from { transform: rotateX(-26deg) rotateY(0deg); } to { transform: rotateX(-26deg) rotateY(360deg); } }
.mp-bcube { --s: var(--c); position: absolute; inset: 0; transform-style: preserve-3d; transform: translate3d(calc(var(--x) * var(--c) - var(--c) / 2), calc(var(--y) * var(--c) * -1), calc(var(--z) * var(--c) - var(--c) / 2));
  opacity: 0; translate: 0 -90px; transition: opacity .25s ease, translate .5s cubic-bezier(.3, 1.5, .6, 1); }
.mp-bcube.is-on { opacity: 1; translate: 0 0; }
.mp-bcube--1 { --x: 0; --y: 0; --z: 0; } .mp-bcube--2 { --x: 1; --y: 0; --z: 0; } .mp-bcube--3 { --x: 0; --y: 0; --z: 1; } .mp-bcube--4 { --x: 0; --y: 1; --z: 0; }
.mp-bcube--5 { --x: 1; --y: 0; --z: 1; } .mp-bcube--6 { --x: 1; --y: 1; --z: 0; } .mp-bcube--7 { --x: 0; --y: 1; --z: 1; } .mp-bcube--8 { --x: 0; --y: 2; --z: 0; }
.mp-bcube--gold .mp-f { --face: url(../mc/gold_block.png); }
.mp-bcube--bricks .mp-f { --face: url(../mc/stone_bricks.png); }
.mp-bcube--diamond .mp-f { --face: url(../mc/diamond_block.png); }
.mp-scope { padding: 14px 0 4px; border-top: 1px solid rgba(255, 255, 255, .12); }
.mp-scope b { font-family: var(--display); font-size: 22px; color: var(--accent); }
.mp-scope p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #d6e4f1; }
.mp-scope ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-scope li { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 13.5px; color: #e6eef7; }
.mp-scopes.js .mp-scope { display: none; }
.mp-scopes.js .mp-scope.is-active { display: block; animation: mp-chat-in .3s ease-out; }
.mp-calc-note { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: #9fb4c9; }
.mp-calc-out .btn { margin-top: 16px; }

@media (max-width: 1100px) {
  .mp-kinds { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .mp-calc { grid-template-columns: 1fr; }
  .mp-calc-out { position: static; }
}
@media (max-width: 620px) {
  .mp-kind { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .mp-kind-stage { height: 150px; }
  .mp-opt { grid-template-columns: 44px minmax(0, 1fr) 26px; gap: 11px; padding: 10px 12px 10px 10px; }
  .mp-opt-ic { width: 44px; height: 44px; }
  .mp-calc-out .btn { width: 100%; }
}
/* The page's own comparison table (port: what changes; Bedrock: Java vs Bedrock; server setup: the pre-launch
   checklist). On phones each row becomes a card and every cell carries its column name. */
.mp-table-wrap { margin-top: 28px; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 10px 0 rgba(20, 35, 58, .06); overflow: hidden; }
.mp-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.mp-table thead th { padding: 14px 20px; background: #1d2129; color: #e8eef6; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.mp-table tbody th, .mp-table tbody td { padding: 16px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.mp-table tbody th { font-family: var(--display); font-weight: 800; color: var(--ink); white-space: nowrap; }
.mp-table tbody td { color: var(--ink-soft); }
.mp-table tbody tr:nth-child(even) { background: #f6fafd; }
.mp-table--3 tbody td:last-child { font-weight: 700; color: var(--ink); }
.mp-td-label { display: none; }
@media (max-width: 760px) {
  .mp-table thead { display: none; }
  .mp-table, .mp-table tbody, .mp-table tr, .mp-table tbody th, .mp-table tbody td { display: block; width: 100%; }
  .mp-table tbody tr { padding: 14px 18px; border-top: 1px solid var(--line); }
  .mp-table tbody tr:first-child { border-top: 0; }
  .mp-table tbody th, .mp-table tbody td { padding: 0; border: 0; white-space: normal; }
  .mp-table tbody th { margin-bottom: 6px; font-size: 16px; }
  .mp-table tbody td + td { margin-top: 6px; }
  .mp-td-label { display: block; font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
}

/* Phones: the version chart is too wide for a side column of names, and a sideways scroll hid most of the scale.
   Here the eight versions span the full width, and every loader gets its own name line with its bar right below. */
@media (max-width: 620px) {
  .mp-chart { padding: 20px 16px 16px; }
  .mp-chart-scroll { overflow: visible; }
  .mp-chart-grid, .mp-chart-grid--4 { grid-template-columns: repeat(8, 1fr); grid-template-rows: 28px repeat(3, 30px 40px); min-width: 0; }
  .mp-chart-grid--4 { grid-template-rows: 28px repeat(4, 30px 40px); }
  .mp-chart-hot, .mp-chart-grid--4 .mp-chart-hot { grid-row: 1 / -1; border-radius: 8px; }
  .mp-chart-corner { display: none; }
  .mp-chart-ver { font-size: 10.5px; letter-spacing: -.02em; }
  .mp-chart-c1, .mp-chart-hot--1 { grid-column: 1; } .mp-chart-c2, .mp-chart-hot--2 { grid-column: 2; }
  .mp-chart-c3 { grid-column: 3; } .mp-chart-c4 { grid-column: 4; }
  .mp-chart-c5, .mp-chart-hot--5 { grid-column: 5; } .mp-chart-c6, .mp-chart-hot--6 { grid-column: 6; }
  .mp-chart-c7, .mp-chart-hot--7 { grid-column: 7; } .mp-chart-c8, .mp-chart-hot--8 { grid-column: 8; }
  .mp-chart-name { grid-column: 1 / -1; align-self: end; font-size: 14.5px; padding: 0 4px 4px; }
  .mp-chart-name img { width: 18px; height: 18px; }
  .mp-chart-name.mp-chart-r2 { grid-row: 2; } .mp-chart-bar.mp-chart-r2 { grid-row: 3; }
  .mp-chart-name.mp-chart-r3 { grid-row: 4; } .mp-chart-bar.mp-chart-r3 { grid-row: 5; }
  .mp-chart-name.mp-chart-r4 { grid-row: 6; } .mp-chart-bar.mp-chart-r4 { grid-row: 7; }
  .mp-chart-name.mp-chart-r5 { grid-row: 8; } .mp-chart-bar.mp-chart-r5 { grid-row: 9; }
  .mp-chart-bar { height: 30px; margin-inline: 3px; border-width: 2px; }
  .mp-chart-bar--forge { grid-column: 1 / 8; } .mp-chart-bar--neo { grid-column: 6 / 9; } .mp-chart-bar--fabric { grid-column: 3 / 9; }
  .mp-chart-bar--paper, .mp-chart-bar--spigot { grid-column: 1 / 9; } .mp-chart-bar--purpur { grid-column: 3 / 9; } .mp-chart-bar--folia { grid-column: 5 / 9; }
  .mp-chart-range { margin-left: 4px; padding: 1px 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-xitem, .mp-build-3d, .mp-caret, .mp-chart.in .mp-chart-fill::after { animation: none !important; }
  .mp-chart-fill, .mp-chart-range, .mp-bcube, .mp-calc-fill { transition: none; }
  .mp-opt.is-on .mp-opt-ic img { animation: none; }
}
