/* The archive cover and its printed index share a single ruled grid. */
:root[data-theme="green"] {
  color-scheme: dark;
  --page: #0e1718; --surface: #162223; --surface-raised: #1b2928; --tint: #233432;
  --line: #344642; --control: #6a8079; --ink: #f0f1e8; --muted: #adc0b8;
  --accent: #c1deca; --metal: #dec89d; --metal-line: #988257;
  --button-bg: #decca7; --button-hover: #efdfbf; --button-ink: #202821;
  --row-alt: #192726; --row-hover: #293b35;
}
body { background: var(--page) }
.top { border-top: 0; background: var(--surface) }
.brand { gap: 13px; font-size: 1.12rem }
.main-nav .nav-link[aria-current="page"] { background: transparent; border-color: transparent }
.hero-banner, [data-theme="dark"] .hero-banner {
  display: grid; grid-template-columns: 37% minmax(0,1fr); align-items: stretch;
  margin: 25px 0 32px; min-height: clamp(360px,32vw,480px);
  background: #152e29; border: 0; border-radius: 5px; box-shadow: none;
}
.hero-banner .hero-copy { width: auto; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(24px,3.6vw,60px); color: #fffdf3 }
.hero-banner .hero-copy::before { content: ""; position: absolute; inset: 13px -1px 13px 13px; border: 1px solid #b69e694f; border-right: 0; pointer-events: none }
.hero-banner .eyebrow { color: #e0c79b }
.hero-banner .hero-copy > p:not(.eyebrow), [data-theme="dark"] .hero-banner .hero-copy > p:not(.eyebrow) { color: #dfebe2 }
.hero-banner h1, [data-theme="dark"] .hero-banner h1 { color: #fffdf3; margin-block: 16px 20px; font-size: clamp(4rem,7.4vw,7.5rem) }
.hero-banner h1 span { font: 600 clamp(1.5rem,2.5vw,2.4rem)/1.2 var(--display); letter-spacing: .05em }
.hero-button { background: #ecddbb; color: #20352c; border-color: transparent; border-radius: 3px }
.hero-button:hover:not(:disabled) { background: #fff0d2; color: #20352c }
.hero-banner .hero-art, [data-theme="dark"] .hero-banner .hero-art { display: block; position: relative; inset: auto; z-index: 0; mask-image: none; height: auto; min-width: 0; border-left: 2px solid #b79e6a }
.hero-image { position: absolute; inset: 0; object-position: center 42% }
[data-theme="dark"] .hero-art { background: url("./raid-hero-dark.jpg?v=4") center 12% / cover no-repeat }
[data-theme="dark"] .hero-image { display: none }
[data-theme="dark"] .hero-banner::before { content: none }
[data-theme="dark"] .hero-banner::after { z-index: 1 }
.board-context { padding-block: 0 23px; border-bottom: 1px solid var(--metal-line); gap: 28px }
.raid-card-body { border-radius: 5px; box-shadow: none }
.overview { border-radius: 4px; box-shadow: none; background: var(--line) }
.overview strong { font-family: var(--display); font-weight: 500; font-size: clamp(2rem,3.6vw,3.4rem); letter-spacing: -.055em }
.panel { box-shadow: none }
.leaderboard { border-top: 2px solid var(--ink) }
.toolbar { background: var(--surface) }
.hero.compact { border: 0; border-bottom: 1px solid var(--metal-line); border-radius: 0; padding-inline: 0; background: transparent; box-shadow: none }
.hero.compact::after { display: none }
.damage-result, .run-details-heading { border-radius: 5px }
dialog { border-radius: 9px }
@media (max-width:760px) {
  .hero-banner, [data-theme="dark"] .hero-banner { grid-template-columns: 1fr; min-height: 0; margin-block: 16px 22px }
  .hero-banner .hero-art { grid-row: 1; aspect-ratio: 2.05; border: 0; border-bottom: 1px solid #b79e6a }
  .hero-banner .hero-copy { padding: 23px 25px; gap: 4px }
  .hero-banner .hero-copy::before { inset: 9px; border: 1px solid #b69e694f }
  .hero-banner h1 { margin-block: 6px 8px; font-size: clamp(3.5rem,13vw,5.5rem) }
  .hero-banner h1 span { display: inline-block; margin: 0 }
  .hero-button { margin-top: 10px }
  .board-context { gap: 12px; padding-bottom: 16px }
}
.hero-banner .hero-art { background: url("./raid-hero-green.jpg?v=3") center 26% / cover no-repeat }
.hero-banner .hero-image { visibility: hidden }

:root[data-theme="green"] { --accent-soft: #435b50; --danger: #ffaab3; --shadow: 0 8px 32px #07101033 }
[data-theme="green"] .hero-banner { background-color: #152e29 }
[data-theme="green"] .hero-banner h1 { color: #fffdf3 }
