/* Final Eclipse polish pass: compact gaming UI, restrained parchment, clearer utility modules. */
body.eclipse-page {
  --final-panel: rgba(10, 11, 9, 0.82);
  --final-panel-soft: rgba(18, 19, 16, 0.76);
  --final-line: rgba(241, 211, 139, 0.12);
  --final-line-strong: rgba(241, 211, 139, 0.24);
  --final-gold: #dfb846;
  --final-cream: #f4ecd4;
  --final-muted: #c8b98d;
  --final-green: #39df7b;
}

body.eclipse-page .guild-topbar {
  grid-template-columns: minmax(180px, auto) minmax(390px, 680px) minmax(0, 1fr);
  align-items: center;
  border-color: rgba(241, 211, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 16, 13, 0.96), rgba(6, 7, 6, 0.94)),
    rgba(0, 0, 0, 0.88);
}

body.eclipse-page .guild-live-clock {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(241, 211, 139, 0.13);
  border-radius: 4px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.28);
}

body.eclipse-page .guild-live-clock.has-giveaway {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(140px, 1.1fr);
}

body.eclipse-page .guild-live-clock-card {
  min-height: 34px;
  border: 0;
  border-radius: 2px;
  padding: 4px 7px;
  background: transparent;
  box-shadow: none;
}

body.eclipse-page .guild-live-clock-card[hidden] {
  display: none;
}

body.eclipse-page .guild-live-clock-card + .guild-live-clock-card {
  border-left: 1px solid rgba(241, 211, 139, 0.11);
}

body.eclipse-page .guild-live-clock-card.giveaway {
  position: relative;
  border: 1px solid rgba(255, 217, 98, 0.72);
  background:
    linear-gradient(90deg, rgba(223, 184, 70, 0.22), rgba(78, 51, 12, 0.18)),
    rgba(0, 0, 0, 0.32);
  box-shadow:
    0 0 0 1px rgba(255, 244, 188, 0.08) inset,
    0 0 18px rgba(223, 184, 70, 0.28);
}

body.eclipse-page .guild-live-clock-card.giveaway::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(223, 184, 70, 0.28);
  border-radius: 3px;
  pointer-events: none;
}

body.eclipse-page .guild-live-clock-card.giveaway span,
body.eclipse-page .guild-live-clock-card.giveaway strong {
  color: #ffe28a;
}

body.eclipse-page .guild-live-clock-card span {
  font-size: 0.51rem;
  letter-spacing: 0.11em;
}

body.eclipse-page .guild-live-clock-card strong {
  font-size: clamp(0.98rem, 1vw, 1.16rem);
  line-height: 0.9;
}

body.eclipse-page .guild-live-clock-card em {
  max-width: 100%;
  font-size: 0.52rem;
  opacity: 0.82;
}

body.eclipse-page .guild-topbar nav {
  justify-content: flex-end;
}

body.eclipse-page .guild-topbar nav a {
  min-height: 30px;
  border-radius: 2px;
  color: rgba(231, 219, 185, 0.82);
}

body.eclipse-page .guild-topbar nav a:hover,
body.eclipse-page .guild-topbar nav a:focus-visible {
  background: rgba(223, 184, 70, 0.08);
  color: #fff0bf;
}

body.eclipse-page .guild-hero {
  min-height: clamp(390px, 38vw, 540px);
}

body.eclipse-page .guild-hero h1 {
  font-size: clamp(2.7rem, 4vw, 4.6rem);
}

body.eclipse-page .guild-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  align-items: start;
  gap: clamp(12px, 1.4vw, 18px);
  width: min(100%, 1540px);
  margin-inline: auto;
}

body.eclipse-page .guild-dashboard .roster-card,
body.eclipse-page .guild-dashboard .progression-card {
  min-height: 0;
}

body.eclipse-page .guild-dashboard .progression-card {
  align-self: stretch;
}

body.eclipse-page .guild-dashboard .roster-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 30px);
  border-color: rgba(241, 211, 139, 0.1);
  background:
    radial-gradient(circle at 94% 8%, rgba(57, 223, 123, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(22, 24, 21, 0.94), rgba(8, 9, 8, 0.94) 58%, rgba(15, 12, 6, 0.96));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

body.eclipse-page .guild-dashboard .roster-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 0 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 223, 123, 0.38), transparent);
  opacity: 0.7;
}

