/* ============================================================
   bulletpies mod wiki · "Blue Sky" skin
   Same markup as the original wiki, restyled to match the site:
   cobalt + orange on warm paper, Bricolage Grotesque + Nunito.
   Per-mod --accent stays; --accent-ink darkens it for text on paper.
   ============================================================ */

:root {
  --bg:        #f7f3ea;
  --bg-2:      #efe9dc;
  --panel:     #ffffff;
  --panel-2:   #f7f3ea;
  --line:      #e3ddd0;
  --line-soft: #eae4d6;
  --ink:       #17192b;
  --ink-2:     #5b5f78;
  --ink-3:     #8a8fa3;
  --accent:    #1b2fd6;      /* overridden per mod */
  --accent-ink: color-mix(in srgb, var(--accent) 58%, #17192b);
  --accent-dim: color-mix(in srgb, var(--accent) 14%, transparent);
  --cobalt:    #1b2fd6;
  --orange:    #f28c28;
  --grass:     #1a7f4e;
  --gold:      #b06a00;
  --redstone:  #c8372d;
  --lapis:     #1b2fd6;
  --amethyst:  #7a3fc0;
  --radius:    20px;
  --shadow:    0 12px 26px rgba(23,25,43,.12);
  --maxw:      1180px;
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --disp: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; font-weight: 700; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; font-family: var(--disp); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
code, kbd { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; }
p, li, dd, td, h1, h2, h3, h4, figcaption { overflow-wrap: break-word; }
kbd {
  background: var(--panel); border: 1.5px solid var(--line);
  border-bottom-width: 3px; border-radius: 6px; padding: .1em .45em; color: var(--ink);
}

.px { image-rendering: pixelated; image-rendering: crisp-edges; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .7em 1.1em; font-weight: 800; z-index: 999; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,234,.88);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 2px solid var(--line);
}
.topbar-in {
  display: flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 10px 18px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.15rem; letter-spacing: -.02em; font-family: var(--disp); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 17px;
  background: var(--cobalt); transform: rotate(-6deg);
  transition: transform .25s;
}
.brand:hover .brand-mark { transform: rotate(6deg); }
.brand-img { width: 34px; height: auto; flex: 0 0 auto; transform: rotate(-6deg); transition: transform .25s; }
.brand:hover .brand-img { transform: rotate(6deg); }
.brand-sub { color: var(--ink-3); font-weight: 700; display: none; }
@media (min-width: 620px) { .brand-sub { display: inline; } }
.topbar-spacer { flex: 1 1 auto; }
.topnav { display: none; gap: 4px; }
@media (min-width: 900px) { .topnav { display: flex; } }
.topnav a {
  color: var(--ink); font-weight: 800; font-size: .92rem;
  padding: .5em .9em; border-radius: 999px;
}
.topnav a:hover { color: var(--cobalt); background: var(--panel); box-shadow: 0 1px 0 var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 900; font-size: .95rem; padding: .75em 1.25em;
  border-radius: 14px; border: 2px solid var(--ink);
  background: var(--panel); color: var(--ink); cursor: pointer;
  transition: transform .12s ease, background .18s ease;
}
.btn:hover { background: var(--panel-2); transform: translateY(-1px); color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange); filter: brightness(1.06); }

/* ---------- hero (wiki landing) ---------- */
.hero { padding: 48px 0 26px; position: relative; }
.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4rem); margin-bottom: .3em;
  color: var(--ink);
}
.hero-lede { font-size: clamp(1.02rem, 3.4vw, 1.24rem); color: var(--ink-2); max-width: 62ch; margin-bottom: 1.4em; font-weight: 600; }
.hero-lede strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.stat b { display: block; font-size: 1.75rem; line-height: 1.1; color: var(--cobalt); font-family: var(--disp); }
.stat span { font-size: .76rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; font-weight: 900; }

/* ---------- section furniture ---------- */
.section { padding: 34px 0; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); max-width: 68ch; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: .5em;
}
.count-pill {
  font-size: .74rem; font-weight: 900; color: var(--ink-2);
  background: var(--panel); box-shadow: 0 1px 0 var(--line);
  padding: .22em .7em; border-radius: 999px; letter-spacing: .04em;
}

