/* Boosting guides: step timelines, material tables and quick facts. Uses the shared tokens from custom.css. */
.boost-list { max-width: 64rem; }
.boost-list h3 { margin-top: 1.4rem; margin-bottom: .4rem; }
.boost-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; margin-top: 1rem; padding: 0; list-style: none; }
.boost-facts li { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * .75); background: var(--raised); }
.boost-facts b { display: block; color: var(--gold-light); font-family: var(--heading); font-size: 1.05rem; }
.boost-facts span { color: var(--muted); font-size: .9rem; }
.boost-steps { counter-reset: step; list-style: none; padding: 0; }
.boost-steps > li { counter-increment: step; position: relative; padding: .15rem 0 .85rem 2.6rem; }
.boost-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1a1205; font-weight: 700; font-size: .9rem; }
.boost-steps > li:not(:last-child)::after { content: ""; position: absolute; left: .87rem; top: 2rem; bottom: .2rem; width: 2px; background: var(--line); }
.boost-steps ul { margin-top: .35rem; }
.boost-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.boost-timeline li { padding: .7rem .9rem; border-top: 3px solid var(--gold); background: var(--raised); border-radius: .4rem; }
.boost-timeline b { display: block; font-family: var(--mono); color: var(--gold-light); }
.boost-table table { min-width: 32rem; }
.boost-table th:first-child { white-space: nowrap; }
.boost-note { margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--amber); background: #f59e0b14; border-radius: 0 .5rem .5rem 0; }
.boost-note > :first-child { margin-top: 0; }
.boost-sources { columns: 2 18rem; }
/* Game icons (added by js/icons.js, or written into the page). */
.ico-name { white-space: nowrap; }
.ico { display: inline-block; width: 1.5em; height: 1.5em; object-fit: contain; vertical-align: -.42em; margin-right: .3em; }
.boost-facts li:has(.fact-ico) { display: grid; grid-template-columns: 1fr auto; column-gap: .6rem; align-items: start; }
.boost-facts li:has(.fact-ico) > :not(.fact-ico) { grid-column: 1; }
.boost-facts .fact-ico { grid-row: 1 / span 2; grid-column: 2; width: 2.6rem; height: 2.6rem; object-fit: contain; }
.head-ico { display: inline-block; width: 2.2rem; height: 2.2rem; object-fit: contain; vertical-align: -.45rem; margin-right: .5rem; }
.boost-sources li { break-inside: avoid; }

/* A shared guide surface for the Boosting and Planters collection. */
main:has(.boost-list) > .page-heading {
  max-width: none;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 1px solid #91734b66;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 85% 0%, #ad76382b, transparent 58%), linear-gradient(135deg, #1c2b44, #101827);
}
.boost-list { max-width: none; }
.boost-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.boost-facts li, .boost-timeline li {
  background: linear-gradient(155deg, #22324a, #131e30);
  box-shadow: inset 0 1px #c8dbff15;
}
.boost-list .boost-table {
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #0c1524;
  scrollbar-color: #957344 #0c1524;
}
.boost-table th { background: #1d2b42; }
.boost-table td, .boost-table th { padding: .65rem .8rem; }
.boost-table tbody tr:nth-child(even) { background: #a2bdff08; }
.boost-table:focus-visible { outline-offset: 3px; }
.boost-list .ico-name { white-space: normal; }
.boost-list .ico { filter: drop-shadow(0 2px 2px #0007); }