body.eclipse-page .honor-roll-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.26fr) minmax(360px, 0.74fr);
  gap: clamp(14px, 2vw, 22px);
  width: min(100%, 1540px);
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  padding: 16px 24px;
  border: 1px solid rgba(241, 211, 139, 0.11);
  border-radius: 4px;
  background:
    radial-gradient(circle at 86% 0%, rgba(118, 30, 22, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(16, 17, 14, 0.78), rgba(4, 5, 4, 0.82));
}

body.eclipse-page .honor-roll-section .death-panel {
  width: 100%;
}

body.eclipse-page .guild-dashboard .card-head,
body.eclipse-page .honor-roll-section .card-head {
  display: block;
  text-align: left;
}

body.eclipse-page .guild-dashboard .card-head strong,
body.eclipse-page .honor-roll-section .card-head strong {
  display: block;
}

body.eclipse-page .honor-roll-section .graveyard-head {
  padding-left: 0;
}

body.eclipse-page .honor-roll-section #eclipse-honor-roll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

body.eclipse-page .hero-raid-status {
  display: flex;
  justify-content: center;
  width: auto;
  max-width: min(700px, 94vw);
  border: 0;
  gap: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.eclipse-page .hero-raid-status b {
  min-width: 132px;
  min-height: 0;
  border: 1px solid rgba(241, 211, 139, 0.18);
  border-radius: 2px;
  padding: 8px 12px;
  background:
    linear-gradient(180deg, rgba(38, 31, 15, 0.72), rgba(6, 7, 6, 0.62)),
    rgba(0, 0, 0, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 244, 198, 0.08);
}

body.eclipse-page .hero-raid-status span {
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
}

body.eclipse-page .realm-intel-section,
body.eclipse-page .news-card {
  border-color: rgba(241, 211, 139, 0.11);
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 184, 70, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(17, 18, 15, 0.92), rgba(5, 6, 5, 0.9));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

body.eclipse-page .realm-intel-section::before,
body.eclipse-page .realm-intel-section::after,
body.eclipse-page .news-card::before,
body.eclipse-page .news-card::after {
  display: none;
}

body.eclipse-page .realm-intel-copy h2,
body.eclipse-page .news-card .card-head strong {
  color: var(--final-cream);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
}

body.eclipse-page .realm-intel-copy p,
body.eclipse-page .news-card p,
body.eclipse-page .feed-row em {
  color: var(--final-muted);
  text-shadow: none;
}

body.eclipse-page .news-card .card-head p,
body.eclipse-page #eclipse-news-context,
body.eclipse-page .characters-head p,
body.eclipse-page .raids-head p,
body.eclipse-page .world-buffs-head p,
body.eclipse-page .chronicle-head p,
body.eclipse-page .battle-strip p {
  color: #d9c99b !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

body.eclipse-page .news-card .card-head span,
body.eclipse-page .characters-head span,
body.eclipse-page .raids-head span,
body.eclipse-page .world-buffs-head span,
body.eclipse-page .chronicle-head span,
body.eclipse-page .battle-strip span {
  color: var(--final-green);
}

body.eclipse-page .phase-map b,
body.eclipse-page .source-strip a,
body.eclipse-page .feed-row {
  border-color: rgba(241, 211, 139, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.26);
  box-shadow: none;
}

body.eclipse-page .phase-map b,
body.eclipse-page .feed-row {
  color: var(--final-cream);
}

body.eclipse-page .phase-map b span,
body.eclipse-page .feed-row span,
body.eclipse-page .feed-row small {
  color: var(--final-green);
}

body.eclipse-page .phase-map b strong,
body.eclipse-page .feed-row strong {
  color: #fff4cf;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

body.eclipse-page .phase-map b em,
body.eclipse-page .source-strip a,
body.eclipse-page .feed-row em,
body.eclipse-page .feed-row p {
  color: #dccb9d;
}

body.eclipse-page .source-strip a {
  border-color: rgba(241, 211, 139, 0.18);
  background: rgba(255, 235, 160, 0.055);
}

body.eclipse-page .source-strip a:hover,
body.eclipse-page .source-strip a:focus-visible {
  color: #fff5cf;
  border-color: rgba(57, 223, 123, 0.38);
  background: rgba(37, 111, 63, 0.18);
}

body.eclipse-page .realm-intel-section {
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
}

body.eclipse-page .phase-map {
  align-items: stretch;
}

body.eclipse-page .phase-map b {
  min-height: 104px;
}

body.eclipse-page .news-card .card-head {
  border-bottom-color: rgba(241, 211, 139, 0.12);
}

body.eclipse-page .eclipse-feed {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.eclipse-page .feed-row {
  min-height: 74px;
  padding: 11px 12px;
}

body.eclipse-page .characters-section,
body.eclipse-page .raiders-section,
body.eclipse-page .raids-section,
body.eclipse-page .world-buffs-section,
body.eclipse-page .mega-giveaways-section,
body.eclipse-page .chronicle-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.24fr) minmax(0, 1fr);
  column-gap: clamp(14px, 1.8vw, 22px);
  width: min(100%, 1540px);
  margin-inline: auto;
}

body.eclipse-page .chronicle-section--featured {
  margin-top: 10px;
}

body.eclipse-page .character-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.eclipse-page .character-stats b:nth-child(n + 3) {
  display: none !important;
}

body.eclipse-page .characters-head,
body.eclipse-page .raiders-head,
body.eclipse-page .raids-head,
body.eclipse-page .world-buffs-head,
body.eclipse-page .mega-giveaways-head,
body.eclipse-page .chronicle-head {
  padding-left: 4px;
}

body.eclipse-page .characters-head h2,
body.eclipse-page .raiders-head h2,
body.eclipse-page .raids-head h2,
body.eclipse-page .world-buffs-head h2,
body.eclipse-page .mega-giveaways-head h2,
body.eclipse-page .chronicle-head h2,
body.eclipse-page .battle-strip h2,
body.eclipse-page .guild-info-head h2 {
  font-size: clamp(2rem, 2.7vw, 3.1rem);
  line-height: 0.98;
}

body.eclipse-page .mega-giveaways-section {
  position: relative;
  isolation: isolate;
  min-height: 0;
  margin-top: clamp(24px, 3vw, 42px);
  padding: clamp(16px, 1.8vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(241, 211, 139, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(4, 5, 5, 0.9), rgba(10, 12, 12, 0.68) 43%, rgba(4, 5, 5, 0.92)),
    radial-gradient(circle at 78% 0%, rgba(223, 184, 70, 0.18), transparent 34%),
    url("/event-art/giveaway-night.png") right center / min(56vw, 860px) auto no-repeat,
    linear-gradient(180deg, rgba(18, 19, 16, 0.92), rgba(5, 6, 5, 0.94));
  box-shadow:
    0 1px 0 rgba(255, 239, 185, 0.05),
    0 26px 70px rgba(0, 0, 0, 0.38);
}

body.eclipse-page .mega-giveaways-section.giveaways-no-active {
  grid-template-columns: minmax(250px, 0.22fr) minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(4, 5, 5, 0.94), rgba(10, 12, 12, 0.78) 42%, rgba(4, 5, 5, 0.94)),
    radial-gradient(circle at 86% 0%, rgba(223, 184, 70, 0.12), transparent 30%),
    url("/event-art/giveaway-night.png") right bottom / min(34vw, 520px) auto no-repeat,
    linear-gradient(180deg, rgba(18, 19, 16, 0.92), rgba(5, 6, 5, 0.94));
}

body.eclipse-page .mega-giveaways-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 244, 198, 0.06), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 244, 198, 0.028) 0 1px, transparent 1px 78px);
  opacity: 0.62;
  pointer-events: none;
}

