:root {
  color-scheme: dark;
  --ink: #f5f1df;
  --muted: #c8bd98;
  --panel: rgba(13, 12, 10, 0.78);
  --panel-strong: rgba(20, 18, 13, 0.94);
  --gold: #f0c24d;
  --green: #27b273;
  --line: rgba(240, 194, 77, 0.28);
}

@font-face {
  font-family: "LifeCraft";
  src: url("/assets/fonts/LifeCraft.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(2, 5, 6, 0.9), rgba(2, 5, 6, 0.36) 48%, rgba(2, 5, 6, 0.92)),
    url("/assets/megaserver-web-hero.png") top center / cover no-repeat fixed,
    #030706;
}

body.eclipse-page {
  background:
    linear-gradient(90deg, rgba(8, 5, 2, 0.92), rgba(8, 5, 2, 0.42) 45%, rgba(8, 5, 2, 0.94)),
    url("/assets/wow-planning-bg.png") top center / cover no-repeat fixed,
    #070402;
}

a {
  color: inherit;
  text-decoration: none;
}

.portal-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 7, 8, 0.72);
  backdrop-filter: blur(18px);
}

.portal-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  font-weight: 900;
}

.portal-tab.active {
  color: #07100b;
  border-color: var(--gold);
  background: var(--gold);
}

.portal-tab.muted {
  opacity: 0.72;
}

.portal-hero,
.eclipse-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 34px;
  align-items: end;
  margin-top: 26px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(240, 194, 77, 0.16), transparent 48%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.eclipse-hero {
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(240, 194, 77, 0.22), rgba(39, 178, 115, 0.08)),
    var(--panel);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.portal-signal {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(240, 194, 77, 0.42);
  border-radius: 24px;
  background: rgba(5, 7, 8, 0.72);
  box-shadow: inset 0 0 70px rgba(240, 194, 77, 0.12);
}

.portal-signal span {
  color: var(--gold);
  font-size: 6rem;
  font-weight: 1000;
  line-height: 1;
}

.portal-signal b {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

.portal-grid,
.eclipse-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.portal-card,
.eclipse-board article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  background: var(--panel-strong);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}

.portal-card.primary {
  border-color: rgba(39, 178, 115, 0.42);
}

.portal-card.eclipse {
  border-color: rgba(240, 194, 77, 0.48);
}

.card-kicker,
.eclipse-board span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-card strong,
.eclipse-board strong {
  display: block;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.portal-card p,
.eclipse-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.eclipse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 18px;
  color: #0d0a04;
  background: var(--gold);
  font-weight: 900;
}

.action-button.ghost {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 820px) {
  .portal-hero {
    grid-template-columns: 1fr;
  }

  .portal-signal {
    width: min(210px, 100%);
  }

  .portal-grid,
  .eclipse-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .portal-shell {
    width: min(100% - 18px, 1180px);
  }

  .portal-tabs {
    align-items: stretch;
  }

  .portal-tab {
    flex: 1 1 auto;
    justify-content: center;
  }

  .portal-hero,
  .eclipse-hero {
    min-height: 0;
    padding: 22px;
  }
}

/* Eclipse modern guild-home pass. */
.eclipse-modern {
  width: min(1460px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

.guild-topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  padding: 8px 12px;
  background:
    linear-gradient(180deg, rgba(24, 22, 17, 0.92), rgba(5, 5, 4, 0.94)),
    rgba(8, 8, 7, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.guild-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.guild-logo img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 173, 69, 0.42);
  border-radius: 8px;
  object-fit: cover;
}

.guild-logo span,
.guild-logo strong,
.guild-logo em {
  display: block;
  min-width: 0;
}

.guild-logo strong {
  color: var(--eclipse-ink);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 0.92;
}

.guild-logo em {
  color: var(--eclipse-muted);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guild-topbar nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.guild-topbar nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 12px;
  color: var(--eclipse-muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.guild-topbar nav a:hover {
  color: var(--eclipse-ink);
  border-color: rgba(215, 173, 69, 0.28);
  background: rgba(215, 173, 69, 0.12);
}

.guild-hero {
  min-height: min(720px, calc(100vh - 96px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
  margin-top: 16px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  padding: clamp(72px, 7vw, 96px) clamp(18px, 4vw, 48px) clamp(24px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.96), rgba(5, 5, 4, 0.44) 46%, rgba(5, 5, 4, 0.86)),
    linear-gradient(0deg, rgba(5, 5, 4, 0.94), transparent 42%),
    #090806 url("/assets/eclipse/eclipse-hero-battle.png") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.guild-hero-copy {
  max-width: 780px;
  display: grid;
  align-content: end;
  padding-bottom: clamp(6px, 2vw, 24px);
}

.guild-hero h1 {
  margin: 0;
  color: var(--eclipse-ink);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 12vw, 11.2rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.84);
}

.guild-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--eclipse-muted);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 132px));
  gap: 10px;
  margin-top: 24px;
}

