/* Shared camp materials and short, progressive motion. No content depends on JS. */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --surface-raised: #fffaf0;
  --shadow-raised: 0 12px 28px #3d2c1914, 0 2px 5px #3d2c1908;
}
body { background: radial-gradient(ellipse at 75% 0, #fffaf1, transparent 65%), #eee5d3; }
main { min-height: 55vh; }
main:focus { outline: none; }
.topbar { background: linear-gradient(110deg, #302a22, #1e211c); box-shadow: 0 3px 18px #231d211a; }
.topbar-inner { gap: 26px; }
.topbar nav { gap: 22px; min-width: 0; }
.topbar nav a { transition: color 160ms ease; }
.topbar nav a::after {
  content: ''; position: absolute; height: 3px; left: 0; right: 0; bottom: 0;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.topbar nav a:hover::after, .topbar nav a[aria-current=page]::after { transform: scaleX(1); }
.camp-banner { min-height: 288px; padding: 38px 42px; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 30px #35281c1c; }
.camp-banner h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.3; letter-spacing: .035em; }
.camp-banner .eyebrow { font-size: 11px; letter-spacing: .18em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 26px; }
.hero-actions > span { color: #e7d2af; font-size: 12px; }
.hero-actions .button { border-color: #c69c63; padding: 11px 20px; }
.banner-seal { border-radius: 3px; border-color: #cba56b88; background: #29241ee8; font-size: 32px; }
.button, .start-links a, .mod-card, .categories > a, .version-filters a {
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 160ms ease, background-color 160ms ease;
}
.button { border-radius: 4px; }
.button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #30201122; }
.start-links { gap: 14px; margin-bottom: 36px; }
.start-links a { position: relative; border-radius: 5px; padding: 20px 22px 20px 26px; box-shadow: 0 2px 5px #3d2c1905; }
.start-links a::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; background: #aa7a42; border-radius: 0 2px 2px 0; }
.start-links strong { font-size: 18px; color: #473425; }
.start-links span { color: #6f604c; line-height: 1.7; }
.categories > a { border-radius: 3px; }
.section-heading { align-items: center; }
.searchbar { padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: #f8f0e0; gap: 10px; }
.searchbar input, .searchbar select { background: #fffaf0; border-radius: 3px; }
.mod-card { border-radius: 6px; overflow: hidden; background: var(--surface-raised); box-shadow: 0 3px 10px #3d2c1908; }
.card-art { overflow: hidden; }
.card-art img { transition: transform 420ms var(--ease-out); }
.card-body { padding: 22px; }
.card-heading h3 { line-height: 1.55; }
.card-body > p { color: #665744; line-height: 1.85; }
.card-meta { padding-top: 12px; border-top: 1px solid #e8ddc9; }
.card-more { font-weight: 600; text-underline-offset: 4px; }
.card-more:hover { text-decoration: underline; }
.panel, .install-panel { border-radius: 6px; box-shadow: 0 3px 14px #3d2c1908; }
.page-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.download-feature { background: linear-gradient(125deg, #fffaf0, #ede0c5); border-top: 3px solid #a47b46; }
.footer { align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.motion-toggle { color: #695a46; font-size: 12px; text-decoration-style: dotted; }
.motion-toggle:disabled { cursor: default; opacity: 1; }
.motion-toggle[hidden] { display: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:not([data-motion=reduce]) .button:hover { transform: translateY(-1px); }
  html:not([data-motion=reduce]) .start-links a:hover,
  html:not([data-motion=reduce]) .mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); border-color: #aa7a42; }
  html:not([data-motion=reduce]) .mod-card:hover .card-art img { transform: scale(1.035); }
}
@media (min-width: 901px) {
  .categories { align-self: start; position: sticky; top: 24px; }
}
@media (max-width: 1200px) {
  .topbar-inner { gap: 8px 20px; }
  .topbar nav { gap: 26px; }
}
@media (max-width: 700px) {
  .camp-banner { padding: 28px 24px; min-height: 270px; }
  .camp-banner h1 { font-size: 28px; }
  .hero-actions { margin-top: 22px; }
  .start-links { gap: 10px; margin-bottom: 28px; }
  .start-links a { padding: 15px 20px; }
  .start-links strong { font-size: 17px; margin-bottom: 3px; }
  .start-links a::before { top: 16px; bottom: 16px; }
  .searchbar { padding: 12px; }
  .searchbar input { min-width: 0; }
  .searchbar select { min-width: 0; }
  .card-body { padding: 20px; }
  .footer { align-items: flex-start; }
  .topbar nav { scrollbar-width: thin; scrollbar-color: #917747 #25231e; }
}
html[data-motion=reduce] *, html[data-motion=reduce] *::before, html[data-motion=reduce] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