body.eclipse-page .mega-giveaways-section::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 223, 123, 0.42), rgba(223, 184, 70, 0.42), transparent);
  pointer-events: none;
}

body.eclipse-page .mega-giveaways-head,
body.eclipse-page .mega-giveaways-body {
  min-width: 0;
}

body.eclipse-page .mega-giveaways-head {
  display: grid;
  align-content: start;
  gap: 12px;
}

body.eclipse-page .mega-giveaways-head span,
body.eclipse-page .giveaway-history-head span,
body.eclipse-page .giveaway-card span {
  color: var(--final-green);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.eclipse-page .mega-giveaways-head h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--final-cream);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.76);
}

body.eclipse-page .mega-giveaways-head p {
  max-width: 34rem;
  margin: 0;
  color: #d9c99b;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

body.eclipse-page .mega-giveaways-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 6px;
}

body.eclipse-page .mega-giveaways-stats b,
body.eclipse-page .giveaway-counts b {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(241, 211, 139, 0.14);
  border-radius: 3px;
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(38, 31, 15, 0.72), rgba(6, 7, 6, 0.62)),
    rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 244, 198, 0.08);
}

body.eclipse-page .mega-giveaways-stats strong,
body.eclipse-page .giveaway-counts strong {
  color: #fff3cd;
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 0.9;
}