/* ---------- search + filters ---------- */
.finder {
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 8px;
}
.search-field { position: relative; }
.search-field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
#modSearch {
  width: 100%; font: inherit; font-weight: 700; color: var(--ink);
  background: var(--bg); border: 2px solid var(--ink);
  border-radius: 999px; padding: .8em 1em .8em 2.7em;
}
#modSearch::placeholder { color: var(--ink-3); font-weight: 600; }
#modSearch:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--accent-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font: inherit; font-size: .84rem; font-weight: 900; cursor: pointer;
  background: var(--panel); color: var(--ink);
  border: 2px solid var(--line); border-radius: 999px; padding: .4em .95em;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder-note { margin: 10px 0 0; font-size: .84rem; color: var(--ink-3); font-weight: 600; }

/* ---------- mod card grid ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent);
}
.card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: var(--shadow); }
.card-top { display: flex; gap: 12px; align-items: flex-start; padding: 18px 16px 0; }
.card-icon {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 14px;
  background: var(--bg); border: 0;
  display: grid; place-items: center; overflow: hidden;
}
.card-icon img { width: 42px; height: 42px; object-fit: contain; }
.card-icon .glyph { font-size: 26px; line-height: 1; }
.card-title { flex: 1 1 auto; min-width: 0; }
.card-title h3 { font-size: 1.12rem; margin: 0 0 .18em; color: var(--ink); }
.card-title .tagline { font-size: .87rem; color: var(--ink-2); margin: 0; font-family: var(--font); }
.card-body { padding: 12px 16px 0; font-size: .9rem; color: var(--ink-2); flex: 1 1 auto; }
.card-foot {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 14px 16px 16px; margin-top: auto;
}

/* ---------- tags / badges ---------- */
.tag {
  font-size: .7rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  padding: .3em .65em; border-radius: 7px;
  background: var(--bg); color: var(--ink-2); border: 0;
  white-space: nowrap;
}
.tag-loader { color: var(--cobalt); }
.tag-ver    { color: var(--ink-2); }
.st {
  font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  padding: .3em .68em; border-radius: 7px; white-space: nowrap; border: 0;
}
.st-released  { color: #fff; background: var(--grass); }
.st-built     { color: #fff; background: var(--cobalt); }
.st-prototype { color: var(--ink); background: #ffd28f; }
.st-design    { color: #fff; background: var(--amethyst); }
.st-parked    { color: #fff; background: #6b7080; }

/* ---------- callouts ---------- */
.note {
  border: 0; border-left: 5px solid var(--accent);
  background: var(--panel); box-shadow: 0 2px 0 var(--line);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px; margin: 0 0 18px;
}
.note h4 { margin: 0 0 .35em; font-size: 1rem; display: flex; align-items: center; gap: .45em; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note-warn { border-left-color: var(--orange); }
.note-warn h4 { color: var(--gold); }
.note-info { border-left-color: var(--cobalt); }
.note-info h4 { color: var(--cobalt); }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li {
  counter-increment: s; position: relative;
  padding: 0 0 0 48px; margin-bottom: 16px; min-height: 34px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--cobalt); color: #fff;
  border: 0;
  display: grid; place-items: center; font-weight: 900; font-size: .95rem;
  font-family: var(--disp);
}
.steps li b { color: var(--ink); }

/* ---------- mod page hero ---------- */
.modhero {
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--line);
  background:
    radial-gradient(680px 320px at 8% 0%, var(--accent-dim), transparent 70%),
    linear-gradient(180deg, #fdfbf5, var(--bg));
}
.modhero-in { padding: 28px 0 32px; }
.crumbs { font-size: .84rem; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
.crumbs a { color: var(--ink-3); font-weight: 800; }
.crumbs a:hover { color: var(--accent-ink); }
.modhero-flex { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.modhero-icon {
  width: 96px; height: 96px; flex: 0 0 auto; border-radius: 22px;
  background: var(--panel); border: 0;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 2px 0 var(--line), var(--shadow);
  animation: hero-pop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes hero-pop { from { transform: scale(.7) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.modhero-icon img { width: 72px; height: 72px; object-fit: contain; }
.modhero-icon .glyph { font-size: 48px; line-height: 1; }
.modhero-text { flex: 1 1 300px; min-width: 0; }
.modhero h1 { font-size: clamp(2rem, 7vw, 3.2rem); margin-bottom: .18em; color: var(--accent-ink); }
.modhero .tagline { font-size: clamp(1rem, 3.6vw, 1.22rem); color: var(--ink-2); margin-bottom: .9em; font-weight: 600; }
.meta-row { display: flex; flex-wrap: wrap; gap: 7px; }

.factbar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 0;
  border-radius: 16px; overflow: hidden; margin-top: 20px;
  box-shadow: 0 2px 0 var(--line);
}
@media (min-width: 760px) { .factbar { grid-template-columns: repeat(4, 1fr); } }
.factbar div { background: var(--panel); padding: 12px 15px; }
.factbar dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 900; margin-bottom: .2em; }
.factbar dd { margin: 0; font-size: .94rem; font-weight: 800; color: var(--ink); }

/* ---------- mod page layout ---------- */
.modlayout { display: block; padding: 28px 0 60px; }
@media (min-width: 1000px) {
  .modlayout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: start; }
}
.toc { display: none; }
@media (min-width: 1000px) {
  .toc { display: block; position: sticky; top: 84px; }
  .toc h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: .8em; font-family: var(--font); font-weight: 900; }
  .toc ol { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
  .toc li { margin: 0; }
  .toc a {
    display: block; padding: .4em 0 .4em 14px; margin-left: -3px;
    border-left: 3px solid transparent;
    color: var(--ink-3); font-size: .87rem; font-weight: 800;
  }
  .toc a:hover, .toc a.active { color: var(--accent-ink); border-left-color: var(--accent); }
}
.modmain > section { scroll-margin-top: 84px; margin-bottom: 42px; }
.modmain h2 {
  font-size: 1.55rem; padding-bottom: .4em; margin-bottom: .8em;
  border-bottom: 2px solid var(--line);
  display: flex; align-items: center; gap: .5em;
}
.modmain h2 .h-emoji { font-size: 1.05em; }
.lede { font-size: 1.1rem; color: var(--ink); }

/* ---------- mechanics ---------- */
.mech { display: grid; gap: 14px; }
.mech article {
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: 16px; padding: 17px 18px;
}
.mech h3 { font-size: 1.08rem; margin-bottom: .4em; color: var(--accent-ink); }
.mech p { margin-bottom: 0; color: var(--ink-2); }
.mech .tip {
  margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line);
  font-size: .88rem; color: var(--ink-2);
}
.mech .tip b { color: var(--gold); }

/* ---------- items ---------- */
.items { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .items { grid-template-columns: repeat(2, 1fr); } }
.item {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: 16px; padding: 14px 15px;
}
.item-art {
  width: 64px; height: 64px; flex: 0 0 auto; border-radius: 12px;
  background:
    linear-gradient(45deg, rgba(23,25,43,.04) 25%, transparent 25%, transparent 75%, rgba(23,25,43,.04) 75%) 0 0/16px 16px,
    linear-gradient(45deg, rgba(23,25,43,.04) 25%, transparent 25%, transparent 75%, rgba(23,25,43,.04) 75%) 8px 8px/16px 16px,
    var(--bg);
  border: 0;
  display: grid; place-items: center; overflow: hidden;
}
.item-art img { width: 48px; height: 48px; object-fit: contain; }
.item-art .glyph { font-size: 26px; opacity: .5; }
.item-txt { min-width: 0; }
.item-txt h4 { font-size: 1rem; margin-bottom: .25em; color: var(--ink); }
.item-txt p { font-size: .88rem; color: var(--ink-2); margin-bottom: .3em; }
.item-txt .get { font-size: .8rem; color: var(--ink-3); }
.item-txt .get b { color: var(--accent-ink); font-weight: 800; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.gal {
  aspect-ratio: 1; border-radius: 12px; padding: 8px;
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  display: grid; place-items: center;
  transition: transform .15s;
}
.gal:hover { transform: translateY(-2px) rotate(-1deg); }
.gal img { width: 100%; height: 100%; object-fit: contain; }
.gal figcaption {
  display: block; font-size: .66rem; color: var(--ink-3); text-align: center;
  margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- lore ---------- */
.lore {
  background: var(--panel);
  border: 0; box-shadow: 0 2px 0 var(--line); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 12px; position: relative;
}
.lore::after {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--accent); opacity: .8;
}
.lore h3 { font-size: 1.05rem; color: var(--accent-ink); margin-bottom: .45em; }
.lore p { margin-bottom: 0; color: var(--ink-2); font-style: italic; }

/* ---------- jokes / trivia ---------- */
.bits { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bits li {
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: 14px; padding: 13px 15px 13px 44px; position: relative;
  color: var(--ink-2); font-size: .94rem; margin: 0;
}
.bits li::before {
  position: absolute; left: 13px; top: 12px; font-size: 1.05rem;
}
.bits-joke li::before { content: "🤡"; }
.bits-trivia li::before { content: "🔧"; }

/* ---------- faq ---------- */
.faq details {
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: 14px; margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 14px 17px; font-weight: 800; color: var(--ink);
  list-style: none; display: flex; gap: .6em; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "?"; color: var(--accent-ink); font-weight: 900; flex: 0 0 auto; font-family: var(--disp); }
.faq summary:hover { background: var(--panel-2); }
.faq details[open] summary { border-bottom: 2px solid var(--line); }
.faq .ans { padding: 13px 17px 15px 35px; color: var(--ink-2); font-size: .94rem; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- related ---------- */
.related { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
.rel {
  display: flex; gap: 11px; align-items: center;
  background: var(--panel); border: 0; box-shadow: 0 2px 0 var(--line);
  border-radius: 14px; padding: 13px 15px; color: inherit;
  transition: transform .15s;
}
.rel:hover { transform: translateY(-2px); }
.rel .glyph { font-size: 24px; }
.rel b { display: block; color: var(--ink); font-size: .96rem; }
.rel span { font-size: .82rem; color: var(--ink-3); }

/* ---------- footer ---------- */
.footer {
  border-top: 2px solid var(--line); background: var(--bg-2);
  padding: 34px 0; margin-top: 20px; color: var(--ink-2); font-size: .9rem;
}
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8em; font-family: var(--font); font-weight: 900; }
.footer ul { list-style: none; padding: 0; }
.footer a { color: var(--ink-2); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--line); }

/* ---------- misc ---------- */
.hidden { display: none !important; }
.empty {
  text-align: center; padding: 40px 20px; color: var(--ink-3);
  border: 2px dashed var(--line); border-radius: var(--radius);
}
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 0; box-shadow: 0 2px 0 var(--line); background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 460px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1.5px solid var(--line-soft); }
th { background: var(--panel-2); color: var(--ink); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--ink-2); }
tr:last-child td { border-bottom: none; }
.totop {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .85rem; font-weight: 800; color: var(--ink-3);
}

/* ---------- Bullet peek (injected back-to-top) ---------- */
.bullet-peek {
  position: fixed; right: 20px; bottom: -8px; z-index: 60;
  border: 0; background: none; padding: 0; cursor: pointer;
  transform: translateY(110%); transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.bullet-peek.show { transform: translateY(0); }
.bullet-peek img { width: 56px; height: auto; filter: drop-shadow(0 4px 8px rgba(23,25,43,.25)); transition: transform .2s; }
.bullet-peek:hover img { transform: translateY(-6px) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .bullet-peek { transition: none; } }

/* ---------- injected crafting recipe gallery ---------- */
.recipe-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .recipe-grid { grid-template-columns: repeat(2, 1fr); } }
.recipe-grid figure { margin: 0; }
.recipe-grid img { width: 100%; height: auto; }
.recipe-grid figcaption { font-size: .82rem; color: var(--ink-3); font-weight: 800; text-align: center; margin-top: 2px; }
