/* Compact public modpack pages. Native links and disclosures need no JS. */
.modpack-page { padding-top: 44px; padding-bottom: 48px; }
.modpack-page h1, .modpack-page h2, .modpack-page p { margin-top: 0; }
.modpack-page h2 { font-size: .85rem; line-height: 1.8; }
.modpack-page a:focus-visible, .modpack-page summary:focus-visible {
  outline: 3px solid var(--accent-2); outline-offset: 5px;
}
.mp-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 52px; align-items: center; padding: 24px 0 44px;
}
.mp-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.mp-icon { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; }
.mp-eyebrow { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.mp-intro h1 { font-size: clamp(1.2rem, 2.35vw, 1.7rem); line-height: 1.65; margin-bottom: 18px; overflow-wrap: anywhere; }
.mp-lead { font-size: 1.05rem; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.mp-install { display: flex; gap: 9px; align-items: center; margin-bottom: 0; font-size: .88rem; font-weight: 600; }
.mp-install span { color: var(--accent); font-size: 1.15rem; }
.mp-offer {
  padding: 28px; background: var(--panel); border: 1px solid var(--border);
  border-top: 4px solid var(--accent); border-radius: 6px; text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.mp-offer-label { font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.mp-price { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.mp-price strong { font-size: 3.4rem; line-height: 1.1; letter-spacing: -.04em; }
.mp-price > span, .mp-resources { color: var(--muted); }
.mp-resources { font-size: .84rem; margin-bottom: 24px; }
.modpack-page .mp-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 18px; font-size: .7rem; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.modpack-page .mp-primary { background: #317d39; color: #fff; }
.mp-offer .mp-primary { width: 100%; }
.mp-offer .mp-offer-note { font-size: .78rem; color: var(--muted); margin: 14px 0 12px; }
.mp-secondary { display: block; font-size: .84rem; line-height: 1.6; }
.mp-sizes { padding: 28px 0 32px; border-block: 1px solid var(--border); scroll-margin-top: 24px; }
.mp-section-heading h2 { margin-bottom: 8px; }
.mp-section-heading p { margin-bottom: 20px; color: var(--muted); font-size: .9rem; }
.mp-size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.mp-size { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 5px; color: var(--text); }
.mp-size:hover { border-color: var(--accent); text-decoration: none; background: var(--panel-2); }
.mp-size > strong { font-size: .95rem; }
.mp-size-price { font-size: 1.35rem; font-weight: 700; }
.mp-size-price small { font-size: .78rem; font-weight: 400; color: var(--muted); }
.mp-size-disk { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .76rem; }
.mp-size-disk > span { color: var(--accent); font-size: 1rem; }
.mp-plan-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .78rem; }
.mp-plan-links a:last-child { color: var(--muted); }
.mp-information { padding: 32px 0; }
.mp-help-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.mp-information h2 { margin-bottom: 18px; }
.mp-source { display: inline-block; font-size: .84rem; margin-bottom: 16px; }
.mp-release-details { font-size: .86rem; }
.mp-release-details .public-release-specs { margin: 0 0 16px; }
.mp-release-details ul { padding-inline-start: 20px; }
.mp-release-details li { margin: 14px 0; line-height: 1.7; }
.mp-help-grid .faq-item { margin: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; }
.mp-help-grid .faq-item summary { padding: 15px 28px 15px 0; font-size: .9rem; }
.mp-help-grid .faq-item p { padding: 0 0 16px; margin: 0; font-size: .88rem; line-height: 1.75; color: var(--muted); }
.mp-closing { text-align: center; }
.mp-closing .mp-primary { min-width: 220px; }
.mp-related { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; font-size: .8rem; }
[dir="rtl"] .mp-help-grid .faq-item summary { padding: 15px 0 15px 28px; }
@media (max-width: 800px) {
  .mp-hero { gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); }
  .mp-offer { padding: 22px; }
  .mp-help-grid { column-gap: 28px; }
}
@media (max-width: 640px) {
  .modpack-page { padding-top: 24px; }
  .mp-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0 0 28px; }
  .mp-identity { margin-bottom: 16px; gap: 14px; }
  .mp-icon { width: 56px; height: 56px; }
  .mp-intro h1 { font-size: 1.2rem; }
  .mp-lead { font-size: .95rem; margin-bottom: 12px; }
  .mp-offer { padding: 22px; }
  .mp-price strong { font-size: 2.8rem; }
  .mp-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-size { padding: 14px; }
  .mp-information { padding: 28px 0; }
  .mp-help-grid { grid-template-columns: minmax(0, 1fr); }
  .mp-closing .mp-primary { width: 100%; }
}