body.eclipse-page .mega-giveaways-stats em,
body.eclipse-page .giveaway-counts em {
  color: #c8b98d;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1.1;
  text-transform: uppercase;
}

body.eclipse-page .mega-giveaways-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  align-items: start;
  grid-auto-rows: max-content;
  gap: 10px;
}

body.eclipse-page .giveaways-no-active .mega-giveaways-body {
  grid-template-columns: minmax(0, 1fr);
}

body.eclipse-page .mega-giveaways-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
  min-width: 0;
}

body.eclipse-page .giveaways-no-active .mega-giveaways-active {
  display: none;
}

body.eclipse-page .giveaway-card,
body.eclipse-page .mega-giveaways-history {
  min-width: 0;
  border: 1px solid rgba(241, 211, 139, 0.12);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(180deg, rgba(17, 19, 20, 0.88), rgba(8, 10, 11, 0.82));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

body.eclipse-page .giveaway-card {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 8px;
  min-height: 0;
  height: fit-content;
  overflow: hidden;
  padding: 12px;
  border-left-color: rgba(223, 184, 70, 0.56);
}

body.eclipse-page .giveaway-card.featured {
  min-height: 0;
  height: fit-content;
  border-color: rgba(57, 223, 123, 0.28);
  border-left-color: rgba(57, 223, 123, 0.72);
  background:
    linear-gradient(90deg, rgba(57, 223, 123, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(18, 22, 19, 0.92), rgba(7, 9, 8, 0.9));
}

body.eclipse-page .giveaway-card.empty {
  grid-column: 1 / -1;
  min-height: 96px;
  place-content: center start;
  background:
    linear-gradient(90deg, rgba(223, 184, 70, 0.1), transparent 58%),
    rgba(0, 0, 0, 0.32);
}

body.eclipse-page .giveaway-card figure {
  position: relative;
  min-height: 126px;
  margin: -12px -12px 4px;
  overflow: hidden;
  border-bottom: 1px solid rgba(241, 211, 139, 0.12);
  background: rgba(0, 0, 0, 0.42);
}

body.eclipse-page .giveaway-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

body.eclipse-page .giveaway-card img {
  width: 100%;
  height: 100%;
  min-height: 126px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
}

body.eclipse-page .giveaway-card strong {
  color: var(--final-cream);
  font-size: 1.05rem;
  line-height: 1.12;
}

body.eclipse-page .giveaway-card p,
body.eclipse-page .giveaway-options {
  margin: 0;
  color: #c8b98d;
  font-size: 0.78rem;
  line-height: 1.36;
}

body.eclipse-page .giveaway-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

body.eclipse-page .giveaway-counts b {
  padding: 7px 8px;
}

body.eclipse-page .giveaway-counts strong {
  font-size: 1.18rem;
}

body.eclipse-page .giveaway-options {
  font-style: normal;
  text-transform: capitalize;
}

body.eclipse-page .giveaway-card a,
body.eclipse-page .giveaway-history-row[href] {
  color: #8df5b0;
  text-decoration: none;
}

body.eclipse-page .giveaway-card a {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(57, 223, 123, 0.18);
  border-radius: 4px;
  padding: 6px 8px;
  overflow: hidden;
  background: rgba(57, 223, 123, 0.06);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.eclipse-page .mega-giveaways-history {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 8px;
  padding: 12px;
  border-left-color: rgba(223, 184, 70, 0.42);
}

body.eclipse-page .giveaways-has-active .mega-giveaways-history {
  max-height: 520px;
  overflow: auto;
  scrollbar-color: rgba(223, 184, 70, 0.44) rgba(0, 0, 0, 0.18);
}

body.eclipse-page .giveaways-no-active .mega-giveaways-history {
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(223, 184, 70, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(17, 19, 20, 0.9), rgba(8, 10, 11, 0.86));
}

body.eclipse-page .giveaway-history-head {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(241, 211, 139, 0.1);
}

body.eclipse-page .giveaway-history-head strong {
  color: var(--final-cream);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 0.95;
}

body.eclipse-page .giveaway-history-list {
  display: grid;
  gap: 7px;
}

body.eclipse-page .giveaways-no-active .giveaway-history-list {
  position: relative;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 9px 10px;
}

body.eclipse-page .giveaways-no-active .giveaway-history-list::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(57, 223, 123, 0.62), rgba(223, 184, 70, 0.36), transparent);
  opacity: 0.7;
}

body.eclipse-page .giveaway-history-row {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(241, 211, 139, 0.09);
  border-radius: 4px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.035);
}