.hero-ledger b {
  min-width: 0;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 6px;
  padding: 12px;
  color: var(--eclipse-ink);
  background:
    linear-gradient(180deg, rgba(232, 223, 195, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(8, 7, 5, 0.76);
}

.hero-ledger strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 0.92;
}

.hero-ledger em {
  color: var(--eclipse-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.guild-actions a,
.apply-band > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 173, 69, 0.78);
  border-radius: 8px;
  padding: 0 16px;
  color: #110d06;
  background: var(--eclipse-gold);
  font-weight: 1000;
}

.guild-actions a + a {
  color: var(--eclipse-ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.death-panel,
.guild-card,
.rule-panel,
.officer-showcase article,
.apply-band {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  background: rgba(9, 9, 8, 0.9);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.death-panel {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.96), rgba(17, 14, 10, 0.94)),
    rgba(9, 9, 8, 0.9);
}

#eclipse-honor-roll,
.eclipse-feed {
  display: grid;
  gap: 10px;
}

.death-panel > span,
.card-head span,
.battle-strip span,
.rule-panel span,
.officer-showcase span,
.apply-band span {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.death-row {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.death-row.tomb-row {
  border-color: rgba(201, 70, 47, 0.22);
  background:
    linear-gradient(90deg, rgba(201, 70, 47, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.death-row b {
  color: var(--eclipse-ink);
}

.death-row em {
  color: var(--eclipse-muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.feed-row {
  min-width: 0;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.feed-row b {
  min-width: 0;
  color: var(--eclipse-green);
  font-size: 0.76rem;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.feed-row em {
  min-width: 0;
  color: var(--eclipse-muted);
  font-style: normal;
  line-height: 1.38;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guild-dashboard {
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(280px, 0.85fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.guild-card {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.card-head strong {
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.member-list {
  display: grid;
  gap: 8px;
}

.member-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.member-row i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #100d06;
  background: var(--eclipse-gold);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 1000;
}

.member-row.lead i {
  background: var(--eclipse-blue);
}

.member-row.officer i {
  background: var(--eclipse-green);
}

.member-row span,
.member-row strong,
.member-row em {
  display: block;
  min-width: 0;
}

.member-row strong {
  color: var(--eclipse-ink);
}

.member-row em {
  color: var(--eclipse-muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.member-row b {
  color: var(--eclipse-green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.boss-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.boss-track span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  color: var(--eclipse-muted);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 1000;
}

.boss-track span.done {
  color: #101006;
  background: var(--eclipse-green);
}

.boss-track span.current {
  color: #110d06;
  border-color: rgba(215, 173, 69, 0.82);
  background: var(--eclipse-gold);
  box-shadow: 0 0 28px rgba(215, 173, 69, 0.18);
}

.progression-card p,
.news-card p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

.realm-intel-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1.66fr);
  gap: clamp(18px, 2.2vw, 30px);
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.98), rgba(10, 9, 7, 0.74)),
    url("/assets/eclipse/eclipse-portal.png") right -30px center / 260px 260px no-repeat,
    rgba(9, 9, 8, 0.94);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.realm-intel-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.realm-intel-copy span,
.phase-map span,
.source-strip a {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.realm-intel-copy h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.18rem, 3.05vw, 3.08rem);
  line-height: 1;
  max-width: 8ch;
  overflow-wrap: normal;
}

.realm-intel-copy p {
  max-width: 430px;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
}

.phase-map {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.phase-map b {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 138px;
  border: 1px solid rgba(215, 173, 69, 0.2);
  border-radius: 6px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(232, 223, 195, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(5, 5, 4, 0.84);
}

.phase-map strong {
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.phase-map em {
  color: var(--eclipse-muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.source-strip {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.source-strip a {
  border: 1px solid rgba(215, 173, 69, 0.2);
  border-radius: 4px;
  padding: 7px 9px;
  color: var(--eclipse-muted);
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.06em;
}

.source-strip a:hover {
  color: var(--eclipse-ink);
  border-color: rgba(215, 173, 69, 0.42);
}

.guild-hero,
.realm-intel-section,
.chronicle-section,
.guild-dashboard,
.characters-section,
.raids-section,
.world-buffs-section,
.graveyard-section,
.battle-strip,
.codex-grid,
.guild-info-section,
.officer-showcase,
.apply-band {
  scroll-margin-top: 92px;
}

.chronicle-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 1.56fr);
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.98), rgba(8, 8, 7, 0.72)),
    url("/assets/eclipse/eclipse-raid-clash.png") right center / cover no-repeat,
    rgba(8, 8, 7, 0.94);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.chronicle-head {
  display: grid;
  align-content: start;
  gap: 12px;
}

.chronicle-head span,
.chronicle-event span,
.chronicle-event a {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chronicle-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.2vw, 4.8rem);
  line-height: 0.96;
}

.chronicle-head p {
  max-width: 480px;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.6;
}

.chronicle-rail {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chronicle-event {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(7, 7, 6, 0.9);
}

.chronicle-event.type-leadership {
  border-color: rgba(215, 173, 69, 0.34);
  background:
    linear-gradient(180deg, rgba(215, 173, 69, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(7, 7, 6, 0.9);
}

.chronicle-event.type-graveyard,
.chronicle-event.type-near-miss {
  border-color: rgba(198, 72, 62, 0.34);
}

.chronicle-event.type-kill,
.chronicle-event.type-progression {
  border-color: rgba(57, 208, 112, 0.3);
}

.chronicle-event strong {
  min-width: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.chronicle-event p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.46;
  overflow-wrap: anywhere;
}

.chronicle-cast {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chronicle-cast b {
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 4px;
  padding: 4px 7px;
  color: var(--eclipse-ink);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
}

.battle-strip,
.officer-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
  margin-top: 14px;
}

.battle-strip {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #080706;
}

.graveyard-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.96), rgba(8, 8, 7, 0.78)),
    url("/assets/eclipse/eclipse-portal.png") left -40px bottom -70px / 280px 280px no-repeat,
    rgba(8, 8, 7, 0.92);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.characters-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(9, 9, 8, 0.98), rgba(9, 9, 8, 0.78)),
    url("/assets/eclipse/eclipse-officer-table.png") left center / cover no-repeat;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.characters-head,
.characters-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.characters-head span,
.character-card span,
.roster-source {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.characters-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  line-height: 0.96;
}

.characters-head p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
}

.character-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.character-stats b {
  min-width: 0;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.character-stats strong {
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.character-stats em {
  color: var(--eclipse-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-stack {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(7, 7, 6, 0.82);
}

.class-meter {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 34px;
  gap: 9px;
  align-items: center;
  color: var(--eclipse-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.class-meter span,
.class-meter b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.class-meter i {
  height: 8px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.character-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.character-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(7, 7, 6, 0.88);
}

.character-card strong {
  min-width: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.character-card p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.roster-source {
  justify-self: start;
  letter-spacing: 0.06em;
}

.class-warrior { color: #c79c6e; }
.class-paladin { color: #f58cba; }
.class-priest { color: #f0edf2; }
.class-mage { color: #69ccf0; }
.class-warlock { color: #9482c9; }
.class-rogue { color: #fff468; }
.class-druid { color: #ff7d0a; }
.class-hunter { color: #abd473; }

.raids-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(9, 9, 8, 0.97), rgba(9, 9, 8, 0.8)),
    url("/assets/eclipse/eclipse-raid-clash.png") right center / cover no-repeat;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.raids-head {
  display: grid;
  align-content: start;
  gap: 12px;
}

.raids-head span,
.raid-card span,
.raid-links a {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.raids-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  line-height: 0.96;
}

.raids-head p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
}

.raid-board {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.raid-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(215, 173, 69, 0.2);
  border-radius: 8px;
  padding: 14px;
  background: rgba(7, 7, 6, 0.88);
}

.raid-card.upcoming {
  border-color: rgba(57, 208, 112, 0.34);
  background: rgba(10, 21, 13, 0.82);
}

.raid-card.ended {
  opacity: 0.72;
}

.raid-card strong {
  min-width: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.raid-card time,
.raid-card p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.raid-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.raid-links a {
  letter-spacing: 0.06em;
}

.world-buffs-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1.56fr);
  gap: 14px;
  margin-top: 14px;
  border: 1px solid rgba(39, 178, 115, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.98), rgba(7, 7, 6, 0.78)),
    url("/assets/eclipse/eclipse-portal.png") right 18px center / 220px 220px no-repeat,
    rgba(7, 7, 6, 0.94);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.world-buffs-head {
  display: grid;
  align-content: start;
  gap: 12px;
}

.world-buffs-head span,
.world-buffs-head a,
.buff-card span {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.world-buffs-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.1vw, 4.6rem);
  line-height: 0.96;
}

.world-buffs-head p {
  max-width: 440px;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.58;
}

.buff-board {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.buff-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(39, 178, 115, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(7, 7, 6, 0.88);
}

.buff-card.next {
  border-color: rgba(57, 208, 112, 0.42);
  box-shadow: inset 0 0 34px rgba(39, 178, 115, 0.08);
}

.buff-card strong {
  min-width: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.buff-card time,
.buff-card p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.graveyard-head {
  display: grid;
  align-content: start;
  gap: 12px;
}

.graveyard-head span,
.grave-card span,
.grave-source,
.grave-media-link {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.graveyard-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  line-height: 0.96;
}

.graveyard-head p {
  max-width: 440px;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.6;
}

.graveyard-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.grave-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.grave-card.tombstone {
  position: relative;
  padding-top: 18px;
  background:
    linear-gradient(180deg, rgba(215, 173, 69, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(7, 7, 6, 0.88);
}

.grave-card.tombstone > i {
  width: 54px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 28px 28px 8px 8px;
  color: var(--eclipse-parchment-ink);
  background: var(--eclipse-parchment);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 1000;
  box-shadow: inset 0 -12px 20px rgba(0, 0, 0, 0.18);
}

.grave-card.featured {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(215, 173, 69, 0.12), rgba(255, 255, 255, 0.035));
}

.grave-card strong {
  min-width: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.grave-card p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.grave-card > b {
  justify-self: start;
  border: 1px solid rgba(201, 70, 47, 0.38);
  border-radius: 8px;
  padding: 5px 8px;
  color: #ff8d72;
  background: rgba(201, 70, 47, 0.12);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.grave-card img {
  width: 100%;
  max-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  object-fit: cover;
  background: #050504;
}

.grave-source,
.grave-media-link {
  letter-spacing: 0.06em;
}

.battle-strip img,
.officer-showcase img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  object-fit: cover;
}

.battle-strip div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 44px);
  background: rgba(9, 9, 8, 0.94);
}

.battle-strip h2,
.officer-showcase h2,
.apply-band h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.96;
}

.battle-strip p,
.officer-showcase p,
.rule-panel p,
.apply-band p {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.rule-panel {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
}

.rule-panel h3 {
  min-width: 0;
  margin: 0;
  color: var(--eclipse-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.guild-info-section {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(9, 9, 8, 0.92);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.guild-info-head {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.guild-info-head span,
.guild-info-columns span {
  color: var(--eclipse-green);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guild-info-head h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.9rem);
  line-height: 0.96;
}

.guild-info-head p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.62;
}

.guild-info-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr) minmax(260px, 0.85fr);
  gap: 12px;
}

.guild-info-columns article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(215, 173, 69, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.guild-info-columns ol {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--eclipse-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.guild-info-columns li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-list {
  display: grid;
  gap: 10px;
}

.info-list p {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.4;
}

.info-list b {
  color: var(--eclipse-ink);
  overflow-wrap: anywhere;
}

.info-list em {
  color: var(--eclipse-muted);
  font-style: normal;
  overflow-wrap: anywhere;
}

.officer-showcase article {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 42px);
}

.officer-showcase img {
  border-radius: 8px;
}

.officer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.officer-tags b {
  border: 1px solid rgba(215, 173, 69, 0.24);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--eclipse-ink);
  background: rgba(255, 255, 255, 0.05);
}

.apply-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 18px;
  align-items: start;
  margin-top: 14px;
  padding: clamp(20px, 4vw, 38px);
  background:
    rgba(8, 8, 7, 0.88)
    url("/assets/eclipse/eclipse-portal.png") right 24px center / 190px 190px no-repeat;
}

.apply-band div {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.apply-form {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5, 5, 4, 0.82);
}

.apply-form label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--eclipse-muted);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(215, 173, 69, 0.2);
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--eclipse-ink);
  background: rgba(255, 255, 255, 0.055);
  font: 900 0.95rem Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  letter-spacing: 0;
  outline: none;
}

.apply-form textarea {
  resize: vertical;
  line-height: 1.4;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: rgba(57, 208, 112, 0.55);
  box-shadow: 0 0 0 3px rgba(57, 208, 112, 0.1);
}

.form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.apply-form button {
  min-height: 46px;
  border: 1px solid rgba(215, 173, 69, 0.78);
  border-radius: 6px;
  color: #110d06;
  background: var(--eclipse-gold);
  font-weight: 1000;
  cursor: pointer;
}

.apply-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.apply-status {
  min-height: 20px;
  margin: 0;
  color: var(--eclipse-green);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1040px) {
  .guild-hero,
  .guild-dashboard,
  .realm-intel-section,
  .chronicle-section,
  .characters-section,
  .raids-section,
  .world-buffs-section,
  .graveyard-section,
  .battle-strip,
  .officer-showcase,
  .codex-grid,
  .guild-info-columns,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .phase-map,
  .source-strip {
    grid-column: auto;
  }

  .phase-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buff-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chronicle-rail {
    grid-template-columns: 1fr;
  }

  .death-panel {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  .eclipse-modern {
    width: min(100% - 14px, 1420px);
    padding-top: 8px;
  }

  .guild-topbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .guild-topbar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .guild-topbar nav a {
    justify-content: center;
    border: 1px solid rgba(215, 173, 69, 0.16);
    background: rgba(255, 255, 255, 0.035);
  }

  .guild-hero {
    min-height: 560px;
    padding: 18px;
  }

  .hero-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guild-hero h1 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .guild-hero-copy {
    padding: 18px 6px 8px;
  }

  .boss-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phase-map {
    grid-template-columns: 1fr;
  }

  .buff-board {
    grid-template-columns: 1fr;
  }

  .form-pair {
    grid-template-columns: 1fr;
  }

  .graveyard-grid {
    grid-template-columns: 1fr;
  }

  .raid-board {
    grid-template-columns: 1fr;
  }

  .character-stats,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .class-meter {
    grid-template-columns: 72px minmax(0, 1fr) 30px;
  }

  .battle-strip img,
  .officer-showcase img {
    min-height: 280px;
  }
}

/* Eclipse guild page: image-led, stone-and-parchment UI. */
.eclipse-page {
  --eclipse-ink: #f4ebcf;
  --eclipse-muted: #c9b98a;
  --eclipse-stone: #11100d;
  --eclipse-stone-2: #1c1913;
  --eclipse-parchment: #e8dfc3;
  --eclipse-parchment-ink: #17120a;
  --eclipse-gold: #d7ad45;
  --eclipse-blue: #31a4ff;
  --eclipse-green: #39d070;
  --eclipse-red: #c9462f;
  min-height: 100vh;
  color: var(--eclipse-ink);
  background: #070604 url("/assets/eclipse/eclipse-hero-battle.png") center top / cover fixed no-repeat;
}

.eclipse-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(4, 4, 3, 0.54);
  pointer-events: none;
}

.eclipse-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 48px;
}

.eclipse-rail {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(215, 173, 69, 0.32);
  border-radius: 8px;
  padding: 14px;
  background-color: rgba(13, 12, 9, 0.92);
  background-image: url("/assets/eclipse/eclipse-officer-table.png");
  background-size: auto 100%;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.eclipse-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.78);
}

.eclipse-rail > * {
  position: relative;
}

.eclipse-crest {
  width: 128px;
  aspect-ratio: 1;
  margin: 0 auto 8px;
  border: 1px solid rgba(215, 173, 69, 0.5);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(215, 173, 69, 0.22);
}

.rail-title,
.rail-server {
  display: block;
  text-align: center;
}

.rail-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--eclipse-gold);
  font-size: 2.3rem;
  line-height: 1;
}

.rail-server {
  color: var(--eclipse-muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.eclipse-rail nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  align-content: start;
}

.eclipse-rail nav a,
.eclipse-tabs a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--eclipse-ink);
  background: rgba(28, 25, 19, 0.88);
  font-weight: 900;
}

.eclipse-rail nav a:hover,
.eclipse-tabs a:hover {
  border-color: rgba(49, 164, 255, 0.58);
  color: #ffffff;
}

.eclipse-main {
  display: grid;
  gap: 16px;
}

.eclipse-page .eclipse-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  border: 1px solid rgba(215, 173, 69, 0.3);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 46px);
  background: #0b0a08 url("/assets/eclipse/eclipse-hero-battle.png") center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.hero-panel {
  max-width: 760px;
  border: 1px solid rgba(215, 173, 69, 0.34);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
  background: rgba(8, 7, 5, 0.82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.eclipse-page .eyebrow {
  color: var(--eclipse-gold);
}

.eclipse-page h1,
.eclipse-page h2,
.eclipse-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.eclipse-page h1 {
  max-width: 660px;
  font-size: clamp(3.8rem, 9vw, 8.4rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.eclipse-page .lead {
  color: var(--eclipse-muted);
}

.eclipse-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(215, 173, 69, 0.22);
  border-radius: 8px;
  padding: 8px;
  background: rgba(12, 11, 8, 0.94);
}

.eclipse-tabs a.active {
  color: #130e06;
  background: var(--eclipse-gold);
}

.guild-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 16px;
}

.wiki-stack {
  display: grid;
  gap: 12px;
}

.toc-card,
.recruiting-board article {
  border: 1px solid rgba(215, 173, 69, 0.25);
  border-radius: 8px;
  padding: 18px;
  background-color: rgba(13, 12, 9, 0.94);
  background-image: url("/assets/eclipse/eclipse-officer-table.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.toc-card > *,
.recruiting-board article > * {
  position: relative;
}

.toc-card::before,
.recruiting-board article::before {
  content: "";
  position: absolute;
  inset: 0;
}

.toc-card {
  position: relative;
}

.toc-card::before,
.recruiting-board article::before {
  background: rgba(10, 9, 7, 0.82);
}

.toc-card h2,
.toc-card h3 {
  margin: 0 0 12px;
  color: var(--eclipse-gold);
}

.toc-card ol {
  margin: 0;
  padding-left: 22px;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

.toc-card.compact {
  display: grid;
  gap: 8px;
}

.toc-card.compact a {
  color: var(--eclipse-ink);
  text-decoration: underline;
  text-decoration-color: rgba(215, 173, 69, 0.42);
  text-underline-offset: 3px;
}

.parchment {
  color: var(--eclipse-parchment-ink);
  border: 1px solid #8b7345;
  border-radius: 8px;
  background-color: var(--eclipse-parchment);
  background-image:
    url("/assets/eclipse/eclipse-officer-table.png");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 999px rgba(232, 223, 195, 0.86), 0 18px 50px rgba(0, 0, 0, 0.32);
}

.article-panel,
.officer-copy {
  padding: clamp(20px, 3vw, 34px);
}

.article-label,
.feature-copy span,
.recruiting-board span {
  color: #6f4e17;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-panel h2,
.officer-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.article-panel p,
.officer-copy p,
.officer-copy li {
  font-size: 1.02rem;
  line-height: 1.65;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.rule-grid section {
  border: 1px solid rgba(95, 69, 28, 0.32);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 248, 222, 0.38);
}

.rule-grid h3 {
  margin: 0 0 8px;
  color: #3b2810;
  font-size: 1.45rem;
}

.rule-grid p {
  margin: 0;
}

.image-feature,
.officer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.image-feature {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(215, 173, 69, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: #090806;
}

.image-feature img,
.officer-grid img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(13, 12, 9, 0.94);
}

.feature-copy span,
.recruiting-board span {
  color: var(--eclipse-green);
}

.feature-copy h2 {
  margin: 0;
  color: var(--eclipse-gold);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
}

.feature-copy p {
  margin: 0;
  color: var(--eclipse-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.officer-grid article {
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
}

.officer-roster {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.officer-roster section {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(95, 69, 28, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 248, 222, 0.42);
}

.officer-roster span {
  color: #6f4e17;
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.officer-roster strong {
  display: block;
  color: #1d1308;
  font-size: 1.08rem;
  line-height: 1.2;
}

.recruiting-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recruiting-board article {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
}

.recruiting-board strong {
  display: block;
  color: var(--eclipse-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.recruiting-board p {
  margin: 0;
  color: var(--eclipse-muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .eclipse-shell {
    grid-template-columns: 1fr;
  }

  .eclipse-rail {
    position: static;
    height: auto;
  }

  .eclipse-rail nav,
  .eclipse-tabs,
  .guild-layout,
  .image-feature,
  .officer-grid,
  .recruiting-board {
    grid-template-columns: 1fr;
  }

  .eclipse-rail nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .eclipse-shell {
    width: min(100% - 14px, 1480px);
  }

  .eclipse-page .eclipse-hero {
    min-height: 520px;
    padding: 12px;
  }

  .hero-panel {
    padding: 16px;
  }

  .eclipse-rail nav,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .eclipse-page h1 {
    font-size: clamp(3.2rem, 20vw, 5.6rem);
  }
}

.eclipse-modern .guild-logo strong,
.eclipse-modern .guild-hero h1 {
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
}

.eclipse-modern .card-head strong,
.eclipse-modern .realm-intel-copy h2,
.eclipse-modern .characters-head h2,
.eclipse-modern .raids-head h2,
.eclipse-modern .graveyard-head h2,
.eclipse-modern .battle-strip h2,
.eclipse-modern .officer-showcase h2,
.eclipse-modern .apply-band h2,
.eclipse-modern .guild-info-head h2 {
  font-family: Georgia, "Times New Roman", serif;
}

/* Eclipse premium guild-site pass */
body.eclipse-page {
  --eclipse-bg: #050606;
  --eclipse-surface: rgba(12, 13, 12, 0.74);
  --eclipse-surface-strong: rgba(15, 16, 15, 0.88);
  --eclipse-card: rgba(18, 18, 17, 0.72);
  --eclipse-card-soft: rgba(255, 255, 255, 0.045);
  --eclipse-border-subtle: rgba(235, 205, 132, 0.12);
  --eclipse-border-mid: rgba(235, 205, 132, 0.2);
  --eclipse-shadow-soft: 0 18px 56px rgba(0, 0, 0, 0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 173, 69, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.68), #050606 520px),
    url("/assets/eclipse/eclipse-hero-battle.png") top center / 1800px auto no-repeat fixed,
    var(--eclipse-bg);
}

.eclipse-modern {
  width: min(1320px, calc(100% - 32px));
  padding: 14px 0 48px;
}

.guild-topbar {
  top: 10px;
  min-height: 58px;
  border-color: var(--eclipse-border-subtle);
  border-radius: 3px;
  padding: 7px 10px;
  background:
    linear-gradient(180deg, rgba(16, 17, 16, 0.94), rgba(5, 5, 5, 0.92)),
    rgba(5, 5, 5, 0.86);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.guild-logo img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border-color: rgba(215, 173, 69, 0.3);
}

.guild-logo strong {
  font-size: 1.32rem;
}

.guild-logo em {
  font-size: 0.66rem;
}

.guild-topbar nav {
  gap: 2px;
}

.guild-topbar nav a {
  min-height: 34px;
  border-radius: 2px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.guild-topbar nav a:hover {
  border-color: rgba(215, 173, 69, 0.22);
  background: rgba(215, 173, 69, 0.1);
}

.guild-hero {
  min-height: clamp(430px, 54vw, 590px);
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 320px);
  gap: clamp(14px, 2vw, 24px);
  margin-top: 12px;
  border-color: var(--eclipse-border-subtle);
  border-radius: 4px;
  padding: clamp(58px, 7vw, 92px) clamp(22px, 4vw, 46px) clamp(26px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.96), rgba(5, 6, 6, 0.32) 45%, rgba(5, 6, 6, 0.86)),
    linear-gradient(0deg, rgba(5, 6, 6, 0.98), rgba(5, 6, 6, 0.1) 42%),
    #080807 url("/assets/eclipse/eclipse-raid-clash.png") center / cover no-repeat;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

.guild-hero-copy {
  max-width: 660px;
  padding-bottom: 0;
}

.guild-hero h1 {
  font-size: clamp(3.4rem, 8.2vw, 7.4rem);
  line-height: 0.86;
}

.guild-hero p {
  max-width: 590px;
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.guild-actions {
  margin-top: 20px;
}

.guild-actions a,
.apply-band > a {
  min-height: 40px;
  border-radius: 4px;
  padding: 0 15px;
}

.hero-ledger {
  grid-template-columns: repeat(3, minmax(0, 118px));
  gap: 8px;
  margin-top: 20px;
}

.hero-ledger b {
  border-color: var(--eclipse-border-mid);
  border-radius: 4px;
  padding: 10px 11px;
}

.hero-ledger strong {
  font-size: 1.55rem;
}

.hero-ledger em {
  font-size: 0.66rem;
}

.death-panel,
.guild-card,
.rule-panel,
.officer-showcase article,
.apply-band,
.character-card,
.raid-card,
.buff-card,
.grave-card,
.chronicle-event,
.guild-info-columns article {
  border-color: var(--eclipse-border-subtle);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--eclipse-card);
  box-shadow: none;
}

.death-panel {
  align-self: end;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(6, 7, 7, 0.92), rgba(13, 12, 10, 0.86)),
    rgba(6, 7, 7, 0.82);
}

.death-row,
.feed-row,
.member-row {
  border-color: rgba(255, 255, 255, 0.065);
  border-radius: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.guild-dashboard {
  grid-template-columns: minmax(340px, 1.05fr) minmax(250px, 0.75fr) minmax(280px, 0.9fr);
  gap: 12px;
  margin-top: 12px;
}

.guild-card {
  min-height: 0;
  gap: 12px;
  padding: 14px;
}

.card-head strong,
.battle-strip h2,
.officer-showcase h2,
.apply-band h2,
.guild-info-head h2,
.characters-head h2,
.raids-head h2,
.graveyard-head h2,
.world-buffs-head h2,
.chronicle-head h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.card-head strong {
  font-size: 1.35rem;
}

.member-list {
  gap: 6px;
}

.member-row {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 8px;
}

.member-row i {
  width: 30px;
  height: 30px;
  font-size: 0.66rem;
}

.boss-track {
  gap: 7px;
}

.boss-track span {
  min-height: 44px;
  border-radius: 4px;
}

.progression-card p,
.news-card p {
  line-height: 1.45;
}

.realm-intel-section,
.chronicle-section,
.characters-section,
.raids-section,
.world-buffs-section,
.graveyard-section,
.guild-info-section {
  margin-top: 12px;
  border-color: transparent;
  border-radius: 0;
  padding: clamp(18px, 2.5vw, 26px) 0;
  background: transparent;
  box-shadow: none;
}

.realm-intel-section {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(18px, 2.4vw, 30px);
}

.realm-intel-copy h2 {
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.12;
}

.realm-intel-copy p {
  max-width: 500px;
  font-size: 0.94rem;
  line-height: 1.52;
}

.phase-map {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.phase-map b {
  min-height: 112px;
  border-color: var(--eclipse-border-subtle);
  border-radius: 4px;
  padding: 11px;
}

.phase-map strong {
  font-size: 1.04rem;
  line-height: 1.08;
}

.phase-map em {
  font-size: 0.76rem;
}

.source-strip {
  margin-top: 0;
}

.source-strip a {
  border-color: var(--eclipse-border-subtle);
  border-radius: 3px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.035);
}

.chronicle-section,
.raids-section,
.world-buffs-section,
.graveyard-section {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1.64fr);
}

.characters-section {
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1.58fr);
}

.chronicle-head h2,
.characters-head h2,
.raiders-head h2,
.raids-head h2,
.world-buffs-head h2,
.graveyard-head h2,
.guild-info-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.03;
}

.chronicle-head p,
.characters-head p,
.raiders-head p,
.raids-head p,
.world-buffs-head p,
.graveyard-head p,
.guild-info-head p {
  max-width: 520px;
  line-height: 1.5;
}

.chronicle-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.chronicle-event {
  gap: 7px;
  padding: 11px;
}

.chronicle-event strong,
.character-card strong,
.raid-card strong,
.buff-card strong,
.grave-card strong {
  font-size: 1.08rem;
  line-height: 1.12;
}

.chronicle-event p,
.character-card p,
.raid-card p,
.buff-card p,
.grave-card p {
  font-size: 0.9rem;
  line-height: 1.36;
}

.chronicle-cast {
  gap: 4px;
}

.chronicle-cast b {
  padding: 3px 6px;
  font-size: 0.7rem;
}

.characters-body {
  gap: 10px;
}

.character-stats {
  gap: 7px;
}

.character-stats b,
.class-stack {
  border-color: var(--eclipse-border-subtle);
  border-radius: 4px;
}

.character-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.character-card {
  gap: 6px;
  padding: 11px;
}

.raid-board,
.buff-board,
.graveyard-grid {
  gap: 8px;
}

.raid-card,
.buff-card,
.grave-card {
  gap: 7px;
  padding: 11px;
}

.buff-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.graveyard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grave-card.tombstone {
  padding-top: 13px;
}

.grave-card.tombstone > i {
  width: 44px;
  height: 38px;
}

.battle-strip,
.officer-showcase {
  gap: 12px;
  margin-top: 12px;
}

.battle-strip {
  border-color: transparent;
  border-radius: 4px;
  background: rgba(8, 8, 7, 0.72);
}

.battle-strip div,
.officer-showcase article {
  padding: clamp(18px, 3vw, 28px);
}

.battle-strip h2,
.officer-showcase h2,
.apply-band h2 {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
}

.codex-grid {
  gap: 10px;
  margin-top: 12px;
}

.rule-panel {
  min-height: 0;
  padding: 14px;
}

.guild-info-section {
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1.5fr);
}

.guild-info-columns {
  gap: 10px;
}

.guild-info-columns article {
  padding: 14px;
}

.apply-band {
  grid-template-columns: minmax(270px, 0.44fr) minmax(0, 1.56fr);
  gap: 16px;
  margin-top: 12px;
  padding: clamp(18px, 3vw, 28px);
}

@media (max-width: 1040px) {
  .guild-hero,
  .guild-dashboard,
  .realm-intel-section,
  .chronicle-section,
  .characters-section,
  .raids-section,
  .world-buffs-section,
  .graveyard-section,
  .guild-info-section,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .chronicle-rail,
  .character-grid,
  .graveyard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phase-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .eclipse-modern {
    width: min(100% - 14px, 1320px);
  }

  .guild-topbar {
    top: 0;
    border-radius: 3px;
  }

  .guild-hero {
    min-height: 540px;
    padding: 18px;
  }

  .guild-hero h1 {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .hero-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phase-map,
  .chronicle-rail,
  .character-grid,
  .buff-board,
  .graveyard-grid {
    grid-template-columns: 1fr;
  }

  .phase-map b {
    min-height: 0;
  }
}

/* Eclipse second-pass refinement: compact one-page guild UI */
body.eclipse-page {
  --eclipse-section-gap: clamp(34px, 4vw, 58px);
  --eclipse-card-pad: clamp(12px, 1.45vw, 16px);
  --eclipse-card-bg-tight: linear-gradient(180deg, rgba(29, 29, 26, 0.88), rgba(13, 13, 12, 0.94));
}

.eclipse-modern {
  gap: var(--eclipse-section-gap);
}

.guild-topbar {
  min-height: 52px;
  padding: 8px 12px;
}

.guild-topbar nav {
  gap: clamp(8px, 1.25vw, 18px);
}

.guild-topbar nav a {
  padding: 8px 3px;
}

.guild-topbar nav a:hover,
.guild-topbar nav a:focus-visible {
  color: var(--eclipse-cream);
  text-shadow: 0 0 14px rgba(216, 180, 73, 0.28);
}

.guild-hero {
  min-height: clamp(500px, 58vh, 620px);
  padding: clamp(26px, 4.5vw, 46px);
}

.realm-intel-section,
.chronicle-section,
.characters-section,
.raids-section,
.world-buffs-section,
.graveyard-section,
.guild-info-section,
.apply-band {
  scroll-margin-top: 86px;
}

.chronicle-section,
.raids-section,
.world-buffs-section,
.graveyard-section,
.guild-info-section {
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1.72fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.characters-section {
  grid-template-columns: minmax(220px, 0.31fr) minmax(0, 1.69fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.chronicle-head,
.characters-head,
.raids-head,
.world-buffs-head,
.graveyard-head,
.guild-info-head {
  gap: 9px;
  align-self: start;
  max-width: 360px;
}

.chronicle-head h2,
.characters-head h2,
.raids-head h2,
.world-buffs-head h2,
.graveyard-head h2,
.guild-info-head h2,
.battle-strip h2,
.officer-showcase h2,
.apply-band h2 {
  max-width: 13ch;
  font-size: clamp(1.65rem, 2.15vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.chronicle-head p,
.characters-head p,
.raids-head p,
.world-buffs-head p,
.graveyard-head p,
.guild-info-head p,
.apply-band p,
.officer-showcase p,
.battle-strip p {
  max-width: 38ch;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.5;
}

.chronicle-head span,
.characters-head span,
.raids-head span,
.world-buffs-head span,
.graveyard-head span,
.guild-info-head span,
.rule-panel span,
.battle-strip span,
.officer-showcase span,
.apply-band span {
  letter-spacing: 0.14em;
}

.phase-map {
  align-items: start;
}

.phase-map b {
  min-height: 104px;
  padding: 10px;
}

.phase-map strong {
  font-size: 1rem;
}

.guild-card,
.rule-panel,
.guild-info-columns article,
.chronicle-event,
.character-card,
.raid-card,
.buff-card,
.grave-card {
  background: var(--eclipse-card-bg-tight);
  border-color: rgba(223, 188, 87, 0.16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.guild-dashboard {
  align-items: start;
}

.guild-card {
  min-height: 0;
}

.chronicle-event:hover,
.character-card:hover,
.raid-card:hover,
.buff-card:hover,
.grave-card:hover,
.rule-panel:hover {
  border-color: rgba(223, 188, 87, 0.28);
  transform: translateY(-1px);
}

.chronicle-rail,
.raid-board,
.buff-board,
.graveyard-grid,
.character-grid {
  align-items: start;
}

.chronicle-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chronicle-event {
  min-height: 0;
  padding: 12px;
}

.chronicle-event span,
.character-card span,
.raid-card span,
.buff-card span,
.grave-card span {
  color: rgba(225, 194, 117, 0.76);
  letter-spacing: 0.11em;
}

.chronicle-event.type-leadership span,
.chronicle-event.type-progression span,
.chronicle-event.type-kill span,
.raid-card.upcoming span,
.buff-card.next span,
.death-panel > span {
  color: var(--eclipse-green);
}

.chronicle-event a,
.raid-card a,
.buff-card a,
.grave-card a,
.roster-source {
  color: rgba(65, 226, 129, 0.88);
  letter-spacing: 0.09em;
}

.character-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.character-card {
  min-height: 92px;
  padding: 12px;
}

.class-stack {
  padding: 12px;
}

.class-bar {
  grid-template-columns: 78px minmax(80px, 1fr) 36px;
  gap: 10px;
}

.raid-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.raid-card {
  min-height: 0;
  padding: 12px;
  border-color: rgba(223, 188, 87, 0.14);
}

.raid-card.upcoming {
  background: linear-gradient(180deg, rgba(10, 35, 22, 0.7), rgba(10, 16, 12, 0.94));
  border-color: rgba(67, 211, 126, 0.32);
}

.buff-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.buff-card {
  min-height: 106px;
  padding: 12px;
}

.buff-card strong,
.grave-card strong,
.raid-card strong,
.character-card strong,
.chronicle-event strong {
  font-size: clamp(1rem, 1.12vw, 1.14rem);
}

.buff-card p,
.buff-card time,
.grave-card p,
.raid-card p,
.character-card p,
.chronicle-event p {
  font-size: 0.88rem;
}

.graveyard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.grave-card {
  min-height: 0;
  padding: 12px;
}

.grave-card.tombstone {
  padding-top: 12px;
}

.grave-card.tombstone > i {
  width: 36px;
  height: 32px;
  font-size: 0.74rem;
  border-radius: 9px 9px 5px 5px;
}

.grave-card img,
.grave-card video {
  max-height: 84px;
  object-fit: cover;
}

.battle-strip {
  min-height: 330px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.battle-strip div,
.officer-showcase article {
  padding: clamp(18px, 2.6vw, 30px);
}

.codex-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.rule-panel {
  min-height: 0;
  padding: 14px;
}

.rule-panel h3 {
  font-size: clamp(1.32rem, 1.8vw, 1.9rem);
  line-height: 1.08;
}

.guild-info-columns {
  align-items: start;
}

.guild-info-columns article {
  max-height: 560px;
  overflow: auto;
}

.guild-info-columns ol,
.info-list {
  font-size: 0.94rem;
  line-height: 1.48;
}

.officer-showcase {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.officer-tags {
  gap: 8px;
}

.officer-tags b {
  padding: 8px 10px;
}

.apply-band {
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1.72fr);
}

.apply-form {
  padding: 14px;
}

.apply-form label {
  gap: 6px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  padding: 11px 12px;
}

@media (max-width: 1040px) {
  .chronicle-section,
  .characters-section,
  .raids-section,
  .world-buffs-section,
  .graveyard-section,
  .guild-info-section,
  .battle-strip,
  .officer-showcase,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .chronicle-head,
  .characters-head,
  .raids-head,
  .world-buffs-head,
  .graveyard-head,
  .guild-info-head {
    max-width: 680px;
  }

  .chronicle-head h2,
  .characters-head h2,
  .raids-head h2,
  .world-buffs-head h2,
  .graveyard-head h2,
  .guild-info-head h2,
  .battle-strip h2,
  .officer-showcase h2,
  .apply-band h2 {
    max-width: 18ch;
  }

  .character-grid,
  .chronicle-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.eclipse-page {
    --eclipse-section-gap: 30px;
  }

  .guild-topbar {
    gap: 8px;
  }

  .guild-topbar nav {
    row-gap: 2px;
  }

  .guild-topbar nav a {
    padding: 5px 3px;
    font-size: 0.72rem;
  }

  .guild-hero {
    min-height: 500px;
    padding: 18px;
  }

  .chronicle-head h2,
  .characters-head h2,
  .raids-head h2,
  .world-buffs-head h2,
  .graveyard-head h2,
  .guild-info-head h2,
  .battle-strip h2,
  .officer-showcase h2,
  .apply-band h2 {
    max-width: 100%;
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .raid-board,
  .buff-board,
  .graveyard-grid,
  .character-grid,
  .chronicle-rail,
  .codex-grid {
    grid-template-columns: 1fr;
  }

  .battle-strip {
    min-height: 0;
  }

  .battle-strip img {
    min-height: 240px;
  }

  .guild-info-columns article {
    max-height: none;
  }
}

/* Eclipse bold redesign: reference-inspired cinematic guild site */
body.eclipse-page {
  --eclipse-bg: #050607;
  --eclipse-page-glow: radial-gradient(circle at 50% -10%, rgba(48, 84, 102, 0.24), transparent 36%),
    radial-gradient(circle at 85% 28%, rgba(158, 92, 36, 0.16), transparent 34%),
    linear-gradient(180deg, #070807 0%, #030404 58%, #050505 100%);
  --eclipse-panel: rgba(18, 20, 20, 0.74);
  --eclipse-panel-strong: rgba(24, 25, 24, 0.9);
  --eclipse-line: rgba(255, 236, 178, 0.11);
  --eclipse-line-hot: rgba(225, 179, 76, 0.24);
  --eclipse-cream: #f3ebd6;
  --eclipse-muted: #c4b58a;
  --eclipse-dim: #8f856d;
  --eclipse-gold: #d7aa3e;
  --eclipse-green: #36d977;
  --eclipse-red: #a84a32;
  --eclipse-radius: 5px;
  --eclipse-section-gap: clamp(28px, 3.2vw, 46px);
  background: var(--eclipse-page-glow);
  color: var(--eclipse-muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.eclipse-page::before {
  opacity: 0.23;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

.eclipse-modern {
  width: min(100% - 48px, 1320px);
  gap: var(--eclipse-section-gap);
}

.guild-topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 56px;
  border: 1px solid rgba(255, 236, 178, 0.09);
  border-radius: 4px;
  background: rgba(7, 8, 8, 0.86);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.guild-logo img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
}

.guild-logo strong {
  font-family: LifeCraft, Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.guild-logo em {
  color: var(--eclipse-muted);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.guild-topbar nav {
  justify-content: end;
  gap: clamp(12px, 1.6vw, 24px);
}

.guild-topbar nav a {
  color: #d9cfad;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 2px solid transparent;
}

.guild-topbar nav a:hover,
.guild-topbar nav a:focus-visible {
  color: var(--eclipse-cream);
  border-color: var(--eclipse-gold);
}

.guild-hero {
  position: relative;
  display: grid;
  min-height: clamp(390px, 48vw, 560px);
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 6, 0.05), rgba(3, 4, 4, 0.88) 84%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.62)),
    url("/assets/eclipse/eclipse-raid-clash.png") center 48% / cover no-repeat;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.guild-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3, 4, 4, 0.96));
  pointer-events: none;
}

.hero-character-strip {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  opacity: 0.28;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero-character-strip i {
  display: block;
  min-width: 0;
  background-image: linear-gradient(180deg, rgba(3, 4, 4, 0.08), rgba(3, 4, 4, 0.64)),
    url("/assets/eclipse/eclipse-roster-forge.png");
  background-size: 1120px auto;
  background-position-y: center;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  filter: saturate(1.05) contrast(1.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-character-strip i:nth-child(1) { background-position-x: 0%; }
.hero-character-strip i:nth-child(2) { background-position-x: 20%; }
.hero-character-strip i:nth-child(3) { background-position-x: 40%; }
.hero-character-strip i:nth-child(4) { background-position-x: 60%; }
.hero-character-strip i:nth-child(5) { background-position-x: 80%; }
.hero-character-strip i:nth-child(6) { background-position-x: 100%; }

.guild-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(1160px, 92%);
  padding: clamp(32px, 6vw, 70px) 0 clamp(32px, 5vw, 58px);
  text-align: center;
}

.guild-hero h1 {
  margin: 0;
  color: #fff8e8;
  font-family: Inter, "Arial Black", ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(2.2rem, 3.3vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: none;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.84);
}

.guild-hero-copy p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(245, 235, 204, 0.86);
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  line-height: 1.48;
}

.guild-actions {
  justify-content: center;
  margin-top: 22px;
}

.guild-actions a {
  min-width: 120px;
  border-radius: 3px;
  border: 1px solid rgba(255, 235, 177, 0.24);
  padding: 11px 18px;
  background: rgba(9, 10, 10, 0.72);
  color: var(--eclipse-cream);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.guild-actions a:first-child {
  border-color: rgba(231, 184, 65, 0.55);
  background: linear-gradient(180deg, #e1b844, #b98220);
  color: #080704;
}

.hero-ledger {
  display: none;
}

.guild-dashboard {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(250px, 0.76fr) minmax(260px, 0.84fr);
  gap: 10px;
  align-items: start;
}

.guild-card,
.death-panel.guild-card,
.news-card,
.rule-panel,
.guild-info-columns article,
.chronicle-event,
.character-card,
.raid-card,
.buff-card,
.grave-card {
  border: 1px solid var(--eclipse-line);
  border-radius: var(--eclipse-radius);
  background: linear-gradient(180deg, rgba(28, 29, 28, 0.86), rgba(12, 13, 13, 0.93));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.guild-card:hover,
.chronicle-event:hover,
.character-card:hover,
.raid-card:hover,
.buff-card:hover,
.grave-card:hover,
.rule-panel:hover {
  border-color: var(--eclipse-line-hot);
  transform: translateY(-1px);
}

.card-head {
  align-items: baseline;
  margin-bottom: 10px;
}

.card-head span,
.realm-intel-copy span,
.chronicle-head span,
.characters-head span,
.raids-head span,
.world-buffs-head span,
.graveyard-head span,
.guild-info-head span,
.rule-panel span,
.battle-strip span,
.officer-showcase span,
.apply-band span {
  color: var(--eclipse-green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.card-head strong {
  color: var(--eclipse-cream);
  font-family: Inter, "Arial Black", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 1.2rem;
  font-weight: 900;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.member-row {
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
}

.member-row i {
  width: 34px;
  height: 34px;
  font-size: 0.7rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.32);
}

.member-row strong,
.death-row b {
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
}

.member-row em,
.death-row em {
  font-size: 0.76rem;
}

.member-row b {
  color: var(--eclipse-green);
  font-size: 0.68rem;
}

.boss-track {
  grid-template-columns: repeat(5, minmax(42px, 1fr));
  gap: 7px;
}

.boss-track span {
  min-height: 42px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.progression-card p {
  margin-top: 12px;
  color: var(--eclipse-muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.death-panel.guild-card {
  padding: 14px;
}

#eclipse-honor-roll {
  display: grid;
  gap: 7px;
}

.death-row {
  min-height: 54px;
  border: 1px solid rgba(180, 72, 45, 0.28);
  border-radius: 4px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(65, 24, 18, 0.54), rgba(20, 20, 19, 0.78));
}

.death-row.tomb-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  min-height: 50px;
}

.death-row.tomb-row .grave-stone {
  grid-row: 1 / span 2;
  width: 28px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(241, 211, 139, 0.42);
  border-radius: 11px 11px 4px 4px;
  background:
    linear-gradient(180deg, rgba(231, 220, 187, 0.88), rgba(126, 117, 96, 0.78));
  color: rgba(31, 24, 17, 0.9);
  font-family: Georgia, serif;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 18px rgba(0, 0, 0, 0.24);
}

.death-row.tomb-row b,
.death-row.tomb-row em {
  min-width: 0;
}

.realm-intel-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.realm-intel-copy {
  max-width: 360px;
}

.realm-intel-copy h2,
.chronicle-head h2,
.characters-head h2,
.raiders-head h2,
.raids-head h2,
.world-buffs-head h2,
.graveyard-head h2,
.guild-info-head h2,
.battle-strip h2,
.officer-showcase h2,
.apply-band h2 {
  max-width: 16ch;
  color: var(--eclipse-cream);
  font-family: Inter, "Arial Black", ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.realm-intel-copy p,
.chronicle-head p,
.characters-head p,
.raiders-head p,
.raids-head p,
.world-buffs-head p,
.graveyard-head p,
.guild-info-head p,
.battle-strip p,
.officer-showcase p,
.apply-band p {
  color: var(--eclipse-muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.phase-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.phase-map b {
  min-height: 104px;
  border: 1px solid var(--eclipse-line);
  border-radius: 4px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(28, 28, 27, 0.78), rgba(13, 14, 14, 0.9));
}

.phase-map span {
  color: var(--eclipse-green);
  font-size: 0.72rem;
}

.phase-map strong {
  margin-top: 8px;
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.phase-map em {
  margin-top: 5px;
  color: var(--eclipse-muted);
  font-size: 0.77rem;
  line-height: 1.3;
}

.source-strip {
  grid-column: 2;
  justify-content: flex-start;
}

.source-strip a,
.roster-source,
.world-buffs-head a,
.raid-links a,
.grave-source,
.grave-media-link,
.chronicle-event a {
  color: rgba(69, 229, 133, 0.9);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.news-card {
  padding: 14px;
}

.eclipse-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.feed-row {
  min-height: 70px;
  border-radius: 4px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.035);
}

.feed-row b {
  color: var(--eclipse-green);
  font-size: 0.72rem;
}

.feed-row em {
  color: var(--eclipse-muted);
  font-size: 0.83rem;
}

.characters-section,
.raids-section,
.world-buffs-section,
.graveyard-section,
.chronicle-section,
.guild-info-section {
  display: grid;
  grid-template-columns: minmax(210px, 0.24fr) minmax(0, 1fr);
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.characters-head,
.raids-head,
.world-buffs-head,
.graveyard-head,
.chronicle-head,
.guild-info-head {
  max-width: 300px;
  padding-top: 6px;
}

.character-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.character-stats b {
  border-color: var(--eclipse-line);
  border-radius: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.character-stats strong {
  font-size: 1.35rem;
}

.characters-body {
  gap: 8px;
}

.class-stack {
  border-color: var(--eclipse-line);
  border-radius: 4px;
  padding: 11px;
  background: rgba(0, 0, 0, 0.34);
}

.class-meter {
  grid-template-columns: 78px minmax(80px, 1fr) 32px;
  min-height: 22px;
}

.character-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.character-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "icon meta" "icon name" "icon detail";
  min-height: 76px;
  padding: 10px;
  text-decoration: none;
}

.character-card::before {
  content: "";
  grid-area: icon;
  width: 38px;
  height: 38px;
  align-self: center;
  border-radius: 4px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.5), transparent 19px),
    linear-gradient(135deg, rgba(213, 166, 64, 0.96), rgba(44, 44, 40, 0.96));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.45), 0 0 22px rgba(213,166,64,0.16);
}

.character-card span {
  grid-area: meta;
  color: rgba(224, 191, 113, 0.82);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}

.character-card strong {
  grid-area: name;
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.character-card p {
  grid-area: detail;
  margin: 0;
  color: var(--eclipse-muted);
  font-size: 0.82rem;
}

.raid-board,
.buff-board,
.graveyard-grid,
.chronicle-rail {
  display: grid;
  align-items: start;
  gap: 8px;
}

.raid-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.raid-card {
  min-height: 118px;
  padding: 12px;
  border-color: rgba(255,255,255,0.08);
}

.raid-card.upcoming {
  background: linear-gradient(180deg, rgba(10, 43, 25, 0.72), rgba(14, 16, 15, 0.94));
  border-color: rgba(63, 219, 122, 0.28);
}

.raid-card span,
.buff-card span,
.grave-card span,
.chronicle-event span {
  color: rgba(221, 184, 97, 0.84);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.raid-card.upcoming span,
.buff-card.next span,
.chronicle-event.type-progression span,
.chronicle-event.type-leadership span {
  color: var(--eclipse-green);
}

.raid-card strong,
.buff-card strong,
.grave-card strong,
.chronicle-event strong {
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

.raid-card p,
.buff-card p,
.grave-card p,
.chronicle-event p,
.raid-card time,
.buff-card time {
  color: var(--eclipse-muted);
  font-size: 0.84rem;
  line-height: 1.36;
}

.buff-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buff-card {
  min-height: 104px;
  padding: 12px;
}

.buff-card.next {
  background: linear-gradient(180deg, rgba(9, 43, 25, 0.72), rgba(12, 14, 13, 0.94));
  border-color: rgba(54, 217, 119, 0.32);
}

.graveyard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grave-card {
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-areas: "rip meta" "rip name" "rip status" "body body" "media media" "source source";
  min-height: 118px;
  padding: 11px;
  background: linear-gradient(180deg, rgba(38, 25, 18, 0.86), rgba(13, 13, 12, 0.94));
  border-color: rgba(178, 79, 49, 0.24);
}

.grave-card.tombstone > i {
  grid-area: rip;
  width: 30px;
  height: 34px;
  border-radius: 9px 9px 4px 4px;
  font-size: 0.64rem;
}

.grave-card span { grid-area: meta; }
.grave-card strong { grid-area: name; }
.grave-card b {
  grid-area: status;
  width: max-content;
  border-radius: 3px;
  padding: 3px 7px;
  background: rgba(168, 74, 50, 0.22);
  color: #ffb197;
  font-size: 0.68rem;
}
.grave-card p { grid-area: body; }
.grave-card img,
.grave-card video {
  grid-area: media;
  max-height: 76px;
  border-radius: 3px;
}
.grave-source,
.grave-media-link { grid-area: source; }

.chronicle-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chronicle-event {
  min-height: 128px;
  padding: 12px;
}

.battle-strip,
.officer-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 0;
  min-height: 320px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: rgba(8, 9, 9, 0.64);
  box-shadow: 0 22px 62px rgba(0,0,0,0.42);
}

.battle-strip img,
.officer-showcase img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.battle-strip div,
.officer-showcase article {
  align-self: center;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(90deg, rgba(4,5,5,0.88), rgba(4,5,5,0.98));
}

.codex-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rule-panel {
  min-height: 0;
  padding: 14px;
}

.rule-panel h3 {
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.12;
}

.guild-info-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 10px;
}

.guild-info-columns article {
  max-height: 520px;
  padding: 14px;
}

.guild-info-columns ol,
.info-list {
  color: var(--eclipse-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.apply-band {
  grid-template-columns: minmax(220px, 0.25fr) minmax(0, 1fr);
  gap: 20px;
  border: 0;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(11, 12, 12, 0.88), rgba(11, 12, 12, 0.72)),
    url("/assets/eclipse/eclipse-officer-table.png") left center / cover no-repeat;
}

.apply-form {
  border-color: var(--eclipse-line);
  border-radius: 4px;
  background: rgba(2, 3, 3, 0.78);
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  border-color: rgba(222, 179, 72, 0.22);
  border-radius: 3px;
  background: rgba(255,255,255,0.055);
  color: var(--eclipse-cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.apply-form button {
  border-radius: 3px;
  background: linear-gradient(180deg, #e1b844, #bc8625);
  color: #070604;
  font-weight: 950;
}

@media (max-width: 1080px) {
  .guild-dashboard,
  .realm-intel-section,
  .characters-section,
  .raids-section,
  .world-buffs-section,
  .graveyard-section,
  .chronicle-section,
  .guild-info-section,
  .battle-strip,
  .officer-showcase,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .phase-map,
  .character-grid,
  .buff-board,
  .graveyard-grid,
  .chronicle-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-strip {
    grid-column: auto;
  }

  .characters-head,
  .raids-head,
  .world-buffs-head,
  .graveyard-head,
  .chronicle-head,
  .guild-info-head,
  .realm-intel-copy {
    max-width: 720px;
  }

  .realm-intel-copy h2,
  .chronicle-head h2,
  .characters-head h2,
  .raids-head h2,
  .world-buffs-head h2,
  .graveyard-head h2,
  .guild-info-head h2,
  .battle-strip h2,
  .officer-showcase h2,
  .apply-band h2 {
    max-width: 18ch;
  }
}

@media (max-width: 720px) {
  .eclipse-modern {
    width: min(100% - 16px, 1320px);
  }

  .guild-topbar {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
  }

  .guild-topbar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
  }

  .guild-topbar nav a {
    border: 1px solid var(--eclipse-line);
    border-radius: 3px;
    padding: 8px;
    text-align: center;
    background: rgba(255,255,255,0.035);
  }

  .guild-hero {
    min-height: 420px;
  }

  .hero-character-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-character-strip i:nth-child(n+4) {
    display: none;
  }

  .guild-hero-copy {
    width: calc(100% - 32px);
    padding-bottom: 34px;
  }

  .guild-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .member-list,
  .phase-map,
  .character-grid,
  .raid-board,
  .buff-board,
  .graveyard-grid,
  .chronicle-rail,
  .codex-grid,
  .guild-info-columns,
  .eclipse-feed {
    grid-template-columns: 1fr;
  }

  .battle-strip img,
  .officer-showcase img {
    min-height: 230px;
  }

  .realm-intel-copy h2,
  .chronicle-head h2,
  .characters-head h2,
  .raids-head h2,
  .world-buffs-head h2,
  .graveyard-head h2,
  .guild-info-head h2,
  .battle-strip h2,
  .officer-showcase h2,
  .apply-band h2 {
    max-width: none;
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }
}

/* Eclipse parchment trial: archived guild charter surfaces */
body.eclipse-page {
  --eclipse-parchment: #d8c59a;
  --eclipse-parchment-dark: #a98d58;
  --eclipse-parchment-ink: #1c1710;
  --eclipse-parchment-muted: #5b4930;
}

.realm-intel-section,
.news-card,
.guild-info-section,
.apply-band {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(72, 48, 19, 0.62);
  border-radius: 2px;
  padding: clamp(18px, 2.3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.34), rgba(160, 111, 50, 0.12)),
    linear-gradient(90deg, rgba(67, 40, 13, 0.08), transparent 16%, transparent 84%, rgba(67, 40, 13, 0.08)),
    url("/assets/eclipse/eclipse-parchment-texture.png") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 246, 210, 0.36),
    inset 0 0 18px rgba(93, 61, 22, 0.12),
    0 22px 56px rgba(0, 0, 0, 0.44);
}

.realm-intel-section::before,
.news-card::before,
.guild-info-section::before,
.apply-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 246, 211, 0.16), transparent 38%),
    radial-gradient(circle at 0% 0%, rgba(96, 57, 17, 0.1), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(96, 57, 17, 0.1), transparent 24%);
  pointer-events: none;
}

.realm-intel-section::after,
.news-card::after,
.guild-info-section::after,
.apply-band::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 62%, rgba(87, 56, 21, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 24%, rgba(255, 250, 225, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 52%, rgba(90, 59, 23, 0.07) 0 1px, transparent 2px);
  background-size: 38px 32px, 52px 46px, 64px 58px;
  opacity: 0.75;
  pointer-events: none;
}

.realm-intel-copy h2,
.news-card .card-head strong,
.guild-info-head h2,
.apply-band h2 {
  color: var(--eclipse-parchment-ink);
  text-shadow: 0 1px 0 rgba(255, 245, 203, 0.5);
}

.realm-intel-copy p,
.news-card p,
.feed-row em,
.guild-info-head p,
.guild-info-columns ol,
.info-list,
.apply-band p {
  color: var(--eclipse-parchment-muted);
}

.realm-intel-copy span,
.news-card .card-head span,
.guild-info-head span,
.guild-info-columns article > span,
.apply-band > div > span {
  color: #125c34;
}

.phase-map b,
.source-strip a,
.feed-row,
.guild-info-columns article,
.apply-form {
  border-color: rgba(55, 35, 14, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 246, 212, 0.52), rgba(120, 78, 31, 0.08)),
    rgba(41, 25, 10, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 207, 0.18), 0 12px 24px rgba(50, 29, 10, 0.12);
}

.phase-map span,
.feed-row b {
  color: #0f6d38;
}

.phase-map strong,
.guild-info-columns article b,
.apply-form label > span {
  color: var(--eclipse-parchment-ink);
}

.phase-map em,
.source-strip a,
.guild-info-columns article em {
  color: var(--eclipse-parchment-muted);
}

.source-strip a,
.world-buffs-head a {
  color: #145c33;
}

.apply-band {
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.36), rgba(160, 111, 50, 0.12)),
    linear-gradient(90deg, rgba(230, 214, 173, 0.92), rgba(230, 214, 173, 0.72)),
    url("/assets/eclipse/eclipse-parchment-texture.png") center / cover no-repeat,
    url("/assets/eclipse/eclipse-officer-table.png") left center / cover no-repeat;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  border-color: rgba(62, 38, 13, 0.34);
  background: rgba(36, 24, 12, 0.12);
  color: var(--eclipse-parchment-ink);
}