body.eclipse-page .giveaways-no-active .giveaway-history-row {
  position: relative;
  min-height: 74px;
  align-content: center;
  padding-left: 22px;
}

body.eclipse-page .giveaways-no-active .giveaway-history-row::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 7px;
  height: 7px;
  border: 2px solid rgba(57, 223, 123, 0.82);
  border-radius: 999px;
  background: #10170f;
  box-shadow: 0 0 14px rgba(57, 223, 123, 0.42);
}

body.eclipse-page .giveaway-history-date {
  color: #8df5b0;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

body.eclipse-page .giveaway-history-row b {
  color: #f5e8bd;
  font-size: 0.82rem;
  line-height: 1.12;
}

body.eclipse-page .giveaway-history-row em {
  color: #c8b98d;
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.25;
}

body.eclipse-page .world-buffs-head h2 {
  max-width: 12ch;
}

body.eclipse-page .buff-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

body.eclipse-page .buff-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 5px 12px;
  min-height: 112px;
}

body.eclipse-page .buff-card > span,
body.eclipse-page .buff-card > strong,
body.eclipse-page .buff-card > time,
body.eclipse-page .buff-card > p {
  grid-column: 1;
}

body.eclipse-page .buff-card .buff-countdown {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
  min-width: 68px;
  border: 1px solid rgba(57, 223, 123, 0.24);
  border-radius: 3px;
  padding: 7px 8px;
  color: #b9ffd0;
  background: rgba(25, 96, 52, 0.2);
  font-family: "LifeCraft", Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
}

body.eclipse-page .buff-card time {
  color: #f0db98;
}

body.eclipse-page .chronicle-rail.milestone-timeline .chronicle-event p {
  max-width: 15ch;
  justify-self: center;
}

body.eclipse-page .chronicle-rail.milestone-timeline .chronicle-event a {
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.eclipse-page .chronicle-rail.milestone-timeline .chronicle-event:hover a,
body.eclipse-page .chronicle-rail.milestone-timeline .chronicle-event:focus-within a {
  opacity: 1;
  transform: translateY(0);
}

body.eclipse-page .class-stack {
  padding: 12px;
}

body.eclipse-page .roster-breakdown {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(241, 211, 139, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(20, 20, 17, 0.78), rgba(0, 0, 0, 0.52)),
    rgba(0, 0, 0, 0.34);
}

body.eclipse-page .roster-breakdown-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(241, 211, 139, 0.1);
}

body.eclipse-page .roster-breakdown-tabs button {
  min-height: 32px;
  border: 1px solid rgba(241, 211, 139, 0.16);
  border-radius: 3px;
  padding: 7px 10px;
  color: #d9c99b;
  background: rgba(255, 238, 176, 0.035);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.eclipse-page .roster-breakdown-tabs button:hover,
body.eclipse-page .roster-breakdown-tabs button:focus-visible {
  color: #fff4cf;
  border-color: rgba(57, 223, 123, 0.34);
  background: rgba(25, 96, 52, 0.14);
}

body.eclipse-page .roster-breakdown-tabs button.active {
  color: #091009;
  border-color: rgba(57, 223, 123, 0.72);
  background: linear-gradient(180deg, rgba(95, 242, 141, 0.94), rgba(40, 165, 84, 0.86));
  box-shadow: 0 0 20px rgba(57, 223, 123, 0.14);
}

body.eclipse-page .roster-range-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

body.eclipse-page .roster-range-controls[hidden] {
  display: none;
}

body.eclipse-page .roster-range-controls label {
  display: grid;
  gap: 4px;
  color: var(--final-green);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.eclipse-page .roster-range-controls input {
  width: 76px;
  border: 1px solid rgba(241, 211, 139, 0.18);
  border-radius: 3px;
  padding: 8px 9px;
  color: var(--final-cream);
  background: rgba(0, 0, 0, 0.36);
  font: inherit;
  font-weight: 900;
}

body.eclipse-page .roster-breakdown-title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
}

body.eclipse-page .roster-breakdown-title strong {
  color: #fff4cf;
  font-size: 1.05rem;
}

body.eclipse-page .roster-breakdown-title em {
  color: #d9c99b;
  font-size: 0.82rem;
  font-style: normal;
}

body.eclipse-page .roster-breakdown-chart {
  display: grid;
  gap: 8px;
}

body.eclipse-page .roster-breakdown .class-meter {
  grid-template-columns: minmax(72px, 96px) minmax(0, 1fr) minmax(32px, auto);
  gap: 10px;
}

body.eclipse-page .roster-breakdown .class-meter span,
body.eclipse-page .roster-breakdown .class-meter b {
  color: #f5e8bd;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

body.eclipse-page .roster-breakdown .class-meter.race-meter i {
  background: linear-gradient(90deg, rgba(223, 184, 70, 0.98), rgba(57, 223, 123, 0.72));
  box-shadow: 0 0 18px rgba(223, 184, 70, 0.2);
}

body.eclipse-page .roster-breakdown .empty-state {
  margin: 0;
  color: #d9c99b;
}

body.eclipse-page .character-grid,
body.eclipse-page .raider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

body.eclipse-page .characters-body,
body.eclipse-page .raiders-body,
body.eclipse-page .raider-grid {
  min-width: 0;
}

body.eclipse-page .characters-body {
  display: grid;
  gap: 12px;
}

body.eclipse-page .characters-body .roster-source {
  justify-self: start;
  margin-top: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(57, 223, 123, 0.28);
  border-radius: 4px;
  background: rgba(8, 46, 26, 0.34);
  color: #65f59c;
}

body.eclipse-page .raiders-body {
  display: grid;
  gap: 12px;
}

body.eclipse-page .roster-expander {
  border: 1px solid rgba(241, 211, 139, 0.11);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.18));
}

body.eclipse-page .roster-expander[hidden] {
  display: none;
}

body.eclipse-page .roster-expander summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #e4d4a7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.eclipse-page .roster-expander .raider-grid {
  padding: 0 12px 12px;
}

body.eclipse-page .raider-grid.compact .character-card {
  opacity: 0.86;
}

body.eclipse-page .raid-board {
  max-height: 640px;
}

body.eclipse-page .guild-info-section,
body.eclipse-page .apply-band {
  --eclipse-paper-muted: #221508;
  --eclipse-paper-soft-ink: #3d260f;
  color: #1a1007;
}

body.eclipse-page .guild-info-section {
  grid-template-columns: minmax(250px, 0.28fr) minmax(0, 1fr);
}

body.eclipse-page .guild-info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(49, 29, 11, 0.22);
}

body.eclipse-page .guild-info-tabs button {
  border: 1px solid rgba(54, 33, 13, 0.42);
  border-radius: 3px;
  padding: 9px 13px;
  color: #201306;
  background:
    linear-gradient(180deg, rgba(255, 239, 183, 0.48), rgba(151, 91, 31, 0.08)),
    rgba(237, 203, 133, 0.25);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.eclipse-page .guild-info-tabs button.active {
  border-color: rgba(15, 91, 52, 0.58);
  color: #fff1c9;
  background: linear-gradient(180deg, rgba(34, 119, 68, 0.95), rgba(10, 58, 33, 0.95));
}

body.eclipse-page .guild-info-columns {
  display: block;
}

body.eclipse-page .guild-info-columns article {
  max-height: none;
  min-height: 420px;
  overflow: visible;
  padding: clamp(18px, 2vw, 28px);
}

body.eclipse-page .guild-info-columns article[hidden] {
  display: none;
}

body.eclipse-page .guild-info-columns ol,
body.eclipse-page .info-list {
  color: #211407;
  font-size: 1rem;
  line-height: 1.58;
}

body.eclipse-page .guild-info-columns article b {
  color: #0d0904;
}

body.eclipse-page .guild-info-columns article em {
  color: #3d260f;
}

body.eclipse-page .apply-form {
  max-height: none;
  overflow: visible;
}

body.eclipse-page .apply-band > div {
  min-height: 100%;
}

body.eclipse-page .apply-eclipse-sigil {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: clamp(260px, 30vw, 470px);
  margin-top: clamp(22px, 4vw, 54px);
  padding: clamp(14px, 2vw, 24px);
  color: #1d1207;
}

body.eclipse-page .apply-eclipse-sigil::before,
body.eclipse-page .apply-eclipse-sigil::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.eclipse-page .apply-eclipse-sigil::before {
  width: clamp(150px, 18vw, 260px);
  aspect-ratio: 1;
  border: clamp(7px, 0.9vw, 13px) solid rgba(23, 83, 50, 0.9);
  box-shadow:
    inset 0 0 0 5px rgba(230, 184, 60, 0.88),
    inset 0 0 32px rgba(20, 113, 73, 0.68),
    0 0 44px rgba(17, 89, 56, 0.34),
    0 16px 44px rgba(62, 37, 13, 0.18);
  background:
    radial-gradient(circle, rgba(10, 28, 22, 0.92) 0 42%, rgba(230, 184, 60, 0.32) 43% 51%, rgba(9, 44, 28, 0.92) 52% 100%);
  opacity: 0.96;
}

body.eclipse-page .apply-eclipse-sigil::after {
  width: clamp(230px, 28vw, 410px);
  height: clamp(46px, 5vw, 76px);
  border: 1px solid rgba(70, 43, 18, 0.2);
  background:
    linear-gradient(90deg, transparent, rgba(112, 72, 24, 0.1) 22%, rgba(255, 239, 185, 0.18) 50%, rgba(112, 72, 24, 0.1) 78%, transparent);
  filter: blur(0.2px);
}

body.eclipse-page .apply-eclipse-sigil img {
  position: relative;
  z-index: 1;
  width: clamp(112px, 13vw, 190px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(15, 49, 34, 0.38));
}

body.eclipse-page .apply-eclipse-sigil strong,
body.eclipse-page .apply-eclipse-sigil em {
  position: relative;
  z-index: 2;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 244, 199, 0.58);
}

body.eclipse-page .apply-eclipse-sigil strong {
  margin-top: 18px;
  font-family: "LifeCraft", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  font-weight: 400;
  line-height: 0.82;
}

body.eclipse-page .apply-eclipse-sigil em {
  margin-top: 10px;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #155f35;
}

body.eclipse-page .apply-form input,
body.eclipse-page .apply-form select,
body.eclipse-page .apply-form textarea {
  background:
    linear-gradient(180deg, rgba(255, 247, 214, 0.82), rgba(222, 175, 93, 0.18)),
    rgba(255, 235, 177, 0.62);
}

@media (max-width: 1500px) {
  body.eclipse-page .guild-topbar {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  }

  body.eclipse-page .guild-live-clock {
    grid-column: 2;
  }
}

@media (max-width: 980px) {
  body.eclipse-page .guild-dashboard,
  body.eclipse-page .honor-roll-section {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .honor-roll-section #eclipse-honor-roll {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .characters-section,
  body.eclipse-page .raiders-section,
  body.eclipse-page .raids-section,
  body.eclipse-page .world-buffs-section,
  body.eclipse-page .mega-giveaways-section,
  body.eclipse-page .chronicle-section,
  body.eclipse-page .realm-intel-section,
  body.eclipse-page .guild-info-section {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .mega-giveaways-body {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .buff-board,
  body.eclipse-page .raider-grid,
  body.eclipse-page .mega-giveaways-active,
  body.eclipse-page .eclipse-feed {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .hero-raid-status {
    flex-wrap: wrap;
  }

  body.eclipse-page .apply-eclipse-sigil {
    min-height: 210px;
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  body.eclipse-page .guild-live-clock {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .guild-live-clock-card + .guild-live-clock-card {
    border-left: 0;
    border-top: 1px solid rgba(241, 211, 139, 0.11);
  }

  body.eclipse-page .hero-raid-status b {
    min-width: calc(50% - 8px);
  }

  body.eclipse-page .buff-card {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .buff-card .buff-countdown {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  body.eclipse-page .mega-giveaways-section {
    padding: 14px 12px;
    background:
      linear-gradient(180deg, rgba(4, 5, 5, 0.78), rgba(4, 5, 5, 0.94)),
      url("/event-art/giveaway-night.png") center top / auto 260px no-repeat,
      linear-gradient(180deg, rgba(18, 19, 16, 0.92), rgba(5, 6, 5, 0.94));
  }

  body.eclipse-page .mega-giveaways-stats,
  body.eclipse-page .giveaway-counts {
    grid-template-columns: 1fr;
  }

  body.eclipse-page .giveaway-card {
    min-height: 0;
  }
}

body.eclipse-page .guild-dashboard {
  grid-template-columns: minmax(0, 1fr);
}

body.eclipse-page .guild-dashboard .roster-card {
  padding: clamp(18px, 2vw, 28px);
}

body.eclipse-page .guild-dashboard .roster-card .card-head {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(241, 211, 139, 0.12);
}

body.eclipse-page .guild-dashboard .roster-card .card-head strong {
  display: block;
  font-size: clamp(1.75rem, 2.4vw, 2.7rem);
  color: #fff2c9;
}

body.eclipse-page .guild-dashboard .member-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

body.eclipse-page .guild-dashboard .member-row {
  --officer-name-band: 34px;
  --officer-rank-band: 48px;
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 9 / 16;
  min-height: 320px;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(241, 211, 139, 0.1);
  border-radius: 3px;
  color: inherit;
  font-size: inherit;
  line-height: normal;
  background:
    linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.9)),
    rgba(12, 14, 12, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 -3px 0 color-mix(in srgb, var(--role-color, #39df7b) 70%, transparent);
}

body.eclipse-page .guild-dashboard .member-row::before,
body.eclipse-page .guild-dashboard .member-row::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

body.eclipse-page .guild-dashboard .member-row::before {
  background:
    radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--role-color, #39df7b) 24%, transparent), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--role-color, #39df7b) 10%, transparent), transparent 48%);
}

body.eclipse-page .guild-dashboard .member-row::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 26%, transparent 74%, rgba(0, 0, 0, 0.42));
}

body.eclipse-page .guild-dashboard .member-row img {
  position: absolute;
  top: var(--officer-name-band);
  right: 0;
  bottom: auto;
  left: 0;
  z-index: -2;
  width: 100%;
  height: calc(100% - var(--officer-name-band) - var(--officer-rank-band));
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
  transform: none;
}

body.eclipse-page .guild-dashboard .member-row span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
  padding: 12px 10px 13px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.82));
  text-align: center;
  pointer-events: none;
}

body.eclipse-page .guild-dashboard .member-row strong {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #fff4cf;
  font-size: clamp(0.78rem, 0.72vw, 0.92rem);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
}

body.eclipse-page .guild-dashboard .member-row em {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  color: color-mix(in srgb, var(--role-color, #39df7b) 72%, #fff4cf);
  font-size: clamp(0.66rem, 0.58vw, 0.78rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.86);
}

@media (max-width: 980px) {
  body.eclipse-page .guild-dashboard .roster-card .card-head,
  body.eclipse-page .guild-dashboard .roster-card .card-head strong {
    display: block;
  }

  body.eclipse-page .guild-dashboard .member-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.eclipse-page .guild-dashboard .member-row {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  body.eclipse-page .guild-dashboard .member-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.eclipse-page .guild-dashboard .member-row {
    --officer-name-band: 32px;
    --officer-rank-band: 44px;
    min-height: 240px;
  }
}

body.eclipse-page :is(
  .guild-logo strong,
  .guild-hero h1,
  .card-head strong,
  .chronicle-head h2,
  .characters-head h2,
  .raiders-head h2,
  .raids-head h2,
  .world-buffs-head h2,
  .mega-giveaways-head h2,
  .graveyard-head h2,
  .guild-info-head h2,
  .realm-intel-copy h2,
  .battle-strip h2,
  .rule-panel h3,
  .officer-showcase h2,
  .apply-band h2,
  .giveaway-history-head strong
) {
  font-family: "LifeCraft", Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  line-height: 0.92;
}

body.eclipse-page :is(
  .rule-panel h3,
  .card-head strong,
  .giveaway-history-head strong
) {
  line-height: 1;
}
